aws_sdk_workspacesweb/client/expire_session.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ExpireSession`](crate::operation::expire_session::builders::ExpireSessionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`portal_id(impl Into<String>)`](crate::operation::expire_session::builders::ExpireSessionFluentBuilder::portal_id) / [`set_portal_id(Option<String>)`](crate::operation::expire_session::builders::ExpireSessionFluentBuilder::set_portal_id):<br>required: **true**<br><p>The ID of the web portal for the session.</p><br>
/// - [`session_id(impl Into<String>)`](crate::operation::expire_session::builders::ExpireSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::expire_session::builders::ExpireSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The ID of the session to expire.</p><br>
/// - On success, responds with [`ExpireSessionOutput`](crate::operation::expire_session::ExpireSessionOutput)
/// - On failure, responds with [`SdkError<ExpireSessionError>`](crate::operation::expire_session::ExpireSessionError)
pub fn expire_session(&self) -> crate::operation::expire_session::builders::ExpireSessionFluentBuilder {
crate::operation::expire_session::builders::ExpireSessionFluentBuilder::new(self.handle.clone())
}
}