Interface LambdaWaiter
- All Superinterfaces:
AutoCloseable,SdkAutoCloseable
builder() method-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaWaiter.Builderbuilder()Create a builder that can be used to configure and create aLambdaWaiter.static LambdaWaitercreate()Create an instance ofLambdaWaiterwith the default configuration.waitUntilFunctionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis 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) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionUpdated(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis 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) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis met, or until it is determined that the resource will never enter into the desired state.waitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis met, or until it is determined that the resource will never enter into the desired statewaitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is met, or until it is determined that the resource will never enter into the desired state.default WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is met, or until it is determined that the resource will never enter into the desired statedefault WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is met, or until it is determined that the resource will never enter into the desired statewaitUntilPublishedVersionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis 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) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis met, or until it is determined that the resource will never enter into the desired state.waitUntilPublishedVersionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis met, or until it is determined that the resource will never enter into the desired statewaitUntilPublishedVersionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis 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 WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionActive
default WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionActive
default WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis 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 WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionActiveis 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 WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionActiveV2
default WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionActiveV2
default WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is 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 WaiterResponse<GetFunctionResponse> waitUntilFunctionActiveV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionActiveV2is 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 WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionExists
default WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionExists
default WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis 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 WaiterResponse<GetFunctionResponse> waitUntilFunctionExists(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionExistsis 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 WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionUpdated
default WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionUpdated(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionUpdated
default WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionUpdated(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis 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 WaiterResponse<GetFunctionConfigurationResponse> waitUntilFunctionUpdated(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionFunctionUpdatedis 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 WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionUpdatedV2
default WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilFunctionUpdatedV2
default WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(GetFunctionRequest getFunctionRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is 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 WaiterResponse<GetFunctionResponse> waitUntilFunctionUpdatedV2(Consumer<GetFunctionRequest.Builder> getFunctionRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunction(software.amazon.awssdk.services.lambda.model.GetFunctionRequest)API until the desired conditionFunctionUpdatedV2is 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 WaiterResponse<GetFunctionConfigurationResponse> waitUntilPublishedVersionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPublishedVersionActive
default WaiterResponse<GetFunctionConfigurationResponse> waitUntilPublishedVersionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis 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:
- WaiterResponse containing either a response or an exception that has matched with the waiter success condition
-
waitUntilPublishedVersionActive
default WaiterResponse<GetFunctionConfigurationResponse> waitUntilPublishedVersionActive(GetFunctionConfigurationRequest getFunctionConfigurationRequest, WaiterOverrideConfiguration overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis 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 WaiterResponse<GetFunctionConfigurationResponse> waitUntilPublishedVersionActive(Consumer<GetFunctionConfigurationRequest.Builder> getFunctionConfigurationRequest, Consumer<WaiterOverrideConfiguration.Builder> overrideConfig) PollsLambdaClient.getFunctionConfiguration(software.amazon.awssdk.services.lambda.model.GetFunctionConfigurationRequest)API until the desired conditionPublishedVersionActiveis 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 aLambdaWaiter.- Returns:
- a builder
-
create
Create an instance ofLambdaWaiterwith the default configuration.A default
LambdaClientwill 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
LambdaWaiter
-