amazonka-mediapackage-2.0: Amazon Elemental MediaPackage 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.MediaPackage.Types.CmafPackage

Description

 
Synopsis

Documentation

data CmafPackage Source #

A Common Media Application Format (CMAF) packaging configuration.

See: newCmafPackage smart constructor.

Constructors

CmafPackage' 

Fields

Instances

Instances details
FromJSON CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

Generic CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

Associated Types

type Rep CmafPackage :: Type -> Type #

Read CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

Show CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

NFData CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

Methods

rnf :: CmafPackage -> () #

Eq CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

Hashable CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

type Rep CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

type Rep CmafPackage = D1 ('MetaData "CmafPackage" "Amazonka.MediaPackage.Types.CmafPackage" "amazonka-mediapackage-2.0-Ht5BbgvzDNJCrSLrgDmB6l" 'False) (C1 ('MetaCons "CmafPackage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafEncryption)) :*: S1 ('MetaSel ('Just "hlsManifests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HlsManifest]))) :*: (S1 ('MetaSel ('Just "segmentDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "segmentPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "streamSelection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamSelection))))))

newCmafPackage :: CmafPackage Source #

Create a value of CmafPackage 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:encryption:CmafPackage', cmafPackage_encryption - Undocumented member.

$sel:hlsManifests:CmafPackage', cmafPackage_hlsManifests - A list of HLS manifest configurations

$sel:segmentDurationSeconds:CmafPackage', cmafPackage_segmentDurationSeconds - Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

$sel:segmentPrefix:CmafPackage', cmafPackage_segmentPrefix - An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.

$sel:streamSelection:CmafPackage', cmafPackage_streamSelection - Undocumented member.

cmafPackage_hlsManifests :: Lens' CmafPackage (Maybe [HlsManifest]) Source #

A list of HLS manifest configurations

cmafPackage_segmentDurationSeconds :: Lens' CmafPackage (Maybe Int) Source #

Duration (in seconds) of each segment. Actual segments will be rounded to the nearest multiple of the source segment duration.

cmafPackage_segmentPrefix :: Lens' CmafPackage (Maybe Text) Source #

An optional custom string that is prepended to the name of each segment. If not specified, it defaults to the ChannelId.