AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Modifies 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.
For .NET Core this operation is only available in asynchronous form. Please refer to ModifyReplicationConfigAsync.
Namespace: Amazon.DatabaseMigrationService
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public virtual ModifyReplicationConfigResponse ModifyReplicationConfig( ModifyReplicationConfigRequest request )
Container for the necessary parameters to execute the ModifyReplicationConfig service method.
Exception | Condition |
---|---|
AccessDeniedException | DMS was denied access to the endpoint. Check that the role is correctly configured. |
InvalidResourceStateException | The resource is in a state that prevents it from being used for database migration. |
InvalidSubnetException | The subnet provided isn't valid. |
KMSKeyNotAccessibleException | DMS cannot access the KMS key. |
ReplicationSubnetGroupDoesNotCoverEnoughAZsException | The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs. |
ResourceNotFoundException | The resource could not be found. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5