amazonka-billingconductor-2.0: Amazon BillingConductor 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.BillingConductor.DisassociateAccounts

Description

Removes the specified list of account IDs from the given billing group.

Synopsis

Creating a Request

data DisassociateAccounts Source #

See: newDisassociateAccounts smart constructor.

Constructors

DisassociateAccounts' 

Fields

  • arn :: Text

    The Amazon Resource Name (ARN) of the billing group that the array of account IDs will disassociate from.

  • accountIds :: NonEmpty Text

    The array of account IDs to disassociate.

Instances

Instances details
ToJSON DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

ToHeaders DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

ToPath DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

ToQuery DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

AWSRequest DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Associated Types

type AWSResponse DisassociateAccounts #

Generic DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Associated Types

type Rep DisassociateAccounts :: Type -> Type #

Read DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Show DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

NFData DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Methods

rnf :: DisassociateAccounts -> () #

Eq DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Hashable DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

type AWSResponse DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

type Rep DisassociateAccounts Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

type Rep DisassociateAccounts = D1 ('MetaData "DisassociateAccounts" "Amazonka.BillingConductor.DisassociateAccounts" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "DisassociateAccounts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newDisassociateAccounts Source #

Create a value of DisassociateAccounts 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:

DisassociateAccounts, disassociateAccounts_arn - The Amazon Resource Name (ARN) of the billing group that the array of account IDs will disassociate from.

$sel:accountIds:DisassociateAccounts', disassociateAccounts_accountIds - The array of account IDs to disassociate.

Request Lenses

disassociateAccounts_arn :: Lens' DisassociateAccounts Text Source #

The Amazon Resource Name (ARN) of the billing group that the array of account IDs will disassociate from.

disassociateAccounts_accountIds :: Lens' DisassociateAccounts (NonEmpty Text) Source #

The array of account IDs to disassociate.

Destructuring the Response

data DisassociateAccountsResponse Source #

See: newDisassociateAccountsResponse smart constructor.

Constructors

DisassociateAccountsResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the billing group that the array of account IDs is disassociated from.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DisassociateAccountsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Associated Types

type Rep DisassociateAccountsResponse :: Type -> Type #

Read DisassociateAccountsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Show DisassociateAccountsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

NFData DisassociateAccountsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

Eq DisassociateAccountsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

type Rep DisassociateAccountsResponse Source # 
Instance details

Defined in Amazonka.BillingConductor.DisassociateAccounts

type Rep DisassociateAccountsResponse = D1 ('MetaData "DisassociateAccountsResponse" "Amazonka.BillingConductor.DisassociateAccounts" "amazonka-billingconductor-2.0-1YoxVi69FkN1Nj28JbXXJ5" 'False) (C1 ('MetaCons "DisassociateAccountsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateAccountsResponse Source #

Create a value of DisassociateAccountsResponse 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:

DisassociateAccounts, disassociateAccountsResponse_arn - The Amazon Resource Name (ARN) of the billing group that the array of account IDs is disassociated from.

$sel:httpStatus:DisassociateAccountsResponse', disassociateAccountsResponse_httpStatus - The response's http status code.

Response Lenses

disassociateAccountsResponse_arn :: Lens' DisassociateAccountsResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the billing group that the array of account IDs is disassociated from.