imagebuilder / Client / delete_lifecycle_policy
delete_lifecycle_policy#
- imagebuilder.Client.delete_lifecycle_policy(**kwargs)#
Delete the specified lifecycle policy resource.
See also: AWS API Documentation
Request Syntax
response = client.delete_lifecycle_policy( lifecyclePolicyArn='string' )
- Parameters:
lifecyclePolicyArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the lifecycle policy resource to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'lifecyclePolicyArn': 'string' }
Response Structure
(dict) –
lifecyclePolicyArn (string) –
The ARN of the lifecycle policy that was deleted.
Exceptions
imagebuilder.Client.exceptions.ServiceException
imagebuilder.Client.exceptions.ClientException
imagebuilder.Client.exceptions.InvalidRequestException
imagebuilder.Client.exceptions.ServiceUnavailableException
imagebuilder.Client.exceptions.ForbiddenException
imagebuilder.Client.exceptions.CallRateLimitExceededException
imagebuilder.Client.exceptions.ResourceDependencyException