@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. Currently, Managed Blockchain supports the Hyperledger Fabric open source framework.
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 peer node in a member.
|
Future<CreateNodeResult> |
createNodeAsync(CreateNodeRequest request,
AsyncHandler<CreateNodeRequest,CreateNodeResult> asyncHandler)
Creates a peer node in a member.
|
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 peer node from a member that your AWS account owns.
|
Future<DeleteNodeResult> |
deleteNodeAsync(DeleteNodeRequest request,
AsyncHandler<DeleteNodeRequest,DeleteNodeResult> asyncHandler)
Deletes a peer node from a member 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 peer node.
|
Future<GetNodeResult> |
getNodeAsync(GetNodeRequest request,
AsyncHandler<GetNodeRequest,GetNodeResult> asyncHandler)
Returns detailed information about a peer 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 listing of all invitations made on the specified network.
|
Future<ListInvitationsResult> |
listInvitationsAsync(ListInvitationsRequest request,
AsyncHandler<ListInvitationsRequest,ListInvitationsResult> asyncHandler)
Returns a listing of all invitations made on the specified network.
|
Future<ListMembersResult> |
listMembersAsync(ListMembersRequest request)
Returns a listing of the members in a network and properties of their configurations.
|
Future<ListMembersResult> |
listMembersAsync(ListMembersRequest request,
AsyncHandler<ListMembersRequest,ListMembersResult> asyncHandler)
Returns a listing 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 has members.
|
Future<ListNetworksResult> |
listNetworksAsync(ListNetworksRequest request,
AsyncHandler<ListNetworksRequest,ListNetworksResult> asyncHandler)
Returns information about the networks in which the current AWS account has members.
|
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 listing of proposals for the network.
|
Future<ListProposalsResult> |
listProposalsAsync(ListProposalsRequest request,
AsyncHandler<ListProposalsRequest,ListProposalsResult> asyncHandler)
Returns a listing of proposals for the network.
|
Future<ListProposalVotesResult> |
listProposalVotesAsync(ListProposalVotesRequest request)
Returns the listing 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 listing of votes for a specified proposal, including the value of each vote and the unique identifier
of the member that cast the vote.
|
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<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, rejectInvitation, 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, rejectInvitation, voteOnProposalpublic static AmazonManagedBlockchainAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateMemberResult> createMemberAsync(CreateMemberRequest request)
AmazonManagedBlockchainAsyncCreates a member within a Managed Blockchain network.
createMemberAsync in interface AmazonManagedBlockchainAsyncpublic Future<CreateMemberResult> createMemberAsync(CreateMemberRequest request, AsyncHandler<CreateMemberRequest,CreateMemberResult> asyncHandler)
AmazonManagedBlockchainAsyncCreates a member within a Managed Blockchain network.
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.
createNetworkAsync in interface AmazonManagedBlockchainAsyncpublic Future<CreateNetworkResult> createNetworkAsync(CreateNetworkRequest request, AsyncHandler<CreateNetworkRequest,CreateNetworkResult> asyncHandler)
AmazonManagedBlockchainAsyncCreates a new blockchain network using Amazon Managed Blockchain.
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 peer node in a member.
createNodeAsync in interface AmazonManagedBlockchainAsyncpublic Future<CreateNodeResult> createNodeAsync(CreateNodeRequest request, AsyncHandler<CreateNodeRequest,CreateNodeResult> asyncHandler)
AmazonManagedBlockchainAsyncCreates a peer node in a member.
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.
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.
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.
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.
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 peer node from a member that your AWS account owns. All data on the node is lost and cannot be recovered.
deleteNodeAsync in interface AmazonManagedBlockchainAsyncpublic Future<DeleteNodeResult> deleteNodeAsync(DeleteNodeRequest request, AsyncHandler<DeleteNodeRequest,DeleteNodeResult> asyncHandler)
AmazonManagedBlockchainAsyncDeletes a peer node from a member that your AWS account owns. All data on the node is lost and cannot be recovered.
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.
getMemberAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetMemberResult> getMemberAsync(GetMemberRequest request, AsyncHandler<GetMemberRequest,GetMemberResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a member.
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.
getNetworkAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetNetworkResult> getNetworkAsync(GetNetworkRequest request, AsyncHandler<GetNetworkRequest,GetNetworkResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a network.
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 peer node.
getNodeAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetNodeResult> getNodeAsync(GetNodeRequest request, AsyncHandler<GetNodeRequest,GetNodeResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a peer node.
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.
getProposalAsync in interface AmazonManagedBlockchainAsyncpublic Future<GetProposalResult> getProposalAsync(GetProposalRequest request, AsyncHandler<GetProposalRequest,GetProposalResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns detailed information about a proposal.
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 listing of all invitations made on the specified network.
listInvitationsAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListInvitationsResult> listInvitationsAsync(ListInvitationsRequest request, AsyncHandler<ListInvitationsRequest,ListInvitationsResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns a listing of all invitations made on the specified network.
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 listing of the members in a network and properties of their configurations.
listMembersAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListMembersResult> listMembersAsync(ListMembersRequest request, AsyncHandler<ListMembersRequest,ListMembersResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns a listing of the members in a network and properties of their configurations.
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 has members.
listNetworksAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListNetworksResult> listNetworksAsync(ListNetworksRequest request, AsyncHandler<ListNetworksRequest,ListNetworksResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns information about the networks in which the current AWS account has members.
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.
listNodesAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListNodesResult> listNodesAsync(ListNodesRequest request, AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns information about the nodes within a network.
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 listing of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
listProposalVotesAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListProposalVotesResult> listProposalVotesAsync(ListProposalVotesRequest request, AsyncHandler<ListProposalVotesRequest,ListProposalVotesResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns the listing of votes for a specified proposal, including the value of each vote and the unique identifier of the member that cast the vote.
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 listing of proposals for the network.
listProposalsAsync in interface AmazonManagedBlockchainAsyncpublic Future<ListProposalsResult> listProposalsAsync(ListProposalsRequest request, AsyncHandler<ListProposalsRequest,ListProposalsResult> asyncHandler)
AmazonManagedBlockchainAsyncReturns a listing of proposals for the network.
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<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.
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.
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<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.
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.
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 AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.