aws_sdk_bedrockagentcore/client/
update_browser_stream.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateBrowserStream`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`browser_identifier(impl Into<String>)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::browser_identifier) / [`set_browser_identifier(Option<String>)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::set_browser_identifier):<br>required: **true**<br><p>The identifier of the browser.</p><br>
7    ///   - [`session_id(impl Into<String>)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::set_session_id):<br>required: **true**<br><p>The identifier of the browser session.</p><br>
8    ///   - [`stream_update(StreamUpdate)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::stream_update) / [`set_stream_update(Option<StreamUpdate>)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::set_stream_update):<br>required: **true**<br><p>The update to apply to the browser stream.</p><br>
9    ///   - [`client_token(impl Into<String>)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::set_client_token):<br>required: **false**<br><p>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.</p><br>
10    /// - On success, responds with [`UpdateBrowserStreamOutput`](crate::operation::update_browser_stream::UpdateBrowserStreamOutput) with field(s):
11    ///   - [`browser_identifier(String)`](crate::operation::update_browser_stream::UpdateBrowserStreamOutput::browser_identifier): <p>The identifier of the browser.</p>
12    ///   - [`session_id(String)`](crate::operation::update_browser_stream::UpdateBrowserStreamOutput::session_id): <p>The identifier of the browser session.</p>
13    ///   - [`streams(Option<BrowserSessionStream>)`](crate::operation::update_browser_stream::UpdateBrowserStreamOutput::streams): <p>The collection of streams associated with a browser session in Amazon Bedrock. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.</p>
14    ///   - [`updated_at(DateTime)`](crate::operation::update_browser_stream::UpdateBrowserStreamOutput::updated_at): <p>The time at which the browser stream was updated.</p>
15    /// - On failure, responds with [`SdkError<UpdateBrowserStreamError>`](crate::operation::update_browser_stream::UpdateBrowserStreamError)
16    pub fn update_browser_stream(&self) -> crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder {
17        crate::operation::update_browser_stream::builders::UpdateBrowserStreamFluentBuilder::new(self.handle.clone())
18    }
19}