imagebuilder.Client.
get_image_policy
(**kwargs)¶Gets an image policy.
See also: AWS API Documentation
Request Syntax
response = client.get_image_policy(
imageArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.
{
'requestId': 'string',
'policy': 'string'
}
Response Structure
The request ID that uniquely identifies this request.
The image policy object.
Exceptions
imagebuilder.Client.exceptions.ServiceException
imagebuilder.Client.exceptions.ServiceUnavailableException
imagebuilder.Client.exceptions.ResourceNotFoundException
imagebuilder.Client.exceptions.InvalidRequestException
imagebuilder.Client.exceptions.ForbiddenException
imagebuilder.Client.exceptions.CallRateLimitExceededException