class Aws::LexModelsV2::Types::StillWaitingResponseSpecification
Defines the messages that Amazon Lex sends to a user to remind them that the bot is waiting for a response.
@note 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, }
@!attribute [rw] message_groups
One or more message groups, each containing one or more messages, that define the prompts that Amazon Lex sends to the user. @return [Array<Types::MessageGroup>]
@!attribute [rw] frequency_in_seconds
How often a message should be sent to the user. Minimum of 1 second, maximum of 5 minutes. @return [Integer]
@!attribute [rw] timeout_in_seconds
If Amazon Lex waits longer than this length of time for a response, it will stop sending messages. @return [Integer]
@!attribute [rw] allow_interrupt
Indicates that the user can interrupt the response by speaking while the message is being played. @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StillWaitingResponseSpecification AWS API Documentation
Constants
- SENSITIVE