Skip to content

Bedrock Agentcore Control  >  Operations  >  create_browser_profile

create_browser_profile

Operation

create_browser_profile async

create_browser_profile(input: CreateBrowserProfileInput, plugins: list[Plugin] | None = None) -> CreateBrowserProfileOutput

Creates a browser profile in Amazon Bedrock AgentCore. A browser profile stores persistent browser data such as cookies, local storage, session storage, and browsing history that can be saved from browser sessions and reused in subsequent sessions.

Parameters:

Name Type Description Default
input CreateBrowserProfileInput

An instance of CreateBrowserProfileInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
CreateBrowserProfileOutput

An instance of CreateBrowserProfileOutput.

Input

CreateBrowserProfileInput dataclass

Dataclass for CreateBrowserProfileInput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | None = None

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.

description class-attribute instance-attribute
description: str | None = field(repr=False, default=None)

A description of the browser profile. Use this field to describe the purpose or contents of the profile.

name class-attribute instance-attribute
name: str | None = None

The name of the browser profile. The name must be unique within your account and can contain alphanumeric characters and underscores.

tags class-attribute instance-attribute
tags: dict[str, str] | None = None

A map of tag keys and values to assign to the browser profile. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.

Output

CreateBrowserProfileOutput dataclass

Dataclass for CreateBrowserProfileOutput structure.

Attributes

created_at instance-attribute
created_at: datetime

The timestamp when the browser profile was created.

profile_arn instance-attribute
profile_arn: str

The Amazon Resource Name (ARN) of the created browser profile.

profile_id instance-attribute
profile_id: str

The unique identifier of the created browser profile.

status instance-attribute

The current status of the browser profile.