amazonka-elastictranscoder-1.5.0: Amazon Elastic Transcoder SDK.

Copyright(c) 2013-2017 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.ElasticTranscoder.ListJobsByStatus

Contents

Description

The ListJobsByStatus operation gets a list of jobs that have a specified status. The response body contains one element for each job that satisfies the search criteria.

This operation returns paginated results.

Synopsis

Creating a Request

listJobsByStatus Source #

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

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

  • ljbsAscending - To list jobs in chronological order by the date and time that they were submitted, enter true . To list jobs in reverse chronological order, enter false .
  • ljbsPageToken - When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.
  • ljbsStatus - To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status: Submitted , Progressing , Complete , Canceled , or Error .

data ListJobsByStatus Source #

The ListJobsByStatusRequest structure.

See: listJobsByStatus smart constructor.

Instances

Eq ListJobsByStatus Source # 
Data ListJobsByStatus Source # 

Methods

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

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

toConstr :: ListJobsByStatus -> Constr #

dataTypeOf :: ListJobsByStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListJobsByStatus Source # 
Show ListJobsByStatus Source # 
Generic ListJobsByStatus Source # 
Hashable ListJobsByStatus Source # 
NFData ListJobsByStatus Source # 

Methods

rnf :: ListJobsByStatus -> () #

AWSPager ListJobsByStatus Source # 
AWSRequest ListJobsByStatus Source # 
ToQuery ListJobsByStatus Source # 
ToPath ListJobsByStatus Source # 
ToHeaders ListJobsByStatus Source # 
type Rep ListJobsByStatus Source # 
type Rep ListJobsByStatus = D1 (MetaData "ListJobsByStatus" "Network.AWS.ElasticTranscoder.ListJobsByStatus" "amazonka-elastictranscoder-1.5.0-5nLgtHzqNVfJRvnm0eSBE8" False) (C1 (MetaCons "ListJobsByStatus'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ljbsAscending") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ljbsPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ljbsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs ListJobsByStatus Source # 

Request Lenses

ljbsAscending :: Lens' ListJobsByStatus (Maybe Text) Source #

To list jobs in chronological order by the date and time that they were submitted, enter true . To list jobs in reverse chronological order, enter false .

ljbsPageToken :: Lens' ListJobsByStatus (Maybe Text) Source #

When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

ljbsStatus :: Lens' ListJobsByStatus Text Source #

To get information about all of the jobs associated with the current AWS account that have a given status, specify the following status: Submitted , Progressing , Complete , Canceled , or Error .

Destructuring the Response

listJobsByStatusResponse Source #

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

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

  • ljbsrsNextPageToken - A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null .
  • ljbsrsJobs - An array of Job objects that have the specified status.
  • ljbsrsResponseStatus - -- | The response status code.

data ListJobsByStatusResponse Source #

The ListJobsByStatusResponse structure.

See: listJobsByStatusResponse smart constructor.

Instances

Eq ListJobsByStatusResponse Source # 
Data ListJobsByStatusResponse Source # 

Methods

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

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

toConstr :: ListJobsByStatusResponse -> Constr #

dataTypeOf :: ListJobsByStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListJobsByStatusResponse Source # 
Show ListJobsByStatusResponse Source # 
Generic ListJobsByStatusResponse Source # 
NFData ListJobsByStatusResponse Source # 
type Rep ListJobsByStatusResponse Source # 
type Rep ListJobsByStatusResponse = D1 (MetaData "ListJobsByStatusResponse" "Network.AWS.ElasticTranscoder.ListJobsByStatus" "amazonka-elastictranscoder-1.5.0-5nLgtHzqNVfJRvnm0eSBE8" False) (C1 (MetaCons "ListJobsByStatusResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ljbsrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ljbsrsJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job']))) (S1 (MetaSel (Just Symbol "_ljbsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

ljbsrsNextPageToken :: Lens' ListJobsByStatusResponse (Maybe Text) Source #

A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of NextPageToken is null .

ljbsrsJobs :: Lens' ListJobsByStatusResponse [Job'] Source #

An array of Job objects that have the specified status.