module Stratosphere.DMS.ReplicationConfig (
        module Exports, ReplicationConfig(..), mkReplicationConfig
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DMS.ReplicationConfig.ComputeConfigProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data ReplicationConfig
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html>
    ReplicationConfig {ReplicationConfig -> ()
haddock_workaround_ :: (),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-computeconfig>
                       ReplicationConfig -> ComputeConfigProperty
computeConfig :: ComputeConfigProperty,
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-replicationconfigidentifier>
                       ReplicationConfig -> Value Text
replicationConfigIdentifier :: (Value Prelude.Text),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-replicationsettings>
                       ReplicationConfig -> Maybe Object
replicationSettings :: (Prelude.Maybe JSON.Object),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-replicationtype>
                       ReplicationConfig -> Value Text
replicationType :: (Value Prelude.Text),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-resourceidentifier>
                       ReplicationConfig -> Maybe (Value Text)
resourceIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-sourceendpointarn>
                       ReplicationConfig -> Value Text
sourceEndpointArn :: (Value Prelude.Text),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-supplementalsettings>
                       ReplicationConfig -> Maybe Object
supplementalSettings :: (Prelude.Maybe JSON.Object),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-tablemappings>
                       ReplicationConfig -> Object
tableMappings :: JSON.Object,
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-tags>
                       ReplicationConfig -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
                       -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationconfig.html#cfn-dms-replicationconfig-targetendpointarn>
                       ReplicationConfig -> Value Text
targetEndpointArn :: (Value Prelude.Text)}
  deriving stock (ReplicationConfig -> ReplicationConfig -> Bool
(ReplicationConfig -> ReplicationConfig -> Bool)
-> (ReplicationConfig -> ReplicationConfig -> Bool)
-> Eq ReplicationConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: ReplicationConfig -> ReplicationConfig -> Bool
== :: ReplicationConfig -> ReplicationConfig -> Bool
$c/= :: ReplicationConfig -> ReplicationConfig -> Bool
/= :: ReplicationConfig -> ReplicationConfig -> Bool
Prelude.Eq, Int -> ReplicationConfig -> ShowS
[ReplicationConfig] -> ShowS
ReplicationConfig -> String
(Int -> ReplicationConfig -> ShowS)
-> (ReplicationConfig -> String)
-> ([ReplicationConfig] -> ShowS)
-> Show ReplicationConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> ReplicationConfig -> ShowS
showsPrec :: Int -> ReplicationConfig -> ShowS
$cshow :: ReplicationConfig -> String
show :: ReplicationConfig -> String
$cshowList :: [ReplicationConfig] -> ShowS
showList :: [ReplicationConfig] -> ShowS
Prelude.Show)
mkReplicationConfig ::
  ComputeConfigProperty
  -> Value Prelude.Text
     -> Value Prelude.Text
        -> Value Prelude.Text
           -> JSON.Object -> Value Prelude.Text -> ReplicationConfig
mkReplicationConfig :: ComputeConfigProperty
-> Value Text
-> Value Text
-> Value Text
-> Object
-> Value Text
-> ReplicationConfig
mkReplicationConfig
  ComputeConfigProperty
computeConfig
  Value Text
replicationConfigIdentifier
  Value Text
replicationType
  Value Text
sourceEndpointArn
  Object
tableMappings
  Value Text
targetEndpointArn
  = ReplicationConfig
      {haddock_workaround_ :: ()
haddock_workaround_ = (), computeConfig :: ComputeConfigProperty
computeConfig = ComputeConfigProperty
computeConfig,
       replicationConfigIdentifier :: Value Text
replicationConfigIdentifier = Value Text
replicationConfigIdentifier,
       replicationType :: Value Text
replicationType = Value Text
replicationType,
       sourceEndpointArn :: Value Text
sourceEndpointArn = Value Text
sourceEndpointArn,
       tableMappings :: Object
tableMappings = Object
tableMappings,
       targetEndpointArn :: Value Text
targetEndpointArn = Value Text
targetEndpointArn,
       replicationSettings :: Maybe Object
replicationSettings = Maybe Object
forall a. Maybe a
Prelude.Nothing,
       resourceIdentifier :: Maybe (Value Text)
resourceIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       supplementalSettings :: Maybe Object
supplementalSettings = Maybe Object
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties ReplicationConfig where
  toResourceProperties :: ReplicationConfig -> ResourceProperties
toResourceProperties ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::DMS::ReplicationConfig",
         supportsTags :: Bool
supportsTags = Bool
Prelude.True,
         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
"ComputeConfig" Key -> ComputeConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ComputeConfigProperty
computeConfig,
                            Key
"ReplicationConfigIdentifier" 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
replicationConfigIdentifier,
                            Key
"ReplicationType" 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
replicationType,
                            Key
"SourceEndpointArn" 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
sourceEndpointArn,
                            Key
"TableMappings" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
tableMappings,
                            Key
"TargetEndpointArn" 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
targetEndpointArn]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReplicationSettings" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
replicationSettings,
                               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..=) Key
"ResourceIdentifier" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
resourceIdentifier,
                               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SupplementalSettings" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
supplementalSettings,
                               Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags]))}
instance JSON.ToJSON ReplicationConfig where
  toJSON :: ReplicationConfig -> Value
