View a markdown version of this page

HarnessMessage - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

HarnessMessage

A message in the conversation.

Contents

content

The content blocks of the message.

Type: Array of HarnessContentBlock objects

Required: Yes

role

The role of the message sender.

Type: String

Valid Values: user | assistant

Required: Yes

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: