aws-sdk-bedrockagentcore 1.63.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
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 [`DeleteCapacityProviderSession`](crate::operation::delete_capacity_provider_session::builders::DeleteCapacityProviderSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`capacity_provider_id(impl Into<String>)`](crate::operation::delete_capacity_provider_session::builders::DeleteCapacityProviderSessionFluentBuilder::capacity_provider_id) / [`set_capacity_provider_id(Option<String>)`](crate::operation::delete_capacity_provider_session::builders::DeleteCapacityProviderSessionFluentBuilder::set_capacity_provider_id):<br>required: **true**<br><p>The unique identifier of the capacity provider associated with the session.</p><br>
    ///   - [`session_id(impl Into<String>)`](crate::operation::delete_capacity_provider_session::builders::DeleteCapacityProviderSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::delete_capacity_provider_session::builders::DeleteCapacityProviderSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The unique identifier of the capacity provider session to delete.</p><br>
    /// - On success, responds with [`DeleteCapacityProviderSessionOutput`](crate::operation::delete_capacity_provider_session::DeleteCapacityProviderSessionOutput) with field(s):
    ///   - [`capacity_provider_arn(String)`](crate::operation::delete_capacity_provider_session::DeleteCapacityProviderSessionOutput::capacity_provider_arn): <p>The Amazon Resource Name (ARN) of the capacity provider associated with the deleted session.</p>
    ///   - [`session_id(String)`](crate::operation::delete_capacity_provider_session::DeleteCapacityProviderSessionOutput::session_id): <p>The unique identifier of the deleted capacity provider session.</p>
    ///   - [`status(CapacityProviderSessionStatus)`](crate::operation::delete_capacity_provider_session::DeleteCapacityProviderSessionOutput::status): <p>The current status of the capacity provider session. When the status is <code>Deleting</code>, the session is being deleted and is not available. When the status is <code>Deleted</code>, the session is no longer available.</p>
    /// - On failure, responds with [`SdkError<DeleteCapacityProviderSessionError>`](crate::operation::delete_capacity_provider_session::DeleteCapacityProviderSessionError)
    pub fn delete_capacity_provider_session(
        &self,
    ) -> crate::operation::delete_capacity_provider_session::builders::DeleteCapacityProviderSessionFluentBuilder {
        crate::operation::delete_capacity_provider_session::builders::DeleteCapacityProviderSessionFluentBuilder::new(self.handle.clone())
    }
}