update_browser_stream¶
Operation¶
update_browser_stream
¶
update_browser_stream(request: UpdateBrowserStreamInput | UpdateBrowserStreamInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateBrowserStreamInputDict]) -> UpdateBrowserStreamOutput
Updates a browser stream. To use this operation, you must have permissions to perform the bedrock:UpdateBrowserStream action.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateBrowserStreamInput | UpdateBrowserStreamInputDict | 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[UpdateBrowserStreamInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateBrowserStreamOutput
|
An instance of |
update_browser_stream
async
¶
update_browser_stream(request: UpdateBrowserStreamInput | UpdateBrowserStreamInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[UpdateBrowserStreamInputDict]) -> UpdateBrowserStreamOutput
Updates a browser stream. To use this operation, you must have permissions to perform the bedrock:UpdateBrowserStream action.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
UpdateBrowserStreamInput | UpdateBrowserStreamInputDict | 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[UpdateBrowserStreamInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
UpdateBrowserStreamOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
UpdateBrowserStreamInputDict
¶
Bases: TypedDict
Dictionary form of UpdateBrowserStreamInput.
Attributes¶
browser_identifier
instance-attribute
¶
The identifier of the browser.
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 ignores the request, but does not return an error.
This field is autopopulated if not provided.
stream_update
instance-attribute
¶
stream_update: Required[StreamUpdate | StreamUpdateDict]
The update to apply to the browser stream.
UpdateBrowserStreamInput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateBrowserStreamInput structure.
Attributes¶
browser_identifier
class-attribute
instance-attribute
¶
browser_identifier: str | None = ...
The identifier of the browser.
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 ignores the request, but does not return an error.
This field is autopopulated if not provided.
session_id
class-attribute
instance-attribute
¶
session_id: str | None = ...
The identifier of the browser session.
stream_update
class-attribute
instance-attribute
¶
stream_update: StreamUpdate | None = ...
The update to apply to the browser stream.
Output¶
UpdateBrowserStreamOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for UpdateBrowserStreamOutput structure.
Attributes¶
response_metadata
class-attribute
instance-attribute
¶
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.
streams
instance-attribute
¶
streams: BrowserSessionStream
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.