module Stratosphere.EntityResolution.IdNamespace.IdNamespaceIdMappingWorkflowPropertiesProperty (
module Exports, IdNamespaceIdMappingWorkflowPropertiesProperty(..),
mkIdNamespaceIdMappingWorkflowPropertiesProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.EntityResolution.IdNamespace.NamespaceProviderPropertiesProperty as Exports
import {-# SOURCE #-} Stratosphere.EntityResolution.IdNamespace.NamespaceRuleBasedPropertiesProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data IdNamespaceIdMappingWorkflowPropertiesProperty
=
IdNamespaceIdMappingWorkflowPropertiesProperty {IdNamespaceIdMappingWorkflowPropertiesProperty -> ()
haddock_workaround_ :: (),
IdNamespaceIdMappingWorkflowPropertiesProperty -> Value Text
idMappingType :: (Value Prelude.Text),
IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceProviderPropertiesProperty
providerProperties :: (Prelude.Maybe NamespaceProviderPropertiesProperty),
IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceRuleBasedPropertiesProperty
ruleBasedProperties :: (Prelude.Maybe NamespaceRuleBasedPropertiesProperty)}
deriving stock (IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty -> Bool
(IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty -> Bool)
-> (IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty -> Bool)
-> Eq IdNamespaceIdMappingWorkflowPropertiesProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty -> Bool
== :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty -> Bool
$c/= :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty -> Bool
/= :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty -> Bool
Prelude.Eq, Int -> IdNamespaceIdMappingWorkflowPropertiesProperty -> ShowS
[IdNamespaceIdMappingWorkflowPropertiesProperty] -> ShowS
IdNamespaceIdMappingWorkflowPropertiesProperty -> String
(Int -> IdNamespaceIdMappingWorkflowPropertiesProperty -> ShowS)
-> (IdNamespaceIdMappingWorkflowPropertiesProperty -> String)
-> ([IdNamespaceIdMappingWorkflowPropertiesProperty] -> ShowS)
-> Show IdNamespaceIdMappingWorkflowPropertiesProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> IdNamespaceIdMappingWorkflowPropertiesProperty -> ShowS
showsPrec :: Int -> IdNamespaceIdMappingWorkflowPropertiesProperty -> ShowS
$cshow :: IdNamespaceIdMappingWorkflowPropertiesProperty -> String
show :: IdNamespaceIdMappingWorkflowPropertiesProperty -> String
$cshowList :: [IdNamespaceIdMappingWorkflowPropertiesProperty] -> ShowS
showList :: [IdNamespaceIdMappingWorkflowPropertiesProperty] -> ShowS
Prelude.Show)
mkIdNamespaceIdMappingWorkflowPropertiesProperty ::
Value Prelude.Text
-> IdNamespaceIdMappingWorkflowPropertiesProperty
mkIdNamespaceIdMappingWorkflowPropertiesProperty :: Value Text -> IdNamespaceIdMappingWorkflowPropertiesProperty
mkIdNamespaceIdMappingWorkflowPropertiesProperty Value Text
idMappingType
= IdNamespaceIdMappingWorkflowPropertiesProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), idMappingType :: Value Text
idMappingType = Value Text
idMappingType,
providerProperties :: Maybe NamespaceProviderPropertiesProperty
providerProperties = Maybe NamespaceProviderPropertiesProperty
forall a. Maybe a
Prelude.Nothing,
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
ruleBasedProperties = Maybe NamespaceRuleBasedPropertiesProperty
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties IdNamespaceIdMappingWorkflowPropertiesProperty where
toResourceProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> ResourceProperties
toResourceProperties
IdNamespaceIdMappingWorkflowPropertiesProperty {Maybe NamespaceProviderPropertiesProperty
Maybe NamespaceRuleBasedPropertiesProperty
()
Value Text
haddock_workaround_ :: IdNamespaceIdMappingWorkflowPropertiesProperty -> ()
idMappingType :: IdNamespaceIdMappingWorkflowPropertiesProperty -> Value Text
providerProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceRuleBasedPropertiesProperty
haddock_workaround_ :: ()
idMappingType :: Value Text
providerProperties :: Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::EntityResolution::IdNamespace.IdNamespaceIdMappingWorkflowProperties",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
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
"IdMappingType" 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
idMappingType]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> NamespaceProviderPropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProviderProperties" (NamespaceProviderPropertiesProperty -> (Key, Value))
-> Maybe NamespaceProviderPropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NamespaceProviderPropertiesProperty
providerProperties,
Key -> NamespaceRuleBasedPropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleBasedProperties" (NamespaceRuleBasedPropertiesProperty -> (Key, Value))
-> Maybe NamespaceRuleBasedPropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NamespaceRuleBasedPropertiesProperty
ruleBasedProperties]))}
instance JSON.ToJSON IdNamespaceIdMappingWorkflowPropertiesProperty where
toJSON :: IdNamespaceIdMappingWorkflowPropertiesProperty -> Value
toJSON IdNamespaceIdMappingWorkflowPropertiesProperty {Maybe NamespaceProviderPropertiesProperty
Maybe NamespaceRuleBasedPropertiesProperty
()
Value Text
haddock_workaround_ :: IdNamespaceIdMappingWorkflowPropertiesProperty -> ()
idMappingType :: IdNamespaceIdMappingWorkflowPropertiesProperty -> Value Text
providerProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceRuleBasedPropertiesProperty
haddock_workaround_ :: ()
idMappingType :: Value Text
providerProperties :: Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
..}
= [(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
"IdMappingType" 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
idMappingType]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> NamespaceProviderPropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ProviderProperties" (NamespaceProviderPropertiesProperty -> (Key, Value))
-> Maybe NamespaceProviderPropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NamespaceProviderPropertiesProperty
providerProperties,
Key -> NamespaceRuleBasedPropertiesProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RuleBasedProperties" (NamespaceRuleBasedPropertiesProperty -> (Key, Value))
-> Maybe NamespaceRuleBasedPropertiesProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe NamespaceRuleBasedPropertiesProperty
ruleBasedProperties])))
instance Property "IdMappingType" IdNamespaceIdMappingWorkflowPropertiesProperty where
type PropertyType "IdMappingType" IdNamespaceIdMappingWorkflowPropertiesProperty = Value Prelude.Text
set :: PropertyType
"IdMappingType" IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty
set PropertyType
"IdMappingType" IdNamespaceIdMappingWorkflowPropertiesProperty
newValue IdNamespaceIdMappingWorkflowPropertiesProperty {Maybe NamespaceProviderPropertiesProperty
Maybe NamespaceRuleBasedPropertiesProperty
()
Value Text
haddock_workaround_ :: IdNamespaceIdMappingWorkflowPropertiesProperty -> ()
idMappingType :: IdNamespaceIdMappingWorkflowPropertiesProperty -> Value Text
providerProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceRuleBasedPropertiesProperty
haddock_workaround_ :: ()
idMappingType :: Value Text
providerProperties :: Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
..}
= IdNamespaceIdMappingWorkflowPropertiesProperty
{idMappingType :: Value Text
idMappingType = PropertyType
"IdMappingType" IdNamespaceIdMappingWorkflowPropertiesProperty
Value Text
newValue, Maybe NamespaceProviderPropertiesProperty
Maybe NamespaceRuleBasedPropertiesProperty
()
haddock_workaround_ :: ()
providerProperties :: Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
haddock_workaround_ :: ()
providerProperties :: Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
..}
instance Property "ProviderProperties" IdNamespaceIdMappingWorkflowPropertiesProperty where
type PropertyType "ProviderProperties" IdNamespaceIdMappingWorkflowPropertiesProperty = NamespaceProviderPropertiesProperty
set :: PropertyType
"ProviderProperties" IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty
set PropertyType
"ProviderProperties" IdNamespaceIdMappingWorkflowPropertiesProperty
newValue IdNamespaceIdMappingWorkflowPropertiesProperty {Maybe NamespaceProviderPropertiesProperty
Maybe NamespaceRuleBasedPropertiesProperty
()
Value Text
haddock_workaround_ :: IdNamespaceIdMappingWorkflowPropertiesProperty -> ()
idMappingType :: IdNamespaceIdMappingWorkflowPropertiesProperty -> Value Text
providerProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceRuleBasedPropertiesProperty
haddock_workaround_ :: ()
idMappingType :: Value Text
providerProperties :: Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
..}
= IdNamespaceIdMappingWorkflowPropertiesProperty
{providerProperties :: Maybe NamespaceProviderPropertiesProperty
providerProperties = NamespaceProviderPropertiesProperty
-> Maybe NamespaceProviderPropertiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"ProviderProperties" IdNamespaceIdMappingWorkflowPropertiesProperty
NamespaceProviderPropertiesProperty
newValue, Maybe NamespaceRuleBasedPropertiesProperty
()
Value Text
haddock_workaround_ :: ()
idMappingType :: Value Text
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
haddock_workaround_ :: ()
idMappingType :: Value Text
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
..}
instance Property "RuleBasedProperties" IdNamespaceIdMappingWorkflowPropertiesProperty where
type PropertyType "RuleBasedProperties" IdNamespaceIdMappingWorkflowPropertiesProperty = NamespaceRuleBasedPropertiesProperty
set :: PropertyType
"RuleBasedProperties"
IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty
-> IdNamespaceIdMappingWorkflowPropertiesProperty
set PropertyType
"RuleBasedProperties"
IdNamespaceIdMappingWorkflowPropertiesProperty
newValue IdNamespaceIdMappingWorkflowPropertiesProperty {Maybe NamespaceProviderPropertiesProperty
Maybe NamespaceRuleBasedPropertiesProperty
()
Value Text
haddock_workaround_ :: IdNamespaceIdMappingWorkflowPropertiesProperty -> ()
idMappingType :: IdNamespaceIdMappingWorkflowPropertiesProperty -> Value Text
providerProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: IdNamespaceIdMappingWorkflowPropertiesProperty
-> Maybe NamespaceRuleBasedPropertiesProperty
haddock_workaround_ :: ()
idMappingType :: Value Text
providerProperties :: Maybe NamespaceProviderPropertiesProperty
ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
..}
= IdNamespaceIdMappingWorkflowPropertiesProperty
{ruleBasedProperties :: Maybe NamespaceRuleBasedPropertiesProperty
ruleBasedProperties = NamespaceRuleBasedPropertiesProperty
-> Maybe NamespaceRuleBasedPropertiesProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
"RuleBasedProperties"
IdNamespaceIdMappingWorkflowPropertiesProperty
NamespaceRuleBasedPropertiesProperty
newValue, Maybe NamespaceProviderPropertiesProperty
()
Value Text
haddock_workaround_ :: ()
idMappingType :: Value Text
providerProperties :: Maybe NamespaceProviderPropertiesProperty
haddock_workaround_ :: ()
idMappingType :: Value Text
providerProperties :: Maybe NamespaceProviderPropertiesProperty
..}