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 |
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.
DisassociateAwsAccountFromPartnerAccount' | |
|
Instances
newDisassociateAwsAccountFromPartnerAccount Source #
:: 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.
DisassociateAwsAccountFromPartnerAccountResponse' | |
|
Instances
Eq DisassociateAwsAccountFromPartnerAccountResponse Source # | |
Read DisassociateAwsAccountFromPartnerAccountResponse Source # | |
Show DisassociateAwsAccountFromPartnerAccountResponse Source # | |
Generic DisassociateAwsAccountFromPartnerAccountResponse Source # | |
NFData DisassociateAwsAccountFromPartnerAccountResponse Source # | |
type Rep DisassociateAwsAccountFromPartnerAccountResponse Source # | |
Defined in Amazonka.IoTWireless.DisassociateAwsAccountFromPartnerAccount type Rep DisassociateAwsAccountFromPartnerAccountResponse = D1 ('MetaData "DisassociateAwsAccountFromPartnerAccountResponse" "Amazonka.IoTWireless.DisassociateAwsAccountFromPartnerAccount" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "DisassociateAwsAccountFromPartnerAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateAwsAccountFromPartnerAccountResponse Source #
:: 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.