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.
This is an asynchronous operation using the standard naming convention for .NET 4.7.2 or higher.
Namespace: Amazon.DatabaseMigrationService
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z
public abstract Task<ModifyReplicationConfigResponse> ModifyReplicationConfigAsync( ModifyReplicationConfigRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the ModifyReplicationConfig service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
| 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:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer