You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::PutIntentResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#checksum ⇒ String

Checksum of the $LATESTversion of the intent created or updated.

Returns:

  • (String) —

    Checksum of the $LATESTversion of the intent created or updated.

#conclusion_statement ⇒ Types::Statement

After the Lambda function specified in thefulfillmentActivityintent fulfills the intent, Amazon Lex conveys this statement to the user.

Returns:

  • (Types::Statement) —

    After the Lambda function specified in thefulfillmentActivityintent fulfills the intent, Amazon Lex conveys this statement to the user.

#confirmation_prompt ⇒ Types::Prompt

If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.

Returns:

  • (Types::Prompt) —

    If defined in the intent, Amazon Lex prompts the user to confirm the intent before fulfilling it.

#create_version ⇒ Boolean

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.

Returns:

  • (Boolean) —

    True if a new version of the intent was created.

#created_date ⇒ Time

The date that the intent was created.

Returns:

  • (Time) —

    The date that the intent was created.

#description ⇒ String

A description of the intent.

Returns:

  • (String) —

    A description of the intent.

#dialog_code_hook ⇒ Types::CodeHook

If defined in the intent, Amazon Lex invokes this Lambda function for each user input.

Returns:

  • (Types::CodeHook) —

    If defined in the intent, Amazon Lex invokes this Lambda function for each user input.

#follow_up_prompt ⇒ Types::FollowUpPrompt

If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.

Returns:

  • (Types::FollowUpPrompt) —

    If defined in the intent, Amazon Lex uses this prompt to solicit additional user activity after the intent is fulfilled.

#fulfillment_activity ⇒ Types::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.

Returns:

  • (Types::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 ⇒ Array<Types::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.

Returns:

  • (Array<Types::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 ⇒ Types::KendraConfiguration

Configuration information, if any, required to connect to an Amazon Kendra index and use the AMAZON.KendraSearchIntent intent.

Returns:

  • (Types::KendraConfiguration) —

    Configuration information, if any, required to connect to an Amazon Kendra index and use the AMAZON.KendraSearchIntent intent.

#last_updated_date ⇒ Time

The date that the intent was updated. When you create a resource, the creation date and last update dates are the same.

Returns:

  • (Time) —

    The date that the intent was updated.

#name ⇒ String

The name of the intent.

Returns:

  • (String) —

    The name of the intent.

#output_contexts ⇒ Array<Types::OutputContext>

An array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.

Returns:

  • (Array<Types::OutputContext>) —

    An array of OutputContext objects that lists the contexts that the intent activates when the intent is fulfilled.

#parent_intent_signature ⇒ String

A unique identifier for the built-in intent that this intent is based on.

Returns:

  • (String) —

    A unique identifier for the built-in intent that this intent is based on.

#rejection_statement ⇒ Types::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.

Returns:

  • (Types::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 ⇒ Array<String>

An array of sample utterances that are configured for the intent.

Returns:

  • (Array<String>) —

    An array of sample utterances that are configured for the intent.

#slots ⇒ Array<Types::Slot>

An array of intent slots that are configured for the intent.

Returns:

  • (Array<Types::Slot>) —

    An array of intent slots that are configured for the intent.

#version ⇒ String

The version of the intent. For a new intent, the version is always $LATEST.

Returns:

  • (String) —

    The version of the intent.