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 [`GetBrowserSession`](crate::operation::get_browser_session::builders::GetBrowserSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`browser_identifier(impl Into<String>)`](crate::operation::get_browser_session::builders::GetBrowserSessionFluentBuilder::browser_identifier) / [`set_browser_identifier(Option<String>)`](crate::operation::get_browser_session::builders::GetBrowserSessionFluentBuilder::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::get_browser_session::builders::GetBrowserSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_browser_session::builders::GetBrowserSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The unique identifier of the browser session to retrieve.</p><br>
    /// - On success, responds with [`GetBrowserSessionOutput`](crate::operation::get_browser_session::GetBrowserSessionOutput) with field(s):
    ///   - [`browser_identifier(String)`](crate::operation::get_browser_session::GetBrowserSessionOutput::browser_identifier): <p>The identifier of the browser.</p>
    ///   - [`session_id(String)`](crate::operation::get_browser_session::GetBrowserSessionOutput::session_id): <p>The identifier of the browser session.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::name): <p>The name of the browser session.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_browser_session::GetBrowserSessionOutput::created_at): <p>The time at which the browser session was created.</p>
    ///   - [`view_port(Option<ViewPort>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::view_port): <p>The configuration that defines the dimensions of a browser viewport in a browser session. The viewport determines the visible area of web content and affects how web pages are rendered and displayed. Proper viewport configuration ensures that web content is displayed correctly for the agent's browsing tasks.</p>
    ///   - [`extensions(Option<Vec::<BrowserExtension>>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::extensions): <p>The list of browser extensions that are configured in the browser session.</p>
    ///   - [`enterprise_policies(Option<Vec::<BrowserEnterprisePolicy>>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::enterprise_policies): <p>A list of files containing enterprise policies for the browser session.</p>
    ///   - [`profile_configuration(Option<BrowserProfileConfiguration>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::profile_configuration): <p>The browser profile configuration associated with this session. Contains the profile identifier that links to persistent browser data such as cookies and local storage.</p>
    ///   - [`session_timeout_seconds(Option<i32>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::session_timeout_seconds): <p>The timeout period for the browser session in seconds.</p>
    ///   - [`status(Option<BrowserSessionStatus>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::status): <p>The current status of the browser session. Possible values include ACTIVE, STOPPING, and STOPPED.</p>
    ///   - [`streams(Option<BrowserSessionStream>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::streams): <p>The streams associated with this browser session. These include the automation stream and live view stream.</p>
    ///   - [`proxy_configuration(Option<ProxyConfiguration>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::proxy_configuration): <p>The active proxy configuration for this browser session. This field is only present if proxy configuration was provided when the session was started using <code>StartBrowserSession</code>. The configuration includes proxy servers, domain bypass rules and the proxy authentication credentials.</p>
    ///   - [`certificates(Option<Vec::<Certificate>>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::certificates): <p>The list of certificates installed in the browser session.</p>
    ///   - [`session_replay_artifact(Option<String>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::session_replay_artifact): <p>The artifact containing the session replay information.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_browser_session::GetBrowserSessionOutput::last_updated_at): <p>The time at which the browser session was last updated.</p>
    /// - On failure, responds with [`SdkError<GetBrowserSessionError>`](crate::operation::get_browser_session::GetBrowserSessionError)
    pub fn get_browser_session(&self) -> crate::operation::get_browser_session::builders::GetBrowserSessionFluentBuilder {
        crate::operation::get_browser_session::builders::GetBrowserSessionFluentBuilder::new(self.handle.clone())
    }
}