amazonka-mediaconvert-2.0: Amazon Elemental MediaConvert SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MediaConvert.GetPreset

Description

Retrieve the JSON for a specific preset.

Synopsis

Creating a Request

data GetPreset Source #

See: newGetPreset smart constructor.

Constructors

GetPreset' 

Fields

Instances

Instances details
ToHeaders GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Methods

toHeaders :: GetPreset -> [Header] #

ToPath GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

ToQuery GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

AWSRequest GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Associated Types

type AWSResponse GetPreset #

Generic GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Associated Types

type Rep GetPreset :: Type -> Type #

Read GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Show GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

NFData GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Methods

rnf :: GetPreset -> () #

Eq GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Hashable GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

type AWSResponse GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

type Rep GetPreset Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

type Rep GetPreset = D1 ('MetaData "GetPreset" "Amazonka.MediaConvert.GetPreset" "amazonka-mediaconvert-2.0-ClG8xHhlx4y6bdaCrZchqH" 'False) (C1 ('MetaCons "GetPreset'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetPreset Source #

Arguments

:: Text

GetPreset

-> 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:

GetPreset, getPreset_name - The name of the preset.

Request Lenses

getPreset_name :: Lens' GetPreset Text Source #

The name of the preset.

Destructuring the Response

data GetPresetResponse Source #

See: newGetPresetResponse smart constructor.

Constructors

GetPresetResponse' 

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
Generic GetPresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Associated Types

type Rep GetPresetResponse :: Type -> Type #

Read GetPresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Show GetPresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

NFData GetPresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

Methods

rnf :: GetPresetResponse -> () #

Eq GetPresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

type Rep GetPresetResponse Source # 
Instance details

Defined in Amazonka.MediaConvert.GetPreset

type Rep GetPresetResponse = D1 ('MetaData "GetPresetResponse" "Amazonka.MediaConvert.GetPreset" "amazonka-mediaconvert-2.0-ClG8xHhlx4y6bdaCrZchqH" 'False) (C1 ('MetaCons "GetPresetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Preset)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetPresetResponse Source #

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:

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.