Struct aws_sdk_managedblockchain::client::fluent_builders::CreateNetwork [−][src]
pub struct CreateNetwork<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateNetwork
.
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
Implementations
impl<C, M, R> CreateNetwork<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateNetwork<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateNetworkOutput, SdkError<CreateNetworkError>> where
R::Policy: SmithyRetryPolicy<CreateNetworkInputOperationOutputAlias, CreateNetworkOutput, CreateNetworkError, CreateNetworkInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateNetworkOutput, SdkError<CreateNetworkError>> where
R::Policy: SmithyRetryPolicy<CreateNetworkInputOperationOutputAlias, CreateNetworkOutput, CreateNetworkError, CreateNetworkInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
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 AWS SDK or the AWS CLI.
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 AWS SDK or the AWS CLI.
An optional description for the network.
An optional description for the network.
The blockchain framework that the network uses.
The version of the blockchain framework that the network uses.
The version of the blockchain framework that the network uses.
Configuration properties of the blockchain framework relevant to the network configuration.
pub fn set_framework_configuration(
self,
input: Option<NetworkFrameworkConfiguration>
) -> Self
pub fn set_framework_configuration(
self,
input: Option<NetworkFrameworkConfiguration>
) -> Self
Configuration properties of the blockchain framework relevant to the network configuration.
The voting rules used by the network to determine if a proposal is approved.
The voting rules used by the network to determine if a proposal is approved.
Configuration properties for the first member within the network.
Configuration properties for the first member within the network.
Adds a key-value pair to Tags
.
To override the contents of this collection use set_tags
.
Tags to assign to the network. Each tag consists of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each 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.
Tags to assign to the network. Each tag consists of a key and optional value.
When specifying tags during creation, you can specify multiple key-value pairs in a single request, with an overall maximum of 50 tags added to each 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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateNetwork<C, M, R>
impl<C, M, R> Unpin for CreateNetwork<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CreateNetwork<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more