route/vendor/github.com/aws/aws-sdk-go/models/apis/elasticmapreduce/2009-03-31/waiters-2.json

87 lines
2.0 KiB
JSON

{
"version": 2,
"waiters": {
"ClusterRunning": {
"delay": 30,
"operation": "DescribeCluster",
"maxAttempts": 60,
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "Cluster.Status.State",
"expected": "RUNNING"
},
{
"state": "success",
"matcher": "path",
"argument": "Cluster.Status.State",
"expected": "WAITING"
},
{
"state": "failure",
"matcher": "path",
"argument": "Cluster.Status.State",
"expected": "TERMINATING"
},
{
"state": "failure",
"matcher": "path",
"argument": "Cluster.Status.State",
"expected": "TERMINATED"
},
{
"state": "failure",
"matcher": "path",
"argument": "Cluster.Status.State",
"expected": "TERMINATED_WITH_ERRORS"
}
]
},
"StepComplete": {
"delay": 30,
"operation": "DescribeStep",
"maxAttempts": 60,
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "Step.Status.State",
"expected": "COMPLETED"
},
{
"state": "failure",
"matcher": "path",
"argument": "Step.Status.State",
"expected": "FAILED"
},
{
"state": "failure",
"matcher": "path",
"argument": "Step.Status.State",
"expected": "CANCELLED"
}
]
},
"ClusterTerminated": {
"delay": 30,
"operation": "DescribeCluster",
"maxAttempts": 60,
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "Cluster.Status.State",
"expected": "TERMINATED"
},
{
"state": "failure",
"matcher": "path",
"argument": "Cluster.Status.State",
"expected": "TERMINATED_WITH_ERRORS"
}
]
}
}
}