BedrockAgentCoreClient.save_browser_session_profile
rboto-bedrock-agentcore==0.4.0 · Service index · Types
Model summary (excerpt): Saves the current state of a browser session as a reusable profile in Amazon Bedrock AgentCore. A browser profile captures persistent browser data such as cookies and local storage from an active session, enabling you to reuse this data in future browser sessions. To save a browser session profile, you must specify the profile identifier, browser identifier, and session ID. The session must be...
Install and imports
from rboto import BedrockAgentCoreClient
from rboto_bedrock_agentcore.types import (
SaveBrowserSessionProfileOutput,
)
Signature
async def save_browser_session_profile(
*,
profile_identifier: str,
browser_identifier: str,
session_id: str,
trace_id: str | None = None,
trace_parent: str | None = None,
client_token: str | None = None,
) -> SaveBrowserSessionProfileOutput: ...
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) |
|---|---|---|
profile_identifier |
Yes | The unique identifier for the browser profile. This identifier is used to reference the profile when starting new browser sessions. The identifier must follow the pattern of an alphanumeric name (up to 48 characters) followed by a hyphen and a 10-character alphanumeric suffix. |
browser_identifier |
Yes | The unique identifier of the browser associated with the session from which to save the profile. |
session_id |
Yes | The unique identifier of the browser session from which to save the profile. The session must be active when saving the profile. |
trace_id |
No | The trace identifier for request tracking. |
trace_parent |
No | The parent trace information for distributed tracing. |
client_token |
No | A unique, case-sensitive identifier to ensure that the API request 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. |
Output
SaveBrowserSessionProfileOutput.
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 |
|---|---|---|---|
profile_identifier |
str |
Always present | — |
browser_identifier |
str |
Always present | — |
session_id |
str |
Always present | — |
last_updated_at |
str |
Always present | — |
| 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
SaveBrowserSessionProfileOutput
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.exceptions:
AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.