libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MediaConvert.CreatePreset

Description

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

Creating a Request

data CreatePreset Source #

See: newCreatePreset smart constructor.

Constructors

CreatePreset' 

Fields

Instances

Instances details
Eq CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Read CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Show CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Generic CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Associated Types

type Rep CreatePreset :: Type -> Type #

NFData CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Methods

rnf :: CreatePreset -> () #

Hashable CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

ToJSON CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

AWSRequest CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Associated Types

type AWSResponse CreatePreset #

ToHeaders CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

ToPath CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

ToQuery CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

type Rep CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

type Rep CreatePreset = D1 ('MetaData "CreatePreset" "Amazonka.MediaConvert.CreatePreset" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "CreatePreset'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "category") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PresetSettings) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreatePreset Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

newCreatePreset Source #

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_name :: Lens' CreatePreset Text Source #

The name of the preset you are creating.

Destructuring the Response

data CreatePresetResponse Source #

See: newCreatePresetResponse smart constructor.

Constructors

CreatePresetResponse' 

Fields

  • preset :: Maybe Preset

    A preset is a collection of preconfigured media conversion settings that you want MediaConvert to apply to the output during the conversion process.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CreatePresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Read CreatePresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Show CreatePresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Generic CreatePresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Associated Types

type Rep CreatePresetResponse :: Type -> Type #

NFData CreatePresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

Methods

rnf :: CreatePresetResponse -> () #

type Rep CreatePresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.CreatePreset

type Rep CreatePresetResponse = D1 ('MetaData "CreatePresetResponse" "Amazonka.MediaConvert.CreatePreset" "libZSservicesZSamazonka-mediaconvertZSamazonka-mediaconvert" 'False) (C1 ('MetaCons "CreatePresetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Preset)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.