aws_sdk_memorydb/client/
batch_update_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 [`BatchUpdateCluster`](crate::operation::batch_update_cluster::builders::BatchUpdateClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_names(impl Into<String>)`](crate::operation::batch_update_cluster::builders::BatchUpdateClusterFluentBuilder::cluster_names) / [`set_cluster_names(Option<Vec::<String>>)`](crate::operation::batch_update_cluster::builders::BatchUpdateClusterFluentBuilder::set_cluster_names):<br>required: **true**<br><p>The cluster names to apply the updates.</p><br>
7    ///   - [`service_update(ServiceUpdateRequest)`](crate::operation::batch_update_cluster::builders::BatchUpdateClusterFluentBuilder::service_update) / [`set_service_update(Option<ServiceUpdateRequest>)`](crate::operation::batch_update_cluster::builders::BatchUpdateClusterFluentBuilder::set_service_update):<br>required: **false**<br><p>The unique ID of the service update</p><br>
8    /// - On success, responds with [`BatchUpdateClusterOutput`](crate::operation::batch_update_cluster::BatchUpdateClusterOutput) with field(s):
9    ///   - [`processed_clusters(Option<Vec::<Cluster>>)`](crate::operation::batch_update_cluster::BatchUpdateClusterOutput::processed_clusters): <p>The list of clusters that have been updated.</p>
10    ///   - [`unprocessed_clusters(Option<Vec::<UnprocessedCluster>>)`](crate::operation::batch_update_cluster::BatchUpdateClusterOutput::unprocessed_clusters): <p>The list of clusters where updates have not been applied.</p>
11    /// - On failure, responds with [`SdkError<BatchUpdateClusterError>`](crate::operation::batch_update_cluster::BatchUpdateClusterError)
12    pub fn batch_update_cluster(&self) -> crate::operation::batch_update_cluster::builders::BatchUpdateClusterFluentBuilder {
13        crate::operation::batch_update_cluster::builders::BatchUpdateClusterFluentBuilder::new(self.handle.clone())
14    }
15}