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 String
Value 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 ManagedBlockchainClient
create()
Create aManagedBlockchainClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAccessorResponse
createAccessor
(Consumer<CreateAccessorRequest.Builder> createAccessorRequest) Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access.default CreateAccessorResponse
createAccessor
(CreateAccessorRequest createAccessorRequest) Creates a new accessor for use with Amazon Managed Blockchain service that supports token based access.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) This is a variant oflistAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest)
operation.default ListAccessorsIterable
listAccessorsPaginator
(ListAccessorsRequest listAccessorsRequest) This is a variant oflistAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest)
operation.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) This is a variant oflistInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation.default ListInvitationsIterable
listInvitationsPaginator
(ListInvitationsRequest listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest)
operation.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) This is a variant oflistMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)
operation.default ListMembersIterable
listMembersPaginator
(ListMembersRequest listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest)
operation.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) This is a variant oflistNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)
operation.default ListNetworksIterable
listNetworksPaginator
(ListNetworksRequest listNetworksRequest) This is a variant oflistNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest)
operation.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) This is a variant oflistNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation.default ListNodesIterable
listNodesPaginator
(ListNodesRequest listNodesRequest) This is a variant oflistNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest)
operation.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) This is a variant oflistProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.default ListProposalsIterable
listProposalsPaginator
(ListProposalsRequest listProposalsRequest) This is a variant oflistProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest)
operation.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) This is a variant oflistProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation.default ListProposalVotesIterable
listProposalVotesPaginator
(ListProposalVotesRequest listProposalVotesRequest) This is a variant oflistProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest)
operation.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.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic 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 specifiedProposalId
on behalf of a member.default VoteOnProposalResponse
voteOnProposal
(VoteOnProposalRequest voteOnProposalRequest) Casts a vote for a specifiedProposalId
on behalf of a member.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods 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.Builder
avoiding the need to create one manually viaCreateAccessorRequest.builder()
- Parameters:
createAccessorRequest
- AConsumer
that will call methods onCreateAccessorRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateMemberRequest.builder()
- Parameters:
createMemberRequest
- AConsumer
that will call methods onCreateMemberRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateNetworkRequest.builder()
- Parameters:
createNetworkRequest
- AConsumer
that will call methods onCreateNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateNodeRequest.builder()
- Parameters:
createNodeRequest
- AConsumer
that will call methods onCreateNodeRequest.Builder
to 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.Builder
avoiding the need to create one manually viaCreateProposalRequest.builder()
- Parameters:
createProposalRequest
- AConsumer
that will call methods onCreateProposalRequest.Builder
to 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 fromAVAILABLE
toPENDING_DELETION
. An accessor in thePENDING_DELETION
state can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in theAVAILABLE
state 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 fromAVAILABLE
toPENDING_DELETION
. An accessor in thePENDING_DELETION
state can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in theAVAILABLE
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 viaDeleteAccessorRequest.builder()
- Parameters:
deleteAccessorRequest
- AConsumer
that will call methods onDeleteAccessorRequest.Builder
to 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.
DeleteMember
can only be called for a specifiedMemberId
if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, theDeleteMember
action is carried out as the result of an approved proposal to remove a member. IfMemberId
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.
- 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.
DeleteMember
can only be called for a specifiedMemberId
if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, theDeleteMember
action is carried out as the result of an approved proposal to remove a member. IfMemberId
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 viaDeleteMemberRequest.builder()
- Parameters:
deleteMemberRequest
- AConsumer
that will call methods onDeleteMemberRequest.Builder
to 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.Builder
avoiding the need to create one manually viaDeleteNodeRequest.builder()
- Parameters:
deleteNodeRequest
- AConsumer
that will call methods onDeleteNodeRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetAccessorRequest.builder()
- Parameters:
getAccessorRequest
- AConsumer
that will call methods onGetAccessorRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetMemberRequest.builder()
- Parameters:
getMemberRequest
- AConsumer
that will call methods onGetMemberRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNetworkRequest.builder()
- Parameters:
getNetworkRequest
- AConsumer
that will call methods onGetNetworkRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetNodeRequest.builder()
- Parameters:
getNodeRequest
- AConsumer
that will call methods onGetNodeRequest.Builder
to 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.Builder
avoiding the need to create one manually viaGetProposalRequest.builder()
- Parameters:
getProposalRequest
- AConsumer
that will call methods onGetProposalRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListAccessorsRequest.builder()
- Parameters:
listAccessorsRequest
- AConsumer
that will call methods onListAccessorsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListAccessorsRequest.builder()
- Parameters:
listAccessorsRequest
- AConsumer
that will call methods onListAccessorsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListNetworksRequest.builder()
- Parameters:
listNetworksRequest
- AConsumer
that will call methods onListNetworksRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListNetworksRequest.builder()
- Parameters:
listNetworksRequest
- AConsumer
that will call methods onListNetworksRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListNodesRequest.builder()
- Parameters:
listNodesRequest
- AConsumer
that will call methods onListNodesRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListNodesRequest.builder()
- Parameters:
listNodesRequest
- AConsumer
that will call methods onListNodesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListProposalVotesRequest.builder()
- Parameters:
listProposalVotesRequest
- AConsumer
that will call methods onListProposalVotesRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListProposalVotesRequest.builder()
- Parameters:
listProposalVotesRequest
- AConsumer
that will call methods onListProposalVotesRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListProposalsRequest.builder()
- Parameters:
listProposalsRequest
- AConsumer
that will call methods onListProposalsRequest.Builder
to 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 Streamsoftware.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 Streamsoftware.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.Builder
avoiding the need to create one manually viaListProposalsRequest.builder()
- Parameters:
listProposalsRequest
- AConsumer
that will call methods onListProposalsRequest.Builder
to 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.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaRejectInvitationRequest.builder()
- Parameters:
rejectInvitationRequest
- AConsumer
that will call methods onRejectInvitationRequest.Builder
to 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
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.
- 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
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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateMemberRequest.builder()
- Parameters:
updateMemberRequest
- AConsumer
that will call methods onUpdateMemberRequest.Builder
to 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.Builder
avoiding the need to create one manually viaUpdateNodeRequest.builder()
- Parameters:
updateNodeRequest
- AConsumer
that will call methods onUpdateNodeRequest.Builder
to 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
ProposalId
on 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
ProposalId
on 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.Builder
avoiding the need to create one manually viaVoteOnProposalRequest.builder()
- Parameters:
voteOnProposalRequest
- AConsumer
that will call methods onVoteOnProposalRequest.Builder
to create a request.- Returns:
- Result of the VoteOnProposal operation returned by the service.
- See Also:
-
create
Create aManagedBlockchainClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aManagedBlockchainClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-