DescribeReplicationTaskAssessmentResults - Amazon Database Migration Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

DescribeReplicationTaskAssessmentResults

Returns the task assessment results from the Amazon S3 bucket that Amazon DMS creates in your Amazon Web Services account. This action always returns the latest results.

For more information about Amazon DMS task assessments, see Creating a task assessment report in the Amazon Database Migration Service User Guide.

Request Syntax

{ "Marker": "string", "MaxRecords": number, "ReplicationTaskArn": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Marker

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.

Type: String

Required: No

MaxRecords

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 100.

Type: Integer

Required: No

ReplicationTaskArn

The Amazon Resource Name (ARN) string that uniquely identifies the task. When this input parameter is specified, the API returns only one result and ignore the values of the MaxRecords and Marker parameters.

Type: String

Required: No

Response Syntax

{ "BucketName": "string", "Marker": "string", "ReplicationTaskAssessmentResults": [ { "AssessmentResults": "string", "AssessmentResultsFile": "string", "AssessmentStatus": "string", "ReplicationTaskArn": "string", "ReplicationTaskIdentifier": "string", "ReplicationTaskLastAssessmentDate": number, "S3ObjectUrl": "string" } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

BucketName

- The Amazon S3 bucket where the task assessment report is located.

Type: String

Marker

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.

Type: String

ReplicationTaskAssessmentResults

The task assessment report.

Type: Array of ReplicationTaskAssessmentResult objects

Errors

For information about the errors that are common to all actions, see Common Errors.

ResourceNotFoundFault

The resource could not be found.

HTTP Status Code: 400