Shield / Client / delete_subscription

delete_subscription#

Shield.Client.delete_subscription()#

Removes Shield Advanced from an account. Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment.

Danger

This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.

See also: AWS API Documentation

Request Syntax

response = client.delete_subscription()
Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Shield.Client.exceptions.InternalErrorException

  • Shield.Client.exceptions.LockedSubscriptionException

  • Shield.Client.exceptions.ResourceNotFoundException