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 to- ENABLED. If- ENABLED, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an- UpdateSubscriptionrequest. If the- UpdateSubscriptionrequest does not included a value for- AutoRenew, the existing value for- AutoRenewremains unchanged.
- Return type:
- dict 
- Returns:
- Response Syntax - {}- Response Structure - (dict) – 
 
 - Exceptions - Shield.Client.exceptions.InternalErrorException
- Shield.Client.exceptions.LockedSubscriptionException
- Shield.Client.exceptions.ResourceNotFoundException
- Shield.Client.exceptions.InvalidParameterException
- Shield.Client.exceptions.OptimisticLockException