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,
AutoRenewis set toENABLED. IfENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting anUpdateSubscriptionrequest. If theUpdateSubscriptionrequest does not included a value forAutoRenew, the existing value forAutoRenewremains unchanged.- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Shield.Client.exceptions.InternalErrorExceptionShield.Client.exceptions.LockedSubscriptionExceptionShield.Client.exceptions.ResourceNotFoundExceptionShield.Client.exceptions.InvalidParameterExceptionShield.Client.exceptions.OptimisticLockException