imagebuilder / Client / get_image_policy

get_image_policy#

imagebuilder.Client.get_image_policy(**kwargs)#

Gets an image policy.

See also: AWS API Documentation

Request Syntax

response = client.get_image_policy(
    imageArn='string'
)
Parameters:

imageArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the image whose policy you want to retrieve.

Return type:

dict

Returns:

Response Syntax

{
    'requestId': 'string',
    'policy': 'string'
}

Response Structure

  • (dict) –

    • requestId (string) –

      The request ID that uniquely identifies this request.

    • policy (string) –

      The image policy object.

Exceptions