Class: Aws::LexModelBuildingService::Types::FollowUpPrompt

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lexmodelbuildingservice/types.rb

Overview

A prompt for additional activity after an intent is fulfilled. For example, after the ‘OrderPizza` intent is fulfilled, you might prompt the user to find out whether the user wants to order drinks.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#promptTypes::Prompt

Prompts for information from the user.

Returns:



932
933
934
935
936
937
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 932

class FollowUpPrompt < Struct.new(
  :prompt,
  :rejection_statement)
  SENSITIVE = []
  include Aws::Structure
end

#rejection_statementTypes::Statement

If the user answers “no” to the question defined in the ‘prompt` field, Amazon Lex responds with this statement to acknowledge that the intent was canceled.

Returns:



932
933
934
935
936
937
# File 'lib/aws-sdk-lexmodelbuildingservice/types.rb', line 932

class FollowUpPrompt < Struct.new(
  :prompt,
  :rejection_statement)
  SENSITIVE = []
  include Aws::Structure
end