libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder
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.ElasticTranscoder.Types.InputCaptions

Description

 
Synopsis

Documentation

data InputCaptions Source #

The captions to be created, if any.

See: newInputCaptions smart constructor.

Constructors

InputCaptions' 

Fields

  • 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.

  • captionSources :: Maybe [CaptionSource]

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

Instances

Instances details
Eq InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Read InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Show 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 #

NFData InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

Methods

rnf :: InputCaptions -> () #

Hashable InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

ToJSON InputCaptions Source # 
Instance details

Defined in Amazonka.ElasticTranscoder.Types.InputCaptions

FromJSON 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" "libZSservicesZSamazonka-elastictranscoderZSamazonka-elastictranscoder" 'False) (C1 ('MetaCons "InputCaptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mergePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "captionSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CaptionSource]))))

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

$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.

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.

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.