// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListBrowserSessions`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`browser_identifier(impl Into<String>)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::browser_identifier) / [`set_browser_identifier(Option<String>)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::set_browser_identifier):<br>required: **true**<br><p>The unique identifier of the browser to list sessions for. If specified, only sessions for this browser are returned. If not specified, sessions for all browsers are returned.</p><br>
/// - [`max_results(i32)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. The default value is 10. Valid values range from 1 to 100. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results. If not specified, Amazon Bedrock returns the first page of results.</p><br>
/// - [`status(BrowserSessionStatus)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::status) / [`set_status(Option<BrowserSessionStatus>)`](crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::set_status):<br>required: **false**<br><p>The status of the browser sessions to list. Valid values include ACTIVE, STOPPING, and STOPPED. If not specified, sessions with any status are returned.</p><br>
/// - On success, responds with [`ListBrowserSessionsOutput`](crate::operation::list_browser_sessions::ListBrowserSessionsOutput) with field(s):
/// - [`items(Vec::<BrowserSessionSummary>)`](crate::operation::list_browser_sessions::ListBrowserSessionsOutput::items): <p>The list of browser sessions that match the specified criteria.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_browser_sessions::ListBrowserSessionsOutput::next_token): <p>The token to use in a subsequent <code>ListBrowserSessions</code> request to get the next set of results.</p>
/// - On failure, responds with [`SdkError<ListBrowserSessionsError>`](crate::operation::list_browser_sessions::ListBrowserSessionsError)
pub fn list_browser_sessions(&self) -> crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder {
crate::operation::list_browser_sessions::builders::ListBrowserSessionsFluentBuilder::new(self.handle.clone())
}
}