module Stratosphere.MediaTailor.Channel (
        module Exports, Channel(..), mkChannel
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.MediaTailor.Channel.LogConfigurationForChannelProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaTailor.Channel.RequestOutputItemProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaTailor.Channel.SlateSourceProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaTailor.Channel.TimeShiftConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Channel
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html>
    Channel {Channel -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-audiences>
             Channel -> Maybe (ValueList Text)
audiences :: (Prelude.Maybe (ValueList Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-channelname>
             Channel -> Value Text
channelName :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-fillerslate>
             Channel -> Maybe SlateSourceProperty
fillerSlate :: (Prelude.Maybe SlateSourceProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-logconfiguration>
             Channel -> Maybe LogConfigurationForChannelProperty
logConfiguration :: (Prelude.Maybe LogConfigurationForChannelProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-outputs>
             Channel -> [RequestOutputItemProperty]
outputs :: [RequestOutputItemProperty],
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-playbackmode>
             Channel -> Value Text
playbackMode :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-tags>
             Channel -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-tier>
             Channel -> Maybe (Value Text)
tier :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channel.html#cfn-mediatailor-channel-timeshiftconfiguration>
             Channel -> Maybe TimeShiftConfigurationProperty
timeShiftConfiguration :: (Prelude.Maybe TimeShiftConfigurationProperty)}
  deriving stock (Channel -> Channel -> Bool
(Channel -> Channel -> Bool)
-> (Channel -> Channel -> Bool) -> Eq Channel
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Channel -> Channel -> Bool
== :: Channel -> Channel -> Bool
$c/= :: Channel -> Channel -> Bool
/= :: Channel -> Channel -> Bool
Prelude.Eq, Int -> Channel -> ShowS
[Channel] -> ShowS
Channel -> String
(Int -> Channel -> ShowS)
-> (Channel -> String) -> ([Channel] -> ShowS) -> Show Channel
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Channel -> ShowS
showsPrec :: Int -> Channel -> ShowS
$cshow :: Channel -> String
show :: Channel -> String
$cshowList :: [Channel] -> ShowS
showList :: [Channel] -> ShowS
Prelude.Show)
mkChannel ::
  Value Prelude.Text
  -> [RequestOutputItemProperty] -> Value Prelude.Text -> Channel
mkChannel :: Value Text -> [RequestOutputItemProperty] -> Value Text -> Channel
mkChannel Value Text
channelName [RequestOutputItemProperty]
outputs Value Text
playbackMode
  = Channel
      {haddock_workaround_ :: ()
haddock_workaround_ = (), channelName :: Value Text
channelName = Value Text
channelName,
       outputs :: [RequestOutputItemProperty]
outputs = [RequestOutputItemProperty]
outputs, playbackMode :: Value Text
playbackMode = Value Text
playbackMode,
       audiences :: Maybe (ValueList Text)
audiences = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing, fillerSlate :: Maybe SlateSourceProperty
fillerSlate = Maybe SlateSourceProperty
forall a. Maybe a
Prelude.Nothing,
       logConfiguration :: Maybe LogConfigurationForChannelProperty
logConfiguration = Maybe LogConfigurationForChannelProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
       tier :: Maybe (Value Text)
tier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
timeShiftConfiguration = Maybe TimeShiftConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Channel where
  toResourceProperties :: Channel -> ResourceProperties
toResourceProperties Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaTailor::Channel",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"ChannelName" 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..= Value Text
channelName, Key
"Outputs" Key -> [RequestOutputItemProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [RequestOutputItemProperty]
outputs,
                            Key
"PlaybackMode" 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..= Value Text
playbackMode]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [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
"Audiences" (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)
audiences,
                               Key -> SlateSourceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FillerSlate" (SlateSourceProperty -> (Key, Value))
-> Maybe SlateSourceProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SlateSourceProperty
fillerSlate,
                               Key -> LogConfigurationForChannelProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogConfiguration" (LogConfigurationForChannelProperty -> (Key, Value))
-> Maybe LogConfigurationForChannelProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LogConfigurationForChannelProperty
logConfiguration,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                               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
"Tier" (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)
tier,
                               Key -> TimeShiftConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TimeShiftConfiguration"
                                 (TimeShiftConfigurationProperty -> (Key, Value))
-> Maybe TimeShiftConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimeShiftConfigurationProperty
timeShiftConfiguration]))}
instance JSON.ToJSON Channel where
  toJSON :: Channel -> Value
toJSON Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"ChannelName" 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..= Value Text
channelName, Key
"Outputs" Key -> [RequestOutputItemProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= [RequestOutputItemProperty]
outputs,
               Key
"PlaybackMode" 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..= Value Text
playbackMode]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [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
"Audiences" (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)
audiences,
                  Key -> SlateSourceProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FillerSlate" (SlateSourceProperty -> (Key, Value))
-> Maybe SlateSourceProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SlateSourceProperty
fillerSlate,
                  Key -> LogConfigurationForChannelProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"LogConfiguration" (LogConfigurationForChannelProperty -> (Key, Value))
-> Maybe LogConfigurationForChannelProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe LogConfigurationForChannelProperty
logConfiguration,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
                  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
"Tier" (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)
tier,
                  Key -> TimeShiftConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"TimeShiftConfiguration"
                    (TimeShiftConfigurationProperty -> (Key, Value))
-> Maybe TimeShiftConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TimeShiftConfigurationProperty
timeShiftConfiguration])))
instance Property "Audiences" Channel where
  type PropertyType "Audiences" Channel = ValueList Prelude.Text
  set :: PropertyType "Audiences" Channel -> Channel -> Channel
