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 |
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.
DeleteAccountSubscription' | |
|
Instances
newDeleteAccountSubscription Source #
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.
Instances
Generic DeleteAccountSubscriptionResponse Source # | |
Read DeleteAccountSubscriptionResponse Source # | |
Show DeleteAccountSubscriptionResponse Source # | |
NFData DeleteAccountSubscriptionResponse Source # | |
Defined in Amazonka.QuickSight.DeleteAccountSubscription rnf :: DeleteAccountSubscriptionResponse -> () # | |
Eq DeleteAccountSubscriptionResponse Source # | |
type Rep DeleteAccountSubscriptionResponse Source # | |
Defined in Amazonka.QuickSight.DeleteAccountSubscription type Rep DeleteAccountSubscriptionResponse = D1 ('MetaData "DeleteAccountSubscriptionResponse" "Amazonka.QuickSight.DeleteAccountSubscription" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "DeleteAccountSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.