module Stratosphere.Rekognition.StreamProcessor.KinesisVideoStreamProperty (
KinesisVideoStreamProperty(..), mkKinesisVideoStreamProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data KinesisVideoStreamProperty
=
KinesisVideoStreamProperty {KinesisVideoStreamProperty -> ()
haddock_workaround_ :: (),
KinesisVideoStreamProperty -> Value Text
arn :: (Value Prelude.Text)}
deriving stock (KinesisVideoStreamProperty -> KinesisVideoStreamProperty -> Bool
(KinesisVideoStreamProperty -> KinesisVideoStreamProperty -> Bool)
-> (KinesisVideoStreamProperty
-> KinesisVideoStreamProperty -> Bool)
-> Eq KinesisVideoStreamProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: KinesisVideoStreamProperty -> KinesisVideoStreamProperty -> Bool
== :: KinesisVideoStreamProperty -> KinesisVideoStreamProperty -> Bool
$c/= :: KinesisVideoStreamProperty -> KinesisVideoStreamProperty -> Bool
/= :: KinesisVideoStreamProperty -> KinesisVideoStreamProperty -> Bool
Prelude.Eq, Int -> KinesisVideoStreamProperty -> ShowS
[KinesisVideoStreamProperty] -> ShowS
KinesisVideoStreamProperty -> String
(Int -> KinesisVideoStreamProperty -> ShowS)
-> (KinesisVideoStreamProperty -> String)
-> ([KinesisVideoStreamProperty] -> ShowS)
-> Show KinesisVideoStreamProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> KinesisVideoStreamProperty -> ShowS
showsPrec :: Int -> KinesisVideoStreamProperty -> ShowS
$cshow :: KinesisVideoStreamProperty -> String
show :: KinesisVideoStreamProperty -> String
$cshowList :: [KinesisVideoStreamProperty] -> ShowS
showList :: [KinesisVideoStreamProperty] -> ShowS
Prelude.Show)
mkKinesisVideoStreamProperty ::
Value Prelude.Text -> KinesisVideoStreamProperty
mkKinesisVideoStreamProperty :: Value Text -> KinesisVideoStreamProperty
mkKinesisVideoStreamProperty Value Text
arn
= KinesisVideoStreamProperty {haddock_workaround_ :: ()
haddock_workaround_ = (), arn :: Value Text
arn = Value Text
arn}
instance ToResourceProperties KinesisVideoStreamProperty where
toResourceProperties :: KinesisVideoStreamProperty -> ResourceProperties
toResourceProperties KinesisVideoStreamProperty {()
Value Text
haddock_workaround_ :: KinesisVideoStreamProperty -> ()
arn :: KinesisVideoStreamProperty -> Value Text
haddock_workaround_ :: ()
arn :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Rekognition::StreamProcessor.KinesisVideoStream",
supportsTags :: Bool
supportsTags = Bool
Prelude.False, properties :: Object
properties = [Key
"Arn" 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
arn]}
instance JSON.ToJSON KinesisVideoStreamProperty where
toJSON :: KinesisVideoStreamProperty -> Value
toJSON KinesisVideoStreamProperty {()
Value Text
haddock_workaround_ :: KinesisVideoStreamProperty -> ()
arn :: KinesisVideoStreamProperty -> Value Text
haddock_workaround_ :: ()
arn :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object [Key
"Arn" 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
arn]
instance Property "Arn" KinesisVideoStreamProperty where
type PropertyType "Arn" KinesisVideoStreamProperty = Value Prelude.Text
set :: PropertyType "Arn" KinesisVideoStreamProperty
-> KinesisVideoStreamProperty -> KinesisVideoStreamProperty
set PropertyType "Arn" KinesisVideoStreamProperty
newValue KinesisVideoStreamProperty {()
Value Text
haddock_workaround_ :: KinesisVideoStreamProperty -> ()
arn :: KinesisVideoStreamProperty -> Value Text
haddock_workaround_ :: ()
arn :: Value Text
..}
= KinesisVideoStreamProperty {arn :: Value Text
arn = PropertyType "Arn" KinesisVideoStreamProperty
Value Text
newValue, ()
haddock_workaround_ :: ()
haddock_workaround_ :: ()
..}