{-# 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.MediaLive.Types.MsSmoothGroupSettings where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.MediaLive.Types.InputLossActionForMsSmoothOut
import Amazonka.MediaLive.Types.OutputLocationRef
import Amazonka.MediaLive.Types.SmoothGroupAudioOnlyTimecodeControl
import Amazonka.MediaLive.Types.SmoothGroupCertificateMode
import Amazonka.MediaLive.Types.SmoothGroupEventIdMode
import Amazonka.MediaLive.Types.SmoothGroupEventStopBehavior
import Amazonka.MediaLive.Types.SmoothGroupSegmentationMode
import Amazonka.MediaLive.Types.SmoothGroupSparseTrackType
import Amazonka.MediaLive.Types.SmoothGroupStreamManifestBehavior
import Amazonka.MediaLive.Types.SmoothGroupTimestampOffsetMode
import qualified Amazonka.Prelude as Prelude
data MsSmoothGroupSettings = MsSmoothGroupSettings'
{
MsSmoothGroupSettings -> Maybe Text
acquisitionPointId :: Prelude.Maybe Prelude.Text,
MsSmoothGroupSettings -> Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl :: Prelude.Maybe SmoothGroupAudioOnlyTimecodeControl,
MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode
certificateMode :: Prelude.Maybe SmoothGroupCertificateMode,
MsSmoothGroupSettings -> Maybe Natural
connectionRetryInterval :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe Text
eventId :: Prelude.Maybe Prelude.Text,
MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode
eventIdMode :: Prelude.Maybe SmoothGroupEventIdMode,
MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior
eventStopBehavior :: Prelude.Maybe SmoothGroupEventStopBehavior,
MsSmoothGroupSettings -> Maybe Natural
filecacheDuration :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe Natural
fragmentLength :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut
inputLossAction :: Prelude.Maybe InputLossActionForMsSmoothOut,
MsSmoothGroupSettings -> Maybe Natural
numRetries :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe Natural
restartDelay :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode
segmentationMode :: Prelude.Maybe SmoothGroupSegmentationMode,
MsSmoothGroupSettings -> Maybe Natural
sendDelayMs :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType
sparseTrackType :: Prelude.Maybe SmoothGroupSparseTrackType,
MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior :: Prelude.Maybe SmoothGroupStreamManifestBehavior,
MsSmoothGroupSettings -> Maybe Text
timestampOffset :: Prelude.Maybe Prelude.Text,
MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode :: Prelude.Maybe SmoothGroupTimestampOffsetMode,
MsSmoothGroupSettings -> OutputLocationRef
destination :: OutputLocationRef
}
deriving (MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool
$c/= :: MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool
== :: MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool
$c== :: MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool
Prelude.Eq, ReadPrec [MsSmoothGroupSettings]
ReadPrec MsSmoothGroupSettings
Int -> ReadS MsSmoothGroupSettings
ReadS [MsSmoothGroupSettings]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [MsSmoothGroupSettings]
$creadListPrec :: ReadPrec [MsSmoothGroupSettings]
readPrec :: ReadPrec MsSmoothGroupSettings
$creadPrec :: ReadPrec MsSmoothGroupSettings
readList :: ReadS [MsSmoothGroupSettings]
$creadList :: ReadS [MsSmoothGroupSettings]
readsPrec :: Int -> ReadS MsSmoothGroupSettings
$creadsPrec :: Int -> ReadS MsSmoothGroupSettings
Prelude.Read, Int -> MsSmoothGroupSettings -> ShowS
[MsSmoothGroupSettings] -> ShowS
MsSmoothGroupSettings -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [MsSmoothGroupSettings] -> ShowS
$cshowList :: [MsSmoothGroupSettings] -> ShowS
show :: MsSmoothGroupSettings -> String
$cshow :: MsSmoothGroupSettings -> String
showsPrec :: Int -> MsSmoothGroupSettings -> ShowS
$cshowsPrec :: Int -> MsSmoothGroupSettings -> ShowS
Prelude.Show, forall x. Rep MsSmoothGroupSettings x -> MsSmoothGroupSettings
forall x. MsSmoothGroupSettings -> Rep MsSmoothGroupSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep MsSmoothGroupSettings x -> MsSmoothGroupSettings
$cfrom :: forall x. MsSmoothGroupSettings -> Rep MsSmoothGroupSettings x
Prelude.Generic)
newMsSmoothGroupSettings ::
OutputLocationRef ->
MsSmoothGroupSettings
newMsSmoothGroupSettings :: OutputLocationRef -> MsSmoothGroupSettings
newMsSmoothGroupSettings OutputLocationRef
pDestination_ =
MsSmoothGroupSettings'
{ $sel:acquisitionPointId:MsSmoothGroupSettings' :: Maybe Text
acquisitionPointId =
forall a. Maybe a
Prelude.Nothing,
$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl = forall a. Maybe a
Prelude.Nothing,
$sel:certificateMode:MsSmoothGroupSettings' :: Maybe SmoothGroupCertificateMode
certificateMode = forall a. Maybe a
Prelude.Nothing,
$sel:connectionRetryInterval:MsSmoothGroupSettings' :: Maybe Natural
connectionRetryInterval = forall a. Maybe a
Prelude.Nothing,
$sel:eventId:MsSmoothGroupSettings' :: Maybe Text
eventId = forall a. Maybe a
Prelude.Nothing,
$sel:eventIdMode:MsSmoothGroupSettings' :: Maybe SmoothGroupEventIdMode
eventIdMode = forall a. Maybe a
Prelude.Nothing,
$sel:eventStopBehavior:MsSmoothGroupSettings' :: Maybe SmoothGroupEventStopBehavior
eventStopBehavior = forall a. Maybe a
Prelude.Nothing,
$sel:filecacheDuration:MsSmoothGroupSettings' :: Maybe Natural
filecacheDuration = forall a. Maybe a
Prelude.Nothing,
$sel:fragmentLength:MsSmoothGroupSettings' :: Maybe Natural
fragmentLength = forall a. Maybe a
Prelude.Nothing,
$sel:inputLossAction:MsSmoothGroupSettings' :: Maybe InputLossActionForMsSmoothOut
inputLossAction = forall a. Maybe a
Prelude.Nothing,
$sel:numRetries:MsSmoothGroupSettings' :: Maybe Natural
numRetries = forall a. Maybe a
Prelude.Nothing,
$sel:restartDelay:MsSmoothGroupSettings' :: Maybe Natural
restartDelay = forall a. Maybe a
Prelude.Nothing,
$sel:segmentationMode:MsSmoothGroupSettings' :: Maybe SmoothGroupSegmentationMode
segmentationMode = forall a. Maybe a
Prelude.Nothing,
$sel:sendDelayMs:MsSmoothGroupSettings' :: Maybe Natural
sendDelayMs = forall a. Maybe a
Prelude.Nothing,
$sel:sparseTrackType:MsSmoothGroupSettings' :: Maybe SmoothGroupSparseTrackType
sparseTrackType = forall a. Maybe a
Prelude.Nothing,
$sel:streamManifestBehavior:MsSmoothGroupSettings' :: Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior = forall a. Maybe a
Prelude.Nothing,
$sel:timestampOffset:MsSmoothGroupSettings' :: Maybe Text
timestampOffset = forall a. Maybe a
Prelude.Nothing,
$sel:timestampOffsetMode:MsSmoothGroupSettings' :: Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode = forall a. Maybe a
Prelude.Nothing,
$sel:destination:MsSmoothGroupSettings' :: OutputLocationRef
destination = OutputLocationRef
pDestination_
}
msSmoothGroupSettings_acquisitionPointId :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Text)
msSmoothGroupSettings_acquisitionPointId :: Lens' MsSmoothGroupSettings (Maybe Text)
msSmoothGroupSettings_acquisitionPointId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Text
acquisitionPointId :: Maybe Text
$sel:acquisitionPointId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
acquisitionPointId} -> Maybe Text
acquisitionPointId) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Text
a -> MsSmoothGroupSettings
s {$sel:acquisitionPointId:MsSmoothGroupSettings' :: Maybe Text
acquisitionPointId = Maybe Text
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_audioOnlyTimecodeControl :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupAudioOnlyTimecodeControl)
msSmoothGroupSettings_audioOnlyTimecodeControl :: Lens'
MsSmoothGroupSettings (Maybe SmoothGroupAudioOnlyTimecodeControl)
msSmoothGroupSettings_audioOnlyTimecodeControl = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl :: Maybe SmoothGroupAudioOnlyTimecodeControl
$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl} -> Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupAudioOnlyTimecodeControl
a -> MsSmoothGroupSettings
s {$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl = Maybe SmoothGroupAudioOnlyTimecodeControl
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_certificateMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupCertificateMode)
msSmoothGroupSettings_certificateMode :: Lens' MsSmoothGroupSettings (Maybe SmoothGroupCertificateMode)
msSmoothGroupSettings_certificateMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupCertificateMode
certificateMode :: Maybe SmoothGroupCertificateMode
$sel:certificateMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode
certificateMode} -> Maybe SmoothGroupCertificateMode
certificateMode) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupCertificateMode
a -> MsSmoothGroupSettings
s {$sel:certificateMode:MsSmoothGroupSettings' :: Maybe SmoothGroupCertificateMode
certificateMode = Maybe SmoothGroupCertificateMode
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_connectionRetryInterval :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_connectionRetryInterval :: Lens' MsSmoothGroupSettings (Maybe Natural)
msSmoothGroupSettings_connectionRetryInterval = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Natural
connectionRetryInterval :: Maybe Natural
$sel:connectionRetryInterval:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
connectionRetryInterval} -> Maybe Natural
connectionRetryInterval) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Natural
a -> MsSmoothGroupSettings
s {$sel:connectionRetryInterval:MsSmoothGroupSettings' :: Maybe Natural
connectionRetryInterval = Maybe Natural
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_eventId :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Text)
msSmoothGroupSettings_eventId :: Lens' MsSmoothGroupSettings (Maybe Text)
msSmoothGroupSettings_eventId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Text
eventId :: Maybe Text
$sel:eventId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
eventId} -> Maybe Text
eventId) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Text
a -> MsSmoothGroupSettings
s {$sel:eventId:MsSmoothGroupSettings' :: Maybe Text
eventId = Maybe Text
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_eventIdMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupEventIdMode)
msSmoothGroupSettings_eventIdMode :: Lens' MsSmoothGroupSettings (Maybe SmoothGroupEventIdMode)
msSmoothGroupSettings_eventIdMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupEventIdMode
eventIdMode :: Maybe SmoothGroupEventIdMode
$sel:eventIdMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode
eventIdMode} -> Maybe SmoothGroupEventIdMode
eventIdMode) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupEventIdMode
a -> MsSmoothGroupSettings
s {$sel:eventIdMode:MsSmoothGroupSettings' :: Maybe SmoothGroupEventIdMode
eventIdMode = Maybe SmoothGroupEventIdMode
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_eventStopBehavior :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupEventStopBehavior)
msSmoothGroupSettings_eventStopBehavior :: Lens' MsSmoothGroupSettings (Maybe SmoothGroupEventStopBehavior)
msSmoothGroupSettings_eventStopBehavior = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupEventStopBehavior
eventStopBehavior :: Maybe SmoothGroupEventStopBehavior
$sel:eventStopBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior
eventStopBehavior} -> Maybe SmoothGroupEventStopBehavior
eventStopBehavior) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupEventStopBehavior
a -> MsSmoothGroupSettings
s {$sel:eventStopBehavior:MsSmoothGroupSettings' :: Maybe SmoothGroupEventStopBehavior
eventStopBehavior = Maybe SmoothGroupEventStopBehavior
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_filecacheDuration :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_filecacheDuration :: Lens' MsSmoothGroupSettings (Maybe Natural)
msSmoothGroupSettings_filecacheDuration = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Natural
filecacheDuration :: Maybe Natural
$sel:filecacheDuration:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
filecacheDuration} -> Maybe Natural
filecacheDuration) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Natural
a -> MsSmoothGroupSettings
s {$sel:filecacheDuration:MsSmoothGroupSettings' :: Maybe Natural
filecacheDuration = Maybe Natural
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_fragmentLength :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_fragmentLength :: Lens' MsSmoothGroupSettings (Maybe Natural)
msSmoothGroupSettings_fragmentLength = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Natural
fragmentLength :: Maybe Natural
$sel:fragmentLength:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
fragmentLength} -> Maybe Natural
fragmentLength) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Natural
a -> MsSmoothGroupSettings
s {$sel:fragmentLength:MsSmoothGroupSettings' :: Maybe Natural
fragmentLength = Maybe Natural
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_inputLossAction :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe InputLossActionForMsSmoothOut)
msSmoothGroupSettings_inputLossAction :: Lens' MsSmoothGroupSettings (Maybe InputLossActionForMsSmoothOut)
msSmoothGroupSettings_inputLossAction = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe InputLossActionForMsSmoothOut
inputLossAction :: Maybe InputLossActionForMsSmoothOut
$sel:inputLossAction:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut
inputLossAction} -> Maybe InputLossActionForMsSmoothOut
inputLossAction) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe InputLossActionForMsSmoothOut
a -> MsSmoothGroupSettings
s {$sel:inputLossAction:MsSmoothGroupSettings' :: Maybe InputLossActionForMsSmoothOut
inputLossAction = Maybe InputLossActionForMsSmoothOut
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_numRetries :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_numRetries :: Lens' MsSmoothGroupSettings (Maybe Natural)
msSmoothGroupSettings_numRetries = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Natural
numRetries :: Maybe Natural
$sel:numRetries:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
numRetries} -> Maybe Natural
numRetries) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Natural
a -> MsSmoothGroupSettings
s {$sel:numRetries:MsSmoothGroupSettings' :: Maybe Natural
numRetries = Maybe Natural
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_restartDelay :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_restartDelay :: Lens' MsSmoothGroupSettings (Maybe Natural)
msSmoothGroupSettings_restartDelay = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Natural
restartDelay :: Maybe Natural
$sel:restartDelay:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
restartDelay} -> Maybe Natural
restartDelay) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Natural
a -> MsSmoothGroupSettings
s {$sel:restartDelay:MsSmoothGroupSettings' :: Maybe Natural
restartDelay = Maybe Natural
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_segmentationMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupSegmentationMode)
msSmoothGroupSettings_segmentationMode :: Lens' MsSmoothGroupSettings (Maybe SmoothGroupSegmentationMode)
msSmoothGroupSettings_segmentationMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupSegmentationMode
segmentationMode :: Maybe SmoothGroupSegmentationMode
$sel:segmentationMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode
segmentationMode} -> Maybe SmoothGroupSegmentationMode
segmentationMode) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupSegmentationMode
a -> MsSmoothGroupSettings
s {$sel:segmentationMode:MsSmoothGroupSettings' :: Maybe SmoothGroupSegmentationMode
segmentationMode = Maybe SmoothGroupSegmentationMode
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_sendDelayMs :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_sendDelayMs :: Lens' MsSmoothGroupSettings (Maybe Natural)
msSmoothGroupSettings_sendDelayMs = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Natural
sendDelayMs :: Maybe Natural
$sel:sendDelayMs:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
sendDelayMs} -> Maybe Natural
sendDelayMs) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Natural
a -> MsSmoothGroupSettings
s {$sel:sendDelayMs:MsSmoothGroupSettings' :: Maybe Natural
sendDelayMs = Maybe Natural
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_sparseTrackType :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupSparseTrackType)
msSmoothGroupSettings_sparseTrackType :: Lens' MsSmoothGroupSettings (Maybe SmoothGroupSparseTrackType)
msSmoothGroupSettings_sparseTrackType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupSparseTrackType
sparseTrackType :: Maybe SmoothGroupSparseTrackType
$sel:sparseTrackType:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType
sparseTrackType} -> Maybe SmoothGroupSparseTrackType
sparseTrackType) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupSparseTrackType
a -> MsSmoothGroupSettings
s {$sel:sparseTrackType:MsSmoothGroupSettings' :: Maybe SmoothGroupSparseTrackType
sparseTrackType = Maybe SmoothGroupSparseTrackType
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_streamManifestBehavior :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupStreamManifestBehavior)
msSmoothGroupSettings_streamManifestBehavior :: Lens'
MsSmoothGroupSettings (Maybe SmoothGroupStreamManifestBehavior)
msSmoothGroupSettings_streamManifestBehavior = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior :: Maybe SmoothGroupStreamManifestBehavior
$sel:streamManifestBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior} -> Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupStreamManifestBehavior
a -> MsSmoothGroupSettings
s {$sel:streamManifestBehavior:MsSmoothGroupSettings' :: Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior = Maybe SmoothGroupStreamManifestBehavior
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_timestampOffset :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Text)
msSmoothGroupSettings_timestampOffset :: Lens' MsSmoothGroupSettings (Maybe Text)
msSmoothGroupSettings_timestampOffset = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe Text
timestampOffset :: Maybe Text
$sel:timestampOffset:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
timestampOffset} -> Maybe Text
timestampOffset) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe Text
a -> MsSmoothGroupSettings
s {$sel:timestampOffset:MsSmoothGroupSettings' :: Maybe Text
timestampOffset = Maybe Text
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_timestampOffsetMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupTimestampOffsetMode)
msSmoothGroupSettings_timestampOffsetMode :: Lens' MsSmoothGroupSettings (Maybe SmoothGroupTimestampOffsetMode)
msSmoothGroupSettings_timestampOffsetMode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode :: Maybe SmoothGroupTimestampOffsetMode
$sel:timestampOffsetMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode} -> Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} Maybe SmoothGroupTimestampOffsetMode
a -> MsSmoothGroupSettings
s {$sel:timestampOffsetMode:MsSmoothGroupSettings' :: Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode = Maybe SmoothGroupTimestampOffsetMode
a} :: MsSmoothGroupSettings)
msSmoothGroupSettings_destination :: Lens.Lens' MsSmoothGroupSettings OutputLocationRef
msSmoothGroupSettings_destination :: Lens' MsSmoothGroupSettings OutputLocationRef
msSmoothGroupSettings_destination = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\MsSmoothGroupSettings' {OutputLocationRef
destination :: OutputLocationRef
$sel:destination:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> OutputLocationRef
destination} -> OutputLocationRef
destination) (\s :: MsSmoothGroupSettings
s@MsSmoothGroupSettings' {} OutputLocationRef
a -> MsSmoothGroupSettings
s {$sel:destination:MsSmoothGroupSettings' :: OutputLocationRef
destination = OutputLocationRef
a} :: MsSmoothGroupSettings)
instance Data.FromJSON MsSmoothGroupSettings where
parseJSON :: Value -> Parser MsSmoothGroupSettings
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"MsSmoothGroupSettings"
( \Object
x ->
Maybe Text
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupCertificateMode
-> Maybe Natural
-> Maybe Text
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupEventStopBehavior
-> Maybe Natural
-> Maybe Natural
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupSegmentationMode
-> Maybe Natural
-> Maybe SmoothGroupSparseTrackType
-> Maybe SmoothGroupStreamManifestBehavior
-> Maybe Text
-> Maybe SmoothGroupTimestampOffsetMode
-> OutputLocationRef
-> MsSmoothGroupSettings
MsSmoothGroupSettings'
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
"acquisitionPointId")
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
"audioOnlyTimecodeControl")
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
"certificateMode")
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
"connectionRetryInterval")
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
"eventId")
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
"eventIdMode")
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
"eventStopBehavior")
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
"filecacheDuration")
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
"inputLossAction")
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
"numRetries")
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
"restartDelay")
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
"segmentationMode")
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
"sendDelayMs")
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
"sparseTrackType")
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
"streamManifestBehavior")
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
"timestampOffset")
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
"timestampOffsetMode")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"destination")
)
instance Prelude.Hashable MsSmoothGroupSettings where
hashWithSalt :: Int -> MsSmoothGroupSettings -> Int
hashWithSalt Int
_salt MsSmoothGroupSettings' {Maybe Natural
Maybe Text
Maybe InputLossActionForMsSmoothOut
Maybe SmoothGroupAudioOnlyTimecodeControl
Maybe SmoothGroupCertificateMode
Maybe SmoothGroupEventIdMode
Maybe SmoothGroupEventStopBehavior
Maybe SmoothGroupSegmentationMode
Maybe SmoothGroupSparseTrackType
Maybe SmoothGroupStreamManifestBehavior
Maybe SmoothGroupTimestampOffsetMode
OutputLocationRef
destination :: OutputLocationRef
timestampOffsetMode :: Maybe SmoothGroupTimestampOffsetMode
timestampOffset :: Maybe Text
streamManifestBehavior :: Maybe SmoothGroupStreamManifestBehavior
sparseTrackType :: Maybe SmoothGroupSparseTrackType
sendDelayMs :: Maybe Natural
segmentationMode :: Maybe SmoothGroupSegmentationMode
restartDelay :: Maybe Natural
numRetries :: Maybe Natural
inputLossAction :: Maybe InputLossActionForMsSmoothOut
fragmentLength :: Maybe Natural
filecacheDuration :: Maybe Natural
eventStopBehavior :: Maybe SmoothGroupEventStopBehavior
eventIdMode :: Maybe SmoothGroupEventIdMode
eventId :: Maybe Text
connectionRetryInterval :: Maybe Natural
certificateMode :: Maybe SmoothGroupCertificateMode
audioOnlyTimecodeControl :: Maybe SmoothGroupAudioOnlyTimecodeControl
acquisitionPointId :: Maybe Text
$sel:destination:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> OutputLocationRef
$sel:timestampOffsetMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode
$sel:timestampOffset:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:streamManifestBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior
$sel:sparseTrackType:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType
$sel:sendDelayMs:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:segmentationMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode
$sel:restartDelay:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:numRetries:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:inputLossAction:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut
$sel:fragmentLength:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:filecacheDuration:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:eventStopBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior
$sel:eventIdMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode
$sel:eventId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:connectionRetryInterval:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:certificateMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode
$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupAudioOnlyTimecodeControl
$sel:acquisitionPointId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
acquisitionPointId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupCertificateMode
certificateMode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
connectionRetryInterval
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
eventId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupEventIdMode
eventIdMode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupEventStopBehavior
eventStopBehavior
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
filecacheDuration
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
fragmentLength
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe InputLossActionForMsSmoothOut
inputLossAction
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
numRetries
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
restartDelay
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupSegmentationMode
segmentationMode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
sendDelayMs
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupSparseTrackType
sparseTrackType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
timestampOffset
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` OutputLocationRef
destination
instance Prelude.NFData MsSmoothGroupSettings where
rnf :: MsSmoothGroupSettings -> ()
rnf MsSmoothGroupSettings' {Maybe Natural
Maybe Text
Maybe InputLossActionForMsSmoothOut
Maybe SmoothGroupAudioOnlyTimecodeControl
Maybe SmoothGroupCertificateMode
Maybe SmoothGroupEventIdMode
Maybe SmoothGroupEventStopBehavior
Maybe SmoothGroupSegmentationMode
Maybe SmoothGroupSparseTrackType
Maybe SmoothGroupStreamManifestBehavior
Maybe SmoothGroupTimestampOffsetMode
OutputLocationRef
destination :: OutputLocationRef
timestampOffsetMode :: Maybe SmoothGroupTimestampOffsetMode
timestampOffset :: Maybe Text
streamManifestBehavior :: Maybe SmoothGroupStreamManifestBehavior
sparseTrackType :: Maybe SmoothGroupSparseTrackType
sendDelayMs :: Maybe Natural
segmentationMode :: Maybe SmoothGroupSegmentationMode
restartDelay :: Maybe Natural
numRetries :: Maybe Natural
inputLossAction :: Maybe InputLossActionForMsSmoothOut
fragmentLength :: Maybe Natural
filecacheDuration :: Maybe Natural
eventStopBehavior :: Maybe SmoothGroupEventStopBehavior
eventIdMode :: Maybe SmoothGroupEventIdMode
eventId :: Maybe Text
connectionRetryInterval :: Maybe Natural
certificateMode :: Maybe SmoothGroupCertificateMode
audioOnlyTimecodeControl :: Maybe SmoothGroupAudioOnlyTimecodeControl
acquisitionPointId :: Maybe Text
$sel:destination:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> OutputLocationRef
$sel:timestampOffsetMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode
$sel:timestampOffset:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:streamManifestBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior
$sel:sparseTrackType:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType
$sel:sendDelayMs:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:segmentationMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode
$sel:restartDelay:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:numRetries:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:inputLossAction:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut
$sel:fragmentLength:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:filecacheDuration:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:eventStopBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior
$sel:eventIdMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode
$sel:eventId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:connectionRetryInterval:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:certificateMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode
$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupAudioOnlyTimecodeControl
$sel:acquisitionPointId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
acquisitionPointId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupCertificateMode
certificateMode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
connectionRetryInterval
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
eventId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupEventIdMode
eventIdMode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupEventStopBehavior
eventStopBehavior
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
filecacheDuration
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 InputLossActionForMsSmoothOut
inputLossAction
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
numRetries
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
restartDelay
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupSegmentationMode
segmentationMode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
sendDelayMs
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupSparseTrackType
sparseTrackType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
timestampOffset
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf OutputLocationRef
destination
instance Data.ToJSON MsSmoothGroupSettings where
toJSON :: MsSmoothGroupSettings -> Value
toJSON MsSmoothGroupSettings' {Maybe Natural
Maybe Text
Maybe InputLossActionForMsSmoothOut
Maybe SmoothGroupAudioOnlyTimecodeControl
Maybe SmoothGroupCertificateMode
Maybe SmoothGroupEventIdMode
Maybe SmoothGroupEventStopBehavior
Maybe SmoothGroupSegmentationMode
Maybe SmoothGroupSparseTrackType
Maybe SmoothGroupStreamManifestBehavior
Maybe SmoothGroupTimestampOffsetMode
OutputLocationRef
destination :: OutputLocationRef
timestampOffsetMode :: Maybe SmoothGroupTimestampOffsetMode
timestampOffset :: Maybe Text
streamManifestBehavior :: Maybe SmoothGroupStreamManifestBehavior
sparseTrackType :: Maybe SmoothGroupSparseTrackType
sendDelayMs :: Maybe Natural
segmentationMode :: Maybe SmoothGroupSegmentationMode
restartDelay :: Maybe Natural
numRetries :: Maybe Natural
inputLossAction :: Maybe InputLossActionForMsSmoothOut
fragmentLength :: Maybe Natural
filecacheDuration :: Maybe Natural
eventStopBehavior :: Maybe SmoothGroupEventStopBehavior
eventIdMode :: Maybe SmoothGroupEventIdMode
eventId :: Maybe Text
connectionRetryInterval :: Maybe Natural
certificateMode :: Maybe SmoothGroupCertificateMode
audioOnlyTimecodeControl :: Maybe SmoothGroupAudioOnlyTimecodeControl
acquisitionPointId :: Maybe Text
$sel:destination:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> OutputLocationRef
$sel:timestampOffsetMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode
$sel:timestampOffset:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:streamManifestBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior
$sel:sparseTrackType:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType
$sel:sendDelayMs:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:segmentationMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode
$sel:restartDelay:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:numRetries:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:inputLossAction:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut
$sel:fragmentLength:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:filecacheDuration:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:eventStopBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior
$sel:eventIdMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode
$sel:eventId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:connectionRetryInterval:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:certificateMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode
$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupAudioOnlyTimecodeControl
$sel:acquisitionPointId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
..} =
[Pair] -> Value
Data.object
( forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Key
"acquisitionPointId" 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
acquisitionPointId,
(Key
"audioOnlyTimecodeControl" 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 SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl,
(Key
"certificateMode" 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 SmoothGroupCertificateMode
certificateMode,
(Key
"connectionRetryInterval" 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
connectionRetryInterval,
(Key
"eventId" 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
eventId,
(Key
"eventIdMode" 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 SmoothGroupEventIdMode
eventIdMode,
(Key
"eventStopBehavior" 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 SmoothGroupEventStopBehavior
eventStopBehavior,
(Key
"filecacheDuration" 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
filecacheDuration,
(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
"inputLossAction" 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 InputLossActionForMsSmoothOut
inputLossAction,
(Key
"numRetries" 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
numRetries,
(Key
"restartDelay" 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
restartDelay,
(Key
"segmentationMode" 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 SmoothGroupSegmentationMode
segmentationMode,
(Key
"sendDelayMs" 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
sendDelayMs,
(Key
"sparseTrackType" 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 SmoothGroupSparseTrackType
sparseTrackType,
(Key
"streamManifestBehavior" 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 SmoothGroupStreamManifestBehavior
streamManifestBehavior,
(Key
"timestampOffset" 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
timestampOffset,
(Key
"timestampOffsetMode" 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 SmoothGroupTimestampOffsetMode
timestampOffsetMode,
forall a. a -> Maybe a
Prelude.Just (Key
"destination" forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Data..= OutputLocationRef
destination)
]
)