@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonManagedBlockchain extends Object implements AmazonManagedBlockchain
AmazonManagedBlockchain
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CreateMemberResult |
createMember(CreateMemberRequest request)
Creates a member within a Managed Blockchain network.
|
CreateNetworkResult |
createNetwork(CreateNetworkRequest request)
Creates a new blockchain network using Amazon Managed Blockchain.
|
CreateNodeResult |
createNode(CreateNodeRequest request)
Creates a node on the specified blockchain network.
|
CreateProposalResult |
createProposal(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.
|
DeleteMemberResult |
deleteMember(DeleteMemberRequest request)
Deletes a member.
|
DeleteNodeResult |
deleteNode(DeleteNodeRequest request)
Deletes a node 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 request)
Returns detailed information about a member.
|
GetNetworkResult |
getNetwork(GetNetworkRequest request)
Returns detailed information about a network.
|
GetNodeResult |
getNode(GetNodeRequest request)
Returns detailed information about a node.
|
GetProposalResult |
getProposal(GetProposalRequest request)
Returns detailed information about a proposal.
|
ListInvitationsResult |
listInvitations(ListInvitationsRequest request)
Returns a list of all invitations for the current AWS account.
|
ListMembersResult |
listMembers(ListMembersRequest request)
Returns a list of the members in a network and properties of their configurations.
|
ListNetworksResult |
listNetworks(ListNetworksRequest request)
Returns information about the networks in which the current AWS account participates.
|
ListNodesResult |
listNodes(ListNodesRequest request)
Returns information about the nodes within a network.
|
ListProposalsResult |
listProposals(ListProposalsRequest request)
Returns a list of proposals for the network.
|
ListProposalVotesResult |
listProposalVotes(ListProposalVotesRequest request)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Returns a list of tags for the specified resource.
|
RejectInvitationResult |
rejectInvitation(RejectInvitationRequest request)
Rejects an invitation to join a network.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the specified tags from the Amazon Managed Blockchain resource.
|
UpdateMemberResult |
updateMember(UpdateMemberRequest request)
Updates a member configuration with new parameters.
|
UpdateNodeResult |
updateNode(UpdateNodeRequest request)
Updates a node configuration with new parameters.
|
VoteOnProposalResult |
voteOnProposal(VoteOnProposalRequest request)
Casts a vote for a specified
ProposalId on behalf of a member. |
public CreateMemberResult createMember(CreateMemberRequest request)
AmazonManagedBlockchain
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
createMember
in interface AmazonManagedBlockchain
public CreateNetworkResult createNetwork(CreateNetworkRequest request)
AmazonManagedBlockchain
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
createNetwork
in interface AmazonManagedBlockchain
public CreateNodeResult createNode(CreateNodeRequest request)
AmazonManagedBlockchain
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
createNode
in interface AmazonManagedBlockchain
public CreateProposalResult createProposal(CreateProposalRequest request)
AmazonManagedBlockchain
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.
createProposal
in interface AmazonManagedBlockchain
public DeleteMemberResult deleteMember(DeleteMemberRequest request)
AmazonManagedBlockchain
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.
deleteMember
in interface AmazonManagedBlockchain
public DeleteNodeResult deleteNode(DeleteNodeRequest request)
AmazonManagedBlockchain
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.
deleteNode
in interface AmazonManagedBlockchain
public GetMemberResult getMember(GetMemberRequest request)
AmazonManagedBlockchain
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
getMember
in interface AmazonManagedBlockchain
public GetNetworkResult getNetwork(GetNetworkRequest request)
AmazonManagedBlockchain
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
getNetwork
in interface AmazonManagedBlockchain
public GetNodeResult getNode(GetNodeRequest request)
AmazonManagedBlockchain
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
getNode
in interface AmazonManagedBlockchain
public GetProposalResult getProposal(GetProposalRequest request)
AmazonManagedBlockchain
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
getProposal
in interface AmazonManagedBlockchain
public ListInvitationsResult listInvitations(ListInvitationsRequest request)
AmazonManagedBlockchain
Returns a list of all invitations for the current AWS account.
Applies only to Hyperledger Fabric.
listInvitations
in interface AmazonManagedBlockchain
public ListMembersResult listMembers(ListMembersRequest request)
AmazonManagedBlockchain
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
listMembers
in interface AmazonManagedBlockchain
public ListNetworksResult listNetworks(ListNetworksRequest request)
AmazonManagedBlockchain
Returns information about the networks in which the current AWS account participates.
Applies to Hyperledger Fabric and Ethereum.
listNetworks
in interface AmazonManagedBlockchain
public ListNodesResult listNodes(ListNodesRequest request)
AmazonManagedBlockchain
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
listNodes
in interface AmazonManagedBlockchain
public ListProposalVotesResult listProposalVotes(ListProposalVotesRequest request)
AmazonManagedBlockchain
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.
listProposalVotes
in interface AmazonManagedBlockchain
public ListProposalsResult listProposals(ListProposalsRequest request)
AmazonManagedBlockchain
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
listProposals
in interface AmazonManagedBlockchain
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonManagedBlockchain
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.
listTagsForResource
in interface AmazonManagedBlockchain
public RejectInvitationResult rejectInvitation(RejectInvitationRequest request)
AmazonManagedBlockchain
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.
rejectInvitation
in interface AmazonManagedBlockchain
public TagResourceResult tagResource(TagResourceRequest request)
AmazonManagedBlockchain
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.
tagResource
in interface AmazonManagedBlockchain
public UntagResourceResult untagResource(UntagResourceRequest request)
AmazonManagedBlockchain
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.
untagResource
in interface AmazonManagedBlockchain
public UpdateMemberResult updateMember(UpdateMemberRequest request)
AmazonManagedBlockchain
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
updateMember
in interface AmazonManagedBlockchain
public UpdateNodeResult updateNode(UpdateNodeRequest request)
AmazonManagedBlockchain
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
updateNode
in interface AmazonManagedBlockchain
public VoteOnProposalResult voteOnProposal(VoteOnProposalRequest request)
AmazonManagedBlockchain
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.
voteOnProposal
in interface AmazonManagedBlockchain
public void shutdown()
AmazonManagedBlockchain
shutdown
in interface AmazonManagedBlockchain
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonManagedBlockchain
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.
getCachedResponseMetadata
in interface AmazonManagedBlockchain
request
- The originally executed request.