@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonManagedBlockchainAsync extends AmazonManagedBlockchain
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonManagedBlockchainAsync
instead.
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.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<CreateMemberResult> |
createMemberAsync(CreateMemberRequest createMemberRequest)
Creates a member within a Managed Blockchain network.
|
Future<CreateMemberResult> |
createMemberAsync(CreateMemberRequest createMemberRequest,
AsyncHandler<CreateMemberRequest,CreateMemberResult> asyncHandler)
Creates a member within a Managed Blockchain network.
|
Future<CreateNetworkResult> |
createNetworkAsync(CreateNetworkRequest createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
|
Future<CreateNetworkResult> |
createNetworkAsync(CreateNetworkRequest createNetworkRequest,
AsyncHandler<CreateNetworkRequest,CreateNetworkResult> asyncHandler)
Creates a new blockchain network using Amazon Managed Blockchain.
|
Future<CreateNodeResult> |
createNodeAsync(CreateNodeRequest createNodeRequest)
Creates a peer node in a member.
|
Future<CreateNodeResult> |
createNodeAsync(CreateNodeRequest createNodeRequest,
AsyncHandler<CreateNodeRequest,CreateNodeResult> asyncHandler)
Creates a peer node in a member.
|
Future<CreateProposalResult> |
createProposalAsync(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.
|
Future<CreateProposalResult> |
createProposalAsync(CreateProposalRequest createProposalRequest,
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 deleteMemberRequest)
Deletes a member.
|
Future<DeleteMemberResult> |
deleteMemberAsync(DeleteMemberRequest deleteMemberRequest,
AsyncHandler<DeleteMemberRequest,DeleteMemberResult> asyncHandler)
Deletes a member.
|
Future<DeleteNodeResult> |
deleteNodeAsync(DeleteNodeRequest deleteNodeRequest)
Deletes a peer node from a member that your AWS account owns.
|
Future<DeleteNodeResult> |
deleteNodeAsync(DeleteNodeRequest deleteNodeRequest,
AsyncHandler<DeleteNodeRequest,DeleteNodeResult> asyncHandler)
Deletes a peer node from a member that your AWS account owns.
|
Future<GetMemberResult> |
getMemberAsync(GetMemberRequest getMemberRequest)
Returns detailed information about a member.
|
Future<GetMemberResult> |
getMemberAsync(GetMemberRequest getMemberRequest,
AsyncHandler<GetMemberRequest,GetMemberResult> asyncHandler)
Returns detailed information about a member.
|
Future<GetNetworkResult> |
getNetworkAsync(GetNetworkRequest getNetworkRequest)
Returns detailed information about a network.
|
Future<GetNetworkResult> |
getNetworkAsync(GetNetworkRequest getNetworkRequest,
AsyncHandler<GetNetworkRequest,GetNetworkResult> asyncHandler)
Returns detailed information about a network.
|
Future<GetNodeResult> |
getNodeAsync(GetNodeRequest getNodeRequest)
Returns detailed information about a peer node.
|
Future<GetNodeResult> |
getNodeAsync(GetNodeRequest getNodeRequest,
AsyncHandler<GetNodeRequest,GetNodeResult> asyncHandler)
Returns detailed information about a peer node.
|
Future<GetProposalResult> |
getProposalAsync(GetProposalRequest getProposalRequest)
Returns detailed information about a proposal.
|
Future<GetProposalResult> |
getProposalAsync(GetProposalRequest getProposalRequest,
AsyncHandler<GetProposalRequest,GetProposalResult> asyncHandler)
Returns detailed information about a proposal.
|
Future<ListInvitationsResult> |
listInvitationsAsync(ListInvitationsRequest listInvitationsRequest)
Returns a listing of all invitations made on the specified network.
|
Future<ListInvitationsResult> |
listInvitationsAsync(ListInvitationsRequest listInvitationsRequest,
AsyncHandler<ListInvitationsRequest,ListInvitationsResult> asyncHandler)
Returns a listing of all invitations made on the specified network.
|
Future<ListMembersResult> |
listMembersAsync(ListMembersRequest listMembersRequest)
Returns a listing of the members in a network and properties of their configurations.
|
Future<ListMembersResult> |
listMembersAsync(ListMembersRequest listMembersRequest,
AsyncHandler<ListMembersRequest,ListMembersResult> asyncHandler)
Returns a listing of the members in a network and properties of their configurations.
|
Future<ListNetworksResult> |
listNetworksAsync(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account has members.
|
Future<ListNetworksResult> |
listNetworksAsync(ListNetworksRequest listNetworksRequest,
AsyncHandler<ListNetworksRequest,ListNetworksResult> asyncHandler)
Returns information about the networks in which the current AWS account has members.
|
Future<ListNodesResult> |
listNodesAsync(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
|
Future<ListNodesResult> |
listNodesAsync(ListNodesRequest listNodesRequest,
AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
Returns information about the nodes within a network.
|
Future<ListProposalsResult> |
listProposalsAsync(ListProposalsRequest listProposalsRequest)
Returns a listing of proposals for the network.
|
Future<ListProposalsResult> |
listProposalsAsync(ListProposalsRequest listProposalsRequest,
AsyncHandler<ListProposalsRequest,ListProposalsResult> asyncHandler)
Returns a listing of proposals for the network.
|
Future<ListProposalVotesResult> |
listProposalVotesAsync(ListProposalVotesRequest listProposalVotesRequest)
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 listProposalVotesRequest,
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 rejectInvitationRequest)
Rejects an invitation to join a network.
|
Future<RejectInvitationResult> |
rejectInvitationAsync(RejectInvitationRequest rejectInvitationRequest,
AsyncHandler<RejectInvitationRequest,RejectInvitationResult> asyncHandler)
Rejects an invitation to join a network.
|
Future<VoteOnProposalResult> |
voteOnProposalAsync(VoteOnProposalRequest voteOnProposalRequest)
Casts a vote for a specified
ProposalId on behalf of a member. |
Future<VoteOnProposalResult> |
voteOnProposalAsync(VoteOnProposalRequest voteOnProposalRequest,
AsyncHandler<VoteOnProposalRequest,VoteOnProposalResult> asyncHandler)
Casts a vote for a specified
ProposalId on behalf of a member. |
createMember, createNetwork, createNode, createProposal, deleteMember, deleteNode, getCachedResponseMetadata, getMember, getNetwork, getNode, getProposal, listInvitations, listMembers, listNetworks, listNodes, listProposals, listProposalVotes, rejectInvitation, shutdown, voteOnProposal
Future<CreateMemberResult> createMemberAsync(CreateMemberRequest createMemberRequest)
Creates a member within a Managed Blockchain network.
createMemberRequest
- Future<CreateMemberResult> createMemberAsync(CreateMemberRequest createMemberRequest, AsyncHandler<CreateMemberRequest,CreateMemberResult> asyncHandler)
Creates a member within a Managed Blockchain network.
createMemberRequest
- asyncHandler
- 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.Future<CreateNetworkResult> createNetworkAsync(CreateNetworkRequest createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
createNetworkRequest
- Future<CreateNetworkResult> createNetworkAsync(CreateNetworkRequest createNetworkRequest, AsyncHandler<CreateNetworkRequest,CreateNetworkResult> asyncHandler)
Creates a new blockchain network using Amazon Managed Blockchain.
createNetworkRequest
- asyncHandler
- 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.Future<CreateNodeResult> createNodeAsync(CreateNodeRequest createNodeRequest)
Creates a peer node in a member.
createNodeRequest
- Future<CreateNodeResult> createNodeAsync(CreateNodeRequest createNodeRequest, AsyncHandler<CreateNodeRequest,CreateNodeResult> asyncHandler)
Creates a peer node in a member.
createNodeRequest
- asyncHandler
- 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.Future<CreateProposalResult> createProposalAsync(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.
createProposalRequest
- Future<CreateProposalResult> createProposalAsync(CreateProposalRequest createProposalRequest, 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. Any member can create a proposal.
createProposalRequest
- asyncHandler
- 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.Future<DeleteMemberResult> deleteMemberAsync(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.
deleteMemberRequest
- Future<DeleteMemberResult> deleteMemberAsync(DeleteMemberRequest deleteMemberRequest, AsyncHandler<DeleteMemberRequest,DeleteMemberResult> asyncHandler)
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.
deleteMemberRequest
- asyncHandler
- 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.Future<DeleteNodeResult> deleteNodeAsync(DeleteNodeRequest deleteNodeRequest)
Deletes a peer node from a member that your AWS account owns. All data on the node is lost and cannot be recovered.
deleteNodeRequest
- Future<DeleteNodeResult> deleteNodeAsync(DeleteNodeRequest deleteNodeRequest, AsyncHandler<DeleteNodeRequest,DeleteNodeResult> asyncHandler)
Deletes a peer node from a member that your AWS account owns. All data on the node is lost and cannot be recovered.
deleteNodeRequest
- asyncHandler
- 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.Future<GetMemberResult> getMemberAsync(GetMemberRequest getMemberRequest)
Returns detailed information about a member.
getMemberRequest
- Future<GetMemberResult> getMemberAsync(GetMemberRequest getMemberRequest, AsyncHandler<GetMemberRequest,GetMemberResult> asyncHandler)
Returns detailed information about a member.
getMemberRequest
- asyncHandler
- 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.Future<GetNetworkResult> getNetworkAsync(GetNetworkRequest getNetworkRequest)
Returns detailed information about a network.
getNetworkRequest
- Future<GetNetworkResult> getNetworkAsync(GetNetworkRequest getNetworkRequest, AsyncHandler<GetNetworkRequest,GetNetworkResult> asyncHandler)
Returns detailed information about a network.
getNetworkRequest
- asyncHandler
- 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.Future<GetNodeResult> getNodeAsync(GetNodeRequest getNodeRequest)
Returns detailed information about a peer node.
getNodeRequest
- Future<GetNodeResult> getNodeAsync(GetNodeRequest getNodeRequest, AsyncHandler<GetNodeRequest,GetNodeResult> asyncHandler)
Returns detailed information about a peer node.
getNodeRequest
- asyncHandler
- 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.Future<GetProposalResult> getProposalAsync(GetProposalRequest getProposalRequest)
Returns detailed information about a proposal.
getProposalRequest
- Future<GetProposalResult> getProposalAsync(GetProposalRequest getProposalRequest, AsyncHandler<GetProposalRequest,GetProposalResult> asyncHandler)
Returns detailed information about a proposal.
getProposalRequest
- asyncHandler
- 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.Future<ListInvitationsResult> listInvitationsAsync(ListInvitationsRequest listInvitationsRequest)
Returns a listing of all invitations made on the specified network.
listInvitationsRequest
- Future<ListInvitationsResult> listInvitationsAsync(ListInvitationsRequest listInvitationsRequest, AsyncHandler<ListInvitationsRequest,ListInvitationsResult> asyncHandler)
Returns a listing of all invitations made on the specified network.
listInvitationsRequest
- asyncHandler
- 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.Future<ListMembersResult> listMembersAsync(ListMembersRequest listMembersRequest)
Returns a listing of the members in a network and properties of their configurations.
listMembersRequest
- Future<ListMembersResult> listMembersAsync(ListMembersRequest listMembersRequest, AsyncHandler<ListMembersRequest,ListMembersResult> asyncHandler)
Returns a listing of the members in a network and properties of their configurations.
listMembersRequest
- asyncHandler
- 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.Future<ListNetworksResult> listNetworksAsync(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account has members.
listNetworksRequest
- Future<ListNetworksResult> listNetworksAsync(ListNetworksRequest listNetworksRequest, AsyncHandler<ListNetworksRequest,ListNetworksResult> asyncHandler)
Returns information about the networks in which the current AWS account has members.
listNetworksRequest
- asyncHandler
- 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.Future<ListNodesResult> listNodesAsync(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
listNodesRequest
- Future<ListNodesResult> listNodesAsync(ListNodesRequest listNodesRequest, AsyncHandler<ListNodesRequest,ListNodesResult> asyncHandler)
Returns information about the nodes within a network.
listNodesRequest
- asyncHandler
- 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.Future<ListProposalVotesResult> listProposalVotesAsync(ListProposalVotesRequest listProposalVotesRequest)
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.
listProposalVotesRequest
- Future<ListProposalVotesResult> listProposalVotesAsync(ListProposalVotesRequest listProposalVotesRequest, 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.
listProposalVotesRequest
- asyncHandler
- 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.Future<ListProposalsResult> listProposalsAsync(ListProposalsRequest listProposalsRequest)
Returns a listing of proposals for the network.
listProposalsRequest
- Future<ListProposalsResult> listProposalsAsync(ListProposalsRequest listProposalsRequest, AsyncHandler<ListProposalsRequest,ListProposalsResult> asyncHandler)
Returns a listing of proposals for the network.
listProposalsRequest
- asyncHandler
- 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.Future<RejectInvitationResult> rejectInvitationAsync(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.
rejectInvitationRequest
- Future<RejectInvitationResult> rejectInvitationAsync(RejectInvitationRequest rejectInvitationRequest, AsyncHandler<RejectInvitationRequest,RejectInvitationResult> asyncHandler)
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.
rejectInvitationRequest
- asyncHandler
- 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.Future<VoteOnProposalResult> voteOnProposalAsync(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.
voteOnProposalRequest
- Future<VoteOnProposalResult> voteOnProposalAsync(VoteOnProposalRequest voteOnProposalRequest, AsyncHandler<VoteOnProposalRequest,VoteOnProposalResult> asyncHandler)
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.
voteOnProposalRequest
- asyncHandler
- 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.