aws_sdk_finspace/client/
delete_kx_cluster.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 [`DeleteKxCluster`](crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`environment_id(impl Into<String>)`](crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder::set_environment_id):<br>required: **true**<br><p>A unique identifier for the kdb environment.</p><br>
7    ///   - [`cluster_name(impl Into<String>)`](crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of the cluster that you want to delete.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder::set_client_token):<br>required: **false**<br><p>A token that ensures idempotency. This token expires in 10 minutes.</p><br>
9    /// - On success, responds with [`DeleteKxClusterOutput`](crate::operation::delete_kx_cluster::DeleteKxClusterOutput)
10    /// - On failure, responds with [`SdkError<DeleteKxClusterError>`](crate::operation::delete_kx_cluster::DeleteKxClusterError)
11    pub fn delete_kx_cluster(&self) -> crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder {
12        crate::operation::delete_kx_cluster::builders::DeleteKxClusterFluentBuilder::new(self.handle.clone())
13    }
14}