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

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 #

Generic ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Associated Types

type Rep ListPresets :: Type -> Type #

Read ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Show ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

NFData ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Methods

rnf :: ListPresets -> () #

Eq ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Hashable ListPresets Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

type AWSResponse 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" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" '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))))

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
Generic ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Associated Types

type Rep ListPresetsResponse :: Type -> Type #

Read ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Show ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

NFData ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

Methods

rnf :: ListPresetsResponse -> () #

Eq ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

type Rep ListPresetsResponse Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.ListPresets

type Rep ListPresetsResponse = D1 ('MetaData "ListPresetsResponse" "Amazonka.ElasticTranscoder.ListPresets" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" '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.