Shield / Client / update_subscription
update_subscription#
- Shield.Client.update_subscription(**kwargs)#
Updates the details of an existing subscription. Only enter values for parameters you want to change. Empty parameters are not updated.
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.
See also: AWS API Documentation
Request Syntax
response = client.update_subscription( AutoRenew='ENABLED'|'DISABLED' )
- Parameters:
AutoRenew (string) – When you initally create a subscription,
AutoRenew
is set toENABLED
. IfENABLED
, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting anUpdateSubscription
request. If theUpdateSubscription
request does not included a value forAutoRenew
, the existing value forAutoRenew
remains unchanged.- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions