libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage
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.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
Eq CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

Read CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

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

NFData CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

Methods

rnf :: CmafPackage -> () #

Hashable CmafPackage Source # 
Instance details

Defined in Amazonka.MediaPackage.Types.CmafPackage

FromJSON 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" "libZSservicesZSamazonka-mediapackageZSamazonka-mediapackage" 'False) (C1 ('MetaCons "CmafPackage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "hlsManifests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HlsManifest])) :*: S1 ('MetaSel ('Just "segmentDurationSeconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "streamSelection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamSelection)) :*: (S1 ('MetaSel ('Just "encryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CmafEncryption)) :*: S1 ('MetaSel ('Just "segmentPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

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: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:streamSelection:CmafPackage', cmafPackage_streamSelection - Undocumented member.

$sel:encryption:CmafPackage', cmafPackage_encryption - Undocumented member.

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

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.