All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.managedblockchain.AmazonManagedBlockchain 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.*;
import com.amazonaws.regions.*;

import com.amazonaws.services.managedblockchain.model.*;

/**
 * Interface for accessing ManagedBlockchain.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.managedblockchain.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. *

*

* 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 AmazonManagedBlockchain { /** * The region metadata service name for computing region endpoints. You can use this value to retrieve metadata * (such as supported regions) of the service. * * @see RegionUtils#getRegionsForService(String) */ String ENDPOINT_PREFIX = "managedblockchain"; /** *

* Creates a member within a Managed Blockchain network. *

*

* Applies only to Hyperledger Fabric. *

* * @param createMemberRequest * @return Result of the CreateMember operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws ResourceAlreadyExistsException * A resource request is issued for a resource that already exists. * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @throws 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. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @throws TooManyTagsException * @sample AmazonManagedBlockchain.CreateMember * @see AWS * API Documentation */ CreateMemberResult createMember(CreateMemberRequest createMemberRequest); /** *

* Creates a new blockchain network using Amazon Managed Blockchain. *

*

* Applies only to Hyperledger Fabric. *

* * @param createNetworkRequest * @return Result of the CreateNetwork operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceAlreadyExistsException * A resource request is issued for a resource that already exists. * @throws 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. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @throws TooManyTagsException * @sample AmazonManagedBlockchain.CreateNetwork * @see AWS API Documentation */ CreateNetworkResult createNetwork(CreateNetworkRequest createNetworkRequest); /** *

* Creates a node on the specified blockchain network. *

*

* Applies to Hyperledger Fabric and Ethereum. *

* * @param createNodeRequest * @return Result of the CreateNode operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws ResourceAlreadyExistsException * A resource request is issued for a resource that already exists. * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @throws 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. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @throws TooManyTagsException * @sample AmazonManagedBlockchain.CreateNode * @see AWS * API Documentation */ CreateNodeResult createNode(CreateNodeRequest createNodeRequest); /** *

* 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 Result of the CreateProposal operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @throws TooManyTagsException * @sample AmazonManagedBlockchain.CreateProposal * @see AWS API Documentation */ CreateProposalResult createProposal(CreateProposalRequest createProposalRequest); /** *

* 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 Result of the DeleteMember operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.DeleteMember * @see AWS * API Documentation */ DeleteMemberResult deleteMember(DeleteMemberRequest deleteMemberRequest); /** *

* 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 Result of the DeleteNode operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.DeleteNode * @see AWS * API Documentation */ DeleteNodeResult deleteNode(DeleteNodeRequest deleteNodeRequest); /** *

* Returns detailed information about a member. *

*

* Applies only to Hyperledger Fabric. *

* * @param getMemberRequest * @return Result of the GetMember operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.GetMember * @see AWS * API Documentation */ GetMemberResult getMember(GetMemberRequest getMemberRequest); /** *

* Returns detailed information about a network. *

*

* Applies to Hyperledger Fabric and Ethereum. *

* * @param getNetworkRequest * @return Result of the GetNetwork operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.GetNetwork * @see AWS * API Documentation */ GetNetworkResult getNetwork(GetNetworkRequest getNetworkRequest); /** *

* Returns detailed information about a node. *

*

* Applies to Hyperledger Fabric and Ethereum. *

* * @param getNodeRequest * @return Result of the GetNode operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.GetNode * @see AWS API * Documentation */ GetNodeResult getNode(GetNodeRequest getNodeRequest); /** *

* Returns detailed information about a proposal. *

*

* Applies only to Hyperledger Fabric. *

* * @param getProposalRequest * @return Result of the GetProposal operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.GetProposal * @see AWS * API Documentation */ GetProposalResult getProposal(GetProposalRequest getProposalRequest); /** *

* Returns a list of all invitations for the current AWS account. *

*

* Applies only to Hyperledger Fabric. *

* * @param listInvitationsRequest * @return Result of the ListInvitations operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.ListInvitations * @see AWS API Documentation */ ListInvitationsResult listInvitations(ListInvitationsRequest listInvitationsRequest); /** *

* Returns a list of the members in a network and properties of their configurations. *

*

* Applies only to Hyperledger Fabric. *

* * @param listMembersRequest * @return Result of the ListMembers operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.ListMembers * @see AWS * API Documentation */ ListMembersResult listMembers(ListMembersRequest listMembersRequest); /** *

* Returns information about the networks in which the current AWS account participates. *

*

* Applies to Hyperledger Fabric and Ethereum. *

* * @param listNetworksRequest * @return Result of the ListNetworks operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.ListNetworks * @see AWS * API Documentation */ ListNetworksResult listNetworks(ListNetworksRequest listNetworksRequest); /** *

* Returns information about the nodes within a network. *

*

* Applies to Hyperledger Fabric and Ethereum. *

* * @param listNodesRequest * @return Result of the ListNodes operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.ListNodes * @see AWS * API Documentation */ ListNodesResult listNodes(ListNodesRequest listNodesRequest); /** *

* 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 Result of the ListProposalVotes operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.ListProposalVotes * @see AWS API Documentation */ ListProposalVotesResult listProposalVotes(ListProposalVotesRequest listProposalVotesRequest); /** *

* Returns a list of proposals for the network. *

*

* Applies only to Hyperledger Fabric. *

* * @param listProposalsRequest * @return Result of the ListProposals operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.ListProposals * @see AWS API Documentation */ ListProposalsResult listProposals(ListProposalsRequest listProposalsRequest); /** *

* 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 Result of the ListTagsForResource operation returned by the service. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @sample AmazonManagedBlockchain.ListTagsForResource * @see AWS API Documentation */ ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* 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 Result of the RejectInvitation operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws IllegalActionException * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.RejectInvitation * @see AWS API Documentation */ RejectInvitationResult rejectInvitation(RejectInvitationRequest rejectInvitationRequest); /** *

* 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 Result of the TagResource operation returned by the service. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws TooManyTagsException * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @sample AmazonManagedBlockchain.TagResource * @see AWS * API Documentation */ TagResourceResult tagResource(TagResourceRequest tagResourceRequest); /** *

* 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 Result of the UntagResource operation returned by the service. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws ResourceNotReadyException * The requested resource exists but is not in a status that can complete the operation. * @sample AmazonManagedBlockchain.UntagResource * @see AWS API Documentation */ UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest); /** *

* Updates a member configuration with new parameters. *

*

* Applies only to Hyperledger Fabric. *

* * @param updateMemberRequest * @return Result of the UpdateMember operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.UpdateMember * @see AWS * API Documentation */ UpdateMemberResult updateMember(UpdateMemberRequest updateMemberRequest); /** *

* Updates a node configuration with new parameters. *

*

* Applies only to Hyperledger Fabric. *

* * @param updateNodeRequest * @return Result of the UpdateNode operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.UpdateNode * @see AWS * API Documentation */ UpdateNodeResult updateNode(UpdateNodeRequest updateNodeRequest); /** *

* 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 Result of the VoteOnProposal operation returned by the service. * @throws InvalidRequestException * The action or operation requested is invalid. Verify that the action is typed correctly. * @throws IllegalActionException * @throws AccessDeniedException * You do not have sufficient access to perform this action. * @throws ResourceNotFoundException * A requested resource does not exist. It may have been deleted or referenced inaccurately. * @throws 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. * @throws InternalServiceErrorException * The request processing has failed because of an unknown error, exception or failure. * @sample AmazonManagedBlockchain.VoteOnProposal * @see AWS API Documentation */ VoteOnProposalResult voteOnProposal(VoteOnProposalRequest voteOnProposalRequest); /** * Shuts down this client object, releasing any resources that might be held open. This is an optional method, and * callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client * has been shutdown, it should not be used to make any more requests. */ void shutdown(); /** * Returns additional metadata for a previously executed successful request, typically used for debugging issues * where a service isn't acting as expected. This data isn't considered part of the result data returned by an * operation, so it's available through this separate, diagnostic interface. *

* 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. * * @param request * The originally executed request. * * @return The response metadata for the specified request, or null if none is available. */ ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy