libZSservicesZSamazonka-medialiveZSamazonka-medialive
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.MediaLive.Types.CaptionLanguageMapping

Description

 
Synopsis

Documentation

data CaptionLanguageMapping Source #

Maps a caption channel to an ISO 693-2 language code (http://www.loc.gov/standards/iso639-2), with an optional description.

See: newCaptionLanguageMapping smart constructor.

Constructors

CaptionLanguageMapping' 

Fields

  • languageCode :: Text

    Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)

  • languageDescription :: Text

    Textual description of language

  • captionChannel :: Natural

    The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)

Instances

Instances details
Eq CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

Read CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

Show CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

Generic CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

Associated Types

type Rep CaptionLanguageMapping :: Type -> Type #

NFData CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

Methods

rnf :: CaptionLanguageMapping -> () #

Hashable CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

ToJSON CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

FromJSON CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

type Rep CaptionLanguageMapping Source # 
Instance details

Defined in Amazonka.MediaLive.Types.CaptionLanguageMapping

type Rep CaptionLanguageMapping = D1 ('MetaData "CaptionLanguageMapping" "Amazonka.MediaLive.Types.CaptionLanguageMapping" "libZSservicesZSamazonka-medialiveZSamazonka-medialive" 'False) (C1 ('MetaCons "CaptionLanguageMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "languageDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "captionChannel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newCaptionLanguageMapping Source #

Create a value of CaptionLanguageMapping 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:languageCode:CaptionLanguageMapping', captionLanguageMapping_languageCode - Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)

$sel:languageDescription:CaptionLanguageMapping', captionLanguageMapping_languageDescription - Textual description of language

$sel:captionChannel:CaptionLanguageMapping', captionLanguageMapping_captionChannel - The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)

captionLanguageMapping_languageCode :: Lens' CaptionLanguageMapping Text Source #

Three character ISO 639-2 language code (see http://www.loc.gov/standards/iso639-2)

captionLanguageMapping_captionChannel :: Lens' CaptionLanguageMapping Natural Source #

The closed caption channel being described by this CaptionLanguageMapping. Each channel mapping must have a unique channel number (maximum of 4)