Interface LambdaAsyncWaiter
- All Superinterfaces:
AutoCloseable
,SdkAutoCloseable
builder()
method-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaAsyncWaiter.Builder
builder()
Create a builder that can be used to configure and create aLambdaAsyncWaiter
.static LambdaAsyncWaiter
create()
Create an instance ofLambdaAsyncWaiter
with the default configuration.waitUntilFunctionActive
(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionActive
(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionActive
(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionActive
(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionActiveV2
(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionActiveV2
(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionActiveV2
(GetFunctionRequest getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionActiveV2
(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionExists
(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionExists
(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionExists
(GetFunctionRequest getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionExists
(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionUpdated
(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionUpdated
(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionUpdated
(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionUpdated
(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionUpdatedV2
(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionUpdatedV2
(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
is met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionUpdatedV2
(GetFunctionRequest getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
is met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionUpdatedV2
(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
is met, or until it is determined that the resource will never enter into the desired statewaitUntilPublishedVersionActive
(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
is met, or until it is determined that the resource will never enter into the desired state.waitUntilPublishedVersionActive
(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
is met, or until it is determined that the resource will never enter into the desired state.waitUntilPublishedVersionActive
(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
is met, or until it is determined that the resource will never enter into the desired statewaitUntilPublishedVersionActive
(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
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
-
waitUntilFunctionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionConfigurationRequest
- 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.
-
waitUntilFunctionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
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
GetFunctionConfigurationRequest.builder()
- Parameters:
getFunctionConfigurationRequest
- 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
-
waitUntilFunctionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionConfigurationRequest
- 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
-
waitUntilFunctionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionActive
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:
getFunctionConfigurationRequest
- 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
-
waitUntilFunctionActiveV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionRequest
- 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.
-
waitUntilFunctionActiveV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
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
GetFunctionRequest.builder()
- Parameters:
getFunctionRequest
- 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
-
waitUntilFunctionActiveV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionRequest
- 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
-
waitUntilFunctionActiveV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionActiveV2
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:
getFunctionRequest
- 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
-
waitUntilFunctionExists
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionRequest
- 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.
-
waitUntilFunctionExists
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
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
GetFunctionRequest.builder()
- Parameters:
getFunctionRequest
- 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
-
waitUntilFunctionExists
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionRequest
- 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
-
waitUntilFunctionExists
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionExists
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:
getFunctionRequest
- 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
-
waitUntilFunctionUpdated
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionConfigurationRequest
- 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.
-
waitUntilFunctionUpdated
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
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
GetFunctionConfigurationRequest.builder()
- Parameters:
getFunctionConfigurationRequest
- 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
-
waitUntilFunctionUpdated
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionConfigurationRequest
- 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
-
waitUntilFunctionUpdated
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilFunctionUpdated(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionFunctionUpdated
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:
getFunctionConfigurationRequest
- 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
-
waitUntilFunctionUpdatedV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionRequest
- 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.
-
waitUntilFunctionUpdatedV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
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
GetFunctionRequest.builder()
- Parameters:
getFunctionRequest
- 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
-
waitUntilFunctionUpdatedV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionRequest
- 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
-
waitUntilFunctionUpdatedV2
default CompletableFuture<WaiterResponse<GetFunctionResponse>> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)
API until the desired conditionFunctionUpdatedV2
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:
getFunctionRequest
- 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
-
waitUntilPublishedVersionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilPublishedVersionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionConfigurationRequest
- 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.
-
waitUntilPublishedVersionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilPublishedVersionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
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
GetFunctionConfigurationRequest.builder()
- Parameters:
getFunctionConfigurationRequest
- 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
-
waitUntilPublishedVersionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilPublishedVersionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
is met, or until it is determined that the resource will never enter into the desired state- Parameters:
getFunctionConfigurationRequest
- 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
-
waitUntilPublishedVersionActive
default CompletableFuture<WaiterResponse<GetFunctionConfigurationResponse>> waitUntilPublishedVersionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaAsyncClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)
API until the desired conditionPublishedVersionActive
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:
getFunctionConfigurationRequest
- 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 aLambdaAsyncWaiter
.- Returns:
- a builder
-
create
Create an instance ofLambdaAsyncWaiter
with the default configuration.A default
LambdaAsyncClient
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
LambdaAsyncWaiter
-