libZSservicesZSamazonka-panoramaZSamazonka-panorama
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.Panorama.ProvisionDevice

Description

Creates a device and returns a configuration archive. The configuration archive is a ZIP file that contains a provisioning certificate that is valid for 5 minutes. Transfer the configuration archive to the device with the included USB storage device within 5 minutes.

Synopsis

Creating a Request

data ProvisionDevice Source #

See: newProvisionDevice smart constructor.

Constructors

ProvisionDevice' 

Fields

Instances

Instances details
Eq ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Read ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Show ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Generic ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Associated Types

type Rep ProvisionDevice :: Type -> Type #

NFData ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Methods

rnf :: ProvisionDevice -> () #

Hashable ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

ToJSON ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

AWSRequest ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Associated Types

type AWSResponse ProvisionDevice #

ToHeaders ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

ToPath ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

ToQuery ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

type Rep ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

type Rep ProvisionDevice = D1 ('MetaData "ProvisionDevice" "Amazonka.Panorama.ProvisionDevice" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "ProvisionDevice'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "networkingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkPayload))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ProvisionDevice Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

newProvisionDevice Source #

Create a value of ProvisionDevice 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:description:ProvisionDevice', provisionDevice_description - A description for the device.

$sel:networkingConfiguration:ProvisionDevice', provisionDevice_networkingConfiguration - A networking configuration for the device.

$sel:tags:ProvisionDevice', provisionDevice_tags - Tags for the device.

$sel:name:ProvisionDevice', provisionDevice_name - A name for the device.

Request Lenses

Destructuring the Response

data ProvisionDeviceResponse Source #

See: newProvisionDeviceResponse smart constructor.

Constructors

ProvisionDeviceResponse' 

Fields

Instances

Instances details
Eq ProvisionDeviceResponse Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Read ProvisionDeviceResponse Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Show ProvisionDeviceResponse Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Generic ProvisionDeviceResponse Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Associated Types

type Rep ProvisionDeviceResponse :: Type -> Type #

NFData ProvisionDeviceResponse Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

Methods

rnf :: ProvisionDeviceResponse -> () #

type Rep ProvisionDeviceResponse Source # 
Instance details

Defined in Amazonka.Panorama.ProvisionDevice

type Rep ProvisionDeviceResponse = D1 ('MetaData "ProvisionDeviceResponse" "Amazonka.Panorama.ProvisionDevice" "libZSservicesZSamazonka-panoramaZSamazonka-panorama" 'False) (C1 ('MetaCons "ProvisionDeviceResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "certificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iotThingName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DeviceStatus)))))

newProvisionDeviceResponse Source #

Create a value of ProvisionDeviceResponse 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:certificates:ProvisionDeviceResponse', provisionDeviceResponse_certificates - The device's configuration bundle.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

$sel:deviceId:ProvisionDeviceResponse', provisionDeviceResponse_deviceId - The device's ID.

$sel:iotThingName:ProvisionDeviceResponse', provisionDeviceResponse_iotThingName - The device's IoT thing name.

$sel:httpStatus:ProvisionDeviceResponse', provisionDeviceResponse_httpStatus - The response's http status code.

$sel:arn:ProvisionDeviceResponse', provisionDeviceResponse_arn - The device's ARN.

$sel:status:ProvisionDeviceResponse', provisionDeviceResponse_status - The device's status.

Response Lenses

provisionDeviceResponse_certificates :: Lens' ProvisionDeviceResponse (Maybe ByteString) Source #

The device's configuration bundle.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.