@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonManagedBlockchainClient extends AmazonWebServiceClient implements AmazonManagedBlockchain
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
don't 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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonManagedBlockchainClientBuilder |
builder() |
CreateAccessorResult |
createAccessor(CreateAccessorRequest request)
Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access.
|
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.
|
DeleteAccessorResult |
deleteAccessor(DeleteAccessorRequest request)
Deletes an accessor that your Amazon Web Services account owns.
|
DeleteMemberResult |
deleteMember(DeleteMemberRequest request)
Deletes a member.
|
DeleteNodeResult |
deleteNode(DeleteNodeRequest request)
Deletes a node that your Amazon Web Services account owns.
|
GetAccessorResult |
getAccessor(GetAccessorRequest request)
Returns detailed information about an accessor.
|
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.
|
ListAccessorsResult |
listAccessors(ListAccessorsRequest request)
Returns a list of the accessors and their properties.
|
ListInvitationsResult |
listInvitations(ListInvitationsRequest request)
Returns a list of all invitations for the current Amazon Web Services 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 Amazon Web Services 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. |
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonManagedBlockchainClientBuilder builder()
public CreateAccessorResult createAccessor(CreateAccessorRequest request)
Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access. The accessor contains information required for token based access.
createAccessor
in interface AmazonManagedBlockchain
createAccessorRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceAlreadyExistsException
- A resource request is issued for a resource that already exists.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
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.TooManyTagsException
public CreateMemberResult createMember(CreateMemberRequest request)
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
createMember
in interface AmazonManagedBlockchain
createMemberRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ResourceAlreadyExistsException
- A resource request is issued for a resource that already exists.ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
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.TooManyTagsException
public CreateNetworkResult createNetwork(CreateNetworkRequest request)
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
createNetwork
in interface AmazonManagedBlockchain
createNetworkRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceAlreadyExistsException
- A resource request is issued for a resource that already exists.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
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.TooManyTagsException
public CreateNodeResult createNode(CreateNodeRequest request)
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
createNode
in interface AmazonManagedBlockchain
createNodeRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ResourceAlreadyExistsException
- A resource request is issued for a resource that already exists.ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
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.TooManyTagsException
public 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. Any member can create a proposal.
Applies only to Hyperledger Fabric.
createProposal
in interface AmazonManagedBlockchain
createProposalRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.TooManyTagsException
public DeleteAccessorResult deleteAccessor(DeleteAccessorRequest request)
Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the
information required for token based access to your Ethereum nodes including, the BILLING_TOKEN
.
After an accessor is deleted, the status of the accessor changes from AVAILABLE
to
PENDING_DELETION
. An accessor in the PENDING_DELETION
state can’t be used for new
WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in
the AVAILABLE
state remain open until they expire (up to 2 hours).
deleteAccessor
in interface AmazonManagedBlockchain
deleteAccessorRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public DeleteMemberResult deleteMember(DeleteMemberRequest request)
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 Amazon Web Services 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 Amazon Web Services account, the
network is deleted also.
Applies only to Hyperledger Fabric.
deleteMember
in interface AmazonManagedBlockchain
deleteMemberRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public DeleteNodeResult deleteNode(DeleteNodeRequest request)
Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.
Applies to Hyperledger Fabric and Ethereum.
deleteNode
in interface AmazonManagedBlockchain
deleteNodeRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public GetAccessorResult getAccessor(GetAccessorRequest request)
Returns detailed information about an accessor. An accessor object is a container that has the information required for token based access to your Ethereum nodes.
getAccessor
in interface AmazonManagedBlockchain
getAccessorRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public GetMemberResult getMember(GetMemberRequest request)
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
getMember
in interface AmazonManagedBlockchain
getMemberRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public GetNetworkResult getNetwork(GetNetworkRequest request)
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
getNetwork
in interface AmazonManagedBlockchain
getNetworkRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public GetNodeResult getNode(GetNodeRequest request)
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
getNode
in interface AmazonManagedBlockchain
getNodeRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public GetProposalResult getProposal(GetProposalRequest request)
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
getProposal
in interface AmazonManagedBlockchain
getProposalRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public ListAccessorsResult listAccessors(ListAccessorsRequest request)
Returns a list of the accessors and their properties. Accessor objects are containers that have the information required for token based access to your Ethereum nodes.
listAccessors
in interface AmazonManagedBlockchain
listAccessorsRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public ListInvitationsResult listInvitations(ListInvitationsRequest request)
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
listInvitations
in interface AmazonManagedBlockchain
listInvitationsRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
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.public ListMembersResult listMembers(ListMembersRequest request)
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
listMembers
in interface AmazonManagedBlockchain
listMembersRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public ListNetworksResult listNetworks(ListNetworksRequest request)
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
listNetworks
in interface AmazonManagedBlockchain
listNetworksRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public ListNodesResult listNodes(ListNodesRequest request)
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
listNodes
in interface AmazonManagedBlockchain
listNodesRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public 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.
Applies only to Hyperledger Fabric.
listProposalVotes
in interface AmazonManagedBlockchain
listProposalVotesRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public ListProposalsResult listProposals(ListProposalsRequest request)
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
listProposals
in interface AmazonManagedBlockchain
listProposalsRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.AccessDeniedException
- You don't have sufficient access to perform this action.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
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
listTagsForResourceRequest
- InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.public RejectInvitationResult rejectInvitation(RejectInvitationRequest request)
Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.
Applies only to Hyperledger Fabric.
rejectInvitation
in interface AmazonManagedBlockchain
rejectInvitationRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionException
AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public TagResourceResult tagResource(TagResourceRequest request)
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
tagResourceRequest
- InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.TooManyTagsException
ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.public UntagResourceResult untagResource(UntagResourceRequest request)
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
untagResourceRequest
- InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ResourceNotReadyException
- The requested resource exists but isn't in a status that can complete the operation.public UpdateMemberResult updateMember(UpdateMemberRequest request)
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
updateMember
in interface AmazonManagedBlockchain
updateMemberRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public UpdateNodeResult updateNode(UpdateNodeRequest request)
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
updateNode
in interface AmazonManagedBlockchain
updateNodeRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public VoteOnProposalResult voteOnProposal(VoteOnProposalRequest request)
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 Amazon Web Services account as the principal that calls the
action.
Applies only to Hyperledger Fabric.
voteOnProposal
in interface AmazonManagedBlockchain
voteOnProposalRequest
- InvalidRequestException
- The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionException
AccessDeniedException
- You don't have sufficient access to perform this action.ResourceNotFoundException
- A requested resource doesn't exist. It may have been deleted or referenced incorrectly.ThrottlingException
- The request or operation couldn't be performed because a service is throttling requests. The most common
source of throttling errors is creating resources that exceed your service limit for this resource type.
Request a limit increase or delete unused resources if possible.InternalServiceErrorException
- The request processing has failed because of an unknown error, exception or failure.public 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 the request.
getCachedResponseMetadata
in interface AmazonManagedBlockchain
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonManagedBlockchain
shutdown
in class AmazonWebServiceClient