2018-01-15 17:34:17 +01:00
|
|
|
{
|
|
|
|
"version": 2,
|
|
|
|
"waiters": {
|
|
|
|
"NotebookInstanceInService": {
|
|
|
|
"delay": 30,
|
|
|
|
"maxAttempts": 60,
|
|
|
|
"operation": "DescribeNotebookInstance",
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "InService",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "NotebookInstanceStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Failed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "NotebookInstanceStatus"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"NotebookInstanceStopped": {
|
2018-07-11 08:25:50 +02:00
|
|
|
"delay": 30,
|
2018-01-15 17:34:17 +01:00
|
|
|
"operation": "DescribeNotebookInstance",
|
|
|
|
"maxAttempts": 60,
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "Stopped",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "NotebookInstanceStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Failed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "NotebookInstanceStatus"
|
|
|
|
}
|
|
|
|
]
|
2018-07-11 08:25:50 +02:00
|
|
|
},
|
2018-01-15 17:34:17 +01:00
|
|
|
"NotebookInstanceDeleted": {
|
|
|
|
"delay": 30,
|
|
|
|
"maxAttempts": 60,
|
|
|
|
"operation": "DescribeNotebookInstance",
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "ValidationException",
|
|
|
|
"matcher": "error",
|
|
|
|
"state": "success"
|
2018-07-11 08:25:50 +02:00
|
|
|
},
|
2018-01-15 17:34:17 +01:00
|
|
|
{
|
|
|
|
"expected": "Failed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "NotebookInstanceStatus"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"TrainingJobCompletedOrStopped": {
|
|
|
|
"delay": 120,
|
|
|
|
"maxAttempts": 180,
|
|
|
|
"operation": "DescribeTrainingJob",
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "Completed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "TrainingJobStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Stopped",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "TrainingJobStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Failed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "TrainingJobStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "ValidationException",
|
|
|
|
"matcher": "error",
|
|
|
|
"state": "failure"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"EndpointInService": {
|
|
|
|
"delay": 30,
|
|
|
|
"maxAttempts": 120,
|
|
|
|
"operation": "DescribeEndpoint",
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "InService",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "EndpointStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Failed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "EndpointStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "ValidationException",
|
|
|
|
"matcher": "error",
|
|
|
|
"state": "failure"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"EndpointDeleted": {
|
|
|
|
"delay": 30,
|
|
|
|
"maxAttempts": 60,
|
|
|
|
"operation": "DescribeEndpoint",
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "ValidationException",
|
|
|
|
"matcher": "error",
|
|
|
|
"state": "success"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Failed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "EndpointStatus"
|
|
|
|
}
|
|
|
|
]
|
2018-10-04 08:50:52 +02:00
|
|
|
},
|
|
|
|
"TransformJobCompletedOrStopped": {
|
|
|
|
"delay": 60,
|
|
|
|
"maxAttempts": 60,
|
|
|
|
"operation": "DescribeTransformJob",
|
|
|
|
"acceptors": [
|
|
|
|
{
|
|
|
|
"expected": "Completed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "TransformJobStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Stopped",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "success",
|
|
|
|
"argument": "TransformJobStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "Failed",
|
|
|
|
"matcher": "path",
|
|
|
|
"state": "failure",
|
|
|
|
"argument": "TransformJobStatus"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"expected": "ValidationException",
|
|
|
|
"matcher": "error",
|
|
|
|
"state": "failure"
|
|
|
|
}
|
|
|
|
]
|
2018-01-15 17:34:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|