1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RebootCacheCluster`](crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`RebootCacheClusterOutput`](crate::operation::reboot_cache_cluster::RebootCacheClusterOutput) with field(s):
    ///   - [`cache_cluster(Option<CacheCluster>)`](crate::operation::reboot_cache_cluster::RebootCacheClusterOutput::cache_cluster): <p>Contains all of the attributes of a specific cluster.</p>
    /// - On failure, responds with [`SdkError<RebootCacheClusterError>`](crate::operation::reboot_cache_cluster::RebootCacheClusterError)
    pub fn reboot_cache_cluster(&self) -> crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder {
        crate::operation::reboot_cache_cluster::builders::RebootCacheClusterFluentBuilder::new(self.handle.clone())
    }
}