#[non_exhaustive]pub struct CreateNodeInput {
pub client_request_token: Option<String>,
pub network_id: Option<String>,
pub member_id: Option<String>,
pub node_configuration: Option<NodeConfiguration>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_request_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.
network_id: Option<String>
The unique identifier of the network for the node.
Ethereum public networks have the following NetworkId
s:
-
n-ethereum-mainnet
-
n-ethereum-goerli
member_id: Option<String>
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
node_configuration: Option<NodeConfiguration>
The properties of a node configuration.
Tags to assign to the node.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
Implementations§
source§impl CreateNodeInput
impl CreateNodeInput
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the CLI.
sourcepub fn network_id(&self) -> Option<&str>
pub fn network_id(&self) -> Option<&str>
The unique identifier of the network for the node.
Ethereum public networks have the following NetworkId
s:
-
n-ethereum-mainnet
-
n-ethereum-goerli
sourcepub fn member_id(&self) -> Option<&str>
pub fn member_id(&self) -> Option<&str>
The unique identifier of the member that owns this node.
Applies only to Hyperledger Fabric.
sourcepub fn node_configuration(&self) -> Option<&NodeConfiguration>
pub fn node_configuration(&self) -> Option<&NodeConfiguration>
The properties of a node configuration.
Tags to assign to the node.
Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
source§impl CreateNodeInput
impl CreateNodeInput
sourcepub fn builder() -> CreateNodeInputBuilder
pub fn builder() -> CreateNodeInputBuilder
Creates a new builder-style object to manufacture CreateNodeInput
.
Trait Implementations§
source§impl Clone for CreateNodeInput
impl Clone for CreateNodeInput
source§fn clone(&self) -> CreateNodeInput
fn clone(&self) -> CreateNodeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateNodeInput
impl Debug for CreateNodeInput
source§impl PartialEq for CreateNodeInput
impl PartialEq for CreateNodeInput
source§fn eq(&self, other: &CreateNodeInput) -> bool
fn eq(&self, other: &CreateNodeInput) -> bool
self
and other
values to be equal, and is used
by ==
.