Interface ManagedBlockchainQueryAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface ManagedBlockchainQueryAsyncClient extends AwsClient
Service client for accessing Amazon Managed Blockchain Query asynchronously. This can be created using the static builder() method.

Amazon Managed Blockchain (AMB) Query provides you with convenient access to multi-blockchain network data, which makes it easier for you to extract contextual data related to blockchain activity. You can use AMB Query to read data from public blockchain networks, such as Bitcoin Mainnet and Ethereum Mainnet. You can also get information such as the current and historical balances of addresses, or you can get a list of blockchain transactions for a given time period. Additionally, you can get details of a given transaction, such as transaction events, which you can further analyze or use in business logic for your applications.

  • Field Details

  • Method Details

    • batchGetTokenBalance

      default CompletableFuture<BatchGetTokenBalanceResponse> batchGetTokenBalance(BatchGetTokenBalanceRequest batchGetTokenBalanceRequest)

      Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request.

      Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.

      Parameters:
      batchGetTokenBalanceRequest -
      Returns:
      A Java Future containing the result of the BatchGetTokenBalance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetTokenBalance

      default CompletableFuture<BatchGetTokenBalanceResponse> batchGetTokenBalance(Consumer<BatchGetTokenBalanceRequest.Builder> batchGetTokenBalanceRequest)

      Gets the token balance for a batch of tokens by using the BatchGetTokenBalance action for every token in the request.

      Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.


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

      Parameters:
      batchGetTokenBalanceRequest - A Consumer that will call methods on BatchGetTokenBalanceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchGetTokenBalance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssetContract

      default CompletableFuture<GetAssetContractResponse> getAssetContract(GetAssetContractRequest getAssetContractRequest)

      Gets the information about a specific contract deployed on the blockchain.

      • The Bitcoin blockchain networks do not support this operation.

      • Metadata is currently only available for some ERC-20 contracts. Metadata will be available for additional contracts in the future.

      Parameters:
      getAssetContractRequest -
      Returns:
      A Java Future containing the result of the GetAssetContract operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssetContract

      default CompletableFuture<GetAssetContractResponse> getAssetContract(Consumer<GetAssetContractRequest.Builder> getAssetContractRequest)

      Gets the information about a specific contract deployed on the blockchain.

      • The Bitcoin blockchain networks do not support this operation.

      • Metadata is currently only available for some ERC-20 contracts. Metadata will be available for additional contracts in the future.


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

      Parameters:
      getAssetContractRequest - A Consumer that will call methods on GetAssetContractRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAssetContract operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTokenBalance

      default CompletableFuture<GetTokenBalanceResponse> getTokenBalance(GetTokenBalanceRequest getTokenBalanceRequest)

      Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.

      Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.

      Parameters:
      getTokenBalanceRequest -
      Returns:
      A Java Future containing the result of the GetTokenBalance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTokenBalance

      default CompletableFuture<GetTokenBalanceResponse> getTokenBalance(Consumer<GetTokenBalanceRequest.Builder> getTokenBalanceRequest)

      Gets the balance of a specific token, including native tokens, for a given address (wallet or contract) on the blockchain.

      Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.


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

      Parameters:
      getTokenBalanceRequest - A Consumer that will call methods on GetTokenBalanceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTokenBalance operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransaction

      default CompletableFuture<GetTransactionResponse> getTransaction(GetTransactionRequest getTransactionRequest)

      Get the details of a transaction.

      Parameters:
      getTransactionRequest -
      Returns:
      A Java Future containing the result of the GetTransaction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTransaction

      default CompletableFuture<GetTransactionResponse> getTransaction(Consumer<GetTransactionRequest.Builder> getTransactionRequest)

      Get the details of a transaction.


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

      Parameters:
      getTransactionRequest - A Consumer that will call methods on GetTransactionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTransaction operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • ResourceNotFoundException The resource was not found.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssetContracts

      default CompletableFuture<ListAssetContractsResponse> listAssetContracts(ListAssetContractsRequest listAssetContractsRequest)

      Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).

      The Bitcoin blockchain networks do not support this operation.

      Parameters:
      listAssetContractsRequest -
      Returns:
      A Java Future containing the result of the ListAssetContracts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssetContracts

      default CompletableFuture<ListAssetContractsResponse> listAssetContracts(Consumer<ListAssetContractsRequest.Builder> listAssetContractsRequest)

      Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).

      The Bitcoin blockchain networks do not support this operation.


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

      Parameters:
      listAssetContractsRequest - A Consumer that will call methods on ListAssetContractsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssetContracts operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssetContractsPaginator

      default ListAssetContractsPublisher listAssetContractsPaginator(ListAssetContractsRequest listAssetContractsRequest)

      Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).

      The Bitcoin blockchain networks do not support this operation.


      This is a variant of listAssetContracts(software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsRequest) 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.managedblockchainquery.paginators.ListAssetContractsPublisher publisher = client.listAssetContractsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListAssetContractsPublisher publisher = client.listAssetContractsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsResponse 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 listAssetContracts(software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsRequest) operation.

      Parameters:
      listAssetContractsRequest -
      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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssetContractsPaginator

      default ListAssetContractsPublisher listAssetContractsPaginator(Consumer<ListAssetContractsRequest.Builder> listAssetContractsRequest)

      Lists all the contracts for a given contract type deployed by an address (either a contract address or a wallet address).

      The Bitcoin blockchain networks do not support this operation.


      This is a variant of listAssetContracts(software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsRequest) 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.managedblockchainquery.paginators.ListAssetContractsPublisher publisher = client.listAssetContractsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListAssetContractsPublisher publisher = client.listAssetContractsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsResponse 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 listAssetContracts(software.amazon.awssdk.services.managedblockchainquery.model.ListAssetContractsRequest) operation.

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

      Parameters:
      listAssetContractsRequest - A Consumer that will call methods on ListAssetContractsRequest.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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTokenBalances

      default CompletableFuture<ListTokenBalancesResponse> listTokenBalances(ListTokenBalancesRequest listTokenBalancesRequest)

      This action returns the following for a given blockchain network:

      • Lists all token balances owned by an address (either a contract address or a wallet address).

      • Lists all token balances for all tokens created by a contract.

      • Lists all token balances for a given token.

      You must always specify the network property of the tokenFilter when using this operation.

      Parameters:
      listTokenBalancesRequest -
      Returns:
      A Java Future containing the result of the ListTokenBalances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTokenBalances

      default CompletableFuture<ListTokenBalancesResponse> listTokenBalances(Consumer<ListTokenBalancesRequest.Builder> listTokenBalancesRequest)

      This action returns the following for a given blockchain network:

      • Lists all token balances owned by an address (either a contract address or a wallet address).

      • Lists all token balances for all tokens created by a contract.

      • Lists all token balances for a given token.

      You must always specify the network property of the tokenFilter when using this operation.


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

      Parameters:
      listTokenBalancesRequest - A Consumer that will call methods on ListTokenBalancesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTokenBalances operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTokenBalancesPaginator

      default ListTokenBalancesPublisher listTokenBalancesPaginator(ListTokenBalancesRequest listTokenBalancesRequest)

      This action returns the following for a given blockchain network:

      • Lists all token balances owned by an address (either a contract address or a wallet address).

      • Lists all token balances for all tokens created by a contract.

      • Lists all token balances for a given token.

      You must always specify the network property of the tokenFilter when using this operation.


      This is a variant of listTokenBalances(software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesRequest) 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.managedblockchainquery.paginators.ListTokenBalancesPublisher publisher = client.listTokenBalancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListTokenBalancesPublisher publisher = client.listTokenBalancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesResponse 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 listTokenBalances(software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesRequest) operation.

      Parameters:
      listTokenBalancesRequest -
      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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTokenBalancesPaginator

      default ListTokenBalancesPublisher listTokenBalancesPaginator(Consumer<ListTokenBalancesRequest.Builder> listTokenBalancesRequest)

      This action returns the following for a given blockchain network:

      • Lists all token balances owned by an address (either a contract address or a wallet address).

      • Lists all token balances for all tokens created by a contract.

      • Lists all token balances for a given token.

      You must always specify the network property of the tokenFilter when using this operation.


      This is a variant of listTokenBalances(software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesRequest) 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.managedblockchainquery.paginators.ListTokenBalancesPublisher publisher = client.listTokenBalancesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListTokenBalancesPublisher publisher = client.listTokenBalancesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesResponse 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 listTokenBalances(software.amazon.awssdk.services.managedblockchainquery.model.ListTokenBalancesRequest) operation.

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

      Parameters:
      listTokenBalancesRequest - A Consumer that will call methods on ListTokenBalancesRequest.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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactionEvents

      default CompletableFuture<ListTransactionEventsResponse> listTransactionEvents(ListTransactionEventsRequest listTransactionEventsRequest)

      An array of TransactionEvent objects. Each object contains details about the transaction event.

      Parameters:
      listTransactionEventsRequest -
      Returns:
      A Java Future containing the result of the ListTransactionEvents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactionEvents

      default CompletableFuture<ListTransactionEventsResponse> listTransactionEvents(Consumer<ListTransactionEventsRequest.Builder> listTransactionEventsRequest)

      An array of TransactionEvent objects. Each object contains details about the transaction event.


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

      Parameters:
      listTransactionEventsRequest - A Consumer that will call methods on ListTransactionEventsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTransactionEvents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactionEventsPaginator

      default ListTransactionEventsPublisher listTransactionEventsPaginator(ListTransactionEventsRequest listTransactionEventsRequest)

      An array of TransactionEvent objects. Each object contains details about the transaction event.


      This is a variant of listTransactionEvents(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsRequest) 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.managedblockchainquery.paginators.ListTransactionEventsPublisher publisher = client.listTransactionEventsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListTransactionEventsPublisher publisher = client.listTransactionEventsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsResponse 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 listTransactionEvents(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsRequest) operation.

      Parameters:
      listTransactionEventsRequest -
      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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactionEventsPaginator

      default ListTransactionEventsPublisher listTransactionEventsPaginator(Consumer<ListTransactionEventsRequest.Builder> listTransactionEventsRequest)

      An array of TransactionEvent objects. Each object contains details about the transaction event.


      This is a variant of listTransactionEvents(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsRequest) 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.managedblockchainquery.paginators.ListTransactionEventsPublisher publisher = client.listTransactionEventsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListTransactionEventsPublisher publisher = client.listTransactionEventsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsResponse 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 listTransactionEvents(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionEventsRequest) operation.

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

      Parameters:
      listTransactionEventsRequest - A Consumer that will call methods on ListTransactionEventsRequest.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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactions

      default CompletableFuture<ListTransactionsResponse> listTransactions(ListTransactionsRequest listTransactionsRequest)

      Lists all of the transactions on a given wallet address or to a specific contract.

      Parameters:
      listTransactionsRequest -
      Returns:
      A Java Future containing the result of the ListTransactions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactions

      default CompletableFuture<ListTransactionsResponse> listTransactions(Consumer<ListTransactionsRequest.Builder> listTransactionsRequest)

      Lists all of the transactions on a given wallet address or to a specific contract.


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

      Parameters:
      listTransactionsRequest - A Consumer that will call methods on ListTransactionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTransactions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactionsPaginator

      default ListTransactionsPublisher listTransactionsPaginator(ListTransactionsRequest listTransactionsRequest)

      Lists all of the transactions on a given wallet address or to a specific contract.


      This is a variant of listTransactions(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsRequest) 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.managedblockchainquery.paginators.ListTransactionsPublisher publisher = client.listTransactionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListTransactionsPublisher publisher = client.listTransactionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsResponse 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 listTransactions(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsRequest) operation.

      Parameters:
      listTransactionsRequest -
      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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTransactionsPaginator

      default ListTransactionsPublisher listTransactionsPaginator(Consumer<ListTransactionsRequest.Builder> listTransactionsRequest)

      Lists all of the transactions on a given wallet address or to a specific contract.


      This is a variant of listTransactions(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsRequest) 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.managedblockchainquery.paginators.ListTransactionsPublisher publisher = client.listTransactionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.managedblockchainquery.paginators.ListTransactionsPublisher publisher = client.listTransactionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsResponse 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 listTransactions(software.amazon.awssdk.services.managedblockchainquery.model.ListTransactionsRequest) operation.

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

      Parameters:
      listTransactionsRequest - A Consumer that will call methods on ListTransactionsRequest.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.
      • ThrottlingException The request or operation couldn't be performed because a service is throttling requests. The most common source of throttling errors is when you create resources that exceed your service limit for this resource type. Request a limit increase or delete unused resources, if possible.
      • ValidationException The resource passed is invalid.
      • AccessDeniedException The Amazon Web Services account doesn’t have access to this resource.
      • InternalServerException The request processing has failed because of an internal error in the service.
      • ServiceQuotaExceededException The service quota has been exceeded for this resource.
      • 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.
      • ManagedBlockchainQueryException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default ManagedBlockchainQueryServiceClientConfiguration 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 ManagedBlockchainQueryAsyncClient 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 ManagedBlockchainQueryAsyncClient.