imagebuilder / Client / get_image_recipe_policy

get_image_recipe_policy#

imagebuilder.Client.get_image_recipe_policy(**kwargs)#

Gets an image recipe policy.

See also: AWS API Documentation

Request Syntax

response = client.get_image_recipe_policy(
    imageRecipeArn='string'
)
Parameters:

imageRecipeArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the image recipe 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 recipe policy object.

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