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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-lex/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)


1570
1571
1572
1573
1574
1575
1576
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 1570

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:



1570
1571
1572
1573
1574
1575
1576
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 1570

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

#versionString

The version of the response card format.

Returns:

  • (String)


1570
1571
1572
1573
1574
1575
1576
# File 'gems/aws-sdk-lex/lib/aws-sdk-lex/types.rb', line 1570

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