aws_sdk_elasticache/client/
reboot_cache_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 [`RebootCacheCluster`](crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cache_cluster_id(impl Into<String>)`](crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder::cache_cluster_id) / [`set_cache_cluster_id(Option<String>)`](crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder::set_cache_cluster_id):<br>required: **true**<br><p>The cluster identifier. This parameter is stored as a lowercase string.</p><br>
7    ///   - [`cache_node_ids_to_reboot(impl Into<String>)`](crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder::cache_node_ids_to_reboot) / [`set_cache_node_ids_to_reboot(Option<Vec::<String>>)`](crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder::set_cache_node_ids_to_reboot):<br>required: **true**<br><p>A list of cache node IDs to reboot. A node ID is a numeric identifier (0001, 0002, etc.). To reboot an entire cluster, specify all of the cache node IDs.</p><br>
8    /// - On success, responds with [`RebootCacheClusterOutput`](crate::operation::reboot_cache_cluster::RebootCacheClusterOutput) with field(s):
9    ///   - [`cache_cluster(Option<CacheCluster>)`](crate::operation::reboot_cache_cluster::RebootCacheClusterOutput::cache_cluster): <p>Contains all of the attributes of a specific cluster.</p>
10    /// - On failure, responds with [`SdkError<RebootCacheClusterError>`](crate::operation::reboot_cache_cluster::RebootCacheClusterError)
11    pub fn reboot_cache_cluster(&self) -> crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder {
12        crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder::new(self.handle.clone())
13    }
14}