- 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 interfaceMethod Summary
Create a builder that can be used to configure and create aLambdaWaiter. Create an instance ofLambdaWaiterwith 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 condition
waitUntilFunctionActive
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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