| 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.IoTWireless.GetPartnerAccount
Description
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_accountLinked :: Lens' GetPartnerAccountResponse (Maybe Bool)
- getPartnerAccountResponse_sidewalk :: Lens' GetPartnerAccountResponse (Maybe SidewalkAccountInfoWithFingerprint)
- getPartnerAccountResponse_httpStatus :: Lens' GetPartnerAccountResponse Int
Creating a Request
data GetPartnerAccount Source #
See: newGetPartnerAccount smart constructor.
Constructors
| GetPartnerAccount' | |
Fields
| |
Instances
Arguments
| :: 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.
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.
Constructors
| GetPartnerAccountResponse' | |
Fields
| |
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:accountLinked:GetPartnerAccountResponse', getPartnerAccountResponse_accountLinked - Whether the partner account is linked to the AWS account.
GetPartnerAccountResponse, getPartnerAccountResponse_sidewalk - The Sidewalk account credentials.
$sel:httpStatus:GetPartnerAccountResponse', getPartnerAccountResponse_httpStatus - The response's http status code.
Response Lenses
getPartnerAccountResponse_accountLinked :: Lens' GetPartnerAccountResponse (Maybe Bool) Source #
Whether the partner account is linked to the AWS account.
getPartnerAccountResponse_sidewalk :: Lens' GetPartnerAccountResponse (Maybe SidewalkAccountInfoWithFingerprint) Source #
The Sidewalk account credentials.
getPartnerAccountResponse_httpStatus :: Lens' GetPartnerAccountResponse Int Source #
The response's http status code.