amazonka-elastictranscoder-1.6.0: 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 # 
Data ListPresets Source # 

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 # 
Show ListPresets Source # 
Generic ListPresets Source # 

Associated Types

type Rep ListPresets :: * -> * #

Hashable ListPresets Source # 
NFData ListPresets Source # 

Methods

rnf :: ListPresets -> () #

AWSPager ListPresets Source # 
AWSRequest ListPresets Source # 
ToHeaders ListPresets Source # 

Methods

toHeaders :: ListPresets -> [Header] #

ToPath ListPresets Source # 
ToQuery ListPresets Source # 
type Rep ListPresets Source # 
type Rep ListPresets = D1 * (MetaData "ListPresets" "Network.AWS.ElasticTranscoder.ListPresets" "amazonka-elastictranscoder-1.6.0-38CPPD4da2X1lqPFWRIqIv" False) (C1 * (MetaCons "ListPresets'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lAscending") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))
type Rs ListPresets Source # 

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 # 
Data ListPresetsResponse Source # 

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 # 
Show ListPresetsResponse Source # 
Generic ListPresetsResponse Source # 
NFData ListPresetsResponse Source # 

Methods

rnf :: ListPresetsResponse -> () #

type Rep ListPresetsResponse Source # 
type Rep ListPresetsResponse = D1 * (MetaData "ListPresetsResponse" "Network.AWS.ElasticTranscoder.ListPresets" "amazonka-elastictranscoder-1.6.0-38CPPD4da2X1lqPFWRIqIv" False) (C1 * (MetaCons "ListPresetsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrsPresets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Preset]))) (S1 * (MetaSel (Just Symbol "_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.