Class: Aws::BedrockAgent::Types::Message

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

Overview

A message input or response from a model. For more information, see [Create a prompt using Prompt management].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-create.html

Constant Summary collapse

SENSITIVE =
[:content]

Instance Attribute Summary collapse

Instance Attribute Details

#contentArray<Types::ContentBlock>

The content in the message.

Returns:



7340
7341
7342
7343
7344
7345
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7340

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

#roleString

The role that the message belongs to.

Returns:

  • (String)


7340
7341
7342
7343
7344
7345
# File 'lib/aws-sdk-bedrockagent/types.rb', line 7340

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