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 |
Modify one of your existing presets.
Synopsis
- data UpdatePreset = UpdatePreset' {}
- newUpdatePreset :: Text -> UpdatePreset
- updatePreset_settings :: Lens' UpdatePreset (Maybe PresetSettings)
- updatePreset_category :: Lens' UpdatePreset (Maybe Text)
- updatePreset_description :: Lens' UpdatePreset (Maybe Text)
- updatePreset_name :: Lens' UpdatePreset Text
- data UpdatePresetResponse = UpdatePresetResponse' {
- preset :: Maybe Preset
- httpStatus :: Int
- newUpdatePresetResponse :: Int -> UpdatePresetResponse
- updatePresetResponse_preset :: Lens' UpdatePresetResponse (Maybe Preset)
- updatePresetResponse_httpStatus :: Lens' UpdatePresetResponse Int
Creating a Request
data UpdatePreset Source #
See: newUpdatePreset
smart constructor.
Instances
Create a value of UpdatePreset
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:settings:UpdatePreset'
, updatePreset_settings
- Settings for preset
$sel:category:UpdatePreset'
, updatePreset_category
- The new category for the preset, if you are changing it.
$sel:description:UpdatePreset'
, updatePreset_description
- The new description for the preset, if you are changing it.
$sel:name:UpdatePreset'
, updatePreset_name
- The name of the preset you are modifying.
Request Lenses
updatePreset_settings :: Lens' UpdatePreset (Maybe PresetSettings) Source #
Settings for preset
updatePreset_category :: Lens' UpdatePreset (Maybe Text) Source #
The new category for the preset, if you are changing it.
updatePreset_description :: Lens' UpdatePreset (Maybe Text) Source #
The new description for the preset, if you are changing it.
updatePreset_name :: Lens' UpdatePreset Text Source #
The name of the preset you are modifying.
Destructuring the Response
data UpdatePresetResponse Source #
See: newUpdatePresetResponse
smart constructor.
UpdatePresetResponse' | |
|
Instances
newUpdatePresetResponse Source #
Create a value of UpdatePresetResponse
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:UpdatePresetResponse'
, updatePresetResponse_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:UpdatePresetResponse'
, updatePresetResponse_httpStatus
- The response's http status code.
Response Lenses
updatePresetResponse_preset :: Lens' UpdatePresetResponse (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.
updatePresetResponse_httpStatus :: Lens' UpdatePresetResponse Int Source #
The response's http status code.