libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Read GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Show GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Generic GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Associated Types

type Rep GetPartnerAccount :: Type -> Type #

NFData GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Methods

rnf :: GetPartnerAccount -> () #

Hashable GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

AWSRequest GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Associated Types

type AWSResponse GetPartnerAccount #

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

type Rep GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

type Rep GetPartnerAccount = D1 ('MetaData "GetPartnerAccount" "Amazonka.IoTWireless.GetPartnerAccount" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "GetPartnerAccount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "partnerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "partnerType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PartnerType)))
type AWSResponse GetPartnerAccount Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

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.

$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.

Destructuring the Response

data GetPartnerAccountResponse Source #

See: newGetPartnerAccountResponse smart constructor.

Constructors

GetPartnerAccountResponse' 

Fields

Instances

Instances details
Eq GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Show GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Generic GetPartnerAccountResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetPartnerAccount

Associated Types

type Rep GetPartnerAccountResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-iotwirelessZSamazonka-iotwireless" 'False) (C1 ('MetaCons "GetPartnerAccountResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sidewalk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SidewalkAccountInfoWithFingerprint)) :*: (S1 ('MetaSel ('Just "accountLinked") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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: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_accountLinked :: Lens' GetPartnerAccountResponse (Maybe Bool) Source #

Whether the partner account is linked to the AWS account.