aws_sdk_databasemigration/client/start_metadata_model_export_as_script.rs
// 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 value that specifies the database objects to export.</p><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>Whether to export the metadata model from the source or the target.</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 of the model file to create in the Amazon S3 bucket.</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 operation.</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())
}
}