Class: Aws::BedrockAgentRuntime::Types::Message

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

Overview

Details about a message.

Constant Summary collapse

SENSITIVE =
[:content]

Instance Attribute Summary collapse

Instance Attribute Details

#contentArray<Types::ContentBlock>

The message's content.

Returns:



5357
5358
5359
5360
5361
5362
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5357

class Message < Struct.new(
  :role,
  :content)
  SENSITIVE = [:content]
  include Aws::Structure
end

#roleString

The message's role.

Returns:

  • (String)


5357
5358
5359
5360
5361
5362
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 5357

class Message < Struct.new(
  :role,
  :content)
  SENSITIVE = [:content]
  include Aws::Structure
end