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