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

#checksumString

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

Returns:

  • (String)

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

#conclusion_statementTypes::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_promptTypes::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_versionBoolean

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_dateTime

The date that the intent was created.

Returns:

  • (Time)

    The date that the intent was created.

#descriptionString

A description of the intent.

Returns:

  • (String)

    A description of the intent.

#dialog_code_hookTypes::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_promptTypes::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_activityTypes::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_contextsArray<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_configurationTypes::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_dateTime

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.

#nameString

The name of the intent.

Returns:

  • (String)

    The name of the intent.

#output_contextsArray<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_signatureString

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_statementTypes::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_utterancesArray<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.

#slotsArray<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.

#versionString

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

Returns:

  • (String)

    The version of the intent.