Struct aws_sdk_lexmodelsv2::input::UpdateIntentInput
source · [−]#[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
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
sourceimpl UpdateIntentInput
impl UpdateIntentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateIntent, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateIntent, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateIntent>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateIntentInput
sourceimpl UpdateIntentInput
impl UpdateIntentInput
sourcepub fn intent_name(&self) -> Option<&str>
pub fn intent_name(&self) -> Option<&str>
The new name for the intent.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The new description of the intent.
sourcepub fn parent_intent_signature(&self) -> Option<&str>
pub fn parent_intent_signature(&self) -> Option<&str>
The signature of the new built-in intent to use as the parent of this intent.
sourcepub fn sample_utterances(&self) -> Option<&[SampleUtterance]>
pub fn sample_utterances(&self) -> Option<&[SampleUtterance]>
New utterances used to invoke the intent.
sourcepub fn dialog_code_hook(&self) -> Option<&DialogCodeHookSettings>
pub fn dialog_code_hook(&self) -> Option<&DialogCodeHookSettings>
The new Lambda function to use between each turn of the conversation with the bot.
sourcepub fn fulfillment_code_hook(&self) -> Option<&FulfillmentCodeHookSettings>
pub fn fulfillment_code_hook(&self) -> Option<&FulfillmentCodeHookSettings>
The new Lambda function to call when all of the intents required slots are provided and the intent is ready for fulfillment.
sourcepub fn slot_priorities(&self) -> Option<&[SlotPriority]>
pub fn slot_priorities(&self) -> Option<&[SlotPriority]>
A new list of slots and their priorities that are contained by the intent.
sourcepub fn intent_confirmation_setting(&self) -> Option<&IntentConfirmationSetting>
pub fn intent_confirmation_setting(&self) -> Option<&IntentConfirmationSetting>
New 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 new response that Amazon Lex sends the user when the intent is closed.
sourcepub fn input_contexts(&self) -> Option<&[InputContext]>
pub fn input_contexts(&self) -> Option<&[InputContext]>
A new list of contexts that must be active in order for Amazon Lex to consider the intent.
sourcepub fn output_contexts(&self) -> Option<&[OutputContext]>
pub fn output_contexts(&self) -> Option<&[OutputContext]>
A new list of contexts that Amazon Lex activates when the intent is fulfilled.
sourcepub fn kendra_configuration(&self) -> Option<&KendraConfiguration>
pub fn kendra_configuration(&self) -> Option<&KendraConfiguration>
New configuration settings for connecting to an Amazon Kendra index.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The version of the bot that contains the intent. Must be DRAFT.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
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
sourceimpl Clone for UpdateIntentInput
impl Clone for UpdateIntentInput
sourcefn clone(&self) -> UpdateIntentInput
fn clone(&self) -> UpdateIntentInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdateIntentInput
impl Debug for UpdateIntentInput
sourceimpl PartialEq<UpdateIntentInput> for UpdateIntentInput
impl PartialEq<UpdateIntentInput> for UpdateIntentInput
sourcefn eq(&self, other: &UpdateIntentInput) -> bool
fn eq(&self, other: &UpdateIntentInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &UpdateIntentInput) -> bool
fn ne(&self, other: &UpdateIntentInput) -> bool
This method tests for !=.
impl StructuralPartialEq for UpdateIntentInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateIntentInput
impl Send for UpdateIntentInput
impl Sync for UpdateIntentInput
impl Unpin for UpdateIntentInput
impl UnwindSafe for UpdateIntentInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more