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

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

data ListJobsByStatus Source #

The ListJobsByStatusRequest structure.

See: newListJobsByStatus smart constructor.

Constructors

ListJobsByStatus' 

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.

  • status :: Text

    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.

Instances

Instances details
ToHeaders ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

ToPath ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

ToQuery ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

AWSPager ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

AWSRequest ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Associated Types

type AWSResponse ListJobsByStatus #

Generic ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Associated Types

type Rep ListJobsByStatus :: Type -> Type #

Read ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Show ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

NFData ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Methods

rnf :: ListJobsByStatus -> () #

Eq ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Hashable ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

type AWSResponse ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatus = D1 ('MetaData "ListJobsByStatus" "Amazonka.ElasticTranscoder.ListJobsByStatus" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" 'False) (C1 ('MetaCons "ListJobsByStatus'" '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 "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListJobsByStatus Source #

Create a value of ListJobsByStatus 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:ListJobsByStatus', listJobsByStatus_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:ListJobsByStatus', listJobsByStatus_pageToken - When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

ListJobsByStatus, listJobsByStatus_status - 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.

Request Lenses

listJobsByStatus_ascending :: 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.

listJobsByStatus_pageToken :: 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.

listJobsByStatus_status :: 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

data ListJobsByStatusResponse Source #

The ListJobsByStatusResponse structure.

See: newListJobsByStatusResponse smart constructor.

Constructors

ListJobsByStatusResponse' 

Fields

  • jobs :: Maybe [Job]

    An array of Job objects that have the specified status.

  • 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 ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Associated Types

type Rep ListJobsByStatusResponse :: Type -> Type #

Read ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Show ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

NFData ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Eq ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatusResponse = D1 ('MetaData "ListJobsByStatusResponse" "Amazonka.ElasticTranscoder.ListJobsByStatus" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" 'False) (C1 ('MetaCons "ListJobsByStatusResponse'" '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))))

newListJobsByStatusResponse Source #

Create a value of ListJobsByStatusResponse 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:ListJobsByStatusResponse', listJobsByStatusResponse_jobs - An array of Job objects that have the specified status.

$sel:nextPageToken:ListJobsByStatusResponse', listJobsByStatusResponse_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:ListJobsByStatusResponse', listJobsByStatusResponse_httpStatus - The response's http status code.

Response Lenses

listJobsByStatusResponse_jobs :: Lens' ListJobsByStatusResponse (Maybe [Job]) Source #

An array of Job objects that have the specified status.

listJobsByStatusResponse_nextPageToken :: 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.