You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Lex::Types::ResponseCard
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lex::Types::ResponseCard
- Defined in:
- (unknown)
Overview
If you configure a response card when creating your bots, Amazon Lex substitutes the session attributes and slot values that are available, and then returns it. The response card can also come from a Lambda function ( dialogCodeHook
and fulfillmentActivity
on an intent).
Returned by:
Instance Attribute Summary collapse
-
#content_type ⇒ String
The content type of the response.
-
#generic_attachments ⇒ Array<Types::GenericAttachment>
An array of attachment objects representing options.
-
#version ⇒ String
The version of the response card format.
Instance Attribute Details
#content_type ⇒ String
The content type of the response.
Possible values:
- application/vnd.amazonaws.card.generic
#generic_attachments ⇒ Array<Types::GenericAttachment>
An array of attachment objects representing options.
#version ⇒ String
The version of the response card format.