imagebuilder / Client / delete_component

delete_component#

imagebuilder.Client.delete_component(**kwargs)#

Deletes a component build version.

See also: AWS API Documentation

Request Syntax

response = client.delete_component(
    componentBuildVersionArn='string'
)
Parameters:

componentBuildVersionArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the component build version to delete.

Return type:

dict

Returns:

Response Syntax

{
    'requestId': 'string',
    'componentBuildVersionArn': 'string'
}

Response Structure

  • (dict) –

    • requestId (string) –

      The request ID that uniquely identifies this request.

    • componentBuildVersionArn (string) –

      The Amazon Resource Name (ARN) of the component build version that was deleted.

Exceptions

  • imagebuilder.Client.exceptions.ServiceException

  • imagebuilder.Client.exceptions.ClientException

  • imagebuilder.Client.exceptions.ServiceUnavailableException

  • imagebuilder.Client.exceptions.InvalidRequestException

  • imagebuilder.Client.exceptions.ForbiddenException

  • imagebuilder.Client.exceptions.CallRateLimitExceededException

  • imagebuilder.Client.exceptions.ResourceDependencyException