Class: Aws::Lex::Types::ResponseCard

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-lex/types.rb

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#content_typeString

The content type of the response.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
# File 'lib/aws-sdk-lex/types.rb', line 1568

class ResponseCard < Struct.new(
  :version,
  :content_type,
  :generic_attachments)
  SENSITIVE = []
  include Aws::Structure
end

#generic_attachmentsArray<Types::GenericAttachment>

An array of attachment objects representing options.

Returns:



1568
1569
1570
1571
1572
1573
1574
# File 'lib/aws-sdk-lex/types.rb', line 1568

class ResponseCard < Struct.new(
  :version,
  :content_type,
  :generic_attachments)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version of the response card format.

Returns:

  • (String)


1568
1569
1570
1571
1572
1573
1574
# File 'lib/aws-sdk-lex/types.rb', line 1568

class ResponseCard < Struct.new(
  :version,
  :content_type,
  :generic_attachments)
  SENSITIVE = []
  include Aws::Structure
end