amazonka-iot-2.0: Amazon IoT 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.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
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

AWSRequest GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Associated Types

type AWSResponse GetOTAUpdate #

Generic GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Associated Types

type Rep GetOTAUpdate :: Type -> Type #

Read GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Show GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

NFData GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Methods

rnf :: GetOTAUpdate -> () #

Eq GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Hashable GetOTAUpdate Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

type AWSResponse 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" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "GetOTAUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "otaUpdateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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
Generic GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Associated Types

type Rep GetOTAUpdateResponse :: Type -> Type #

Read GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Show GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

NFData GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

Methods

rnf :: GetOTAUpdateResponse -> () #

Eq GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

type Rep GetOTAUpdateResponse Source # 
Instance details

Defined in Amazonka.IoT.GetOTAUpdate

type Rep GetOTAUpdateResponse = D1 ('MetaData "GetOTAUpdateResponse" "Amazonka.IoT.GetOTAUpdate" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" '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