Interface ManagedBlockchainAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ManagedBlockchainAsyncClient extends AwsClient
Service client for accessing ManagedBlockchain asynchronously. This can be created using the static 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 Details

  • Method Details

    • createAccessor

      default CompletableFuture<CreateAccessorResponse> createAccessor(CreateAccessorRequest createAccessorRequest)

      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:
      A Java Future containing the result of the CreateAccessor operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAccessor

      default CompletableFuture<CreateAccessorResponse> createAccessor(Consumer<CreateAccessorRequest.Builder> createAccessorRequest)

      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 via CreateAccessorRequest.builder()

      Parameters:
      createAccessorRequest - A Consumer that will call methods on CreateAccessorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAccessor operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMember

      default CompletableFuture<CreateMemberResponse> createMember(CreateMemberRequest createMemberRequest)

      Creates a member within a Managed Blockchain network.

      Applies only to Hyperledger Fabric.

      Parameters:
      createMemberRequest -
      Returns:
      A Java Future containing the result of the CreateMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createMember

      default CompletableFuture<CreateMemberResponse> createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest)

      Creates a member within a Managed Blockchain network.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the CreateMemberRequest.Builder avoiding the need to create one manually via CreateMemberRequest.builder()

      Parameters:
      createMemberRequest - A Consumer that will call methods on CreateMemberRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createNetwork

      default CompletableFuture<CreateNetworkResponse> createNetwork(CreateNetworkRequest createNetworkRequest)

      Creates a new blockchain network using Amazon Managed Blockchain.

      Applies only to Hyperledger Fabric.

      Parameters:
      createNetworkRequest -
      Returns:
      A Java Future containing the result of the CreateNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createNetwork

      default CompletableFuture<CreateNetworkResponse> createNetwork(Consumer<CreateNetworkRequest.Builder> createNetworkRequest)

      Creates a new blockchain network using Amazon Managed Blockchain.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the CreateNetworkRequest.Builder avoiding the need to create one manually via CreateNetworkRequest.builder()

      Parameters:
      createNetworkRequest - A Consumer that will call methods on CreateNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createNode

      default CompletableFuture<CreateNodeResponse> createNode(CreateNodeRequest createNodeRequest)

      Creates a node on the specified blockchain network.

      Applies to Hyperledger Fabric and Ethereum.

      Parameters:
      createNodeRequest -
      Returns:
      A Java Future containing the result of the CreateNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createNode

      default CompletableFuture<CreateNodeResponse> createNode(Consumer<CreateNodeRequest.Builder> createNodeRequest)

      Creates a node on the specified blockchain network.

      Applies to Hyperledger Fabric and Ethereum.


      This is a convenience which creates an instance of the CreateNodeRequest.Builder avoiding the need to create one manually via CreateNodeRequest.builder()

      Parameters:
      createNodeRequest - A Consumer that will call methods on CreateNodeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceAlreadyExistsException A resource request is issued for a resource that already exists.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProposal

      default CompletableFuture<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. Any member can create a proposal.

      Applies only to Hyperledger Fabric.

      Parameters:
      createProposalRequest -
      Returns:
      A Java Future containing the result of the CreateProposal operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProposal

      default CompletableFuture<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. Any member can create a proposal.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the CreateProposalRequest.Builder avoiding the need to create one manually via CreateProposalRequest.builder()

      Parameters:
      createProposalRequest - A Consumer that will call methods on CreateProposalRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateProposal operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • TooManyTagsException
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAccessor

      default CompletableFuture<DeleteAccessorResponse> deleteAccessor(DeleteAccessorRequest deleteAccessorRequest)

      Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the information required for token based access to your Ethereum nodes including, the BILLING_TOKEN. After an accessor is deleted, the status of the accessor changes from AVAILABLE to PENDING_DELETION. An accessor in the PENDING_DELETION state can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in the AVAILABLE state remain open until they expire (up to 2 hours).

      Parameters:
      deleteAccessorRequest -
      Returns:
      A Java Future containing the result of the DeleteAccessor operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAccessor

      default CompletableFuture<DeleteAccessorResponse> deleteAccessor(Consumer<DeleteAccessorRequest.Builder> deleteAccessorRequest)

      Deletes an accessor that your Amazon Web Services account owns. An accessor object is a container that has the information required for token based access to your Ethereum nodes including, the BILLING_TOKEN. After an accessor is deleted, the status of the accessor changes from AVAILABLE to PENDING_DELETION. An accessor in the PENDING_DELETION state can’t be used for new WebSocket requests or HTTP requests. However, WebSocket connections that were initiated while the accessor was in the AVAILABLE state remain open until they expire (up to 2 hours).


      This is a convenience which creates an instance of the DeleteAccessorRequest.Builder avoiding the need to create one manually via DeleteAccessorRequest.builder()

      Parameters:
      deleteAccessorRequest - A Consumer that will call methods on DeleteAccessorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAccessor operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteMember

      default CompletableFuture<DeleteMemberResponse> deleteMember(DeleteMemberRequest deleteMemberRequest)

      Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the DeleteMember action is carried out as the result of an approved proposal to remove a member. If MemberId is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.

      Applies only to Hyperledger Fabric.

      Parameters:
      deleteMemberRequest -
      Returns:
      A Java Future containing the result of the DeleteMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteMember

      default CompletableFuture<DeleteMemberResponse> deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest)

      Deletes a member. Deleting a member removes the member and all associated resources from the network. DeleteMember can only be called for a specified MemberId if the principal performing the action is associated with the Amazon Web Services account that owns the member. In all other cases, the DeleteMember action is carried out as the result of an approved proposal to remove a member. If MemberId is the last member in a network specified by the last Amazon Web Services account, the network is deleted also.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the DeleteMemberRequest.Builder avoiding the need to create one manually via DeleteMemberRequest.builder()

      Parameters:
      deleteMemberRequest - A Consumer that will call methods on DeleteMemberRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteNode

      default CompletableFuture<DeleteNodeResponse> deleteNode(DeleteNodeRequest deleteNodeRequest)

      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:
      A Java Future containing the result of the DeleteNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteNode

      default CompletableFuture<DeleteNodeResponse> deleteNode(Consumer<DeleteNodeRequest.Builder> deleteNodeRequest)

      Deletes a node that your Amazon Web Services account owns. All data on the node is lost and cannot be recovered.

      Applies to Hyperledger Fabric and Ethereum.


      This is a convenience which creates an instance of the DeleteNodeRequest.Builder avoiding the need to create one manually via DeleteNodeRequest.builder()

      Parameters:
      deleteNodeRequest - A Consumer that will call methods on DeleteNodeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessor

      default CompletableFuture<GetAccessorResponse> getAccessor(GetAccessorRequest getAccessorRequest)

      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:
      A Java Future containing the result of the GetAccessor operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessor

      default CompletableFuture<GetAccessorResponse> getAccessor(Consumer<GetAccessorRequest.Builder> getAccessorRequest)

      Returns detailed information about an accessor. An accessor object is a container that has the information required for token based access to your Ethereum nodes.


      This is a convenience which creates an instance of the GetAccessorRequest.Builder avoiding the need to create one manually via GetAccessorRequest.builder()

      Parameters:
      getAccessorRequest - A Consumer that will call methods on GetAccessorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAccessor operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMember

      default CompletableFuture<GetMemberResponse> getMember(GetMemberRequest getMemberRequest)

      Returns detailed information about a member.

      Applies only to Hyperledger Fabric.

      Parameters:
      getMemberRequest -
      Returns:
      A Java Future containing the result of the GetMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getMember

      default CompletableFuture<GetMemberResponse> getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)

      Returns detailed information about a member.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the GetMemberRequest.Builder avoiding the need to create one manually via GetMemberRequest.builder()

      Parameters:
      getMemberRequest - A Consumer that will call methods on GetMemberRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetwork

      default CompletableFuture<GetNetworkResponse> getNetwork(GetNetworkRequest getNetworkRequest)

      Returns detailed information about a network.

      Applies to Hyperledger Fabric and Ethereum.

      Parameters:
      getNetworkRequest -
      Returns:
      A Java Future containing the result of the GetNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNetwork

      default CompletableFuture<GetNetworkResponse> getNetwork(Consumer<GetNetworkRequest.Builder> getNetworkRequest)

      Returns detailed information about a network.

      Applies to Hyperledger Fabric and Ethereum.


      This is a convenience which creates an instance of the GetNetworkRequest.Builder avoiding the need to create one manually via GetNetworkRequest.builder()

      Parameters:
      getNetworkRequest - A Consumer that will call methods on GetNetworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNetwork operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNode

      default CompletableFuture<GetNodeResponse> getNode(GetNodeRequest getNodeRequest)

      Returns detailed information about a node.

      Applies to Hyperledger Fabric and Ethereum.

      Parameters:
      getNodeRequest -
      Returns:
      A Java Future containing the result of the GetNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getNode

      Returns detailed information about a node.

      Applies to Hyperledger Fabric and Ethereum.


      This is a convenience which creates an instance of the GetNodeRequest.Builder avoiding the need to create one manually via GetNodeRequest.builder()

      Parameters:
      getNodeRequest - A Consumer that will call methods on GetNodeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProposal

      default CompletableFuture<GetProposalResponse> getProposal(GetProposalRequest getProposalRequest)

      Returns detailed information about a proposal.

      Applies only to Hyperledger Fabric.

      Parameters:
      getProposalRequest -
      Returns:
      A Java Future containing the result of the GetProposal operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProposal

      default CompletableFuture<GetProposalResponse> getProposal(Consumer<GetProposalRequest.Builder> getProposalRequest)

      Returns detailed information about a proposal.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the GetProposalRequest.Builder avoiding the need to create one manually via GetProposalRequest.builder()

      Parameters:
      getProposalRequest - A Consumer that will call methods on GetProposalRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProposal operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessors

      default CompletableFuture<ListAccessorsResponse> listAccessors(ListAccessorsRequest listAccessorsRequest)

      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:
      A Java Future containing the result of the ListAccessors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessors

      default CompletableFuture<ListAccessorsResponse> listAccessors(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest)

      Returns a list of the accessors and their properties. Accessor objects are containers that have the information required for token based access to your Ethereum nodes.


      This is a convenience which creates an instance of the ListAccessorsRequest.Builder avoiding the need to create one manually via ListAccessorsRequest.builder()

      Parameters:
      listAccessorsRequest - A Consumer that will call methods on ListAccessorsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAccessors operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessorsPaginator

      default ListAccessorsPublisher listAccessorsPaginator(ListAccessorsRequest listAccessorsRequest)

      This is a variant of listAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsPublisher publisher = client.listAccessorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsPublisher publisher = client.listAccessorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListAccessorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAccessorsPaginator

      default ListAccessorsPublisher listAccessorsPaginator(Consumer<ListAccessorsRequest.Builder> listAccessorsRequest)

      This is a variant of listAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsPublisher publisher = client.listAccessorsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListAccessorsPublisher publisher = client.listAccessorsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListAccessorsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listAccessors(software.amazon.awssdk.services.managedblockchain.model.ListAccessorsRequest) operation.


      This is a convenience which creates an instance of the ListAccessorsRequest.Builder avoiding the need to create one manually via ListAccessorsRequest.builder()

      Parameters:
      listAccessorsRequest - A Consumer that will call methods on ListAccessorsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInvitations

      default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest)

      Returns a list of all invitations for the current Amazon Web Services account.

      Applies only to Hyperledger Fabric.

      Parameters:
      listInvitationsRequest -
      Returns:
      A Java Future containing the result of the ListInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInvitations

      default CompletableFuture<ListInvitationsResponse> listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)

      Returns a list of all invitations for the current Amazon Web Services account.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need to create one manually via ListInvitationsRequest.builder()

      Parameters:
      listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInvitationsPaginator

      default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)

      This is a variant of listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInvitationsPaginator

      default ListInvitationsPublisher listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)

      This is a variant of listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listInvitations(software.amazon.awssdk.services.managedblockchain.model.ListInvitationsRequest) operation.


      This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need to create one manually via ListInvitationsRequest.builder()

      Parameters:
      listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • ResourceLimitExceededException The maximum number of resources of that type already exist. Ensure the resources requested are within the boundaries of the service edition and your account limits.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMembers

      default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)

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

      Applies only to Hyperledger Fabric.

      Parameters:
      listMembersRequest -
      Returns:
      A Java Future containing the result of the ListMembers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMembers

      default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)

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

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to create one manually via ListMembersRequest.builder()

      Parameters:
      listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListMembers operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMembersPaginator

      default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest)

      This is a variant of listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listMembersPaginator

      default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)

      This is a variant of listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListMembersResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listMembers(software.amazon.awssdk.services.managedblockchain.model.ListMembersRequest) operation.


      This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to create one manually via ListMembersRequest.builder()

      Parameters:
      listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworks

      default CompletableFuture<ListNetworksResponse> listNetworks(ListNetworksRequest listNetworksRequest)

      Returns information about the networks in which the current Amazon Web Services account participates.

      Applies to Hyperledger Fabric and Ethereum.

      Parameters:
      listNetworksRequest -
      Returns:
      A Java Future containing the result of the ListNetworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworks

      default CompletableFuture<ListNetworksResponse> listNetworks(Consumer<ListNetworksRequest.Builder> listNetworksRequest)

      Returns information about the networks in which the current Amazon Web Services account participates.

      Applies to Hyperledger Fabric and Ethereum.


      This is a convenience which creates an instance of the ListNetworksRequest.Builder avoiding the need to create one manually via ListNetworksRequest.builder()

      Parameters:
      listNetworksRequest - A Consumer that will call methods on ListNetworksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListNetworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworksPaginator

      default ListNetworksPublisher listNetworksPaginator(ListNetworksRequest listNetworksRequest)

      This is a variant of listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNetworksPaginator

      default ListNetworksPublisher listNetworksPaginator(Consumer<ListNetworksRequest.Builder> listNetworksRequest)

      This is a variant of listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNetworksPublisher publisher = client.listNetworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNetworksResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listNetworks(software.amazon.awssdk.services.managedblockchain.model.ListNetworksRequest) operation.


      This is a convenience which creates an instance of the ListNetworksRequest.Builder avoiding the need to create one manually via ListNetworksRequest.builder()

      Parameters:
      listNetworksRequest - A Consumer that will call methods on ListNetworksRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNodes

      default CompletableFuture<ListNodesResponse> listNodes(ListNodesRequest listNodesRequest)

      Returns information about the nodes within a network.

      Applies to Hyperledger Fabric and Ethereum.

      Parameters:
      listNodesRequest -
      Returns:
      A Java Future containing the result of the ListNodes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNodes

      default CompletableFuture<ListNodesResponse> listNodes(Consumer<ListNodesRequest.Builder> listNodesRequest)

      Returns information about the nodes within a network.

      Applies to Hyperledger Fabric and Ethereum.


      This is a convenience which creates an instance of the ListNodesRequest.Builder avoiding the need to create one manually via ListNodesRequest.builder()

      Parameters:
      listNodesRequest - A Consumer that will call methods on ListNodesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListNodes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNodesPaginator

      default ListNodesPublisher listNodesPaginator(ListNodesRequest listNodesRequest)

      This is a variant of listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNodesPaginator

      default ListNodesPublisher listNodesPaginator(Consumer<ListNodesRequest.Builder> listNodesRequest)

      This is a variant of listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListNodesPublisher publisher = client.listNodesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListNodesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listNodes(software.amazon.awssdk.services.managedblockchain.model.ListNodesRequest) operation.


      This is a convenience which creates an instance of the ListNodesRequest.Builder avoiding the need to create one manually via ListNodesRequest.builder()

      Parameters:
      listNodesRequest - A Consumer that will call methods on ListNodesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposalVotes

      default CompletableFuture<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.

      Applies only to Hyperledger Fabric.

      Parameters:
      listProposalVotesRequest -
      Returns:
      A Java Future containing the result of the ListProposalVotes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposalVotes

      default CompletableFuture<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.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the ListProposalVotesRequest.Builder avoiding the need to create one manually via ListProposalVotesRequest.builder()

      Parameters:
      listProposalVotesRequest - A Consumer that will call methods on ListProposalVotesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProposalVotes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposalVotesPaginator

      default ListProposalVotesPublisher listProposalVotesPaginator(ListProposalVotesRequest listProposalVotesRequest)

      This is a variant of listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposalVotesPaginator

      default ListProposalVotesPublisher listProposalVotesPaginator(Consumer<ListProposalVotesRequest.Builder> listProposalVotesRequest)

      This is a variant of listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalVotesPublisher publisher = client.listProposalVotesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProposalVotes(software.amazon.awssdk.services.managedblockchain.model.ListProposalVotesRequest) operation.


      This is a convenience which creates an instance of the ListProposalVotesRequest.Builder avoiding the need to create one manually via ListProposalVotesRequest.builder()

      Parameters:
      listProposalVotesRequest - A Consumer that will call methods on ListProposalVotesRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposals

      default CompletableFuture<ListProposalsResponse> listProposals(ListProposalsRequest listProposalsRequest)

      Returns a list of proposals for the network.

      Applies only to Hyperledger Fabric.

      Parameters:
      listProposalsRequest -
      Returns:
      A Java Future containing the result of the ListProposals operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposals

      default CompletableFuture<ListProposalsResponse> listProposals(Consumer<ListProposalsRequest.Builder> listProposalsRequest)

      Returns a list of proposals for the network.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the ListProposalsRequest.Builder avoiding the need to create one manually via ListProposalsRequest.builder()

      Parameters:
      listProposalsRequest - A Consumer that will call methods on ListProposalsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProposals operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposalsPaginator

      default ListProposalsPublisher listProposalsPaginator(ListProposalsRequest listProposalsRequest)

      This is a variant of listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProposalsPaginator

      default ListProposalsPublisher listProposalsPaginator(Consumer<ListProposalsRequest.Builder> listProposalsRequest)

      This is a variant of listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchain.paginators.ListProposalsPublisher publisher = client.listProposalsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchain.model.ListProposalsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

      Note: If you prefer to have control on service calls, use the listProposals(software.amazon.awssdk.services.managedblockchain.model.ListProposalsRequest) operation.


      This is a convenience which creates an instance of the ListProposalsRequest.Builder avoiding the need to create one manually via ListProposalsRequest.builder()

      Parameters:
      listProposalsRequest - A Consumer that will call methods on ListProposalsRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      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:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      Returns a list of tags for the specified resource. Each tag consists of a key and optional value.

      For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectInvitation

      default CompletableFuture<RejectInvitationResponse> rejectInvitation(RejectInvitationRequest rejectInvitationRequest)

      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:
      A Java Future containing the result of the RejectInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • IllegalActionException
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectInvitation

      default CompletableFuture<RejectInvitationResponse> rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest)

      Rejects an invitation to join a network. This action can be called by a principal in an Amazon Web Services account that has received an invitation to create a member and join a network.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the RejectInvitationRequest.Builder avoiding the need to create one manually via RejectInvitationRequest.builder()

      Parameters:
      rejectInvitationRequest - A Consumer that will call methods on RejectInvitationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RejectInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • IllegalActionException
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      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:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • TooManyTagsException
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      Adds or overwrites the specified tags for the specified Amazon Managed Blockchain resource. Each tag consists of a key and optional value.

      When you specify a tag key that already exists, the tag value is overwritten with the new value. Use UntagResource to remove tag keys.

      A resource can have up to 50 tags. If you try to create more than 50 tags for a resource, your request fails and returns an error.

      For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.


      This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • TooManyTagsException
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      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:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Removes the specified tags from the Amazon Managed Blockchain resource.

      For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ResourceNotReadyException The requested resource exists but isn't in a status that can complete the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateMember

      default CompletableFuture<UpdateMemberResponse> updateMember(UpdateMemberRequest updateMemberRequest)

      Updates a member configuration with new parameters.

      Applies only to Hyperledger Fabric.

      Parameters:
      updateMemberRequest -
      Returns:
      A Java Future containing the result of the UpdateMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateMember

      default CompletableFuture<UpdateMemberResponse> updateMember(Consumer<UpdateMemberRequest.Builder> updateMemberRequest)

      Updates a member configuration with new parameters.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the UpdateMemberRequest.Builder avoiding the need to create one manually via UpdateMemberRequest.builder()

      Parameters:
      updateMemberRequest - A Consumer that will call methods on UpdateMemberRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateMember operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateNode

      default CompletableFuture<UpdateNodeResponse> updateNode(UpdateNodeRequest updateNodeRequest)

      Updates a node configuration with new parameters.

      Applies only to Hyperledger Fabric.

      Parameters:
      updateNodeRequest -
      Returns:
      A Java Future containing the result of the UpdateNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateNode

      default CompletableFuture<UpdateNodeResponse> updateNode(Consumer<UpdateNodeRequest.Builder> updateNodeRequest)

      Updates a node configuration with new parameters.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the UpdateNodeRequest.Builder avoiding the need to create one manually via UpdateNodeRequest.builder()

      Parameters:
      updateNodeRequest - A Consumer that will call methods on UpdateNodeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateNode operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • voteOnProposal

      default CompletableFuture<VoteOnProposalResponse> voteOnProposal(VoteOnProposalRequest voteOnProposalRequest)

      Casts a vote for a specified ProposalId on behalf of a member. The member to vote as, specified by VoterMemberId, must be in the same Amazon Web Services account as the principal that calls the action.

      Applies only to Hyperledger Fabric.

      Parameters:
      voteOnProposalRequest -
      Returns:
      A Java Future containing the result of the VoteOnProposal operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • IllegalActionException
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • voteOnProposal

      default CompletableFuture<VoteOnProposalResponse> voteOnProposal(Consumer<VoteOnProposalRequest.Builder> voteOnProposalRequest)

      Casts a vote for a specified ProposalId on behalf of a member. The member to vote as, specified by VoterMemberId, must be in the same Amazon Web Services account as the principal that calls the action.

      Applies only to Hyperledger Fabric.


      This is a convenience which creates an instance of the VoteOnProposalRequest.Builder avoiding the need to create one manually via VoteOnProposalRequest.builder()

      Parameters:
      voteOnProposalRequest - A Consumer that will call methods on VoteOnProposalRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the VoteOnProposal operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InvalidRequestException The action or operation requested is invalid. Verify that the action is typed correctly.
      • IllegalActionException
      • AccessDeniedException You don't have sufficient access to perform this action.
      • ResourceNotFoundException A requested resource doesn't exist. It may have been deleted or referenced incorrectly.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is creating resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources if possible.
      • InternalServiceErrorException The request processing has failed because of an unknown error, exception or failure.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • ManagedBlockchainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default ManagedBlockchainServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      Create a ManagedBlockchainAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a ManagedBlockchainAsyncClient.