get_container_recipe_policy
(**kwargs)¶Retrieves the policy for a container recipe.
See also: AWS API Documentation
Request Syntax
response = client.get_container_recipe_policy(
containerRecipeArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the container recipe for the policy being requested.
{
'requestId': 'string',
'policy': 'string'
}
Response Structure
The request ID that uniquely identifies this request.
The container recipe policy object that is returned.
Exceptions
imagebuilder.Client.exceptions.ServiceException
imagebuilder.Client.exceptions.ServiceUnavailableException
imagebuilder.Client.exceptions.InvalidRequestException
imagebuilder.Client.exceptions.ResourceNotFoundException
imagebuilder.Client.exceptions.ForbiddenException
imagebuilder.Client.exceptions.CallRateLimitExceededException