LambdaWaiter (AWS SDK for Java

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() method
  • Nested Class Summary

    Nested Classes

    static interface 

  • Method Summary

    Create a builder that can be used to configure and create a LambdaWaiter. Create an instance of LambdaWaiter 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 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 polling
      overrideConfig - 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 a LambdaWaiter.
      Returns:
      a builder
    • create

      Create an instance of LambdaWaiter with the default configuration.

      A default LambdaClient 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, invoke SdkAutoCloseable.close() to release the resources once the waiter is not needed.

      Returns:
      an instance of LambdaWaiter

You Might Also Like