Skip to content

Commit b589a08

Browse files
authored
Latest FE model files (#3974)
1 parent 06931a5 commit b589a08

File tree

8 files changed

+38679
-0
lines changed

8 files changed

+38679
-0
lines changed

ecs-agent/ecs/model/api/api-2.json

+7,881
Large diffs are not rendered by default.

ecs-agent/ecs/model/api/docs-2.json

+4,150
Large diffs are not rendered by default.
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"pagination": {
3+
"ListClusters": {
4+
"input_token": "nextToken",
5+
"output_token": "nextToken",
6+
"limit_key": "maxResults",
7+
"result_key": "clusterArns"
8+
},
9+
"ListContainerInstances": {
10+
"input_token": "nextToken",
11+
"output_token": "nextToken",
12+
"limit_key": "maxResults",
13+
"result_key": "containerInstanceArns"
14+
},
15+
"ListTaskDefinitions": {
16+
"input_token": "nextToken",
17+
"output_token": "nextToken",
18+
"limit_key": "maxResults",
19+
"result_key": "taskDefinitionArns"
20+
},
21+
"ListTaskDefinitionFamilies": {
22+
"input_token": "nextToken",
23+
"output_token": "nextToken",
24+
"limit_key": "maxResults",
25+
"result_key": "families"
26+
},
27+
"ListTasks": {
28+
"input_token": "nextToken",
29+
"output_token": "nextToken",
30+
"limit_key": "maxResults",
31+
"result_key": "taskArns"
32+
},
33+
"ListServices": {
34+
"input_token": "nextToken",
35+
"output_token": "nextToken",
36+
"limit_key": "maxResults",
37+
"result_key": "serviceArns"
38+
}
39+
}
40+
}
+93
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{
2+
"version": 2,
3+
"waiters": {
4+
"TasksRunning": {
5+
"delay": 6,
6+
"operation": "DescribeTasks",
7+
"maxAttempts": 100,
8+
"acceptors": [
9+
{
10+
"expected": "STOPPED",
11+
"matcher": "pathAny",
12+
"state": "failure",
13+
"argument": "tasks[].lastStatus"
14+
},
15+
{
16+
"expected": "MISSING",
17+
"matcher": "pathAny",
18+
"state": "failure",
19+
"argument": "failures[].reason"
20+
},
21+
{
22+
"expected": "RUNNING",
23+
"matcher": "pathAll",
24+
"state": "success",
25+
"argument": "tasks[].lastStatus"
26+
}
27+
]
28+
},
29+
"TasksStopped": {
30+
"delay": 6,
31+
"operation": "DescribeTasks",
32+
"maxAttempts": 100,
33+
"acceptors": [
34+
{
35+
"expected": "STOPPED",
36+
"matcher": "pathAll",
37+
"state": "success",
38+
"argument": "tasks[].lastStatus"
39+
}
40+
]
41+
},
42+
"ServicesStable": {
43+
"delay": 15,
44+
"operation": "DescribeServices",
45+
"maxAttempts": 40,
46+
"acceptors": [
47+
{
48+
"expected": "MISSING",
49+
"matcher": "pathAny",
50+
"state": "failure",
51+
"argument": "failures[].reason"
52+
},
53+
{
54+
"expected": "DRAINING",
55+
"matcher": "pathAny",
56+
"state": "failure",
57+
"argument": "services[].status"
58+
},
59+
{
60+
"expected": "INACTIVE",
61+
"matcher": "pathAny",
62+
"state": "failure",
63+
"argument": "services[].status"
64+
},
65+
{
66+
"expected": true,
67+
"matcher": "path",
68+
"state": "success",
69+
"argument": "services | [@[?length(deployments)!=`1`], @[?desiredCount!=runningCount]][] | length(@) == `0`"
70+
}
71+
]
72+
},
73+
"ServicesInactive": {
74+
"delay": 15,
75+
"operation": "DescribeServices",
76+
"maxAttempts": 40,
77+
"acceptors": [
78+
{
79+
"expected": "MISSING",
80+
"matcher": "pathAny",
81+
"state": "failure",
82+
"argument": "failures[].reason"
83+
},
84+
{
85+
"expected": "INACTIVE",
86+
"matcher": "pathAny",
87+
"state": "success",
88+
"argument": "services[].status"
89+
}
90+
]
91+
}
92+
}
93+
}

0 commit comments

Comments
 (0)