{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-dms/json-schema/amazon-dms-describe-replication-tasks-response-schema.json",
  "title": "DescribeReplicationTasksResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-dms-replication-tasks-api-openapi.yml#/components/schemas/DescribeReplicationTasksResponse",
  "type": "object",
  "properties": {
    "Marker": {
      "type": "string",
      "description": "An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords."
    },
    "ReplicationTasks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ReplicationTask"
      },
      "description": "A description of the replication tasks."
    }
  },
  "$defs": {
    "ReplicationTask": {
      "type": "object",
      "properties": {
        "ReplicationTaskIdentifier": {
          "type": "string",
          "description": "The user-assigned replication task identifier or name. Constraints: Must contain 1-255 alphanumeric characters or hyphens. First character must be a letter. Cannot end with a hyphen or contain two consecutive hyphens."
        },
        "SourceEndpointArn": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) that uniquely identifies the endpoint."
        },
        "TargetEndpointArn": {
          "type": "string",
          "description": "The ARN that uniquely identifies the endpoint."
        },
        "ReplicationInstanceArn": {
          "type": "string",
          "description": "The ARN of the replication instance."
        },
        "MigrationType": {
          "type": "string",
          "enum": [
            "full-load",
            "cdc",
            "full-load-and-cdc"
          ],
          "description": "The type of migration."
        },
        "TableMappings": {
          "type": "string",
          "description": "Table mappings specified in the task."
        },
        "ReplicationTaskSettings": {
          "type": "string",
          "description": "The settings for the replication task."
        },
        "Status": {
          "type": "string",
          "description": "The status of the replication task. This response parameter can return one of the following values: \"moving\" – The task is being moved in response to running the MoveReplicationTask operation. \"creating\" – The task is being created in response to running the CreateReplicationTask operation. \"deleting\" – The task is being deleted in response to running the DeleteReplicationTask operation. \"failed\" – The task failed to successfully complete the database migration in response to running the StartReplicationTask operation. \"failed-move\" – The task failed to move in response to running the MoveRepl"
        },
        "LastFailureMessage": {
          "type": "string",
          "description": "The last error (failure) message generated for the replication task."
        },
        "StopReason": {
          "type": "string",
          "description": "The reason the replication task was stopped. This response parameter can return one of the following values: \"Stop Reason NORMAL\" – The task completed successfully with no additional information returned. \"Stop Reason RECOVERABLE_ERROR\" \"Stop Reason FATAL_ERROR\" \"Stop Reason FULL_LOAD_ONLY_FINISHED\" – The task completed the full load phase. DMS applied cached changes if you set StopTaskCachedChangesApplied to true. \"Stop Reason STOPPED_AFTER_FULL_LOAD\" – Full load completed, with cached changes not applied \"Stop Reason STOPPED_AFTER_CACHED_EVENTS\" – Full load completed, with cached changes app"
        },
        "ReplicationTaskCreationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the replication task was created."
        },
        "ReplicationTaskStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the replication task is scheduled to start."
        },
        "CdcStartPosition": {
          "type": "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 “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",
          "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 “server_time:2018-02-09T12:12:12” Commit time example: --cdc-stop-position “commit_time:2018-02-09T12:12:12“"
        },
        "RecoveryCheckpoint": {
          "type": "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": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the replication task."
        },
        "ReplicationTaskStats": {
          "$ref": "#/$defs/ReplicationTaskStats"
        },
        "TaskData": {
          "type": "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": {
          "type": "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."
        }
      }
    },
    "ReplicationTaskStats": {
      "type": "object",
      "properties": {
        "FullLoadProgressPercent": {
          "type": "integer",
          "description": "The percent complete for the full load migration task."
        },
        "ElapsedTimeMillis": {
          "type": "integer",
          "description": "The elapsed time of the task, in milliseconds."
        },
        "TablesLoaded": {
          "type": "integer",
          "description": "The number of tables loaded for this task."
        },
        "TablesLoading": {
          "type": "integer",
          "description": "The number of tables currently loading for this task."
        },
        "TablesQueued": {
          "type": "integer",
          "description": "The number of tables queued for this task."
        },
        "TablesErrored": {
          "type": "integer",
          "description": "The number of errors that have occurred during this task."
        },
        "FreshStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the replication task was started either with a fresh start or a target reload."
        },
        "StartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the replication task was started either with a fresh start or a resume. For more information, see StartReplicationTaskType."
        },
        "StopDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the replication task was stopped."
        },
        "FullLoadStartDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the replication task full load was started."
        },
        "FullLoadFinishDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the replication task full load was completed."
        }
      }
    }
  }
}