Class: Aws::QBusiness::Types::Message

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

Overview

A message in an Amazon Q Business web experience.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_executionTypes::ActionExecution

Performs an Amazon Q Business plugin action during a non-streaming chat conversation.



4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end

#action_reviewTypes::ActionReview

An output event that Amazon Q Business returns to an user who wants to perform a plugin action during a non-streaming chat conversation. It contains information about the selected action with a list of possible user input fields, some pre-populated by Amazon Q Business.

Returns:



4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end

#attachmentsArray<Types::AttachmentOutput>

A file directly uploaded into an Amazon Q Business web experience chat.

Returns:



4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end

#bodyString

The content of the Amazon Q Business web experience message.

Returns:

  • (String)


4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end

#message_idString

The identifier of the Amazon Q Business web experience message.

Returns:

  • (String)


4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end

#source_attributionArray<Types::SourceAttribution>

The source documents used to generate Amazon Q Business web experience message.

Returns:



4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end

#timeTime

The timestamp of the first Amazon Q Business web experience message.

Returns:

  • (Time)


4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of Amazon Q Business message, whether HUMAN or AI generated.

Returns:

  • (String)


4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
# File 'gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/types.rb', line 4543

class Message < Struct.new(
  :message_id,
  :body,
  :time,
  :type,
  :attachments,
  :source_attribution,
  :action_review,
  :action_execution)
  SENSITIVE = []
  include Aws::Structure
end