Debian Codegraph @

models/apis/sagemaker-a2i-runtime/2019-11-07/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2019-11-07",
5 "endpointPrefix":"a2i-runtime.sagemaker",
6 "protocol":"rest-json",
7 "serviceFullName":"Amazon Augmented AI Runtime",
8 "serviceId":"SageMaker A2I Runtime",
9 "signatureVersion":"v4",
10 "signingName":"sagemaker",
11 "uid":"sagemaker-a2i-runtime-2019-11-07"
12 },
13 "operations":{
14 "DeleteHumanLoop":{
15 "name":"DeleteHumanLoop",
16 "http":{
17 "method":"DELETE",
18 "requestUri":"/human-loops/{HumanLoopName}"
19 },
20 "input":{"shape":"DeleteHumanLoopRequest"},
21 "output":{"shape":"DeleteHumanLoopResponse"},
22 "errors":[
23 {"shape":"ValidationException"},
24 {"shape":"ResourceNotFoundException"},
25 {"shape":"ThrottlingException"},
26 {"shape":"InternalServerException"}
27 ]
28 },
29 "DescribeHumanLoop":{
30 "name":"DescribeHumanLoop",
31 "http":{
32 "method":"GET",
33 "requestUri":"/human-loops/{HumanLoopName}"
34 },
35 "input":{"shape":"DescribeHumanLoopRequest"},
36 "output":{"shape":"DescribeHumanLoopResponse"},
37 "errors":[
38 {"shape":"ValidationException"},
39 {"shape":"ResourceNotFoundException"},
40 {"shape":"ThrottlingException"},
41 {"shape":"InternalServerException"}
42 ]
43 },
44 "ListHumanLoops":{
45 "name":"ListHumanLoops",
46 "http":{
47 "method":"GET",
48 "requestUri":"/human-loops"
49 },
50 "input":{"shape":"ListHumanLoopsRequest"},
51 "output":{"shape":"ListHumanLoopsResponse"},
52 "errors":[
53 {"shape":"ValidationException"},
54 {"shape":"ResourceNotFoundException"},
55 {"shape":"ThrottlingException"},
56 {"shape":"InternalServerException"}
57 ]
58 },
59 "StartHumanLoop":{
60 "name":"StartHumanLoop",
61 "http":{
62 "method":"POST",
63 "requestUri":"/human-loops"
64 },
65 "input":{"shape":"StartHumanLoopRequest"},
66 "output":{"shape":"StartHumanLoopResponse"},
67 "errors":[
68 {"shape":"ValidationException"},
69 {"shape":"ThrottlingException"},
70 {"shape":"ServiceQuotaExceededException"},
71 {"shape":"InternalServerException"},
72 {"shape":"ConflictException"}
73 ]
74 },
75 "StopHumanLoop":{
76 "name":"StopHumanLoop",
77 "http":{
78 "method":"POST",
79 "requestUri":"/human-loops/stop"
80 },
81 "input":{"shape":"StopHumanLoopRequest"},
82 "output":{"shape":"StopHumanLoopResponse"},
83 "errors":[
84 {"shape":"ValidationException"},
85 {"shape":"ResourceNotFoundException"},
86 {"shape":"ThrottlingException"},
87 {"shape":"InternalServerException"}
88 ]
89 }
90 },
91 "shapes":{
92 "ConflictException":{
93 "type":"structure",
94 "members":{
95 "Message":{"shape":"FailureReason"}
96 },
97 "error":{"httpStatusCode":409},
98 "exception":true
99 },
100 "ContentClassifier":{
101 "type":"string",
102 "enum":[
103 "FreeOfPersonallyIdentifiableInformation",
104 "FreeOfAdultContent"
105 ]
106 },
107 "ContentClassifiers":{
108 "type":"list",
109 "member":{"shape":"ContentClassifier"},
110 "max":256
111 },
112 "DeleteHumanLoopRequest":{
113 "type":"structure",
114 "required":["HumanLoopName"],
115 "members":{
116 "HumanLoopName":{
117 "shape":"HumanLoopName",
118 "location":"uri",
119 "locationName":"HumanLoopName"
120 }
121 }
122 },
123 "DeleteHumanLoopResponse":{
124 "type":"structure",
125 "members":{
126 }
127 },
128 "DescribeHumanLoopRequest":{
129 "type":"structure",
130 "required":["HumanLoopName"],
131 "members":{
132 "HumanLoopName":{
133 "shape":"HumanLoopName",
134 "location":"uri",
135 "locationName":"HumanLoopName"
136 }
137 }
138 },
139 "DescribeHumanLoopResponse":{
140 "type":"structure",
141 "required":[
142 "CreationTime",
143 "HumanLoopStatus",
144 "HumanLoopName",
145 "HumanLoopArn",
146 "FlowDefinitionArn"
147 ],
148 "members":{
149 "CreationTime":{"shape":"Timestamp"},
150 "FailureReason":{"shape":"String"},
151 "FailureCode":{"shape":"String"},
152 "HumanLoopStatus":{"shape":"HumanLoopStatus"},
153 "HumanLoopName":{"shape":"HumanLoopName"},
154 "HumanLoopArn":{"shape":"HumanLoopArn"},
155 "FlowDefinitionArn":{"shape":"FlowDefinitionArn"},
156 "HumanLoopOutput":{"shape":"HumanLoopOutput"}
157 }
158 },
159 "FailureReason":{
160 "type":"string",
161 "max":1024
162 },
163 "FlowDefinitionArn":{
164 "type":"string",
165 "max":1024,
166 "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:flow-definition/.*"
167 },
168 "HumanLoopArn":{
169 "type":"string",
170 "max":1024,
171 "pattern":"arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:human-loop/.*"
172 },
173 "HumanLoopDataAttributes":{
174 "type":"structure",
175 "required":["ContentClassifiers"],
176 "members":{
177 "ContentClassifiers":{"shape":"ContentClassifiers"}
178 }
179 },
180 "HumanLoopInput":{
181 "type":"structure",
182 "required":["InputContent"],
183 "members":{
184 "InputContent":{"shape":"InputContent"}
185 }
186 },
187 "HumanLoopName":{
188 "type":"string",
189 "max":63,
190 "min":1,
191 "pattern":"^[a-z0-9](-*[a-z0-9])*$"
192 },
193 "HumanLoopOutput":{
194 "type":"structure",
195 "required":["OutputS3Uri"],
196 "members":{
197 "OutputS3Uri":{"shape":"String"}
198 }
199 },
200 "HumanLoopStatus":{
201 "type":"string",
202 "enum":[
203 "InProgress",
204 "Failed",
205 "Completed",
206 "Stopped",
207 "Stopping"
208 ]
209 },
210 "HumanLoopSummaries":{
211 "type":"list",
212 "member":{"shape":"HumanLoopSummary"}
213 },
214 "HumanLoopSummary":{
215 "type":"structure",
216 "members":{
217 "HumanLoopName":{"shape":"HumanLoopName"},
218 "HumanLoopStatus":{"shape":"HumanLoopStatus"},
219 "CreationTime":{"shape":"Timestamp"},
220 "FailureReason":{"shape":"FailureReason"},
221 "FlowDefinitionArn":{"shape":"FlowDefinitionArn"}
222 }
223 },
224 "InputContent":{
225 "type":"string",
226 "max":3145728
227 },
228 "InternalServerException":{
229 "type":"structure",
230 "members":{
231 "Message":{"shape":"FailureReason"}
232 },
233 "error":{"httpStatusCode":500},
234 "exception":true
235 },
236 "ListHumanLoopsRequest":{
237 "type":"structure",
238 "required":["FlowDefinitionArn"],
239 "members":{
240 "CreationTimeAfter":{
241 "shape":"Timestamp",
242 "location":"querystring",
243 "locationName":"CreationTimeAfter"
244 },
245 "CreationTimeBefore":{
246 "shape":"Timestamp",
247 "location":"querystring",
248 "locationName":"CreationTimeBefore"
249 },
250 "FlowDefinitionArn":{
251 "shape":"FlowDefinitionArn",
252 "location":"querystring",
253 "locationName":"FlowDefinitionArn"
254 },
255 "SortOrder":{
256 "shape":"SortOrder",
257 "location":"querystring",
258 "locationName":"SortOrder"
259 },
260 "NextToken":{
261 "shape":"NextToken",
262 "location":"querystring",
263 "locationName":"NextToken"
264 },
265 "MaxResults":{
266 "shape":"MaxResults",
267 "box":true,
268 "location":"querystring",
269 "locationName":"MaxResults"
270 }
271 }
272 },
273 "ListHumanLoopsResponse":{
274 "type":"structure",
275 "required":["HumanLoopSummaries"],
276 "members":{
277 "HumanLoopSummaries":{"shape":"HumanLoopSummaries"},
278 "NextToken":{"shape":"NextToken"}
279 }
280 },
281 "MaxResults":{
282 "type":"integer",
283 "max":100,
284 "min":1
285 },
286 "NextToken":{
287 "type":"string",
288 "max":8192,
289 "pattern":".*"
290 },
291 "ResourceNotFoundException":{
292 "type":"structure",
293 "members":{
294 "Message":{"shape":"FailureReason"}
295 },
296 "error":{"httpStatusCode":404},
297 "exception":true
298 },
299 "ServiceQuotaExceededException":{
300 "type":"structure",
301 "members":{
302 "Message":{"shape":"FailureReason"}
303 },
304 "error":{"httpStatusCode":402},
305 "exception":true
306 },
307 "SortOrder":{
308 "type":"string",
309 "enum":[
310 "Ascending",
311 "Descending"
312 ]
313 },
314 "StartHumanLoopRequest":{
315 "type":"structure",
316 "required":[
317 "HumanLoopName",
318 "FlowDefinitionArn",
319 "HumanLoopInput"
320 ],
321 "members":{
322 "HumanLoopName":{"shape":"HumanLoopName"},
323 "FlowDefinitionArn":{"shape":"FlowDefinitionArn"},
324 "HumanLoopInput":{"shape":"HumanLoopInput"},
325 "DataAttributes":{"shape":"HumanLoopDataAttributes"}
326 }
327 },
328 "StartHumanLoopResponse":{
329 "type":"structure",
330 "members":{
331 "HumanLoopArn":{"shape":"HumanLoopArn"}
332 }
333 },
334 "StopHumanLoopRequest":{
335 "type":"structure",
336 "required":["HumanLoopName"],
337 "members":{
338 "HumanLoopName":{"shape":"HumanLoopName"}
339 }
340 },
341 "StopHumanLoopResponse":{
342 "type":"structure",
343 "members":{
344 }
345 },
346 "String":{"type":"string"},
347 "ThrottlingException":{
348 "type":"structure",
349 "members":{
350 "Message":{"shape":"FailureReason"}
351 },
352 "error":{"httpStatusCode":429},
353 "exception":true
354 },
355 "Timestamp":{
356 "type":"timestamp",
357 "timestampFormat":"iso8601"
358 },
359 "ValidationException":{
360 "type":"structure",
361 "members":{
362 "Message":{"shape":"FailureReason"}
363 },
364 "error":{"httpStatusCode":400},
365 "exception":true
366 }
367 }
368 }