AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Details about a message.

Inheritance Hierarchy

System.Object
  Amazon.BedrockAgentRuntime.Model.Message

Namespace: Amazon.BedrockAgentRuntime.Model
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z

Syntax

C#
public class Message

The Message type exposes the following members

Constructors

NameDescription
Public Method Message()

Properties

NameTypeDescription
Public Property Content System.Collections.Generic.List<Amazon.BedrockAgentRuntime.Model.ContentBlock>

Gets and sets the property Content.

The message's content.

Public Property Role Amazon.BedrockAgentRuntime.ConversationRole

Gets and sets the property Role.

The message's role.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5