delete_lifecycle_policy

delete_lifecycle_policy(**kwargs)

Deletes the specified lifecycle policy and halts the automated operations that the policy specified.

For more information about deleting a policy, see Delete lifecycle policies.

See also: AWS API Documentation

Request Syntax

response = client.delete_lifecycle_policy(
    PolicyId='string'
)
Parameters
PolicyId (string) --

[REQUIRED]

The identifier of the lifecycle policy.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • DLM.Client.exceptions.ResourceNotFoundException
  • DLM.Client.exceptions.InternalServerException
  • DLM.Client.exceptions.LimitExceededException