Smaws_Client_DatabaseMigrationService.ModifyReplicationConfigModifies an existing DMS Serverless replication configuration that you can use to start a replication. This command includes input validation and logic to check the state of any replication that uses this configuration. You can only modify a replication configuration before any replication that uses it has started. As soon as you have initially started a replication with a given configuiration, you can't modify that configuration, even if you stop it.
Other run statuses that allow you to run this command include FAILED and CREATED. A provisioning state that allows you to run this command is FAILED_PROVISION.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `InvalidSubnet of Types.invalid_subnet
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ReplicationSubnetGroupDoesNotCoverEnoughAZs of
Types.replication_subnet_group_does_not_cover_enough_a_zs
| `ResourceNotFoundFault of Types.resource_not_found_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.modify_replication_config_message ->
(Types.modify_replication_config_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedFault of Types.access_denied_fault
| `InvalidResourceStateFault of Types.invalid_resource_state_fault
| `InvalidSubnet of Types.invalid_subnet
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ReplicationSubnetGroupDoesNotCoverEnoughAZs of
Types.replication_subnet_group_does_not_cover_enough_a_zs
| `ResourceNotFoundFault of Types.resource_not_found_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.modify_replication_config_message ->
(Types.modify_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
| `InvalidSubnet of Types.invalid_subnet
| `KMSKeyNotAccessibleFault of Types.kms_key_not_accessible_fault
| `ReplicationSubnetGroupDoesNotCoverEnoughAZs of
Types.replication_subnet_group_does_not_cover_enough_a_zs
| `ResourceNotFoundFault of Types.resource_not_found_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result