1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeSlot`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`slot_id(impl Into<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::slot_id) / [`set_slot_id(Option<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::set_slot_id):<br>required: **true**<br><p>The unique identifier for the slot.</p><br>
    ///   - [`bot_id(impl Into<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot associated with the slot.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::set_bot_version):<br>required: **true**<br><p>The version of the bot associated with the slot.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale of the slot to describe. 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::describe_slot::builders::DescribeSlotFluentBuilder::intent_id) / [`set_intent_id(Option<String>)`](crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::set_intent_id):<br>required: **true**<br><p>The identifier of the intent that contains the slot.</p><br>
    /// - On success, responds with [`DescribeSlotOutput`](crate::operation::describe_slot::DescribeSlotOutput) with field(s):
    ///   - [`slot_id(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::slot_id): <p>The unique identifier generated for the slot.</p>
    ///   - [`slot_name(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::slot_name): <p>The name specified for the slot.</p>
    ///   - [`description(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::description): <p>The description specified for the slot.</p>
    ///   - [`slot_type_id(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::slot_type_id): <p>The identifier of the slot type that determines the values entered into the slot.</p>
    ///   - [`value_elicitation_setting(Option<SlotValueElicitationSetting>)`](crate::operation::describe_slot::DescribeSlotOutput::value_elicitation_setting): <p>Prompts that Amazon Lex uses to elicit a value for the slot.</p>
    ///   - [`obfuscation_setting(Option<ObfuscationSetting>)`](crate::operation::describe_slot::DescribeSlotOutput::obfuscation_setting): <p>Whether slot values are shown in Amazon CloudWatch logs. If the value is <code>None</code>, the actual value of the slot is shown in logs.</p>
    ///   - [`bot_id(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::bot_id): <p>The identifier of the bot associated with the slot.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::bot_version): <p>The version of the bot associated with the slot.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::locale_id): <p>The language and locale specified for the slot.</p>
    ///   - [`intent_id(Option<String>)`](crate::operation::describe_slot::DescribeSlotOutput::intent_id): <p>The identifier of the intent associated with the slot.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::describe_slot::DescribeSlotOutput::creation_date_time): <p>A timestamp of the date and time that the slot was created.</p>
    ///   - [`last_updated_date_time(Option<DateTime>)`](crate::operation::describe_slot::DescribeSlotOutput::last_updated_date_time): <p>A timestamp of the date and time that the slot was last updated.</p>
    ///   - [`multiple_values_setting(Option<MultipleValuesSetting>)`](crate::operation::describe_slot::DescribeSlotOutput::multiple_values_setting): <p>Indicates whether the slot accepts multiple values in a single utterance.</p> <p>If the <code>multipleValuesSetting</code> is not set, the default value is <code>false</code>.</p>
    ///   - [`sub_slot_setting(Option<SubSlotSetting>)`](crate::operation::describe_slot::DescribeSlotOutput::sub_slot_setting): <p>Specifications for the constituent sub slots and the expression for the composite slot.</p>
    /// - On failure, responds with [`SdkError<DescribeSlotError>`](crate::operation::describe_slot::DescribeSlotError)
    pub fn describe_slot(&self) -> crate::operation::describe_slot::builders::DescribeSlotFluentBuilder {
        crate::operation::describe_slot::builders::DescribeSlotFluentBuilder::new(self.handle.clone())
    }
}