aws_sdk_managedblockchain/client/delete_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 [`DeleteNode`](crate::operation::delete_node::builders::DeleteNodeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`network_id(impl Into<String>)`](crate::operation::delete_node::builders::DeleteNodeFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::delete_node::builders::DeleteNodeFluentBuilder::set_network_id):<br>required: **true**<br><p>The unique identifier of the network that the node is on.</p> <p>Ethereum public networks have the following <code>NetworkId</code>s:</p> <ul> <li> <p><code>n-ethereum-mainnet</code></p></li> </ul><br>
7 /// - [`member_id(impl Into<String>)`](crate::operation::delete_node::builders::DeleteNodeFluentBuilder::member_id) / [`set_member_id(Option<String>)`](crate::operation::delete_node::builders::DeleteNodeFluentBuilder::set_member_id):<br>required: **false**<br><p>The unique identifier of the member that owns this node.</p> <p>Applies only to Hyperledger Fabric and is required for Hyperledger Fabric.</p><br>
8 /// - [`node_id(impl Into<String>)`](crate::operation::delete_node::builders::DeleteNodeFluentBuilder::node_id) / [`set_node_id(Option<String>)`](crate::operation::delete_node::builders::DeleteNodeFluentBuilder::set_node_id):<br>required: **true**<br><p>The unique identifier of the node.</p><br>
9 /// - On success, responds with [`DeleteNodeOutput`](crate::operation::delete_node::DeleteNodeOutput)
10 /// - On failure, responds with [`SdkError<DeleteNodeError>`](crate::operation::delete_node::DeleteNodeError)
11 pub fn delete_node(&self) -> crate::operation::delete_node::builders::DeleteNodeFluentBuilder {
12 crate::operation::delete_node::builders::DeleteNodeFluentBuilder::new(self.handle.clone())
13 }
14}