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.

Container for the parameters to the UpdateSession operation. Updates the metadata or encryption settings of a session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.BedrockAgentRuntime.AmazonBedrockAgentRuntimeRequest
      Amazon.BedrockAgentRuntime.Model.UpdateSessionRequest

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

Syntax

C#
public class UpdateSessionRequest : AmazonBedrockAgentRuntimeRequest
         IAmazonWebServiceRequest

The UpdateSessionRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateSessionRequest()

Properties

NameTypeDescription
Public Property SessionIdentifier System.String

Gets and sets the property SessionIdentifier.

The unique identifier of the session to modify. You can specify either the session's sessionId or its Amazon Resource Name (ARN).

Public Property SessionMetadata System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property SessionMetadata.

A map of key-value pairs containing attributes to be persisted across the session. For example the user's ID, their language preference, and the type of device they are using.

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