| Copyright | (c) 2013-2021 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 |
Amazonka.ElasticTranscoder.ReadPreset
Description
The ReadPreset operation gets detailed information about a preset.
Synopsis
- data ReadPreset = ReadPreset' {}
- newReadPreset :: Text -> ReadPreset
- readPreset_id :: Lens' ReadPreset Text
- data ReadPresetResponse = ReadPresetResponse' {
- preset :: Maybe Preset
- httpStatus :: Int
- newReadPresetResponse :: Int -> ReadPresetResponse
- readPresetResponse_preset :: Lens' ReadPresetResponse (Maybe Preset)
- readPresetResponse_httpStatus :: Lens' ReadPresetResponse Int
Creating a Request
data ReadPreset Source #
The ReadPresetRequest structure.
See: newReadPreset smart constructor.
Constructors
| ReadPreset' | |
Instances
Arguments
| :: Text | |
| -> ReadPreset |
Create a value of ReadPreset with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:id:ReadPreset', readPreset_id - The identifier of the preset for which you want to get detailed
information.
Request Lenses
readPreset_id :: Lens' ReadPreset Text Source #
The identifier of the preset for which you want to get detailed information.
Destructuring the Response
data ReadPresetResponse Source #
The ReadPresetResponse structure.
See: newReadPresetResponse smart constructor.
Constructors
| ReadPresetResponse' | |
Fields
| |
Instances
newReadPresetResponse Source #
Arguments
| :: Int | |
| -> ReadPresetResponse |
Create a value of ReadPresetResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:preset:ReadPresetResponse', readPresetResponse_preset - A section of the response body that provides information about the
preset.
$sel:httpStatus:ReadPresetResponse', readPresetResponse_httpStatus - The response's http status code.
Response Lenses
readPresetResponse_preset :: Lens' ReadPresetResponse (Maybe Preset) Source #
A section of the response body that provides information about the preset.
readPresetResponse_httpStatus :: Lens' ReadPresetResponse Int Source #
The response's http status code.