getSubscriptionGrant method
Gets the subscription grant in Amazon DataZone.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter domainIdentifier :
The ID of the Amazon DataZone domain in which the subscription grant
exists.
Parameter identifier :
The ID of the subscription grant.
Implementation
Future<GetSubscriptionGrantOutput> getSubscriptionGrant({
required String domainIdentifier,
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v2/domains/${Uri.encodeComponent(domainIdentifier)}/subscription-grants/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetSubscriptionGrantOutput.fromJson(response);
}