You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::LexModelBuildingService::Types::Statement

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Statement as input to an Aws::Client method, you can use a vanilla Hash:

{
  messages: [ # required
    {
      content_type: "PlainText", # required, accepts PlainText, SSML, CustomPayload
      content: "ContentString", # required
      group_number: 1,
    },
  ],
  response_card: "ResponseCard",
}

A collection of messages that convey information to the user. At runtime, Amazon Lex selects the message to convey.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#messagesArray<Types::Message>

A collection of message objects.

Returns:

#response_cardString

At runtime, if the client is using the PostText API, Amazon Lex includes the response card in the response. It substitutes all of the session attributes and slot values for placeholders in the response card.

Returns:

  • (String)

    At runtime, if the client is using the [PostText][1] API, Amazon Lex includes the response card in the response.