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

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

Overview

Note:

When making an API call, you may pass Statement data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messagesArray<Types::Message>

A collection of message objects.

Returns:



4576
4577
4578
4579
4580
4581
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4576

class Statement < Struct.new(
  :messages,
  :response_card)
  SENSITIVE = []
  include Aws::Structure
end

#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)


4576
4577
4578
4579
4580
4581
# File 'gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/types.rb', line 4576

class Statement < Struct.new(
  :messages,
  :response_card)
  SENSITIVE = []
  include Aws::Structure
end