| 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.BillingConductor.DisassociateAccounts
Description
Removes the specified list of account IDs from the given billing group.
Synopsis
- data DisassociateAccounts = DisassociateAccounts' {
- arn :: Text
- accountIds :: NonEmpty Text
- newDisassociateAccounts :: Text -> NonEmpty Text -> DisassociateAccounts
- disassociateAccounts_arn :: Lens' DisassociateAccounts Text
- disassociateAccounts_accountIds :: Lens' DisassociateAccounts (NonEmpty Text)
- data DisassociateAccountsResponse = DisassociateAccountsResponse' {
- arn :: Maybe Text
- httpStatus :: Int
- newDisassociateAccountsResponse :: Int -> DisassociateAccountsResponse
- disassociateAccountsResponse_arn :: Lens' DisassociateAccountsResponse (Maybe Text)
- disassociateAccountsResponse_httpStatus :: Lens' DisassociateAccountsResponse Int
Creating a Request
data DisassociateAccounts Source #
See: newDisassociateAccounts smart constructor.
Constructors
| DisassociateAccounts' | |
Fields
| |
Instances
newDisassociateAccounts Source #
Arguments
| :: Text | |
| -> NonEmpty Text | |
| -> DisassociateAccounts |
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
| |
Instances
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.
disassociateAccountsResponse_httpStatus :: Lens' DisassociateAccountsResponse Int Source #
The response's http status code.