Smaws_Client_DatabaseMigrationService.CreateDataMigrationCreates a data migration using the provided settings.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `FailedDependencyFault of Types.failed_dependency_fault
| `InvalidOperationFault of Types.invalid_operation_fault
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault
| `ResourceQuotaExceededFault of Types.resource_quota_exceeded_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_data_migration_message ->
(Types.create_data_migration_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `FailedDependencyFault of Types.failed_dependency_fault
| `InvalidOperationFault of Types.invalid_operation_fault
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault
| `ResourceQuotaExceededFault of Types.resource_quota_exceeded_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_data_migration_message ->
(Types.create_data_migration_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `FailedDependencyFault of Types.failed_dependency_fault
| `InvalidOperationFault of Types.invalid_operation_fault
| `ResourceAlreadyExistsFault of Types.resource_already_exists_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault
| `ResourceQuotaExceededFault of Types.resource_quota_exceeded_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result