forked from aws/aws-sdk-java-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add waiter for Athena QueryExecutionFinished
Implements aws/aws-sdk#80 and aws/aws-sdk-java#1646 for the aws-java-sdk-v2.
- Loading branch information
1 parent
0eae84b
commit f931c80
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
services/athena/src/main/resources/codegen-resources/waiters-2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} |