aws_sdk_odb/client/stop_db_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 [`StopDbNode`](crate::operation::stop_db_node::builders::StopDbNodeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`cloud_vm_cluster_id(impl Into<String>)`](crate::operation::stop_db_node::builders::StopDbNodeFluentBuilder::cloud_vm_cluster_id) / [`set_cloud_vm_cluster_id(Option<String>)`](crate::operation::stop_db_node::builders::StopDbNodeFluentBuilder::set_cloud_vm_cluster_id):<br>required: **true**<br><p>The unique identifier of the VM cluster that contains the DB node to stop.</p><br>
7 /// - [`db_node_id(impl Into<String>)`](crate::operation::stop_db_node::builders::StopDbNodeFluentBuilder::db_node_id) / [`set_db_node_id(Option<String>)`](crate::operation::stop_db_node::builders::StopDbNodeFluentBuilder::set_db_node_id):<br>required: **true**<br><p>The unique identifier of the DB node to stop.</p><br>
8 /// - On success, responds with [`StopDbNodeOutput`](crate::operation::stop_db_node::StopDbNodeOutput) with field(s):
9 /// - [`db_node_id(String)`](crate::operation::stop_db_node::StopDbNodeOutput::db_node_id): <p>The unique identifier of the DB node that was stopped.</p>
10 /// - [`status(Option<DbNodeResourceStatus>)`](crate::operation::stop_db_node::StopDbNodeOutput::status): <p>The current status of the DB node after the stop operation.</p>
11 /// - [`status_reason(Option<String>)`](crate::operation::stop_db_node::StopDbNodeOutput::status_reason): <p>Additional information about the status of the DB node after the stop operation.</p>
12 /// - On failure, responds with [`SdkError<StopDbNodeError>`](crate::operation::stop_db_node::StopDbNodeError)
13 pub fn stop_db_node(&self) -> crate::operation::stop_db_node::builders::StopDbNodeFluentBuilder {
14 crate::operation::stop_db_node::builders::StopDbNodeFluentBuilder::new(self.handle.clone())
15 }
16}