amazonka-elastictranscoder-1.6.1: Amazon Elastic Transcoder SDK.

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

Network.AWS.ElasticTranscoder.ListPresets

Contents

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

listPresets :: ListPresets Source #

Creates a value of ListPresets with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lAscending - 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 .
  • lPageToken - When Elastic Transcoder returns more than one page of results, use pageToken in subsequent GET requests to get each successive page of results.

data ListPresets Source #

The ListPresetsRequest structure.

See: listPresets smart constructor.

Instances
Eq ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Data ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPresets -> c ListPresets #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPresets #

toConstr :: ListPresets -> Constr #

dataTypeOf :: ListPresets -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListPresets) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPresets) #

gmapT :: (forall b. Data b => b -> b) -> ListPresets -> ListPresets #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPresets -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPresets -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPresets -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPresets -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPresets -> m ListPresets #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPresets -> m ListPresets #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPresets -> m ListPresets #

Read ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Show ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Generic ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Associated Types

type Rep ListPresets :: Type -> Type #

Hashable ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

AWSPager ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

AWSRequest ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Associated Types

type Rs ListPresets :: Type #

ToHeaders ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Methods

toHeaders :: ListPresets -> [Header] #

ToPath ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

ToQuery ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

NFData ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Methods

rnf :: ListPresets -> () #

type Rep ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

type Rep ListPresets = D1 (MetaData "ListPresets" "Network.AWS.ElasticTranscoder.ListPresets" "amazonka-elastictranscoder-1.6.1-7rLW7I32F8uHzJtW36ptpK" False) (C1 (MetaCons "ListPresets'" PrefixI True) (S1 (MetaSel (Just "_lAscending") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))
type Rs ListPresets Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Request Lenses

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

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

listPresetsResponse Source #

Creates a value of ListPresetsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lrsNextPageToken - 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 .
  • lrsPresets - An array of Preset objects.
  • lrsResponseStatus - -- | The response status code.

data ListPresetsResponse Source #

The ListPresetsResponse structure.

See: listPresetsResponse smart constructor.

Instances
Eq ListPresetsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Data ListPresetsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListPresetsResponse -> c ListPresetsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListPresetsResponse #

toConstr :: ListPresetsResponse -> Constr #

dataTypeOf :: ListPresetsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListPresetsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListPresetsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListPresetsResponse -> ListPresetsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListPresetsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListPresetsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListPresetsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListPresetsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListPresetsResponse -> m ListPresetsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPresetsResponse -> m ListPresetsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListPresetsResponse -> m ListPresetsResponse #

Read ListPresetsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Show ListPresetsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Generic ListPresetsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Associated Types

type Rep ListPresetsResponse :: Type -> Type #

NFData ListPresetsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

Methods

rnf :: ListPresetsResponse -> () #

type Rep ListPresetsResponse Source # 
Instance details

Defined in Network.AWS.ElasticTranscoder.ListPresets

type Rep ListPresetsResponse = D1 (MetaData "ListPresetsResponse" "Network.AWS.ElasticTranscoder.ListPresets" "amazonka-elastictranscoder-1.6.1-7rLW7I32F8uHzJtW36ptpK" False) (C1 (MetaCons "ListPresetsResponse'" PrefixI True) (S1 (MetaSel (Just "_lrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lrsPresets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Preset])) :*: S1 (MetaSel (Just "_lrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

lrsPresets :: Lens' ListPresetsResponse [Preset] Source #

An array of Preset objects.

lrsResponseStatus :: Lens' ListPresetsResponse Int Source #

  • - | The response status code.