Class: Aws::LexModelsV2::Types::PromptSpecification

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb

Overview

Specifies a list of message groups that Amazon Lex sends to a user to elicit a response.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_interruptBoolean

Indicates whether the user can interrupt a speech prompt from the bot.

Returns:

  • (Boolean)


11490
11491
11492
11493
11494
11495
11496
11497
11498
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11490

class PromptSpecification < Struct.new(
  :message_groups,
  :max_retries,
  :allow_interrupt,
  :message_selection_strategy,
  :prompt_attempts_specification)
  SENSITIVE = []
  include Aws::Structure
end

#max_retriesInteger

The maximum number of times the bot tries to elicit a response from the user using this prompt.

Returns:

  • (Integer)


11490
11491
11492
11493
11494
11495
11496
11497
11498
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11490

class PromptSpecification < Struct.new(
  :message_groups,
  :max_retries,
  :allow_interrupt,
  :message_selection_strategy,
  :prompt_attempts_specification)
  SENSITIVE = []
  include Aws::Structure
end

#message_groupsArray<Types::MessageGroup>

A collection of messages that Amazon Lex can send to the user. Amazon Lex chooses the actual message to send at runtime.

Returns:



11490
11491
11492
11493
11494
11495
11496
11497
11498
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11490

class PromptSpecification < Struct.new(
  :message_groups,
  :max_retries,
  :allow_interrupt,
  :message_selection_strategy,
  :prompt_attempts_specification)
  SENSITIVE = []
  include Aws::Structure
end

#message_selection_strategyString

Indicates how a message is selected from a message group among retries.

Returns:

  • (String)


11490
11491
11492
11493
11494
11495
11496
11497
11498
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11490

class PromptSpecification < Struct.new(
  :message_groups,
  :max_retries,
  :allow_interrupt,
  :message_selection_strategy,
  :prompt_attempts_specification)
  SENSITIVE = []
  include Aws::Structure
end

#prompt_attempts_specificationHash<String,Types::PromptAttemptSpecification>

Specifies the advanced settings on each attempt of the prompt.

Returns:



11490
11491
11492
11493
11494
11495
11496
11497
11498
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 11490

class PromptSpecification < Struct.new(
  :message_groups,
  :max_retries,
  :allow_interrupt,
  :message_selection_strategy,
  :prompt_attempts_specification)
  SENSITIVE = []
  include Aws::Structure
end