aws-sdk-connect 1.182.0

AWS SDK for Amazon Connect Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Connect Customer instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The identifier of the session to delete.</p><br>
    /// - On success, responds with [`DeleteSessionOutput`](crate::operation::delete_session::DeleteSessionOutput)
    /// - 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())
    }
}