Posted On: Oct 1, 2020
We are pleased to announce the general availability of the waiters feature in the AWS SDK for Java 2.x . The waiters feature is an abstraction that enables you to validate that AWS resources, such as DynamoDB tables or Amazon S3 buckets, are in a specified state before performing operations on those resources. When interacting with AWS APIs that are asynchronous, such as DynamoDB CreateTable, customers often need to wait for that particular resource to become available in order to perform further actions on it. The waiter utility provides a simple API 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.
For more information on how to use this feature, please visit our blog post and developer guide. Give it a try and let us know what you think about this feature on GitHub.