@Generated(value="software.amazon.awssdk:codegen") public interface ManagedBlockchainAsyncClient extends SdkClient
builder()
method.
Amazon Managed Blockchain is a fully managed service for creating and managing blockchain networks using open-source frameworks. Blockchain allows you to build applications where multiple parties can securely and transparently run transactions and share data without the need for a trusted, central authority.
Managed Blockchain supports the Hyperledger Fabric and Ethereum open-source frameworks. Because of fundamental
differences between the frameworks, some API actions or data types may only apply in the context of one framework and
not the other. For example, actions related to Hyperledger Fabric network members such as CreateMember
and DeleteMember
do not apply to Ethereum.
The description for each action indicates the framework or frameworks to which it applies. Data types and properties that apply only in the context of a particular framework are similarly indicated.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static ManagedBlockchainAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
ManagedBlockchainAsyncClient . |
static ManagedBlockchainAsyncClient |
create()
Create a
ManagedBlockchainAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateMemberResponse> |
createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest)
Creates a member within a Managed Blockchain network.
|
default CompletableFuture<CreateMemberResponse> |
createMember(CreateMemberRequest createMemberRequest)
Creates a member within a Managed Blockchain network.
|
default CompletableFuture<CreateNetworkResponse> |
createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
|
default CompletableFuture<CreateNetworkResponse> |
createNetwork(CreateNetworkRequest createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
|
default CompletableFuture<CreateNodeResponse> |
createNode(Consumer<CreateNodeRequest.Builder> createNodeRequest)
Creates a node on the specified blockchain network.
|
default CompletableFuture<CreateNodeResponse> |
createNode(CreateNodeRequest createNodeRequest)
Creates a node on the specified blockchain network.
|
default CompletableFuture<CreateProposalResponse> |
createProposal(Consumer<CreateProposalRequest.Builder> createProposalRequest)
Creates a proposal for a change to the network that other members of the network can vote on, for example, a
proposal to add a new member to the network.
|
default CompletableFuture<CreateProposalResponse> |
createProposal(CreateProposalRequest createProposalRequest)
Creates a proposal for a change to the network that other members of the network can vote on, for example, a
proposal to add a new member to the network.
|
default CompletableFuture<DeleteMemberResponse> |
deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest)
Deletes a member.
|
default CompletableFuture<DeleteMemberResponse> |
deleteMember(DeleteMemberRequest deleteMemberRequest)
Deletes a member.
|
default CompletableFuture<DeleteNodeResponse> |
deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest)
Deletes a node that your AWS account owns.
|
default CompletableFuture<DeleteNodeResponse> |
deleteNode(DeleteNodeRequest deleteNodeRequest)
Deletes a node that your AWS account owns.
|
default CompletableFuture<GetMemberResponse> |
getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Returns detailed information about a member.
|
default CompletableFuture<GetMemberResponse> |
getMember(GetMemberRequest getMemberRequest)
Returns detailed information about a member.
|
default CompletableFuture<GetNetworkResponse> |
getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest)
Returns detailed information about a network.
|
default CompletableFuture<GetNetworkResponse> |
getNetwork(GetNetworkRequest getNetworkRequest)
Returns detailed information about a network.
|
default CompletableFuture<GetNodeResponse> |
getNode(Consumer<GetNodeRequest.Builder> getNodeRequest)
Returns detailed information about a node.
|
default CompletableFuture<GetNodeResponse> |
getNode(GetNodeRequest getNodeRequest)
Returns detailed information about a node.
|
default CompletableFuture<GetProposalResponse> |
getProposal(Consumer<GetProposalRequest.Builder> getProposalRequest)
Returns detailed information about a proposal.
|
default CompletableFuture<GetProposalResponse> |
getProposal(GetProposalRequest getProposalRequest)
Returns detailed information about a proposal.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
|
default ListInvitationsPublisher |
listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
|
default ListInvitationsPublisher |
listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
|
default CompletableFuture<ListMembersResponse> |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default CompletableFuture<ListMembersResponse> |
listMembers(ListMembersRequest listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default ListMembersPublisher |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default ListMembersPublisher |
listMembersPaginator(ListMembersRequest listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default CompletableFuture<ListNetworksResponse> |
listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
|
default CompletableFuture<ListNetworksResponse> |
listNetworks(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
|
default ListNetworksPublisher |
listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
|
default ListNetworksPublisher |
listNetworksPaginator(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
|
default CompletableFuture<ListNodesResponse> |
listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns information about the nodes within a network.
|
default CompletableFuture<ListNodesResponse> |
listNodes(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
|
default ListNodesPublisher |
listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns information about the nodes within a network.
|
default ListNodesPublisher |
listNodesPaginator(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
|
default CompletableFuture<ListProposalsResponse> |
listProposals(Consumer<ListProposalsRequest.Builder> listProposalsRequest)
Returns a list of proposals for the network.
|
default CompletableFuture<ListProposalsResponse> |
listProposals(ListProposalsRequest listProposalsRequest)
Returns a list of proposals for the network.
|
default ListProposalsPublisher |
listProposalsPaginator(Consumer<ListProposalsRequest.Builder> listProposalsRequest)
Returns a list of proposals for the network.
|
default ListProposalsPublisher |
listProposalsPaginator(ListProposalsRequest listProposalsRequest)
Returns a list of proposals for the network.
|
default CompletableFuture<ListProposalVotesResponse> |
listProposalVotes(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default CompletableFuture<ListProposalVotesResponse> |
listProposalVotes(ListProposalVotesRequest listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default ListProposalVotesPublisher |
listProposalVotesPaginator(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default ListProposalVotesPublisher |
listProposalVotesPaginator(ListProposalVotesRequest listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags for the specified resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags for the specified resource.
|
default CompletableFuture<RejectInvitationResponse> |
rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest)
Rejects an invitation to join a network.
|
default CompletableFuture<RejectInvitationResponse> |
rejectInvitation(RejectInvitationRequest rejectInvitationRequest)
Rejects an invitation to join a network.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the Amazon Managed Blockchain resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the Amazon Managed Blockchain resource.
|
default CompletableFuture<UpdateMemberResponse> |
updateMember(Consumer<UpdateMemberRequest.Builder> updateMemberRequest)
Updates a member configuration with new parameters.
|
default CompletableFuture<UpdateMemberResponse> |
updateMember(UpdateMemberRequest updateMemberRequest)
Updates a member configuration with new parameters.
|
default CompletableFuture<UpdateNodeResponse> |
updateNode(Consumer<UpdateNodeRequest.Builder> updateNodeRequest)
Updates a node configuration with new parameters.
|
default CompletableFuture<UpdateNodeResponse> |
updateNode(UpdateNodeRequest updateNodeRequest)
Updates a node configuration with new parameters.
|
default CompletableFuture<VoteOnProposalResponse> |
voteOnProposal(Consumer<VoteOnProposalRequest.Builder> voteOnProposalRequest)
Casts a vote for a specified
ProposalId on behalf of a member. |
default CompletableFuture<VoteOnProposalResponse> |
voteOnProposal(VoteOnProposalRequest voteOnProposalRequest)
Casts a vote for a specified
ProposalId on behalf of a member. |
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static ManagedBlockchainAsyncClient create()
ManagedBlockchainAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static ManagedBlockchainAsyncClientBuilder builder()
ManagedBlockchainAsyncClient
.default CompletableFuture<CreateMemberResponse> createMember(CreateMemberRequest createMemberRequest)
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
createMemberRequest
- default CompletableFuture<CreateMemberResponse> createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest)
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the CreateMemberRequest.Builder
avoiding the need to
create one manually via CreateMemberRequest.builder()
createMemberRequest
- A Consumer
that will call methods on CreateMemberInput.Builder
to create a request.default CompletableFuture<CreateNetworkResponse> createNetwork(CreateNetworkRequest createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
createNetworkRequest
- default CompletableFuture<CreateNetworkResponse> createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the CreateNetworkRequest.Builder
avoiding the need to
create one manually via CreateNetworkRequest.builder()
createNetworkRequest
- A Consumer
that will call methods on CreateNetworkInput.Builder
to create a request.default CompletableFuture<CreateNodeResponse> createNode(CreateNodeRequest createNodeRequest)
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
createNodeRequest
- default CompletableFuture<CreateNodeResponse> createNode(Consumer<CreateNodeRequest.Builder> createNodeRequest)
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the CreateNodeRequest.Builder
avoiding the need to
create one manually via CreateNodeRequest.builder()
createNodeRequest
- A Consumer
that will call methods on CreateNodeInput.Builder
to create a request.default CompletableFuture<CreateProposalResponse> createProposal(CreateProposalRequest createProposalRequest)
Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.
Applies only to Hyperledger Fabric.
createProposalRequest
- default CompletableFuture<CreateProposalResponse> createProposal(Consumer<CreateProposalRequest.Builder> createProposalRequest)
Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the CreateProposalRequest.Builder
avoiding the need to
create one manually via CreateProposalRequest.builder()
createProposalRequest
- A Consumer
that will call methods on CreateProposalInput.Builder
to create a request.default CompletableFuture<DeleteMemberResponse> deleteMember(DeleteMemberRequest deleteMemberRequest)
Deletes a member. Deleting a member removes the member and all associated resources from the network.
DeleteMember
can only be called for a specified MemberId
if the principal performing
the action is associated with the AWS account that owns the member. In all other cases, the
DeleteMember
action is carried out as the result of an approved proposal to remove a member. If
MemberId
is the last member in a network specified by the last AWS account, the network is deleted
also.
Applies only to Hyperledger Fabric.
deleteMemberRequest
- default CompletableFuture<DeleteMemberResponse> deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest)
Deletes a member. Deleting a member removes the member and all associated resources from the network.
DeleteMember
can only be called for a specified MemberId
if the principal performing
the action is associated with the AWS account that owns the member. In all other cases, the
DeleteMember
action is carried out as the result of an approved proposal to remove a member. If
MemberId
is the last member in a network specified by the last AWS account, the network is deleted
also.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the DeleteMemberRequest.Builder
avoiding the need to
create one manually via DeleteMemberRequest.builder()
deleteMemberRequest
- A Consumer
that will call methods on DeleteMemberInput.Builder
to create a request.default CompletableFuture<DeleteNodeResponse> deleteNode(DeleteNodeRequest deleteNodeRequest)
Deletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.
Applies to Hyperledger Fabric and Ethereum.
deleteNodeRequest
- default CompletableFuture<DeleteNodeResponse> deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest)
Deletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the DeleteNodeRequest.Builder
avoiding the need to
create one manually via DeleteNodeRequest.builder()
deleteNodeRequest
- A Consumer
that will call methods on DeleteNodeInput.Builder
to create a request.default CompletableFuture<GetMemberResponse> getMember(GetMemberRequest getMemberRequest)
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
getMemberRequest
- default CompletableFuture<GetMemberResponse> getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the GetMemberRequest.Builder
avoiding the need to
create one manually via GetMemberRequest.builder()
getMemberRequest
- A Consumer
that will call methods on GetMemberInput.Builder
to create a request.default CompletableFuture<GetNetworkResponse> getNetwork(GetNetworkRequest getNetworkRequest)
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
getNetworkRequest
- default CompletableFuture<GetNetworkResponse> getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest)
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the GetNetworkRequest.Builder
avoiding the need to
create one manually via GetNetworkRequest.builder()
getNetworkRequest
- A Consumer
that will call methods on GetNetworkInput.Builder
to create a request.default CompletableFuture<GetNodeResponse> getNode(GetNodeRequest getNodeRequest)
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
getNodeRequest
- default CompletableFuture<GetNodeResponse> getNode(Consumer<GetNodeRequest.Builder> getNodeRequest)
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the GetNodeRequest.Builder
avoiding the need to create
one manually via GetNodeRequest.builder()
getNodeRequest
- A Consumer
that will call methods on GetNodeInput.Builder
to create a request.default CompletableFuture<GetProposalResponse> getProposal(GetProposalRequest getProposalRequest)
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
getProposalRequest
- default CompletableFuture<GetProposalResponse> getProposal(Consumer<GetProposalRequest.Builder> getProposalRequest)
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the GetProposalRequest.Builder
avoiding the need to
create one manually via GetProposalRequest.builder()
getProposalRequest
- A Consumer
that will call methods on GetProposalInput.Builder
to create a request.default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
listInvitationsRequest
- default CompletableFuture<ListInvitationsResponse> listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder
avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest
- A Consumer
that will call methods on ListInvitationsInput.Builder
to create a request.default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
This is a variant of
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation.
listInvitationsRequest
- default ListInvitationsPublisher listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Returns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
This is a variant of
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder
avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest
- A Consumer
that will call methods on ListInvitationsInput.Builder
to create a request.default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
listMembersRequest
- default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the ListMembersRequest.Builder
avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest
- A Consumer
that will call methods on ListMembersInput.Builder
to create a request.default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
This is a variant of
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)
operation.
listMembersRequest
- default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
This is a variant of
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)
operation.
This is a convenience which creates an instance of the ListMembersRequest.Builder
avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest
- A Consumer
that will call methods on ListMembersInput.Builder
to create a request.default CompletableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
Applies to Hyperledger Fabric and Ethereum.
listNetworksRequest
- default CompletableFuture<ListNetworksResponse> listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the ListNetworksRequest.Builder
avoiding the need to
create one manually via ListNetworksRequest.builder()
listNetworksRequest
- A Consumer
that will call methods on ListNetworksInput.Builder
to create a request.default ListNetworksPublisher listNetworksPaginator(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)
operation.
listNetworksRequest
- default ListNetworksPublisher listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Returns information about the networks in which the current AWS account participates.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)
operation.
This is a convenience which creates an instance of the ListNetworksRequest.Builder
avoiding the need to
create one manually via ListNetworksRequest.builder()
listNetworksRequest
- A Consumer
that will call methods on ListNetworksInput.Builder
to create a request.default CompletableFuture<ListNodesResponse> listNodes(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
listNodesRequest
- default CompletableFuture<ListNodesResponse> listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the ListNodesRequest.Builder
avoiding the need to
create one manually via ListNodesRequest.builder()
listNodesRequest
- A Consumer
that will call methods on ListNodesInput.Builder
to create a request.default ListNodesPublisher listNodesPaginator(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation.
listNodesRequest
- default ListNodesPublisher listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation.
This is a convenience which creates an instance of the ListNodesRequest.Builder
avoiding the need to
create one manually via ListNodesRequest.builder()
listNodesRequest
- A Consumer
that will call methods on ListNodesInput.Builder
to create a request.default CompletableFuture<ListProposalVotesResponse> listProposalVotes(ListProposalVotesRequest listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
Applies only to Hyperledger Fabric.
listProposalVotesRequest
- default CompletableFuture<ListProposalVotesResponse> listProposalVotes(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the ListProposalVotesRequest.Builder
avoiding the need
to create one manually via ListProposalVotesRequest.builder()
listProposalVotesRequest
- A Consumer
that will call methods on ListProposalVotesInput.Builder
to create a request.default ListProposalVotesPublisher listProposalVotesPaginator(ListProposalVotesRequest listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
Applies only to Hyperledger Fabric.
This is a variant of
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation.
listProposalVotesRequest
- default ListProposalVotesPublisher listProposalVotesPaginator(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
Applies only to Hyperledger Fabric.
This is a variant of
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation.
This is a convenience which creates an instance of the ListProposalVotesRequest.Builder
avoiding the need
to create one manually via ListProposalVotesRequest.builder()
listProposalVotesRequest
- A Consumer
that will call methods on ListProposalVotesInput.Builder
to create a request.default CompletableFuture<ListProposalsResponse> listProposals(ListProposalsRequest listProposalsRequest)
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
listProposalsRequest
- default CompletableFuture<ListProposalsResponse> listProposals(Consumer<ListProposalsRequest.Builder> listProposalsRequest)
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the ListProposalsRequest.Builder
avoiding the need to
create one manually via ListProposalsRequest.builder()
listProposalsRequest
- A Consumer
that will call methods on ListProposalsInput.Builder
to create a request.default ListProposalsPublisher listProposalsPaginator(ListProposalsRequest listProposalsRequest)
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
This is a variant of
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.
listProposalsRequest
- default ListProposalsPublisher listProposalsPaginator(Consumer<ListProposalsRequest.Builder> listProposalsRequest)
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
This is a variant of
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.
This is a convenience which creates an instance of the ListProposalsRequest.Builder
avoiding the need to
create one manually via ListProposalsRequest.builder()
listProposalsRequest
- A Consumer
that will call methods on ListProposalsInput.Builder
to create a request.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags for the specified resource. Each tag consists of a key and optional value.
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.
listTagsForResourceRequest
- default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags for the specified resource. Each tag consists of a key and optional value.
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.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.default CompletableFuture<RejectInvitationResponse> rejectInvitation(RejectInvitationRequest rejectInvitationRequest)
Rejects an invitation to join a network. This action can be called by a principal in an AWS account that has received an invitation to create a member and join a network.
Applies only to Hyperledger Fabric.
rejectInvitationRequest
- default CompletableFuture<RejectInvitationResponse> rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest)
Rejects an invitation to join a network. This action can be called by a principal in an AWS account that has received an invitation to create a member and join a network.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the RejectInvitationRequest.Builder
avoiding the need
to create one manually via RejectInvitationRequest.builder()
rejectInvitationRequest
- A Consumer
that will call methods on RejectInvitationInput.Builder
to create a request.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.
When you specify a tag key that already exists, the tag value is overwritten with the new value. Use
UntagResource
to remove tag keys.
A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.
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.
tagResourceRequest
- default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.
When you specify a tag key that already exists, the tag value is overwritten with the new value. Use
UntagResource
to remove tag keys.
A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.
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.
This is a convenience which creates an instance of the TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- A Consumer
that will call methods on TagResourceRequest.Builder
to create a request.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the Amazon Managed Blockchain 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.
untagResourceRequest
- default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the Amazon Managed Blockchain 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.
This is a convenience which creates an instance of the UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- A Consumer
that will call methods on UntagResourceRequest.Builder
to create a request.default CompletableFuture<UpdateMemberResponse> updateMember(UpdateMemberRequest updateMemberRequest)
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
updateMemberRequest
- default CompletableFuture<UpdateMemberResponse> updateMember(Consumer<UpdateMemberRequest.Builder> updateMemberRequest)
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the UpdateMemberRequest.Builder
avoiding the need to
create one manually via UpdateMemberRequest.builder()
updateMemberRequest
- A Consumer
that will call methods on UpdateMemberInput.Builder
to create a request.default CompletableFuture<UpdateNodeResponse> updateNode(UpdateNodeRequest updateNodeRequest)
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
updateNodeRequest
- default CompletableFuture<UpdateNodeResponse> updateNode(Consumer<UpdateNodeRequest.Builder> updateNodeRequest)
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the UpdateNodeRequest.Builder
avoiding the need to
create one manually via UpdateNodeRequest.builder()
updateNodeRequest
- A Consumer
that will call methods on UpdateNodeInput.Builder
to create a request.default CompletableFuture<VoteOnProposalResponse> voteOnProposal(VoteOnProposalRequest voteOnProposalRequest)
Casts a vote for a specified ProposalId
on behalf of a member. The member to vote as, specified by
VoterMemberId
, must be in the same AWS account as the principal that calls the action.
Applies only to Hyperledger Fabric.
voteOnProposalRequest
- default CompletableFuture<VoteOnProposalResponse> voteOnProposal(Consumer<VoteOnProposalRequest.Builder> voteOnProposalRequest)
Casts a vote for a specified ProposalId
on behalf of a member. The member to vote as, specified by
VoterMemberId
, must be in the same AWS account as the principal that calls the action.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the VoteOnProposalRequest.Builder
avoiding the need to
create one manually via VoteOnProposalRequest.builder()
voteOnProposalRequest
- A Consumer
that will call methods on VoteOnProposalInput.Builder
to create a request.