DataZone / Client / list_asset_filters
list_asset_filters¶
- DataZone.Client.list_asset_filters(**kwargs)¶
Lists asset filters.
Prerequisites:
A valid domain and asset must exist.
The asset must have at least one filter created to return results.
See also: AWS API Documentation
Request Syntax
response = client.list_asset_filters( domainIdentifier='string', assetIdentifier='string', status='VALID'|'INVALID', nextToken='string', maxResults=123 )
- Parameters:
domainIdentifier (string) –
[REQUIRED]
The ID of the domain where you want to list asset filters.
assetIdentifier (string) –
[REQUIRED]
The ID of the data asset.
status (string) – The status of the asset filter.
nextToken (string) – When the number of asset filters is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of asset filters, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListAssetFiltersto list the next set of asset filters.maxResults (integer) – The maximum number of asset filters to return in a single call to
ListAssetFilters. When the number of asset filters to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListAssetFiltersto list the next set of asset filters.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'id': 'string', 'domainId': 'string', 'assetId': 'string', 'name': 'string', 'description': 'string', 'status': 'VALID'|'INVALID', 'effectiveColumnNames': [ 'string', ], 'effectiveRowFilter': 'string', 'createdAt': datetime(2015, 1, 1), 'errorMessage': 'string' }, ], 'nextToken': 'string' }
Response Structure
(dict) –
items (list) –
The results of the
ListAssetFiltersaction.(dict) –
The summary of the asset filter.
id (string) –
The ID of the asset filter.
domainId (string) –
The ID of the domain where the asset filter lives.
assetId (string) –
The ID of the data asset.
name (string) –
The name of the asset filter.
description (string) –
The description of the asset filter.
status (string) –
The status of the asset filter.
effectiveColumnNames (list) –
The effective column names of the asset filter.
(string) –
effectiveRowFilter (string) –
The effective row filter of the asset filter.
createdAt (datetime) –
The timestamp at which the asset filter was created.
errorMessage (string) –
The error message that is displayed if the action does not succeed.
nextToken (string) –
When the number of asset filters is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of asset filters, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListAssetFiltersto list the next set of asset filters.
Exceptions
DataZone.Client.exceptions.InternalServerExceptionDataZone.Client.exceptions.ResourceNotFoundExceptionDataZone.Client.exceptions.AccessDeniedExceptionDataZone.Client.exceptions.ThrottlingExceptionDataZone.Client.exceptions.ValidationExceptionDataZone.Client.exceptions.UnauthorizedException