| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.QuickSight.DeleteAccountSubscription
Description
Use the DeleteAccountSubscription operation to delete an Amazon
QuickSight account. This operation will result in an error message if
you have configured your account termination protection settings to
True. To change this setting and delete your account, call the
UpdateAccountSettings API and set the value of the
TerminationProtectionEnabled parameter to False, then make another
call to the DeleteAccountSubscription API.
Synopsis
- data DeleteAccountSubscription = DeleteAccountSubscription' {
- awsAccountId :: Text
- newDeleteAccountSubscription :: Text -> DeleteAccountSubscription
- deleteAccountSubscription_awsAccountId :: Lens' DeleteAccountSubscription Text
- data DeleteAccountSubscriptionResponse = DeleteAccountSubscriptionResponse' {}
- newDeleteAccountSubscriptionResponse :: Int -> DeleteAccountSubscriptionResponse
- deleteAccountSubscriptionResponse_requestId :: Lens' DeleteAccountSubscriptionResponse (Maybe Text)
- deleteAccountSubscriptionResponse_status :: Lens' DeleteAccountSubscriptionResponse Int
Creating a Request
data DeleteAccountSubscription Source #
See: newDeleteAccountSubscription smart constructor.
Constructors
| DeleteAccountSubscription' | |
Fields
| |
Instances
newDeleteAccountSubscription Source #
Arguments
| :: Text | |
| -> DeleteAccountSubscription |
Create a value of DeleteAccountSubscription with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteAccountSubscription, deleteAccountSubscription_awsAccountId - The Amazon Web Services account ID of the account that you want to
delete.
Request Lenses
deleteAccountSubscription_awsAccountId :: Lens' DeleteAccountSubscription Text Source #
The Amazon Web Services account ID of the account that you want to delete.
Destructuring the Response
data DeleteAccountSubscriptionResponse Source #
See: newDeleteAccountSubscriptionResponse smart constructor.
Constructors
| DeleteAccountSubscriptionResponse' | |
Instances
newDeleteAccountSubscriptionResponse Source #
Create a value of DeleteAccountSubscriptionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:requestId:DeleteAccountSubscriptionResponse', deleteAccountSubscriptionResponse_requestId - The Amazon Web Services request ID for this operation.
DeleteAccountSubscriptionResponse, deleteAccountSubscriptionResponse_status - The HTTP status of the request.
Response Lenses
deleteAccountSubscriptionResponse_requestId :: Lens' DeleteAccountSubscriptionResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteAccountSubscriptionResponse_status :: Lens' DeleteAccountSubscriptionResponse Int Source #
The HTTP status of the request.