Interface ManagedBlockchainClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aManagedBlockchainClient.static ManagedBlockchainClientcreate()Create aManagedBlockchainClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAccessorResponsecreateAccessor(Consumer<CreateAccessorRequest.Builder> createAccessorRequest) Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access.default CreateAccessorResponsecreateAccessor(CreateAccessorRequest createAccessorRequest) Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access.default CreateMemberResponsecreateMember(Consumer<CreateMemberRequest.Builder> createMemberRequest) Creates a member within a Managed Blockchain network.default CreateMemberResponsecreateMember(CreateMemberRequest createMemberRequest) Creates a member within a Managed Blockchain network.default CreateNetworkResponsecreateNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest) Creates a new blockchain network using Amazon Managed Blockchain.default CreateNetworkResponsecreateNetwork(CreateNetworkRequest createNetworkRequest) Creates a new blockchain network using Amazon Managed Blockchain.default CreateNodeResponsecreateNode(Consumer<CreateNodeRequest.Builder> createNodeRequest) Creates a node on the specified blockchain network.default CreateNodeResponsecreateNode(CreateNodeRequest createNodeRequest) Creates a node on the specified blockchain network.default CreateProposalResponsecreateProposal(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 CreateProposalResponsecreateProposal(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 DeleteAccessorResponsedeleteAccessor(Consumer<DeleteAccessorRequest.Builder> deleteAccessorRequest) Deletes an accessor that your Amazon Web Services account owns.default DeleteAccessorResponsedeleteAccessor(DeleteAccessorRequest deleteAccessorRequest) Deletes an accessor that your Amazon Web Services account owns.default DeleteMemberResponsedeleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) Deletes a member.default DeleteMemberResponsedeleteMember(DeleteMemberRequest deleteMemberRequest) Deletes a member.default DeleteNodeResponsedeleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest) Deletes a node that your Amazon Web Services account owns.default DeleteNodeResponsedeleteNode(DeleteNodeRequest deleteNodeRequest) Deletes a node that your Amazon Web Services account owns.default GetAccessorResponsegetAccessor(Consumer<GetAccessorRequest.Builder> getAccessorRequest) Returns detailed information about an accessor.default GetAccessorResponsegetAccessor(GetAccessorRequest getAccessorRequest) Returns detailed information about an accessor.default GetMemberResponsegetMember(Consumer<GetMemberRequest.Builder> getMemberRequest) Returns detailed information about a member.default GetMemberResponsegetMember(GetMemberRequest getMemberRequest) Returns detailed information about a member.default GetNetworkResponsegetNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest) Returns detailed information about a network.default GetNetworkResponsegetNetwork(GetNetworkRequest getNetworkRequest) Returns detailed information about a network.default GetNodeResponsegetNode(Consumer<GetNodeRequest.Builder> getNodeRequest) Returns detailed information about a node.default GetNodeResponsegetNode(GetNodeRequest getNodeRequest) Returns detailed information about a node.default GetProposalResponsegetProposal(Consumer<GetProposalRequest.Builder> getProposalRequest) Returns detailed information about a proposal.default GetProposalResponsegetProposal(GetProposalRequest getProposalRequest) Returns detailed information about a proposal.default ListAccessorsResponselistAccessors(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest) Returns a list of the accessors and their properties.default ListAccessorsResponselistAccessors(ListAccessorsRequest listAccessorsRequest) Returns a list of the accessors and their properties.default ListAccessorsIterablelistAccessorsPaginator(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest) This is a variant oflistAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest)operation.default ListAccessorsIterablelistAccessorsPaginator(ListAccessorsRequest listAccessorsRequest) This is a variant oflistAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest)operation.default ListInvitationsResponselistInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) Returns a list of all invitations for the current Amazon Web Services account.default ListInvitationsResponselistInvitations(ListInvitationsRequest listInvitationsRequest) Returns a list of all invitations for the current Amazon Web Services account.default ListInvitationsIterablelistInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)operation.default ListInvitationsIterablelistInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)operation.default ListMembersResponselistMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) Returns a list of the members in a network and properties of their configurations.default ListMembersResponselistMembers(ListMembersRequest listMembersRequest) Returns a list of the members in a network and properties of their configurations.default ListMembersIterablelistMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)operation.default ListMembersIterablelistMembersPaginator(ListMembersRequest listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)operation.default ListNetworksResponselistNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest) Returns information about the networks in which the current Amazon Web Services account participates.default ListNetworksResponselistNetworks(ListNetworksRequest listNetworksRequest) Returns information about the networks in which the current Amazon Web Services account participates.default ListNetworksIterablelistNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest) This is a variant oflistNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)operation.default ListNetworksIterablelistNetworksPaginator(ListNetworksRequest listNetworksRequest) This is a variant oflistNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)operation.default ListNodesResponselistNodes(Consumer<ListNodesRequest.Builder> listNodesRequest) Returns information about the nodes within a network.default ListNodesResponselistNodes(ListNodesRequest listNodesRequest) Returns information about the nodes within a network.default ListNodesIterablelistNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest) This is a variant oflistNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)operation.default ListNodesIterablelistNodesPaginator(ListNodesRequest listNodesRequest) This is a variant oflistNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)operation.default ListProposalsResponselistProposals(Consumer<ListProposalsRequest.Builder> listProposalsRequest) Returns a list of proposals for the network.default ListProposalsResponselistProposals(ListProposalsRequest listProposalsRequest) Returns a list of proposals for the network.default ListProposalsIterablelistProposalsPaginator(Consumer<ListProposalsRequest.Builder> listProposalsRequest) This is a variant oflistProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)operation.default ListProposalsIterablelistProposalsPaginator(ListProposalsRequest listProposalsRequest) This is a variant oflistProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)operation.default ListProposalVotesResponselistProposalVotes(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 ListProposalVotesResponselistProposalVotes(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 ListProposalVotesIterablelistProposalVotesPaginator(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest) This is a variant oflistProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)operation.default ListProposalVotesIterablelistProposalVotesPaginator(ListProposalVotesRequest listProposalVotesRequest) This is a variant oflistProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Returns a list of tags for the specified resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Returns a list of tags for the specified resource.default RejectInvitationResponserejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest) Rejects an invitation to join a network.default RejectInvitationResponserejectInvitation(RejectInvitationRequest rejectInvitationRequest) Rejects an invitation to join a network.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the Amazon Managed Blockchain resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the Amazon Managed Blockchain resource.default UpdateMemberResponseupdateMember(Consumer<UpdateMemberRequest.Builder> updateMemberRequest) Updates a member configuration with new parameters.default UpdateMemberResponseupdateMember(UpdateMemberRequest updateMemberRequest) Updates a member configuration with new parameters.default UpdateNodeResponseupdateNode(Consumer<UpdateNodeRequest.Builder> updateNodeRequest) Updates a node configuration with new parameters.default UpdateNodeResponseupdateNode(UpdateNodeRequest updateNodeRequest) Updates a node configuration with new parameters.default VoteOnProposalResponsevoteOnProposal(Consumer<VoteOnProposalRequest.Builder> voteOnProposalRequest) Casts a vote for a specifiedProposalIdon behalf of a member.default VoteOnProposalResponsevoteOnProposal(VoteOnProposalRequest voteOnProposalRequest) Casts a vote for a specifiedProposalIdon behalf of a member.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createAccessor
default CreateAccessorResponse createAccessor(CreateAccessorRequest createAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceAlreadyExistsException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access. The accessor contains information required for token based access.
- Parameters:
createAccessorRequest-- Returns:
- Result of the CreateAccessor operation returned by the service.
- See Also:
-
createAccessor
default CreateAccessorResponse createAccessor(Consumer<CreateAccessorRequest.Builder> createAccessorRequest) throws InvalidRequestException, AccessDeniedException, ResourceAlreadyExistsException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, TooManyTagsException, AwsServiceException, SdkClientException, ManagedBlockchainException Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access. The accessor contains information required for token based access.
This is a convenience which creates an instance of the
CreateAccessorRequest.Builderavoiding the need to create one manually viaCreateAccessorRequest.builder()- Parameters:
createAccessorRequest- AConsumerthat will call methods onCreateAccessorRequest.Builderto create a request.- Returns:
- Result of the CreateAccessor operation returned by the service.
- See Also:
-
createMember
default 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.
- Parameters:
createMemberRequest-- Returns:
- Result of the CreateMember operation returned by the service.
- See Also:
-
createMember
default 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.Builderavoiding the need to create one manually viaCreateMemberRequest.builder()- Parameters:
createMemberRequest- AConsumerthat will call methods onCreateMemberRequest.Builderto create a request.- Returns:
- Result of the CreateMember operation returned by the service.
- See Also:
-
createNetwork
default 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.
- Parameters:
createNetworkRequest-- Returns:
- Result of the CreateNetwork operation returned by the service.
- See Also:
-
createNetwork
default 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.Builderavoiding the need to create one manually viaCreateNetworkRequest.builder()- Parameters:
createNetworkRequest- AConsumerthat will call methods onCreateNetworkRequest.Builderto create a request.- Returns:
- Result of the CreateNetwork operation returned by the service.
- See Also:
-
createNode
default 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.
- Parameters:
createNodeRequest-- Returns:
- Result of the CreateNode operation returned by the service.
- See Also:
-
createNode
default 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.Builderavoiding the need to create one manually viaCreateNodeRequest.builder()- Parameters:
createNodeRequest- AConsumerthat will call methods onCreateNodeRequest.Builderto create a request.- Returns:
- Result of the CreateNode operation returned by the service.
- See Also:
-
createProposal
default 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.
- Parameters:
createProposalRequest-- Returns:
- Result of the CreateProposal operation returned by the service.
- See Also:
-
createProposal
default 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.Builderavoiding the need to create one manually viaCreateProposalRequest.builder()- Parameters:
createProposalRequest- AConsumerthat will call methods onCreateProposalRequest.Builderto create a request.- Returns:
- Result of the CreateProposal operation returned by the service.
- See Also:
-
deleteAccessor
default 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 fromAVAILABLEtoPENDING_DELETION. An accessor in thePENDING_DELETIONstate can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in theAVAILABLEstate remain open until they expire (up to 2 hours).- Parameters:
deleteAccessorRequest-- Returns:
- Result of the DeleteAccessor operation returned by the service.
- See Also:
-
deleteAccessor
default 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 fromAVAILABLEtoPENDING_DELETION. An accessor in thePENDING_DELETIONstate can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in theAVAILABLEstate remain open until they expire (up to 2 hours).
This is a convenience which creates an instance of the
DeleteAccessorRequest.Builderavoiding the need to create one manually viaDeleteAccessorRequest.builder()- Parameters:
deleteAccessorRequest- AConsumerthat will call methods onDeleteAccessorRequest.Builderto create a request.- Returns:
- Result of the DeleteAccessor operation returned by the service.
- See Also:
-
deleteMember
default 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.
DeleteMembercan only be called for a specifiedMemberIdif the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, theDeleteMemberaction is carried out as the result of an approved proposal to remove a member. IfMemberIdis the last member in a network specified by the last Amazon Web Services account, the network is deleted also.Applies only to Hyperledger Fabric.
- Parameters:
deleteMemberRequest-- Returns:
- Result of the DeleteMember operation returned by the service.
- See Also:
-
deleteMember
default 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.
DeleteMembercan only be called for a specifiedMemberIdif the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, theDeleteMemberaction is carried out as the result of an approved proposal to remove a member. IfMemberIdis 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.Builderavoiding the need to create one manually viaDeleteMemberRequest.builder()- Parameters:
deleteMemberRequest- AConsumerthat will call methods onDeleteMemberRequest.Builderto create a request.- Returns:
- Result of the DeleteMember operation returned by the service.
- See Also:
-
deleteNode
default 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.
- Parameters:
deleteNodeRequest-- Returns:
- Result of the DeleteNode operation returned by the service.
- See Also:
-
deleteNode
default 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.Builderavoiding the need to create one manually viaDeleteNodeRequest.builder()- Parameters:
deleteNodeRequest- AConsumerthat will call methods onDeleteNodeRequest.Builderto create a request.- Returns:
- Result of the DeleteNode operation returned by the service.
- See Also:
-
getAccessor
default 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.
- Parameters:
getAccessorRequest-- Returns:
- Result of the GetAccessor operation returned by the service.
- See Also:
-
getAccessor
default 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.Builderavoiding the need to create one manually viaGetAccessorRequest.builder()- Parameters:
getAccessorRequest- AConsumerthat will call methods onGetAccessorRequest.Builderto create a request.- Returns:
- Result of the GetAccessor operation returned by the service.
- See Also:
-
getMember
default GetMemberResponse getMember(GetMemberRequest getMemberRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException Returns detailed information about a member.
Applies only to Hyperledger Fabric.
- Parameters:
getMemberRequest-- Returns:
- Result of the GetMember operation returned by the service.
- See Also:
-
getMember
default 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.Builderavoiding the need to create one manually viaGetMemberRequest.builder()- Parameters:
getMemberRequest- AConsumerthat will call methods onGetMemberRequest.Builderto create a request.- Returns:
- Result of the GetMember operation returned by the service.
- See Also:
-
getNetwork
default 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.
- Parameters:
getNetworkRequest-- Returns:
- Result of the GetNetwork operation returned by the service.
- See Also:
-
getNetwork
default 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.Builderavoiding the need to create one manually viaGetNetworkRequest.builder()- Parameters:
getNetworkRequest- AConsumerthat will call methods onGetNetworkRequest.Builderto create a request.- Returns:
- Result of the GetNetwork operation returned by the service.
- See Also:
-
getNode
default 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.
- Parameters:
getNodeRequest-- Returns:
- Result of the GetNode operation returned by the service.
- See Also:
-
getNode
default 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.Builderavoiding the need to create one manually viaGetNodeRequest.builder()- Parameters:
getNodeRequest- AConsumerthat will call methods onGetNodeRequest.Builderto create a request.- Returns:
- Result of the GetNode operation returned by the service.
- See Also:
-
getProposal
default GetProposalResponse getProposal(GetProposalRequest getProposalRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException Returns detailed information about a proposal.
Applies only to Hyperledger Fabric.
- Parameters:
getProposalRequest-- Returns:
- Result of the GetProposal operation returned by the service.
- See Also:
-
getProposal
default 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.Builderavoiding the need to create one manually viaGetProposalRequest.builder()- Parameters:
getProposalRequest- AConsumerthat will call methods onGetProposalRequest.Builderto create a request.- Returns:
- Result of the GetProposal operation returned by the service.
- See Also:
-
listAccessors
default 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.
- Parameters:
listAccessorsRequest-- Returns:
- Result of the ListAccessors operation returned by the service.
- See Also:
-
listAccessors
default 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.Builderavoiding the need to create one manually viaListAccessorsRequest.builder()- Parameters:
listAccessorsRequest- AConsumerthat will call methods onListAccessorsRequest.Builderto create a request.- Returns:
- Result of the ListAccessors operation returned by the service.
- See Also:
-
listAccessorsPaginator
default ListAccessorsIterable listAccessorsPaginator(ListAccessorsRequest listAccessorsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client.listAccessorsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listAccessorsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAccessorsPaginator
default ListAccessorsIterable listAccessorsPaginator(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsIterable responses = client.listAccessorsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListAccessorsRequest.builder()- Parameters:
listAccessorsRequest- AConsumerthat will call methods onListAccessorsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInvitations
default 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.
- Parameters:
listInvitationsRequest-- Returns:
- Result of the ListInvitations operation returned by the service.
- See Also:
-
listInvitations
default 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.Builderavoiding the need to create one manually viaListInvitationsRequest.builder()- Parameters:
listInvitationsRequest- AConsumerthat will call methods onListInvitationsRequest.Builderto create a request.- Returns:
- Result of the ListInvitations operation returned by the service.
- See Also:
-
listInvitationsPaginator
default ListInvitationsIterable listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listInvitationsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInvitationsPaginator
default ListInvitationsIterable listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws InvalidRequestException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ResourceLimitExceededException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListInvitationsRequest.builder()- Parameters:
listInvitationsRequest- AConsumerthat will call methods onListInvitationsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembers
default 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.
- Parameters:
listMembersRequest-- Returns:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembers
default 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.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto create a request.- Returns:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listMembersRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNetworks
default 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.
- Parameters:
listNetworksRequest-- Returns:
- Result of the ListNetworks operation returned by the service.
- See Also:
-
listNetworks
default 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.Builderavoiding the need to create one manually viaListNetworksRequest.builder()- Parameters:
listNetworksRequest- AConsumerthat will call methods onListNetworksRequest.Builderto create a request.- Returns:
- Result of the ListNetworks operation returned by the service.
- See Also:
-
listNetworksPaginator
default ListNetworksIterable listNetworksPaginator(ListNetworksRequest listNetworksRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client.listNetworksPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listNetworksRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNetworksPaginator
default ListNetworksIterable listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListNetworksIterable responses = client.listNetworksPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListNetworksRequest.builder()- Parameters:
listNetworksRequest- AConsumerthat will call methods onListNetworksRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNodes
default 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.
- Parameters:
listNodesRequest-- Returns:
- Result of the ListNodes operation returned by the service.
- See Also:
-
listNodes
default 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.Builderavoiding the need to create one manually viaListNodesRequest.builder()- Parameters:
listNodesRequest- AConsumerthat will call methods onListNodesRequest.Builderto create a request.- Returns:
- Result of the ListNodes operation returned by the service.
- See Also:
-
listNodesPaginator
default ListNodesIterable listNodesPaginator(ListNodesRequest listNodesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listNodesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNodesPaginator
default ListNodesIterable listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListNodesIterable responses = client.listNodesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListNodesRequest.builder()- Parameters:
listNodesRequest- AConsumerthat will call methods onListNodesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProposalVotes
default 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.
- Parameters:
listProposalVotesRequest-- Returns:
- Result of the ListProposalVotes operation returned by the service.
- See Also:
-
listProposalVotes
default 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.Builderavoiding the need to create one manually viaListProposalVotesRequest.builder()- Parameters:
listProposalVotesRequest- AConsumerthat will call methods onListProposalVotesRequest.Builderto create a request.- Returns:
- Result of the ListProposalVotes operation returned by the service.
- See Also:
-
listProposalVotesPaginator
default ListProposalVotesIterable listProposalVotesPaginator(ListProposalVotesRequest listProposalVotesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client.listProposalVotesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listProposalVotesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProposalVotesPaginator
default ListProposalVotesIterable listProposalVotesPaginator(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest) throws InvalidRequestException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesIterable responses = client.listProposalVotesPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListProposalVotesRequest.builder()- Parameters:
listProposalVotesRequest- AConsumerthat will call methods onListProposalVotesRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProposals
default 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.
- Parameters:
listProposalsRequest-- Returns:
- Result of the ListProposals operation returned by the service.
- See Also:
-
listProposals
default 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.Builderavoiding the need to create one manually viaListProposalsRequest.builder()- Parameters:
listProposalsRequest- AConsumerthat will call methods onListProposalsRequest.Builderto create a request.- Returns:
- Result of the ListProposals operation returned by the service.
- See Also:
-
listProposalsPaginator
default ListProposalsIterable listProposalsPaginator(ListProposalsRequest listProposalsRequest) throws InvalidRequestException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client.listProposalsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.- Parameters:
listProposalsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProposalsPaginator
default ListProposalsIterable listProposalsPaginator(Consumer<ListProposalsRequest.Builder> listProposalsRequest) throws InvalidRequestException, ResourceNotFoundException, AccessDeniedException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException 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
2) Using For loopsoftware.amazon.awssdk.services.managedblockchain.paginators.ListProposalsIterable responses = client.listProposalsPaginator(request); responses.stream().forEach(....);{ @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 directlysoftware.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.Builderavoiding the need to create one manually viaListProposalsRequest.builder()- Parameters:
listProposalsRequest- AConsumerthat will call methods onListProposalsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default 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.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
rejectInvitation
default 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.
- Parameters:
rejectInvitationRequest-- Returns:
- Result of the RejectInvitation operation returned by the service.
- See Also:
-
rejectInvitation
default 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.Builderavoiding the need to create one manually viaRejectInvitationRequest.builder()- Parameters:
rejectInvitationRequest- AConsumerthat will call methods onRejectInvitationRequest.Builderto create a request.- Returns:
- Result of the RejectInvitation operation returned by the service.
- See Also:
-
tagResource
default 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
UntagResourceto 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.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default 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
UntagResourceto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default 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.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateMember
default 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.
- Parameters:
updateMemberRequest-- Returns:
- Result of the UpdateMember operation returned by the service.
- See Also:
-
updateMember
default 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.Builderavoiding the need to create one manually viaUpdateMemberRequest.builder()- Parameters:
updateMemberRequest- AConsumerthat will call methods onUpdateMemberRequest.Builderto create a request.- Returns:
- Result of the UpdateMember operation returned by the service.
- See Also:
-
updateNode
default 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.
- Parameters:
updateNodeRequest-- Returns:
- Result of the UpdateNode operation returned by the service.
- See Also:
-
updateNode
default 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.Builderavoiding the need to create one manually viaUpdateNodeRequest.builder()- Parameters:
updateNodeRequest- AConsumerthat will call methods onUpdateNodeRequest.Builderto create a request.- Returns:
- Result of the UpdateNode operation returned by the service.
- See Also:
-
voteOnProposal
default VoteOnProposalResponse voteOnProposal(VoteOnProposalRequest voteOnProposalRequest) throws InvalidRequestException, IllegalActionException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException Casts a vote for a specified
ProposalIdon behalf of a member. The member to vote as, specified byVoterMemberId, must be in the same Amazon Web Services account as the principal that calls the action.Applies only to Hyperledger Fabric.
- Parameters:
voteOnProposalRequest-- Returns:
- Result of the VoteOnProposal operation returned by the service.
- See Also:
-
voteOnProposal
default VoteOnProposalResponse voteOnProposal(Consumer<VoteOnProposalRequest.Builder> voteOnProposalRequest) throws InvalidRequestException, IllegalActionException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, InternalServiceErrorException, AwsServiceException, SdkClientException, ManagedBlockchainException Casts a vote for a specified
ProposalIdon behalf of a member. The member to vote as, specified byVoterMemberId, 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.Builderavoiding the need to create one manually viaVoteOnProposalRequest.builder()- Parameters:
voteOnProposalRequest- AConsumerthat will call methods onVoteOnProposalRequest.Builderto create a request.- Returns:
- Result of the VoteOnProposal operation returned by the service.
- See Also:
-
create
Create aManagedBlockchainClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aManagedBlockchainClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-