Skip to content

create_browser_profile

Operation

create_browser_profile

create_browser_profile(request: CreateBrowserProfileInput | CreateBrowserProfileInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateBrowserProfileInputDict]) -> 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
request CreateBrowserProfileInput | CreateBrowserProfileInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[CreateBrowserProfileInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateBrowserProfileOutput

An instance of CreateBrowserProfileOutput.

create_browser_profile async

create_browser_profile(request: CreateBrowserProfileInput | CreateBrowserProfileInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[CreateBrowserProfileInputDict]) -> 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
request CreateBrowserProfileInput | CreateBrowserProfileInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[CreateBrowserProfileInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
CreateBrowserProfileOutput

An instance of CreateBrowserProfileOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

CreateBrowserProfileInputDict

Bases: TypedDict

Dictionary form of CreateBrowserProfileInput.

Attributes

client_token instance-attribute
client_token: str | 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.

This field is autopopulated if not provided.

description instance-attribute
description: str | None

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

name instance-attribute
name: Required[str]

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

tags instance-attribute
tags: Mapping[str, str] | 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.

CreateBrowserProfileInput dataclass

Bases: _SerdeShape

Dataclass for CreateBrowserProfileInput structure.

Attributes

client_token class-attribute instance-attribute
client_token: str | 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.

This field is autopopulated if not provided.

description class-attribute instance-attribute
description: str | 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 = ...

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 = ...

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

Bases: _SerdeShape

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.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

status instance-attribute
status: str

The current status of the browser profile.