{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.MediaConvert.Types.CmafGroupSettings where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.MediaConvert.Types.CmafAdditionalManifest
import Amazonka.MediaConvert.Types.CmafClientCache
import Amazonka.MediaConvert.Types.CmafCodecSpecification
import Amazonka.MediaConvert.Types.CmafEncryptionSettings
import Amazonka.MediaConvert.Types.CmafImageBasedTrickPlay
import Amazonka.MediaConvert.Types.CmafImageBasedTrickPlaySettings
import Amazonka.MediaConvert.Types.CmafManifestCompression
import Amazonka.MediaConvert.Types.CmafManifestDurationFormat
import Amazonka.MediaConvert.Types.CmafMpdManifestBandwidthType
import Amazonka.MediaConvert.Types.CmafMpdProfile
import Amazonka.MediaConvert.Types.CmafPtsOffsetHandlingForBFrames
import Amazonka.MediaConvert.Types.CmafSegmentControl
import Amazonka.MediaConvert.Types.CmafSegmentLengthControl
import Amazonka.MediaConvert.Types.CmafStreamInfResolution
import Amazonka.MediaConvert.Types.CmafTargetDurationCompatibilityMode
import Amazonka.MediaConvert.Types.CmafVideoCompositionOffsets
import Amazonka.MediaConvert.Types.CmafWriteDASHManifest
import Amazonka.MediaConvert.Types.CmafWriteHLSManifest
import Amazonka.MediaConvert.Types.CmafWriteSegmentTimelineInRepresentation
import Amazonka.MediaConvert.Types.DestinationSettings
import qualified Amazonka.Prelude as Prelude
data CmafGroupSettings = CmafGroupSettings'
{
CmafGroupSettings -> Maybe [CmafAdditionalManifest]
additionalManifests :: Prelude.Maybe [CmafAdditionalManifest],
CmafGroupSettings -> Maybe Text
baseUrl :: Prelude.Maybe Prelude.Text,
CmafGroupSettings -> Maybe CmafClientCache
clientCache :: Prelude.Maybe CmafClientCache,
CmafGroupSettings -> Maybe CmafCodecSpecification
codecSpecification :: Prelude.Maybe CmafCodecSpecification,
CmafGroupSettings -> Maybe Text
destination :: Prelude.Maybe Prelude.Text,
CmafGroupSettings -> Maybe DestinationSettings
destinationSettings :: Prelude.Maybe DestinationSettings,
CmafGroupSettings -> Maybe CmafEncryptionSettings
encryption :: Prelude.Maybe CmafEncryptionSettings,
CmafGroupSettings -> Maybe Natural
fragmentLength :: Prelude.Maybe Prelude.Natural,
CmafGroupSettings -> Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay :: Prelude.Maybe CmafImageBasedTrickPlay,
CmafGroupSettings -> Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings :: Prelude.Maybe CmafImageBasedTrickPlaySettings,
CmafGroupSettings -> Maybe CmafManifestCompression
manifestCompression :: Prelude.Maybe CmafManifestCompression,
CmafGroupSettings -> Maybe CmafManifestDurationFormat
manifestDurationFormat :: Prelude.Maybe CmafManifestDurationFormat,
CmafGroupSettings -> Maybe Natural
minBufferTime :: Prelude.Maybe Prelude.Natural,
CmafGroupSettings -> Maybe Double
minFinalSegmentLength :: Prelude.Maybe Prelude.Double,
CmafGroupSettings -> Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType :: Prelude.Maybe CmafMpdManifestBandwidthType,
CmafGroupSettings -> Maybe CmafMpdProfile
mpdProfile :: Prelude.Maybe CmafMpdProfile,
CmafGroupSettings -> Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames :: Prelude.Maybe CmafPtsOffsetHandlingForBFrames,
CmafGroupSettings -> Maybe CmafSegmentControl
segmentControl :: Prelude.Maybe CmafSegmentControl,
CmafGroupSettings -> Maybe Natural
segmentLength :: Prelude.Maybe Prelude.Natural,
CmafGroupSettings -> Maybe CmafSegmentLengthControl
segmentLengthControl :: Prelude.Maybe CmafSegmentLengthControl,
CmafGroupSettings -> Maybe CmafStreamInfResolution
streamInfResolution :: Prelude.Maybe CmafStreamInfResolution,
CmafGroupSettings -> Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode :: Prelude.Maybe CmafTargetDurationCompatibilityMode,
CmafGroupSettings -> Maybe CmafVideoCompositionOffsets
videoCompositionOffsets :: Prelude.Maybe CmafVideoCompositionOffsets,
CmafGroupSettings -> Maybe CmafWriteDASHManifest
writeDashManifest :: Prelude.Maybe CmafWriteDASHManifest,
CmafGroupSettings -> Maybe CmafWriteHLSManifest
writeHlsManifest :: Prelude.Maybe CmafWriteHLSManifest,
CmafGroupSettings -> Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation :: Prelude.Maybe CmafWriteSegmentTimelineInRepresentation
}
deriving (CmafGroupSettings -> CmafGroupSettings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CmafGroupSettings -> CmafGroupSettings -> Bool
$c/= :: CmafGroupSettings -> CmafGroupSettings -> Bool
== :: CmafGroupSettings -> CmafGroupSettings -> Bool
$c== :: CmafGroupSettings -> CmafGroupSettings -> Bool
Prelude.Eq, ReadPrec [CmafGroupSettings]
ReadPrec CmafGroupSettings
Int -> ReadS CmafGroupSettings
ReadS [CmafGroupSettings]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CmafGroupSettings]
$creadListPrec :: ReadPrec [CmafGroupSettings]
readPrec :: ReadPrec CmafGroupSettings
$creadPrec :: ReadPrec CmafGroupSettings
readList :: ReadS [CmafGroupSettings]
$creadList :: ReadS [CmafGroupSettings]
readsPrec :: Int -> ReadS CmafGroupSettings
$creadsPrec :: Int -> ReadS CmafGroupSettings
Prelude.Read, Int -> CmafGroupSettings -> ShowS
[CmafGroupSettings] -> ShowS
CmafGroupSettings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CmafGroupSettings] -> ShowS
$cshowList :: [CmafGroupSettings] -> ShowS
show :: CmafGroupSettings -> String
$cshow :: CmafGroupSettings -> String
showsPrec :: Int -> CmafGroupSettings -> ShowS
$cshowsPrec :: Int -> CmafGroupSettings -> ShowS
Prelude.Show, forall x. Rep CmafGroupSettings x -> CmafGroupSettings
forall x. CmafGroupSettings -> Rep CmafGroupSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CmafGroupSettings x -> CmafGroupSettings
$cfrom :: forall x. CmafGroupSettings -> Rep CmafGroupSettings x
Prelude.Generic)
newCmafGroupSettings ::
CmafGroupSettings
newCmafGroupSettings :: CmafGroupSettings
newCmafGroupSettings =
CmafGroupSettings'
{ $sel:additionalManifests:CmafGroupSettings' :: Maybe [CmafAdditionalManifest]
additionalManifests =
forall a. Maybe a
Prelude.Nothing,
$sel:baseUrl:CmafGroupSettings' :: Maybe Text
baseUrl = forall a. Maybe a
Prelude.Nothing,
$sel:clientCache:CmafGroupSettings' :: Maybe CmafClientCache
clientCache = forall a. Maybe a
Prelude.Nothing,
$sel:codecSpecification:CmafGroupSettings' :: Maybe CmafCodecSpecification
codecSpecification = forall a. Maybe a
Prelude.Nothing,
$sel:destination:CmafGroupSettings' :: Maybe Text
destination = forall a. Maybe a
Prelude.Nothing,
$sel:destinationSettings:CmafGroupSettings' :: Maybe DestinationSettings
destinationSettings = forall a. Maybe a
Prelude.Nothing,
$sel:encryption:CmafGroupSettings' :: Maybe CmafEncryptionSettings
encryption = forall a. Maybe a
Prelude.Nothing,
$sel:fragmentLength:CmafGroupSettings' :: Maybe Natural
fragmentLength = forall a. Maybe a
Prelude.Nothing,
$sel:imageBasedTrickPlay:CmafGroupSettings' :: Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay = forall a. Maybe a
Prelude.Nothing,
$sel:imageBasedTrickPlaySettings:CmafGroupSettings' :: Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings = forall a. Maybe a
Prelude.Nothing,
$sel:manifestCompression:CmafGroupSettings' :: Maybe CmafManifestCompression
manifestCompression = forall a. Maybe a
Prelude.Nothing,
$sel:manifestDurationFormat:CmafGroupSettings' :: Maybe CmafManifestDurationFormat
manifestDurationFormat = forall a. Maybe a
Prelude.Nothing,
$sel:minBufferTime:CmafGroupSettings' :: Maybe Natural
minBufferTime = forall a. Maybe a
Prelude.Nothing,
$sel:minFinalSegmentLength:CmafGroupSettings' :: Maybe Double
minFinalSegmentLength = forall a. Maybe a
Prelude.Nothing,
$sel:mpdManifestBandwidthType:CmafGroupSettings' :: Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType = forall a. Maybe a
Prelude.Nothing,
$sel:mpdProfile:CmafGroupSettings' :: Maybe CmafMpdProfile
mpdProfile = forall a. Maybe a
Prelude.Nothing,
$sel:ptsOffsetHandlingForBFrames:CmafGroupSettings' :: Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames = forall a. Maybe a
Prelude.Nothing,
$sel:segmentControl:CmafGroupSettings' :: Maybe CmafSegmentControl
segmentControl = forall a. Maybe a
Prelude.Nothing,
$sel:segmentLength:CmafGroupSettings' :: Maybe Natural
segmentLength = forall a. Maybe a
Prelude.Nothing,
$sel:segmentLengthControl:CmafGroupSettings' :: Maybe CmafSegmentLengthControl
segmentLengthControl = forall a. Maybe a
Prelude.Nothing,
$sel:streamInfResolution:CmafGroupSettings' :: Maybe CmafStreamInfResolution
streamInfResolution = forall a. Maybe a
Prelude.Nothing,
$sel:targetDurationCompatibilityMode:CmafGroupSettings' :: Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode = forall a. Maybe a
Prelude.Nothing,
$sel:videoCompositionOffsets:CmafGroupSettings' :: Maybe CmafVideoCompositionOffsets
videoCompositionOffsets = forall a. Maybe a
Prelude.Nothing,
$sel:writeDashManifest:CmafGroupSettings' :: Maybe CmafWriteDASHManifest
writeDashManifest = forall a. Maybe a
Prelude.Nothing,
$sel:writeHlsManifest:CmafGroupSettings' :: Maybe CmafWriteHLSManifest
writeHlsManifest = forall a. Maybe a
Prelude.Nothing,
$sel:writeSegmentTimelineInRepresentation:CmafGroupSettings' :: Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation =
forall a. Maybe a
Prelude.Nothing
}
cmafGroupSettings_additionalManifests :: Lens.Lens' CmafGroupSettings (Prelude.Maybe [CmafAdditionalManifest])
cmafGroupSettings_additionalManifests :: Lens' CmafGroupSettings (Maybe [CmafAdditionalManifest])
cmafGroupSettings_additionalManifests = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe [CmafAdditionalManifest]
additionalManifests :: Maybe [CmafAdditionalManifest]
$sel:additionalManifests:CmafGroupSettings' :: CmafGroupSettings -> Maybe [CmafAdditionalManifest]
additionalManifests} -> Maybe [CmafAdditionalManifest]
additionalManifests) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe [CmafAdditionalManifest]
a -> CmafGroupSettings
s {$sel:additionalManifests:CmafGroupSettings' :: Maybe [CmafAdditionalManifest]
additionalManifests = Maybe [CmafAdditionalManifest]
a} :: CmafGroupSettings) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
cmafGroupSettings_baseUrl :: Lens.Lens' CmafGroupSettings (Prelude.Maybe Prelude.Text)
cmafGroupSettings_baseUrl :: Lens' CmafGroupSettings (Maybe Text)
cmafGroupSettings_baseUrl = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe Text
baseUrl :: Maybe Text
$sel:baseUrl:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
baseUrl} -> Maybe Text
baseUrl) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe Text
a -> CmafGroupSettings
s {$sel:baseUrl:CmafGroupSettings' :: Maybe Text
baseUrl = Maybe Text
a} :: CmafGroupSettings)
cmafGroupSettings_clientCache :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafClientCache)
cmafGroupSettings_clientCache :: Lens' CmafGroupSettings (Maybe CmafClientCache)
cmafGroupSettings_clientCache = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafClientCache
clientCache :: Maybe CmafClientCache
$sel:clientCache:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafClientCache
clientCache} -> Maybe CmafClientCache
clientCache) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafClientCache
a -> CmafGroupSettings
s {$sel:clientCache:CmafGroupSettings' :: Maybe CmafClientCache
clientCache = Maybe CmafClientCache
a} :: CmafGroupSettings)
cmafGroupSettings_codecSpecification :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafCodecSpecification)
cmafGroupSettings_codecSpecification :: Lens' CmafGroupSettings (Maybe CmafCodecSpecification)
cmafGroupSettings_codecSpecification = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafCodecSpecification
codecSpecification :: Maybe CmafCodecSpecification
$sel:codecSpecification:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafCodecSpecification
codecSpecification} -> Maybe CmafCodecSpecification
codecSpecification) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafCodecSpecification
a -> CmafGroupSettings
s {$sel:codecSpecification:CmafGroupSettings' :: Maybe CmafCodecSpecification
codecSpecification = Maybe CmafCodecSpecification
a} :: CmafGroupSettings)
cmafGroupSettings_destination :: Lens.Lens' CmafGroupSettings (Prelude.Maybe Prelude.Text)
cmafGroupSettings_destination :: Lens' CmafGroupSettings (Maybe Text)
cmafGroupSettings_destination = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe Text
destination :: Maybe Text
$sel:destination:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
destination} -> Maybe Text
destination) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe Text
a -> CmafGroupSettings
s {$sel:destination:CmafGroupSettings' :: Maybe Text
destination = Maybe Text
a} :: CmafGroupSettings)
cmafGroupSettings_destinationSettings :: Lens.Lens' CmafGroupSettings (Prelude.Maybe DestinationSettings)
cmafGroupSettings_destinationSettings :: Lens' CmafGroupSettings (Maybe DestinationSettings)
cmafGroupSettings_destinationSettings = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe DestinationSettings
destinationSettings :: Maybe DestinationSettings
$sel:destinationSettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe DestinationSettings
destinationSettings} -> Maybe DestinationSettings
destinationSettings) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe DestinationSettings
a -> CmafGroupSettings
s {$sel:destinationSettings:CmafGroupSettings' :: Maybe DestinationSettings
destinationSettings = Maybe DestinationSettings
a} :: CmafGroupSettings)
cmafGroupSettings_encryption :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafEncryptionSettings)
cmafGroupSettings_encryption :: Lens' CmafGroupSettings (Maybe CmafEncryptionSettings)
cmafGroupSettings_encryption = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafEncryptionSettings
encryption :: Maybe CmafEncryptionSettings
$sel:encryption:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafEncryptionSettings
encryption} -> Maybe CmafEncryptionSettings
encryption) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafEncryptionSettings
a -> CmafGroupSettings
s {$sel:encryption:CmafGroupSettings' :: Maybe CmafEncryptionSettings
encryption = Maybe CmafEncryptionSettings
a} :: CmafGroupSettings)
cmafGroupSettings_fragmentLength :: Lens.Lens' CmafGroupSettings (Prelude.Maybe Prelude.Natural)
cmafGroupSettings_fragmentLength :: Lens' CmafGroupSettings (Maybe Natural)
cmafGroupSettings_fragmentLength = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe Natural
fragmentLength :: Maybe Natural
$sel:fragmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
fragmentLength} -> Maybe Natural
fragmentLength) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe Natural
a -> CmafGroupSettings
s {$sel:fragmentLength:CmafGroupSettings' :: Maybe Natural
fragmentLength = Maybe Natural
a} :: CmafGroupSettings)
cmafGroupSettings_imageBasedTrickPlay :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafImageBasedTrickPlay)
cmafGroupSettings_imageBasedTrickPlay :: Lens' CmafGroupSettings (Maybe CmafImageBasedTrickPlay)
cmafGroupSettings_imageBasedTrickPlay = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay :: Maybe CmafImageBasedTrickPlay
$sel:imageBasedTrickPlay:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay} -> Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafImageBasedTrickPlay
a -> CmafGroupSettings
s {$sel:imageBasedTrickPlay:CmafGroupSettings' :: Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay = Maybe CmafImageBasedTrickPlay
a} :: CmafGroupSettings)
cmafGroupSettings_imageBasedTrickPlaySettings :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafImageBasedTrickPlaySettings)
cmafGroupSettings_imageBasedTrickPlaySettings :: Lens' CmafGroupSettings (Maybe CmafImageBasedTrickPlaySettings)
cmafGroupSettings_imageBasedTrickPlaySettings = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings :: Maybe CmafImageBasedTrickPlaySettings
$sel:imageBasedTrickPlaySettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings} -> Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafImageBasedTrickPlaySettings
a -> CmafGroupSettings
s {$sel:imageBasedTrickPlaySettings:CmafGroupSettings' :: Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings = Maybe CmafImageBasedTrickPlaySettings
a} :: CmafGroupSettings)
cmafGroupSettings_manifestCompression :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafManifestCompression)
cmafGroupSettings_manifestCompression :: Lens' CmafGroupSettings (Maybe CmafManifestCompression)
cmafGroupSettings_manifestCompression = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafManifestCompression
manifestCompression :: Maybe CmafManifestCompression
$sel:manifestCompression:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestCompression
manifestCompression} -> Maybe CmafManifestCompression
manifestCompression) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafManifestCompression
a -> CmafGroupSettings
s {$sel:manifestCompression:CmafGroupSettings' :: Maybe CmafManifestCompression
manifestCompression = Maybe CmafManifestCompression
a} :: CmafGroupSettings)
cmafGroupSettings_manifestDurationFormat :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafManifestDurationFormat)
cmafGroupSettings_manifestDurationFormat :: Lens' CmafGroupSettings (Maybe CmafManifestDurationFormat)
cmafGroupSettings_manifestDurationFormat = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafManifestDurationFormat
manifestDurationFormat :: Maybe CmafManifestDurationFormat
$sel:manifestDurationFormat:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestDurationFormat
manifestDurationFormat} -> Maybe CmafManifestDurationFormat
manifestDurationFormat) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafManifestDurationFormat
a -> CmafGroupSettings
s {$sel:manifestDurationFormat:CmafGroupSettings' :: Maybe CmafManifestDurationFormat
manifestDurationFormat = Maybe CmafManifestDurationFormat
a} :: CmafGroupSettings)
cmafGroupSettings_minBufferTime :: Lens.Lens' CmafGroupSettings (Prelude.Maybe Prelude.Natural)
cmafGroupSettings_minBufferTime :: Lens' CmafGroupSettings (Maybe Natural)
cmafGroupSettings_minBufferTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe Natural
minBufferTime :: Maybe Natural
$sel:minBufferTime:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
minBufferTime} -> Maybe Natural
minBufferTime) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe Natural
a -> CmafGroupSettings
s {$sel:minBufferTime:CmafGroupSettings' :: Maybe Natural
minBufferTime = Maybe Natural
a} :: CmafGroupSettings)
cmafGroupSettings_minFinalSegmentLength :: Lens.Lens' CmafGroupSettings (Prelude.Maybe Prelude.Double)
cmafGroupSettings_minFinalSegmentLength :: Lens' CmafGroupSettings (Maybe Double)
cmafGroupSettings_minFinalSegmentLength = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe Double
minFinalSegmentLength :: Maybe Double
$sel:minFinalSegmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Double
minFinalSegmentLength} -> Maybe Double
minFinalSegmentLength) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe Double
a -> CmafGroupSettings
s {$sel:minFinalSegmentLength:CmafGroupSettings' :: Maybe Double
minFinalSegmentLength = Maybe Double
a} :: CmafGroupSettings)
cmafGroupSettings_mpdManifestBandwidthType :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafMpdManifestBandwidthType)
cmafGroupSettings_mpdManifestBandwidthType :: Lens' CmafGroupSettings (Maybe CmafMpdManifestBandwidthType)
cmafGroupSettings_mpdManifestBandwidthType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType :: Maybe CmafMpdManifestBandwidthType
$sel:mpdManifestBandwidthType:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType} -> Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafMpdManifestBandwidthType
a -> CmafGroupSettings
s {$sel:mpdManifestBandwidthType:CmafGroupSettings' :: Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType = Maybe CmafMpdManifestBandwidthType
a} :: CmafGroupSettings)
cmafGroupSettings_mpdProfile :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafMpdProfile)
cmafGroupSettings_mpdProfile :: Lens' CmafGroupSettings (Maybe CmafMpdProfile)
cmafGroupSettings_mpdProfile = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafMpdProfile
mpdProfile :: Maybe CmafMpdProfile
$sel:mpdProfile:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdProfile
mpdProfile} -> Maybe CmafMpdProfile
mpdProfile) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafMpdProfile
a -> CmafGroupSettings
s {$sel:mpdProfile:CmafGroupSettings' :: Maybe CmafMpdProfile
mpdProfile = Maybe CmafMpdProfile
a} :: CmafGroupSettings)
cmafGroupSettings_ptsOffsetHandlingForBFrames :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafPtsOffsetHandlingForBFrames)
cmafGroupSettings_ptsOffsetHandlingForBFrames :: Lens' CmafGroupSettings (Maybe CmafPtsOffsetHandlingForBFrames)
cmafGroupSettings_ptsOffsetHandlingForBFrames = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames :: Maybe CmafPtsOffsetHandlingForBFrames
$sel:ptsOffsetHandlingForBFrames:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames} -> Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafPtsOffsetHandlingForBFrames
a -> CmafGroupSettings
s {$sel:ptsOffsetHandlingForBFrames:CmafGroupSettings' :: Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames = Maybe CmafPtsOffsetHandlingForBFrames
a} :: CmafGroupSettings)
cmafGroupSettings_segmentControl :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafSegmentControl)
cmafGroupSettings_segmentControl :: Lens' CmafGroupSettings (Maybe CmafSegmentControl)
cmafGroupSettings_segmentControl = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafSegmentControl
segmentControl :: Maybe CmafSegmentControl
$sel:segmentControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentControl
segmentControl} -> Maybe CmafSegmentControl
segmentControl) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafSegmentControl
a -> CmafGroupSettings
s {$sel:segmentControl:CmafGroupSettings' :: Maybe CmafSegmentControl
segmentControl = Maybe CmafSegmentControl
a} :: CmafGroupSettings)
cmafGroupSettings_segmentLength :: Lens.Lens' CmafGroupSettings (Prelude.Maybe Prelude.Natural)
cmafGroupSettings_segmentLength :: Lens' CmafGroupSettings (Maybe Natural)
cmafGroupSettings_segmentLength = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe Natural
segmentLength :: Maybe Natural
$sel:segmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
segmentLength} -> Maybe Natural
segmentLength) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe Natural
a -> CmafGroupSettings
s {$sel:segmentLength:CmafGroupSettings' :: Maybe Natural
segmentLength = Maybe Natural
a} :: CmafGroupSettings)
cmafGroupSettings_segmentLengthControl :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafSegmentLengthControl)
cmafGroupSettings_segmentLengthControl :: Lens' CmafGroupSettings (Maybe CmafSegmentLengthControl)
cmafGroupSettings_segmentLengthControl = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafSegmentLengthControl
segmentLengthControl :: Maybe CmafSegmentLengthControl
$sel:segmentLengthControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentLengthControl
segmentLengthControl} -> Maybe CmafSegmentLengthControl
segmentLengthControl) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafSegmentLengthControl
a -> CmafGroupSettings
s {$sel:segmentLengthControl:CmafGroupSettings' :: Maybe CmafSegmentLengthControl
segmentLengthControl = Maybe CmafSegmentLengthControl
a} :: CmafGroupSettings)
cmafGroupSettings_streamInfResolution :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafStreamInfResolution)
cmafGroupSettings_streamInfResolution :: Lens' CmafGroupSettings (Maybe CmafStreamInfResolution)
cmafGroupSettings_streamInfResolution = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafStreamInfResolution
streamInfResolution :: Maybe CmafStreamInfResolution
$sel:streamInfResolution:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafStreamInfResolution
streamInfResolution} -> Maybe CmafStreamInfResolution
streamInfResolution) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafStreamInfResolution
a -> CmafGroupSettings
s {$sel:streamInfResolution:CmafGroupSettings' :: Maybe CmafStreamInfResolution
streamInfResolution = Maybe CmafStreamInfResolution
a} :: CmafGroupSettings)
cmafGroupSettings_targetDurationCompatibilityMode :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafTargetDurationCompatibilityMode)
cmafGroupSettings_targetDurationCompatibilityMode :: Lens' CmafGroupSettings (Maybe CmafTargetDurationCompatibilityMode)
cmafGroupSettings_targetDurationCompatibilityMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode :: Maybe CmafTargetDurationCompatibilityMode
$sel:targetDurationCompatibilityMode:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode} -> Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafTargetDurationCompatibilityMode
a -> CmafGroupSettings
s {$sel:targetDurationCompatibilityMode:CmafGroupSettings' :: Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode = Maybe CmafTargetDurationCompatibilityMode
a} :: CmafGroupSettings)
cmafGroupSettings_videoCompositionOffsets :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafVideoCompositionOffsets)
cmafGroupSettings_videoCompositionOffsets :: Lens' CmafGroupSettings (Maybe CmafVideoCompositionOffsets)
cmafGroupSettings_videoCompositionOffsets = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafVideoCompositionOffsets
videoCompositionOffsets :: Maybe CmafVideoCompositionOffsets
$sel:videoCompositionOffsets:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafVideoCompositionOffsets
videoCompositionOffsets} -> Maybe CmafVideoCompositionOffsets
videoCompositionOffsets) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafVideoCompositionOffsets
a -> CmafGroupSettings
s {$sel:videoCompositionOffsets:CmafGroupSettings' :: Maybe CmafVideoCompositionOffsets
videoCompositionOffsets = Maybe CmafVideoCompositionOffsets
a} :: CmafGroupSettings)
cmafGroupSettings_writeDashManifest :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafWriteDASHManifest)
cmafGroupSettings_writeDashManifest :: Lens' CmafGroupSettings (Maybe CmafWriteDASHManifest)
cmafGroupSettings_writeDashManifest = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafWriteDASHManifest
writeDashManifest :: Maybe CmafWriteDASHManifest
$sel:writeDashManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteDASHManifest
writeDashManifest} -> Maybe CmafWriteDASHManifest
writeDashManifest) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafWriteDASHManifest
a -> CmafGroupSettings
s {$sel:writeDashManifest:CmafGroupSettings' :: Maybe CmafWriteDASHManifest
writeDashManifest = Maybe CmafWriteDASHManifest
a} :: CmafGroupSettings)
cmafGroupSettings_writeHlsManifest :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafWriteHLSManifest)
cmafGroupSettings_writeHlsManifest :: Lens' CmafGroupSettings (Maybe CmafWriteHLSManifest)
cmafGroupSettings_writeHlsManifest = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafWriteHLSManifest
writeHlsManifest :: Maybe CmafWriteHLSManifest
$sel:writeHlsManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteHLSManifest
writeHlsManifest} -> Maybe CmafWriteHLSManifest
writeHlsManifest) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafWriteHLSManifest
a -> CmafGroupSettings
s {$sel:writeHlsManifest:CmafGroupSettings' :: Maybe CmafWriteHLSManifest
writeHlsManifest = Maybe CmafWriteHLSManifest
a} :: CmafGroupSettings)
cmafGroupSettings_writeSegmentTimelineInRepresentation :: Lens.Lens' CmafGroupSettings (Prelude.Maybe CmafWriteSegmentTimelineInRepresentation)
cmafGroupSettings_writeSegmentTimelineInRepresentation :: Lens'
CmafGroupSettings (Maybe CmafWriteSegmentTimelineInRepresentation)
cmafGroupSettings_writeSegmentTimelineInRepresentation = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CmafGroupSettings' {Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation :: Maybe CmafWriteSegmentTimelineInRepresentation
$sel:writeSegmentTimelineInRepresentation:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation} -> Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation) (\s :: CmafGroupSettings
s@CmafGroupSettings' {} Maybe CmafWriteSegmentTimelineInRepresentation
a -> CmafGroupSettings
s {$sel:writeSegmentTimelineInRepresentation:CmafGroupSettings' :: Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation = Maybe CmafWriteSegmentTimelineInRepresentation
a} :: CmafGroupSettings)
instance Data.FromJSON CmafGroupSettings where
parseJSON :: Value -> Parser CmafGroupSettings
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"CmafGroupSettings"
( \Object
x ->
Maybe [CmafAdditionalManifest]
-> Maybe Text
-> Maybe CmafClientCache
-> Maybe CmafCodecSpecification
-> Maybe Text
-> Maybe DestinationSettings
-> Maybe CmafEncryptionSettings
-> Maybe Natural
-> Maybe CmafImageBasedTrickPlay
-> Maybe CmafImageBasedTrickPlaySettings
-> Maybe CmafManifestCompression
-> Maybe CmafManifestDurationFormat
-> Maybe Natural
-> Maybe Double
-> Maybe CmafMpdManifestBandwidthType
-> Maybe CmafMpdProfile
-> Maybe CmafPtsOffsetHandlingForBFrames
-> Maybe CmafSegmentControl
-> Maybe Natural
-> Maybe CmafSegmentLengthControl
-> Maybe CmafStreamInfResolution
-> Maybe CmafTargetDurationCompatibilityMode
-> Maybe CmafVideoCompositionOffsets
-> Maybe CmafWriteDASHManifest
-> Maybe CmafWriteHLSManifest
-> Maybe CmafWriteSegmentTimelineInRepresentation
-> CmafGroupSettings
CmafGroupSettings'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x
forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"additionalManifests"
forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty
)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"baseUrl")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"clientCache")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"codecSpecification")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"destination")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"destinationSettings")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"encryption")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"fragmentLength")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"imageBasedTrickPlay")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"imageBasedTrickPlaySettings")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"manifestCompression")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"manifestDurationFormat")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"minBufferTime")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"minFinalSegmentLength")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"mpdManifestBandwidthType")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"mpdProfile")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ptsOffsetHandlingForBFrames")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"segmentControl")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"segmentLength")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"segmentLengthControl")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"streamInfResolution")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"targetDurationCompatibilityMode")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"videoCompositionOffsets")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"writeDashManifest")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"writeHlsManifest")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"writeSegmentTimelineInRepresentation")
)
instance Prelude.Hashable CmafGroupSettings where
hashWithSalt :: Int -> CmafGroupSettings -> Int
hashWithSalt Int
_salt CmafGroupSettings' {Maybe Double
Maybe Natural
Maybe [CmafAdditionalManifest]
Maybe Text
Maybe CmafClientCache
Maybe CmafCodecSpecification
Maybe CmafImageBasedTrickPlay
Maybe CmafImageBasedTrickPlaySettings
Maybe CmafManifestCompression
Maybe CmafManifestDurationFormat
Maybe CmafMpdManifestBandwidthType
Maybe CmafMpdProfile
Maybe CmafPtsOffsetHandlingForBFrames
Maybe CmafSegmentControl
Maybe CmafSegmentLengthControl
Maybe CmafStreamInfResolution
Maybe CmafTargetDurationCompatibilityMode
Maybe CmafVideoCompositionOffsets
Maybe CmafWriteDASHManifest
Maybe CmafWriteHLSManifest
Maybe CmafWriteSegmentTimelineInRepresentation
Maybe DestinationSettings
Maybe CmafEncryptionSettings
writeSegmentTimelineInRepresentation :: Maybe CmafWriteSegmentTimelineInRepresentation
writeHlsManifest :: Maybe CmafWriteHLSManifest
writeDashManifest :: Maybe CmafWriteDASHManifest
videoCompositionOffsets :: Maybe CmafVideoCompositionOffsets
targetDurationCompatibilityMode :: Maybe CmafTargetDurationCompatibilityMode
streamInfResolution :: Maybe CmafStreamInfResolution
segmentLengthControl :: Maybe CmafSegmentLengthControl
segmentLength :: Maybe Natural
segmentControl :: Maybe CmafSegmentControl
ptsOffsetHandlingForBFrames :: Maybe CmafPtsOffsetHandlingForBFrames
mpdProfile :: Maybe CmafMpdProfile
mpdManifestBandwidthType :: Maybe CmafMpdManifestBandwidthType
minFinalSegmentLength :: Maybe Double
minBufferTime :: Maybe Natural
manifestDurationFormat :: Maybe CmafManifestDurationFormat
manifestCompression :: Maybe CmafManifestCompression
imageBasedTrickPlaySettings :: Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlay :: Maybe CmafImageBasedTrickPlay
fragmentLength :: Maybe Natural
encryption :: Maybe CmafEncryptionSettings
destinationSettings :: Maybe DestinationSettings
destination :: Maybe Text
codecSpecification :: Maybe CmafCodecSpecification
clientCache :: Maybe CmafClientCache
baseUrl :: Maybe Text
additionalManifests :: Maybe [CmafAdditionalManifest]
$sel:writeSegmentTimelineInRepresentation:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteSegmentTimelineInRepresentation
$sel:writeHlsManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteHLSManifest
$sel:writeDashManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteDASHManifest
$sel:videoCompositionOffsets:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafVideoCompositionOffsets
$sel:targetDurationCompatibilityMode:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafTargetDurationCompatibilityMode
$sel:streamInfResolution:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafStreamInfResolution
$sel:segmentLengthControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentLengthControl
$sel:segmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:segmentControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentControl
$sel:ptsOffsetHandlingForBFrames:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafPtsOffsetHandlingForBFrames
$sel:mpdProfile:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdProfile
$sel:mpdManifestBandwidthType:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdManifestBandwidthType
$sel:minFinalSegmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Double
$sel:minBufferTime:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:manifestDurationFormat:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestDurationFormat
$sel:manifestCompression:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestCompression
$sel:imageBasedTrickPlaySettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlaySettings
$sel:imageBasedTrickPlay:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlay
$sel:fragmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:encryption:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafEncryptionSettings
$sel:destinationSettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe DestinationSettings
$sel:destination:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
$sel:codecSpecification:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafCodecSpecification
$sel:clientCache:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafClientCache
$sel:baseUrl:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
$sel:additionalManifests:CmafGroupSettings' :: CmafGroupSettings -> Maybe [CmafAdditionalManifest]
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe [CmafAdditionalManifest]
additionalManifests
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
baseUrl
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafClientCache
clientCache
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafCodecSpecification
codecSpecification
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
destination
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DestinationSettings
destinationSettings
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafEncryptionSettings
encryption
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
fragmentLength
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafManifestCompression
manifestCompression
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafManifestDurationFormat
manifestDurationFormat
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
minBufferTime
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Double
minFinalSegmentLength
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafMpdProfile
mpdProfile
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafSegmentControl
segmentControl
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
segmentLength
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafSegmentLengthControl
segmentLengthControl
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafStreamInfResolution
streamInfResolution
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafVideoCompositionOffsets
videoCompositionOffsets
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafWriteDASHManifest
writeDashManifest
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafWriteHLSManifest
writeHlsManifest
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation
instance Prelude.NFData CmafGroupSettings where
rnf :: CmafGroupSettings -> ()
rnf CmafGroupSettings' {Maybe Double
Maybe Natural
Maybe [CmafAdditionalManifest]
Maybe Text
Maybe CmafClientCache
Maybe CmafCodecSpecification
Maybe CmafImageBasedTrickPlay
Maybe CmafImageBasedTrickPlaySettings
Maybe CmafManifestCompression
Maybe CmafManifestDurationFormat
Maybe CmafMpdManifestBandwidthType
Maybe CmafMpdProfile
Maybe CmafPtsOffsetHandlingForBFrames
Maybe CmafSegmentControl
Maybe CmafSegmentLengthControl
Maybe CmafStreamInfResolution
Maybe CmafTargetDurationCompatibilityMode
Maybe CmafVideoCompositionOffsets
Maybe CmafWriteDASHManifest
Maybe CmafWriteHLSManifest
Maybe CmafWriteSegmentTimelineInRepresentation
Maybe DestinationSettings
Maybe CmafEncryptionSettings
writeSegmentTimelineInRepresentation :: Maybe CmafWriteSegmentTimelineInRepresentation
writeHlsManifest :: Maybe CmafWriteHLSManifest
writeDashManifest :: Maybe CmafWriteDASHManifest
videoCompositionOffsets :: Maybe CmafVideoCompositionOffsets
targetDurationCompatibilityMode :: Maybe CmafTargetDurationCompatibilityMode
streamInfResolution :: Maybe CmafStreamInfResolution
segmentLengthControl :: Maybe CmafSegmentLengthControl
segmentLength :: Maybe Natural
segmentControl :: Maybe CmafSegmentControl
ptsOffsetHandlingForBFrames :: Maybe CmafPtsOffsetHandlingForBFrames
mpdProfile :: Maybe CmafMpdProfile
mpdManifestBandwidthType :: Maybe CmafMpdManifestBandwidthType
minFinalSegmentLength :: Maybe Double
minBufferTime :: Maybe Natural
manifestDurationFormat :: Maybe CmafManifestDurationFormat
manifestCompression :: Maybe CmafManifestCompression
imageBasedTrickPlaySettings :: Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlay :: Maybe CmafImageBasedTrickPlay
fragmentLength :: Maybe Natural
encryption :: Maybe CmafEncryptionSettings
destinationSettings :: Maybe DestinationSettings
destination :: Maybe Text
codecSpecification :: Maybe CmafCodecSpecification
clientCache :: Maybe CmafClientCache
baseUrl :: Maybe Text
additionalManifests :: Maybe [CmafAdditionalManifest]
$sel:writeSegmentTimelineInRepresentation:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteSegmentTimelineInRepresentation
$sel:writeHlsManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteHLSManifest
$sel:writeDashManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteDASHManifest
$sel:videoCompositionOffsets:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafVideoCompositionOffsets
$sel:targetDurationCompatibilityMode:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafTargetDurationCompatibilityMode
$sel:streamInfResolution:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafStreamInfResolution
$sel:segmentLengthControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentLengthControl
$sel:segmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:segmentControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentControl
$sel:ptsOffsetHandlingForBFrames:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafPtsOffsetHandlingForBFrames
$sel:mpdProfile:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdProfile
$sel:mpdManifestBandwidthType:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdManifestBandwidthType
$sel:minFinalSegmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Double
$sel:minBufferTime:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:manifestDurationFormat:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestDurationFormat
$sel:manifestCompression:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestCompression
$sel:imageBasedTrickPlaySettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlaySettings
$sel:imageBasedTrickPlay:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlay
$sel:fragmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:encryption:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafEncryptionSettings
$sel:destinationSettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe DestinationSettings
$sel:destination:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
$sel:codecSpecification:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafCodecSpecification
$sel:clientCache:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafClientCache
$sel:baseUrl:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
$sel:additionalManifests:CmafGroupSettings' :: CmafGroupSettings -> Maybe [CmafAdditionalManifest]
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe [CmafAdditionalManifest]
additionalManifests
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
baseUrl
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafClientCache
clientCache
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafCodecSpecification
codecSpecification
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
destination
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DestinationSettings
destinationSettings
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafEncryptionSettings
encryption
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
fragmentLength
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafManifestCompression
manifestCompression
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafManifestDurationFormat
manifestDurationFormat
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
minBufferTime
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Double
minFinalSegmentLength
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafMpdProfile
mpdProfile
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CmafSegmentControl
segmentControl
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
segmentLength
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafSegmentLengthControl
segmentLengthControl
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafStreamInfResolution
streamInfResolution
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafVideoCompositionOffsets
videoCompositionOffsets
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafWriteDASHManifest
writeDashManifest
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafWriteHLSManifest
writeHlsManifest
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation
instance Data.ToJSON CmafGroupSettings where
toJSON :: CmafGroupSettings -> Value
toJSON CmafGroupSettings' {Maybe Double
Maybe Natural
Maybe [CmafAdditionalManifest]
Maybe Text
Maybe CmafClientCache
Maybe CmafCodecSpecification
Maybe CmafImageBasedTrickPlay
Maybe CmafImageBasedTrickPlaySettings
Maybe CmafManifestCompression
Maybe CmafManifestDurationFormat
Maybe CmafMpdManifestBandwidthType
Maybe CmafMpdProfile
Maybe CmafPtsOffsetHandlingForBFrames
Maybe CmafSegmentControl
Maybe CmafSegmentLengthControl
Maybe CmafStreamInfResolution
Maybe CmafTargetDurationCompatibilityMode
Maybe CmafVideoCompositionOffsets
Maybe CmafWriteDASHManifest
Maybe CmafWriteHLSManifest
Maybe CmafWriteSegmentTimelineInRepresentation
Maybe DestinationSettings
Maybe CmafEncryptionSettings
writeSegmentTimelineInRepresentation :: Maybe CmafWriteSegmentTimelineInRepresentation
writeHlsManifest :: Maybe CmafWriteHLSManifest
writeDashManifest :: Maybe CmafWriteDASHManifest
videoCompositionOffsets :: Maybe CmafVideoCompositionOffsets
targetDurationCompatibilityMode :: Maybe CmafTargetDurationCompatibilityMode
streamInfResolution :: Maybe CmafStreamInfResolution
segmentLengthControl :: Maybe CmafSegmentLengthControl
segmentLength :: Maybe Natural
segmentControl :: Maybe CmafSegmentControl
ptsOffsetHandlingForBFrames :: Maybe CmafPtsOffsetHandlingForBFrames
mpdProfile :: Maybe CmafMpdProfile
mpdManifestBandwidthType :: Maybe CmafMpdManifestBandwidthType
minFinalSegmentLength :: Maybe Double
minBufferTime :: Maybe Natural
manifestDurationFormat :: Maybe CmafManifestDurationFormat
manifestCompression :: Maybe CmafManifestCompression
imageBasedTrickPlaySettings :: Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlay :: Maybe CmafImageBasedTrickPlay
fragmentLength :: Maybe Natural
encryption :: Maybe CmafEncryptionSettings
destinationSettings :: Maybe DestinationSettings
destination :: Maybe Text
codecSpecification :: Maybe CmafCodecSpecification
clientCache :: Maybe CmafClientCache
baseUrl :: Maybe Text
additionalManifests :: Maybe [CmafAdditionalManifest]
$sel:writeSegmentTimelineInRepresentation:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteSegmentTimelineInRepresentation
$sel:writeHlsManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteHLSManifest
$sel:writeDashManifest:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafWriteDASHManifest
$sel:videoCompositionOffsets:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafVideoCompositionOffsets
$sel:targetDurationCompatibilityMode:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafTargetDurationCompatibilityMode
$sel:streamInfResolution:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafStreamInfResolution
$sel:segmentLengthControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentLengthControl
$sel:segmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:segmentControl:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafSegmentControl
$sel:ptsOffsetHandlingForBFrames:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafPtsOffsetHandlingForBFrames
$sel:mpdProfile:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdProfile
$sel:mpdManifestBandwidthType:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafMpdManifestBandwidthType
$sel:minFinalSegmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Double
$sel:minBufferTime:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:manifestDurationFormat:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestDurationFormat
$sel:manifestCompression:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafManifestCompression
$sel:imageBasedTrickPlaySettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlaySettings
$sel:imageBasedTrickPlay:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafImageBasedTrickPlay
$sel:fragmentLength:CmafGroupSettings' :: CmafGroupSettings -> Maybe Natural
$sel:encryption:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafEncryptionSettings
$sel:destinationSettings:CmafGroupSettings' :: CmafGroupSettings -> Maybe DestinationSettings
$sel:destination:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
$sel:codecSpecification:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafCodecSpecification
$sel:clientCache:CmafGroupSettings' :: CmafGroupSettings -> Maybe CmafClientCache
$sel:baseUrl:CmafGroupSettings' :: CmafGroupSettings -> Maybe Text
$sel:additionalManifests:CmafGroupSettings' :: CmafGroupSettings -> Maybe [CmafAdditionalManifest]
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"additionalManifests" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [CmafAdditionalManifest]
additionalManifests,
(Key
"baseUrl" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
baseUrl,
(Key
"clientCache" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafClientCache
clientCache,
(Key
"codecSpecification" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafCodecSpecification
codecSpecification,
(Key
"destination" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
destination,
(Key
"destinationSettings" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DestinationSettings
destinationSettings,
(Key
"encryption" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafEncryptionSettings
encryption,
(Key
"fragmentLength" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
fragmentLength,
(Key
"imageBasedTrickPlay" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafImageBasedTrickPlay
imageBasedTrickPlay,
(Key
"imageBasedTrickPlaySettings" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafImageBasedTrickPlaySettings
imageBasedTrickPlaySettings,
(Key
"manifestCompression" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafManifestCompression
manifestCompression,
(Key
"manifestDurationFormat" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafManifestDurationFormat
manifestDurationFormat,
(Key
"minBufferTime" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
minBufferTime,
(Key
"minFinalSegmentLength" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Double
minFinalSegmentLength,
(Key
"mpdManifestBandwidthType" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafMpdManifestBandwidthType
mpdManifestBandwidthType,
(Key
"mpdProfile" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafMpdProfile
mpdProfile,
(Key
"ptsOffsetHandlingForBFrames" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafPtsOffsetHandlingForBFrames
ptsOffsetHandlingForBFrames,
(Key
"segmentControl" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafSegmentControl
segmentControl,
(Key
"segmentLength" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=) forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
segmentLength,
(Key
"segmentLengthControl" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafSegmentLengthControl
segmentLengthControl,
(Key
"streamInfResolution" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafStreamInfResolution
streamInfResolution,
(Key
"targetDurationCompatibilityMode" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafTargetDurationCompatibilityMode
targetDurationCompatibilityMode,
(Key
"videoCompositionOffsets" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafVideoCompositionOffsets
videoCompositionOffsets,
(Key
"writeDashManifest" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafWriteDASHManifest
writeDashManifest,
(Key
"writeHlsManifest" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafWriteHLSManifest
writeHlsManifest,
(Key
"writeSegmentTimelineInRepresentation" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..=)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CmafWriteSegmentTimelineInRepresentation
writeSegmentTimelineInRepresentation
]
)