Skip to content

Commit

Permalink
Update TACS model
Browse files Browse the repository at this point in the history
  • Loading branch information
xxx0624 committed Sep 6, 2023
1 parent 08f9dc1 commit 8658480
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 3 deletions.
22 changes: 19 additions & 3 deletions ecs-agent/tcs/model/api/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
"apiVersion":"2015-03-10",
"endpointPrefix":"ecstcs",
"jsonVersion":"1.1",
"protocol":"json",
"serviceAbbreviation":"Amazon ECS TCS",
"serviceFullName":"Amazon EC2 Container Service Telemetry Communication Service",
"signatureVersion":"v4",
"targetPrefix":"AmazonEC2ContainerServiceTelemetryV20150310",
"protocol":"json"
"uid":"ecstcs-2015-03-10"
},
"operations":{
"Heartbeat":{
Expand Down Expand Up @@ -120,7 +121,8 @@
"members":{
"containerName":{"shape":"String"},
"healthStatus":{"shape":"HealthStatus"},
"statusSince":{"shape":"Timestamp"}
"statusSince":{"shape":"Timestamp"},
"statusMessage":{"shape":"String"}
}
},
"ContainerHealths":{
Expand Down Expand Up @@ -368,6 +370,7 @@
"taskDefinitionVersion":{"shape":"String"},
"containerMetrics":{"shape":"ContainerMetrics"},
"ephemeralStorageMetrics":{"shape":"EphemeralStorageMetrics"},
"volumeMetrics":{"shape":"VolumeMetrics"},
"serviceConnectMetricsWrapper":{"shape":"ServiceConnectMetricsWrapper"}
}
},
Expand Down Expand Up @@ -421,6 +424,19 @@
"overflowMax":{"shape":"ULong"},
"overflowSum":{"shape":"ULong"}
}
},
"VolumeMetric":{
"type":"structure",
"members":{
"volumeId":{"shape":"String"},
"volumeName":{"shape":"String"},
"utilized":{"shape":"UDoubleCWStatsSet"},
"size":{"shape":"UDoubleCWStatsSet"}
}
},
"VolumeMetrics":{
"type":"list",
"member":{"shape":"VolumeMetric"}
}
}
}
}
56 changes: 56 additions & 0 deletions ecs-agent/tcs/model/ecstcs/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8658480

Please sign in to comment.