BedrockAgentCoreControl / Client / create_browser_profile
create_browser_profile¶
- BedrockAgentCoreControl.Client.create_browser_profile(**kwargs)¶
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.
See also: AWS API Documentation
Request Syntax
response = client.create_browser_profile( name='string', description='string', clientToken='string', tags={ 'string': 'string' } )
- Parameters:
name (string) –
[REQUIRED]
The name of the browser profile. The name must be unique within your account and can contain alphanumeric characters and underscores.
description (string) – A description of the browser profile. Use this field to describe the purpose or contents of the profile.
clientToken (string) –
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.
tags (dict) –
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.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'profileId': 'string', 'profileArn': 'string', 'createdAt': datetime(2015, 1, 1), 'status': 'READY'|'DELETING'|'DELETED'|'SAVING' }
Response Structure
(dict) –
profileId (string) –
The unique identifier of the created browser profile.
profileArn (string) –
The Amazon Resource Name (ARN) of the created browser profile.
createdAt (datetime) –
The timestamp when the browser profile was created.
status (string) –
The current status of the browser profile.
Exceptions
BedrockAgentCoreControl.Client.exceptions.ServiceQuotaExceededExceptionBedrockAgentCoreControl.Client.exceptions.AccessDeniedExceptionBedrockAgentCoreControl.Client.exceptions.ConflictExceptionBedrockAgentCoreControl.Client.exceptions.ValidationExceptionBedrockAgentCoreControl.Client.exceptions.ThrottlingExceptionBedrockAgentCoreControl.Client.exceptions.InternalServerException