Debian Codegraph @

models/apis/cloudfront-keyvaluestore/2022-07-26/api-2.json

raw symbols SCIP
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2022-07-26",
5 "endpointPrefix":"cloudfront-keyvaluestore",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceFullName":"Amazon CloudFront KeyValueStore",
9 "serviceId":"CloudFront KeyValueStore",
10 "signatureVersion":"v4",
11 "signingName":"cloudfront-keyvaluestore",
12 "uid":"cloudfront-keyvaluestore-2022-07-26"
13 },
14 "operations":{
15 "DeleteKey":{
16 "name":"DeleteKey",
17 "http":{
18 "method":"DELETE",
19 "requestUri":"/key-value-stores/{KvsARN}/keys/{Key}",
20 "responseCode":200
21 },
22 "input":{"shape":"DeleteKeyRequest"},
23 "output":{"shape":"DeleteKeyResponse"},
24 "errors":[
25 {"shape":"ConflictException"},
26 {"shape":"ValidationException"},
27 {"shape":"InternalServerException"},
28 {"shape":"ServiceQuotaExceededException"},
29 {"shape":"ResourceNotFoundException"},
30 {"shape":"AccessDeniedException"}
31 ],
32 "idempotent":true
33 },
34 "DescribeKeyValueStore":{
35 "name":"DescribeKeyValueStore",
36 "http":{
37 "method":"GET",
38 "requestUri":"/key-value-stores/{KvsARN}",
39 "responseCode":200
40 },
41 "input":{"shape":"DescribeKeyValueStoreRequest"},
42 "output":{"shape":"DescribeKeyValueStoreResponse"},
43 "errors":[
44 {"shape":"ConflictException"},
45 {"shape":"InternalServerException"},
46 {"shape":"ResourceNotFoundException"},
47 {"shape":"AccessDeniedException"}
48 ]
49 },
50 "GetKey":{
51 "name":"GetKey",
52 "http":{
53 "method":"GET",
54 "requestUri":"/key-value-stores/{KvsARN}/keys/{Key}",
55 "responseCode":200
56 },
57 "input":{"shape":"GetKeyRequest"},
58 "output":{"shape":"GetKeyResponse"},
59 "errors":[
60 {"shape":"ConflictException"},
61 {"shape":"InternalServerException"},
62 {"shape":"ResourceNotFoundException"},
63 {"shape":"AccessDeniedException"}
64 ]
65 },
66 "ListKeys":{
67 "name":"ListKeys",
68 "http":{
69 "method":"GET",
70 "requestUri":"/key-value-stores/{KvsARN}/keys",
71 "responseCode":200
72 },
73 "input":{"shape":"ListKeysRequest"},
74 "output":{"shape":"ListKeysResponse"},
75 "errors":[
76 {"shape":"ConflictException"},
77 {"shape":"ValidationException"},
78 {"shape":"InternalServerException"},
79 {"shape":"ResourceNotFoundException"},
80 {"shape":"AccessDeniedException"}
81 ]
82 },
83 "PutKey":{
84 "name":"PutKey",
85 "http":{
86 "method":"PUT",
87 "requestUri":"/key-value-stores/{KvsARN}/keys/{Key}",
88 "responseCode":200
89 },
90 "input":{"shape":"PutKeyRequest"},
91 "output":{"shape":"PutKeyResponse"},
92 "errors":[
93 {"shape":"ConflictException"},
94 {"shape":"ValidationException"},
95 {"shape":"InternalServerException"},
96 {"shape":"ServiceQuotaExceededException"},
97 {"shape":"ResourceNotFoundException"},
98 {"shape":"AccessDeniedException"}
99 ],
100 "idempotent":true
101 },
102 "UpdateKeys":{
103 "name":"UpdateKeys",
104 "http":{
105 "method":"POST",
106 "requestUri":"/key-value-stores/{KvsARN}/keys",
107 "responseCode":200
108 },
109 "input":{"shape":"UpdateKeysRequest"},
110 "output":{"shape":"UpdateKeysResponse"},
111 "errors":[
112 {"shape":"ConflictException"},
113 {"shape":"ValidationException"},
114 {"shape":"InternalServerException"},
115 {"shape":"ServiceQuotaExceededException"},
116 {"shape":"ResourceNotFoundException"},
117 {"shape":"AccessDeniedException"}
118 ],
119 "idempotent":true
120 }
121 },
122 "shapes":{
123 "AccessDeniedException":{
124 "type":"structure",
125 "members":{
126 "Message":{"shape":"String"}
127 },
128 "error":{
129 "httpStatusCode":403,
130 "senderFault":true
131 },
132 "exception":true
133 },
134 "ConflictException":{
135 "type":"structure",
136 "members":{
137 "Message":{"shape":"String"}
138 },
139 "error":{
140 "httpStatusCode":409,
141 "senderFault":true
142 },
143 "exception":true
144 },
145 "DeleteKeyRequest":{
146 "type":"structure",
147 "required":[
148 "KvsARN",
149 "Key",
150 "IfMatch"
151 ],
152 "members":{
153 "KvsARN":{
154 "shape":"KvsARN",
155 "contextParam":{"name":"KvsARN"},
156 "location":"uri",
157 "locationName":"KvsARN"
158 },
159 "Key":{
160 "shape":"Key",
161 "location":"uri",
162 "locationName":"Key"
163 },
164 "IfMatch":{
165 "shape":"Etag",
166 "location":"header",
167 "locationName":"If-Match"
168 }
169 }
170 },
171 "DeleteKeyRequestListItem":{
172 "type":"structure",
173 "required":["Key"],
174 "members":{
175 "Key":{"shape":"Key"}
176 }
177 },
178 "DeleteKeyRequestsList":{
179 "type":"list",
180 "member":{"shape":"DeleteKeyRequestListItem"}
181 },
182 "DeleteKeyResponse":{
183 "type":"structure",
184 "required":[
185 "ItemCount",
186 "TotalSizeInBytes",
187 "ETag"
188 ],
189 "members":{
190 "ItemCount":{"shape":"Integer"},
191 "TotalSizeInBytes":{"shape":"Long"},
192 "ETag":{
193 "shape":"Etag",
194 "location":"header",
195 "locationName":"ETag"
196 }
197 }
198 },
199 "DescribeKeyValueStoreRequest":{
200 "type":"structure",
201 "required":["KvsARN"],
202 "members":{
203 "KvsARN":{
204 "shape":"KvsARN",
205 "contextParam":{"name":"KvsARN"},
206 "location":"uri",
207 "locationName":"KvsARN"
208 }
209 }
210 },
211 "DescribeKeyValueStoreResponse":{
212 "type":"structure",
213 "required":[
214 "ItemCount",
215 "TotalSizeInBytes",
216 "KvsARN",
217 "Created",
218 "ETag"
219 ],
220 "members":{
221 "ItemCount":{"shape":"Integer"},
222 "TotalSizeInBytes":{"shape":"Long"},
223 "KvsARN":{"shape":"KvsARN"},
224 "Created":{"shape":"Timestamp"},
225 "ETag":{
226 "shape":"Etag",
227 "location":"header",
228 "locationName":"ETag"
229 },
230 "LastModified":{"shape":"Timestamp"}
231 }
232 },
233 "Etag":{"type":"string"},
234 "GetKeyRequest":{
235 "type":"structure",
236 "required":[
237 "KvsARN",
238 "Key"
239 ],
240 "members":{
241 "KvsARN":{
242 "shape":"KvsARN",
243 "contextParam":{"name":"KvsARN"},
244 "location":"uri",
245 "locationName":"KvsARN"
246 },
247 "Key":{
248 "shape":"Key",
249 "location":"uri",
250 "locationName":"Key"
251 }
252 }
253 },
254 "GetKeyResponse":{
255 "type":"structure",
256 "required":[
257 "Key",
258 "Value",
259 "ItemCount",
260 "TotalSizeInBytes"
261 ],
262 "members":{
263 "Key":{"shape":"Key"},
264 "Value":{"shape":"Value"},
265 "ItemCount":{"shape":"Integer"},
266 "TotalSizeInBytes":{"shape":"Long"}
267 }
268 },
269 "Integer":{
270 "type":"integer",
271 "box":true
272 },
273 "InternalServerException":{
274 "type":"structure",
275 "members":{
276 "Message":{"shape":"String"}
277 },
278 "error":{"httpStatusCode":500},
279 "exception":true,
280 "fault":true
281 },
282 "Key":{
283 "type":"string",
284 "max":1024,
285 "min":1
286 },
287 "KvsARN":{
288 "type":"string",
289 "max":2048,
290 "min":1
291 },
292 "ListKeysRequest":{
293 "type":"structure",
294 "required":["KvsARN"],
295 "members":{
296 "KvsARN":{
297 "shape":"KvsARN",
298 "contextParam":{"name":"KvsARN"},
299 "location":"uri",
300 "locationName":"KvsARN"
301 },
302 "NextToken":{
303 "shape":"String",
304 "location":"querystring",
305 "locationName":"NextToken"
306 },
307 "MaxResults":{
308 "shape":"ListKeysRequestMaxResultsInteger",
309 "location":"querystring",
310 "locationName":"MaxResults"
311 }
312 }
313 },
314 "ListKeysRequestMaxResultsInteger":{
315 "type":"integer",
316 "box":true,
317 "max":50,
318 "min":1
319 },
320 "ListKeysResponse":{
321 "type":"structure",
322 "members":{
323 "NextToken":{"shape":"String"},
324 "Items":{"shape":"ListKeysResponseList"}
325 }
326 },
327 "ListKeysResponseList":{
328 "type":"list",
329 "member":{"shape":"ListKeysResponseListItem"}
330 },
331 "ListKeysResponseListItem":{
332 "type":"structure",
333 "required":[
334 "Key",
335 "Value"
336 ],
337 "members":{
338 "Key":{"shape":"Key"},
339 "Value":{"shape":"Value"}
340 }
341 },
342 "Long":{
343 "type":"long",
344 "box":true
345 },
346 "PutKeyRequest":{
347 "type":"structure",
348 "required":[
349 "Key",
350 "Value",
351 "KvsARN",
352 "IfMatch"
353 ],
354 "members":{
355 "Key":{
356 "shape":"Key",
357 "location":"uri",
358 "locationName":"Key"
359 },
360 "Value":{"shape":"Value"},
361 "KvsARN":{
362 "shape":"KvsARN",
363 "contextParam":{"name":"KvsARN"},
364 "location":"uri",
365 "locationName":"KvsARN"
366 },
367 "IfMatch":{
368 "shape":"Etag",
369 "location":"header",
370 "locationName":"If-Match"
371 }
372 }
373 },
374 "PutKeyRequestListItem":{
375 "type":"structure",
376 "required":[
377 "Key",
378 "Value"
379 ],
380 "members":{
381 "Key":{"shape":"Key"},
382 "Value":{"shape":"Value"}
383 }
384 },
385 "PutKeyRequestsList":{
386 "type":"list",
387 "member":{"shape":"PutKeyRequestListItem"}
388 },
389 "PutKeyResponse":{
390 "type":"structure",
391 "required":[
392 "ItemCount",
393 "TotalSizeInBytes",
394 "ETag"
395 ],
396 "members":{
397 "ItemCount":{"shape":"Integer"},
398 "TotalSizeInBytes":{"shape":"Long"},
399 "ETag":{
400 "shape":"Etag",
401 "location":"header",
402 "locationName":"ETag"
403 }
404 }
405 },
406 "ResourceNotFoundException":{
407 "type":"structure",
408 "members":{
409 "Message":{"shape":"String"}
410 },
411 "error":{
412 "httpStatusCode":404,
413 "senderFault":true
414 },
415 "exception":true
416 },
417 "ServiceQuotaExceededException":{
418 "type":"structure",
419 "members":{
420 "Message":{"shape":"String"}
421 },
422 "error":{
423 "httpStatusCode":402,
424 "senderFault":true
425 },
426 "exception":true
427 },
428 "String":{"type":"string"},
429 "Timestamp":{"type":"timestamp"},
430 "UpdateKeysRequest":{
431 "type":"structure",
432 "required":[
433 "KvsARN",
434 "IfMatch"
435 ],
436 "members":{
437 "KvsARN":{
438 "shape":"KvsARN",
439 "contextParam":{"name":"KvsARN"},
440 "location":"uri",
441 "locationName":"KvsARN"
442 },
443 "IfMatch":{
444 "shape":"Etag",
445 "location":"header",
446 "locationName":"If-Match"
447 },
448 "Puts":{"shape":"PutKeyRequestsList"},
449 "Deletes":{"shape":"DeleteKeyRequestsList"}
450 }
451 },
452 "UpdateKeysResponse":{
453 "type":"structure",
454 "required":[
455 "ItemCount",
456 "TotalSizeInBytes",
457 "ETag"
458 ],
459 "members":{
460 "ItemCount":{"shape":"Integer"},
461 "TotalSizeInBytes":{"shape":"Long"},
462 "ETag":{
463 "shape":"Etag",
464 "location":"header",
465 "locationName":"ETag"
466 }
467 }
468 },
469 "ValidationException":{
470 "type":"structure",
471 "members":{
472 "Message":{"shape":"String"}
473 },
474 "error":{
475 "httpStatusCode":400,
476 "senderFault":true
477 },
478 "exception":true
479 },
480 "Value":{
481 "type":"string",
482 "sensitive":true
483 }
484 }
485 }