aws_sdk_databasemigration/client/create_replication_config.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateReplicationConfig`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`replication_config_identifier(impl Into<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::replication_config_identifier) / [`set_replication_config_identifier(Option<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_replication_config_identifier):<br>required: **true**<br><p>A unique identifier that you want to use to create a <code>ReplicationConfigArn</code> that is returned as part of the output from this action. You can then pass this output <code>ReplicationConfigArn</code> as the value of the <code>ReplicationConfigArn</code> option for other actions to identify both DMS Serverless replications and replication configurations that you want those actions to operate on. For some actions, you can also use either this unique identifier or a corresponding ARN in action filters to identify the specific replication and replication configuration to operate on.</p><br>
/// - [`source_endpoint_arn(impl Into<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::source_endpoint_arn) / [`set_source_endpoint_arn(Option<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_source_endpoint_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the source endpoint for this DMS Serverless replication configuration.</p><br>
/// - [`target_endpoint_arn(impl Into<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::target_endpoint_arn) / [`set_target_endpoint_arn(Option<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_target_endpoint_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the target endpoint for this DMS serverless replication configuration.</p><br>
/// - [`compute_config(ComputeConfig)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::compute_config) / [`set_compute_config(Option<ComputeConfig>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_compute_config):<br>required: **true**<br><p>Configuration parameters for provisioning an DMS Serverless replication.</p><br>
/// - [`replication_type(MigrationTypeValue)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::replication_type) / [`set_replication_type(Option<MigrationTypeValue>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_replication_type):<br>required: **true**<br><p>The type of DMS Serverless replication to provision using this replication configuration.</p> <p>Possible values:</p> <ul> <li> <p><code>"full-load"</code></p></li> <li> <p><code>"cdc"</code></p></li> <li> <p><code>"full-load-and-cdc"</code></p></li> </ul><br>
/// - [`table_mappings(impl Into<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::table_mappings) / [`set_table_mappings(Option<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_table_mappings):<br>required: **true**<br><p>JSON table mappings for DMS Serverless replications that are provisioned using this replication configuration. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TableMapping.SelectionTransformation.html"> Specifying table selection and transformations rules using JSON</a>.</p><br>
/// - [`replication_settings(impl Into<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::replication_settings) / [`set_replication_settings(Option<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_replication_settings):<br>required: **false**<br><p>Optional JSON settings for DMS Serverless replications that are provisioned using this replication configuration. For example, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.CustomizingTasks.TaskSettings.ChangeProcessingTuning.html"> Change processing tuning settings</a>.</p><br>
/// - [`supplemental_settings(impl Into<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::supplemental_settings) / [`set_supplemental_settings(Option<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_supplemental_settings):<br>required: **false**<br><p>Optional JSON settings for specifying supplemental data. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tasks.TaskData.html"> Specifying supplemental data for task settings</a>.</p><br>
/// - [`resource_identifier(impl Into<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::resource_identifier) / [`set_resource_identifier(Option<String>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_resource_identifier):<br>required: **false**<br><p>Optional unique value or name that you set for a given resource that can be used to construct an Amazon Resource Name (ARN) for that resource. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Security.html#CHAP_Security.FineGrainedAccess"> Fine-grained access control using resource names and tags</a>.</p><br>
/// - [`tags(Tag)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::set_tags):<br>required: **false**<br><p>One or more optional tags associated with resources used by the DMS Serverless replication. For more information, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/CHAP_Tagging.html"> Tagging resources in Database Migration Service</a>.</p><br>
/// - On success, responds with [`CreateReplicationConfigOutput`](crate::operation::create_replication_config::CreateReplicationConfigOutput) with field(s):
/// - [`replication_config(Option<ReplicationConfig>)`](crate::operation::create_replication_config::CreateReplicationConfigOutput::replication_config): <p>Configuration parameters returned from the DMS Serverless replication after it is created.</p>
/// - On failure, responds with [`SdkError<CreateReplicationConfigError>`](crate::operation::create_replication_config::CreateReplicationConfigError)
pub fn create_replication_config(&self) -> crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder {
crate::operation::create_replication_config::builders::CreateReplicationConfigFluentBuilder::new(self.handle.clone())
}
}