Skip to content

Commit

Permalink
Latest FE model files
Browse files Browse the repository at this point in the history
  • Loading branch information
Richa Gangwar committed Oct 20, 2023
1 parent b8d2a7f commit a894f3b
Show file tree
Hide file tree
Showing 8 changed files with 38,549 additions and 0 deletions.
7,851 changes: 7,851 additions & 0 deletions ecs-agent/ecs/model/api/api-2.json

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions ecs-agent/ecs/model/api/paginators-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"pagination": {
"ListAccountSettings": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "settings"
},
"ListAttributes": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "attributes"
},
"ListClusters": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "clusterArns"
},
"ListContainerInstances": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "containerInstanceArns"
},
"ListServices": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "serviceArns"
},
"ListServicesByNamespace": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "serviceArns"
},
"ListTaskDefinitionFamilies": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "families"
},
"ListTaskDefinitions": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "taskDefinitionArns"
},
"ListTasks": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "taskArns"
}
}
}
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": "length(services[?!(length(deployments) == `1` && runningCount == desiredCount)]) == `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 a894f3b

Please sign in to comment.