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