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
31
32
33
34
35
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeIntent`](crate::operation::describe_intent::builders::DescribeIntentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`intent_id(impl Into<String>)`](crate::operation::describe_intent::builders::DescribeIntentFluentBuilder::intent_id) / [`set_intent_id(Option<String>)`](crate::operation::describe_intent::builders::DescribeIntentFluentBuilder::set_intent_id):<br>required: **true**<br><p>The identifier of the intent to describe.</p><br>
    ///   - [`bot_id(impl Into<String>)`](crate::operation::describe_intent::builders::DescribeIntentFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::describe_intent::builders::DescribeIntentFluentBuilder::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::describe_intent::builders::DescribeIntentFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::describe_intent::builders::DescribeIntentFluentBuilder::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::describe_intent::builders::DescribeIntentFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::describe_intent::builders::DescribeIntentFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale of the intent 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>
    /// - On success, responds with [`DescribeIntentOutput`](crate::operation::describe_intent::DescribeIntentOutput) with field(s):
    ///   - [`intent_id(Option<String>)`](crate::operation::describe_intent::DescribeIntentOutput::intent_id): <p>The unique identifier assigned to the intent when it was created.</p>
    ///   - [`intent_name(Option<String>)`](crate::operation::describe_intent::DescribeIntentOutput::intent_name): <p>The name specified for the intent.</p>
    ///   - [`description(Option<String>)`](crate::operation::describe_intent::DescribeIntentOutput::description): <p>The description of the intent.</p>
    ///   - [`parent_intent_signature(Option<String>)`](crate::operation::describe_intent::DescribeIntentOutput::parent_intent_signature): <p>The identifier of the built-in intent that this intent is derived from, if any.</p>
    ///   - [`sample_utterances(Option<Vec::<SampleUtterance>>)`](crate::operation::describe_intent::DescribeIntentOutput::sample_utterances): <p>User utterances that trigger this intent.</p>
    ///   - [`dialog_code_hook(Option<DialogCodeHookSettings>)`](crate::operation::describe_intent::DescribeIntentOutput::dialog_code_hook): <p>The Lambda function called during each turn of a conversation with the intent.</p>
    ///   - [`fulfillment_code_hook(Option<FulfillmentCodeHookSettings>)`](crate::operation::describe_intent::DescribeIntentOutput::fulfillment_code_hook): <p>The Lambda function called when the intent is complete and ready for fulfillment.</p>
    ///   - [`slot_priorities(Option<Vec::<SlotPriority>>)`](crate::operation::describe_intent::DescribeIntentOutput::slot_priorities): <p>The list that determines the priority that slots should be elicited from the user.</p>
    ///   - [`intent_confirmation_setting(Option<IntentConfirmationSetting>)`](crate::operation::describe_intent::DescribeIntentOutput::intent_confirmation_setting): <p>Prompts that Amazon Lex sends to the user to confirm completion of an intent.</p>
    ///   - [`intent_closing_setting(Option<IntentClosingSetting>)`](crate::operation::describe_intent::DescribeIntentOutput::intent_closing_setting): <p>The response that Amazon Lex sends to when the intent is closed.</p>
    ///   - [`input_contexts(Option<Vec::<InputContext>>)`](crate::operation::describe_intent::DescribeIntentOutput::input_contexts): <p>A list of contexts that must be active for the intent to be considered for sending to the user.</p>
    ///   - [`output_contexts(Option<Vec::<OutputContext>>)`](crate::operation::describe_intent::DescribeIntentOutput::output_contexts): <p>A list of contexts that are activated when the intent is fulfilled.</p>
    ///   - [`kendra_configuration(Option<KendraConfiguration>)`](crate::operation::describe_intent::DescribeIntentOutput::kendra_configuration): <p>Configuration information required to use the <code>AMAZON.KendraSearchIntent</code> intent.</p>
    ///   - [`bot_id(Option<String>)`](crate::operation::describe_intent::DescribeIntentOutput::bot_id): <p>The identifier of the bot associated with the intent.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::describe_intent::DescribeIntentOutput::bot_version): <p>The version of the bot associated with the intent.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::describe_intent::DescribeIntentOutput::locale_id): <p>The language and locale specified for the intent.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::describe_intent::DescribeIntentOutput::creation_date_time): <p>A timestamp of the date and time that the intent was created.</p>
    ///   - [`last_updated_date_time(Option<DateTime>)`](crate::operation::describe_intent::DescribeIntentOutput::last_updated_date_time): <p>A timestamp of the date and time that the intent was last updated.</p>
    ///   - [`initial_response_setting(Option<InitialResponseSetting>)`](crate::operation::describe_intent::DescribeIntentOutput::initial_response_setting): <p>Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.</p>
    ///   - [`qn_a_intent_configuration(Option<QnAIntentConfiguration>)`](crate::operation::describe_intent::DescribeIntentOutput::qn_a_intent_configuration): <p>Details about the configuration of the built-in <code>Amazon.QnAIntent</code>.</p>
    /// - On failure, responds with [`SdkError<DescribeIntentError>`](crate::operation::describe_intent::DescribeIntentError)
    pub fn describe_intent(&self) -> crate::operation::describe_intent::builders::DescribeIntentFluentBuilder {
        crate::operation::describe_intent::builders::DescribeIntentFluentBuilder::new(self.handle.clone())
    }
}