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