modify_replication_config
async
¶
modify_replication_config(
replication_config_arn: String,
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
replication_config_identifier: Optional[String] = None,
replication_type: Optional[MigrationTypeValue] = None,
table_mappings: Optional[String] = None,
replication_settings: Optional[String] = None,
supplemental_settings: Optional[String] = None,
compute_config: Optional[ComputeConfig] = None,
source_endpoint_arn: Optional[String] = None,
target_endpoint_arn: Optional[String] = None,
) -> ModifyReplicationConfigResponse
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.
Parameters:
-
replication_config_arn(String) –The Amazon Resource Name of the replication to modify.
-
replication_config_identifier(Optional[String], default:None) –The new replication config to apply to the replication.
-
replication_type(Optional[MigrationTypeValue], default:None) –The type of replication.
-
table_mappings(Optional[String], default:None) –Table mappings specified in the replication.
-
replication_settings(Optional[String], default:None) –The settings for the replication.
-
supplemental_settings(Optional[String], default:None) –Additional settings for the replication.
-
compute_config(Optional[ComputeConfig], default:None) –Configuration parameters for provisioning an DMS Serverless replication.
-
source_endpoint_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the source endpoint for this DMS serverless replication configuration.
-
target_endpoint_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.
Raises:
-
AccessDeniedFault–DMS was denied access to the endpoint. Check that the role is correctly configured.
-
InvalidResourceStateFault–The resource is in a state that prevents it from being used for database migration.
-
InvalidSubnet–The subnet provided isn't valid.
-
KMSKeyNotAccessibleFault–DMS cannot access the KMS key.
-
ReplicationSubnetGroupDoesNotCoverEnoughAZs–The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.
-
ResourceNotFoundFault–The resource could not be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_database_migration_service/_services/async_database_migration_service.py
8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 | |