getContainerRecipePolicy method
Future<GetContainerRecipePolicyResponse>
getContainerRecipePolicy({
- required String containerRecipeArn,
Retrieves the policy for a container recipe.
May throw ServiceException. May throw ServiceUnavailableException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ForbiddenException. May throw CallRateLimitExceededException.
Parameter containerRecipeArn
:
The Amazon Resource Name (ARN) of the container recipe for the policy
being requested.
Implementation
Future<GetContainerRecipePolicyResponse> getContainerRecipePolicy({
required String containerRecipeArn,
}) async {
ArgumentError.checkNotNull(containerRecipeArn, 'containerRecipeArn');
final $query = <String, List<String>>{
'containerRecipeArn': [containerRecipeArn],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/GetContainerRecipePolicy',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetContainerRecipePolicyResponse.fromJson(response);
}