1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteSlot`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`slot_id(impl Into<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::slot_id) / [`set_slot_id(Option<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::set_slot_id):<br>required: **true**<br><p>The identifier of the slot to delete.</p><br>
    ///   - [`bot_id(impl Into<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot associated with the slot to delete.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot associated with the slot to delete.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale that the slot will be deleted from. 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>
    ///   - [`intent_id(impl Into<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::intent_id) / [`set_intent_id(Option<String>)`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::set_intent_id):<br>required: **true**<br><p>The identifier of the intent associated with the slot.</p><br>
    /// - On success, responds with [`DeleteSlotOutput`](crate::operation::delete_slot::DeleteSlotOutput)
    /// - On failure, responds with [`SdkError<DeleteSlotError>`](crate::operation::delete_slot::DeleteSlotError)
    pub fn delete_slot(&self) -> crate::operation::delete_slot::builders::DeleteSlotFluentBuilder {
        crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::new(self.handle.clone())
    }
}