| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MediaConvert.ListPresets
Description
Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.
Synopsis
- listPresets :: ListPresets
- data ListPresets
- lpCategory :: Lens' ListPresets (Maybe Text)
- lpListBy :: Lens' ListPresets (Maybe PresetListBy)
- lpNextToken :: Lens' ListPresets (Maybe Text)
- lpOrder :: Lens' ListPresets (Maybe Order)
- lpMaxResults :: Lens' ListPresets (Maybe Int)
- listPresetsResponse :: Int -> ListPresetsResponse
- data ListPresetsResponse
- lprsPresets :: Lens' ListPresetsResponse [Preset]
- lprsNextToken :: Lens' ListPresetsResponse (Maybe Text)
- lprsResponseStatus :: 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:
lpCategory- Optionally, specify a preset category to limit responses to only presets from that category.lpListBy- Undocumented member.lpNextToken- Use this string, provided with the response to a previous request, to request the next batch of presets.lpOrder- Undocumented member.lpMaxResults- Optional. Number of presets, up to twenty, that will be returned at one time
data ListPresets Source #
See: listPresets smart constructor.
Instances
Request Lenses
lpCategory :: Lens' ListPresets (Maybe Text) Source #
Optionally, specify a preset category to limit responses to only presets from that category.
lpListBy :: Lens' ListPresets (Maybe PresetListBy) Source #
Undocumented member.
lpNextToken :: Lens' ListPresets (Maybe Text) Source #
Use this string, provided with the response to a previous request, to request the next batch of presets.
lpMaxResults :: Lens' ListPresets (Maybe Int) Source #
Optional. Number of presets, up to twenty, that will be returned at one time
Destructuring the Response
Arguments
| :: Int | |
| -> 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:
lprsPresets- List of presetslprsNextToken- Use this string to request the next batch of presets.lprsResponseStatus- -- | The response status code.
data ListPresetsResponse Source #
See: listPresetsResponse smart constructor.
Instances
Response Lenses
lprsPresets :: Lens' ListPresetsResponse [Preset] Source #
List of presets
lprsNextToken :: Lens' ListPresetsResponse (Maybe Text) Source #
Use this string to request the next batch of presets.
lprsResponseStatus :: Lens' ListPresetsResponse Int Source #
- - | The response status code.