Struct rusoto_lex_models::PutIntentResponse
source · [−]pub struct PutIntentResponse {Show 19 fields
pub checksum: Option<String>,
pub conclusion_statement: Option<Statement>,
pub confirmation_prompt: Option<Prompt>,
pub create_version: Option<bool>,
pub created_date: Option<f64>,
pub description: Option<String>,
pub dialog_code_hook: Option<CodeHook>,
pub follow_up_prompt: Option<FollowUpPrompt>,
pub fulfillment_activity: Option<FulfillmentActivity>,
pub input_contexts: Option<Vec<InputContext>>,
pub kendra_configuration: Option<KendraConfiguration>,
pub last_updated_date: Option<f64>,
pub name: Option<String>,
pub output_contexts: Option<Vec<OutputContext>>,
pub parent_intent_signature: Option<String>,
pub rejection_statement: Option<Statement>,
pub sample_utterances: Option<Vec<String>>,
pub slots: Option<Vec<Slot>>,
pub version: Option<String>,
}
Fields
checksum: Option<String>
Checksum of the $LATEST
version of the intent created or updated.
conclusion_statement: Option<Statement>
After the Lambda function specified in thefulfillmentActivity
intent fulfills the intent, Amazon Lex conveys this statement to the user.
confirmation_prompt: Option<Prompt>
If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.
create_version: Option<bool>
True
if a new version of the intent was created. If the createVersion
field was not specified in the request, the createVersion
field is set to false in the response.
created_date: Option<f64>
The date that the intent was created.
description: Option<String>
A description of the intent.
dialog_code_hook: Option<CodeHook>
If defined in the intent, Amazon Lex invokes this Lambda function for each user input.
follow_up_prompt: Option<FollowUpPrompt>
If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.
fulfillment_activity: Option<FulfillmentActivity>
If defined in the intent, Amazon Lex invokes this Lambda function to fulfill the intent after the user provides all of the information required by the intent.
input_contexts: Option<Vec<InputContext>>
An array of InputContext
objects that lists the contexts that must be active for Amazon Lex to choose the intent in a conversation with the user.
kendra_configuration: Option<KendraConfiguration>
Configuration information, if any, required to connect to an Amazon Kendra index and use the AMAZON.KendraSearchIntent
intent.
last_updated_date: Option<f64>
The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.
name: Option<String>
The name of the intent.
output_contexts: Option<Vec<OutputContext>>
An array of OutputContext
objects that lists the contexts that the intent activates when the intent is fulfilled.
parent_intent_signature: Option<String>
A unique identifier for the built-in intent that this intent is based on.
rejection_statement: Option<Statement>
If the user answers "no" to the question defined in confirmationPrompt
Amazon Lex responds with this statement to acknowledge that the intent was canceled.
sample_utterances: Option<Vec<String>>
An array of sample utterances that are configured for the intent.
slots: Option<Vec<Slot>>
An array of intent slots that are configured for the intent.
version: Option<String>
The version of the intent. For a new intent, the version is always $LATEST
.
Trait Implementations
sourceimpl Clone for PutIntentResponse
impl Clone for PutIntentResponse
sourcefn clone(&self) -> PutIntentResponse
fn clone(&self) -> PutIntentResponse
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 PutIntentResponse
impl Debug for PutIntentResponse
sourceimpl Default for PutIntentResponse
impl Default for PutIntentResponse
sourcefn default() -> PutIntentResponse
fn default() -> PutIntentResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for PutIntentResponse
impl<'de> Deserialize<'de> for PutIntentResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<PutIntentResponse> for PutIntentResponse
impl PartialEq<PutIntentResponse> for PutIntentResponse
sourcefn eq(&self, other: &PutIntentResponse) -> bool
fn eq(&self, other: &PutIntentResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PutIntentResponse) -> bool
fn ne(&self, other: &PutIntentResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for PutIntentResponse
Auto Trait Implementations
impl RefUnwindSafe for PutIntentResponse
impl Send for PutIntentResponse
impl Sync for PutIntentResponse
impl Unpin for PutIntentResponse
impl UnwindSafe for PutIntentResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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