@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonManagedBlockchainAsyncClient extends AmazonManagedBlockchainClient implements AmazonManagedBlockchainAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonManagedBlockchainAsyncClientBuilder |
asyncBuilder() |
Future<CreateMemberResult> |
createMemberAsync(CreateMemberRequest request)
Creates a member within a Managed Blockchain network.
|
Future<CreateMemberResult> |
createMemberAsync(CreateMemberRequest request,
AsyncHandler<CreateMemberRequest,CreateMemberResult> asyncHandler)
Creates a member within a Managed Blockchain network.
|
Future<CreateNetworkResult> |
createNetworkAsync(CreateNetworkRequest request)
Creates a new blockchain network using Amazon Managed Blockchain.
|
Future<CreateNetworkResult> |
createNetworkAsync(CreateNetworkRequest request,
AsyncHandler<CreateNetworkRequest,CreateNetworkResult> asyncHandler)
Creates a new blockchain network using Amazon Managed Blockchain.
|
Future<CreateNodeResult> |
createNodeAsync(CreateNodeRequest request)
Creates a node on the specified blockchain network.
|
Future<CreateNodeResult> |
createNodeAsync(CreateNodeRequest request,
AsyncHandler<CreateNodeRequest,CreateNodeResult> asyncHandler)
Creates a node on the specified blockchain network.
|
Future<CreateProposalResult> |
createProposalAsync(CreateProposalRequest request)
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.
|
Future<CreateProposalResult> |
createProposalAsync(CreateProposalRequest request,
AsyncHandler<CreateProposalRequest,CreateProposalResult> asyncHandler)
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.
|
Future<DeleteMemberResult> |
deleteMemberAsync(DeleteMemberRequest request)
Deletes a member.
|
Future<DeleteMemberResult> |
deleteMemberAsync(DeleteMemberRequest request,
AsyncHandler<DeleteMemberRequest,DeleteMemberResult> asyncHandler)
Deletes a member.
|
Future<DeleteNodeResult> |
deleteNodeAsync(DeleteNodeRequest request)
Deletes a node that your AWS account owns.
|
Future<DeleteNodeResult> |
deleteNodeAsync(DeleteNodeRequest request,
AsyncHandler<DeleteNodeRequest,DeleteNodeResult> asyncHandler)
Deletes a node that your AWS account owns.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
Future<GetMemberResult> |
getMemberAsync(GetMemberRequest request)
Returns detailed information about a member.
|
Future<GetMemberResult> |
getMemberAsync(GetMemberRequest request,
AsyncHandler<GetMemberRequest,GetMemberResult> asyncHandler)
Returns detailed information about a member.
|
Future<GetNetworkResult> |
getNetworkAsync(GetNetworkRequest request)
Returns detailed information about a network.
|
Future<GetNetworkResult> |
getNetworkAsync(GetNetworkRequest request,
AsyncHandler<GetNetworkRequest,GetNetworkResult> asyncHandler)
Returns detailed information about a network.
|
Future<GetNodeResult> |
getNodeAsync(GetNodeRequest request)
Returns detailed information about a node.
|
Future<GetNodeResult> |
getNodeAsync(GetNodeRequest request,
AsyncHandler<GetNodeRequest,GetNodeResult> asyncHandler)
Returns detailed information about a node.
|
Future<GetProposalResult> |
getProposalAsync(GetProposalRequest request)
Returns detailed information about a proposal.
|
Future<GetProposalResult> |
getProposalAsync(GetProposalRequest request,
AsyncHandler<GetProposalRequest,GetProposalResult> asyncHandler)
Returns detailed information about a proposal.
|
Future<ListInvitationsResult> |
listInvitationsAsync(ListInvitationsRequest request)
Returns a list of all invitations for the current AWS account.
|
Future<ListInvitationsResult> |
listInvitationsAsync(ListInvitationsRequest request,
AsyncHandler<ListInvitationsRequest,ListInvitationsResult> asyncHandler)
Returns a list of all invitations for the current AWS account.
|
Future<ListMembersResult> |
listMembersAsync(ListMembersRequest request)
Returns a list of the members in a network and properties of their configurations.
|
Future<ListMembersResult> |
listMembersAsync(ListMembersRequest request,
AsyncHandler<ListMembersRequest,ListMembersResult> asyncHandler)
Returns a list of the members in a network and properties of their configurations.
|
Future<ListNetworksResult> |
listNetworksAsync(ListNetworksRequest request)
Returns information about the networks in which the current AWS account participates.
|
Future<ListNetworksResult> |
listNetworksAsync(ListNetworksRequest request,
AsyncHandler<ListNetworksRequest,ListNetworksResult> asyncHandler)
Returns information about the networks in which the current AWS account participates.
|
Future<ListNodesResult> |
listNodesAsync(ListNodesRequest request)
Returns information about the nodes within a network.
|
Future<ListNodesResult> |
listNodesAsync(ListNodesRequest request,
AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
Returns information about the nodes within a network.
|
Future<ListProposalsResult> |
listProposalsAsync(ListProposalsRequest request)
Returns a list of proposals for the network.
|
Future<ListProposalsResult> |
listProposalsAsync(ListProposalsRequest request,
AsyncHandler<ListProposalsRequest,ListProposalsResult> asyncHandler)
Returns a list of proposals for the network.
|
Future<ListProposalVotesResult> |
listProposalVotesAsync(ListProposalVotesRequest request)
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.
|
Future<ListProposalVotesResult> |
listProposalVotesAsync(ListProposalVotesRequest request,
AsyncHandler<ListProposalVotesRequest,ListProposalVotesResult> asyncHandler)
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.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request)
Returns a list of tags for the specified resource.
|
Future<ListTagsForResourceResult> |
listTagsForResourceAsync(ListTagsForResourceRequest request,
AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Returns a list of tags for the specified resource.
|
Future<RejectInvitationResult> |
rejectInvitationAsync(RejectInvitationRequest request)
Rejects an invitation to join a network.
|
Future<RejectInvitationResult> |
rejectInvitationAsync(RejectInvitationRequest request,
AsyncHandler<RejectInvitationRequest,RejectInvitationResult> asyncHandler)
Rejects an invitation to join a network.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
|
Future<TagResourceResult> |
tagResourceAsync(TagResourceRequest request,
AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request)
Removes the specified tags from the Amazon Managed Blockchain resource.
|
Future<UntagResourceResult> |
untagResourceAsync(UntagResourceRequest request,
AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes the specified tags from the Amazon Managed Blockchain resource.
|
Future<UpdateMemberResult> |
updateMemberAsync(UpdateMemberRequest request)
Updates a member configuration with new parameters.
|
Future<UpdateMemberResult> |
updateMemberAsync(UpdateMemberRequest request,
AsyncHandler<UpdateMemberRequest,UpdateMemberResult> asyncHandler)
Updates a member configuration with new parameters.
|
Future<UpdateNodeResult> |
updateNodeAsync(UpdateNodeRequest request)
Updates a node configuration with new parameters.
|
Future<UpdateNodeResult> |
updateNodeAsync(UpdateNodeRequest request,
AsyncHandler<UpdateNodeRequest,UpdateNodeResult> asyncHandler)
Updates a node configuration with new parameters.
|
Future<VoteOnProposalResult> |
voteOnProposalAsync(VoteOnProposalRequest request)
Casts a vote for a specified
ProposalId on behalf of a member. |
Future<VoteOnProposalResult> |
voteOnProposalAsync(VoteOnProposalRequest request,
AsyncHandler<VoteOnProposalRequest,VoteOnProposalResult> asyncHandler)
Casts a vote for a specified
ProposalId on behalf of a member. |
builder, createMember, createNetwork, createNode, createProposal, deleteMember, deleteNode, getCachedResponseMetadata, getMember, getNetwork, getNode, getProposal, listInvitations, listMembers, listNetworks, listNodes, listProposals, listProposalVotes, listTagsForResource, rejectInvitation, tagResource, untagResource, updateMember, updateNode, voteOnProposaladdRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateMember, createNetwork, createNode, createProposal, deleteMember, deleteNode, getCachedResponseMetadata, getMember, getNetwork, getNode, getProposal, listInvitations, listMembers, listNetworks, listNodes, listProposals, listProposalVotes, listTagsForResource, rejectInvitation, tagResource, untagResource, updateMember, updateNode, voteOnProposalpublic static AmazonManagedBlockchainAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateMemberResult> createMemberAsync(CreateMemberRequest request)
AmazonManagedBlockchainAsyncCreates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
createMemberAsync in interface AmazonManagedBlockchainAsyncpublic Future<CreateMemberResult> createMemberAsync(CreateMemberRequest request, AsyncHandler<CreateMemberRequest,CreateMemberResult> asyncHandler)
AmazonManagedBlockchainAsyncCreates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
createMemberAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateNetworkResult> createNetworkAsync(CreateNetworkRequest request)
AmazonManagedBlockchainAsyncCreates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
createNetworkAsync in interface AmazonManagedBlockchainAsyncpublic Future<CreateNetworkResult> createNetworkAsync(CreateNetworkRequest request, AsyncHandler<CreateNetworkRequest,CreateNetworkResult> asyncHandler)
AmazonManagedBlockchainAsyncCreates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
createNetworkAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateNodeResult> createNodeAsync(CreateNodeRequest request)
AmazonManagedBlockchainAsyncCreates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
createNodeAsync in interface AmazonManagedBlockchainAsyncpublic Future<CreateNodeResult> createNodeAsync(CreateNodeRequest request, AsyncHandler<CreateNodeRequest,CreateNodeResult> asyncHandler)
AmazonManagedBlockchainAsyncCreates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
createNodeAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<CreateProposalResult> createProposalAsync(CreateProposalRequest request)
AmazonManagedBlockchainAsyncCreates 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.
createProposalAsync in interface AmazonManagedBlockchainAsyncpublic Future<CreateProposalResult> createProposalAsync(CreateProposalRequest request, AsyncHandler<CreateProposalRequest,CreateProposalResult> asyncHandler)
AmazonManagedBlockchainAsyncCreates 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.
createProposalAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteMemberResult> deleteMemberAsync(DeleteMemberRequest request)
AmazonManagedBlockchainAsync
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.
deleteMemberAsync in interface AmazonManagedBlockchainAsyncpublic Future<DeleteMemberResult> deleteMemberAsync(DeleteMemberRequest request, AsyncHandler<DeleteMemberRequest,DeleteMemberResult> asyncHandler)
AmazonManagedBlockchainAsync
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.
deleteMemberAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DeleteNodeResult> deleteNodeAsync(DeleteNodeRequest request)
AmazonManagedBlockchainAsyncDeletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.
Applies to Hyperledger Fabric and Ethereum.
deleteNodeAsync in interface AmazonManagedBlockchainAsyncpublic Future<DeleteNodeResult> deleteNodeAsync(DeleteNodeRequest request, AsyncHandler<DeleteNodeRequest,DeleteNodeResult> asyncHandler)
AmazonManagedBlockchainAsyncDeletes a node that your AWS account owns. All data on the node is lost and cannot be recovered.
Applies to Hyperledger Fabric and Ethereum.
deleteNodeAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetMemberResult> getMemberAsync(GetMemberRequest request)
AmazonManagedBlockchainAsyncReturns detailed information about a member.
Applies only to Hyperledger Fabric.
getMemberAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetMemberResult> getMemberAsync(GetMemberRequest request, AsyncHandler<GetMemberRequest,GetMemberResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a member.
Applies only to Hyperledger Fabric.
getMemberAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetNetworkResult> getNetworkAsync(GetNetworkRequest request)
AmazonManagedBlockchainAsyncReturns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
getNetworkAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetNetworkResult> getNetworkAsync(GetNetworkRequest request, AsyncHandler<GetNetworkRequest,GetNetworkResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
getNetworkAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetNodeResult> getNodeAsync(GetNodeRequest request)
AmazonManagedBlockchainAsyncReturns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
getNodeAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetNodeResult> getNodeAsync(GetNodeRequest request, AsyncHandler<GetNodeRequest,GetNodeResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
getNodeAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetProposalResult> getProposalAsync(GetProposalRequest request)
AmazonManagedBlockchainAsyncReturns detailed information about a proposal.
Applies only to Hyperledger Fabric.
getProposalAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetProposalResult> getProposalAsync(GetProposalRequest request, AsyncHandler<GetProposalRequest,GetProposalResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a proposal.
Applies only to Hyperledger Fabric.
getProposalAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListInvitationsResult> listInvitationsAsync(ListInvitationsRequest request)
AmazonManagedBlockchainAsyncReturns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
listInvitationsAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListInvitationsResult> listInvitationsAsync(ListInvitationsRequest request, AsyncHandler<ListInvitationsRequest,ListInvitationsResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
listInvitationsAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListMembersResult> listMembersAsync(ListMembersRequest request)
AmazonManagedBlockchainAsyncReturns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
listMembersAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListMembersResult> listMembersAsync(ListMembersRequest request, AsyncHandler<ListMembersRequest,ListMembersResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
listMembersAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListNetworksResult> listNetworksAsync(ListNetworksRequest request)
AmazonManagedBlockchainAsyncReturns information about the networks in which the current AWS account participates.
Applies to Hyperledger Fabric and Ethereum.
listNetworksAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListNetworksResult> listNetworksAsync(ListNetworksRequest request, AsyncHandler<ListNetworksRequest,ListNetworksResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns information about the networks in which the current AWS account participates.
Applies to Hyperledger Fabric and Ethereum.
listNetworksAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListNodesResult> listNodesAsync(ListNodesRequest request)
AmazonManagedBlockchainAsyncReturns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
listNodesAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListNodesResult> listNodesAsync(ListNodesRequest request, AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
listNodesAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProposalVotesResult> listProposalVotesAsync(ListProposalVotesRequest request)
AmazonManagedBlockchainAsyncReturns 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.
listProposalVotesAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListProposalVotesResult> listProposalVotesAsync(ListProposalVotesRequest request, AsyncHandler<ListProposalVotesRequest,ListProposalVotesResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns 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.
listProposalVotesAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListProposalsResult> listProposalsAsync(ListProposalsRequest request)
AmazonManagedBlockchainAsyncReturns a list of proposals for the network.
Applies only to Hyperledger Fabric.
listProposalsAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListProposalsResult> listProposalsAsync(ListProposalsRequest request, AsyncHandler<ListProposalsRequest,ListProposalsResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns a list of proposals for the network.
Applies only to Hyperledger Fabric.
listProposalsAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonManagedBlockchainAsyncReturns 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.
listTagsForResourceAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns 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.
listTagsForResourceAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<RejectInvitationResult> rejectInvitationAsync(RejectInvitationRequest request)
AmazonManagedBlockchainAsyncRejects 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.
rejectInvitationAsync in interface AmazonManagedBlockchainAsyncpublic Future<RejectInvitationResult> rejectInvitationAsync(RejectInvitationRequest request, AsyncHandler<RejectInvitationRequest,RejectInvitationResult> asyncHandler)
AmazonManagedBlockchainAsyncRejects 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.
rejectInvitationAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonManagedBlockchainAsyncAdds 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.
tagResourceAsync in interface AmazonManagedBlockchainAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonManagedBlockchainAsyncAdds 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.
tagResourceAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonManagedBlockchainAsyncRemoves 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.
untagResourceAsync in interface AmazonManagedBlockchainAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonManagedBlockchainAsyncRemoves 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.
untagResourceAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateMemberResult> updateMemberAsync(UpdateMemberRequest request)
AmazonManagedBlockchainAsyncUpdates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
updateMemberAsync in interface AmazonManagedBlockchainAsyncpublic Future<UpdateMemberResult> updateMemberAsync(UpdateMemberRequest request, AsyncHandler<UpdateMemberRequest,UpdateMemberResult> asyncHandler)
AmazonManagedBlockchainAsyncUpdates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
updateMemberAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<UpdateNodeResult> updateNodeAsync(UpdateNodeRequest request)
AmazonManagedBlockchainAsyncUpdates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
updateNodeAsync in interface AmazonManagedBlockchainAsyncpublic Future<UpdateNodeResult> updateNodeAsync(UpdateNodeRequest request, AsyncHandler<UpdateNodeRequest,UpdateNodeResult> asyncHandler)
AmazonManagedBlockchainAsyncUpdates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
updateNodeAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<VoteOnProposalResult> voteOnProposalAsync(VoteOnProposalRequest request)
AmazonManagedBlockchainAsync
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.
voteOnProposalAsync in interface AmazonManagedBlockchainAsyncpublic Future<VoteOnProposalResult> voteOnProposalAsync(VoteOnProposalRequest request, AsyncHandler<VoteOnProposalRequest,VoteOnProposalResult> asyncHandler)
AmazonManagedBlockchainAsync
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.
voteOnProposalAsync in interface AmazonManagedBlockchainAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonManagedBlockchainshutdown in class AmazonManagedBlockchainClient