amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

Creating a Request

data DeleteAccountSubscription Source #

See: newDeleteAccountSubscription smart constructor.

Constructors

DeleteAccountSubscription' 

Fields

  • awsAccountId :: Text

    The Amazon Web Services account ID of the account that you want to delete.

Instances

Instances details
ToHeaders DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

ToPath DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

ToQuery DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

AWSRequest DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Generic DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Associated Types

type Rep DeleteAccountSubscription :: Type -> Type #

Read DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Show DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

NFData DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Eq DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Hashable DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

type AWSResponse DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

type Rep DeleteAccountSubscription Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

type Rep DeleteAccountSubscription = D1 ('MetaData "DeleteAccountSubscription" "Amazonka.QuickSight.DeleteAccountSubscription" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "DeleteAccountSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

DeleteAccountSubscriptionResponse' 

Fields

Instances

Instances details
Generic DeleteAccountSubscriptionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Associated Types

type Rep DeleteAccountSubscriptionResponse :: Type -> Type #

Read DeleteAccountSubscriptionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Show DeleteAccountSubscriptionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

NFData DeleteAccountSubscriptionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

Eq DeleteAccountSubscriptionResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteAccountSubscription

type Rep DeleteAccountSubscriptionResponse Source # 
Instance details

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.