bedrockagentcore_start_browser_session: Creates and initializes a browser session in Amazon Bedrock...

View source: R/bedrockagentcore_operations.R

bedrockagentcore_start_browser_sessionR Documentation

Creates and initializes a browser session in Amazon Bedrock AgentCore

Description

Creates and initializes a browser session in Amazon Bedrock AgentCore. The session enables agents to navigate and interact with web content, extract information from websites, and perform web-based tasks as part of their response generation.

See https://www.paws-r-sdk.com/docs/bedrockagentcore_start_browser_session/ for full documentation.

Usage

bedrockagentcore_start_browser_session(
  traceId = NULL,
  traceParent = NULL,
  browserIdentifier,
  name = NULL,
  sessionTimeoutSeconds = NULL,
  viewPort = NULL,
  extensions = NULL,
  profileConfiguration = NULL,
  proxyConfiguration = NULL,
  enterprisePolicies = NULL,
  certificates = NULL,
  clientToken = NULL
)

Arguments

traceId

The trace identifier for request tracking.

traceParent

The parent trace information for distributed tracing.

browserIdentifier

[required] The unique identifier of the browser to use for this session. This identifier specifies which browser environment to initialize for the session.

name

The name of the browser session. This name helps you identify and manage the session. The name does not need to be unique.

sessionTimeoutSeconds

The duration in seconds (time-to-live) after which the session automatically terminates, regardless of ongoing activity. Defaults to 3600 seconds (1 hour). Recommended minimum: 60 seconds. Maximum allowed: 28,800 seconds (8 hours).

viewPort

The dimensions of the browser viewport for this session. This determines the visible area of the web content and affects how web pages are rendered. If not specified, Amazon Bedrock AgentCore uses a default viewport size.

extensions

A list of browser extensions to load into the browser session.

profileConfiguration

The browser profile configuration to use for this session. A browser profile contains persistent data such as cookies and local storage that can be reused across multiple browser sessions. If specified, the session initializes with the profile's stored data, enabling continuity for tasks that require authentication or personalized settings.

proxyConfiguration

Optional proxy configuration for routing browser traffic through customer-specified proxy servers. When provided, enables HTTP Basic authentication via Amazon Web Services Secrets Manager and domain-based routing rules. Requires secretsmanager:GetSecretValue IAM permission for the specified secret ARNs.

enterprisePolicies

A list of files containing enterprise policies for the browser.

certificates

A list of certificates to install in the browser session.

clientToken

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock AgentCore ignores the request, but does not return an error. This parameter helps prevent the creation of duplicate sessions if there are temporary network issues.


paws.machine.learning documentation built on May 31, 2026, 1:07 a.m.