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