@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonManagedBlockchain
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonManagedBlockchain
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateMemberResult |
createMember(CreateMemberRequest createMemberRequest)
Creates a member within a Managed Blockchain network.
|
CreateNetworkResult |
createNetwork(CreateNetworkRequest createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
|
CreateNodeResult |
createNode(CreateNodeRequest createNodeRequest)
Creates a peer node in a member.
|
CreateProposalResult |
createProposal(CreateProposalRequest createProposalRequest)
Creates a proposal for a change to the network that other members of the network can vote on, for example, a
proposal to add a new member to the network.
|
DeleteMemberResult |
deleteMember(DeleteMemberRequest deleteMemberRequest)
Deletes a member.
|
DeleteNodeResult |
deleteNode(DeleteNodeRequest deleteNodeRequest)
Deletes a peer node from a member that your AWS account owns.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetMemberResult |
getMember(GetMemberRequest getMemberRequest)
Returns detailed information about a member.
|
GetNetworkResult |
getNetwork(GetNetworkRequest getNetworkRequest)
Returns detailed information about a network.
|
GetNodeResult |
getNode(GetNodeRequest getNodeRequest)
Returns detailed information about a peer node.
|
GetProposalResult |
getProposal(GetProposalRequest getProposalRequest)
Returns detailed information about a proposal.
|
ListInvitationsResult |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Returns a listing of all invitations made on the specified network.
|
ListMembersResult |
listMembers(ListMembersRequest listMembersRequest)
Returns a listing of the members in a network and properties of their configurations.
|
ListNetworksResult |
listNetworks(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account has members.
|
ListNodesResult |
listNodes(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
|
ListProposalsResult |
listProposals(ListProposalsRequest listProposalsRequest)
Returns a listing of proposals for the network.
|
ListProposalVotesResult |
listProposalVotes(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.
|
RejectInvitationResult |
rejectInvitation(RejectInvitationRequest rejectInvitationRequest)
Rejects an invitation to join a network.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
VoteOnProposalResult |
voteOnProposal(VoteOnProposalRequest voteOnProposalRequest)
Casts a vote for a specified
ProposalId on behalf of a member. |
static final String ENDPOINT_PREFIX
CreateMemberResult createMember(CreateMemberRequest createMemberRequest)
Creates a member within a Managed Blockchain network.
createMemberRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ResourceAlreadyExistsException
- A resource request is issued for a resource that already exists.ResourceNotReadyException
- The requested resource exists but is not in a status that can complete the operation.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.ResourceLimitExceededException
- The maximum number of resources of that type already exist. Ensure the resources requested are within the
boundaries of the service edition and your account limits.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.CreateNetworkResult createNetwork(CreateNetworkRequest createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
createNetworkRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceAlreadyExistsException
- A resource request is issued for a resource that already exists.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.ResourceLimitExceededException
- The maximum number of resources of that type already exist. Ensure the resources requested are within the
boundaries of the service edition and your account limits.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.CreateNodeResult createNode(CreateNodeRequest createNodeRequest)
Creates a peer node in a member.
createNodeRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ResourceAlreadyExistsException
- A resource request is issued for a resource that already exists.ResourceNotReadyException
- The requested resource exists but is not in a status that can complete the operation.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.ResourceLimitExceededException
- The maximum number of resources of that type already exist. Ensure the resources requested are within the
boundaries of the service edition and your account limits.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.CreateProposalResult createProposal(CreateProposalRequest createProposalRequest)
Creates a proposal for a change to the network that other members of the network can vote on, for example, a proposal to add a new member to the network. Any member can create a proposal.
createProposalRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ResourceNotReadyException
- The requested resource exists but is not in a status that can complete the operation.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.DeleteMemberResult deleteMember(DeleteMemberRequest deleteMemberRequest)
Deletes a member. Deleting a member removes the member and all associated resources from the network.
DeleteMember
can only be called for a specified MemberId
if the principal performing
the action is associated with the AWS account that owns the member. In all other cases, the
DeleteMember
action is carried out as the result of an approved proposal to remove a member. If
MemberId
is the last member in a network specified by the last AWS account, the network is deleted
also.
deleteMemberRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ResourceNotReadyException
- The requested resource exists but is not in a status that can complete the operation.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.DeleteNodeResult deleteNode(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
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ResourceNotReadyException
- The requested resource exists but is not in a status that can complete the operation.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.GetMemberResult getMember(GetMemberRequest getMemberRequest)
Returns detailed information about a member.
getMemberRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.GetNetworkResult getNetwork(GetNetworkRequest getNetworkRequest)
Returns detailed information about a network.
getNetworkRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.GetNodeResult getNode(GetNodeRequest getNodeRequest)
Returns detailed information about a peer node.
getNodeRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.GetProposalResult getProposal(GetProposalRequest getProposalRequest)
Returns detailed information about a proposal.
getProposalRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.ListInvitationsResult listInvitations(ListInvitationsRequest listInvitationsRequest)
Returns a listing of all invitations made on the specified network.
listInvitationsRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.ResourceLimitExceededException
- The maximum number of resources of that type already exist. Ensure the resources requested are within the
boundaries of the service edition and your account limits.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.ListMembersResult listMembers(ListMembersRequest listMembersRequest)
Returns a listing of the members in a network and properties of their configurations.
listMembersRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.ListNetworksResult listNetworks(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current AWS account has members.
listNetworksRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.ListNodesResult listNodes(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
listNodesRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.ListProposalVotesResult listProposalVotes(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
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.ListProposalsResult listProposals(ListProposalsRequest listProposalsRequest)
Returns a listing of proposals for the network.
listProposalsRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.AccessDeniedException
- You do not have sufficient access to perform this action.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.RejectInvitationResult rejectInvitation(RejectInvitationRequest rejectInvitationRequest)
Rejects an invitation to join a network. This action can be called by a principal in an AWS account that has received an invitation to create a member and join a network.
rejectInvitationRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionException
AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.VoteOnProposalResult voteOnProposal(VoteOnProposalRequest voteOnProposalRequest)
Casts a vote for a specified ProposalId
on behalf of a member. The member to vote as, specified by
VoterMemberId
, must be in the same AWS account as the principal that calls the action.
voteOnProposalRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionException
AccessDeniedException
- You do not have sufficient access to perform this action.ResourceNotFoundException
- A requested resource does not exist on the network. It may have been deleted or referenced inaccurately.ThrottlingException
- The request or operation could not be performed because a service is throttling requests. The most common
source of throttling errors is launching EC2 instances such that your service limit for EC2 instances is
exceeded. Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.