aws-sdk-lexmodelbuilding 1.101.0

AWS SDK for Amazon Lex Model Building Service
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetExport`](crate::operation::get_export::builders::GetExportFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::get_export::builders::GetExportFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_export::builders::GetExportFluentBuilder::set_name):<br>required: **true**<br><p>The name of the bot to export.</p><br>
    ///   - [`version(impl Into<String>)`](crate::operation::get_export::builders::GetExportFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::get_export::builders::GetExportFluentBuilder::set_version):<br>required: **true**<br><p>The version of the bot to export.</p><br>
    ///   - [`resource_type(ResourceType)`](crate::operation::get_export::builders::GetExportFluentBuilder::resource_type) / [`set_resource_type(Option<ResourceType>)`](crate::operation::get_export::builders::GetExportFluentBuilder::set_resource_type):<br>required: **true**<br><p>The type of resource to export.</p><br>
    ///   - [`export_type(ExportType)`](crate::operation::get_export::builders::GetExportFluentBuilder::export_type) / [`set_export_type(Option<ExportType>)`](crate::operation::get_export::builders::GetExportFluentBuilder::set_export_type):<br>required: **true**<br><p>The format of the exported data.</p><br>
    /// - On success, responds with [`GetExportOutput`](crate::operation::get_export::GetExportOutput) with field(s):
    ///   - [`name(Option<String>)`](crate::operation::get_export::GetExportOutput::name): <p>The name of the bot being exported.</p>
    ///   - [`version(Option<String>)`](crate::operation::get_export::GetExportOutput::version): <p>The version of the bot being exported.</p>
    ///   - [`resource_type(Option<ResourceType>)`](crate::operation::get_export::GetExportOutput::resource_type): <p>The type of the exported resource.</p>
    ///   - [`export_type(Option<ExportType>)`](crate::operation::get_export::GetExportOutput::export_type): <p>The format of the exported data.</p>
    ///   - [`export_status(Option<ExportStatus>)`](crate::operation::get_export::GetExportOutput::export_status): <p>The status of the export.</p> <ul>  <li>   <p><code>IN_PROGRESS</code> - The export is in progress.</p></li>  <li>   <p><code>READY</code> - The export is complete.</p></li>  <li>   <p><code>FAILED</code> - The export could not be completed.</p></li> </ul>
    ///   - [`failure_reason(Option<String>)`](crate::operation::get_export::GetExportOutput::failure_reason): <p>If <code>status</code> is <code>FAILED</code>, Amazon Lex provides the reason that it failed to export the resource.</p>
    ///   - [`url(Option<String>)`](crate::operation::get_export::GetExportOutput::url): <p>An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.</p>
    /// - On failure, responds with [`SdkError<GetExportError>`](crate::operation::get_export::GetExportError)
    #[deprecated(note = "Amazon Lex V1 is deprecated. Use Amazon Lex V2 instead.", since = "2025-09-08")]
    pub fn get_export(&self) -> crate::operation::get_export::builders::GetExportFluentBuilder {
        crate::operation::get_export::builders::GetExportFluentBuilder::new(self.handle.clone())
    }
}