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 |
Gets information about a partner account. If PartnerAccountId
and
PartnerType
are null
, returns all partner accounts.
Synopsis
- data GetPartnerAccount = GetPartnerAccount' {}
- newGetPartnerAccount :: Text -> PartnerType -> GetPartnerAccount
- getPartnerAccount_partnerAccountId :: Lens' GetPartnerAccount Text
- getPartnerAccount_partnerType :: Lens' GetPartnerAccount PartnerType
- data GetPartnerAccountResponse = GetPartnerAccountResponse' {}
- newGetPartnerAccountResponse :: Int -> GetPartnerAccountResponse
- getPartnerAccountResponse_sidewalk :: Lens' GetPartnerAccountResponse (Maybe SidewalkAccountInfoWithFingerprint)
- getPartnerAccountResponse_accountLinked :: Lens' GetPartnerAccountResponse (Maybe Bool)
- getPartnerAccountResponse_httpStatus :: Lens' GetPartnerAccountResponse Int
Creating a Request
data GetPartnerAccount Source #
See: newGetPartnerAccount
smart constructor.
GetPartnerAccount' | |
|
Instances
:: Text | |
-> PartnerType | |
-> GetPartnerAccount |
Create a value of GetPartnerAccount
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:GetPartnerAccount'
, getPartnerAccount_partnerAccountId
- The partner account ID to disassociate from the AWS account.
$sel:partnerType:GetPartnerAccount'
, getPartnerAccount_partnerType
- The partner type.
Request Lenses
getPartnerAccount_partnerAccountId :: Lens' GetPartnerAccount Text Source #
The partner account ID to disassociate from the AWS account.
getPartnerAccount_partnerType :: Lens' GetPartnerAccount PartnerType Source #
The partner type.
Destructuring the Response
data GetPartnerAccountResponse Source #
See: newGetPartnerAccountResponse
smart constructor.
GetPartnerAccountResponse' | |
|
Instances
newGetPartnerAccountResponse Source #
Create a value of GetPartnerAccountResponse
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:sidewalk:GetPartnerAccountResponse'
, getPartnerAccountResponse_sidewalk
- The Sidewalk account credentials.
$sel:accountLinked:GetPartnerAccountResponse'
, getPartnerAccountResponse_accountLinked
- Whether the partner account is linked to the AWS account.
$sel:httpStatus:GetPartnerAccountResponse'
, getPartnerAccountResponse_httpStatus
- The response's http status code.
Response Lenses
getPartnerAccountResponse_sidewalk :: Lens' GetPartnerAccountResponse (Maybe SidewalkAccountInfoWithFingerprint) Source #
The Sidewalk account credentials.
getPartnerAccountResponse_accountLinked :: Lens' GetPartnerAccountResponse (Maybe Bool) Source #
Whether the partner account is linked to the AWS account.
getPartnerAccountResponse_httpStatus :: Lens' GetPartnerAccountResponse Int Source #
The response's http status code.