// 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 JSON string that identifies the metadata models to import from the data provider. For the selection rule format and examples, see <a href="https://docs.aws.amazon.com/dms/latest/userguide/sc-selection-rules.html">Selection rules in DMS Schema Conversion</a>.</p> <p>Usage:</p> <ul> <li> <p>Accepts source or target selection rules depending on the <code>Origin</code> parameter. The <code>server-name</code> in the object locator must match the corresponding data provider.</p></li> <li> <p>Supports <code>explicit</code>, <code>include</code>, and <code>exclude</code> rule actions.</p></li> </ul><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>Specifies the metadata tree to import into.</p><note> <p>You cannot import from a virtual target data provider.</p> </note><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>Specifies whether to refresh the selected metadata models from the data provider.</p> <p>When <code>true</code>, the import reloads the selected metadata models with current definitions and removes their existing subtree.</p> <p>When <code>false</code> (default), the import loads the full subtree that has not yet been loaded into the metadata tree.</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 request.</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())
}
}