module Stratosphere.MediaPackageV2.Channel (
        module Exports, Channel(..), mkChannel
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.MediaPackageV2.Channel.InputSwitchConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.MediaPackageV2.Channel.OutputHeaderConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Channel
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html>
    Channel {Channel -> ()
haddock_workaround_ :: (),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-channelgroupname>
             Channel -> Value Text
channelGroupName :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-channelname>
             Channel -> Value Text
channelName :: (Value Prelude.Text),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-description>
             Channel -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-inputswitchconfiguration>
             Channel -> Maybe InputSwitchConfigurationProperty
inputSwitchConfiguration :: (Prelude.Maybe InputSwitchConfigurationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-inputtype>
             Channel -> Maybe (Value Text)
inputType :: (Prelude.Maybe (Value Prelude.Text)),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-outputheaderconfiguration>
             Channel -> Maybe OutputHeaderConfigurationProperty
outputHeaderConfiguration :: (Prelude.Maybe OutputHeaderConfigurationProperty),
             -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channel.html#cfn-mediapackagev2-channel-tags>
             Channel -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
  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 -> Value Prelude.Text -> Channel
mkChannel :: Value Text -> Value Text -> Channel
mkChannel Value Text
channelGroupName Value Text
channelName
  = Channel
      {haddock_workaround_ :: ()
haddock_workaround_ = (), channelGroupName :: Value Text
channelGroupName = Value Text
channelGroupName,
       channelName :: Value Text
channelName = Value Text
channelName, description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputSwitchConfiguration = Maybe InputSwitchConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       inputType :: Maybe (Value Text)
inputType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
outputHeaderConfiguration = Maybe OutputHeaderConfigurationProperty
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Channel where
  toResourceProperties :: Channel -> ResourceProperties
toResourceProperties Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::MediaPackageV2::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
"ChannelGroupName" 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
channelGroupName,
                            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]
                           ([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
"Description" (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)
description,
                               Key -> InputSwitchConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InputSwitchConfiguration"
                                 (InputSwitchConfigurationProperty -> (Key, Value))
-> Maybe InputSwitchConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InputSwitchConfigurationProperty
inputSwitchConfiguration,
                               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
"InputType" (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)
inputType,
                               Key -> OutputHeaderConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OutputHeaderConfiguration"
                                 (OutputHeaderConfigurationProperty -> (Key, Value))
-> Maybe OutputHeaderConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OutputHeaderConfigurationProperty
outputHeaderConfiguration,
                               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]))}
instance JSON.ToJSON Channel where
  toJSON :: Channel -> Value
toJSON Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = [(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
"ChannelGroupName" 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
channelGroupName,
               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]
              ([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
"Description" (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)
description,
                  Key -> InputSwitchConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"InputSwitchConfiguration"
                    (InputSwitchConfigurationProperty -> (Key, Value))
-> Maybe InputSwitchConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe InputSwitchConfigurationProperty
inputSwitchConfiguration,
                  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
"InputType" (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)
inputType,
                  Key -> OutputHeaderConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"OutputHeaderConfiguration"
                    (OutputHeaderConfigurationProperty -> (Key, Value))
-> Maybe OutputHeaderConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe OutputHeaderConfigurationProperty
outputHeaderConfiguration,
                  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])))
instance Property "ChannelGroupName" Channel where
  type PropertyType "ChannelGroupName" Channel = Value Prelude.Text
  set :: PropertyType "ChannelGroupName" Channel -> Channel -> Channel
set PropertyType "ChannelGroupName" Channel
newValue Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = Channel {channelGroupName :: Value Text
channelGroupName = PropertyType "ChannelGroupName" Channel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "ChannelName" Channel where
  type PropertyType "ChannelName" Channel = Value Prelude.Text
  set :: PropertyType "ChannelName" Channel -> Channel -> Channel
set PropertyType "ChannelName" Channel
newValue Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..} = Channel {channelName :: Value Text
channelName = PropertyType "ChannelName" Channel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelGroupName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "Description" Channel where
  type PropertyType "Description" Channel = Value Prelude.Text
  set :: PropertyType "Description" Channel -> Channel -> Channel
set PropertyType "Description" Channel
newValue Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = Channel {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Channel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "InputSwitchConfiguration" Channel where
  type PropertyType "InputSwitchConfiguration" Channel = InputSwitchConfigurationProperty
  set :: PropertyType "InputSwitchConfiguration" Channel
-> Channel -> Channel
set PropertyType "InputSwitchConfiguration" Channel
newValue Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = Channel {inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputSwitchConfiguration = InputSwitchConfigurationProperty
-> Maybe InputSwitchConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InputSwitchConfiguration" Channel
InputSwitchConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "InputType" Channel where
  type PropertyType "InputType" Channel = Value Prelude.Text
  set :: PropertyType "InputType" Channel -> Channel -> Channel
set PropertyType "InputType" Channel
newValue Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = Channel {inputType :: Maybe (Value Text)
inputType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "InputType" Channel
Value Text
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
instance Property "OutputHeaderConfiguration" Channel where
  type PropertyType "OutputHeaderConfiguration" Channel = OutputHeaderConfigurationProperty
  set :: PropertyType "OutputHeaderConfiguration" Channel
-> Channel -> Channel
set PropertyType "OutputHeaderConfiguration" Channel
newValue Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = Channel {outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
outputHeaderConfiguration = OutputHeaderConfigurationProperty
-> Maybe OutputHeaderConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "OutputHeaderConfiguration" Channel
OutputHeaderConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
tags :: Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
tags :: Maybe [Tag]
..}
instance Property "Tags" Channel where
  type PropertyType "Tags" Channel = [Tag]
  set :: PropertyType "Tags" Channel -> Channel -> Channel
set PropertyType "Tags" Channel
newValue Channel {Maybe [Tag]
Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: Channel -> ()
channelGroupName :: Channel -> Value Text
channelName :: Channel -> Value Text
description :: Channel -> Maybe (Value Text)
inputSwitchConfiguration :: Channel -> Maybe InputSwitchConfigurationProperty
inputType :: Channel -> Maybe (Value Text)
outputHeaderConfiguration :: Channel -> Maybe OutputHeaderConfigurationProperty
tags :: Channel -> Maybe [Tag]
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
tags :: Maybe [Tag]
..}
    = 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, Maybe (Value Text)
Maybe InputSwitchConfigurationProperty
Maybe OutputHeaderConfigurationProperty
()
Value Text
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
haddock_workaround_ :: ()
channelGroupName :: Value Text
channelName :: Value Text
description :: Maybe (Value Text)
inputSwitchConfiguration :: Maybe InputSwitchConfigurationProperty
inputType :: Maybe (Value Text)
outputHeaderConfiguration :: Maybe OutputHeaderConfigurationProperty
..}