imagebuilder / Client / delete_component
delete_component¶
- imagebuilder.Client.delete_component(**kwargs)¶
Deletes a component build version. The request fails with
ResourceDependencyExceptionif an image recipe or container recipe references this component version. It also fails if the component build version is shared with other accounts.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 this request deleted.
Exceptions
imagebuilder.Client.exceptions.ServiceExceptionimagebuilder.Client.exceptions.ClientExceptionimagebuilder.Client.exceptions.ServiceUnavailableExceptionimagebuilder.Client.exceptions.InvalidRequestExceptionimagebuilder.Client.exceptions.ForbiddenExceptionimagebuilder.Client.exceptions.CallRateLimitExceededExceptionimagebuilder.Client.exceptions.ResourceDependencyException