Skip to content

Bedrock Agentcore  >  Operations  >  update_browser_stream

update_browser_stream

Operation

update_browser_stream async

update_browser_stream(input: UpdateBrowserStreamInput, plugins: list[Plugin] | None = None) -> UpdateBrowserStreamOutput

Updates a browser stream. To use this operation, you must have permissions to perform the bedrock:UpdateBrowserStream action.

Parameters:

Name Type Description Default
input UpdateBrowserStreamInput

An instance of UpdateBrowserStreamInput.

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
UpdateBrowserStreamOutput

An instance of UpdateBrowserStreamOutput.

Input

UpdateBrowserStreamInput dataclass

Dataclass for UpdateBrowserStreamInput structure.

Attributes

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

The identifier of the browser.

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 ignores the request, but does not return an error.

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

The identifier of the browser session.

stream_update class-attribute instance-attribute
stream_update: StreamUpdate | None = None

The update to apply to the browser stream.

Output

UpdateBrowserStreamOutput dataclass

Dataclass for UpdateBrowserStreamOutput structure.

Attributes

browser_identifier instance-attribute
browser_identifier: str

The identifier of the browser.

session_id instance-attribute
session_id: str

The identifier of the browser session.

streams instance-attribute

The collection of streams associated with a browser session in Amazon Bedrock AgentCore. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.

updated_at instance-attribute
updated_at: datetime

The time at which the browser stream was updated.