BedrockAgentCoreControlClient.create_browser
rboto-bedrock-agentcore-control==0.4.0 · Service index · Types
Model summary (excerpt): Creates a custom browser.
Install and imports
from rboto import BedrockAgentCoreControlClient
from collections.abc import Sequence
from rboto_bedrock_agentcore_control.types import (
BrowserEnterprisePolicy,
BrowserNetworkConfiguration,
BrowserSigningConfigInput,
Certificate,
CreateBrowserOutput,
RecordingConfig,
ToolsFileSystemConfiguration,
)
Signature
async def create_browser(
*,
name: str,
network_configuration: BrowserNetworkConfiguration,
description: str | None = None,
execution_role_arn: str | None = None,
recording: RecordingConfig | None = None,
browser_signing: BrowserSigningConfigInput | None = None,
enterprise_policies: Sequence[BrowserEnterprisePolicy] | None = None,
certificates: Sequence[Certificate] | None = None,
filesystem_configurations: Sequence[ToolsFileSystemConfiguration] | None = None,
client_token: str | None = None,
tags: dict[str, str] | None = None,
) -> CreateBrowserOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
name |
Yes | The name of the browser. The name must be unique within your account. |
network_configuration |
Yes | The network configuration for the browser. This configuration specifies the network mode for the browser. |
description |
No | The description of the browser. |
execution_role_arn |
No | The Amazon Resource Name (ARN) of the IAM role that provides permissions for the browser to access Amazon Web Services services. |
recording |
No | The recording configuration for the browser. When enabled, browser sessions are recorded and stored in the specified Amazon S3 location. |
browser_signing |
No | The browser signing configuration that enables cryptographic agent identification using HTTP message signatures for web bot authentication. |
enterprise_policies |
No | A list of enterprise policy files for the browser. |
certificates |
No | A list of certificates to install in the browser. |
filesystem_configurations |
No | The file system configurations to mount into the browser. Use these configurations to mount your own Amazon Simple Storage Service (Amazon S3) Files or Amazon Elastic File System (Amazon EFS) access points. Your sessions can then access your data. If you don't specify this field, no file systems are mounted. |
client_token |
No | A unique, case-sensitive identifier to ensure that the operation 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. |
tags |
No | A map of tag keys and values to assign to the browser. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. |
Output
CreateBrowserOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
browser_id |
str |
Always present | — |
browser_arn |
str |
Always present | — |
created_at |
str |
Always present | — |
status |
BrowserStatusOutput |
Always present | BrowserStatusOutput |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
BrowserEnterprisePolicy, BrowserNetworkConfiguration, BrowserSigningConfigInput, Certificate, CreateBrowserOutput, RecordingConfig, ToolsFileSystemConfiguration
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_bedrock_agentcore_control.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ServiceQuotaExceededError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.