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