Skip to main content

browser_profiles

Creates, updates, deletes, gets or lists a browser_profiles resource.

Overview

Namebrowser_profiles
TypeResource
Idaws.bedrock_agentcore_control.browser_profiles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the browser profile. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,47}</code>)
created_atstring (date-time)The timestamp when the browser profile was created.
descriptionstringThe description of the browser profile.
last_saved_atstring (date-time)The timestamp when browser session data was last saved to this profile.
last_saved_browser_idstringThe identifier of the browser from which data was last saved to this profile. (pattern: <code>(aws.browser.v1|[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10})</code>)
last_saved_browser_session_idstringThe identifier of the browser session from which data was last saved to this profile. (pattern: <code>[0-9a-zA-Z]{1,40}</code>)
last_updated_atstring (date-time)The timestamp when the browser profile was last updated.
profile_arnstringThe Amazon Resource Name (ARN) of the browser profile. (pattern: <code>arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:browser-profile/[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}</code>)
profile_idstringThe unique identifier of the browser profile. (pattern: <code>[a-zA-Z][a-zA-Z0-9_]{0,47}-[a-zA-Z0-9]{10}</code>)
statusstringThe current status of the browser profile. (READY, DELETING, DELETED, SAVING)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_browser_profileselectprofile_id, regionGets information about a browser profile.
list_browser_profilesselectregionmaxResults, nextTokenLists all browser profiles in your account.
create_browser_profileinsertregion, nameCreates 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.
delete_browser_profiledeleteprofile_id, regionclientTokenDeletes a browser profile.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
profile_idstringThe unique identifier of the browser profile to delete.
regionstringAWS region (default: us-east-1)
clientTokenstringA unique, case-sensitive identifier to ensure idempotency of the request.
maxResultsintegerThe maximum number of results to return in the response.
nextTokenstringA token to retrieve the next page of results.

SELECT examples

Gets information about a browser profile.

SELECT
name,
created_at,
description,
last_saved_at,
last_saved_browser_id,
last_saved_browser_session_id,
last_updated_at,
profile_arn,
profile_id,
status
FROM aws.bedrock_agentcore_control.browser_profiles
WHERE profile_id = '{{ profile_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

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.

INSERT INTO aws.bedrock_agentcore_control.browser_profiles (
name,
description,
clientToken,
tags,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ clientToken }}',
'{{ tags }}',
'{{ region }}'
RETURNING
created_at,
profile_arn,
profile_id,
status
;

DELETE examples

Deletes a browser profile.

DELETE FROM aws.bedrock_agentcore_control.browser_profiles
WHERE profile_id = '{{ profile_id }}' --required
AND region = '{{ region }}' --required
AND clientToken = '{{ clientToken }}'
;