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
show all
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

Instance Attribute Details

#content_typeString

The content type of the response.

Possible values:

  • application/vnd.amazonaws.card.generic

Returns:

  • (String)

    The content type of the response.

#generic_attachmentsArray<Types::GenericAttachment>

An array of attachment objects representing options.

Returns:

#versionString

The version of the response card format.

Returns:

  • (String)

    The version of the response card format.