amazonka-dms-1.5.0: Amazon Database Migration Service SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.DMS.CreateReplicationTask

Contents

Description

Creates a replication task using the specified parameters.

Synopsis

Creating a Request

createReplicationTask Source #

Creates a value of CreateReplicationTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • crtReplicationTaskSettings - Settings for the task, such as target metadata settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks .
  • crtTags - Tags to be added to the replication instance.
  • crtCdcStartTime - The start time for the Change Data Capture (CDC) operation.
  • crtReplicationTaskIdentifier - The replication task identifier. Constraints: * Must contain from 1 to 255 alphanumeric characters or hyphens. * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens.
  • crtSourceEndpointARN - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  • crtTargetEndpointARN - The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.
  • crtReplicationInstanceARN - The Amazon Resource Name (ARN) of the replication instance.
  • crtMigrationType - The migration type.
  • crtTableMappings - When using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with "file:/". When working with the DMS API, provide the JSON as the parameter value. For example, --table-mappings file:/mappingfile.json

data CreateReplicationTask Source #

See: createReplicationTask smart constructor.

Instances

Eq CreateReplicationTask Source # 
Data CreateReplicationTask Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateReplicationTask -> c CreateReplicationTask #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateReplicationTask #

toConstr :: CreateReplicationTask -> Constr #

dataTypeOf :: CreateReplicationTask -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateReplicationTask) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateReplicationTask) #

gmapT :: (forall b. Data b => b -> b) -> CreateReplicationTask -> CreateReplicationTask #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateReplicationTask -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateReplicationTask -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateReplicationTask -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateReplicationTask -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateReplicationTask -> m CreateReplicationTask #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReplicationTask -> m CreateReplicationTask #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReplicationTask -> m CreateReplicationTask #

Read CreateReplicationTask Source # 
Show CreateReplicationTask Source # 
Generic CreateReplicationTask Source # 
Hashable CreateReplicationTask Source # 
ToJSON CreateReplicationTask Source # 
NFData CreateReplicationTask Source # 

Methods

rnf :: CreateReplicationTask -> () #

AWSRequest CreateReplicationTask Source # 
ToQuery CreateReplicationTask Source # 
ToPath CreateReplicationTask Source # 
ToHeaders CreateReplicationTask Source # 
type Rep CreateReplicationTask Source # 
type Rep CreateReplicationTask = D1 (MetaData "CreateReplicationTask" "Network.AWS.DMS.CreateReplicationTask" "amazonka-dms-1.5.0-K6vSYoWLw2X8OYk9sVbLk5" False) (C1 (MetaCons "CreateReplicationTask'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_crtReplicationTaskSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_crtTags") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tag])))) ((:*:) (S1 (MetaSel (Just Symbol "_crtCdcStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_crtReplicationTaskIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_crtSourceEndpointARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_crtTargetEndpointARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_crtReplicationInstanceARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_crtMigrationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 MigrationTypeValue)) (S1 (MetaSel (Just Symbol "_crtTableMappings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))))
type Rs CreateReplicationTask Source # 

Request Lenses

crtReplicationTaskSettings :: Lens' CreateReplicationTask (Maybe Text) Source #

Settings for the task, such as target metadata settings. For a complete list of task settings, see Task Settings for AWS Database Migration Service Tasks .

crtTags :: Lens' CreateReplicationTask [Tag] Source #

Tags to be added to the replication instance.

crtCdcStartTime :: Lens' CreateReplicationTask (Maybe UTCTime) Source #

The start time for the Change Data Capture (CDC) operation.

crtReplicationTaskIdentifier :: Lens' CreateReplicationTask Text Source #

The replication task identifier. Constraints: * Must contain from 1 to 255 alphanumeric characters or hyphens. * First character must be a letter. * Cannot end with a hyphen or contain two consecutive hyphens.

crtSourceEndpointARN :: Lens' CreateReplicationTask Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

crtTargetEndpointARN :: Lens' CreateReplicationTask Text Source #

The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.

crtReplicationInstanceARN :: Lens' CreateReplicationTask Text Source #

The Amazon Resource Name (ARN) of the replication instance.

crtTableMappings :: Lens' CreateReplicationTask Text Source #

When using the AWS CLI or boto3, provide the path of the JSON file that contains the table mappings. Precede the path with "file:/". When working with the DMS API, provide the JSON as the parameter value. For example, --table-mappings file:/mappingfile.json

Destructuring the Response

createReplicationTaskResponse Source #

Creates a value of CreateReplicationTaskResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateReplicationTaskResponse Source #

See: createReplicationTaskResponse smart constructor.

Instances

Eq CreateReplicationTaskResponse Source # 
Data CreateReplicationTaskResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateReplicationTaskResponse -> c CreateReplicationTaskResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateReplicationTaskResponse #

toConstr :: CreateReplicationTaskResponse -> Constr #

dataTypeOf :: CreateReplicationTaskResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateReplicationTaskResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateReplicationTaskResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateReplicationTaskResponse -> CreateReplicationTaskResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateReplicationTaskResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateReplicationTaskResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateReplicationTaskResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateReplicationTaskResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateReplicationTaskResponse -> m CreateReplicationTaskResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReplicationTaskResponse -> m CreateReplicationTaskResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateReplicationTaskResponse -> m CreateReplicationTaskResponse #

Read CreateReplicationTaskResponse Source # 
Show CreateReplicationTaskResponse Source # 
Generic CreateReplicationTaskResponse Source # 
NFData CreateReplicationTaskResponse Source # 
type Rep CreateReplicationTaskResponse Source # 
type Rep CreateReplicationTaskResponse = D1 (MetaData "CreateReplicationTaskResponse" "Network.AWS.DMS.CreateReplicationTask" "amazonka-dms-1.5.0-K6vSYoWLw2X8OYk9sVbLk5" False) (C1 (MetaCons "CreateReplicationTaskResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crtrsReplicationTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReplicationTask))) (S1 (MetaSel (Just Symbol "_crtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses