{-# 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.Lens as Lens
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 Natural
fragmentLength :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior :: Prelude.Maybe SmoothGroupStreamManifestBehavior,
MsSmoothGroupSettings -> Maybe Natural
sendDelayMs :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior
eventStopBehavior :: Prelude.Maybe SmoothGroupEventStopBehavior,
MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode :: Prelude.Maybe SmoothGroupTimestampOffsetMode,
MsSmoothGroupSettings -> Maybe Natural
numRetries :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe Text
acquisitionPointId :: Prelude.Maybe Prelude.Text,
MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut
inputLossAction :: Prelude.Maybe InputLossActionForMsSmoothOut,
MsSmoothGroupSettings -> Maybe Text
timestampOffset :: Prelude.Maybe Prelude.Text,
MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode
certificateMode :: Prelude.Maybe SmoothGroupCertificateMode,
MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType
sparseTrackType :: Prelude.Maybe SmoothGroupSparseTrackType,
MsSmoothGroupSettings -> Maybe Natural
connectionRetryInterval :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe Natural
filecacheDuration :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe Natural
restartDelay :: Prelude.Maybe Prelude.Natural,
MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode
eventIdMode :: Prelude.Maybe SmoothGroupEventIdMode,
MsSmoothGroupSettings -> Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl :: Prelude.Maybe SmoothGroupAudioOnlyTimecodeControl,
MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode
segmentationMode :: Prelude.Maybe SmoothGroupSegmentationMode,
MsSmoothGroupSettings -> Maybe Text
eventId :: Prelude.Maybe Prelude.Text,
MsSmoothGroupSettings -> OutputLocationRef
destination :: OutputLocationRef
}
deriving (MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool
(MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool)
-> (MsSmoothGroupSettings -> MsSmoothGroupSettings -> Bool)
-> Eq MsSmoothGroupSettings
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]
(Int -> ReadS MsSmoothGroupSettings)
-> ReadS [MsSmoothGroupSettings]
-> ReadPrec MsSmoothGroupSettings
-> ReadPrec [MsSmoothGroupSettings]
-> Read 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
(Int -> MsSmoothGroupSettings -> ShowS)
-> (MsSmoothGroupSettings -> String)
-> ([MsSmoothGroupSettings] -> ShowS)
-> Show MsSmoothGroupSettings
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. MsSmoothGroupSettings -> Rep MsSmoothGroupSettings x)
-> (forall x. Rep MsSmoothGroupSettings x -> MsSmoothGroupSettings)
-> Generic MsSmoothGroupSettings
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' :: Maybe Natural
-> Maybe SmoothGroupStreamManifestBehavior
-> Maybe Natural
-> Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings
MsSmoothGroupSettings'
{ $sel:fragmentLength:MsSmoothGroupSettings' :: Maybe Natural
fragmentLength =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:streamManifestBehavior:MsSmoothGroupSettings' :: Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior = Maybe SmoothGroupStreamManifestBehavior
forall a. Maybe a
Prelude.Nothing,
$sel:sendDelayMs:MsSmoothGroupSettings' :: Maybe Natural
sendDelayMs = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:eventStopBehavior:MsSmoothGroupSettings' :: Maybe SmoothGroupEventStopBehavior
eventStopBehavior = Maybe SmoothGroupEventStopBehavior
forall a. Maybe a
Prelude.Nothing,
$sel:timestampOffsetMode:MsSmoothGroupSettings' :: Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode = Maybe SmoothGroupTimestampOffsetMode
forall a. Maybe a
Prelude.Nothing,
$sel:numRetries:MsSmoothGroupSettings' :: Maybe Natural
numRetries = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:acquisitionPointId:MsSmoothGroupSettings' :: Maybe Text
acquisitionPointId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:inputLossAction:MsSmoothGroupSettings' :: Maybe InputLossActionForMsSmoothOut
inputLossAction = Maybe InputLossActionForMsSmoothOut
forall a. Maybe a
Prelude.Nothing,
$sel:timestampOffset:MsSmoothGroupSettings' :: Maybe Text
timestampOffset = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:certificateMode:MsSmoothGroupSettings' :: Maybe SmoothGroupCertificateMode
certificateMode = Maybe SmoothGroupCertificateMode
forall a. Maybe a
Prelude.Nothing,
$sel:sparseTrackType:MsSmoothGroupSettings' :: Maybe SmoothGroupSparseTrackType
sparseTrackType = Maybe SmoothGroupSparseTrackType
forall a. Maybe a
Prelude.Nothing,
$sel:connectionRetryInterval:MsSmoothGroupSettings' :: Maybe Natural
connectionRetryInterval = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:filecacheDuration:MsSmoothGroupSettings' :: Maybe Natural
filecacheDuration = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:restartDelay:MsSmoothGroupSettings' :: Maybe Natural
restartDelay = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:eventIdMode:MsSmoothGroupSettings' :: Maybe SmoothGroupEventIdMode
eventIdMode = Maybe SmoothGroupEventIdMode
forall a. Maybe a
Prelude.Nothing,
$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl = Maybe SmoothGroupAudioOnlyTimecodeControl
forall a. Maybe a
Prelude.Nothing,
$sel:segmentationMode:MsSmoothGroupSettings' :: Maybe SmoothGroupSegmentationMode
segmentationMode = Maybe SmoothGroupSegmentationMode
forall a. Maybe a
Prelude.Nothing,
$sel:eventId:MsSmoothGroupSettings' :: Maybe Text
eventId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:destination:MsSmoothGroupSettings' :: OutputLocationRef
destination = OutputLocationRef
pDestination_
}
msSmoothGroupSettings_fragmentLength :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_fragmentLength :: (Maybe Natural -> f (Maybe Natural))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_fragmentLength = (MsSmoothGroupSettings -> Maybe Natural)
-> (MsSmoothGroupSettings
-> Maybe Natural -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Natural)
(Maybe Natural)
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_streamManifestBehavior :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupStreamManifestBehavior)
msSmoothGroupSettings_streamManifestBehavior :: (Maybe SmoothGroupStreamManifestBehavior
-> f (Maybe SmoothGroupStreamManifestBehavior))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_streamManifestBehavior = (MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupStreamManifestBehavior
-> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupStreamManifestBehavior)
(Maybe SmoothGroupStreamManifestBehavior)
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_sendDelayMs :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_sendDelayMs :: (Maybe Natural -> f (Maybe Natural))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_sendDelayMs = (MsSmoothGroupSettings -> Maybe Natural)
-> (MsSmoothGroupSettings
-> Maybe Natural -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Natural)
(Maybe Natural)
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_eventStopBehavior :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupEventStopBehavior)
msSmoothGroupSettings_eventStopBehavior :: (Maybe SmoothGroupEventStopBehavior
-> f (Maybe SmoothGroupEventStopBehavior))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_eventStopBehavior = (MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupEventStopBehavior -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupEventStopBehavior)
(Maybe SmoothGroupEventStopBehavior)
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_timestampOffsetMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupTimestampOffsetMode)
msSmoothGroupSettings_timestampOffsetMode :: (Maybe SmoothGroupTimestampOffsetMode
-> f (Maybe SmoothGroupTimestampOffsetMode))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_timestampOffsetMode = (MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupTimestampOffsetMode -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupTimestampOffsetMode)
(Maybe SmoothGroupTimestampOffsetMode)
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_numRetries :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_numRetries :: (Maybe Natural -> f (Maybe Natural))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_numRetries = (MsSmoothGroupSettings -> Maybe Natural)
-> (MsSmoothGroupSettings
-> Maybe Natural -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Natural)
(Maybe Natural)
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_acquisitionPointId :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Text)
msSmoothGroupSettings_acquisitionPointId :: (Maybe Text -> f (Maybe Text))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_acquisitionPointId = (MsSmoothGroupSettings -> Maybe Text)
-> (MsSmoothGroupSettings -> Maybe Text -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Text)
(Maybe Text)
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_inputLossAction :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe InputLossActionForMsSmoothOut)
msSmoothGroupSettings_inputLossAction :: (Maybe InputLossActionForMsSmoothOut
-> f (Maybe InputLossActionForMsSmoothOut))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_inputLossAction = (MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut)
-> (MsSmoothGroupSettings
-> Maybe InputLossActionForMsSmoothOut -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe InputLossActionForMsSmoothOut)
(Maybe InputLossActionForMsSmoothOut)
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_timestampOffset :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Text)
msSmoothGroupSettings_timestampOffset :: (Maybe Text -> f (Maybe Text))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_timestampOffset = (MsSmoothGroupSettings -> Maybe Text)
-> (MsSmoothGroupSettings -> Maybe Text -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Text)
(Maybe Text)
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_certificateMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupCertificateMode)
msSmoothGroupSettings_certificateMode :: (Maybe SmoothGroupCertificateMode
-> f (Maybe SmoothGroupCertificateMode))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_certificateMode = (MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupCertificateMode -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupCertificateMode)
(Maybe SmoothGroupCertificateMode)
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_sparseTrackType :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupSparseTrackType)
msSmoothGroupSettings_sparseTrackType :: (Maybe SmoothGroupSparseTrackType
-> f (Maybe SmoothGroupSparseTrackType))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_sparseTrackType = (MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupSparseTrackType -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupSparseTrackType)
(Maybe SmoothGroupSparseTrackType)
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_connectionRetryInterval :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_connectionRetryInterval :: (Maybe Natural -> f (Maybe Natural))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_connectionRetryInterval = (MsSmoothGroupSettings -> Maybe Natural)
-> (MsSmoothGroupSettings
-> Maybe Natural -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Natural)
(Maybe Natural)
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_filecacheDuration :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_filecacheDuration :: (Maybe Natural -> f (Maybe Natural))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_filecacheDuration = (MsSmoothGroupSettings -> Maybe Natural)
-> (MsSmoothGroupSettings
-> Maybe Natural -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Natural)
(Maybe Natural)
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_restartDelay :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Natural)
msSmoothGroupSettings_restartDelay :: (Maybe Natural -> f (Maybe Natural))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_restartDelay = (MsSmoothGroupSettings -> Maybe Natural)
-> (MsSmoothGroupSettings
-> Maybe Natural -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Natural)
(Maybe Natural)
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_eventIdMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupEventIdMode)
msSmoothGroupSettings_eventIdMode :: (Maybe SmoothGroupEventIdMode -> f (Maybe SmoothGroupEventIdMode))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_eventIdMode = (MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupEventIdMode -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupEventIdMode)
(Maybe SmoothGroupEventIdMode)
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_audioOnlyTimecodeControl :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupAudioOnlyTimecodeControl)
msSmoothGroupSettings_audioOnlyTimecodeControl :: (Maybe SmoothGroupAudioOnlyTimecodeControl
-> f (Maybe SmoothGroupAudioOnlyTimecodeControl))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_audioOnlyTimecodeControl = (MsSmoothGroupSettings
-> Maybe SmoothGroupAudioOnlyTimecodeControl)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupAudioOnlyTimecodeControl)
(Maybe SmoothGroupAudioOnlyTimecodeControl)
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_segmentationMode :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe SmoothGroupSegmentationMode)
msSmoothGroupSettings_segmentationMode :: (Maybe SmoothGroupSegmentationMode
-> f (Maybe SmoothGroupSegmentationMode))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_segmentationMode = (MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode)
-> (MsSmoothGroupSettings
-> Maybe SmoothGroupSegmentationMode -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe SmoothGroupSegmentationMode)
(Maybe SmoothGroupSegmentationMode)
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_eventId :: Lens.Lens' MsSmoothGroupSettings (Prelude.Maybe Prelude.Text)
msSmoothGroupSettings_eventId :: (Maybe Text -> f (Maybe Text))
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_eventId = (MsSmoothGroupSettings -> Maybe Text)
-> (MsSmoothGroupSettings -> Maybe Text -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
(Maybe Text)
(Maybe Text)
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_destination :: Lens.Lens' MsSmoothGroupSettings OutputLocationRef
msSmoothGroupSettings_destination :: (OutputLocationRef -> f OutputLocationRef)
-> MsSmoothGroupSettings -> f MsSmoothGroupSettings
msSmoothGroupSettings_destination = (MsSmoothGroupSettings -> OutputLocationRef)
-> (MsSmoothGroupSettings
-> OutputLocationRef -> MsSmoothGroupSettings)
-> Lens
MsSmoothGroupSettings
MsSmoothGroupSettings
OutputLocationRef
OutputLocationRef
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 Core.FromJSON MsSmoothGroupSettings where
parseJSON :: Value -> Parser MsSmoothGroupSettings
parseJSON =
String
-> (Object -> Parser MsSmoothGroupSettings)
-> Value
-> Parser MsSmoothGroupSettings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"MsSmoothGroupSettings"
( \Object
x ->
Maybe Natural
-> Maybe SmoothGroupStreamManifestBehavior
-> Maybe Natural
-> Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings
MsSmoothGroupSettings'
(Maybe Natural
-> Maybe SmoothGroupStreamManifestBehavior
-> Maybe Natural
-> Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe SmoothGroupStreamManifestBehavior
-> Maybe Natural
-> Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"fragmentLength")
Parser
(Maybe SmoothGroupStreamManifestBehavior
-> Maybe Natural
-> Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupStreamManifestBehavior)
-> Parser
(Maybe Natural
-> Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe SmoothGroupStreamManifestBehavior)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"streamManifestBehavior")
Parser
(Maybe Natural
-> Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"sendDelayMs")
Parser
(Maybe SmoothGroupEventStopBehavior
-> Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupEventStopBehavior)
-> Parser
(Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe SmoothGroupEventStopBehavior)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"eventStopBehavior")
Parser
(Maybe SmoothGroupTimestampOffsetMode
-> Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupTimestampOffsetMode)
-> Parser
(Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe SmoothGroupTimestampOffsetMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"timestampOffsetMode")
Parser
(Maybe Natural
-> Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"numRetries")
Parser
(Maybe Text
-> Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Text)
-> Parser
(Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"acquisitionPointId")
Parser
(Maybe InputLossActionForMsSmoothOut
-> Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe InputLossActionForMsSmoothOut)
-> Parser
(Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe InputLossActionForMsSmoothOut)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"inputLossAction")
Parser
(Maybe Text
-> Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Text)
-> Parser
(Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"timestampOffset")
Parser
(Maybe SmoothGroupCertificateMode
-> Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupCertificateMode)
-> Parser
(Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe SmoothGroupCertificateMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"certificateMode")
Parser
(Maybe SmoothGroupSparseTrackType
-> Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupSparseTrackType)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe SmoothGroupSparseTrackType)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"sparseTrackType")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"connectionRetryInterval")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"filecacheDuration")
Parser
(Maybe Natural
-> Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"restartDelay")
Parser
(Maybe SmoothGroupEventIdMode
-> Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupEventIdMode)
-> Parser
(Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe SmoothGroupEventIdMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"eventIdMode")
Parser
(Maybe SmoothGroupAudioOnlyTimecodeControl
-> Maybe SmoothGroupSegmentationMode
-> Maybe Text
-> OutputLocationRef
-> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupAudioOnlyTimecodeControl)
-> Parser
(Maybe SmoothGroupSegmentationMode
-> Maybe Text -> OutputLocationRef -> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Parser (Maybe SmoothGroupAudioOnlyTimecodeControl)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"audioOnlyTimecodeControl")
Parser
(Maybe SmoothGroupSegmentationMode
-> Maybe Text -> OutputLocationRef -> MsSmoothGroupSettings)
-> Parser (Maybe SmoothGroupSegmentationMode)
-> Parser
(Maybe Text -> OutputLocationRef -> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe SmoothGroupSegmentationMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"segmentationMode")
Parser (Maybe Text -> OutputLocationRef -> MsSmoothGroupSettings)
-> Parser (Maybe Text)
-> Parser (OutputLocationRef -> MsSmoothGroupSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"eventId")
Parser (OutputLocationRef -> MsSmoothGroupSettings)
-> Parser OutputLocationRef -> Parser MsSmoothGroupSettings
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser OutputLocationRef
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"destination")
)
instance Prelude.Hashable MsSmoothGroupSettings
instance Prelude.NFData MsSmoothGroupSettings
instance Core.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
eventId :: Maybe Text
segmentationMode :: Maybe SmoothGroupSegmentationMode
audioOnlyTimecodeControl :: Maybe SmoothGroupAudioOnlyTimecodeControl
eventIdMode :: Maybe SmoothGroupEventIdMode
restartDelay :: Maybe Natural
filecacheDuration :: Maybe Natural
connectionRetryInterval :: Maybe Natural
sparseTrackType :: Maybe SmoothGroupSparseTrackType
certificateMode :: Maybe SmoothGroupCertificateMode
timestampOffset :: Maybe Text
inputLossAction :: Maybe InputLossActionForMsSmoothOut
acquisitionPointId :: Maybe Text
numRetries :: Maybe Natural
timestampOffsetMode :: Maybe SmoothGroupTimestampOffsetMode
eventStopBehavior :: Maybe SmoothGroupEventStopBehavior
sendDelayMs :: Maybe Natural
streamManifestBehavior :: Maybe SmoothGroupStreamManifestBehavior
fragmentLength :: Maybe Natural
$sel:destination:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> OutputLocationRef
$sel:eventId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:segmentationMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSegmentationMode
$sel:audioOnlyTimecodeControl:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupAudioOnlyTimecodeControl
$sel:eventIdMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventIdMode
$sel:restartDelay:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:filecacheDuration:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:connectionRetryInterval:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:sparseTrackType:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupSparseTrackType
$sel:certificateMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupCertificateMode
$sel:timestampOffset:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:inputLossAction:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe InputLossActionForMsSmoothOut
$sel:acquisitionPointId:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Text
$sel:numRetries:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:timestampOffsetMode:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupTimestampOffsetMode
$sel:eventStopBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupEventStopBehavior
$sel:sendDelayMs:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
$sel:streamManifestBehavior:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe SmoothGroupStreamManifestBehavior
$sel:fragmentLength:MsSmoothGroupSettings' :: MsSmoothGroupSettings -> Maybe Natural
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"fragmentLength" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
fragmentLength,
(Text
"streamManifestBehavior" Text -> SmoothGroupStreamManifestBehavior -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(SmoothGroupStreamManifestBehavior -> Pair)
-> Maybe SmoothGroupStreamManifestBehavior -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupStreamManifestBehavior
streamManifestBehavior,
(Text
"sendDelayMs" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
sendDelayMs,
(Text
"eventStopBehavior" Text -> SmoothGroupEventStopBehavior -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(SmoothGroupEventStopBehavior -> Pair)
-> Maybe SmoothGroupEventStopBehavior -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupEventStopBehavior
eventStopBehavior,
(Text
"timestampOffsetMode" Text -> SmoothGroupTimestampOffsetMode -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(SmoothGroupTimestampOffsetMode -> Pair)
-> Maybe SmoothGroupTimestampOffsetMode -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupTimestampOffsetMode
timestampOffsetMode,
(Text
"numRetries" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
numRetries,
(Text
"acquisitionPointId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
acquisitionPointId,
(Text
"inputLossAction" Text -> InputLossActionForMsSmoothOut -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(InputLossActionForMsSmoothOut -> Pair)
-> Maybe InputLossActionForMsSmoothOut -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InputLossActionForMsSmoothOut
inputLossAction,
(Text
"timestampOffset" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
timestampOffset,
(Text
"certificateMode" Text -> SmoothGroupCertificateMode -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(SmoothGroupCertificateMode -> Pair)
-> Maybe SmoothGroupCertificateMode -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupCertificateMode
certificateMode,
(Text
"sparseTrackType" Text -> SmoothGroupSparseTrackType -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(SmoothGroupSparseTrackType -> Pair)
-> Maybe SmoothGroupSparseTrackType -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupSparseTrackType
sparseTrackType,
(Text
"connectionRetryInterval" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
connectionRetryInterval,
(Text
"filecacheDuration" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
filecacheDuration,
(Text
"restartDelay" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
restartDelay,
(Text
"eventIdMode" Text -> SmoothGroupEventIdMode -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (SmoothGroupEventIdMode -> Pair)
-> Maybe SmoothGroupEventIdMode -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupEventIdMode
eventIdMode,
(Text
"audioOnlyTimecodeControl" Text -> SmoothGroupAudioOnlyTimecodeControl -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(SmoothGroupAudioOnlyTimecodeControl -> Pair)
-> Maybe SmoothGroupAudioOnlyTimecodeControl -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupAudioOnlyTimecodeControl
audioOnlyTimecodeControl,
(Text
"segmentationMode" Text -> SmoothGroupSegmentationMode -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(SmoothGroupSegmentationMode -> Pair)
-> Maybe SmoothGroupSegmentationMode -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SmoothGroupSegmentationMode
segmentationMode,
(Text
"eventId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
eventId,
Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"destination" Text -> OutputLocationRef -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= OutputLocationRef
destination)
]
)