libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.GetRegistrationCode

Description

Gets a registration code used to register a CA certificate with IoT.

Requires permission to access the GetRegistrationCode action.

Synopsis

Creating a Request

data GetRegistrationCode Source #

The input to the GetRegistrationCode operation.

See: newGetRegistrationCode smart constructor.

Constructors

GetRegistrationCode' 

Instances

Instances details
Eq GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Read GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Show GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Generic GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Associated Types

type Rep GetRegistrationCode :: Type -> Type #

NFData GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Methods

rnf :: GetRegistrationCode -> () #

Hashable GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

AWSRequest GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Associated Types

type AWSResponse GetRegistrationCode #

ToHeaders GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

ToPath GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

ToQuery GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

type Rep GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

type Rep GetRegistrationCode = D1 ('MetaData "GetRegistrationCode" "Amazonka.IoT.GetRegistrationCode" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetRegistrationCode'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetRegistrationCode Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

newGetRegistrationCode :: GetRegistrationCode Source #

Create a value of GetRegistrationCode with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data GetRegistrationCodeResponse Source #

The output from the GetRegistrationCode operation.

See: newGetRegistrationCodeResponse smart constructor.

Constructors

GetRegistrationCodeResponse' 

Fields

Instances

Instances details
Eq GetRegistrationCodeResponse Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Read GetRegistrationCodeResponse Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Show GetRegistrationCodeResponse Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Generic GetRegistrationCodeResponse Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

Associated Types

type Rep GetRegistrationCodeResponse :: Type -> Type #

NFData GetRegistrationCodeResponse Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

type Rep GetRegistrationCodeResponse Source # 
Instance details

Defined in Amazonka.IoT.GetRegistrationCode

type Rep GetRegistrationCodeResponse = D1 ('MetaData "GetRegistrationCodeResponse" "Amazonka.IoT.GetRegistrationCode" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetRegistrationCodeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "registrationCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetRegistrationCodeResponse Source #

Create a value of GetRegistrationCodeResponse 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:registrationCode:GetRegistrationCodeResponse', getRegistrationCodeResponse_registrationCode - The CA certificate registration code.

$sel:httpStatus:GetRegistrationCodeResponse', getRegistrationCodeResponse_httpStatus - The response's http status code.

Response Lenses