1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetNode`](crate::operation::get_node::builders::GetNodeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetNodeOutput`](crate::operation::get_node::GetNodeOutput) with field(s):
    ///   - [`node(Option<Node>)`](crate::operation::get_node::GetNodeOutput::node): <p>Properties of the node configuration.</p>
    /// - On failure, responds with [`SdkError<GetNodeError>`](crate::operation::get_node::GetNodeError)
    pub fn get_node(&self) -> crate::operation::get_node::builders::GetNodeFluentBuilder {
        crate::operation::get_node::builders::GetNodeFluentBuilder::new(self.handle.clone())
    }
}