amazonka-greengrass-2.0: Amazon Greengrass 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.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
ToJSON 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

AWSRequest 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 #

Read CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Show CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

NFData CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Methods

rnf :: CreateSoftwareUpdateJob -> () #

Eq CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Hashable CreateSoftwareUpdateJob Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

type AWSResponse 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "CreateSoftwareUpdateJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "amznClientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "updateAgentLogLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UpdateAgentLogLevel)) :*: 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)))))

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

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Associated Types

type Rep CreateSoftwareUpdateJobResponse :: Type -> Type #

Read CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Show CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

NFData CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Amazonka.Greengrass.CreateSoftwareUpdateJob

Eq 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" "amazonka-greengrass-2.0-KjUXjyW3l8XyfFjm5ZueR" 'False) (C1 ('MetaCons "CreateSoftwareUpdateJobResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "iotJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iotJobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "platformSoftwareVersion") '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: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:platformSoftwareVersion:CreateSoftwareUpdateJobResponse', createSoftwareUpdateJobResponse_platformSoftwareVersion - The software version installed on the device or devices after the 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.