#[non_exhaustive]pub struct UpdateIntentOutput {Show 19 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>,
pub creation_date_time: Option<DateTime>,
pub last_updated_date_time: Option<DateTime>,
pub initial_response_setting: Option<InitialResponseSetting>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.intent_id: Option<String>
The identifier of the intent that was updated.
intent_name: Option<String>
The updated name of the intent.
description: Option<String>
The updated description of the intent.
parent_intent_signature: Option<String>
The updated built-in intent that is the parent of this intent.
sample_utterances: Option<Vec<SampleUtterance>>
The updated list of sample utterances for the intent.
dialog_code_hook: Option<DialogCodeHookSettings>
The updated Lambda function called during each turn of the conversation with the user.
fulfillment_code_hook: Option<FulfillmentCodeHookSettings>
The updated Lambda function called when the intent is ready for fulfillment.
slot_priorities: Option<Vec<SlotPriority>>
The updated list of slots and their priorities that are elicited from the user for the intent.
intent_confirmation_setting: Option<IntentConfirmationSetting>
The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.
intent_closing_setting: Option<IntentClosingSetting>
The updated response that Amazon Lex sends the user when the intent is closed.
input_contexts: Option<Vec<InputContext>>
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.
output_contexts: Option<Vec<OutputContext>>
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.
kendra_configuration: Option<KendraConfiguration>
The updated configuration for connecting to an Amazon Kendra index with the AMAZON.KendraSearchIntent
intent.
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. Will always be DRAFT
.
locale_id: Option<String>
The updated language and locale of the intent.
creation_date_time: Option<DateTime>
A timestamp of when the intent was created.
last_updated_date_time: Option<DateTime>
A timestamp of the last time that the intent was modified.
initial_response_setting: Option<InitialResponseSetting>
Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
Implementations§
source§impl UpdateIntentOutput
impl UpdateIntentOutput
sourcepub fn intent_name(&self) -> Option<&str>
pub fn intent_name(&self) -> Option<&str>
The updated name of the intent.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The updated description of the intent.
sourcepub fn parent_intent_signature(&self) -> Option<&str>
pub fn parent_intent_signature(&self) -> Option<&str>
The updated built-in intent that is the parent of this intent.
sourcepub fn sample_utterances(&self) -> &[SampleUtterance]
pub fn sample_utterances(&self) -> &[SampleUtterance]
The updated list of sample utterances for the intent.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sample_utterances.is_none()
.
sourcepub fn dialog_code_hook(&self) -> Option<&DialogCodeHookSettings>
pub fn dialog_code_hook(&self) -> Option<&DialogCodeHookSettings>
The updated Lambda function called during each turn of the conversation with the user.
sourcepub fn fulfillment_code_hook(&self) -> Option<&FulfillmentCodeHookSettings>
pub fn fulfillment_code_hook(&self) -> Option<&FulfillmentCodeHookSettings>
The updated Lambda function called when the intent is ready for fulfillment.
sourcepub fn slot_priorities(&self) -> &[SlotPriority]
pub fn slot_priorities(&self) -> &[SlotPriority]
The updated list of slots and their priorities that are elicited from the user for the intent.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .slot_priorities.is_none()
.
sourcepub fn intent_confirmation_setting(&self) -> Option<&IntentConfirmationSetting>
pub fn intent_confirmation_setting(&self) -> Option<&IntentConfirmationSetting>
The updated prompts that Amazon Lex sends to the user to confirm the completion of an intent.
sourcepub fn intent_closing_setting(&self) -> Option<&IntentClosingSetting>
pub fn intent_closing_setting(&self) -> Option<&IntentClosingSetting>
The updated response that Amazon Lex sends the user when the intent is closed.
sourcepub fn input_contexts(&self) -> &[InputContext]
pub fn input_contexts(&self) -> &[InputContext]
The updated list of contexts that must be active for the intent to be considered by Amazon Lex.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_contexts.is_none()
.
sourcepub fn output_contexts(&self) -> &[OutputContext]
pub fn output_contexts(&self) -> &[OutputContext]
The updated list of contexts that Amazon Lex activates when the intent is fulfilled.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .output_contexts.is_none()
.
sourcepub fn kendra_configuration(&self) -> Option<&KendraConfiguration>
pub fn kendra_configuration(&self) -> Option<&KendraConfiguration>
The updated configuration for connecting to an Amazon Kendra index with the AMAZON.KendraSearchIntent
intent.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot that contains the intent. Will always be DRAFT
.
sourcepub fn creation_date_time(&self) -> Option<&DateTime>
pub fn creation_date_time(&self) -> Option<&DateTime>
A timestamp of when the intent was created.
sourcepub fn last_updated_date_time(&self) -> Option<&DateTime>
pub fn last_updated_date_time(&self) -> Option<&DateTime>
A timestamp of the last time that the intent was modified.
sourcepub fn initial_response_setting(&self) -> Option<&InitialResponseSetting>
pub fn initial_response_setting(&self) -> Option<&InitialResponseSetting>
Configuration settings for a response sent to the user before Amazon Lex starts eliciting slots.
source§impl UpdateIntentOutput
impl UpdateIntentOutput
sourcepub fn builder() -> UpdateIntentOutputBuilder
pub fn builder() -> UpdateIntentOutputBuilder
Creates a new builder-style object to manufacture UpdateIntentOutput
.
Trait Implementations§
source§impl Clone for UpdateIntentOutput
impl Clone for UpdateIntentOutput
source§fn clone(&self) -> UpdateIntentOutput
fn clone(&self) -> UpdateIntentOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateIntentOutput
impl Debug for UpdateIntentOutput
source§impl PartialEq for UpdateIntentOutput
impl PartialEq for UpdateIntentOutput
source§fn eq(&self, other: &UpdateIntentOutput) -> bool
fn eq(&self, other: &UpdateIntentOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateIntentOutput
impl RequestId for UpdateIntentOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.