aws-sdk-lexmodelbuilding 1.101.0

AWS SDK for Amazon Lex Model Building Service
Documentation
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 [`DeleteIntentVersion`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the intent.</p><br>
    ///   - [`version(impl Into<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::version) / [`set_version(Option<String>)`](crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::set_version):<br>required: **true**<br><p>The version of the intent to delete. You cannot delete the <code>$LATEST</code> version of the intent. To delete the <code>$LATEST</code> version, use the <code>DeleteIntent</code> operation.</p><br>
    /// - On success, responds with [`DeleteIntentVersionOutput`](crate::operation::delete_intent_version::DeleteIntentVersionOutput)
    /// - On failure, responds with [`SdkError<DeleteIntentVersionError>`](crate::operation::delete_intent_version::DeleteIntentVersionError)
    #[deprecated(note = "Amazon Lex V1 is deprecated. Use Amazon Lex V2 instead.", since = "2025-09-08")]
    pub fn delete_intent_version(&self) -> crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder {
        crate::operation::delete_intent_version::builders::DeleteIntentVersionFluentBuilder::new(self.handle.clone())
    }
}