module Stratosphere.IVS.RecordingConfiguration (
        module Exports, RecordingConfiguration(..),
        mkRecordingConfiguration
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.IVS.RecordingConfiguration.DestinationConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.IVS.RecordingConfiguration.RenditionConfigurationProperty as Exports
import {-# SOURCE #-} Stratosphere.IVS.RecordingConfiguration.ThumbnailConfigurationProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data RecordingConfiguration
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html>
    RecordingConfiguration {RecordingConfiguration -> ()
haddock_workaround_ :: (),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-destinationconfiguration>
                            RecordingConfiguration -> DestinationConfigurationProperty
destinationConfiguration :: DestinationConfigurationProperty,
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-name>
                            RecordingConfiguration -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-recordingreconnectwindowseconds>
                            RecordingConfiguration -> Maybe (Value Integer)
recordingReconnectWindowSeconds :: (Prelude.Maybe (Value Prelude.Integer)),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-renditionconfiguration>
                            RecordingConfiguration -> Maybe RenditionConfigurationProperty
renditionConfiguration :: (Prelude.Maybe RenditionConfigurationProperty),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-tags>
                            RecordingConfiguration -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                            -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ivs-recordingconfiguration.html#cfn-ivs-recordingconfiguration-thumbnailconfiguration>
                            RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
thumbnailConfiguration :: (Prelude.Maybe ThumbnailConfigurationProperty)}
  deriving stock (RecordingConfiguration -> RecordingConfiguration -> Bool
(RecordingConfiguration -> RecordingConfiguration -> Bool)
-> (RecordingConfiguration -> RecordingConfiguration -> Bool)
-> Eq RecordingConfiguration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RecordingConfiguration -> RecordingConfiguration -> Bool
== :: RecordingConfiguration -> RecordingConfiguration -> Bool
$c/= :: RecordingConfiguration -> RecordingConfiguration -> Bool
/= :: RecordingConfiguration -> RecordingConfiguration -> Bool
Prelude.Eq, Int -> RecordingConfiguration -> ShowS
[RecordingConfiguration] -> ShowS
RecordingConfiguration -> String
(Int -> RecordingConfiguration -> ShowS)
-> (RecordingConfiguration -> String)
-> ([RecordingConfiguration] -> ShowS)
-> Show RecordingConfiguration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RecordingConfiguration -> ShowS
showsPrec :: Int -> RecordingConfiguration -> ShowS
$cshow :: RecordingConfiguration -> String
show :: RecordingConfiguration -> String
$cshowList :: [RecordingConfiguration] -> ShowS
showList :: [RecordingConfiguration] -> ShowS
Prelude.Show)
mkRecordingConfiguration ::
  DestinationConfigurationProperty -> RecordingConfiguration
mkRecordingConfiguration :: DestinationConfigurationProperty -> RecordingConfiguration
mkRecordingConfiguration DestinationConfigurationProperty
destinationConfiguration
  = RecordingConfiguration
      {haddock_workaround_ :: ()
haddock_workaround_ = (),
       destinationConfiguration :: DestinationConfigurationProperty
destinationConfiguration = DestinationConfigurationProperty
destinationConfiguration,
       name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       recordingReconnectWindowSeconds :: Maybe (Value Integer)
recordingReconnectWindowSeconds = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       renditionConfiguration :: Maybe RenditionConfigurationProperty
renditionConfiguration = Maybe RenditionConfigurationProperty
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
       thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
thumbnailConfiguration = Maybe ThumbnailConfigurationProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RecordingConfiguration where
  toResourceProperties :: RecordingConfiguration -> ResourceProperties
toResourceProperties RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::IVS::RecordingConfiguration",
         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
"DestinationConfiguration" Key -> DestinationConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationConfigurationProperty
destinationConfiguration]
                           ([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
"Name" (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)
name,
                               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RecordingReconnectWindowSeconds"
                                 (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
recordingReconnectWindowSeconds,
                               Key -> RenditionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RenditionConfiguration"
                                 (RenditionConfigurationProperty -> (Key, Value))
-> Maybe RenditionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RenditionConfigurationProperty
renditionConfiguration,
                               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 -> ThumbnailConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ThumbnailConfiguration"
                                 (ThumbnailConfigurationProperty -> (Key, Value))
-> Maybe ThumbnailConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ThumbnailConfigurationProperty
thumbnailConfiguration]))}
instance JSON.ToJSON RecordingConfiguration where
  toJSON :: RecordingConfiguration -> Value
toJSON RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = [(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
"DestinationConfiguration" Key -> DestinationConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= DestinationConfigurationProperty
destinationConfiguration]
              ([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
"Name" (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)
name,
                  Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RecordingReconnectWindowSeconds"
                    (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
recordingReconnectWindowSeconds,
                  Key -> RenditionConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RenditionConfiguration"
                    (RenditionConfigurationProperty -> (Key, Value))
-> Maybe RenditionConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe RenditionConfigurationProperty
renditionConfiguration,
                  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 -> ThumbnailConfigurationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ThumbnailConfiguration"
                    (ThumbnailConfigurationProperty -> (Key, Value))
-> Maybe ThumbnailConfigurationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ThumbnailConfigurationProperty
thumbnailConfiguration])))
instance Property "DestinationConfiguration" RecordingConfiguration where
  type PropertyType "DestinationConfiguration" RecordingConfiguration = DestinationConfigurationProperty
  set :: PropertyType "DestinationConfiguration" RecordingConfiguration
-> RecordingConfiguration -> RecordingConfiguration
set PropertyType "DestinationConfiguration" RecordingConfiguration
newValue RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = RecordingConfiguration {destinationConfiguration :: DestinationConfigurationProperty
destinationConfiguration = PropertyType "DestinationConfiguration" RecordingConfiguration
DestinationConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
haddock_workaround_ :: ()
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
instance Property "Name" RecordingConfiguration where
  type PropertyType "Name" RecordingConfiguration = Value Prelude.Text
  set :: PropertyType "Name" RecordingConfiguration
-> RecordingConfiguration -> RecordingConfiguration
set PropertyType "Name" RecordingConfiguration
newValue RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = RecordingConfiguration {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" RecordingConfiguration
Value Text
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
instance Property "RecordingReconnectWindowSeconds" RecordingConfiguration where
  type PropertyType "RecordingReconnectWindowSeconds" RecordingConfiguration = Value Prelude.Integer
  set :: PropertyType
  "RecordingReconnectWindowSeconds" RecordingConfiguration
-> RecordingConfiguration -> RecordingConfiguration
set PropertyType
  "RecordingReconnectWindowSeconds" RecordingConfiguration
newValue RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = RecordingConfiguration
        {recordingReconnectWindowSeconds :: Maybe (Value Integer)
recordingReconnectWindowSeconds = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "RecordingReconnectWindowSeconds" RecordingConfiguration
Value Integer
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
instance Property "RenditionConfiguration" RecordingConfiguration where
  type PropertyType "RenditionConfiguration" RecordingConfiguration = RenditionConfigurationProperty
  set :: PropertyType "RenditionConfiguration" RecordingConfiguration
-> RecordingConfiguration -> RecordingConfiguration
set PropertyType "RenditionConfiguration" RecordingConfiguration
newValue RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = RecordingConfiguration
        {renditionConfiguration :: Maybe RenditionConfigurationProperty
renditionConfiguration = RenditionConfigurationProperty
-> Maybe RenditionConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RenditionConfiguration" RecordingConfiguration
RenditionConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
instance Property "Tags" RecordingConfiguration where
  type PropertyType "Tags" RecordingConfiguration = [Tag]
  set :: PropertyType "Tags" RecordingConfiguration
-> RecordingConfiguration -> RecordingConfiguration
set PropertyType "Tags" RecordingConfiguration
newValue RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = RecordingConfiguration {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" RecordingConfiguration
newValue, Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
instance Property "ThumbnailConfiguration" RecordingConfiguration where
  type PropertyType "ThumbnailConfiguration" RecordingConfiguration = ThumbnailConfigurationProperty
  set :: PropertyType "ThumbnailConfiguration" RecordingConfiguration
-> RecordingConfiguration -> RecordingConfiguration
set PropertyType "ThumbnailConfiguration" RecordingConfiguration
newValue RecordingConfiguration {Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
Maybe ThumbnailConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: RecordingConfiguration -> ()
destinationConfiguration :: RecordingConfiguration -> DestinationConfigurationProperty
name :: RecordingConfiguration -> Maybe (Value Text)
recordingReconnectWindowSeconds :: RecordingConfiguration -> Maybe (Value Integer)
renditionConfiguration :: RecordingConfiguration -> Maybe RenditionConfigurationProperty
tags :: RecordingConfiguration -> Maybe [Tag]
thumbnailConfiguration :: RecordingConfiguration -> Maybe ThumbnailConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
..}
    = RecordingConfiguration
        {thumbnailConfiguration :: Maybe ThumbnailConfigurationProperty
thumbnailConfiguration = ThumbnailConfigurationProperty
-> Maybe ThumbnailConfigurationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ThumbnailConfiguration" RecordingConfiguration
ThumbnailConfigurationProperty
newValue, Maybe [Tag]
Maybe (Value Integer)
Maybe (Value Text)
Maybe RenditionConfigurationProperty
()
DestinationConfigurationProperty
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
haddock_workaround_ :: ()
destinationConfiguration :: DestinationConfigurationProperty
name :: Maybe (Value Text)
recordingReconnectWindowSeconds :: Maybe (Value Integer)
renditionConfiguration :: Maybe RenditionConfigurationProperty
tags :: Maybe [Tag]
..}