aws_sdk_databasemigration/client/create_migration_project.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateMigrationProject`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`migration_project_name(impl Into<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::migration_project_name) / [`set_migration_project_name(Option<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_migration_project_name):<br>required: **false**<br><p>A user-friendly name for the migration project.</p><br>
/// - [`source_data_provider_descriptors(DataProviderDescriptorDefinition)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::source_data_provider_descriptors) / [`set_source_data_provider_descriptors(Option<Vec::<DataProviderDescriptorDefinition>>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_source_data_provider_descriptors):<br>required: **true**<br><p>Information about the source data provider, including the name, ARN, and Secrets Manager parameters.</p><br>
/// - [`target_data_provider_descriptors(DataProviderDescriptorDefinition)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::target_data_provider_descriptors) / [`set_target_data_provider_descriptors(Option<Vec::<DataProviderDescriptorDefinition>>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_target_data_provider_descriptors):<br>required: **true**<br><p>Information about the target data provider, including the name, ARN, and Amazon Web Services Secrets Manager parameters.</p><br>
/// - [`instance_profile_identifier(impl Into<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::instance_profile_identifier) / [`set_instance_profile_identifier(Option<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_instance_profile_identifier):<br>required: **true**<br><p>The identifier of the associated instance profile. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.</p><br>
/// - [`transformation_rules(impl Into<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::transformation_rules) / [`set_transformation_rules(Option<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_transformation_rules):<br>required: **false**<br><p>The settings in JSON format for migration rules. Migration rules make it possible for you to change the object names according to the rules that you specify. For example, you can change an object name to lowercase or uppercase, add or remove a prefix or suffix, or rename objects.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_description):<br>required: **false**<br><p>A user-friendly description of the migration project.</p><br>
/// - [`tags(Tag)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_tags):<br>required: **false**<br><p>One or more tags to be assigned to the migration project.</p><br>
/// - [`schema_conversion_application_attributes(ScApplicationAttributes)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::schema_conversion_application_attributes) / [`set_schema_conversion_application_attributes(Option<ScApplicationAttributes>)`](crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::set_schema_conversion_application_attributes):<br>required: **false**<br><p>The schema conversion application attributes, including the Amazon S3 bucket name and Amazon S3 role ARN.</p><br>
/// - On success, responds with [`CreateMigrationProjectOutput`](crate::operation::create_migration_project::CreateMigrationProjectOutput) with field(s):
/// - [`migration_project(Option<MigrationProject>)`](crate::operation::create_migration_project::CreateMigrationProjectOutput::migration_project): <p>The migration project that was created.</p>
/// - On failure, responds with [`SdkError<CreateMigrationProjectError>`](crate::operation::create_migration_project::CreateMigrationProjectError)
pub fn create_migration_project(&self) -> crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder {
crate::operation::create_migration_project::builders::CreateMigrationProjectFluentBuilder::new(self.handle.clone())
}
}