amazonka-iot-jobs-dataplane-1.6.1: 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 # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Data StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

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 # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Show StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Generic StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Associated Types

type Rep StartNextPendingJobExecution :: Type -> Type #

Hashable StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

ToJSON StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

AWSRequest StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Associated Types

type Rs StartNextPendingJobExecution :: Type #

ToHeaders StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

ToPath StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

ToQuery StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

NFData StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

type Rep StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

type Rep StartNextPendingJobExecution = D1 (MetaData "StartNextPendingJobExecution" "Network.AWS.IoTJobsData.StartNextPendingJobExecution" "amazonka-iot-jobs-dataplane-1.6.1-HQBkg3pfdMoKuuM15384PM" False) (C1 (MetaCons "StartNextPendingJobExecution'" PrefixI True) (S1 (MetaSel (Just "_snpjeStatusDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text))) :*: S1 (MetaSel (Just "_snpjeThingName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs StartNextPendingJobExecution Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

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 # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Data StartNextPendingJobExecutionResponse Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

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 # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Show StartNextPendingJobExecutionResponse Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

Generic StartNextPendingJobExecutionResponse Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

NFData StartNextPendingJobExecutionResponse Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

type Rep StartNextPendingJobExecutionResponse Source # 
Instance details

Defined in Network.AWS.IoTJobsData.StartNextPendingJobExecution

type Rep StartNextPendingJobExecutionResponse = D1 (MetaData "StartNextPendingJobExecutionResponse" "Network.AWS.IoTJobsData.StartNextPendingJobExecution" "amazonka-iot-jobs-dataplane-1.6.1-HQBkg3pfdMoKuuM15384PM" False) (C1 (MetaCons "StartNextPendingJobExecutionResponse'" PrefixI True) (S1 (MetaSel (Just "_snpjersExecution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobExecution)) :*: S1 (MetaSel (Just "_snpjersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses