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 DeleteSession operation. Deletes a session that you ended. You can't delete a session with an ACTIVE status. To delete an active session, you must first end it with the EndSession API operation. 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.DeleteSessionRequest

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

Syntax

C#
public class DeleteSessionRequest : AmazonBedrockAgentRuntimeRequest
         IAmazonWebServiceRequest

The DeleteSessionRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteSessionRequest()

Properties

NameTypeDescription
Public Property SessionIdentifier System.String

Gets and sets the property SessionIdentifier.

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

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