amazonka-elastictranscoder-2.0: Amazon Elastic Transcoder SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ElasticTranscoder.ListJobsByPipeline

Description

The ListJobsByPipeline operation gets a list of the jobs currently in a pipeline.

Elastic Transcoder returns all of the jobs currently in the specified pipeline. The response body contains one element for each job that satisfies the search criteria.

This operation returns paginated results.

Synopsis

Creating a Request

data ListJobsByPipeline Source #

The ListJobsByPipelineRequest structure.

See: newListJobsByPipeline smart constructor.

Constructors

ListJobsByPipeline' 

Fields

  • ascending :: Maybe Text

    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.

  • pageToken :: Maybe Text

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

  • pipelineId :: Text

    The ID of the pipeline for which you want to get job information.

Instances

Instances details
ToHeaders ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

ToPath ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

ToQuery ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

AWSPager ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

AWSRequest ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Associated Types

type AWSResponse ListJobsByPipeline #

Generic ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Associated Types

type Rep ListJobsByPipeline :: Type -> Type #

Read ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Show ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

NFData ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Methods

rnf :: ListJobsByPipeline -> () #

Eq ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Hashable ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

type AWSResponse ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

type Rep ListJobsByPipeline Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

type Rep ListJobsByPipeline = D1 ('MetaData "ListJobsByPipeline" "Amazonka.ElasticTranscoder.ListJobsByPipeline" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" 'False) (C1 ('MetaCons "ListJobsByPipeline'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ascending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pipelineId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListJobsByPipeline Source #

Create a value of ListJobsByPipeline with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:ascending:ListJobsByPipeline', listJobsByPipeline_ascending - 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.

$sel:pageToken:ListJobsByPipeline', listJobsByPipeline_pageToken - When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

ListJobsByPipeline, listJobsByPipeline_pipelineId - The ID of the pipeline for which you want to get job information.

Request Lenses

listJobsByPipeline_ascending :: Lens' ListJobsByPipeline (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.

listJobsByPipeline_pageToken :: Lens' ListJobsByPipeline (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.

listJobsByPipeline_pipelineId :: Lens' ListJobsByPipeline Text Source #

The ID of the pipeline for which you want to get job information.

Destructuring the Response

data ListJobsByPipelineResponse Source #

The ListJobsByPipelineResponse structure.

See: newListJobsByPipelineResponse smart constructor.

Constructors

ListJobsByPipelineResponse' 

Fields

  • jobs :: Maybe [Job]

    An array of Job objects that are in the specified pipeline.

  • nextPageToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListJobsByPipelineResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Associated Types

type Rep ListJobsByPipelineResponse :: Type -> Type #

Read ListJobsByPipelineResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Show ListJobsByPipelineResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

NFData ListJobsByPipelineResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

Eq ListJobsByPipelineResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

type Rep ListJobsByPipelineResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByPipeline

type Rep ListJobsByPipelineResponse = D1 ('MetaData "ListJobsByPipelineResponse" "Amazonka.ElasticTranscoder.ListJobsByPipeline" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" 'False) (C1 ('MetaCons "ListJobsByPipelineResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Job])) :*: (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListJobsByPipelineResponse Source #

Create a value of ListJobsByPipelineResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobs:ListJobsByPipelineResponse', listJobsByPipelineResponse_jobs - An array of Job objects that are in the specified pipeline.

$sel:nextPageToken:ListJobsByPipelineResponse', listJobsByPipelineResponse_nextPageToken - 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.

$sel:httpStatus:ListJobsByPipelineResponse', listJobsByPipelineResponse_httpStatus - The response's http status code.

Response Lenses

listJobsByPipelineResponse_jobs :: Lens' ListJobsByPipelineResponse (Maybe [Job]) Source #

An array of Job objects that are in the specified pipeline.

listJobsByPipelineResponse_nextPageToken :: Lens' ListJobsByPipelineResponse (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.