1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteIntent`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`intent_id(impl Into<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::intent_id) / [`set_intent_id(Option<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::set_intent_id):<br>required: **true**<br><p>The unique identifier of the intent to delete.</p><br>
    ///   - [`bot_id(impl Into<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot associated with the intent.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot associated with the intent.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale where the bot will be deleted. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p><br>
    /// - On success, responds with [`DeleteIntentOutput`](crate::operation::delete_intent::DeleteIntentOutput)
    /// - On failure, responds with [`SdkError<DeleteIntentError>`](crate::operation::delete_intent::DeleteIntentError)
    pub fn delete_intent(&self) -> crate::operation::delete_intent::builders::DeleteIntentFluentBuilder {
        crate::operation::delete_intent::builders::DeleteIntentFluentBuilder::new(self.handle.clone())
    }
}