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.

StartReplicationTaskInput

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

type StartReplicationTaskInput struct { CdcStartPosition *string `type:"string"` CdcStartTime *time.Time `type:"timestamp"` CdcStopPosition *string `type:"string"` ReplicationTaskArn *string `type:"string" required:"true"` StartReplicationTaskType *string `type:"string" required:"true" enum:"StartReplicationTaskTypeValue"` }

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”

CdcStartTime

Type: *time.Time

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.

Timestamp Example: --cdc-start-time “2018-03-08T12:12:12”

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 “

ReplicationTaskArn

Type: *string

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

ReplicationTaskArn is a required field

StartReplicationTaskType

Type: *string

The type of replication task.

StartReplicationTaskType is a required field

Method

GoString

func (s StartReplicationTaskInput) GoString() string

GoString returns the string representation

SetCdcStartPosition

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

SetCdcStartPosition sets the CdcStartPosition field's value.

SetCdcStartTime

func (s *StartReplicationTaskInput) SetCdcStartTime(v time.Time) *StartReplicationTaskInput

SetCdcStartTime sets the CdcStartTime field's value.

SetCdcStopPosition

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

SetCdcStopPosition sets the CdcStopPosition field's value.

SetReplicationTaskArn

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

SetReplicationTaskArn sets the ReplicationTaskArn field's value.

SetStartReplicationTaskType

func (s *StartReplicationTaskInput) SetStartReplicationTaskType(v string) *StartReplicationTaskInput

SetStartReplicationTaskType sets the StartReplicationTaskType field's value.

String

func (s StartReplicationTaskInput) String() string

String returns the string representation

Validate

func (s *StartReplicationTaskInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: