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 |
Retrieve the JSON for a specific preset.
Synopsis
- data GetPreset = GetPreset' {}
- newGetPreset :: Text -> GetPreset
- getPreset_name :: Lens' GetPreset Text
- data GetPresetResponse = GetPresetResponse' {
- preset :: Maybe Preset
- httpStatus :: Int
- newGetPresetResponse :: Int -> GetPresetResponse
- getPresetResponse_preset :: Lens' GetPresetResponse (Maybe Preset)
- getPresetResponse_httpStatus :: Lens' GetPresetResponse Int
Creating a Request
See: newGetPreset
smart constructor.
Instances
Eq GetPreset Source # | |
Read GetPreset Source # | |
Show GetPreset Source # | |
Generic GetPreset Source # | |
NFData GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset | |
Hashable GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset | |
AWSRequest GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset type AWSResponse GetPreset # request :: GetPreset -> Request GetPreset # response :: MonadResource m => Logger -> Service -> Proxy GetPreset -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetPreset))) # | |
ToHeaders GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset | |
ToPath GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset toPath :: GetPreset -> ByteString # | |
ToQuery GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset toQuery :: GetPreset -> QueryString # | |
type Rep GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset | |
type AWSResponse GetPreset Source # | |
Defined in Amazonka.MediaConvert.GetPreset |
Create a value of GetPreset
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:name:GetPreset'
, getPreset_name
- The name of the preset.
Request Lenses
Destructuring the Response
data GetPresetResponse Source #
See: newGetPresetResponse
smart constructor.
GetPresetResponse' | |
|
Instances
Create a value of GetPresetResponse
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:GetPresetResponse'
, getPresetResponse_preset
- A preset is a collection of preconfigured media conversion settings that
you want MediaConvert to apply to the output during the conversion
process.
$sel:httpStatus:GetPresetResponse'
, getPresetResponse_httpStatus
- The response's http status code.
Response Lenses
getPresetResponse_preset :: Lens' GetPresetResponse (Maybe Preset) Source #
A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.
getPresetResponse_httpStatus :: Lens' GetPresetResponse Int Source #
The response's http status code.