Interface ElbProxyAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionassociateCertificate(Consumer<AssociateCertificateRequest.Builder> associateCertificateRequest) Associates an ACM certificate with the specified Proxy.associateCertificate(AssociateCertificateRequest associateCertificateRequest) Associates an ACM certificate with the specified Proxy.static ElbProxyAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aElbProxyAsyncClient.static ElbProxyAsyncClientcreate()Create aElbProxyAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateProxyResponse> createProxy(Consumer<CreateProxyRequest.Builder> createProxyRequest) Creates a proxy.default CompletableFuture<CreateProxyResponse> createProxy(CreateProxyRequest createProxyRequest) Creates a proxy.default CompletableFuture<DeleteProxyResponse> deleteProxy(Consumer<DeleteProxyRequest.Builder> deleteProxyRequest) Deletes a proxy.default CompletableFuture<DeleteProxyResponse> deleteProxy(DeleteProxyRequest deleteProxyRequest) Deletes a proxy.disassociateCertificate(Consumer<DisassociateCertificateRequest.Builder> disassociateCertificateRequest) Disassociates an ACM certificate from the specified proxy.disassociateCertificate(DisassociateCertificateRequest disassociateCertificateRequest) Disassociates an ACM certificate from the specified proxy.default CompletableFuture<GetProxyResponse> getProxy(Consumer<GetProxyRequest.Builder> getProxyRequest) Retrieves information about the specified proxy.default CompletableFuture<GetProxyResponse> getProxy(GetProxyRequest getProxyRequest) Retrieves information about the specified proxy.getProxyAttributes(Consumer<GetProxyAttributesRequest.Builder> getProxyAttributesRequest) Retrieves the attributes for the specified proxy.getProxyAttributes(GetProxyAttributesRequest getProxyAttributesRequest) Retrieves the attributes for the specified proxy.getProxyConfigurationContents(Consumer<GetProxyConfigurationContentsRequest.Builder> getProxyConfigurationContentsRequest) Retrieves the configuration file, the configuration archive, or both for the specified proxy.getProxyConfigurationContents(GetProxyConfigurationContentsRequest getProxyConfigurationContentsRequest) Retrieves the configuration file, the configuration archive, or both for the specified proxy.default CompletableFuture<GetProxyUpdateResponse> getProxyUpdate(Consumer<GetProxyUpdateRequest.Builder> getProxyUpdateRequest) Retrieves information about the specified proxy update.default CompletableFuture<GetProxyUpdateResponse> getProxyUpdate(GetProxyUpdateRequest getProxyUpdateRequest) Retrieves information about the specified proxy update.listCertificateAssociations(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest) Lists the ACM certificate associations for the specified proxy.listCertificateAssociations(ListCertificateAssociationsRequest listCertificateAssociationsRequest) Lists the ACM certificate associations for the specified proxy.listCertificateAssociationsPaginator(Consumer<ListCertificateAssociationsRequest.Builder> listCertificateAssociationsRequest) This is a variant oflistCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation.listCertificateAssociationsPaginator(ListCertificateAssociationsRequest listCertificateAssociationsRequest) This is a variant oflistCertificateAssociations(software.amazon.awssdk.services.elbproxy.model.ListCertificateAssociationsRequest)operation.default CompletableFuture<ListProxiesResponse> listProxies(Consumer<ListProxiesRequest.Builder> listProxiesRequest) Lists the proxies owned by the caller account.default CompletableFuture<ListProxiesResponse> listProxies(ListProxiesRequest listProxiesRequest) Lists the proxies owned by the caller account.default ListProxiesPublisherlistProxiesPaginator(Consumer<ListProxiesRequest.Builder> listProxiesRequest) This is a variant oflistProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation.default ListProxiesPublisherlistProxiesPaginator(ListProxiesRequest listProxiesRequest) This is a variant oflistProxies(software.amazon.awssdk.services.elbproxy.model.ListProxiesRequest)operation.listProxyUpdates(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest) Lists the updates for the specified proxy, most recently submitted first.listProxyUpdates(ListProxyUpdatesRequest listProxyUpdatesRequest) Lists the updates for the specified proxy, most recently submitted first.default ListProxyUpdatesPublisherlistProxyUpdatesPaginator(Consumer<ListProxyUpdatesRequest.Builder> listProxyUpdatesRequest) This is a variant oflistProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation.default ListProxyUpdatesPublisherlistProxyUpdatesPaginator(ListProxyUpdatesRequest listProxyUpdatesRequest) This is a variant oflistProxyUpdates(software.amazon.awssdk.services.elbproxy.model.ListProxyUpdatesRequest)operation.listProxyVersions(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest) Lists the available proxy versions.listProxyVersions(ListProxyVersionsRequest listProxyVersionsRequest) Lists the available proxy versions.default ListProxyVersionsPublisherlistProxyVersionsPaginator(Consumer<ListProxyVersionsRequest.Builder> listProxyVersionsRequest) This is a variant oflistProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation.default ListProxyVersionsPublisherlistProxyVersionsPaginator(ListProxyVersionsRequest listProxyVersionsRequest) This is a variant oflistProxyVersions(software.amazon.awssdk.services.elbproxy.model.ListProxyVersionsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for the specified resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for the specified resource.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified resource.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified resource.updateProxyAttributes(Consumer<UpdateProxyAttributesRequest.Builder> updateProxyAttributesRequest) Updates the attributes for the specified proxy.updateProxyAttributes(UpdateProxyAttributesRequest updateProxyAttributesRequest) Updates the attributes for the specified proxy.updateProxyConfiguration(Consumer<UpdateProxyConfigurationRequest.Builder> updateProxyConfigurationRequest) Updates the configuration for the specified proxy.updateProxyConfiguration(UpdateProxyConfigurationRequest updateProxyConfigurationRequest) Updates the configuration for the specified proxy.updateProxyNetworkConfiguration(Consumer<UpdateProxyNetworkConfigurationRequest.Builder> updateProxyNetworkConfigurationRequest) Updates the network configuration for the specified proxy.updateProxyNetworkConfiguration(UpdateProxyNetworkConfigurationRequest updateProxyNetworkConfigurationRequest) Updates the network configuration for the specified proxy.default ElbProxyAsyncWaiterwaiter()Create an instance ofElbProxyAsyncWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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 invokeThrowable.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.Builderavoiding the need to create one manually viaAssociateCertificateRequest.builder()- Parameters:
associateCertificateRequest- AConsumerthat will call methods onAssociateCertificateRequest.Builderto 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 invokeThrowable.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
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 invokeThrowable.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.Builderavoiding the need to create one manually viaCreateProxyRequest.builder()- Parameters:
createProxyRequest- AConsumerthat will call methods onCreateProxyRequest.Builderto 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 invokeThrowable.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
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 invokeThrowable.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.Builderavoiding the need to create one manually viaDeleteProxyRequest.builder()- Parameters:
deleteProxyRequest- AConsumerthat will call methods onDeleteProxyRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaDisassociateCertificateRequest.builder()- Parameters:
disassociateCertificateRequest- AConsumerthat will call methods onDisassociateCertificateRequest.Builderto 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 invokeThrowable.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
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 invokeThrowable.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
default CompletableFuture<GetProxyResponse> getProxy(Consumer<GetProxyRequest.Builder> getProxyRequest) Retrieves information about the specified proxy.
This is a convenience which creates an instance of the
GetProxyRequest.Builderavoiding the need to create one manually viaGetProxyRequest.builder()- Parameters:
getProxyRequest- AConsumerthat will call methods onGetProxyRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaGetProxyAttributesRequest.builder()- Parameters:
getProxyAttributesRequest- AConsumerthat will call methods onGetProxyAttributesRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaGetProxyConfigurationContentsRequest.builder()- Parameters:
getProxyConfigurationContentsRequest- AConsumerthat will call methods onGetProxyConfigurationContentsRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaGetProxyUpdateRequest.builder()- Parameters:
getProxyUpdateRequest- AConsumerthat will call methods onGetProxyUpdateRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaListCertificateAssociationsRequest.builder()- Parameters:
listCertificateAssociationsRequest- AConsumerthat will call methods onListCertificateAssociationsRequest.Builderto 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 invokeThrowable.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsPublisher publisher = client.listCertificateAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListCertificateAssociationsPublisher publisher = client.listCertificateAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListCertificateAssociationsRequest.builder()- Parameters:
listCertificateAssociationsRequest- AConsumerthat will call methods onListCertificateAssociationsRequest.Builderto 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 invokeThrowable.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
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 invokeThrowable.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.Builderavoiding the need to create one manually viaListProxiesRequest.builder()- Parameters:
listProxiesRequest- AConsumerthat will call methods onListProxiesRequest.Builderto 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 invokeThrowable.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
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListProxiesPublisher publisher = client.listProxiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListProxiesPublisher publisher = client.listProxiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListProxiesRequest.builder()- Parameters:
listProxiesRequest- AConsumerthat will call methods onListProxiesRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaListProxyUpdatesRequest.builder()- Parameters:
listProxyUpdatesRequest- AConsumerthat will call methods onListProxyUpdatesRequest.Builderto 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 invokeThrowable.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesPublisher publisher = client.listProxyUpdatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyUpdatesPublisher publisher = client.listProxyUpdatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListProxyUpdatesRequest.builder()- Parameters:
listProxyUpdatesRequest- AConsumerthat will call methods onListProxyUpdatesRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaListProxyVersionsRequest.builder()- Parameters:
listProxyVersionsRequest- AConsumerthat will call methods onListProxyVersionsRequest.Builderto 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 invokeThrowable.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsPublisher publisher = client.listProxyVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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 invokeThrowable.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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.elbproxy.paginators.ListProxyVersionsPublisher publisher = client.listProxyVersionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListProxyVersionsRequest.builder()- Parameters:
listProxyVersionsRequest- AConsumerthat will call methods onListProxyVersionsRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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 invokeThrowable.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
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 invokeThrowable.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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaUpdateProxyAttributesRequest.builder()- Parameters:
updateProxyAttributesRequest- AConsumerthat will call methods onUpdateProxyAttributesRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaUpdateProxyConfigurationRequest.builder()- Parameters:
updateProxyConfigurationRequest- AConsumerthat will call methods onUpdateProxyConfigurationRequest.Builderto 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 invokeThrowable.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 invokeThrowable.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.Builderavoiding the need to create one manually viaUpdateProxyNetworkConfigurationRequest.builder()- Parameters:
updateProxyNetworkConfigurationRequest- AConsumerthat will call methods onUpdateProxyNetworkConfigurationRequest.Builderto 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 invokeThrowable.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
Create an instance ofElbProxyAsyncWaiterusing 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
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aElbProxyAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aElbProxyAsyncClient.
-