Class: Aws::LexModelsV2::Types::StillWaitingResponseSpecification
- Inherits:
-
Struct
- Object
- Struct
- Aws::LexModelsV2::Types::StillWaitingResponseSpecification
- Defined in:
- gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
Overview
When making an API call, you may pass StillWaitingResponseSpecification data as a hash:
{
message_groups: [ # required
{
message: { # required
plain_text_message: {
value: "PlainTextMessageValue", # required
},
custom_payload: {
value: "CustomPayloadValue", # required
},
ssml_message: {
value: "SSMLMessageValue", # required
},
image_response_card: {
title: "AttachmentTitle", # required
subtitle: "AttachmentTitle",
image_url: "AttachmentUrl",
buttons: [
{
text: "ButtonText", # required
value: "ButtonValue", # required
},
],
},
},
variations: [
{
plain_text_message: {
value: "PlainTextMessageValue", # required
},
custom_payload: {
value: "CustomPayloadValue", # required
},
ssml_message: {
value: "SSMLMessageValue", # required
},
image_response_card: {
title: "AttachmentTitle", # required
subtitle: "AttachmentTitle",
image_url: "AttachmentUrl",
buttons: [
{
text: "ButtonText", # required
value: "ButtonValue", # required
},
],
},
},
],
},
],
frequency_in_seconds: 1, # required
timeout_in_seconds: 1, # required
allow_interrupt: false,
}
Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#allow_interrupt ⇒ Boolean
Indicates that the user can interrupt the response by speaking while the message is being played.
-
#frequency_in_seconds ⇒ Integer
How often a message should be sent to the user.
-
#message_groups ⇒ Array<Types::MessageGroup>
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
-
#timeout_in_seconds ⇒ Integer
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
Instance Attribute Details
#allow_interrupt ⇒ Boolean
Indicates that the user can interrupt the response by speaking while the message is being played.
10858 10859 10860 10861 10862 10863 10864 10865 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 10858 class StillWaitingResponseSpecification < Struct.new( :message_groups, :frequency_in_seconds, :timeout_in_seconds, :allow_interrupt) SENSITIVE = [] include Aws::Structure end |
#frequency_in_seconds ⇒ Integer
How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes.
10858 10859 10860 10861 10862 10863 10864 10865 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 10858 class StillWaitingResponseSpecification < Struct.new( :message_groups, :frequency_in_seconds, :timeout_in_seconds, :allow_interrupt) SENSITIVE = [] include Aws::Structure end |
#message_groups ⇒ Array<Types::MessageGroup>
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user.
10858 10859 10860 10861 10862 10863 10864 10865 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 10858 class StillWaitingResponseSpecification < Struct.new( :message_groups, :frequency_in_seconds, :timeout_in_seconds, :allow_interrupt) SENSITIVE = [] include Aws::Structure end |
#timeout_in_seconds ⇒ Integer
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages.
10858 10859 10860 10861 10862 10863 10864 10865 |
# File 'gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb', line 10858 class StillWaitingResponseSpecification < Struct.new( :message_groups, :frequency_in_seconds, :timeout_in_seconds, :allow_interrupt) SENSITIVE = [] include Aws::Structure end |