toJSON ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = [(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
"ComputeConfig" Key -> ComputeConfigProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= ComputeConfigProperty
computeConfig,
               Key
"ReplicationConfigIdentifier" 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
replicationConfigIdentifier,
               Key
"ReplicationType" 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
replicationType,
               Key
"SourceEndpointArn" 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
sourceEndpointArn,
               Key
"TableMappings" Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Object
tableMappings,
               Key
"TargetEndpointArn" 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
targetEndpointArn]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReplicationSettings" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
replicationSettings,
                  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..=) Key
"ResourceIdentifier" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
resourceIdentifier,
                  Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SupplementalSettings" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
supplementalSettings,
                  Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags])))
instance Property "ComputeConfig" ReplicationConfig where
  type PropertyType "ComputeConfig" ReplicationConfig = ComputeConfigProperty
  set :: PropertyType "ComputeConfig" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "ComputeConfig" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig {computeConfig :: ComputeConfigProperty
computeConfig = PropertyType "ComputeConfig" ReplicationConfig
ComputeConfigProperty
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
haddock_workaround_ :: ()
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "ReplicationConfigIdentifier" ReplicationConfig where
  type PropertyType "ReplicationConfigIdentifier" ReplicationConfig = Value Prelude.Text
  set :: PropertyType "ReplicationConfigIdentifier" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "ReplicationConfigIdentifier" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig {replicationConfigIdentifier :: Value Text
replicationConfigIdentifier = PropertyType "ReplicationConfigIdentifier" ReplicationConfig
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "ReplicationSettings" ReplicationConfig where
  type PropertyType "ReplicationSettings" ReplicationConfig = JSON.Object
  set :: PropertyType "ReplicationSettings" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "ReplicationSettings" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig
        {replicationSettings :: Maybe Object
replicationSettings = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "ReplicationSettings" ReplicationConfig
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "ReplicationType" ReplicationConfig where
  type PropertyType "ReplicationType" ReplicationConfig = Value Prelude.Text
  set :: PropertyType "ReplicationType" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "ReplicationType" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig {replicationType :: Value Text
replicationType = PropertyType "ReplicationType" ReplicationConfig
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "ResourceIdentifier" ReplicationConfig where
  type PropertyType "ResourceIdentifier" ReplicationConfig = Value Prelude.Text
  set :: PropertyType "ResourceIdentifier" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "ResourceIdentifier" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig
        {resourceIdentifier :: Maybe (Value Text)
resourceIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ResourceIdentifier" ReplicationConfig
Value Text
newValue, Maybe [Tag]
Maybe Object
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "SourceEndpointArn" ReplicationConfig where
  type PropertyType "SourceEndpointArn" ReplicationConfig = Value Prelude.Text
  set :: PropertyType "SourceEndpointArn" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "SourceEndpointArn" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig {sourceEndpointArn :: Value Text
sourceEndpointArn = PropertyType "SourceEndpointArn" ReplicationConfig
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "SupplementalSettings" ReplicationConfig where
  type PropertyType "SupplementalSettings" ReplicationConfig = JSON.Object
  set :: PropertyType "SupplementalSettings" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "SupplementalSettings" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig
        {supplementalSettings :: Maybe Object
supplementalSettings = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "SupplementalSettings" ReplicationConfig
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "TableMappings" ReplicationConfig where
  type PropertyType "TableMappings" ReplicationConfig = JSON.Object
  set :: PropertyType "TableMappings" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "TableMappings" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig {tableMappings :: Object
tableMappings = Object
PropertyType "TableMappings" ReplicationConfig
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
instance Property "Tags" ReplicationConfig where
  type PropertyType "Tags" ReplicationConfig = [Tag]
  set :: PropertyType "Tags" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "Tags" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" ReplicationConfig
newValue, Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
targetEndpointArn :: Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
targetEndpointArn :: Value Text
..}
instance Property "TargetEndpointArn" ReplicationConfig where
  type PropertyType "TargetEndpointArn" ReplicationConfig = Value Prelude.Text
  set :: PropertyType "TargetEndpointArn" ReplicationConfig
-> ReplicationConfig -> ReplicationConfig
set PropertyType "TargetEndpointArn" ReplicationConfig
newValue ReplicationConfig {Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ReplicationConfig -> ()
computeConfig :: ReplicationConfig -> ComputeConfigProperty
replicationConfigIdentifier :: ReplicationConfig -> Value Text
replicationSettings :: ReplicationConfig -> Maybe Object
replicationType :: ReplicationConfig -> Value Text
resourceIdentifier :: ReplicationConfig -> Maybe (Value Text)
sourceEndpointArn :: ReplicationConfig -> Value Text
supplementalSettings :: ReplicationConfig -> Maybe Object
tableMappings :: ReplicationConfig -> Object
tags :: ReplicationConfig -> Maybe [Tag]
targetEndpointArn :: ReplicationConfig -> Value Text
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
targetEndpointArn :: Value Text
..}
    = ReplicationConfig {targetEndpointArn :: Value Text
targetEndpointArn = PropertyType "TargetEndpointArn" ReplicationConfig
Value Text
newValue, Maybe [Tag]
Maybe Object
Maybe (Value Text)
()
Object
Value Text
ComputeConfigProperty
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
haddock_workaround_ :: ()
computeConfig :: ComputeConfigProperty
replicationConfigIdentifier :: Value Text
replicationSettings :: Maybe Object
replicationType :: Value Text
resourceIdentifier :: Maybe (Value Text)
sourceEndpointArn :: Value Text
supplementalSettings :: Maybe Object
tableMappings :: Object
tags :: Maybe [Tag]
..}