aws_sdk_bedrockagentcore/client/stop_browser_session.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 [`StopBrowserSession`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`browser_identifier(impl Into<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::browser_identifier) / [`set_browser_identifier(Option<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::set_browser_identifier):<br>required: **true**<br><p>The unique identifier of the browser associated with the session.</p><br>
7 /// - [`session_id(impl Into<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The unique identifier of the browser session to stop.</p><br>
8 /// - [`client_token(impl Into<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::set_client_token):<br>required: **false**<br><p>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 ignores the request, but does not return an error.</p><br>
9 /// - On success, responds with [`StopBrowserSessionOutput`](crate::operation::stop_browser_session::StopBrowserSessionOutput) with field(s):
10 /// - [`browser_identifier(String)`](crate::operation::stop_browser_session::StopBrowserSessionOutput::browser_identifier): <p>The identifier of the browser.</p>
11 /// - [`session_id(String)`](crate::operation::stop_browser_session::StopBrowserSessionOutput::session_id): <p>The identifier of the browser session.</p>
12 /// - [`last_updated_at(DateTime)`](crate::operation::stop_browser_session::StopBrowserSessionOutput::last_updated_at): <p>The time at which the browser session was last updated.</p>
13 /// - On failure, responds with [`SdkError<StopBrowserSessionError>`](crate::operation::stop_browser_session::StopBrowserSessionError)
14 pub fn stop_browser_session(&self) -> crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder {
15 crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::new(self.handle.clone())
16 }
17}