logo
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 $LATESTversion of the intent created or updated.

conclusion_statement: Option<Statement>

After the Lambda function specified in thefulfillmentActivityintent 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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. 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.

Should always be Self

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