amazonka-greengrass-1.6.1: Amazon Greengrass SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Greengrass.CreateSoftwareUpdateJob

Contents

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

createSoftwareUpdateJob :: CreateSoftwareUpdateJob Source #

Creates a value of CreateSoftwareUpdateJob with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateSoftwareUpdateJob Source #

See: createSoftwareUpdateJob smart constructor.

Instances
Eq CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Data CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateSoftwareUpdateJob -> c CreateSoftwareUpdateJob #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateSoftwareUpdateJob #

toConstr :: CreateSoftwareUpdateJob -> Constr #

dataTypeOf :: CreateSoftwareUpdateJob -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateSoftwareUpdateJob) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateSoftwareUpdateJob) #

gmapT :: (forall b. Data b => b -> b) -> CreateSoftwareUpdateJob -> CreateSoftwareUpdateJob #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateSoftwareUpdateJob -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateSoftwareUpdateJob -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateSoftwareUpdateJob -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateSoftwareUpdateJob -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateSoftwareUpdateJob -> m CreateSoftwareUpdateJob #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateSoftwareUpdateJob -> m CreateSoftwareUpdateJob #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateSoftwareUpdateJob -> m CreateSoftwareUpdateJob #

Read CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Show CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Generic CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Associated Types

type Rep CreateSoftwareUpdateJob :: Type -> Type #

Hashable CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

ToJSON CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

AWSRequest CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Associated Types

type Rs CreateSoftwareUpdateJob :: Type #

ToHeaders CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

ToPath CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

ToQuery CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

NFData CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Methods

rnf :: CreateSoftwareUpdateJob -> () #

type Rep CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

type Rep CreateSoftwareUpdateJob = D1 (MetaData "CreateSoftwareUpdateJob" "Network.AWS.Greengrass.CreateSoftwareUpdateJob" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateSoftwareUpdateJob'" PrefixI True) ((S1 (MetaSel (Just "_csujUpdateAgentLogLevel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UpdateAgentLogLevel)) :*: (S1 (MetaSel (Just "_csujAmznClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csujSoftwareToUpdate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SoftwareToUpdate)))) :*: ((S1 (MetaSel (Just "_csujUpdateTargetsOperatingSystem") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UpdateTargetsOperatingSystem)) :*: S1 (MetaSel (Just "_csujS3URLSignerRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_csujUpdateTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_csujUpdateTargetsArchitecture") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe UpdateTargetsArchitecture))))))
type Rs CreateSoftwareUpdateJob Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Request Lenses

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

A client token used to correlate requests and responses.

Destructuring the Response

createSoftwareUpdateJobResponse Source #

Creates a value of CreateSoftwareUpdateJobResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateSoftwareUpdateJobResponse Source #

See: createSoftwareUpdateJobResponse smart constructor.

Instances
Eq CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Data CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateSoftwareUpdateJobResponse -> c CreateSoftwareUpdateJobResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateSoftwareUpdateJobResponse #

toConstr :: CreateSoftwareUpdateJobResponse -> Constr #

dataTypeOf :: CreateSoftwareUpdateJobResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateSoftwareUpdateJobResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateSoftwareUpdateJobResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateSoftwareUpdateJobResponse -> CreateSoftwareUpdateJobResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateSoftwareUpdateJobResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateSoftwareUpdateJobResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateSoftwareUpdateJobResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateSoftwareUpdateJobResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateSoftwareUpdateJobResponse -> m CreateSoftwareUpdateJobResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateSoftwareUpdateJobResponse -> m CreateSoftwareUpdateJobResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateSoftwareUpdateJobResponse -> m CreateSoftwareUpdateJobResponse #

Read CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Show CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Generic CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

Associated Types

type Rep CreateSoftwareUpdateJobResponse :: Type -> Type #

NFData CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

type Rep CreateSoftwareUpdateJobResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateSoftwareUpdateJob

type Rep CreateSoftwareUpdateJobResponse = D1 (MetaData "CreateSoftwareUpdateJobResponse" "Network.AWS.Greengrass.CreateSoftwareUpdateJob" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateSoftwareUpdateJobResponse'" PrefixI True) (S1 (MetaSel (Just "_csujrsIotJobARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_csujrsIotJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csujrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

The IoT Job ARN corresponding to this update.

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

The IoT Job Id corresponding to this update.