amazonka-iotwireless-2.0: Amazon IoT Wireless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTWireless.GetPartnerAccount

Description

Gets information about a partner account. If PartnerAccountId and PartnerType are null, returns all partner accounts.

Synopsis

Creating a Request

data GetPartnerAccount Source #

See: newGetPartnerAccount smart constructor.

Constructors

GetPartnerAccount' 

Fields

Instances

Instances details
ToHeaders GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

ToPath GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

ToQuery GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

AWSRequest GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Associated Types

type AWSResponse GetPartnerAccount #

Generic GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Associated Types

type Rep GetPartnerAccount :: Type -> Type #

Read GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Show GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

NFData GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Methods

rnf :: GetPartnerAccount -> () #

Eq GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Hashable GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

type AWSResponse GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

type Rep GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

type Rep GetPartnerAccount = D1 ('MetaData "GetPartnerAccount" "Amazonka.IoTWireless.GetPartnerAccount" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "GetPartnerAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "partnerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "partnerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PartnerType)))

newGetPartnerAccount Source #

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.

Destructuring the Response

data GetPartnerAccountResponse Source #

See: newGetPartnerAccountResponse smart constructor.

Constructors

GetPartnerAccountResponse' 

Fields

Instances

Instances details
Generic GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Associated Types

type Rep GetPartnerAccountResponse :: Type -> Type #

Show GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

NFData GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Eq GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

type Rep GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

type Rep GetPartnerAccountResponse = D1 ('MetaData "GetPartnerAccountResponse" "Amazonka.IoTWireless.GetPartnerAccount" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "GetPartnerAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountLinked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "sidewalk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SidewalkAccountInfoWithFingerprint)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.