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.GetPendingJobExecutions

Contents

Description

Gets the list of all jobs for a thing that are not in a terminal status.

Synopsis

Creating a Request

getPendingJobExecutions Source #

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

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

data GetPendingJobExecutions Source #

See: getPendingJobExecutions smart constructor.

Instances

Eq GetPendingJobExecutions Source # 
Data GetPendingJobExecutions Source # 

Methods

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

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

toConstr :: GetPendingJobExecutions -> Constr #

dataTypeOf :: GetPendingJobExecutions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPendingJobExecutions Source # 
Show GetPendingJobExecutions Source # 
Generic GetPendingJobExecutions Source # 
Hashable GetPendingJobExecutions Source # 
NFData GetPendingJobExecutions Source # 

Methods

rnf :: GetPendingJobExecutions -> () #

AWSRequest GetPendingJobExecutions Source # 
ToHeaders GetPendingJobExecutions Source # 
ToPath GetPendingJobExecutions Source # 
ToQuery GetPendingJobExecutions Source # 
type Rep GetPendingJobExecutions Source # 
type Rep GetPendingJobExecutions = D1 * (MetaData "GetPendingJobExecutions" "Network.AWS.IoTJobsData.GetPendingJobExecutions" "amazonka-iot-jobs-dataplane-1.6.0-1BXy9I0VbTNJCQzMDHs5aK" True) (C1 * (MetaCons "GetPendingJobExecutions'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gpjeThingName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetPendingJobExecutions Source # 

Request Lenses

gpjeThingName :: Lens' GetPendingJobExecutions Text Source #

The name of the thing that is executing the job.

Destructuring the Response

getPendingJobExecutionsResponse Source #

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

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

data GetPendingJobExecutionsResponse Source #

See: getPendingJobExecutionsResponse smart constructor.

Instances

Eq GetPendingJobExecutionsResponse Source # 
Data GetPendingJobExecutionsResponse Source # 

Methods

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

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

toConstr :: GetPendingJobExecutionsResponse -> Constr #

dataTypeOf :: GetPendingJobExecutionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetPendingJobExecutionsResponse Source # 
Show GetPendingJobExecutionsResponse Source # 
Generic GetPendingJobExecutionsResponse Source # 
NFData GetPendingJobExecutionsResponse Source # 
type Rep GetPendingJobExecutionsResponse Source # 
type Rep GetPendingJobExecutionsResponse = D1 * (MetaData "GetPendingJobExecutionsResponse" "Network.AWS.IoTJobsData.GetPendingJobExecutions" "amazonka-iot-jobs-dataplane-1.6.0-1BXy9I0VbTNJCQzMDHs5aK" False) (C1 * (MetaCons "GetPendingJobExecutionsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpjersInProgressJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [JobExecutionSummary]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gpjersQueuedJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [JobExecutionSummary]))) (S1 * (MetaSel (Just Symbol "_gpjersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gpjersInProgressJobs :: Lens' GetPendingJobExecutionsResponse [JobExecutionSummary] Source #

A list of JobExecutionSummary objects with status IN_PROGRESS.

gpjersQueuedJobs :: Lens' GetPendingJobExecutionsResponse [JobExecutionSummary] Source #

A list of JobExecutionSummary objects with status QUEUED.