Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for ListPresets.
This operation returns paginated results.
- listPresets :: ListPresets
- data ListPresets
- lAscending :: Lens' ListPresets (Maybe Text)
- lPageToken :: Lens' ListPresets (Maybe Text)
- listPresetsResponse :: Int -> ListPresetsResponse
- data ListPresetsResponse
- lrsNextPageToken :: Lens' ListPresetsResponse (Maybe Text)
- lrsPresets :: Lens' ListPresetsResponse [Preset]
- lrsResponseStatus :: Lens' ListPresetsResponse Int
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:
data ListPresets Source
The ListPresetsRequest
structure.
See: listPresets
smart constructor.
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
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:
data ListPresetsResponse Source
The ListPresetsResponse
structure.
See: listPresetsResponse
smart constructor.
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.