module Stratosphere.DMS.DataMigration (
module Exports, DataMigration(..), mkDataMigration
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.DMS.DataMigration.DataMigrationSettingsProperty as Exports
import {-# SOURCE #-} Stratosphere.DMS.DataMigration.SourceDataSettingsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data DataMigration
=
DataMigration {DataMigration -> ()
haddock_workaround_ :: (),
DataMigration -> Maybe (Value Text)
dataMigrationIdentifier :: (Prelude.Maybe (Value Prelude.Text)),
DataMigration -> Maybe (Value Text)
dataMigrationName :: (Prelude.Maybe (Value Prelude.Text)),
DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationSettings :: (Prelude.Maybe DataMigrationSettingsProperty),
DataMigration -> Value Text
dataMigrationType :: (Value Prelude.Text),
DataMigration -> Value Text
migrationProjectIdentifier :: (Value Prelude.Text),
DataMigration -> Value Text
serviceAccessRoleArn :: (Value Prelude.Text),
DataMigration -> Maybe [SourceDataSettingsProperty]
sourceDataSettings :: (Prelude.Maybe [SourceDataSettingsProperty]),
DataMigration -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag])}
deriving stock (DataMigration -> DataMigration -> Bool
(DataMigration -> DataMigration -> Bool)
-> (DataMigration -> DataMigration -> Bool) -> Eq DataMigration
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DataMigration -> DataMigration -> Bool
== :: DataMigration -> DataMigration -> Bool
$c/= :: DataMigration -> DataMigration -> Bool
/= :: DataMigration -> DataMigration -> Bool
Prelude.Eq, Int -> DataMigration -> ShowS
[DataMigration] -> ShowS
DataMigration -> String
(Int -> DataMigration -> ShowS)
-> (DataMigration -> String)
-> ([DataMigration] -> ShowS)
-> Show DataMigration
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DataMigration -> ShowS
showsPrec :: Int -> DataMigration -> ShowS
$cshow :: DataMigration -> String
show :: DataMigration -> String
$cshowList :: [DataMigration] -> ShowS
showList :: [DataMigration] -> ShowS
Prelude.Show)
mkDataMigration ::
Value Prelude.Text
-> Value Prelude.Text -> Value Prelude.Text -> DataMigration
mkDataMigration :: Value Text -> Value Text -> Value Text -> DataMigration
mkDataMigration
Value Text
dataMigrationType
Value Text
migrationProjectIdentifier
Value Text
serviceAccessRoleArn
= DataMigration
{haddock_workaround_ :: ()
haddock_workaround_ = (), dataMigrationType :: Value Text
dataMigrationType = Value Text
dataMigrationType,
migrationProjectIdentifier :: Value Text
migrationProjectIdentifier = Value Text
migrationProjectIdentifier,
serviceAccessRoleArn :: Value Text
serviceAccessRoleArn = Value Text
serviceAccessRoleArn,
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationIdentifier = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
dataMigrationName :: Maybe (Value Text)
dataMigrationName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationSettings = Maybe DataMigrationSettingsProperty
forall a. Maybe a
Prelude.Nothing,
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
sourceDataSettings = Maybe [SourceDataSettingsProperty]
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DataMigration where
toResourceProperties :: DataMigration -> ResourceProperties
toResourceProperties DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::DMS::DataMigration", 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
"DataMigrationType" 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
dataMigrationType,
Key
"MigrationProjectIdentifier" 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
migrationProjectIdentifier,
Key
"ServiceAccessRoleArn" 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
serviceAccessRoleArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"DataMigrationIdentifier"
(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)
dataMigrationIdentifier,
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
"DataMigrationName" (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)
dataMigrationName,
Key -> DataMigrationSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataMigrationSettings"
(DataMigrationSettingsProperty -> (Key, Value))
-> Maybe DataMigrationSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataMigrationSettingsProperty
dataMigrationSettings,
Key -> [SourceDataSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceDataSettings" ([SourceDataSettingsProperty] -> (Key, Value))
-> Maybe [SourceDataSettingsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SourceDataSettingsProperty]
sourceDataSettings,
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 DataMigration where
toJSON :: DataMigration -> Value
toJSON DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= [(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
"DataMigrationType" 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
dataMigrationType,
Key
"MigrationProjectIdentifier" 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
migrationProjectIdentifier,
Key
"ServiceAccessRoleArn" 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
serviceAccessRoleArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"DataMigrationIdentifier"
(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)
dataMigrationIdentifier,
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
"DataMigrationName" (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)
dataMigrationName,
Key -> DataMigrationSettingsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataMigrationSettings"
(DataMigrationSettingsProperty -> (Key, Value))
-> Maybe DataMigrationSettingsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataMigrationSettingsProperty
dataMigrationSettings,
Key -> [SourceDataSettingsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"SourceDataSettings" ([SourceDataSettingsProperty] -> (Key, Value))
-> Maybe [SourceDataSettingsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SourceDataSettingsProperty]
sourceDataSettings,
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 "DataMigrationIdentifier" DataMigration where
type PropertyType "DataMigrationIdentifier" DataMigration = Value Prelude.Text
set :: PropertyType "DataMigrationIdentifier" DataMigration
-> DataMigration -> DataMigration
set PropertyType "DataMigrationIdentifier" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration
{dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationIdentifier = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataMigrationIdentifier" DataMigration
Value Text
newValue, Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: ()
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
instance Property "DataMigrationName" DataMigration where
type PropertyType "DataMigrationName" DataMigration = Value Prelude.Text
set :: PropertyType "DataMigrationName" DataMigration
-> DataMigration -> DataMigration
set PropertyType "DataMigrationName" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration {dataMigrationName :: Maybe (Value Text)
dataMigrationName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataMigrationName" DataMigration
Value Text
newValue, Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
instance Property "DataMigrationSettings" DataMigration where
type PropertyType "DataMigrationSettings" DataMigration = DataMigrationSettingsProperty
set :: PropertyType "DataMigrationSettings" DataMigration
-> DataMigration -> DataMigration
set PropertyType "DataMigrationSettings" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration {dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationSettings = DataMigrationSettingsProperty
-> Maybe DataMigrationSettingsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataMigrationSettings" DataMigration
DataMigrationSettingsProperty
newValue, Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
instance Property "DataMigrationType" DataMigration where
type PropertyType "DataMigrationType" DataMigration = Value Prelude.Text
set :: PropertyType "DataMigrationType" DataMigration
-> DataMigration -> DataMigration
set PropertyType "DataMigrationType" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration {dataMigrationType :: Value Text
dataMigrationType = PropertyType "DataMigrationType" DataMigration
Value Text
newValue, Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
instance Property "MigrationProjectIdentifier" DataMigration where
type PropertyType "MigrationProjectIdentifier" DataMigration = Value Prelude.Text
set :: PropertyType "MigrationProjectIdentifier" DataMigration
-> DataMigration -> DataMigration
set PropertyType "MigrationProjectIdentifier" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration {migrationProjectIdentifier :: Value Text
migrationProjectIdentifier = PropertyType "MigrationProjectIdentifier" DataMigration
Value Text
newValue, Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
instance Property "ServiceAccessRoleArn" DataMigration where
type PropertyType "ServiceAccessRoleArn" DataMigration = Value Prelude.Text
set :: PropertyType "ServiceAccessRoleArn" DataMigration
-> DataMigration -> DataMigration
set PropertyType "ServiceAccessRoleArn" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration {serviceAccessRoleArn :: Value Text
serviceAccessRoleArn = PropertyType "ServiceAccessRoleArn" DataMigration
Value Text
newValue, Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
instance Property "SourceDataSettings" DataMigration where
type PropertyType "SourceDataSettings" DataMigration = [SourceDataSettingsProperty]
set :: PropertyType "SourceDataSettings" DataMigration
-> DataMigration -> DataMigration
set PropertyType "SourceDataSettings" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration {sourceDataSettings :: Maybe [SourceDataSettingsProperty]
sourceDataSettings = [SourceDataSettingsProperty] -> Maybe [SourceDataSettingsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [SourceDataSettingsProperty]
PropertyType "SourceDataSettings" DataMigration
newValue, Maybe [Tag]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
tags :: Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
tags :: Maybe [Tag]
..}
instance Property "Tags" DataMigration where
type PropertyType "Tags" DataMigration = [Tag]
set :: PropertyType "Tags" DataMigration -> DataMigration -> DataMigration
set PropertyType "Tags" DataMigration
newValue DataMigration {Maybe [Tag]
Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: DataMigration -> ()
dataMigrationIdentifier :: DataMigration -> Maybe (Value Text)
dataMigrationName :: DataMigration -> Maybe (Value Text)
dataMigrationSettings :: DataMigration -> Maybe DataMigrationSettingsProperty
dataMigrationType :: DataMigration -> Value Text
migrationProjectIdentifier :: DataMigration -> Value Text
serviceAccessRoleArn :: DataMigration -> Value Text
sourceDataSettings :: DataMigration -> Maybe [SourceDataSettingsProperty]
tags :: DataMigration -> Maybe [Tag]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
tags :: Maybe [Tag]
..}
= DataMigration {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" DataMigration
newValue, Maybe [SourceDataSettingsProperty]
Maybe (Value Text)
Maybe DataMigrationSettingsProperty
()
Value Text
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
haddock_workaround_ :: ()
dataMigrationIdentifier :: Maybe (Value Text)
dataMigrationName :: Maybe (Value Text)
dataMigrationSettings :: Maybe DataMigrationSettingsProperty
dataMigrationType :: Value Text
migrationProjectIdentifier :: Value Text
serviceAccessRoleArn :: Value Text
sourceDataSettings :: Maybe [SourceDataSettingsProperty]
..}