Skip to content

Get Session

bedrockagentruntime_get_session R Documentation

Retrieves details about a specific session

Description

Retrieves details about a specific session. For more information about sessions, see Store and retrieve conversation history and context with Amazon Bedrock sessions.

Usage

bedrockagentruntime_get_session(sessionIdentifier)

Arguments

sessionIdentifier

[required] A unique identifier for the session to retrieve. You can specify either the session's sessionId or its Amazon Resource Name (ARN).

Value

A list with the following syntax:

list(
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  encryptionKeyArn = "string",
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  sessionArn = "string",
  sessionId = "string",
  sessionMetadata = list(
    "string"
  ),
  sessionStatus = "ACTIVE"|"EXPIRED"|"ENDED"
)

Request syntax

svc$get_session(
  sessionIdentifier = "string"
)