aws_sdk_snowball/client/
cancel_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 [`CancelCluster`](crate::operation::cancel_cluster::builders::CancelClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_id(impl Into<String>)`](crate::operation::cancel_cluster::builders::CancelClusterFluentBuilder::cluster_id) / [`set_cluster_id(Option<String>)`](crate::operation::cancel_cluster::builders::CancelClusterFluentBuilder::set_cluster_id):<br>required: **true**<br><p>The 39-character ID for the cluster that you want to cancel, for example <code>CID123e4567-e89b-12d3-a456-426655440000</code>.</p><br>
7    /// - On success, responds with [`CancelClusterOutput`](crate::operation::cancel_cluster::CancelClusterOutput)
8    /// - On failure, responds with [`SdkError<CancelClusterError>`](crate::operation::cancel_cluster::CancelClusterError)
9    pub fn cancel_cluster(&self) -> crate::operation::cancel_cluster::builders::CancelClusterFluentBuilder {
10        crate::operation::cancel_cluster::builders::CancelClusterFluentBuilder::new(self.handle.clone())
11    }
12}