1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteExport`](crate::operation::delete_export::builders::DeleteExportFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`export_id(impl Into<String>)`](crate::operation::delete_export::builders::DeleteExportFluentBuilder::export_id) / [`set_export_id(Option<String>)`](crate::operation::delete_export::builders::DeleteExportFluentBuilder::set_export_id):<br>required: **true**<br><p>The unique identifier of the export to delete.</p><br>
    /// - On success, responds with [`DeleteExportOutput`](crate::operation::delete_export::DeleteExportOutput) with field(s):
    ///   - [`export_id(Option<String>)`](crate::operation::delete_export::DeleteExportOutput::export_id): <p>The unique identifier of the deleted export.</p>
    ///   - [`export_status(Option<ExportStatus>)`](crate::operation::delete_export::DeleteExportOutput::export_status): <p>The current status of the deletion. When the deletion is complete, the export will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListExports.html">ListExports</a> operation and calls to the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DescribeExport.html"> DescribeExport</a> operation with the export identifier will fail.</p>
    /// - On failure, responds with [`SdkError<DeleteExportError>`](crate::operation::delete_export::DeleteExportError)
    pub fn delete_export(&self) -> crate::operation::delete_export::builders::DeleteExportFluentBuilder {
        crate::operation::delete_export::builders::DeleteExportFluentBuilder::new(self.handle.clone())
    }
}