// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StopSession`](crate::operation::stop_session::builders::StopSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`id(impl Into<String>)`](crate::operation::stop_session::builders::StopSessionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_session::builders::StopSessionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the session to be stopped.</p><br>
/// - [`request_origin(impl Into<String>)`](crate::operation::stop_session::builders::StopSessionFluentBuilder::request_origin) / [`set_request_origin(Option<String>)`](crate::operation::stop_session::builders::StopSessionFluentBuilder::set_request_origin):<br>required: **false**<br><p>The origin of the request.</p><br>
/// - On success, responds with [`StopSessionOutput`](crate::operation::stop_session::StopSessionOutput) with field(s):
/// - [`id(Option<String>)`](crate::operation::stop_session::StopSessionOutput::id): <p>Returns the Id of the stopped session.</p>
/// - On failure, responds with [`SdkError<StopSessionError>`](crate::operation::stop_session::StopSessionError)
pub fn stop_session(&self) -> crate::operation::stop_session::builders::StopSessionFluentBuilder {
crate::operation::stop_session::builders::StopSessionFluentBuilder::new(self.handle.clone())
}
}