aws_sdk_odb/client/
get_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 [`GetDbNode`](crate::operation::get_db_node::builders::GetDbNodeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`cloud_vm_cluster_id(impl Into<String>)`](crate::operation::get_db_node::builders::GetDbNodeFluentBuilder::cloud_vm_cluster_id) / [`set_cloud_vm_cluster_id(Option<String>)`](crate::operation::get_db_node::builders::GetDbNodeFluentBuilder::set_cloud_vm_cluster_id):<br>required: **true**<br><p>The unique identifier of the VM cluster that contains the DB node.</p><br>
7    ///   - [`db_node_id(impl Into<String>)`](crate::operation::get_db_node::builders::GetDbNodeFluentBuilder::db_node_id) / [`set_db_node_id(Option<String>)`](crate::operation::get_db_node::builders::GetDbNodeFluentBuilder::set_db_node_id):<br>required: **true**<br><p>The unique identifier of the DB node to retrieve information about.</p><br>
8    /// - On success, responds with [`GetDbNodeOutput`](crate::operation::get_db_node::GetDbNodeOutput) with field(s):
9    ///   - [`db_node(Option<DbNode>)`](crate::operation::get_db_node::GetDbNodeOutput::db_node): <p>Information about a DB node.</p>
10    /// - On failure, responds with [`SdkError<GetDbNodeError>`](crate::operation::get_db_node::GetDbNodeError)
11    pub fn get_db_node(&self) -> crate::operation::get_db_node::builders::GetDbNodeFluentBuilder {
12        crate::operation::get_db_node::builders::GetDbNodeFluentBuilder::new(self.handle.clone())
13    }
14}