Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.IoTWireless.DisassociateAwsAccountFromPartnerAccount
Description
Disassociates your AWS account from a partner account. If
PartnerAccountId
and PartnerType
are null
, disassociates your AWS
account from all partner accounts.
Synopsis
- data DisassociateAwsAccountFromPartnerAccount = DisassociateAwsAccountFromPartnerAccount' {}
- newDisassociateAwsAccountFromPartnerAccount :: Text -> PartnerType -> DisassociateAwsAccountFromPartnerAccount
- disassociateAwsAccountFromPartnerAccount_partnerAccountId :: Lens' DisassociateAwsAccountFromPartnerAccount Text
- disassociateAwsAccountFromPartnerAccount_partnerType :: Lens' DisassociateAwsAccountFromPartnerAccount PartnerType
- data DisassociateAwsAccountFromPartnerAccountResponse = DisassociateAwsAccountFromPartnerAccountResponse' {
- httpStatus :: Int
- newDisassociateAwsAccountFromPartnerAccountResponse :: Int -> DisassociateAwsAccountFromPartnerAccountResponse
- disassociateAwsAccountFromPartnerAccountResponse_httpStatus :: Lens' DisassociateAwsAccountFromPartnerAccountResponse Int
Creating a Request
data DisassociateAwsAccountFromPartnerAccount Source #
See: newDisassociateAwsAccountFromPartnerAccount
smart constructor.
Constructors
DisassociateAwsAccountFromPartnerAccount' | |
Fields
|
Instances
newDisassociateAwsAccountFromPartnerAccount Source #
Arguments
:: Text |
|
-> PartnerType | |
-> DisassociateAwsAccountFromPartnerAccount |
Create a value of DisassociateAwsAccountFromPartnerAccount
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:partnerAccountId:DisassociateAwsAccountFromPartnerAccount'
, disassociateAwsAccountFromPartnerAccount_partnerAccountId
- The partner account ID to disassociate from the AWS account.
$sel:partnerType:DisassociateAwsAccountFromPartnerAccount'
, disassociateAwsAccountFromPartnerAccount_partnerType
- The partner type.
Request Lenses
disassociateAwsAccountFromPartnerAccount_partnerAccountId :: Lens' DisassociateAwsAccountFromPartnerAccount Text Source #
The partner account ID to disassociate from the AWS account.
disassociateAwsAccountFromPartnerAccount_partnerType :: Lens' DisassociateAwsAccountFromPartnerAccount PartnerType Source #
The partner type.
Destructuring the Response
data DisassociateAwsAccountFromPartnerAccountResponse Source #
See: newDisassociateAwsAccountFromPartnerAccountResponse
smart constructor.
Constructors
DisassociateAwsAccountFromPartnerAccountResponse' | |
Fields
|
Instances
newDisassociateAwsAccountFromPartnerAccountResponse Source #
Arguments
:: Int |
|
-> DisassociateAwsAccountFromPartnerAccountResponse |
Create a value of DisassociateAwsAccountFromPartnerAccountResponse
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:httpStatus:DisassociateAwsAccountFromPartnerAccountResponse'
, disassociateAwsAccountFromPartnerAccountResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateAwsAccountFromPartnerAccountResponse_httpStatus :: Lens' DisassociateAwsAccountFromPartnerAccountResponse Int Source #
The response's http status code.