Created
January 10, 2018 08:58
-
-
Save cfchou/8efa1fe537e6ed9db15771e8fcd526a0 to your computer and use it in GitHub Desktop.
athena 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
{ | |
"version": 2, | |
"waiters": { | |
"QuerySucceeded": { | |
"delay": 15, | |
"operation": "GetQueryExecution", | |
"maxAttempts": 40, | |
"acceptors": [ | |
{ | |
"expected": "SUCCEEDED", | |
"matcher": "path", | |
"state": "success", | |
"argument": "QueryExecution.Status.State" | |
}, | |
{ | |
"expected": "FAILED", | |
"matcher": "path", | |
"state": "failure", | |
"argument": "QueryExecution.Status.State" | |
}, | |
{ | |
"expected": "CANCELED", | |
"matcher": "path", | |
"state": "failure", | |
"argument": "QueryExecution.Status.State" | |
} | |
] | |
}, | |
"QueriesFinished": { | |
"delay": 15, | |
"operation": "BatchGetQueryExecution", | |
"maxAttempts": 40, | |
"acceptors": [ | |
{ | |
"expected": true, | |
"matcher": "path", | |
"state": "success", | |
"argument": "length(QueryExecutions[?Status.State == `RUNNING`]) == `0`" | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment