AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ReplicationTask

import "github.com/aws/aws-sdk-go/service/databasemigrationservice"

type ReplicationTask struct { CdcStartPosition *string `type:"string"` CdcStopPosition *string `type:"string"` LastFailureMessage *string `type:"string"` MigrationType *string `type:"string" enum:"MigrationTypeValue"` RecoveryCheckpoint *string `type:"string"` ReplicationInstanceArn *string `type:"string"` ReplicationTaskArn *string `type:"string"` ReplicationTaskCreationDate *time.Time `type:"timestamp"` ReplicationTaskIdentifier *string `type:"string"` ReplicationTaskSettings *string `type:"string"` ReplicationTaskStartDate *time.Time `type:"timestamp"` ReplicationTaskStats *ReplicationTaskStats `type:"structure"` SourceEndpointArn *string `type:"string"` Status *string `type:"string"` StopReason *string `type:"string"` TableMappings *string `type:"string"` TargetEndpointArn *string `type:"string"` }

CdcStartPosition

Type: *string

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:V1#27#mysql-bin-changelog.157832:1975:-1:2002:677883278264080:mysql-bin-changelog.157832:1876#0#0#*#0#93"

LSN Example: --cdc-start-position “mysql-bin-changelog.000024:373”

CdcStopPosition

Type: *string

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 “

LastFailureMessage

Type: *string

The last error (failure) message generated for the replication instance.

MigrationType

Type: *string

The type of migration.

RecoveryCheckpoint

Type: *string

Indicates the last checkpoint that occurred during a change data capture (CDC) operation. You can provide this value to the CdcStartPosition parameter to start a CDC operation that begins at that checkpoint.

ReplicationInstanceArn

Type: *string

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

ReplicationTaskArn

Type: *string

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

ReplicationTaskCreationDate

Type: *time.Time

The date the replication task was created.

ReplicationTaskIdentifier

Type: *string

The user-assigned replication task identifier or name.

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.

ReplicationTaskSettings

Type: *string

The settings for the replication task.

ReplicationTaskStartDate

Type: *time.Time

The date the replication task is scheduled to start.

ReplicationTaskStats
SourceEndpointArn

Type: *string

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

Status

Type: *string

The status of the replication task.

StopReason

Type: *string

The reason the replication task was stopped.

TableMappings

Type: *string

Table mappings specified in the task.

TargetEndpointArn

Type: *string

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

Method

GoString

func (s ReplicationTask) GoString() string

GoString returns the string representation

SetCdcStartPosition

func (s *ReplicationTask) SetCdcStartPosition(v string) *ReplicationTask

SetCdcStartPosition sets the CdcStartPosition field's value.

SetCdcStopPosition

func (s *ReplicationTask) SetCdcStopPosition(v string) *ReplicationTask

SetCdcStopPosition sets the CdcStopPosition field's value.

SetLastFailureMessage

func (s *ReplicationTask) SetLastFailureMessage(v string) *ReplicationTask

SetLastFailureMessage sets the LastFailureMessage field's value.

SetMigrationType

func (s *ReplicationTask) SetMigrationType(v string) *ReplicationTask

SetMigrationType sets the MigrationType field's value.

SetRecoveryCheckpoint

func (s *ReplicationTask) SetRecoveryCheckpoint(v string) *ReplicationTask

SetRecoveryCheckpoint sets the RecoveryCheckpoint field's value.

SetReplicationInstanceArn

func (s *ReplicationTask) SetReplicationInstanceArn(v string) *ReplicationTask

SetReplicationInstanceArn sets the ReplicationInstanceArn field's value.

SetReplicationTaskArn

func (s *ReplicationTask) SetReplicationTaskArn(v string) *ReplicationTask

SetReplicationTaskArn sets the ReplicationTaskArn field's value.

SetReplicationTaskCreationDate

func (s *ReplicationTask) SetReplicationTaskCreationDate(v time.Time) *ReplicationTask

SetReplicationTaskCreationDate sets the ReplicationTaskCreationDate field's value.

SetReplicationTaskIdentifier

func (s *ReplicationTask) SetReplicationTaskIdentifier(v string) *ReplicationTask

SetReplicationTaskIdentifier sets the ReplicationTaskIdentifier field's value.

SetReplicationTaskSettings

func (s *ReplicationTask) SetReplicationTaskSettings(v string) *ReplicationTask

SetReplicationTaskSettings sets the ReplicationTaskSettings field's value.

SetReplicationTaskStartDate

func (s *ReplicationTask) SetReplicationTaskStartDate(v time.Time) *ReplicationTask

SetReplicationTaskStartDate sets the ReplicationTaskStartDate field's value.

SetReplicationTaskStats

func (s *ReplicationTask) SetReplicationTaskStats(v *ReplicationTaskStats) *ReplicationTask

SetReplicationTaskStats sets the ReplicationTaskStats field's value.

SetSourceEndpointArn

func (s *ReplicationTask) SetSourceEndpointArn(v string) *ReplicationTask

SetSourceEndpointArn sets the SourceEndpointArn field's value.

SetStatus

func (s *ReplicationTask) SetStatus(v string) *ReplicationTask

SetStatus sets the Status field's value.

SetStopReason

func (s *ReplicationTask) SetStopReason(v string) *ReplicationTask

SetStopReason sets the StopReason field's value.

SetTableMappings

func (s *ReplicationTask) SetTableMappings(v string) *ReplicationTask

SetTableMappings sets the TableMappings field's value.

SetTargetEndpointArn

func (s *ReplicationTask) SetTargetEndpointArn(v string) *ReplicationTask

SetTargetEndpointArn sets the TargetEndpointArn field's value.

String

func (s ReplicationTask) String() string

String returns the string representation

On this page: