Smaws_Client_DatabaseMigrationService.StartReplicationTaskAssessmentStarts the replication task assessment for unsupported data types in the source database.
You can only use this operation for a task if the following conditions are true:
stopped state.If either of these conditions are not met, an InvalidResourceStateFault error will result.
For information about DMS task assessments, see Creating a task assessment report in the Database Migration Service User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_replication_task_assessment_message ->
(Types.start_replication_task_assessment_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_replication_task_assessment_message ->
(Types.start_replication_task_assessment_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result