aws_sdk_lexmodelsv2/client/delete_export.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteExport`](crate::operation::delete_export::builders::DeleteExportFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`DeleteExportOutput`](crate::operation::delete_export::DeleteExportOutput) with field(s):
8 /// - [`export_id(Option<String>)`](crate::operation::delete_export::DeleteExportOutput::export_id): <p>The unique identifier of the deleted export.</p>
9 /// - [`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>
10 /// - On failure, responds with [`SdkError<DeleteExportError>`](crate::operation::delete_export::DeleteExportError)
11 pub fn delete_export(&self) -> crate::operation::delete_export::builders::DeleteExportFluentBuilder {
12 crate::operation::delete_export::builders::DeleteExportFluentBuilder::new(self.handle.clone())
13 }
14}