modify_replication_config
¶
modify_replication_config(
replication_config_arn: String,
*,
config_overrides: Optional[DatabaseMigrationServiceClientConfig] = 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/database_migration_service.py
7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 | |