amazonka-elastictranscoder-2.0: Amazon Elastic Transcoder 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.ElasticTranscoder.Types.InputCaptions

Description

 
Synopsis

Documentation

data InputCaptions Source #

The captions to be created, if any.

See: newInputCaptions smart constructor.

Constructors

InputCaptions' 

Fields

  • captionSources :: Maybe [CaptionSource]

    Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

  • mergePolicy :: Maybe Text

    A policy that determines how Elastic Transcoder handles the existence of multiple captions.

    • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
    • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
    • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

    MergePolicy cannot be null.

Instances

Instances details
FromJSON InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

ToJSON InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Generic InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Associated Types

type Rep InputCaptions :: Type -> Type #

Read InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Show InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

NFData InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Methods

rnf :: InputCaptions -> () #

Eq InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Hashable InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

type Rep InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

type Rep InputCaptions = D1 ('MetaData "InputCaptions" "Amazonka.ElasticTranscoder.Types.InputCaptions" "amazonka-elastictranscoder-2.0-CmXzguD33FBGrVHrZxYHry" 'False) (C1 ('MetaCons "InputCaptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "captionSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CaptionSource])) :*: S1 ('MetaSel ('Just "mergePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newInputCaptions :: InputCaptions Source #

Create a value of InputCaptions 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:captionSources:InputCaptions', inputCaptions_captionSources - Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

$sel:mergePolicy:InputCaptions', inputCaptions_mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple captions.

  • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
  • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
  • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

MergePolicy cannot be null.

inputCaptions_captionSources :: Lens' InputCaptions (Maybe [CaptionSource]) Source #

Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions, leave CaptionSources blank.

inputCaptions_mergePolicy :: Lens' InputCaptions (Maybe Text) Source #

A policy that determines how Elastic Transcoder handles the existence of multiple captions.

  • MergeOverride: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the sidecar captions and ignores the embedded captions for that language.
  • MergeRetain: Elastic Transcoder transcodes both embedded and sidecar captions into outputs. If captions for a language are embedded in the input file and also appear in a sidecar file, Elastic Transcoder uses the embedded captions and ignores the sidecar captions for that language. If CaptionSources is empty, Elastic Transcoder omits all sidecar captions from the output files.
  • Override: Elastic Transcoder transcodes only the sidecar captions that you specify in CaptionSources.

MergePolicy cannot be null.