
com.amazonaws.services.managedblockchain.AmazonManagedBlockchainAsync Maven / Gradle / Ivy
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package com.amazonaws.services.managedblockchain;
import javax.annotation.Generated;
import com.amazonaws.services.managedblockchain.model.*;
/**
* Interface for accessing ManagedBlockchain asynchronously. Each asynchronous method will return a Java Future object
* representing the asynchronous operation; overloads which accept an {@code 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
* {@link com.amazonaws.services.managedblockchain.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.
*
*
* 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.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AmazonManagedBlockchainAsync extends AmazonManagedBlockchain {
/**
*
* Creates a member within a Managed Blockchain network.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param createMemberRequest
* @return A Java Future containing the result of the CreateMember operation returned by the service.
* @sample AmazonManagedBlockchainAsync.CreateMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createMemberAsync(CreateMemberRequest createMemberRequest);
/**
*
* Creates a member within a Managed Blockchain network.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param createMemberRequest
* @param 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.
* @return A Java Future containing the result of the CreateMember operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.CreateMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createMemberAsync(CreateMemberRequest createMemberRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new blockchain network using Amazon Managed Blockchain.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param createNetworkRequest
* @return A Java Future containing the result of the CreateNetwork operation returned by the service.
* @sample AmazonManagedBlockchainAsync.CreateNetwork
* @see AWS API Documentation
*/
java.util.concurrent.Future createNetworkAsync(CreateNetworkRequest createNetworkRequest);
/**
*
* Creates a new blockchain network using Amazon Managed Blockchain.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param createNetworkRequest
* @param 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.
* @return A Java Future containing the result of the CreateNetwork operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.CreateNetwork
* @see AWS API Documentation
*/
java.util.concurrent.Future createNetworkAsync(CreateNetworkRequest createNetworkRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a node on the specified blockchain network.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param createNodeRequest
* @return A Java Future containing the result of the CreateNode operation returned by the service.
* @sample AmazonManagedBlockchainAsync.CreateNode
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createNodeAsync(CreateNodeRequest createNodeRequest);
/**
*
* Creates a node on the specified blockchain network.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param createNodeRequest
* @param 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.
* @return A Java Future containing the result of the CreateNode operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.CreateNode
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createNodeAsync(CreateNodeRequest createNodeRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param createProposalRequest
* @return A Java Future containing the result of the CreateProposal operation returned by the service.
* @sample AmazonManagedBlockchainAsync.CreateProposal
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param createProposalRequest
* @param 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.
* @return A Java Future containing the result of the CreateProposal operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.CreateProposal
* @see AWS API Documentation
*/
java.util.concurrent.Future createProposalAsync(CreateProposalRequest createProposalRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param deleteMemberRequest
* @return A Java Future containing the result of the DeleteMember operation returned by the service.
* @sample AmazonManagedBlockchainAsync.DeleteMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param deleteMemberRequest
* @param 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.
* @return A Java Future containing the result of the DeleteMember operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.DeleteMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteMemberAsync(DeleteMemberRequest deleteMemberRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param deleteNodeRequest
* @return A Java Future containing the result of the DeleteNode operation returned by the service.
* @sample AmazonManagedBlockchainAsync.DeleteNode
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteNodeAsync(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.
*
*
* @param deleteNodeRequest
* @param 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.
* @return A Java Future containing the result of the DeleteNode operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.DeleteNode
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteNodeAsync(DeleteNodeRequest deleteNodeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns detailed information about a member.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param getMemberRequest
* @return A Java Future containing the result of the GetMember operation returned by the service.
* @sample AmazonManagedBlockchainAsync.GetMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getMemberAsync(GetMemberRequest getMemberRequest);
/**
*
* Returns detailed information about a member.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param getMemberRequest
* @param 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.
* @return A Java Future containing the result of the GetMember operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.GetMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getMemberAsync(GetMemberRequest getMemberRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns detailed information about a network.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param getNetworkRequest
* @return A Java Future containing the result of the GetNetwork operation returned by the service.
* @sample AmazonManagedBlockchainAsync.GetNetwork
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getNetworkAsync(GetNetworkRequest getNetworkRequest);
/**
*
* Returns detailed information about a network.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param getNetworkRequest
* @param 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.
* @return A Java Future containing the result of the GetNetwork operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.GetNetwork
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getNetworkAsync(GetNetworkRequest getNetworkRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns detailed information about a node.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param getNodeRequest
* @return A Java Future containing the result of the GetNode operation returned by the service.
* @sample AmazonManagedBlockchainAsync.GetNode
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getNodeAsync(GetNodeRequest getNodeRequest);
/**
*
* Returns detailed information about a node.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param getNodeRequest
* @param 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.
* @return A Java Future containing the result of the GetNode operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.GetNode
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getNodeAsync(GetNodeRequest getNodeRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns detailed information about a proposal.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param getProposalRequest
* @return A Java Future containing the result of the GetProposal operation returned by the service.
* @sample AmazonManagedBlockchainAsync.GetProposal
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getProposalAsync(GetProposalRequest getProposalRequest);
/**
*
* Returns detailed information about a proposal.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param getProposalRequest
* @param 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.
* @return A Java Future containing the result of the GetProposal operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.GetProposal
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getProposalAsync(GetProposalRequest getProposalRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of all invitations for the current AWS account.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param listInvitationsRequest
* @return A Java Future containing the result of the ListInvitations operation returned by the service.
* @sample AmazonManagedBlockchainAsync.ListInvitations
* @see AWS API Documentation
*/
java.util.concurrent.Future listInvitationsAsync(ListInvitationsRequest listInvitationsRequest);
/**
*
* Returns a list of all invitations for the current AWS account.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param listInvitationsRequest
* @param 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.
* @return A Java Future containing the result of the ListInvitations operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.ListInvitations
* @see AWS API Documentation
*/
java.util.concurrent.Future listInvitationsAsync(ListInvitationsRequest listInvitationsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of the members in a network and properties of their configurations.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param listMembersRequest
* @return A Java Future containing the result of the ListMembers operation returned by the service.
* @sample AmazonManagedBlockchainAsync.ListMembers
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listMembersAsync(ListMembersRequest listMembersRequest);
/**
*
* Returns a list of the members in a network and properties of their configurations.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param listMembersRequest
* @param 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.
* @return A Java Future containing the result of the ListMembers operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.ListMembers
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listMembersAsync(ListMembersRequest listMembersRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the networks in which the current AWS account participates.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param listNetworksRequest
* @return A Java Future containing the result of the ListNetworks operation returned by the service.
* @sample AmazonManagedBlockchainAsync.ListNetworks
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listNetworksAsync(ListNetworksRequest listNetworksRequest);
/**
*
* Returns information about the networks in which the current AWS account participates.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param listNetworksRequest
* @param 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.
* @return A Java Future containing the result of the ListNetworks operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.ListNetworks
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listNetworksAsync(ListNetworksRequest listNetworksRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns information about the nodes within a network.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param listNodesRequest
* @return A Java Future containing the result of the ListNodes operation returned by the service.
* @sample AmazonManagedBlockchainAsync.ListNodes
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listNodesAsync(ListNodesRequest listNodesRequest);
/**
*
* Returns information about the nodes within a network.
*
*
* Applies to Hyperledger Fabric and Ethereum.
*
*
* @param listNodesRequest
* @param 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.
* @return A Java Future containing the result of the ListNodes operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.ListNodes
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listNodesAsync(ListNodesRequest listNodesRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param listProposalVotesRequest
* @return A Java Future containing the result of the ListProposalVotes operation returned by the service.
* @sample AmazonManagedBlockchainAsync.ListProposalVotes
* @see AWS API Documentation
*/
java.util.concurrent.Future listProposalVotesAsync(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.
*
*
* @param listProposalVotesRequest
* @param 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.
* @return A Java Future containing the result of the ListProposalVotes operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.ListProposalVotes
* @see AWS API Documentation
*/
java.util.concurrent.Future listProposalVotesAsync(ListProposalVotesRequest listProposalVotesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of proposals for the network.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param listProposalsRequest
* @return A Java Future containing the result of the ListProposals operation returned by the service.
* @sample AmazonManagedBlockchainAsync.ListProposals
* @see AWS API Documentation
*/
java.util.concurrent.Future listProposalsAsync(ListProposalsRequest listProposalsRequest);
/**
*
* Returns a list of proposals for the network.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param listProposalsRequest
* @param 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.
* @return A Java Future containing the result of the ListProposals operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.ListProposals
* @see AWS API Documentation
*/
java.util.concurrent.Future listProposalsAsync(ListProposalsRequest listProposalsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonManagedBlockchainAsync.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(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.
*
*
* @param listTagsForResourceRequest
* @param 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.
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.ListTagsForResource
* @see AWS API Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param rejectInvitationRequest
* @return A Java Future containing the result of the RejectInvitation operation returned by the service.
* @sample AmazonManagedBlockchainAsync.RejectInvitation
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param rejectInvitationRequest
* @param 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.
* @return A Java Future containing the result of the RejectInvitation operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.RejectInvitation
* @see AWS API Documentation
*/
java.util.concurrent.Future rejectInvitationAsync(RejectInvitationRequest rejectInvitationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AmazonManagedBlockchainAsync.TagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future tagResourceAsync(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.
*
*
* @param tagResourceRequest
* @param 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.
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.TagResource
* @see AWS
* API Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* 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.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AmazonManagedBlockchainAsync.UntagResource
* @see AWS API Documentation
*/
java.util.concurrent.Future untagResourceAsync(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.
*
*
* @param untagResourceRequest
* @param 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.
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.UntagResource
* @see AWS API Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a member configuration with new parameters.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param updateMemberRequest
* @return A Java Future containing the result of the UpdateMember operation returned by the service.
* @sample AmazonManagedBlockchainAsync.UpdateMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateMemberAsync(UpdateMemberRequest updateMemberRequest);
/**
*
* Updates a member configuration with new parameters.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param updateMemberRequest
* @param 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.
* @return A Java Future containing the result of the UpdateMember operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.UpdateMember
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateMemberAsync(UpdateMemberRequest updateMemberRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates a node configuration with new parameters.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param updateNodeRequest
* @return A Java Future containing the result of the UpdateNode operation returned by the service.
* @sample AmazonManagedBlockchainAsync.UpdateNode
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateNodeAsync(UpdateNodeRequest updateNodeRequest);
/**
*
* Updates a node configuration with new parameters.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param updateNodeRequest
* @param 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.
* @return A Java Future containing the result of the UpdateNode operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.UpdateNode
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateNodeAsync(UpdateNodeRequest updateNodeRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param voteOnProposalRequest
* @return A Java Future containing the result of the VoteOnProposal operation returned by the service.
* @sample AmazonManagedBlockchainAsync.VoteOnProposal
* @see AWS API Documentation
*/
java.util.concurrent.Future 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.
*
*
* Applies only to Hyperledger Fabric.
*
*
* @param voteOnProposalRequest
* @param 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.
* @return A Java Future containing the result of the VoteOnProposal operation returned by the service.
* @sample AmazonManagedBlockchainAsyncHandler.VoteOnProposal
* @see AWS API Documentation
*/
java.util.concurrent.Future voteOnProposalAsync(VoteOnProposalRequest voteOnProposalRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}