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

Description

Gets an OTA update.

Requires permission to access the GetOTAUpdate action.

Synopsis

Creating a Request

data GetOTAUpdate Source #

See: newGetOTAUpdate smart constructor.

Constructors

GetOTAUpdate' 

Fields

Instances

Instances details
Eq GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Read GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Show GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Generic GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Associated Types

type Rep GetOTAUpdate :: Type -> Type #

NFData GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Methods

rnf :: GetOTAUpdate -> () #

Hashable GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

AWSRequest GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Associated Types

type AWSResponse GetOTAUpdate #

ToHeaders GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

ToPath GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

ToQuery GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

type Rep GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

type Rep GetOTAUpdate = D1 ('MetaData "GetOTAUpdate" "Amazonka.IoT.GetOTAUpdate" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "GetOTAUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "otaUpdateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

newGetOTAUpdate Source #

Create a value of GetOTAUpdate 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:otaUpdateId:GetOTAUpdate', getOTAUpdate_otaUpdateId - The OTA update ID.

Request Lenses

Destructuring the Response

data GetOTAUpdateResponse Source #

See: newGetOTAUpdateResponse smart constructor.

Constructors

GetOTAUpdateResponse' 

Fields

Instances

Instances details
Eq GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Read GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Show GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Generic GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Associated Types

type Rep GetOTAUpdateResponse :: Type -> Type #

NFData GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Methods

rnf :: GetOTAUpdateResponse -> () #

type Rep GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

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

newGetOTAUpdateResponse Source #

Create a value of GetOTAUpdateResponse 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:otaUpdateInfo:GetOTAUpdateResponse', getOTAUpdateResponse_otaUpdateInfo - The OTA update info.

$sel:httpStatus:GetOTAUpdateResponse', getOTAUpdateResponse_httpStatus - The response's http status code.

Response Lenses