aws_sdk_managedblockchain/client/
get_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 [`GetNode`](crate::operation::get_node::builders::GetNodeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`network_id(impl Into<String>)`](crate::operation::get_node::builders::GetNodeFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::get_node::builders::GetNodeFluentBuilder::set_network_id):<br>required: **true**<br><p>The unique identifier of the network that the node is on.</p><br>
7    ///   - [`member_id(impl Into<String>)`](crate::operation::get_node::builders::GetNodeFluentBuilder::member_id) / [`set_member_id(Option<String>)`](crate::operation::get_node::builders::GetNodeFluentBuilder::set_member_id):<br>required: **false**<br><p>The unique identifier of the member that owns the node.</p> <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p><br>
8    ///   - [`node_id(impl Into<String>)`](crate::operation::get_node::builders::GetNodeFluentBuilder::node_id) / [`set_node_id(Option<String>)`](crate::operation::get_node::builders::GetNodeFluentBuilder::set_node_id):<br>required: **true**<br><p>The unique identifier of the node.</p><br>
9    /// - On success, responds with [`GetNodeOutput`](crate::operation::get_node::GetNodeOutput) with field(s):
10    ///   - [`node(Option<Node>)`](crate::operation::get_node::GetNodeOutput::node): <p>Properties of the node configuration.</p>
11    /// - On failure, responds with [`SdkError<GetNodeError>`](crate::operation::get_node::GetNodeError)
12    pub fn get_node(&self) -> crate::operation::get_node::builders::GetNodeFluentBuilder {
13        crate::operation::get_node::builders::GetNodeFluentBuilder::new(self.handle.clone())
14    }
15}