Skip to content

Commit

Permalink
Add waiter for Athena QueryExecutionFinished
Browse files Browse the repository at this point in the history
Implements aws/aws-sdk#80 and aws/aws-sdk-java#1646 for the
aws-java-sdk-v2.
  • Loading branch information
steven-aerts committed Jul 26, 2021
1 parent 0eae84b commit f931c80
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 2,
"waiters": {
"QueryExecutionFinished": {
"delay": 5,
"operation": "GetQueryExecution",
"description": "Wait until query execution is finished",
"maxAttempts": 720,
"acceptors": [
{
"matcher": "path",
"argument": "QueryExecution.Status.State",
"expected": "SUCCEEDED",
"state": "success"
},
{
"matcher": "path",
"argument": "QueryExecution.Status.State",
"expected": "FAILED",
"state": "failure"
},
{
"matcher": "path",
"argument": "QueryExecution.Status.State",
"expected": "CANCELLED",
"state": "failure"
}
]
}
}
}

0 comments on commit f931c80

Please sign in to comment.