aws_sdk_databasemigration/client/modify_data_migration.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ModifyDataMigration`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`data_migration_identifier(impl Into<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::data_migration_identifier) / [`set_data_migration_identifier(Option<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_data_migration_identifier):<br>required: **true**<br><p>The identifier (name or ARN) of the data migration to modify.</p><br>
/// - [`data_migration_name(impl Into<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::data_migration_name) / [`set_data_migration_name(Option<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_data_migration_name):<br>required: **false**<br><p>The new name for the data migration.</p><br>
/// - [`enable_cloudwatch_logs(bool)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::enable_cloudwatch_logs) / [`set_enable_cloudwatch_logs(Option<bool>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_enable_cloudwatch_logs):<br>required: **false**<br><p>Whether to enable Cloudwatch logs for the data migration.</p><br>
/// - [`service_access_role_arn(impl Into<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::service_access_role_arn) / [`set_service_access_role_arn(Option<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_service_access_role_arn):<br>required: **false**<br><p>The new service access role ARN for the data migration.</p><br>
/// - [`data_migration_type(MigrationTypeValue)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::data_migration_type) / [`set_data_migration_type(Option<MigrationTypeValue>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_data_migration_type):<br>required: **false**<br><p>The new migration type for the data migration.</p><br>
/// - [`source_data_settings(SourceDataSetting)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::source_data_settings) / [`set_source_data_settings(Option<Vec::<SourceDataSetting>>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_source_data_settings):<br>required: **false**<br><p>The new information about the source data provider for the data migration.</p><br>
/// - [`number_of_jobs(i32)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::number_of_jobs) / [`set_number_of_jobs(Option<i32>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_number_of_jobs):<br>required: **false**<br><p>The number of parallel jobs that trigger parallel threads to unload the tables from the source, and then load them to the target.</p><br>
/// - [`selection_rules(impl Into<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::selection_rules) / [`set_selection_rules(Option<String>)`](crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::set_selection_rules):<br>required: **false**<br><p>A JSON-formatted string that defines what objects to include and exclude from the migration.</p><br>
/// - On success, responds with [`ModifyDataMigrationOutput`](crate::operation::modify_data_migration::ModifyDataMigrationOutput) with field(s):
/// - [`data_migration(Option<DataMigration>)`](crate::operation::modify_data_migration::ModifyDataMigrationOutput::data_migration): <p>Information about the modified data migration.</p>
/// - On failure, responds with [`SdkError<ModifyDataMigrationError>`](crate::operation::modify_data_migration::ModifyDataMigrationError)
pub fn modify_data_migration(&self) -> crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder {
crate::operation::modify_data_migration::builders::ModifyDataMigrationFluentBuilder::new(self.handle.clone())
}
}