LambdaWaiter (AWS SDK for Java
Publish date: 2024-04-28
LambdaWaiter (AWS SDK for Java - 2.25.34) All Superinterfaces: AutoCloseable
, SdkAutoCloseable
Waiter utility class that polls a resource until a desired state is reached or until it is determined that the resource will never enter into the desired state. This can be created using the static builder()
methodNested Class Summary
Nested Classes
static interface
Method Summary
All MethodsStatic MethodsInstance MethodsDefault Methods
Create a builder that can be used to configure and create aLambdaWaiter
. Create an instance ofLambdaWaiter
with the default configuration.
Method Details
waitUntilFunctionActive
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 conditionwaitUntilFunctionActive
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 conditionwaitUntilFunctionActive
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 conditionwaitUntilFunctionActive
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 conditionwaitUntilFunctionActiveV2
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 conditionwaitUntilFunctionActiveV2
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 conditionwaitUntilFunctionActiveV2
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 conditionwaitUntilFunctionActiveV2
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 conditionwaitUntilFunctionExists
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 conditionwaitUntilFunctionExists
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 conditionwaitUntilFunctionExists
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 conditionwaitUntilFunctionExists
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 conditionwaitUntilFunctionUpdated
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 conditionwaitUntilFunctionUpdated
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 conditionwaitUntilFunctionUpdated
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 conditionwaitUntilFunctionUpdated
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 conditionwaitUntilFunctionUpdatedV2
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 conditionwaitUntilFunctionUpdatedV2
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 conditionwaitUntilFunctionUpdatedV2
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 conditionwaitUntilFunctionUpdatedV2
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 conditionwaitUntilPublishedVersionActive
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 conditionwaitUntilPublishedVersionActive
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 conditionwaitUntilPublishedVersionActive
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 conditionwaitUntilPublishedVersionActive
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 conditionbuilder
Create a builder that can be used to configure and create aLambdaWaiter
. Returns: a buildercreate
Create an instance ofLambdaWaiter
with the default configuration.A default
Returns: an instance ofLambdaClient
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.LambdaWaiter
ncG1vNJzZmirlKB7ornAs6anmaeoe6S7zGihmq6RZK6xtY6lmK2do6l8tLvFra6aqpVkrq6t2ailaJmnqMClt46snKuumZiytHvLmqSbnJFkxKK1056prGd8lrqjsMCQmKKslad7qcDMpQ%3D%3D