Skip to content

Get Browser Session

bedrockagentcore_get_browser_session R Documentation

Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore

Description

Retrieves detailed information about a specific browser session in Amazon Bedrock AgentCore. This operation returns the session's configuration, current status, associated streams, and metadata.

To get a browser session, you must specify both the browser identifier and the session ID. The response includes information about the session's viewport configuration, timeout settings, and stream endpoints.

The following operations are related to get_browser_session:

  • start_browser_session

  • list_browser_sessions

  • stop_browser_session

Usage

bedrockagentcore_get_browser_session(browserIdentifier, sessionId)

Arguments

browserIdentifier

[required] The unique identifier of the browser associated with the session.

sessionId

[required] The unique identifier of the browser session to retrieve.

Value

A list with the following syntax:

list(
  browserIdentifier = "string",
  sessionId = "string",
  name = "string",
  createdAt = as.POSIXct(
    "2015-01-01"
  ),
  viewPort = list(
    width = 123,
    height = 123
  ),
  extensions = list(
    list(
      location = list(
        s3 = list(
          bucket = "string",
          prefix = "string",
          versionId = "string"
        )
      )
    )
  ),
  enterprisePolicies = list(
    list(
      location = list(
        s3 = list(
          bucket = "string",
          prefix = "string",
          versionId = "string"
        )
      ),
      type = "MANAGED"|"RECOMMENDED"
    )
  ),
  profileConfiguration = list(
    profileIdentifier = "string"
  ),
  sessionTimeoutSeconds = 123,
  status = "READY"|"TERMINATED",
  streams = list(
    automationStream = list(
      streamEndpoint = "string",
      streamStatus = "ENABLED"|"DISABLED"
    ),
    liveViewStream = list(
      streamEndpoint = "string"
    )
  ),
  proxyConfiguration = list(
    proxies = list(
      list(
        externalProxy = list(
          server = "string",
          port = 123,
          domainPatterns = list(
            "string"
          ),
          credentials = list(
            basicAuth = list(
              secretArn = "string"
            )
          )
        )
      )
    ),
    bypass = list(
      domainPatterns = list(
        "string"
      )
    )
  ),
  certificates = list(
    list(
      location = list(
        secretsManager = list(
          secretArn = "string"
        )
      )
    )
  ),
  sessionReplayArtifact = "string",
  lastUpdatedAt = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$get_browser_session(
  browserIdentifier = "string",
  sessionId = "string"
)