delete_protection

Shield.Client.delete_protection(**kwargs)

Deletes an Shield Advanced Protection.

See also: AWS API Documentation

Request Syntax

response = client.delete_protection(
    ProtectionId='string'
)
Parameters
ProtectionId (string) --

[REQUIRED]

The unique identifier (ID) for the Protection object to be deleted.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • Shield.Client.exceptions.InternalErrorException
  • Shield.Client.exceptions.ResourceNotFoundException
  • Shield.Client.exceptions.OptimisticLockException