aws_sdk_databasemigration/client/start_metadata_model_import.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartMetadataModelImport`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`migration_project_identifier(impl Into<String>)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::migration_project_identifier) / [`set_migration_project_identifier(Option<String>)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::set_migration_project_identifier):<br>required: **true**<br><p>The migration project name or Amazon Resource Name (ARN).</p><br>
/// - [`selection_rules(impl Into<String>)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::selection_rules) / [`set_selection_rules(Option<String>)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::set_selection_rules):<br>required: **true**<br><p>A value that specifies the database objects to import.</p><br>
/// - [`origin(OriginTypeValue)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::origin) / [`set_origin(Option<OriginTypeValue>)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::set_origin):<br>required: **true**<br><p>Whether to load metadata to the source or target database.</p><br>
/// - [`refresh(bool)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::refresh) / [`set_refresh(Option<bool>)`](crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::set_refresh):<br>required: **false**<br><p>If <code>true</code>, DMS loads metadata for the specified objects from the source database.</p><br>
/// - On success, responds with [`StartMetadataModelImportOutput`](crate::operation::start_metadata_model_import::StartMetadataModelImportOutput) with field(s):
/// - [`request_identifier(Option<String>)`](crate::operation::start_metadata_model_import::StartMetadataModelImportOutput::request_identifier): <p>The identifier for the import operation.</p>
/// - On failure, responds with [`SdkError<StartMetadataModelImportError>`](crate::operation::start_metadata_model_import::StartMetadataModelImportError)
pub fn start_metadata_model_import(&self) -> crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder {
crate::operation::start_metadata_model_import::builders::StartMetadataModelImportFluentBuilder::new(self.handle.clone())
}
}