modify_data_migration
async
¶
modify_data_migration(
data_migration_identifier: String,
*,
config_overrides: Optional[AsyncDatabaseMigrationServiceClientConfig] = None,
data_migration_name: Optional[String] = None,
enable_cloudwatch_logs: Optional[BooleanOptional] = None,
service_access_role_arn: Optional[String] = None,
data_migration_type: Optional[MigrationTypeValue] = None,
source_data_settings: Optional[SourceDataSettings] = None,
target_data_settings: Optional[TargetDataSettings] = None,
number_of_jobs: Optional[IntegerOptional] = None,
selection_rules: Optional[SecretString] = None,
) -> ModifyDataMigrationResponse
Modifies an existing DMS data migration.
Parameters:
-
data_migration_identifier(String) –The identifier (name or ARN) of the data migration to modify.
-
data_migration_name(Optional[String], default:None) –The new name for the data migration.
-
enable_cloudwatch_logs(Optional[BooleanOptional], default:None) –Whether to enable Cloudwatch logs for the data migration.
-
service_access_role_arn(Optional[String], default:None) –The new service access role ARN for the data migration.
-
data_migration_type(Optional[MigrationTypeValue], default:None) –The new migration type for the data migration.
-
source_data_settings(Optional[SourceDataSettings], default:None) –The new information about the source data provider for the data migration.
-
target_data_settings(Optional[TargetDataSettings], default:None) –The new information about the target data provider for the data migration.
-
number_of_jobs(Optional[IntegerOptional], default:None) –The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.
-
selection_rules(Optional[SecretString], default:None) –A JSON-formatted string that defines what objects to include and exclude from the migration.
Raises:
-
FailedDependencyFault–A dependency threw an exception.
-
InvalidResourceStateFault–The resource is in a state that prevents it from being used for database migration.
-
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
7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 | |