Currently, a wait state in AWS can wait only for a defined set period of time.
let\'s say my step function checks with API for status if the status is updated it will mov