create_subscription

Shield.Client.create_subscription()

Activates Shield Advanced for an account.

Note

For accounts that are members of an Organizations organization, Shield Advanced subscriptions are billed against the organization's payer account, regardless of whether the payer account itself is subscribed.

When you initially create a subscription, your subscription is set to be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription request.

See also: AWS API Documentation

Request Syntax

response = client.create_subscription()
Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • Shield.Client.exceptions.InternalErrorException
  • Shield.Client.exceptions.ResourceAlreadyExistsException