libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Read ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Show ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Generic ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Associated Types

type Rep ListJobsByStatus :: Type -> Type #

NFData ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Methods

rnf :: ListJobsByStatus -> () #

Hashable 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 #

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

type Rep ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

type Rep ListJobsByStatus = D1 ('MetaData "ListJobsByStatus" "Amazonka.ElasticTranscoder.ListJobsByStatus" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" '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))))
type AWSResponse ListJobsByStatus Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

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.

$sel:status: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

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

  • jobs :: Maybe [Job]

    An array of Job objects that have the specified status.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Read ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Show ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Generic ListJobsByStatusResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListJobsByStatus

Associated Types

type Rep ListJobsByStatusResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "ListJobsByStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Job])) :*: 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: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:jobs:ListJobsByStatusResponse', listJobsByStatusResponse_jobs - An array of Job objects that have the specified status.

$sel:httpStatus:ListJobsByStatusResponse', listJobsByStatusResponse_httpStatus - The response's http status code.

Response Lenses

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.

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

An array of Job objects that have the specified status.