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

Description

The ListPresets operation gets a list of the default presets included with Elastic Transcoder and the presets that you've added in an AWS region.

This operation returns paginated results.

Synopsis

Creating a Request

data ListPresets Source #

The ListPresetsRequest structure.

See: newListPresets smart constructor.

Constructors

ListPresets' 

Fields

  • ascending :: Maybe Text

    To list presets in chronological order by the date and time that they were created, enter true. To list presets 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.

Instances

Instances details
Eq ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Read ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Show ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Generic ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Associated Types

type Rep ListPresets :: Type -> Type #

NFData ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Methods

rnf :: ListPresets -> () #

Hashable ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

AWSPager ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

AWSRequest ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Associated Types

type AWSResponse ListPresets #

ToHeaders ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Methods

toHeaders :: ListPresets -> [Header] #

ToPath ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

ToQuery ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

type Rep ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

type Rep ListPresets = D1 ('MetaData "ListPresets" "Amazonka.ElasticTranscoder.ListPresets" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "ListPresets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ascending") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

newListPresets :: ListPresets Source #

Create a value of ListPresets 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:ListPresets', listPresets_ascending - To list presets in chronological order by the date and time that they were created, enter true. To list presets in reverse chronological order, enter false.

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

Request Lenses

listPresets_ascending :: Lens' ListPresets (Maybe Text) Source #

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

listPresets_pageToken :: Lens' ListPresets (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.

Destructuring the Response

data ListPresetsResponse Source #

The ListPresetsResponse structure.

See: newListPresetsResponse smart constructor.

Constructors

ListPresetsResponse' 

Fields

  • nextPageToken :: Maybe Text

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

  • presets :: Maybe [Preset]

    An array of Preset objects.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Read ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Show ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Generic ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Associated Types

type Rep ListPresetsResponse :: Type -> Type #

NFData ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Methods

rnf :: ListPresetsResponse -> () #

type Rep ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

type Rep ListPresetsResponse = D1 ('MetaData "ListPresetsResponse" "Amazonka.ElasticTranscoder.ListPresets" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "ListPresetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "presets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Preset])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListPresetsResponse Source #

Create a value of ListPresetsResponse 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:ListPresetsResponse', listPresetsResponse_nextPageToken - A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of NextPageToken is null.

$sel:presets:ListPresetsResponse', listPresetsResponse_presets - An array of Preset objects.

$sel:httpStatus:ListPresetsResponse', listPresetsResponse_httpStatus - The response's http status code.

Response Lenses

listPresetsResponse_nextPageToken :: Lens' ListPresetsResponse (Maybe Text) Source #

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