module Stratosphere.Bedrock.FlowVersion.FlowNodeInputProperty (
FlowNodeInputProperty(..), mkFlowNodeInputProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import Stratosphere.ResourceProperties
import Stratosphere.Value
data FlowNodeInputProperty
=
FlowNodeInputProperty {FlowNodeInputProperty -> ()
haddock_workaround_ :: (),
FlowNodeInputProperty -> Value Text
expression :: (Value Prelude.Text),
FlowNodeInputProperty -> Value Text
name :: (Value Prelude.Text),
FlowNodeInputProperty -> Value Text
type' :: (Value Prelude.Text)}
deriving stock (FlowNodeInputProperty -> FlowNodeInputProperty -> Bool
(FlowNodeInputProperty -> FlowNodeInputProperty -> Bool)
-> (FlowNodeInputProperty -> FlowNodeInputProperty -> Bool)
-> Eq FlowNodeInputProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: FlowNodeInputProperty -> FlowNodeInputProperty -> Bool
== :: FlowNodeInputProperty -> FlowNodeInputProperty -> Bool
$c/= :: FlowNodeInputProperty -> FlowNodeInputProperty -> Bool
/= :: FlowNodeInputProperty -> FlowNodeInputProperty -> Bool
Prelude.Eq, Int -> FlowNodeInputProperty -> ShowS
[FlowNodeInputProperty] -> ShowS
FlowNodeInputProperty -> String
(Int -> FlowNodeInputProperty -> ShowS)
-> (FlowNodeInputProperty -> String)
-> ([FlowNodeInputProperty] -> ShowS)
-> Show FlowNodeInputProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> FlowNodeInputProperty -> ShowS
showsPrec :: Int -> FlowNodeInputProperty -> ShowS
$cshow :: FlowNodeInputProperty -> String
show :: FlowNodeInputProperty -> String
$cshowList :: [FlowNodeInputProperty] -> ShowS
showList :: [FlowNodeInputProperty] -> ShowS
Prelude.Show)
mkFlowNodeInputProperty ::
Value Prelude.Text
-> Value Prelude.Text
-> Value Prelude.Text -> FlowNodeInputProperty
mkFlowNodeInputProperty :: Value Text -> Value Text -> Value Text -> FlowNodeInputProperty
mkFlowNodeInputProperty Value Text
expression Value Text
name Value Text
type'
= FlowNodeInputProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), expression :: Value Text
expression = Value Text
expression, name :: Value Text
name = Value Text
name,
type' :: Value Text
type' = Value Text
type'}
instance ToResourceProperties FlowNodeInputProperty where
toResourceProperties :: FlowNodeInputProperty -> ResourceProperties
toResourceProperties FlowNodeInputProperty {()
Value Text
haddock_workaround_ :: FlowNodeInputProperty -> ()
expression :: FlowNodeInputProperty -> Value Text
name :: FlowNodeInputProperty -> Value Text
type' :: FlowNodeInputProperty -> Value Text
haddock_workaround_ :: ()
expression :: Value Text
name :: Value Text
type' :: Value Text
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::Bedrock::FlowVersion.FlowNodeInput",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Key
"Expression" 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
expression, Key
"Name" 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
name,
Key
"Type" 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
type']}
instance JSON.ToJSON FlowNodeInputProperty where
toJSON :: FlowNodeInputProperty -> Value
toJSON FlowNodeInputProperty {()
Value Text
haddock_workaround_ :: FlowNodeInputProperty -> ()
expression :: FlowNodeInputProperty -> Value Text
name :: FlowNodeInputProperty -> Value Text
type' :: FlowNodeInputProperty -> Value Text
haddock_workaround_ :: ()
expression :: Value Text
name :: Value Text
type' :: Value Text
..}
= [(Key, Value)] -> Value
JSON.object
[Key
"Expression" 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
expression, Key
"Name" 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
name,
Key
"Type" 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
type']
instance Property "Expression" FlowNodeInputProperty where
type PropertyType "Expression" FlowNodeInputProperty = Value Prelude.Text
set :: PropertyType "Expression" FlowNodeInputProperty
-> FlowNodeInputProperty -> FlowNodeInputProperty
set PropertyType "Expression" FlowNodeInputProperty
newValue FlowNodeInputProperty {()
Value Text
haddock_workaround_ :: FlowNodeInputProperty -> ()
expression :: FlowNodeInputProperty -> Value Text
name :: FlowNodeInputProperty -> Value Text
type' :: FlowNodeInputProperty -> Value Text
haddock_workaround_ :: ()
expression :: Value Text
name :: Value Text
type' :: Value Text
..}
= FlowNodeInputProperty {expression :: Value Text
expression = PropertyType "Expression" FlowNodeInputProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
name :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
name :: Value Text
type' :: Value Text
..}
instance Property "Name" FlowNodeInputProperty where
type PropertyType "Name" FlowNodeInputProperty = Value Prelude.Text
set :: PropertyType "Name" FlowNodeInputProperty
-> FlowNodeInputProperty -> FlowNodeInputProperty
set PropertyType "Name" FlowNodeInputProperty
newValue FlowNodeInputProperty {()
Value Text
haddock_workaround_ :: FlowNodeInputProperty -> ()
expression :: FlowNodeInputProperty -> Value Text
name :: FlowNodeInputProperty -> Value Text
type' :: FlowNodeInputProperty -> Value Text
haddock_workaround_ :: ()
expression :: Value Text
name :: Value Text
type' :: Value Text
..}
= FlowNodeInputProperty {name :: Value Text
name = PropertyType "Name" FlowNodeInputProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
expression :: Value Text
type' :: Value Text
haddock_workaround_ :: ()
expression :: Value Text
type' :: Value Text
..}
instance Property "Type" FlowNodeInputProperty where
type PropertyType "Type" FlowNodeInputProperty = Value Prelude.Text
set :: PropertyType "Type" FlowNodeInputProperty
-> FlowNodeInputProperty -> FlowNodeInputProperty
set PropertyType "Type" FlowNodeInputProperty
newValue FlowNodeInputProperty {()
Value Text
haddock_workaround_ :: FlowNodeInputProperty -> ()
expression :: FlowNodeInputProperty -> Value Text
name :: FlowNodeInputProperty -> Value Text
type' :: FlowNodeInputProperty -> Value Text
haddock_workaround_ :: ()
expression :: Value Text
name :: Value Text
type' :: Value Text
..}
= FlowNodeInputProperty {type' :: Value Text
type' = PropertyType "Type" FlowNodeInputProperty
Value Text
newValue, ()
Value Text
haddock_workaround_ :: ()
expression :: Value Text
name :: Value Text
haddock_workaround_ :: ()
expression :: Value Text
name :: Value Text
..}