aws-sdk-bedrockagentcore 1.45.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopBrowserSession`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`trace_id(impl Into<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::trace_id) / [`set_trace_id(Option<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::set_trace_id):<br>required: **false**<br><p>The trace identifier for request tracking.</p><br>
    ///   - [`trace_parent(impl Into<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::trace_parent) / [`set_trace_parent(Option<String>)`](crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::set_trace_parent):<br>required: **false**<br><p>The parent trace information for distributed tracing.</p><br>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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 AgentCore ignores the request, but does not return an error.</p><br>
    /// - On success, responds with [`StopBrowserSessionOutput`](crate::operation::stop_browser_session::StopBrowserSessionOutput) with field(s):
    ///   - [`browser_identifier(String)`](crate::operation::stop_browser_session::StopBrowserSessionOutput::browser_identifier): <p>The identifier of the browser.</p>
    ///   - [`session_id(String)`](crate::operation::stop_browser_session::StopBrowserSessionOutput::session_id): <p>The identifier of the browser session.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<StopBrowserSessionError>`](crate::operation::stop_browser_session::StopBrowserSessionError)
    pub fn stop_browser_session(&self) -> crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder {
        crate::operation::stop_browser_session::builders::StopBrowserSessionFluentBuilder::new(self.handle.clone())
    }
}