QuickSight / Client / delete_account_subscription
delete_account_subscription#
- QuickSight.Client.delete_account_subscription(**kwargs)#
Use the
DeleteAccountSubscriptionoperation to delete an Amazon QuickSight account. This operation will result in an error message if you have configured your account termination protection settings toTrue. To change this setting and delete your account, call theUpdateAccountSettingsAPI and set the value of theTerminationProtectionEnabledparameter toFalse, then make another call to theDeleteAccountSubscriptionAPI.See also: AWS API Documentation
Request Syntax
response = client.delete_account_subscription( AwsAccountId='string' )
- Parameters:
AwsAccountId (string) –
[REQUIRED]
The Amazon Web Services account ID of the account that you want to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'RequestId': 'string', 'Status': 123 }
Response Structure
(dict) –
RequestId (string) –
The Amazon Web Services request ID for this operation.
Status (integer) –
The HTTP status of the request.
Exceptions
QuickSight.Client.exceptions.AccessDeniedExceptionQuickSight.Client.exceptions.InvalidParameterValueExceptionQuickSight.Client.exceptions.ResourceNotFoundExceptionQuickSight.Client.exceptions.ThrottlingExceptionQuickSight.Client.exceptions.PreconditionNotMetExceptionQuickSight.Client.exceptions.InternalFailureExceptionQuickSight.Client.exceptions.ResourceUnavailableException