#[non_exhaustive]
pub struct UpdateIntentInput {
Show 16 fields pub intent_id: Option<String>, pub intent_name: Option<String>, pub description: Option<String>, pub parent_intent_signature: Option<String>, pub sample_utterances: Option<Vec<SampleUtterance>>, pub dialog_code_hook: Option<DialogCodeHookSettings>, pub fulfillment_code_hook: Option<FulfillmentCodeHookSettings>, pub slot_priorities: Option<Vec<SlotPriority>>, pub intent_confirmation_setting: Option<IntentConfirmationSetting>, pub intent_closing_setting: Option<IntentClosingSetting>, pub input_contexts: Option<Vec<InputContext>>, pub output_contexts: Option<Vec<OutputContext>>, pub kendra_configuration: Option<KendraConfiguration>, pub bot_id: Option<String>, pub bot_version: Option<String>, pub locale_id: Option<String>,
}

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
intent_id: Option<String>

The unique identifier of the intent to update.

intent_name: Option<String>

The new name for the intent.

description: Option<String>

The new description of the intent.

parent_intent_signature: Option<String>

The signature of the new built-in intent to use as the parent of this intent.

sample_utterances: Option<Vec<SampleUtterance>>

New utterances used to invoke the intent.

dialog_code_hook: Option<DialogCodeHookSettings>

The new Lambda function to use between each turn of the conversation with the bot.

fulfillment_code_hook: Option<FulfillmentCodeHookSettings>

The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

slot_priorities: Option<Vec<SlotPriority>>

A new list of slots and their priorities that are contained by the intent.

intent_confirmation_setting: Option<IntentConfirmationSetting>

New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

intent_closing_setting: Option<IntentClosingSetting>

The new response that Amazon Lex sends the user when the intent is closed.

input_contexts: Option<Vec<InputContext>>

A new list of contexts that must be active in order for Amazon Lex to consider the intent.

output_contexts: Option<Vec<OutputContext>>

A new list of contexts that Amazon Lex activates when the intent is fulfilled.

kendra_configuration: Option<KendraConfiguration>

New configuration settings for connecting to an Amazon Kendra index.

bot_id: Option<String>

The identifier of the bot that contains the intent.

bot_version: Option<String>

The version of the bot that contains the intent. Must be DRAFT.

locale_id: Option<String>

The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages.

Implementations

Consumes the builder and constructs an Operation<UpdateIntent>

Creates a new builder-style object to manufacture UpdateIntentInput

The unique identifier of the intent to update.

The new name for the intent.

The new description of the intent.

The signature of the new built-in intent to use as the parent of this intent.

New utterances used to invoke the intent.

The new Lambda function to use between each turn of the conversation with the bot.

The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.

A new list of slots and their priorities that are contained by the intent.

New prompts that Amazon Lex sends to the user to confirm the completion of an intent.

The new response that Amazon Lex sends the user when the intent is closed.

A new list of contexts that must be active in order for Amazon Lex to consider the intent.

A new list of contexts that Amazon Lex activates when the intent is fulfilled.

New configuration settings for connecting to an Amazon Kendra index.

The identifier of the bot that contains the intent.

The version of the bot that contains the intent. Must be DRAFT.

The identifier of the language and locale where this intent is used. The string must match one of the supported locales. For more information, see Supported languages.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more