amazonka-elastictranscoder-1.4.5: Amazon Elastic Transcoder SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

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 #

The ListPresetsRequest structure.

See: listPresets smart constructor.

Instances

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

Associated Types

type Rep ListPresets :: * -> * #

Hashable ListPresets # 
NFData ListPresets # 

Methods

rnf :: ListPresets -> () #

AWSPager ListPresets # 
AWSRequest ListPresets # 
ToQuery ListPresets # 
ToPath ListPresets # 
ToHeaders ListPresets # 

Methods

toHeaders :: ListPresets -> [Header] #

type Rep ListPresets # 
type Rep ListPresets = D1 (MetaData "ListPresets" "Network.AWS.ElasticTranscoder.ListPresets" "amazonka-elastictranscoder-1.4.5-IWhO0jSg9d9K4YiAeruaf2" 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 # 

Request Lenses

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

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

Destructuring the Response

listPresetsResponse #

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 #

The ListPresetsResponse structure.

See: listPresetsResponse smart constructor.

Instances

Eq ListPresetsResponse # 
Data ListPresetsResponse # 

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

Methods

rnf :: ListPresetsResponse -> () #

type Rep ListPresetsResponse # 
type Rep ListPresetsResponse = D1 (MetaData "ListPresetsResponse" "Network.AWS.ElasticTranscoder.ListPresets" "amazonka-elastictranscoder-1.4.5-IWhO0jSg9d9K4YiAeruaf2" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses

lrsNextPageToken :: Lens' ListPresetsResponse (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 .

lrsPresets :: Lens' ListPresetsResponse [Preset] #

An array of Preset objects.

lrsResponseStatus :: Lens' ListPresetsResponse Int #

  • - | The response status code.