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

Copyright(c) 2013-2018 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.StartReplicationTask

Contents

Description

Starts the replication task.

For more information about AWS DMS tasks, see the AWS DMS user guide at Working with Migration Tasks

Synopsis

Creating a Request

startReplicationTask #

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

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

  • srtCdcStartPosition - Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error. The value can be in date, checkpoint, or LSN/SCN format. Date Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93" LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”
  • srtCdcStopPosition - Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time. Server time example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “
  • srtCdcStartTime - Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.
  • srtReplicationTaskARN - The Amazon Resource Name (ARN) of the replication task to be started.
  • srtStartReplicationTaskType - The type of replication task.

data StartReplicationTask #

See: startReplicationTask smart constructor.

Instances
Eq StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Data StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Methods

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

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

toConstr :: StartReplicationTask -> Constr #

dataTypeOf :: StartReplicationTask -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Show StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Generic StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Associated Types

type Rep StartReplicationTask :: Type -> Type #

Hashable StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

ToJSON StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

AWSRequest StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Associated Types

type Rs StartReplicationTask :: Type #

ToHeaders StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

ToPath StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

ToQuery StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

NFData StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Methods

rnf :: StartReplicationTask -> () #

type Rep StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

type Rep StartReplicationTask = D1 (MetaData "StartReplicationTask" "Network.AWS.DMS.StartReplicationTask" "amazonka-dms-1.6.1-CWwD9GzAqAQ2vZXzna619p" False) (C1 (MetaCons "StartReplicationTask'" PrefixI True) ((S1 (MetaSel (Just "_srtCdcStartPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_srtCdcStopPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_srtCdcStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 (MetaSel (Just "_srtReplicationTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_srtStartReplicationTaskType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StartReplicationTaskTypeValue)))))
type Rs StartReplicationTask # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Request Lenses

srtCdcStartPosition :: Lens' StartReplicationTask (Maybe Text) #

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want a CDC operation to start. Specifying both values results in an error. The value can be in date, checkpoint, or LSN/SCN format. Date Example: --cdc-start-position “2018-03-08T12:12:12” Checkpoint Example: --cdc-start-position "checkpoint:V1mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:187600#93" LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

srtCdcStopPosition :: Lens' StartReplicationTask (Maybe Text) #

Indicates when you want a change data capture (CDC) operation to stop. The value can be either server time or commit time. Server time example: --cdc-stop-position “server_time:3018-02-09T12:12:12” Commit time example: --cdc-stop-position “commit_time: 3018-02-09T12:12:12 “

srtCdcStartTime :: Lens' StartReplicationTask (Maybe UTCTime) #

Indicates the start time for a change data capture (CDC) operation. Use either CdcStartTime or CdcStartPosition to specify when you want a CDC operation to start. Specifying both values results in an error.

srtReplicationTaskARN :: Lens' StartReplicationTask Text #

The Amazon Resource Name (ARN) of the replication task to be started.

Destructuring the Response

startReplicationTaskResponse #

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

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

data StartReplicationTaskResponse #

See: startReplicationTaskResponse smart constructor.

Instances
Eq StartReplicationTaskResponse # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Data StartReplicationTaskResponse # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Methods

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

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

toConstr :: StartReplicationTaskResponse -> Constr #

dataTypeOf :: StartReplicationTaskResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartReplicationTaskResponse # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Show StartReplicationTaskResponse # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Generic StartReplicationTaskResponse # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

Associated Types

type Rep StartReplicationTaskResponse :: Type -> Type #

NFData StartReplicationTaskResponse # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

type Rep StartReplicationTaskResponse # 
Instance details

Defined in Network.AWS.DMS.StartReplicationTask

type Rep StartReplicationTaskResponse = D1 (MetaData "StartReplicationTaskResponse" "Network.AWS.DMS.StartReplicationTask" "amazonka-dms-1.6.1-CWwD9GzAqAQ2vZXzna619p" False) (C1 (MetaCons "StartReplicationTaskResponse'" PrefixI True) (S1 (MetaSel (Just "_srtrsReplicationTask") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ReplicationTask)) :*: S1 (MetaSel (Just "_srtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses