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.Types.OTAUpdateFile

Description

 
Synopsis

Documentation

data OTAUpdateFile Source #

Describes a file to be associated with an OTA update.

See: newOTAUpdateFile smart constructor.

Constructors

OTAUpdateFile' 

Fields

Instances

Instances details
Eq OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

Read OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

Show OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

Generic OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

Associated Types

type Rep OTAUpdateFile :: Type -> Type #

NFData OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

Methods

rnf :: OTAUpdateFile -> () #

Hashable OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

ToJSON OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

FromJSON OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

type Rep OTAUpdateFile Source # 
Instance details

Defined in Amazonka.IoT.Types.OTAUpdateFile

newOTAUpdateFile :: OTAUpdateFile Source #

Create a value of OTAUpdateFile 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:fileLocation:OTAUpdateFile', oTAUpdateFile_fileLocation - The location of the updated firmware.

$sel:fileType:OTAUpdateFile', oTAUpdateFile_fileType - An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.

$sel:fileVersion:OTAUpdateFile', oTAUpdateFile_fileVersion - The file version.

$sel:attributes:OTAUpdateFile', oTAUpdateFile_attributes - A list of name/attribute pairs.

$sel:codeSigning:OTAUpdateFile', oTAUpdateFile_codeSigning - The code signing method of the file.

$sel:fileName:OTAUpdateFile', oTAUpdateFile_fileName - The name of the file.

oTAUpdateFile_fileLocation :: Lens' OTAUpdateFile (Maybe FileLocation) Source #

The location of the updated firmware.

oTAUpdateFile_fileType :: Lens' OTAUpdateFile (Maybe Natural) Source #

An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.

oTAUpdateFile_attributes :: Lens' OTAUpdateFile (Maybe (HashMap Text Text)) Source #

A list of name/attribute pairs.

oTAUpdateFile_codeSigning :: Lens' OTAUpdateFile (Maybe CodeSigning) Source #

The code signing method of the file.