Interface ElbProxyAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface ElbProxyAsyncClient extends AwsClient
Service client for accessing Elastic Load Balancing for Envoy asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

Elastic Load Balancing for Envoy is a fully managed service that runs the open-source Envoy proxy on your behalf. You bring your Envoy configuration, and AWS provisions the proxy, scales it, upgrades the Envoy version, patches the operating system, and monitors its health. The proxy runs on Amazon EC2 instances inside your own virtual private cloud (VPC), so you keep full control of your network, security groups, and IAM.

  • Field Details

  • Method Details

    • associateCertificate

      default CompletableFuture<AssociateCertificateResponse> associateCertificate(AssociateCertificateRequest associateCertificateRequest)

      Associates an ACM certificate with the specified Proxy.

      Parameters:
      associateCertificateRequest -
      Returns:
      A Java Future containing the result of the AssociateCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would cause a service quota to be exceeded.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • ConflictException The request conflicts with the current state of the resource.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateCertificate

      default CompletableFuture<AssociateCertificateResponse> associateCertificate(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest)

      Associates an ACM certificate with the specified Proxy.


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

      Parameters:
      associateCertificateRequest - A Consumer that will call methods on AssociateCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would cause a service quota to be exceeded.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • ConflictException The request conflicts with the current state of the resource.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProxy

      default CompletableFuture<CreateProxyResponse> createProxy(CreateProxyRequest createProxyRequest)

      Creates a proxy. A proxy is a fully managed, Envoy-based proxy that runs your Envoy configuration on Amazon EC2 instances inside your own virtual private cloud (VPC). AWS provisions and scales the proxy, upgrades the Envoy version, patches the operating system, and monitors its health.

      Parameters:
      createProxyRequest -
      Returns:
      A Java Future containing the result of the CreateProxy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would cause a service quota to be exceeded.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • OperationNotPermittedException The requested operation is not permitted.
      • ConflictException The request conflicts with the current state of the resource.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProxy

      default CompletableFuture<CreateProxyResponse> createProxy(Consumer<CreateProxyRequest.Builder> createProxyRequest)

      Creates a proxy. A proxy is a fully managed, Envoy-based proxy that runs your Envoy configuration on Amazon EC2 instances inside your own virtual private cloud (VPC). AWS provisions and scales the proxy, upgrades the Envoy version, patches the operating system, and monitors its health.


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

      Parameters:
      createProxyRequest - A Consumer that will call methods on CreateProxyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateProxy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would cause a service quota to be exceeded.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • OperationNotPermittedException The requested operation is not permitted.
      • ConflictException The request conflicts with the current state of the resource.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProxy

      default CompletableFuture<DeleteProxyResponse> deleteProxy(DeleteProxyRequest deleteProxyRequest)

      Deletes a proxy.

      Parameters:
      deleteProxyRequest -
      Returns:
      A Java Future containing the result of the DeleteProxy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • OperationNotPermittedException The requested operation is not permitted.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProxy

      default CompletableFuture<DeleteProxyResponse> deleteProxy(Consumer<DeleteProxyRequest.Builder> deleteProxyRequest)

      Deletes a proxy.


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

      Parameters:
      deleteProxyRequest - A Consumer that will call methods on DeleteProxyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteProxy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • OperationNotPermittedException The requested operation is not permitted.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateCertificate

      default CompletableFuture<DisassociateCertificateResponse> disassociateCertificate(DisassociateCertificateRequest disassociateCertificateRequest)

      Disassociates an ACM certificate from the specified proxy.

      Parameters:
      disassociateCertificateRequest -
      Returns:
      A Java Future containing the result of the DisassociateCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • ConflictException The request conflicts with the current state of the resource.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateCertificate

      default CompletableFuture<DisassociateCertificateResponse> disassociateCertificate(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest)

      Disassociates an ACM certificate from the specified proxy.


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

      Parameters:
      disassociateCertificateRequest - A Consumer that will call methods on DisassociateCertificateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateCertificate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • ConflictException The request conflicts with the current state of the resource.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxy

      default CompletableFuture<GetProxyResponse> getProxy(GetProxyRequest getProxyRequest)

      Retrieves information about the specified proxy.

      Parameters:
      getProxyRequest -
      Returns:
      A Java Future containing the result of the GetProxy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxy

      Retrieves information about the specified proxy.


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

      Parameters:
      getProxyRequest - A Consumer that will call methods on GetProxyRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProxy operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxyAttributes

      default CompletableFuture<GetProxyAttributesResponse> getProxyAttributes(GetProxyAttributesRequest getProxyAttributesRequest)

      Retrieves the attributes for the specified proxy.

      Parameters:
      getProxyAttributesRequest -
      Returns:
      A Java Future containing the result of the GetProxyAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxyAttributes

      default CompletableFuture<GetProxyAttributesResponse> getProxyAttributes(Consumer<GetProxyAttributesRequest.Builder> getProxyAttributesRequest)

      Retrieves the attributes for the specified proxy.


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

      Parameters:
      getProxyAttributesRequest - A Consumer that will call methods on GetProxyAttributesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProxyAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxyConfigurationContents

      default CompletableFuture<GetProxyConfigurationContentsResponse> getProxyConfigurationContents(GetProxyConfigurationContentsRequest getProxyConfigurationContentsRequest)

      Retrieves the configuration file, the configuration archive, or both for the specified proxy. This operation is separate from GetProxy so that you can grant access to proxy metadata without granting access to the configuration content.

      Parameters:
      getProxyConfigurationContentsRequest -
      Returns:
      A Java Future containing the result of the GetProxyConfigurationContents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxyConfigurationContents

      default CompletableFuture<GetProxyConfigurationContentsResponse> getProxyConfigurationContents(Consumer<GetProxyConfigurationContentsRequest.Builder> getProxyConfigurationContentsRequest)

      Retrieves the configuration file, the configuration archive, or both for the specified proxy. This operation is separate from GetProxy so that you can grant access to proxy metadata without granting access to the configuration content.


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

      Parameters:
      getProxyConfigurationContentsRequest - A Consumer that will call methods on GetProxyConfigurationContentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProxyConfigurationContents operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxyUpdate

      default CompletableFuture<GetProxyUpdateResponse> getProxyUpdate(GetProxyUpdateRequest getProxyUpdateRequest)

      Retrieves information about the specified proxy update.

      Parameters:
      getProxyUpdateRequest -
      Returns:
      A Java Future containing the result of the GetProxyUpdate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProxyUpdate

      default CompletableFuture<GetProxyUpdateResponse> getProxyUpdate(Consumer<GetProxyUpdateRequest.Builder> getProxyUpdateRequest)

      Retrieves information about the specified proxy update.


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

      Parameters:
      getProxyUpdateRequest - A Consumer that will call methods on GetProxyUpdateRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProxyUpdate operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificateAssociations

      default CompletableFuture<ListCertificateAssociationsResponse> listCertificateAssociations(ListCertificateAssociationsRequest listCertificateAssociationsRequest)

      Lists the ACM certificate associations for the specified proxy.

      Parameters:
      listCertificateAssociationsRequest -
      Returns:
      A Java Future containing the result of the ListCertificateAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificateAssociations

      default CompletableFuture<ListCertificateAssociationsResponse> listCertificateAssociations(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest)

      Lists the ACM certificate associations for the specified proxy.


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

      Parameters:
      listCertificateAssociationsRequest - A Consumer that will call methods on ListCertificateAssociationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListCertificateAssociations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificateAssociationsPaginator

      default ListCertificateAssociationsPublisher listCertificateAssociationsPaginator(ListCertificateAssociationsRequest listCertificateAssociationsRequest)

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

      Parameters:
      listCertificateAssociationsRequest -
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCertificateAssociationsPaginator

      default ListCertificateAssociationsPublisher listCertificateAssociationsPaginator(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest)

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


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

      Parameters:
      listCertificateAssociationsRequest - A Consumer that will call methods on ListCertificateAssociationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxies

      default CompletableFuture<ListProxiesResponse> listProxies(ListProxiesRequest listProxiesRequest)

      Lists the proxies owned by the caller account.

      Parameters:
      listProxiesRequest -
      Returns:
      A Java Future containing the result of the ListProxies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxies

      default CompletableFuture<ListProxiesResponse> listProxies(Consumer<ListProxiesRequest.Builder> listProxiesRequest)

      Lists the proxies owned by the caller account.


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

      Parameters:
      listProxiesRequest - A Consumer that will call methods on ListProxiesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProxies operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxiesPaginator

      default ListProxiesPublisher listProxiesPaginator(ListProxiesRequest listProxiesRequest)

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

      Parameters:
      listProxiesRequest -
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxiesPaginator

      default ListProxiesPublisher listProxiesPaginator(Consumer<ListProxiesRequest.Builder> listProxiesRequest)

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


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

      Parameters:
      listProxiesRequest - A Consumer that will call methods on ListProxiesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyUpdates

      default CompletableFuture<ListProxyUpdatesResponse> listProxyUpdates(ListProxyUpdatesRequest listProxyUpdatesRequest)

      Lists the updates for the specified proxy, most recently submitted first.

      Parameters:
      listProxyUpdatesRequest -
      Returns:
      A Java Future containing the result of the ListProxyUpdates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyUpdates

      default CompletableFuture<ListProxyUpdatesResponse> listProxyUpdates(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest)

      Lists the updates for the specified proxy, most recently submitted first.


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

      Parameters:
      listProxyUpdatesRequest - A Consumer that will call methods on ListProxyUpdatesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProxyUpdates operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyUpdatesPaginator

      default ListProxyUpdatesPublisher listProxyUpdatesPaginator(ListProxyUpdatesRequest listProxyUpdatesRequest)

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

      Parameters:
      listProxyUpdatesRequest -
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyUpdatesPaginator

      default ListProxyUpdatesPublisher listProxyUpdatesPaginator(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest)

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


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

      Parameters:
      listProxyUpdatesRequest - A Consumer that will call methods on ListProxyUpdatesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyVersions

      default CompletableFuture<ListProxyVersionsResponse> listProxyVersions(ListProxyVersionsRequest listProxyVersionsRequest)

      Lists the available proxy versions.

      Parameters:
      listProxyVersionsRequest -
      Returns:
      A Java Future containing the result of the ListProxyVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyVersions

      default CompletableFuture<ListProxyVersionsResponse> listProxyVersions(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest)

      Lists the available proxy versions.


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

      Parameters:
      listProxyVersionsRequest - A Consumer that will call methods on ListProxyVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProxyVersions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyVersionsPaginator

      default ListProxyVersionsPublisher listProxyVersionsPaginator(ListProxyVersionsRequest listProxyVersionsRequest)

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

      Parameters:
      listProxyVersionsRequest -
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProxyVersionsPaginator

      default ListProxyVersionsPublisher listProxyVersionsPaginator(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest)

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


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

      Parameters:
      listProxyVersionsRequest - A Consumer that will call methods on ListProxyVersionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException 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)

      Lists the tags for the specified resource.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException 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)

      Lists the tags for the specified resource.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException 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 the specified tags to the specified resource.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would cause a service quota to be exceeded.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException 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 the specified tags to the specified resource.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would cause a service quota to be exceeded.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException 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 specified resource.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException 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 specified resource.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProxyAttributes

      default CompletableFuture<UpdateProxyAttributesResponse> updateProxyAttributes(UpdateProxyAttributesRequest updateProxyAttributesRequest)

      Updates the attributes for the specified proxy.

      Parameters:
      updateProxyAttributesRequest -
      Returns:
      A Java Future containing the result of the UpdateProxyAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProxyAttributes

      default CompletableFuture<UpdateProxyAttributesResponse> updateProxyAttributes(Consumer<UpdateProxyAttributesRequest.Builder> updateProxyAttributesRequest)

      Updates the attributes for the specified proxy.


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

      Parameters:
      updateProxyAttributesRequest - A Consumer that will call methods on UpdateProxyAttributesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateProxyAttributes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProxyConfiguration

      default CompletableFuture<UpdateProxyConfigurationResponse> updateProxyConfiguration(UpdateProxyConfigurationRequest updateProxyConfigurationRequest)

      Updates the configuration for the specified proxy. You can update the configuration file, the configuration archive, or both.

      Parameters:
      updateProxyConfigurationRequest -
      Returns:
      A Java Future containing the result of the UpdateProxyConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • PriorRequestNotCompletedException The request could not be completed because a prior request has not yet completed.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProxyConfiguration

      default CompletableFuture<UpdateProxyConfigurationResponse> updateProxyConfiguration(Consumer<UpdateProxyConfigurationRequest.Builder> updateProxyConfigurationRequest)

      Updates the configuration for the specified proxy. You can update the configuration file, the configuration archive, or both.


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

      Parameters:
      updateProxyConfigurationRequest - A Consumer that will call methods on UpdateProxyConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateProxyConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • PriorRequestNotCompletedException The request could not be completed because a prior request has not yet completed.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProxyNetworkConfiguration

      default CompletableFuture<UpdateProxyNetworkConfigurationResponse> updateProxyNetworkConfiguration(UpdateProxyNetworkConfigurationRequest updateProxyNetworkConfigurationRequest)

      Updates the network configuration for the specified proxy.

      Parameters:
      updateProxyNetworkConfigurationRequest -
      Returns:
      A Java Future containing the result of the UpdateProxyNetworkConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProxyNetworkConfiguration

      default CompletableFuture<UpdateProxyNetworkConfigurationResponse> updateProxyNetworkConfiguration(Consumer<UpdateProxyNetworkConfigurationRequest.Builder> updateProxyNetworkConfigurationRequest)

      Updates the network configuration for the specified proxy.


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

      Parameters:
      updateProxyNetworkConfigurationRequest - A Consumer that will call methods on UpdateProxyNetworkConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateProxyNetworkConfiguration operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The input does not satisfy the constraints specified by an AWS service.
      • ResourceNotFoundException The request references a resource that does not exist.
      • InternalServerException An unexpected error occurred while processing the request.
      • ThrottlingException The limit on the number of requests per second was exceeded.
      • AccessDeniedException The user does not have sufficient access to perform this action.
      • 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.
      • ElbProxyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • waiter

      default ElbProxyAsyncWaiter waiter()
      Create an instance of ElbProxyAsyncWaiter using this client.

      Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

      Returns:
      an instance of ElbProxyAsyncWaiter
    • serviceClientConfiguration

      default ElbProxyServiceClientConfiguration 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

      static ElbProxyAsyncClient create()
      Create a ElbProxyAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static ElbProxyAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a ElbProxyAsyncClient.