1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteSession`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_name(impl ::std::convert::Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::bot_name) / [`set_bot_name(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_bot_name): <p>The name of the bot that contains the session data.</p>
    ///   - [`bot_alias(impl ::std::convert::Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::bot_alias) / [`set_bot_alias(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_bot_alias): <p>The alias in use for the bot that contains the session data.</p>
    ///   - [`user_id(impl ::std::convert::Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_user_id): <p>The identifier of the user associated with the session data.</p>
    /// - On success, responds with [`DeleteSessionOutput`](crate::operation::delete_session::DeleteSessionOutput) with field(s):
    ///   - [`bot_name(Option<String>)`](crate::operation::delete_session::DeleteSessionOutput::bot_name): <p>The name of the bot associated with the session data.</p>
    ///   - [`bot_alias(Option<String>)`](crate::operation::delete_session::DeleteSessionOutput::bot_alias): <p>The alias in use for the bot associated with the session data.</p>
    ///   - [`user_id(Option<String>)`](crate::operation::delete_session::DeleteSessionOutput::user_id): <p>The ID of the client application user.</p>
    ///   - [`session_id(Option<String>)`](crate::operation::delete_session::DeleteSessionOutput::session_id): <p>The unique identifier for the session.</p>
    /// - On failure, responds with [`SdkError<DeleteSessionError>`](crate::operation::delete_session::DeleteSessionError)
    pub fn delete_session(&self) -> crate::operation::delete_session::builders::DeleteSessionFluentBuilder {
        crate::operation::delete_session::builders::DeleteSessionFluentBuilder::new(self.handle.clone())
    }
}