libZSservicesZSamazonka-greengrassZSamazonka-greengrass
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.Greengrass.CreateSoftwareUpdateJob

Description

Creates a software update for a core or group of cores (specified as an IoT thing group.) Use this to update the OTA Agent as well as the Greengrass core software. It makes use of the IoT Jobs feature which provides additional commands to manage a Greengrass core software update job.

Synopsis

Creating a Request

data CreateSoftwareUpdateJob Source #

See: newCreateSoftwareUpdateJob smart constructor.

Instances

Instances details
Eq CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Read CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Show CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Generic CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Associated Types

type Rep CreateSoftwareUpdateJob :: Type -> Type #

NFData CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Methods

rnf :: CreateSoftwareUpdateJob -> () #

Hashable CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

ToJSON CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

AWSRequest CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

ToHeaders CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

ToPath CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

ToQuery CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

type Rep CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

type Rep CreateSoftwareUpdateJob = D1 ('MetaData "CreateSoftwareUpdateJob" "Amazonka.Greengrass.CreateSoftwareUpdateJob" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateSoftwareUpdateJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "updateAgentLogLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateAgentLogLevel)) :*: (S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3UrlSignerRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "updateTargetsArchitecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UpdateTargetsArchitecture) :*: S1 ('MetaSel ('Just "softwareToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SoftwareToUpdate)) :*: (S1 ('MetaSel ('Just "updateTargets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "updateTargetsOperatingSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UpdateTargetsOperatingSystem)))))
type AWSResponse CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Request Lenses

createSoftwareUpdateJob_amznClientToken :: Lens' CreateSoftwareUpdateJob (Maybe Text) Source #

A client token used to correlate requests and responses.

Destructuring the Response

data CreateSoftwareUpdateJobResponse Source #

See: newCreateSoftwareUpdateJobResponse smart constructor.

Constructors

CreateSoftwareUpdateJobResponse' 

Fields

Instances

Instances details
Eq CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Read CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Show CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Generic CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Associated Types

type Rep CreateSoftwareUpdateJobResponse :: Type -> Type #

NFData CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

type Rep CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

type Rep CreateSoftwareUpdateJobResponse = D1 ('MetaData "CreateSoftwareUpdateJobResponse" "Amazonka.Greengrass.CreateSoftwareUpdateJob" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "CreateSoftwareUpdateJobResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "platformSoftwareVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iotJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "iotJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateSoftwareUpdateJobResponse Source #

Create a value of CreateSoftwareUpdateJobResponse 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:platformSoftwareVersion:CreateSoftwareUpdateJobResponse', createSoftwareUpdateJobResponse_platformSoftwareVersion - The software version installed on the device or devices after the update.

$sel:iotJobArn:CreateSoftwareUpdateJobResponse', createSoftwareUpdateJobResponse_iotJobArn - The IoT Job ARN corresponding to this update.

$sel:iotJobId:CreateSoftwareUpdateJobResponse', createSoftwareUpdateJobResponse_iotJobId - The IoT Job Id corresponding to this update.

$sel:httpStatus:CreateSoftwareUpdateJobResponse', createSoftwareUpdateJobResponse_httpStatus - The response's http status code.

Response Lenses

createSoftwareUpdateJobResponse_platformSoftwareVersion :: Lens' CreateSoftwareUpdateJobResponse (Maybe Text) Source #

The software version installed on the device or devices after the update.