imagebuilder / Client / retry_image

retry_image

imagebuilder.Client.retry_image(**kwargs)

RetryImage retries an image distribution without rebuilding the image.

See also: AWS API Documentation

Request Syntax

response = client.retry_image(
    imageBuildVersionArn='string',
    clientToken='string'
)
Parameters:
  • imageBuildVersionArn (string) –

    [REQUIRED]

    The source image Amazon Resource Name (ARN) to retry.

  • clientToken (string) –

    [REQUIRED]

    Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'clientToken': 'string',
    'imageBuildVersionArn': 'string'
}

Response Structure

  • (dict) –

    • clientToken (string) –

      The client token that uniquely identifies the request.

    • imageBuildVersionArn (string) –

      The ARN of the image to be retried.

Exceptions

  • imagebuilder.Client.exceptions.ServiceException

  • imagebuilder.Client.exceptions.ClientException

  • imagebuilder.Client.exceptions.ServiceUnavailableException

  • imagebuilder.Client.exceptions.InvalidRequestException

  • imagebuilder.Client.exceptions.IdempotentParameterMismatchException

  • imagebuilder.Client.exceptions.ForbiddenException

  • imagebuilder.Client.exceptions.CallRateLimitExceededException

  • imagebuilder.Client.exceptions.ResourceInUseException