set PropertyType "Audiences" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = Channel {audiences :: Maybe (ValueList Text)
audiences = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Audiences" Channel
ValueList Text
newValue, [RequestOutputItemProperty]
Maybe [Tag]
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "ChannelName" Channel where
  type PropertyType "ChannelName" Channel = Value Prelude.Text
  set :: PropertyType "ChannelName" Channel -> Channel -> Channel
set PropertyType "ChannelName" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..} = Channel {channelName :: Value Text
channelName = PropertyType "ChannelName" Channel
Value Text
newValue, [RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "FillerSlate" Channel where
  type PropertyType "FillerSlate" Channel = SlateSourceProperty
  set :: PropertyType "FillerSlate" Channel -> Channel -> Channel
set PropertyType "FillerSlate" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = Channel {fillerSlate :: Maybe SlateSourceProperty
fillerSlate = SlateSourceProperty -> Maybe SlateSourceProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FillerSlate" Channel
SlateSourceProperty
newValue, [RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "LogConfiguration" Channel where
  type PropertyType "LogConfiguration" Channel = LogConfigurationForChannelProperty
  set :: PropertyType "LogConfiguration" Channel -> Channel -> Channel
set PropertyType "LogConfiguration" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = Channel {logConfiguration :: Maybe LogConfigurationForChannelProperty
logConfiguration = LogConfigurationForChannelProperty
-> Maybe LogConfigurationForChannelProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "LogConfiguration" Channel
LogConfigurationForChannelProperty
newValue, [RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "Outputs" Channel where
  type PropertyType "Outputs" Channel = [RequestOutputItemProperty]
  set :: PropertyType "Outputs" Channel -> Channel -> Channel
set PropertyType "Outputs" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..} = Channel {outputs :: [RequestOutputItemProperty]
outputs = [RequestOutputItemProperty]
PropertyType "Outputs" Channel
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "PlaybackMode" Channel where
  type PropertyType "PlaybackMode" Channel = Value Prelude.Text
  set :: PropertyType "PlaybackMode" Channel -> Channel -> Channel
set PropertyType "PlaybackMode" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..} = Channel {playbackMode :: Value Text
playbackMode = PropertyType "PlaybackMode" Channel
Value Text
newValue, [RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "Tags" Channel where
  type PropertyType "Tags" Channel = [Tag]
  set :: PropertyType "Tags" Channel -> Channel -> Channel
set PropertyType "Tags" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = Channel {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Channel
newValue, [RequestOutputItemProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "Tier" Channel where
  type PropertyType "Tier" Channel = Value Prelude.Text
  set :: PropertyType "Tier" Channel -> Channel -> Channel
set PropertyType "Tier" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = Channel {tier :: Maybe (Value Text)
tier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Tier" Channel
Value Text
newValue, [RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
instance Property "TimeShiftConfiguration" Channel where
  type PropertyType "TimeShiftConfiguration" Channel = TimeShiftConfigurationProperty
  set :: PropertyType "TimeShiftConfiguration" Channel -> Channel -> Channel
set PropertyType "TimeShiftConfiguration" Channel
newValue Channel {[RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
Maybe TimeShiftConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
audiences :: Channel -> Maybe (ValueList Text)
channelName :: Channel -> Value Text
fillerSlate :: Channel -> Maybe SlateSourceProperty
logConfiguration :: Channel -> Maybe LogConfigurationForChannelProperty
outputs :: Channel -> [RequestOutputItemProperty]
playbackMode :: Channel -> Value Text
tags :: Channel -> Maybe [Tag]
tier :: Channel -> Maybe (Value Text)
timeShiftConfiguration :: Channel -> Maybe TimeShiftConfigurationProperty
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
..}
    = Channel {timeShiftConfiguration :: Maybe TimeShiftConfigurationProperty
timeShiftConfiguration = TimeShiftConfigurationProperty
-> Maybe TimeShiftConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TimeShiftConfiguration" Channel
TimeShiftConfigurationProperty
newValue, [RequestOutputItemProperty]
Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe LogConfigurationForChannelProperty
Maybe SlateSourceProperty
()
Value Text
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
haddock_workaround_ :: ()
audiences :: Maybe (ValueList Text)
channelName :: Value Text
fillerSlate :: Maybe SlateSourceProperty
logConfiguration :: Maybe LogConfigurationForChannelProperty
outputs :: [RequestOutputItemProperty]
playbackMode :: Value Text
tags :: Maybe [Tag]
tier :: Maybe (Value Text)
..}