Smaws_Client_DatabaseMigrationService.DeleteReplicationConfigDeletes an DMS Serverless replication configuration. This effectively deprovisions any and all replications that use this configuration. You can't delete the configuration for an DMS Serverless replication that is ongoing. You can delete the configuration when the replication is in a non-RUNNING and non-STARTING state.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_replication_config_message ->
(Types.delete_replication_config_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `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.delete_replication_config_message ->
(Types.delete_replication_config_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `ResourceNotFoundFault of Types.resource_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result