lambda-2015-03-31.waiters2.json
1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"version": 2,
"waiters": {
"FunctionExists": {
"delay": 1,
"operation": "GetFunction",
"maxAttempts": 20,
"acceptors": [
{
"state": "success",
"matcher": "status",
"expected": 200
},
{
"state": "retry",
"matcher": "error",
"expected": "ResourceNotFoundException"
}
]
},
"FunctionActive": {
"delay": 5,
"maxAttempts": 60,
"operation": "GetFunctionConfiguration",
"description": "Waits for the function's State to be Active.",
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "State",
"expected": "Active"
},
{
"state": "failure",
"matcher": "path",
"argument": "State",
"expected": "Failed"
},
{
"state": "retry",
"matcher": "path",
"argument": "State",
"expected": "Pending"
}
]
},
"FunctionUpdated": {
"delay": 5,
"maxAttempts": 60,
"operation": "GetFunctionConfiguration",
"description": "Waits for the function's LastUpdateStatus to be Successful.",
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "LastUpdateStatus",
"expected": "Successful"
},
{
"state": "failure",
"matcher": "path",
"argument": "LastUpdateStatus",
"expected": "Failed"
},
{
"state": "retry",
"matcher": "path",
"argument": "LastUpdateStatus",
"expected": "InProgress"
}
]
}
}
}