@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface ManagedBlockchainClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static ManagedBlockchainClientBuilder |
builder()
Create a builder that can be used to configure and create a
ManagedBlockchainClient. |
static ManagedBlockchainClient |
create()
Create a
ManagedBlockchainClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAccessorResponse |
createAccessor(Consumer<CreateAccessorRequest.Builder> createAccessorRequest)
Creates a new accessor for use with Managed Blockchain Ethereum nodes.
|
default CreateAccessorResponse |
createAccessor(CreateAccessorRequest createAccessorRequest)
Creates a new accessor for use with Managed Blockchain Ethereum nodes.
|
default CreateMemberResponse |
createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest)
Creates a member within a Managed Blockchain network.
|
default CreateMemberResponse |
createMember(CreateMemberRequest createMemberRequest)
Creates a member within a Managed Blockchain network.
|
default CreateNetworkResponse |
createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
|
default CreateNetworkResponse |
createNetwork(CreateNetworkRequest createNetworkRequest)
Creates a new blockchain network using Amazon Managed Blockchain.
|
default CreateNodeResponse |
createNode(Consumer<CreateNodeRequest.Builder> createNodeRequest)
Creates a node on the specified blockchain network.
|
default CreateNodeResponse |
createNode(CreateNodeRequest createNodeRequest)
Creates a node on the specified blockchain network.
|
default CreateProposalResponse |
createProposal(Consumer<CreateProposalRequest.Builder> 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.
|
default CreateProposalResponse |
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.
|
default DeleteAccessorResponse |
deleteAccessor(Consumer<DeleteAccessorRequest.Builder> deleteAccessorRequest)
Deletes an accessor that your Amazon Web Services account owns.
|
default DeleteAccessorResponse |
deleteAccessor(DeleteAccessorRequest deleteAccessorRequest)
Deletes an accessor that your Amazon Web Services account owns.
|
default DeleteMemberResponse |
deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest)
Deletes a member.
|
default DeleteMemberResponse |
deleteMember(DeleteMemberRequest deleteMemberRequest)
Deletes a member.
|
default DeleteNodeResponse |
deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest)
Deletes a node that your Amazon Web Services account owns.
|
default DeleteNodeResponse |
deleteNode(DeleteNodeRequest deleteNodeRequest)
Deletes a node that your Amazon Web Services account owns.
|
default GetAccessorResponse |
getAccessor(Consumer<GetAccessorRequest.Builder> getAccessorRequest)
Returns detailed information about an accessor.
|
default GetAccessorResponse |
getAccessor(GetAccessorRequest getAccessorRequest)
Returns detailed information about an accessor.
|
default GetMemberResponse |
getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Returns detailed information about a member.
|
default GetMemberResponse |
getMember(GetMemberRequest getMemberRequest)
Returns detailed information about a member.
|
default GetNetworkResponse |
getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest)
Returns detailed information about a network.
|
default GetNetworkResponse |
getNetwork(GetNetworkRequest getNetworkRequest)
Returns detailed information about a network.
|
default GetNodeResponse |
getNode(Consumer<GetNodeRequest.Builder> getNodeRequest)
Returns detailed information about a node.
|
default GetNodeResponse |
getNode(GetNodeRequest getNodeRequest)
Returns detailed information about a node.
|
default GetProposalResponse |
getProposal(Consumer<GetProposalRequest.Builder> getProposalRequest)
Returns detailed information about a proposal.
|
default GetProposalResponse |
getProposal(GetProposalRequest getProposalRequest)
Returns detailed information about a proposal.
|
default ListAccessorsResponse |
listAccessors(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest)
Returns a list of the accessors and their properties.
|
default ListAccessorsResponse |
listAccessors(ListAccessorsRequest listAccessorsRequest)
Returns a list of the accessors and their properties.
|
default ListAccessorsIterable |
listAccessorsPaginator(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest)
Returns a list of the accessors and their properties.
|
default ListAccessorsIterable |
listAccessorsPaginator(ListAccessorsRequest listAccessorsRequest)
Returns a list of the accessors and their properties.
|
default ListInvitationsResponse |
listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Returns a list of all invitations for the current Amazon Web Services account.
|
default ListInvitationsResponse |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Returns a list of all invitations for the current Amazon Web Services account.
|
default ListInvitationsIterable |
listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Returns a list of all invitations for the current Amazon Web Services account.
|
default ListInvitationsIterable |
listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Returns a list of all invitations for the current Amazon Web Services account.
|
default ListMembersResponse |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default ListMembersResponse |
listMembers(ListMembersRequest listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default ListMembersIterable |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default ListMembersIterable |
listMembersPaginator(ListMembersRequest listMembersRequest)
Returns a list of the members in a network and properties of their configurations.
|
default ListNetworksResponse |
listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Returns information about the networks in which the current Amazon Web Services account participates.
|
default ListNetworksResponse |
listNetworks(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current Amazon Web Services account participates.
|
default ListNetworksIterable |
listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest)
Returns information about the networks in which the current Amazon Web Services account participates.
|
default ListNetworksIterable |
listNetworksPaginator(ListNetworksRequest listNetworksRequest)
Returns information about the networks in which the current Amazon Web Services account participates.
|
default ListNodesResponse |
listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns information about the nodes within a network.
|
default ListNodesResponse |
listNodes(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
|
default ListNodesIterable |
listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest)
Returns information about the nodes within a network.
|
default ListNodesIterable |
listNodesPaginator(ListNodesRequest listNodesRequest)
Returns information about the nodes within a network.
|
default ListProposalsResponse |
listProposals(Consumer<ListProposalsRequest.Builder> listProposalsRequest)
Returns a list of proposals for the network.
|
default ListProposalsResponse |
listProposals(ListProposalsRequest listProposalsRequest)
Returns a list of proposals for the network.
|
default ListProposalsIterable |
listProposalsPaginator(Consumer<ListProposalsRequest.Builder> listProposalsRequest)
Returns a list of proposals for the network.
|
default ListProposalsIterable |
listProposalsPaginator(ListProposalsRequest listProposalsRequest)
Returns a list of proposals for the network.
|
default ListProposalVotesResponse |
listProposalVotes(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default ListProposalVotesResponse |
listProposalVotes(ListProposalVotesRequest listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default ListProposalVotesIterable |
listProposalVotesPaginator(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default ListProposalVotesIterable |
listProposalVotesPaginator(ListProposalVotesRequest listProposalVotesRequest)
Returns the list of votes for a specified proposal, including the value of each vote and the unique identifier of
the member that cast the vote.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Returns a list of tags for the specified resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Returns a list of tags for the specified resource.
|
default RejectInvitationResponse |
rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest)
Rejects an invitation to join a network.
|
default RejectInvitationResponse |
rejectInvitation(RejectInvitationRequest rejectInvitationRequest)
Rejects an invitation to join a network.
|
default ManagedBlockchainServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the Amazon Managed Blockchain resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the Amazon Managed Blockchain resource.
|
default UpdateMemberResponse |
updateMember(Consumer<UpdateMemberRequest.Builder> updateMemberRequest)
Updates a member configuration with new parameters.
|
default UpdateMemberResponse |
updateMember(UpdateMemberRequest updateMemberRequest)
Updates a member configuration with new parameters.
|
default UpdateNodeResponse |
updateNode(Consumer<UpdateNodeRequest.Builder> updateNodeRequest)
Updates a node configuration with new parameters.
|
default UpdateNodeResponse |
updateNode(UpdateNodeRequest updateNodeRequest)
Updates a node configuration with new parameters.
|
default VoteOnProposalResponse |
voteOnProposal(Consumer<VoteOnProposalRequest.Builder> voteOnProposalRequest)
Casts a vote for a specified
ProposalId on behalf of a member. |
default VoteOnProposalResponse |
voteOnProposal(VoteOnProposalRequest voteOnProposalRequest)
Casts a vote for a specified
ProposalId on behalf of a member. |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CreateAccessorResponse createAccessor(CreateAccessorRequest createAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceAlreadyExistsException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information required for token based access to your Ethereum nodes.
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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAccessorResponse createAccessor(Consumer<CreateAccessorRequest.Builder> createAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceAlreadyExistsException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a new accessor for use with Managed Blockchain Ethereum nodes. An accessor contains information required for token based access to your Ethereum nodes.
This is a convenience which creates an instance of the CreateAccessorRequest.Builder avoiding the need to
create one manually via CreateAccessorRequest.builder()
createAccessorRequest - A Consumer that will call methods on CreateAccessorInput.Builder to create a request.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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMemberResponse createMember(CreateMemberRequest createMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceAlreadyExistsException, ResourceNotReadyException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMemberResponse createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceAlreadyExistsException, ResourceNotReadyException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a member within a Managed Blockchain network.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the CreateMemberRequest.Builder avoiding the need to
create one manually via CreateMemberRequest.builder()
createMemberRequest - A Consumer that will call methods on CreateMemberInput.Builder to create a request.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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateNetworkResponse createNetwork(CreateNetworkRequest createNetworkRequest) throws InvalidRequestException, AccessDeniedException, ResourceAlreadyExistsException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateNetworkResponse createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest) throws InvalidRequestException, AccessDeniedException, ResourceAlreadyExistsException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a new blockchain network using Amazon Managed Blockchain.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the CreateNetworkRequest.Builder avoiding the need to
create one manually via CreateNetworkRequest.builder()
createNetworkRequest - A Consumer that will call methods on CreateNetworkInput.Builder to create a request.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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateNodeResponse createNode(CreateNodeRequest createNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceAlreadyExistsException, ResourceNotReadyException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateNodeResponse createNode(Consumer<CreateNodeRequest.Builder> createNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceAlreadyExistsException, ResourceNotReadyException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
Creates a node on the specified blockchain network.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the CreateNodeRequest.Builder avoiding the need to
create one manually via CreateNodeRequest.builder()
createNodeRequest - A Consumer that will call methods on CreateNodeInput.Builder to create a request.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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateProposalResponse createProposal(CreateProposalRequest createProposalRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceNotReadyException, ThrottlingException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateProposalResponse createProposal(Consumer<CreateProposalRequest.Builder> createProposalRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceNotReadyException, ThrottlingException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the CreateProposalRequest.Builder avoiding the need to
create one manually via CreateProposalRequest.builder()
createProposalRequest - A Consumer that will call methods on CreateProposalInput.Builder to create a request.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.TooManyTagsExceptionSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAccessorResponse deleteAccessor(DeleteAccessorRequest deleteAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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).
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAccessorResponse deleteAccessor(Consumer<DeleteAccessorRequest.Builder> deleteAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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).
This is a convenience which creates an instance of the DeleteAccessorRequest.Builder avoiding the need to
create one manually via DeleteAccessorRequest.builder()
deleteAccessorRequest - A Consumer that will call methods on DeleteAccessorInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteMemberResponse deleteMember(DeleteMemberRequest deleteMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceNotReadyException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteMemberResponse deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceNotReadyException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the DeleteMemberRequest.Builder avoiding the need to
create one manually via DeleteMemberRequest.builder()
deleteMemberRequest - A Consumer that will call methods on DeleteMemberInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteNodeResponse deleteNode(DeleteNodeRequest deleteNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceNotReadyException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteNodeResponse deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ResourceNotReadyException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the DeleteNodeRequest.Builder avoiding the need to
create one manually via DeleteNodeRequest.builder()
deleteNodeRequest - A Consumer that will call methods on DeleteNodeInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAccessorResponse getAccessor(GetAccessorRequest getAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAccessorResponse getAccessor(Consumer<GetAccessorRequest.Builder> getAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the GetAccessorRequest.Builder avoiding the need to
create one manually via GetAccessorRequest.builder()
getAccessorRequest - A Consumer that will call methods on GetAccessorInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMemberResponse getMember(GetMemberRequest getMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMemberResponse getMember(Consumer<GetMemberRequest.Builder> getMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a member.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the GetMemberRequest.Builder avoiding the need to
create one manually via GetMemberRequest.builder()
getMemberRequest - A Consumer that will call methods on GetMemberInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResponse getNetwork(GetNetworkRequest getNetworkRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNetworkResponse getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a network.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the GetNetworkRequest.Builder avoiding the need to
create one manually via GetNetworkRequest.builder()
getNetworkRequest - A Consumer that will call methods on GetNetworkInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNodeResponse getNode(GetNodeRequest getNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetNodeResponse getNode(Consumer<GetNodeRequest.Builder> getNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a node.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the GetNodeRequest.Builder avoiding the need to create
one manually via GetNodeRequest.builder()
getNodeRequest - A Consumer that will call methods on GetNodeInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetProposalResponse getProposal(GetProposalRequest getProposalRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetProposalResponse getProposal(Consumer<GetProposalRequest.Builder> getProposalRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the GetProposalRequest.Builder avoiding the need to
create one manually via GetProposalRequest.builder()
getProposalRequest - A Consumer that will call methods on GetProposalInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessorsResponse listAccessors(ListAccessorsRequest listAccessorsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessorsResponse listAccessors(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the ListAccessorsRequest.Builder avoiding the need to
create one manually via ListAccessorsRequest.builder()
listAccessorsRequest - A Consumer that will call methods on ListAccessorsInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessorsIterable listAccessorsPaginator(ListAccessorsRequest listAccessorsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a variant of
listAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client.listAccessorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client
.listAccessorsPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListAccessorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client.listAccessorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAccessorsIterable listAccessorsPaginator(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a variant of
listAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client.listAccessorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client
.listAccessorsPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListAccessorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client.listAccessorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest)
operation.
This is a convenience which creates an instance of the ListAccessorsRequest.Builder avoiding the need to
create one manually via ListAccessorsRequest.builder()
listAccessorsRequest - A Consumer that will call methods on ListAccessorsInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsResponse listInvitations(ListInvitationsRequest listInvitationsRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsResponse listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsIterable listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
This is a variant of
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client
.listInvitationsPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsIterable listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of all invitations for the current Amazon Web Services account.
Applies only to Hyperledger Fabric.
This is a variant of
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client
.listInvitationsPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersResponse listMembers(ListMembersRequest listMembersRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersResponse listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
This is a variant of
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client
.listMembersPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of the members in a network and properties of their configurations.
Applies only to Hyperledger Fabric.
This is a variant of
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client
.listMembersPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest) operation.
This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNetworksResponse listNetworks(ListNetworksRequest listNetworksRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNetworksResponse listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the ListNetworksRequest.Builder avoiding the need to
create one manually via ListNetworksRequest.builder()
listNetworksRequest - A Consumer that will call methods on ListNetworksInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNetworksIterable listNetworksPaginator(ListNetworksRequest listNetworksRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client.listNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client
.listNetworksPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client.listNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNetworksIterable listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the networks in which the current Amazon Web Services account participates.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client.listNetworksPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client
.listNetworksPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client.listNetworksPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest) operation.
This is a convenience which creates an instance of the ListNetworksRequest.Builder avoiding the need to
create one manually via ListNetworksRequest.builder()
listNetworksRequest - A Consumer that will call methods on ListNetworksInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNodesResponse listNodes(ListNodesRequest listNodesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNodesResponse listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
This is a convenience which creates an instance of the ListNodesRequest.Builder avoiding the need to
create one manually via ListNodesRequest.builder()
listNodesRequest - A Consumer that will call methods on ListNodesInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNodesIterable listNodesPaginator(ListNodesRequest listNodesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest) operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListNodesIterable listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns information about the nodes within a network.
Applies to Hyperledger Fabric and Ethereum.
This is a variant of listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest) operation.
This is a convenience which creates an instance of the ListNodesRequest.Builder avoiding the need to
create one manually via ListNodesRequest.builder()
listNodesRequest - A Consumer that will call methods on ListNodesInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalVotesResponse listProposalVotes(ListProposalVotesRequest listProposalVotesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalVotesResponse listProposalVotes(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the ListProposalVotesRequest.Builder avoiding the need
to create one manually via ListProposalVotesRequest.builder()
listProposalVotesRequest - A Consumer that will call methods on ListProposalVotesInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalVotesIterable listProposalVotesPaginator(ListProposalVotesRequest listProposalVotesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a variant of
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client.listProposalVotesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client
.listProposalVotesPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client.listProposalVotesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalVotesIterable listProposalVotesPaginator(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a variant of
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client.listProposalVotesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client
.listProposalVotesPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client.listProposalVotesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation.
This is a convenience which creates an instance of the ListProposalVotesRequest.Builder avoiding the need
to create one manually via ListProposalVotesRequest.builder()
listProposalVotesRequest - A Consumer that will call methods on ListProposalVotesInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalsResponse listProposals(ListProposalsRequest listProposalsRequest) throws InvalidRequestException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalsResponse listProposals(Consumer<ListProposalsRequest.Builder> listProposalsRequest) throws InvalidRequestException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the ListProposalsRequest.Builder avoiding the need to
create one manually via ListProposalsRequest.builder()
listProposalsRequest - A Consumer that will call methods on ListProposalsInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalsIterable listProposalsPaginator(ListProposalsRequest listProposalsRequest) throws InvalidRequestException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
This is a variant of
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client.listProposalsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client
.listProposalsPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client.listProposalsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListProposalsIterable listProposalsPaginator(Consumer<ListProposalsRequest.Builder> listProposalsRequest) throws InvalidRequestException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Returns a list of proposals for the network.
Applies only to Hyperledger Fabric.
This is a variant of
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client.listProposalsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client
.listProposalsPaginator(request);
for (software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client.listProposalsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.
This is a convenience which creates an instance of the ListProposalsRequest.Builder avoiding the need to
create one manually via ListProposalsRequest.builder()
listProposalsRequest - A Consumer that will call methods on ListProposalsInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ResourceNotReadyException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ResourceNotReadyException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RejectInvitationResponse rejectInvitation(RejectInvitationRequest rejectInvitationRequest) throws InvalidRequestException, IllegalActionException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
rejectInvitationRequest - InvalidRequestException - The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionExceptionAccessDeniedException - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault RejectInvitationResponse rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest) throws InvalidRequestException, IllegalActionException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the RejectInvitationRequest.Builder avoiding the need
to create one manually via RejectInvitationRequest.builder()
rejectInvitationRequest - A Consumer that will call methods on RejectInvitationInput.Builder to create a request.InvalidRequestException - The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionExceptionAccessDeniedException - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, TooManyTagsException, ResourceNotReadyException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.TooManyTagsExceptionResourceNotReadyException - The requested resource exists but isn't in a status that can complete the operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, TooManyTagsException, ResourceNotReadyException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.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.TooManyTagsExceptionResourceNotReadyException - The requested resource exists but isn't in a status that can complete the operation.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ResourceNotReadyException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServiceErrorException, InvalidRequestException, ResourceNotFoundException, ResourceNotReadyException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMemberResponse updateMember(UpdateMemberRequest updateMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMemberResponse updateMember(Consumer<UpdateMemberRequest.Builder> updateMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Updates a member configuration with new parameters.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the UpdateMemberRequest.Builder avoiding the need to
create one manually via UpdateMemberRequest.builder()
updateMemberRequest - A Consumer that will call methods on UpdateMemberInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateNodeResponse updateNode(UpdateNodeRequest updateNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateNodeResponse updateNode(Consumer<UpdateNodeRequest.Builder> updateNodeRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
Updates a node configuration with new parameters.
Applies only to Hyperledger Fabric.
This is a convenience which creates an instance of the UpdateNodeRequest.Builder avoiding the need to
create one manually via UpdateNodeRequest.builder()
updateNodeRequest - A Consumer that will call methods on UpdateNodeInput.Builder to create a request.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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault VoteOnProposalResponse voteOnProposal(VoteOnProposalRequest voteOnProposalRequest) throws InvalidRequestException, IllegalActionException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
voteOnProposalRequest - InvalidRequestException - The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionExceptionAccessDeniedException - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault VoteOnProposalResponse voteOnProposal(Consumer<VoteOnProposalRequest.Builder> voteOnProposalRequest) throws InvalidRequestException, IllegalActionException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException
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.
This is a convenience which creates an instance of the VoteOnProposalRequest.Builder avoiding the need to
create one manually via VoteOnProposalRequest.builder()
voteOnProposalRequest - A Consumer that will call methods on VoteOnProposalInput.Builder to create a request.InvalidRequestException - The action or operation requested is invalid. Verify that the action is typed correctly.IllegalActionExceptionAccessDeniedException - 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.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.ManagedBlockchainException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ManagedBlockchainClient create()
ManagedBlockchainClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static ManagedBlockchainClientBuilder builder()
ManagedBlockchainClient.static ServiceMetadata serviceMetadata()
default ManagedBlockchainServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.