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 |
Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
Synopsis
- data CreatePreset = CreatePreset' {}
- newCreatePreset :: PresetSettings -> Text -> CreatePreset
- createPreset_category :: Lens' CreatePreset (Maybe Text)
- createPreset_description :: Lens' CreatePreset (Maybe Text)
- createPreset_tags :: Lens' CreatePreset (Maybe (HashMap Text Text))
- createPreset_settings :: Lens' CreatePreset PresetSettings
- createPreset_name :: Lens' CreatePreset Text
- data CreatePresetResponse = CreatePresetResponse' {
- preset :: Maybe Preset
- httpStatus :: Int
- newCreatePresetResponse :: Int -> CreatePresetResponse
- createPresetResponse_preset :: Lens' CreatePresetResponse (Maybe Preset)
- createPresetResponse_httpStatus :: Lens' CreatePresetResponse Int
Creating a Request
data CreatePreset Source #
See: newCreatePreset
smart constructor.
CreatePreset' | |
|
Instances
Create a value of CreatePreset
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:category:CreatePreset'
, createPreset_category
- Optional. A category for the preset you are creating.
$sel:description:CreatePreset'
, createPreset_description
- Optional. A description of the preset you are creating.
$sel:tags:CreatePreset'
, createPreset_tags
- The tags that you want to add to the resource. You can tag resources
with a key-value pair or with only a key.
$sel:settings:CreatePreset'
, createPreset_settings
- Settings for preset
$sel:name:CreatePreset'
, createPreset_name
- The name of the preset you are creating.
Request Lenses
createPreset_category :: Lens' CreatePreset (Maybe Text) Source #
Optional. A category for the preset you are creating.
createPreset_description :: Lens' CreatePreset (Maybe Text) Source #
Optional. A description of the preset you are creating.
createPreset_tags :: Lens' CreatePreset (Maybe (HashMap Text Text)) Source #
The tags that you want to add to the resource. You can tag resources with a key-value pair or with only a key.
createPreset_settings :: Lens' CreatePreset PresetSettings Source #
Settings for preset
createPreset_name :: Lens' CreatePreset Text Source #
The name of the preset you are creating.
Destructuring the Response
data CreatePresetResponse Source #
See: newCreatePresetResponse
smart constructor.
CreatePresetResponse' | |
|
Instances
newCreatePresetResponse Source #
Create a value of CreatePresetResponse
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:CreatePresetResponse'
, createPresetResponse_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:CreatePresetResponse'
, createPresetResponse_httpStatus
- The response's http status code.
Response Lenses
createPresetResponse_preset :: Lens' CreatePresetResponse (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.
createPresetResponse_httpStatus :: Lens' CreatePresetResponse Int Source #
The response's http status code.