aws_sdk_lexmodelsv2/client/delete_slot.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 [`DeleteSlot`](crate::operation::delete_slot::builders::DeleteSlotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - On success, responds with [`DeleteSlotOutput`](crate::operation::delete_slot::DeleteSlotOutput)
12 /// - On failure, responds with [`SdkError<DeleteSlotError>`](crate::operation::delete_slot::DeleteSlotError)
13 pub fn delete_slot(&self) -> crate::operation::delete_slot::builders::DeleteSlotFluentBuilder {
14 crate::operation::delete_slot::builders::DeleteSlotFluentBuilder::new(self.handle.clone())
15 }
16}