Debian Codegraph @

models/apis/sagemaker-edge/2020-09-23/api-2.json

raw symbols SCIP
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2020-09-23",
5 "endpointPrefix":"edge.sagemaker",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceFullName":"Amazon Sagemaker Edge Manager",
9 "serviceId":"Sagemaker Edge",
10 "signatureVersion":"v4",
11 "signingName":"sagemaker",
12 "uid":"sagemaker-edge-2020-09-23"
13 },
14 "operations":{
15 "GetDeployments":{
16 "name":"GetDeployments",
17 "http":{
18 "method":"POST",
19 "requestUri":"/GetDeployments"
20 },
21 "input":{"shape":"GetDeploymentsRequest"},
22 "output":{"shape":"GetDeploymentsResult"},
23 "errors":[
24 {"shape":"InternalServiceException"}
25 ]
26 },
27 "GetDeviceRegistration":{
28 "name":"GetDeviceRegistration",
29 "http":{
30 "method":"POST",
31 "requestUri":"/GetDeviceRegistration"
32 },
33 "input":{"shape":"GetDeviceRegistrationRequest"},
34 "output":{"shape":"GetDeviceRegistrationResult"},
35 "errors":[
36 {"shape":"InternalServiceException"}
37 ]
38 },
39 "SendHeartbeat":{
40 "name":"SendHeartbeat",
41 "http":{
42 "method":"POST",
43 "requestUri":"/SendHeartbeat"
44 },
45 "input":{"shape":"SendHeartbeatRequest"},
46 "errors":[
47 {"shape":"InternalServiceException"}
48 ]
49 }
50 },
51 "shapes":{
52 "CacheTTLSeconds":{
53 "type":"string",
54 "max":1000,
55 "min":1
56 },
57 "Checksum":{
58 "type":"structure",
59 "members":{
60 "Type":{"shape":"ChecksumType"},
61 "Sum":{"shape":"ChecksumString"}
62 }
63 },
64 "ChecksumString":{
65 "type":"string",
66 "max":63,
67 "min":1,
68 "pattern":"^[a-z0-9](-*[a-z0-9])*$"
69 },
70 "ChecksumType":{
71 "type":"string",
72 "enum":["SHA1"]
73 },
74 "Definition":{
75 "type":"structure",
76 "members":{
77 "ModelHandle":{"shape":"EntityName"},
78 "S3Url":{"shape":"S3Uri"},
79 "Checksum":{"shape":"Checksum"},
80 "State":{"shape":"ModelState"}
81 }
82 },
83 "Definitions":{
84 "type":"list",
85 "member":{"shape":"Definition"}
86 },
87 "DeploymentModel":{
88 "type":"structure",
89 "members":{
90 "ModelHandle":{"shape":"EntityName"},
91 "ModelName":{"shape":"ModelName"},
92 "ModelVersion":{"shape":"Version"},
93 "DesiredState":{"shape":"ModelState"},
94 "State":{"shape":"ModelState"},
95 "Status":{"shape":"DeploymentStatus"},
96 "StatusReason":{"shape":"String"},
97 "RollbackFailureReason":{"shape":"String"}
98 }
99 },
100 "DeploymentModels":{
101 "type":"list",
102 "member":{"shape":"DeploymentModel"}
103 },
104 "DeploymentResult":{
105 "type":"structure",
106 "members":{
107 "DeploymentName":{"shape":"EntityName"},
108 "DeploymentStatus":{"shape":"EntityName"},
109 "DeploymentStatusMessage":{"shape":"String"},
110 "DeploymentStartTime":{"shape":"Timestamp"},
111 "DeploymentEndTime":{"shape":"Timestamp"},
112 "DeploymentModels":{"shape":"DeploymentModels"}
113 }
114 },
115 "DeploymentStatus":{
116 "type":"string",
117 "enum":[
118 "SUCCESS",
119 "FAIL"
120 ]
121 },
122 "DeploymentType":{
123 "type":"string",
124 "enum":["Model"]
125 },
126 "DeviceFleetName":{
127 "type":"string",
128 "max":63,
129 "min":1,
130 "pattern":"^[a-zA-Z0-9](-*_*[a-zA-Z0-9])*$"
131 },
132 "DeviceName":{
133 "type":"string",
134 "max":63,
135 "min":1,
136 "pattern":"^[a-zA-Z0-9](-*_*[a-zA-Z0-9])*$"
137 },
138 "DeviceRegistration":{
139 "type":"string",
140 "max":1000,
141 "min":1
142 },
143 "Dimension":{
144 "type":"string",
145 "max":1000,
146 "min":1,
147 "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9\\/])*$"
148 },
149 "EdgeDeployment":{
150 "type":"structure",
151 "members":{
152 "DeploymentName":{"shape":"EntityName"},
153 "Type":{"shape":"DeploymentType"},
154 "FailureHandlingPolicy":{"shape":"FailureHandlingPolicy"},
155 "Definitions":{"shape":"Definitions"}
156 }
157 },
158 "EdgeDeployments":{
159 "type":"list",
160 "member":{"shape":"EdgeDeployment"}
161 },
162 "EdgeMetric":{
163 "type":"structure",
164 "members":{
165 "Dimension":{"shape":"Dimension"},
166 "MetricName":{"shape":"Metric"},
167 "Value":{"shape":"Value"},
168 "Timestamp":{"shape":"Timestamp"}
169 }
170 },
171 "EdgeMetrics":{
172 "type":"list",
173 "member":{"shape":"EdgeMetric"}
174 },
175 "EntityName":{
176 "type":"string",
177 "max":63,
178 "min":1,
179 "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*$"
180 },
181 "ErrorMessage":{"type":"string"},
182 "FailureHandlingPolicy":{
183 "type":"string",
184 "enum":[
185 "ROLLBACK_ON_FAILURE",
186 "DO_NOTHING"
187 ]
188 },
189 "GetDeploymentsRequest":{
190 "type":"structure",
191 "required":[
192 "DeviceName",
193 "DeviceFleetName"
194 ],
195 "members":{
196 "DeviceName":{"shape":"DeviceName"},
197 "DeviceFleetName":{"shape":"DeviceFleetName"}
198 }
199 },
200 "GetDeploymentsResult":{
201 "type":"structure",
202 "members":{
203 "Deployments":{"shape":"EdgeDeployments"}
204 }
205 },
206 "GetDeviceRegistrationRequest":{
207 "type":"structure",
208 "required":[
209 "DeviceName",
210 "DeviceFleetName"
211 ],
212 "members":{
213 "DeviceName":{"shape":"DeviceName"},
214 "DeviceFleetName":{"shape":"DeviceFleetName"}
215 }
216 },
217 "GetDeviceRegistrationResult":{
218 "type":"structure",
219 "members":{
220 "DeviceRegistration":{"shape":"DeviceRegistration"},
221 "CacheTTL":{"shape":"CacheTTLSeconds"}
222 }
223 },
224 "InternalServiceException":{
225 "type":"structure",
226 "members":{
227 "Message":{"shape":"ErrorMessage"}
228 },
229 "exception":true
230 },
231 "Metric":{
232 "type":"string",
233 "max":100,
234 "min":4,
235 "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*$"
236 },
237 "Model":{
238 "type":"structure",
239 "members":{
240 "ModelName":{"shape":"ModelName"},
241 "ModelVersion":{"shape":"Version"},
242 "LatestSampleTime":{"shape":"Timestamp"},
243 "LatestInference":{"shape":"Timestamp"},
244 "ModelMetrics":{"shape":"EdgeMetrics"}
245 }
246 },
247 "ModelName":{
248 "type":"string",
249 "max":255,
250 "min":4,
251 "pattern":"^[a-zA-Z0-9](-*[a-zA-Z0-9])*$"
252 },
253 "ModelState":{
254 "type":"string",
255 "enum":[
256 "DEPLOY",
257 "UNDEPLOY"
258 ]
259 },
260 "Models":{
261 "type":"list",
262 "member":{"shape":"Model"}
263 },
264 "S3Uri":{
265 "type":"string",
266 "max":1024,
267 "pattern":"^s3://([^/]+)/?(.*)$"
268 },
269 "SendHeartbeatRequest":{
270 "type":"structure",
271 "required":[
272 "AgentVersion",
273 "DeviceName",
274 "DeviceFleetName"
275 ],
276 "members":{
277 "AgentMetrics":{"shape":"EdgeMetrics"},
278 "Models":{"shape":"Models"},
279 "AgentVersion":{"shape":"Version"},
280 "DeviceName":{"shape":"DeviceName"},
281 "DeviceFleetName":{"shape":"DeviceFleetName"},
282 "DeploymentResult":{"shape":"DeploymentResult"}
283 }
284 },
285 "String":{"type":"string"},
286 "Timestamp":{"type":"timestamp"},
287 "Value":{"type":"double"},
288 "Version":{
289 "type":"string",
290 "max":64,
291 "min":1,
292 "pattern":"[a-zA-Z0-9\\ \\_\\.]+"
293 }
294 }
295 }