aws-sdk-databasemigration 1.119.1

AWS SDK for AWS Database Migration Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartMetadataModelExportAsScript`](crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`migration_project_identifier(impl Into<String>)`](crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::migration_project_identifier) / [`set_migration_project_identifier(Option<String>)`](crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::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_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::selection_rules) / [`set_selection_rules(Option<String>)`](crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::set_selection_rules):<br>required: **true**<br><p>A JSON string that identifies the metadata models to export as a SQL script. 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_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::origin) / [`set_origin(Option<OriginTypeValue>)`](crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::set_origin):<br>required: **true**<br><p>Specifies the metadata tree to export from.</p><br>
    ///   - [`file_name(impl Into<String>)`](crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::file_name) / [`set_file_name(Option<String>)`](crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::set_file_name):<br>required: **false**<br><p>The name for the exported file. When you omit this parameter, the service generates a name from the data provider engine name and an export timestamp.</p><br>
    /// - On success, responds with [`StartMetadataModelExportAsScriptOutput`](crate::operation::start_metadata_model_export_as_script::StartMetadataModelExportAsScriptOutput) with field(s):
    ///   - [`request_identifier(Option<String>)`](crate::operation::start_metadata_model_export_as_script::StartMetadataModelExportAsScriptOutput::request_identifier): <p>The identifier for the export request.</p>
    /// - On failure, responds with [`SdkError<StartMetadataModelExportAsScriptError>`](crate::operation::start_metadata_model_export_as_script::StartMetadataModelExportAsScriptError)
    pub fn start_metadata_model_export_as_script(
        &self,
    ) -> crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder {
        crate::operation::start_metadata_model_export_as_script::builders::StartMetadataModelExportAsScriptFluentBuilder::new(self.handle.clone())
    }
}