amazonka-iot-jobs-dataplane-1.6.0: Amazon IoT Jobs Data Plane 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.IoTJobsData.StartNextPendingJobExecution

Contents

Description

Gets and starts the next pending (status IN_PROGRESS or QUEUED) job execution for a thing.

Synopsis

Creating a Request

startNextPendingJobExecution Source #

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

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

  • snpjeStatusDetails - A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.
  • snpjeThingName - The name of the thing associated with the device.

data StartNextPendingJobExecution Source #

See: startNextPendingJobExecution smart constructor.

Instances

Eq StartNextPendingJobExecution Source # 
Data StartNextPendingJobExecution Source # 

Methods

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

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

toConstr :: StartNextPendingJobExecution -> Constr #

dataTypeOf :: StartNextPendingJobExecution -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartNextPendingJobExecution Source # 
Show StartNextPendingJobExecution Source # 
Generic StartNextPendingJobExecution Source # 
Hashable StartNextPendingJobExecution Source # 
ToJSON StartNextPendingJobExecution Source # 
NFData StartNextPendingJobExecution Source # 
AWSRequest StartNextPendingJobExecution Source # 
ToHeaders StartNextPendingJobExecution Source # 
ToPath StartNextPendingJobExecution Source # 
ToQuery StartNextPendingJobExecution Source # 
type Rep StartNextPendingJobExecution Source # 
type Rep StartNextPendingJobExecution = D1 * (MetaData "StartNextPendingJobExecution" "Network.AWS.IoTJobsData.StartNextPendingJobExecution" "amazonka-iot-jobs-dataplane-1.6.0-1BXy9I0VbTNJCQzMDHs5aK" False) (C1 * (MetaCons "StartNextPendingJobExecution'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_snpjeStatusDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe (Map Text Text)))) (S1 * (MetaSel (Just Symbol "_snpjeThingName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs StartNextPendingJobExecution Source # 

Request Lenses

snpjeStatusDetails :: Lens' StartNextPendingJobExecution (HashMap Text Text) Source #

A collection of name/value pairs that describe the status of the job execution. If not specified, the statusDetails are unchanged.

snpjeThingName :: Lens' StartNextPendingJobExecution Text Source #

The name of the thing associated with the device.

Destructuring the Response

startNextPendingJobExecutionResponse Source #

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

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

data StartNextPendingJobExecutionResponse Source #

See: startNextPendingJobExecutionResponse smart constructor.

Instances

Eq StartNextPendingJobExecutionResponse Source # 
Data StartNextPendingJobExecutionResponse Source # 

Methods

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

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

toConstr :: StartNextPendingJobExecutionResponse -> Constr #

dataTypeOf :: StartNextPendingJobExecutionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartNextPendingJobExecutionResponse Source # 
Show StartNextPendingJobExecutionResponse Source # 
Generic StartNextPendingJobExecutionResponse Source # 
NFData StartNextPendingJobExecutionResponse Source # 
type Rep StartNextPendingJobExecutionResponse Source # 
type Rep StartNextPendingJobExecutionResponse = D1 * (MetaData "StartNextPendingJobExecutionResponse" "Network.AWS.IoTJobsData.StartNextPendingJobExecution" "amazonka-iot-jobs-dataplane-1.6.0-1BXy9I0VbTNJCQzMDHs5aK" False) (C1 * (MetaCons "StartNextPendingJobExecutionResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_snpjersExecution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe JobExecution))) (S1 * (MetaSel (Just Symbol "_snpjersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses