module Stratosphere.MediaLive.Channel.OutputDestinationProperty (
module Exports, OutputDestinationProperty(..),
mkOutputDestinationProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.MediaPackageOutputDestinationSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.MultiplexProgramChannelDestinationSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.OutputDestinationSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaLive.Channel.SrtOutputDestinationSettingsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data OutputDestinationProperty
=
OutputDestinationProperty {OutputDestinationProperty -> ()
haddock_workaround_ :: (),
OutputDestinationProperty -> Maybe (Value Text)
id :: (Prelude.Maybe (Value Prelude.Text)),
OutputDestinationProperty -> Maybe (ValueList Text)
logicalInterfaceNames :: (Prelude.Maybe (ValueList Prelude.Text)),
OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
mediaPackageSettings :: (Prelude.Maybe [MediaPackageOutputDestinationSettingsProperty]),
OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
multiplexSettings :: (Prelude.Maybe MultiplexProgramChannelDestinationSettingsProperty),
OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
settings :: (Prelude.Maybe [OutputDestinationSettingsProperty]),
OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
srtSettings :: (Prelude.Maybe [SrtOutputDestinationSettingsProperty])}
deriving stock (OutputDestinationProperty -> OutputDestinationProperty -> Bool
(OutputDestinationProperty -> OutputDestinationProperty -> Bool)
-> (OutputDestinationProperty -> OutputDestinationProperty -> Bool)
-> Eq OutputDestinationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: OutputDestinationProperty -> OutputDestinationProperty -> Bool
== :: OutputDestinationProperty -> OutputDestinationProperty -> Bool
$c/= :: OutputDestinationProperty -> OutputDestinationProperty -> Bool
/= :: OutputDestinationProperty -> OutputDestinationProperty -> Bool
Prelude.Eq, Int -> OutputDestinationProperty -> ShowS
[OutputDestinationProperty] -> ShowS
OutputDestinationProperty -> String
(Int -> OutputDestinationProperty -> ShowS)
-> (OutputDestinationProperty -> String)
-> ([OutputDestinationProperty] -> ShowS)
-> Show OutputDestinationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> OutputDestinationProperty -> ShowS
showsPrec :: Int -> OutputDestinationProperty -> ShowS
$cshow :: OutputDestinationProperty -> String
show :: OutputDestinationProperty -> String
$cshowList :: [OutputDestinationProperty] -> ShowS
showList :: [OutputDestinationProperty] -> ShowS
Prelude.Show)
mkOutputDestinationProperty :: OutputDestinationProperty
mkOutputDestinationProperty :: OutputDestinationProperty
mkOutputDestinationProperty
= OutputDestinationProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), id :: Maybe (Value Text)
id = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
logicalInterfaceNames :: Maybe (ValueList Text)
logicalInterfaceNames = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
mediaPackageSettings = Maybe [MediaPackageOutputDestinationSettingsProperty]
forall a. Maybe a
Prelude.Nothing,
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
multiplexSettings = Maybe MultiplexProgramChannelDestinationSettingsProperty
forall a. Maybe a
Prelude.Nothing, settings :: Maybe [OutputDestinationSettingsProperty]
settings = Maybe [OutputDestinationSettingsProperty]
forall a. Maybe a
Prelude.Nothing,
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
srtSettings = Maybe [SrtOutputDestinationSettingsProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties OutputDestinationProperty where
toResourceProperties :: OutputDestinationProperty -> ResourceProperties
toResourceProperties OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::MediaLive::Channel.OutputDestination",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Id" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
id,
Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogicalInterfaceNames"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
logicalInterfaceNames,
Key
-> [MediaPackageOutputDestinationSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MediaPackageSettings" ([MediaPackageOutputDestinationSettingsProperty] -> (Key, Value))
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MediaPackageOutputDestinationSettingsProperty]
mediaPackageSettings,
Key
-> MultiplexProgramChannelDestinationSettingsProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MultiplexSettings" (MultiplexProgramChannelDestinationSettingsProperty
-> (Key, Value))
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MultiplexProgramChannelDestinationSettingsProperty
multiplexSettings,
Key -> [OutputDestinationSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Settings" ([OutputDestinationSettingsProperty] -> (Key, Value))
-> Maybe [OutputDestinationSettingsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [OutputDestinationSettingsProperty]
settings,
Key -> [SrtOutputDestinationSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SrtSettings" ([SrtOutputDestinationSettingsProperty] -> (Key, Value))
-> Maybe [SrtOutputDestinationSettingsProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SrtOutputDestinationSettingsProperty]
srtSettings])}
instance JSON.ToJSON OutputDestinationProperty where
toJSON :: OutputDestinationProperty -> Value
toJSON OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Id" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
id,
Key -> ValueList Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogicalInterfaceNames"
(ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
logicalInterfaceNames,
Key
-> [MediaPackageOutputDestinationSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MediaPackageSettings" ([MediaPackageOutputDestinationSettingsProperty] -> (Key, Value))
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [MediaPackageOutputDestinationSettingsProperty]
mediaPackageSettings,
Key
-> MultiplexProgramChannelDestinationSettingsProperty
-> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"MultiplexSettings" (MultiplexProgramChannelDestinationSettingsProperty
-> (Key, Value))
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe MultiplexProgramChannelDestinationSettingsProperty
multiplexSettings,
Key -> [OutputDestinationSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Settings" ([OutputDestinationSettingsProperty] -> (Key, Value))
-> Maybe [OutputDestinationSettingsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [OutputDestinationSettingsProperty]
settings,
Key -> [SrtOutputDestinationSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SrtSettings" ([SrtOutputDestinationSettingsProperty] -> (Key, Value))
-> Maybe [SrtOutputDestinationSettingsProperty]
-> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SrtOutputDestinationSettingsProperty]
srtSettings]))
instance Property "Id" OutputDestinationProperty where
type PropertyType "Id" OutputDestinationProperty = Value Prelude.Text
set :: PropertyType "Id" OutputDestinationProperty
-> OutputDestinationProperty -> OutputDestinationProperty
set PropertyType "Id" OutputDestinationProperty
newValue OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= OutputDestinationProperty {id :: Maybe (Value Text)
id = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Id" OutputDestinationProperty
Value Text
newValue, Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: ()
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
instance Property "LogicalInterfaceNames" OutputDestinationProperty where
type PropertyType "LogicalInterfaceNames" OutputDestinationProperty = ValueList Prelude.Text
set :: PropertyType "LogicalInterfaceNames" OutputDestinationProperty
-> OutputDestinationProperty -> OutputDestinationProperty
set PropertyType "LogicalInterfaceNames" OutputDestinationProperty
newValue OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= OutputDestinationProperty
{logicalInterfaceNames :: Maybe (ValueList Text)
logicalInterfaceNames = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogicalInterfaceNames" OutputDestinationProperty
ValueList Text
newValue, Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: ()
id :: Maybe (Value Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
instance Property "MediaPackageSettings" OutputDestinationProperty where
type PropertyType "MediaPackageSettings" OutputDestinationProperty = [MediaPackageOutputDestinationSettingsProperty]
set :: PropertyType "MediaPackageSettings" OutputDestinationProperty
-> OutputDestinationProperty -> OutputDestinationProperty
set PropertyType "MediaPackageSettings" OutputDestinationProperty
newValue OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= OutputDestinationProperty
{mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
mediaPackageSettings = [MediaPackageOutputDestinationSettingsProperty]
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [MediaPackageOutputDestinationSettingsProperty]
PropertyType "MediaPackageSettings" OutputDestinationProperty
newValue, Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
instance Property "MultiplexSettings" OutputDestinationProperty where
type PropertyType "MultiplexSettings" OutputDestinationProperty = MultiplexProgramChannelDestinationSettingsProperty
set :: PropertyType "MultiplexSettings" OutputDestinationProperty
-> OutputDestinationProperty -> OutputDestinationProperty
set PropertyType "MultiplexSettings" OutputDestinationProperty
newValue OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= OutputDestinationProperty
{multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
multiplexSettings = MultiplexProgramChannelDestinationSettingsProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "MultiplexSettings" OutputDestinationProperty
MultiplexProgramChannelDestinationSettingsProperty
newValue, Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
()
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
instance Property "Settings" OutputDestinationProperty where
type PropertyType "Settings" OutputDestinationProperty = [OutputDestinationSettingsProperty]
set :: PropertyType "Settings" OutputDestinationProperty
-> OutputDestinationProperty -> OutputDestinationProperty
set PropertyType "Settings" OutputDestinationProperty
newValue OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= OutputDestinationProperty {settings :: Maybe [OutputDestinationSettingsProperty]
settings = [OutputDestinationSettingsProperty]
-> Maybe [OutputDestinationSettingsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [OutputDestinationSettingsProperty]
PropertyType "Settings" OutputDestinationProperty
newValue, Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
instance Property "SrtSettings" OutputDestinationProperty where
type PropertyType "SrtSettings" OutputDestinationProperty = [SrtOutputDestinationSettingsProperty]
set :: PropertyType "SrtSettings" OutputDestinationProperty
-> OutputDestinationProperty -> OutputDestinationProperty
set PropertyType "SrtSettings" OutputDestinationProperty
newValue OutputDestinationProperty {Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe [SrtOutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: OutputDestinationProperty -> ()
id :: OutputDestinationProperty -> Maybe (Value Text)
logicalInterfaceNames :: OutputDestinationProperty -> Maybe (ValueList Text)
mediaPackageSettings :: OutputDestinationProperty
-> Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: OutputDestinationProperty
-> Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: OutputDestinationProperty
-> Maybe [OutputDestinationSettingsProperty]
srtSettings :: OutputDestinationProperty
-> Maybe [SrtOutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
..}
= OutputDestinationProperty
{srtSettings :: Maybe [SrtOutputDestinationSettingsProperty]
srtSettings = [SrtOutputDestinationSettingsProperty]
-> Maybe [SrtOutputDestinationSettingsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [SrtOutputDestinationSettingsProperty]
PropertyType "SrtSettings" OutputDestinationProperty
newValue, Maybe [MediaPackageOutputDestinationSettingsProperty]
Maybe [OutputDestinationSettingsProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe MultiplexProgramChannelDestinationSettingsProperty
()
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
haddock_workaround_ :: ()
id :: Maybe (Value Text)
logicalInterfaceNames :: Maybe (ValueList Text)
mediaPackageSettings :: Maybe [MediaPackageOutputDestinationSettingsProperty]
multiplexSettings :: Maybe MultiplexProgramChannelDestinationSettingsProperty
settings :: Maybe [OutputDestinationSettingsProperty]
..}