getAssetFilter method
Gets an asset filter.
Prerequisites:
-
Domain (
--domain-identifier), asset (--asset-identifier), and filter (--identifier) must all exist. - The asset filter should not have been deleted.
- The asset must still exist (since the filter is linked to it).
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter assetIdentifier :
The ID of the data asset.
Parameter domainIdentifier :
The ID of the domain where you want to get an asset filter.
Parameter identifier :
The ID of the asset filter.
Implementation
Future<GetAssetFilterOutput> getAssetFilter({
required String assetIdentifier,
required String domainIdentifier,
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v2/domains/${Uri.encodeComponent(domainIdentifier)}/assets/${Uri.encodeComponent(assetIdentifier)}/filters/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetAssetFilterOutput.fromJson(response);
}