Interface ProtonAsyncWaiter
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
builder()
method-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtonAsyncWaiter.Builder
builder()
Create a builder that can be used to configure and create aProtonAsyncWaiter
.static ProtonAsyncWaiter
create()
Create an instance ofProtonAsyncWaiter
with the default configuration.waitUntilComponentDeleted
(Consumer<GetComponentRequest.Builder> getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired state.waitUntilComponentDeleted
(Consumer<GetComponentRequest.Builder> getComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired state.waitUntilComponentDeleted
(GetComponentRequest getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired statewaitUntilComponentDeleted
(GetComponentRequest getComponentRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired statewaitUntilComponentDeployed
(Consumer<GetComponentRequest.Builder> getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilComponentDeployed
(Consumer<GetComponentRequest.Builder> getComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilComponentDeployed
(GetComponentRequest getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilComponentDeployed
(GetComponentRequest getComponentRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilEnvironmentDeployed
(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilEnvironmentDeployed
(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilEnvironmentDeployed
(GetEnvironmentRequest getEnvironmentRequest) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilEnvironmentDeployed
(GetEnvironmentRequest getEnvironmentRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilEnvironmentTemplateVersionRegistered
(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.waitUntilEnvironmentTemplateVersionRegistered
(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.waitUntilEnvironmentTemplateVersionRegistered
(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired statewaitUntilEnvironmentTemplateVersionRegistered
(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceCreated
(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceCreated
(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceCreated
(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceCreated
(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceDeleted
(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceDeleted
(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceDeleted
(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceDeleted
(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceInstanceDeployed
(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceInstanceDeployed
(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceInstanceDeployed
(GetServiceInstanceRequest getServiceInstanceRequest) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceInstanceDeployed
(GetServiceInstanceRequest getServiceInstanceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServicePipelineDeployed
(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServicePipelineDeployed
(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServicePipelineDeployed
(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServicePipelineDeployed
(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceTemplateVersionRegistered
(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceTemplateVersionRegistered
(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceTemplateVersionRegistered
(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceTemplateVersionRegistered
(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceUpdated
(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceUpdated
(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired state.waitUntilServiceUpdated
(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired statewaitUntilServiceUpdated
(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired stateMethods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Method Details
-
waitUntilComponentDeleted
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeleted(GetComponentRequest getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilComponentDeleted
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeleted(Consumer<GetComponentRequest.Builder> getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetComponentRequest.builder()
- Parameters:
getComponentRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilComponentDeleted
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeleted(GetComponentRequest getComponentRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilComponentDeleted
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeleted(Consumer<GetComponentRequest.Builder> getComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getComponentRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilComponentDeployed
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeployed(GetComponentRequest getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilComponentDeployed
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeployed(Consumer<GetComponentRequest.Builder> getComponentRequest) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetComponentRequest.builder()
- Parameters:
getComponentRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilComponentDeployed
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeployed(GetComponentRequest getComponentRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getComponentRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilComponentDeployed
default CompletableFuture<WaiterResponse<GetComponentResponse>> waitUntilComponentDeployed(Consumer<GetComponentRequest.Builder> getComponentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getComponent(software.amazon.awssdk.services.proton.model.GetComponentRequest)
API until the desired conditionComponentDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getComponentRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentDeployed
default CompletableFuture<WaiterResponse<GetEnvironmentResponse>> waitUntilEnvironmentDeployed(GetEnvironmentRequest getEnvironmentRequest) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilEnvironmentDeployed
default CompletableFuture<WaiterResponse<GetEnvironmentResponse>> waitUntilEnvironmentDeployed(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetEnvironmentRequest.builder()
- Parameters:
getEnvironmentRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentDeployed
default CompletableFuture<WaiterResponse<GetEnvironmentResponse>> waitUntilEnvironmentDeployed(GetEnvironmentRequest getEnvironmentRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentDeployed
default CompletableFuture<WaiterResponse<GetEnvironmentResponse>> waitUntilEnvironmentDeployed(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getEnvironment(software.amazon.awssdk.services.proton.model.GetEnvironmentRequest)
API until the desired conditionEnvironmentDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getEnvironmentRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetEnvironmentTemplateVersionResponse>> waitUntilEnvironmentTemplateVersionRegistered(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentTemplateVersionRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilEnvironmentTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetEnvironmentTemplateVersionResponse>> waitUntilEnvironmentTemplateVersionRegistered(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetEnvironmentTemplateVersionRequest.builder()
- Parameters:
getEnvironmentTemplateVersionRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetEnvironmentTemplateVersionResponse>> waitUntilEnvironmentTemplateVersionRegistered(GetEnvironmentTemplateVersionRequest getEnvironmentTemplateVersionRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getEnvironmentTemplateVersionRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilEnvironmentTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetEnvironmentTemplateVersionResponse>> waitUntilEnvironmentTemplateVersionRegistered(Consumer<GetEnvironmentTemplateVersionRequest.Builder> getEnvironmentTemplateVersionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getEnvironmentTemplateVersion(software.amazon.awssdk.services.proton.model.GetEnvironmentTemplateVersionRequest)
API until the desired conditionEnvironmentTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getEnvironmentTemplateVersionRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceCreated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceCreated(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilServiceCreated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceCreated(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetServiceRequest.builder()
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceCreated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceCreated(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceCreated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceCreated(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceCreated
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceDeleted
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceDeleted(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilServiceDeleted
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceDeleted(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetServiceRequest.builder()
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceDeleted
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceDeleted(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceDeleted
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceDeleted(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceDeleted
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceInstanceDeployed
default CompletableFuture<WaiterResponse<GetServiceInstanceResponse>> waitUntilServiceInstanceDeployed(GetServiceInstanceRequest getServiceInstanceRequest) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceInstanceRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilServiceInstanceDeployed
default CompletableFuture<WaiterResponse<GetServiceInstanceResponse>> waitUntilServiceInstanceDeployed(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetServiceInstanceRequest.builder()
- Parameters:
getServiceInstanceRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceInstanceDeployed
default CompletableFuture<WaiterResponse<GetServiceInstanceResponse>> waitUntilServiceInstanceDeployed(GetServiceInstanceRequest getServiceInstanceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceInstanceRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceInstanceDeployed
default CompletableFuture<WaiterResponse<GetServiceInstanceResponse>> waitUntilServiceInstanceDeployed(Consumer<GetServiceInstanceRequest.Builder> getServiceInstanceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getServiceInstance(software.amazon.awssdk.services.proton.model.GetServiceInstanceRequest)
API until the desired conditionServiceInstanceDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getServiceInstanceRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServicePipelineDeployed
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServicePipelineDeployed(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilServicePipelineDeployed
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServicePipelineDeployed(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetServiceRequest.builder()
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServicePipelineDeployed
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServicePipelineDeployed(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServicePipelineDeployed
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServicePipelineDeployed(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServicePipelineDeployed
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetServiceTemplateVersionResponse>> waitUntilServiceTemplateVersionRegistered(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceTemplateVersionRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilServiceTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetServiceTemplateVersionResponse>> waitUntilServiceTemplateVersionRegistered(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetServiceTemplateVersionRequest.builder()
- Parameters:
getServiceTemplateVersionRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetServiceTemplateVersionResponse>> waitUntilServiceTemplateVersionRegistered(GetServiceTemplateVersionRequest getServiceTemplateVersionRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceTemplateVersionRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceTemplateVersionRegistered
default CompletableFuture<WaiterResponse<GetServiceTemplateVersionResponse>> waitUntilServiceTemplateVersionRegistered(Consumer<GetServiceTemplateVersionRequest.Builder> getServiceTemplateVersionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getServiceTemplateVersion(software.amazon.awssdk.services.proton.model.GetServiceTemplateVersionRequest)
API until the desired conditionServiceTemplateVersionRegistered
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getServiceTemplateVersionRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceUpdated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceUpdated(GetServiceRequest getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- the request to be used for polling- Returns:
- CompletableFuture containing the WaiterResponse. It completes successfully when the resource enters into a desired state or exceptionally when it is determined that the resource will never enter into the desired state.
-
waitUntilServiceUpdated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceUpdated(Consumer<GetServiceRequest.Builder> getServiceRequest) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder without the need to create one manually using
GetServiceRequest.builder()
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for polling- Returns:
- CompletableFuture of the WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceUpdated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceUpdated(GetServiceRequest getServiceRequest, WaiterOverrideConfiguration overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getServiceRequest
- The request to be used for pollingoverrideConfig
- Per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilServiceUpdated
default CompletableFuture<WaiterResponse<GetServiceResponse>> waitUntilServiceUpdated(Consumer<GetServiceRequest.Builder> getServiceRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsProtonAsyncClient.getService(software.amazon.awssdk.services.proton.model.GetServiceRequest)
API until the desired conditionServiceUpdated
is met, or until it is determined that the resource will never enter into the desired state.This is a convenience method to create an instance of the request builder and instance of the override config builder
- Parameters:
getServiceRequest
- The consumer that will configure the request to be used for pollingoverrideConfig
- The consumer that will configure the per request override configuration for waiters- Returns:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
builder
Create a builder that can be used to configure and create aProtonAsyncWaiter
.- Returns:
- a builder
-
create
Create an instance ofProtonAsyncWaiter
with the default configuration.A default
ProtonAsyncClient
will be created to poll resources. It is recommended to share a single instance of the waiter created via this method. If it is not desirable to share a waiter instance, invokeSdkAutoCloseable.close()
to release the resources once the waiter is not needed.- Returns:
- an instance of
ProtonAsyncWaiter
-