Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_rule

delete_rule(**kwargs)

Deletes a Recycle Bin retention rule. For more information, see Delete Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide .

See also: AWS API Documentation

Request Syntax

response = client.delete_rule(
    Identifier='string'
)
Parameters
Identifier (string) --

[REQUIRED]

The unique ID of the retention rule.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • RecycleBin.Client.exceptions.InternalServerException
  • RecycleBin.Client.exceptions.ResourceNotFoundException
  • RecycleBin.Client.exceptions.ValidationException
  • RecycleBin.Client.exceptions.ConflictException