{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-dms/refs/heads/main/json-schema/amazon-dms-replication-task-schema.json", "title": "ReplicationTask", "description": "Provides information that describes a replication task created by the CreateReplicationTask operation.", "type": "object", "properties": { "ReplicationTaskIdentifier": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

The user-assigned replication task identifier or name.

Constraints:

" } ] }, "SourceEndpointArn": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The Amazon Resource Name (ARN) that uniquely identifies the endpoint." } ] }, "TargetEndpointArn": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The ARN that uniquely identifies the endpoint." } ] }, "ReplicationInstanceArn": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The ARN of the replication instance." } ] }, "MigrationType": { "allOf": [ { "$ref": "#/components/schemas/MigrationTypeValue" }, { "description": "The type of migration." } ] }, "TableMappings": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "Table mappings specified in the task." } ] }, "ReplicationTaskSettings": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The settings for the replication task." } ] }, "Status": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

The status of the replication task. This response parameter can return one of the following values:

" } ] }, "LastFailureMessage": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The last error (failure) message generated for the replication task." } ] }, "StopReason": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

The reason the replication task was stopped. This response parameter can return one of the following values:

" } ] }, "ReplicationTaskCreationDate": { "allOf": [ { "$ref": "#/components/schemas/TStamp" }, { "description": "The date the replication task was created." } ] }, "ReplicationTaskStartDate": { "allOf": [ { "$ref": "#/components/schemas/TStamp" }, { "description": "The date the replication task is scheduled to start." } ] }, "CdcStartPosition": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

Indicates when you want a change data capture (CDC) operation to start. Use either CdcStartPosition or CdcStartTime to specify when you want the 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 \u201c2018-03-08T12:12:12\u201d

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 \u201cmysql-bin-changelog.000024:373\u201d

" } ] }, "CdcStopPosition": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "

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 \u201cserver_time:2018-02-09T12:12:12\u201d

Commit time example: --cdc-stop-position \u201ccommit_time: 2018-02-09T12:12:12\u201c

" } ] }, "RecoveryCheckpoint": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "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." } ] }, "ReplicationTaskArn": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The Amazon Resource Name (ARN) of the replication task." } ] }, "ReplicationTaskStats": { "allOf": [ { "$ref": "#/components/schemas/ReplicationTaskStats" }, { "description": "The statistics for the task, including elapsed time, tables loaded, and table errors." } ] }, "TaskData": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "Supplemental information that the task requires to migrate the data for certain source and target endpoints. For more information, see Specifying Supplemental Data for Task Settings in the Database Migration Service User Guide. " } ] }, "TargetReplicationInstanceArn": { "allOf": [ { "$ref": "#/components/schemas/String" }, { "description": "The ARN of the replication instance to which this task is moved in response to running the MoveReplicationTask operation. Otherwise, this response parameter isn't a member of the ReplicationTask object." } ] } } }