amazonka-elastictranscoder-1.6.1: Amazon Elastic Transcoder 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.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 # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Data ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

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

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Show ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Generic ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Associated Types

type Rep ListJobsByStatus :: Type -> Type #

Hashable ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

AWSPager ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

AWSRequest ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Associated Types

type Rs ListJobsByStatus :: Type #

ToHeaders ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

ToPath ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

ToQuery ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

NFData ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Methods

rnf :: ListJobsByStatus -> () #

type Rep ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatus = D1 (MetaData "ListJobsByStatus" "Network.AWS.ElasticTranscoder.ListJobsByStatus" "amazonka-elastictranscoder-1.6.1-7rLW7I32F8uHzJtW36ptpK" False) (C1 (MetaCons "ListJobsByStatus'" PrefixI True) (S1 (MetaSel (Just "_ljbsAscending") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ljbsPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ljbsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ListJobsByStatus Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

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

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Data ListJobsByStatusResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

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

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Show ListJobsByStatusResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Generic ListJobsByStatusResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

Associated Types

type Rep ListJobsByStatusResponse :: Type -> Type #

NFData ListJobsByStatusResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatusResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatusResponse = D1 (MetaData "ListJobsByStatusResponse" "Network.AWS.ElasticTranscoder.ListJobsByStatus" "amazonka-elastictranscoder-1.6.1-7rLW7I32F8uHzJtW36ptpK" False) (C1 (MetaCons "ListJobsByStatusResponse'" PrefixI True) (S1 (MetaSel (Just "_ljbsrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ljbsrsJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Job'])) :*: S1 (MetaSel (Just "_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.