aws_sdk_dax/client/
reboot_node.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 [`RebootNode`](crate::operation::reboot_node::builders::RebootNodeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cluster_name(impl Into<String>)`](crate::operation::reboot_node::builders::RebootNodeFluentBuilder::cluster_name) / [`set_cluster_name(Option<String>)`](crate::operation::reboot_node::builders::RebootNodeFluentBuilder::set_cluster_name):<br>required: **true**<br><p>The name of the DAX cluster containing the node to be rebooted.</p><br>
7    ///   - [`node_id(impl Into<String>)`](crate::operation::reboot_node::builders::RebootNodeFluentBuilder::node_id) / [`set_node_id(Option<String>)`](crate::operation::reboot_node::builders::RebootNodeFluentBuilder::set_node_id):<br>required: **true**<br><p>The system-assigned ID of the node to be rebooted.</p><br>
8    /// - On success, responds with [`RebootNodeOutput`](crate::operation::reboot_node::RebootNodeOutput) with field(s):
9    ///   - [`cluster(Option<Cluster>)`](crate::operation::reboot_node::RebootNodeOutput::cluster): <p>A description of the DAX cluster after a node has been rebooted.</p>
10    /// - On failure, responds with [`SdkError<RebootNodeError>`](crate::operation::reboot_node::RebootNodeError)
11    pub fn reboot_node(&self) -> crate::operation::reboot_node::builders::RebootNodeFluentBuilder {
12        crate::operation::reboot_node::builders::RebootNodeFluentBuilder::new(self.handle.clone())
13    }
14}