aws-sdk-bedrockagentruntime 1.126.0

AWS SDK for Agents for Amazon Bedrock Runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// 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:
    ///   - [`session_identifier(impl Into<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::session_identifier) / [`set_session_identifier(Option<String>)`](crate::operation::delete_session::builders::DeleteSessionFluentBuilder::set_session_identifier):<br>required: **true**<br><p>The unique identifier for the session to be deleted. You can specify either the session's <code>sessionId</code> or its Amazon Resource Name (ARN).</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())
    }
}