Skip to content

Commit

Permalink
Latest FE model files (#3974)
Browse files Browse the repository at this point in the history
  • Loading branch information
RichaGangwar authored Oct 24, 2023
1 parent 06931a5 commit b589a08
Show file tree
Hide file tree
Showing 8 changed files with 38,679 additions and 0 deletions.
7,881 changes: 7,881 additions & 0 deletions ecs-agent/ecs/model/api/api-2.json

Large diffs are not rendered by default.

4,150 changes: 4,150 additions & 0 deletions ecs-agent/ecs/model/api/docs-2.json

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions ecs-agent/ecs/model/api/paginators-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"pagination": {
"ListClusters": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "clusterArns"
},
"ListContainerInstances": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "containerInstanceArns"
},
"ListTaskDefinitions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "taskDefinitionArns"
},
"ListTaskDefinitionFamilies": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "families"
},
"ListTasks": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "taskArns"
},
"ListServices": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "serviceArns"
}
}
}
93 changes: 93 additions & 0 deletions ecs-agent/ecs/model/api/waiters-2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"version": 2,
"waiters": {
"TasksRunning": {
"delay": 6,
"operation": "DescribeTasks",
"maxAttempts": 100,
"acceptors": [
{
"expected": "STOPPED",
"matcher": "pathAny",
"state": "failure",
"argument": "tasks[].lastStatus"
},
{
"expected": "MISSING",
"matcher": "pathAny",
"state": "failure",
"argument": "failures[].reason"
},
{
"expected": "RUNNING",
"matcher": "pathAll",
"state": "success",
"argument": "tasks[].lastStatus"
}
]
},
"TasksStopped": {
"delay": 6,
"operation": "DescribeTasks",
"maxAttempts": 100,
"acceptors": [
{
"expected": "STOPPED",
"matcher": "pathAll",
"state": "success",
"argument": "tasks[].lastStatus"
}
]
},
"ServicesStable": {
"delay": 15,
"operation": "DescribeServices",
"maxAttempts": 40,
"acceptors": [
{
"expected": "MISSING",
"matcher": "pathAny",
"state": "failure",
"argument": "failures[].reason"
},
{
"expected": "DRAINING",
"matcher": "pathAny",
"state": "failure",
"argument": "services[].status"
},
{
"expected": "INACTIVE",
"matcher": "pathAny",
"state": "failure",
"argument": "services[].status"
},
{
"expected": true,
"matcher": "path",
"state": "success",
"argument": "services | [@[?length(deployments)!=`1`], @[?desiredCount!=runningCount]][] | length(@) == `0`"
}
]
},
"ServicesInactive": {
"delay": 15,
"operation": "DescribeServices",
"maxAttempts": 40,
"acceptors": [
{
"expected": "MISSING",
"matcher": "pathAny",
"state": "failure",
"argument": "failures[].reason"
},
{
"expected": "INACTIVE",
"matcher": "pathAny",
"state": "success",
"argument": "services[].status"
}
]
}
}
}
Loading

0 comments on commit b589a08

Please sign in to comment.