Debian Codegraph @

models/apis/docdb-elastic/2022-11-28/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2022-11-28",
5 "endpointPrefix":"docdb-elastic",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceAbbreviation":"DocDB Elastic",
9 "serviceFullName":"Amazon DocumentDB Elastic Clusters",
10 "serviceId":"DocDB Elastic",
11 "signatureVersion":"v4",
12 "signingName":"docdb-elastic",
13 "uid":"docdb-elastic-2022-11-28"
14 },
15 "operations":{
16 "CreateCluster":{
17 "name":"CreateCluster",
18 "http":{
19 "method":"POST",
20 "requestUri":"/cluster",
21 "responseCode":200
22 },
23 "input":{"shape":"CreateClusterInput"},
24 "output":{"shape":"CreateClusterOutput"},
25 "errors":[
26 {"shape":"ThrottlingException"},
27 {"shape":"ValidationException"},
28 {"shape":"ServiceQuotaExceededException"},
29 {"shape":"ConflictException"},
30 {"shape":"InternalServerException"},
31 {"shape":"AccessDeniedException"}
32 ],
33 "idempotent":true
34 },
35 "CreateClusterSnapshot":{
36 "name":"CreateClusterSnapshot",
37 "http":{
38 "method":"POST",
39 "requestUri":"/cluster-snapshot",
40 "responseCode":200
41 },
42 "input":{"shape":"CreateClusterSnapshotInput"},
43 "output":{"shape":"CreateClusterSnapshotOutput"},
44 "errors":[
45 {"shape":"ThrottlingException"},
46 {"shape":"ValidationException"},
47 {"shape":"ServiceQuotaExceededException"},
48 {"shape":"ConflictException"},
49 {"shape":"InternalServerException"},
50 {"shape":"ResourceNotFoundException"},
51 {"shape":"AccessDeniedException"}
52 ],
53 "idempotent":true
54 },
55 "DeleteCluster":{
56 "name":"DeleteCluster",
57 "http":{
58 "method":"DELETE",
59 "requestUri":"/cluster/{clusterArn}",
60 "responseCode":200
61 },
62 "input":{"shape":"DeleteClusterInput"},
63 "output":{"shape":"DeleteClusterOutput"},
64 "errors":[
65 {"shape":"ThrottlingException"},
66 {"shape":"ValidationException"},
67 {"shape":"ConflictException"},
68 {"shape":"InternalServerException"},
69 {"shape":"ResourceNotFoundException"},
70 {"shape":"AccessDeniedException"}
71 ],
72 "idempotent":true
73 },
74 "DeleteClusterSnapshot":{
75 "name":"DeleteClusterSnapshot",
76 "http":{
77 "method":"DELETE",
78 "requestUri":"/cluster-snapshot/{snapshotArn}",
79 "responseCode":200
80 },
81 "input":{"shape":"DeleteClusterSnapshotInput"},
82 "output":{"shape":"DeleteClusterSnapshotOutput"},
83 "errors":[
84 {"shape":"ThrottlingException"},
85 {"shape":"ValidationException"},
86 {"shape":"ConflictException"},
87 {"shape":"InternalServerException"},
88 {"shape":"ResourceNotFoundException"},
89 {"shape":"AccessDeniedException"}
90 ],
91 "idempotent":true
92 },
93 "GetCluster":{
94 "name":"GetCluster",
95 "http":{
96 "method":"GET",
97 "requestUri":"/cluster/{clusterArn}",
98 "responseCode":200
99 },
100 "input":{"shape":"GetClusterInput"},
101 "output":{"shape":"GetClusterOutput"},
102 "errors":[
103 {"shape":"ThrottlingException"},
104 {"shape":"ValidationException"},
105 {"shape":"InternalServerException"},
106 {"shape":"ResourceNotFoundException"},
107 {"shape":"AccessDeniedException"}
108 ]
109 },
110 "GetClusterSnapshot":{
111 "name":"GetClusterSnapshot",
112 "http":{
113 "method":"GET",
114 "requestUri":"/cluster-snapshot/{snapshotArn}",
115 "responseCode":200
116 },
117 "input":{"shape":"GetClusterSnapshotInput"},
118 "output":{"shape":"GetClusterSnapshotOutput"},
119 "errors":[
120 {"shape":"ThrottlingException"},
121 {"shape":"ValidationException"},
122 {"shape":"InternalServerException"},
123 {"shape":"ResourceNotFoundException"},
124 {"shape":"AccessDeniedException"}
125 ]
126 },
127 "ListClusterSnapshots":{
128 "name":"ListClusterSnapshots",
129 "http":{
130 "method":"GET",
131 "requestUri":"/cluster-snapshots",
132 "responseCode":200
133 },
134 "input":{"shape":"ListClusterSnapshotsInput"},
135 "output":{"shape":"ListClusterSnapshotsOutput"},
136 "errors":[
137 {"shape":"ThrottlingException"},
138 {"shape":"ValidationException"},
139 {"shape":"InternalServerException"},
140 {"shape":"AccessDeniedException"}
141 ]
142 },
143 "ListClusters":{
144 "name":"ListClusters",
145 "http":{
146 "method":"GET",
147 "requestUri":"/clusters",
148 "responseCode":200
149 },
150 "input":{"shape":"ListClustersInput"},
151 "output":{"shape":"ListClustersOutput"},
152 "errors":[
153 {"shape":"ThrottlingException"},
154 {"shape":"ValidationException"},
155 {"shape":"InternalServerException"},
156 {"shape":"AccessDeniedException"}
157 ]
158 },
159 "ListTagsForResource":{
160 "name":"ListTagsForResource",
161 "http":{
162 "method":"GET",
163 "requestUri":"/tags/{resourceArn}",
164 "responseCode":200
165 },
166 "input":{"shape":"ListTagsForResourceRequest"},
167 "output":{"shape":"ListTagsForResourceResponse"},
168 "errors":[
169 {"shape":"ThrottlingException"},
170 {"shape":"ValidationException"},
171 {"shape":"InternalServerException"},
172 {"shape":"ResourceNotFoundException"}
173 ]
174 },
175 "RestoreClusterFromSnapshot":{
176 "name":"RestoreClusterFromSnapshot",
177 "http":{
178 "method":"POST",
179 "requestUri":"/cluster-snapshot/{snapshotArn}/restore",
180 "responseCode":200
181 },
182 "input":{"shape":"RestoreClusterFromSnapshotInput"},
183 "output":{"shape":"RestoreClusterFromSnapshotOutput"},
184 "errors":[
185 {"shape":"ThrottlingException"},
186 {"shape":"ValidationException"},
187 {"shape":"ServiceQuotaExceededException"},
188 {"shape":"ConflictException"},
189 {"shape":"InternalServerException"},
190 {"shape":"ResourceNotFoundException"},
191 {"shape":"AccessDeniedException"}
192 ],
193 "idempotent":true
194 },
195 "TagResource":{
196 "name":"TagResource",
197 "http":{
198 "method":"POST",
199 "requestUri":"/tags/{resourceArn}",
200 "responseCode":200
201 },
202 "input":{"shape":"TagResourceRequest"},
203 "output":{"shape":"TagResourceResponse"},
204 "errors":[
205 {"shape":"ThrottlingException"},
206 {"shape":"ValidationException"},
207 {"shape":"InternalServerException"},
208 {"shape":"ResourceNotFoundException"}
209 ]
210 },
211 "UntagResource":{
212 "name":"UntagResource",
213 "http":{
214 "method":"DELETE",
215 "requestUri":"/tags/{resourceArn}",
216 "responseCode":200
217 },
218 "input":{"shape":"UntagResourceRequest"},
219 "output":{"shape":"UntagResourceResponse"},
220 "errors":[
221 {"shape":"ThrottlingException"},
222 {"shape":"ValidationException"},
223 {"shape":"InternalServerException"},
224 {"shape":"ResourceNotFoundException"}
225 ],
226 "idempotent":true
227 },
228 "UpdateCluster":{
229 "name":"UpdateCluster",
230 "http":{
231 "method":"PUT",
232 "requestUri":"/cluster/{clusterArn}",
233 "responseCode":200
234 },
235 "input":{"shape":"UpdateClusterInput"},
236 "output":{"shape":"UpdateClusterOutput"},
237 "errors":[
238 {"shape":"ThrottlingException"},
239 {"shape":"ValidationException"},
240 {"shape":"ConflictException"},
241 {"shape":"InternalServerException"},
242 {"shape":"ResourceNotFoundException"},
243 {"shape":"AccessDeniedException"}
244 ],
245 "idempotent":true
246 }
247 },
248 "shapes":{
249 "AccessDeniedException":{
250 "type":"structure",
251 "required":["message"],
252 "members":{
253 "message":{"shape":"String"}
254 },
255 "error":{
256 "httpStatusCode":403,
257 "senderFault":true
258 },
259 "exception":true
260 },
261 "Arn":{
262 "type":"string",
263 "max":1011,
264 "min":1
265 },
266 "Auth":{
267 "type":"string",
268 "enum":[
269 "PLAIN_TEXT",
270 "SECRET_ARN"
271 ]
272 },
273 "Cluster":{
274 "type":"structure",
275 "required":[
276 "adminUserName",
277 "authType",
278 "clusterArn",
279 "clusterEndpoint",
280 "clusterName",
281 "createTime",
282 "kmsKeyId",
283 "preferredMaintenanceWindow",
284 "shardCapacity",
285 "shardCount",
286 "status",
287 "subnetIds",
288 "vpcSecurityGroupIds"
289 ],
290 "members":{
291 "adminUserName":{"shape":"String"},
292 "authType":{"shape":"Auth"},
293 "clusterArn":{"shape":"String"},
294 "clusterEndpoint":{"shape":"String"},
295 "clusterName":{"shape":"String"},
296 "createTime":{"shape":"String"},
297 "kmsKeyId":{"shape":"String"},
298 "preferredMaintenanceWindow":{"shape":"String"},
299 "shardCapacity":{"shape":"Integer"},
300 "shardCount":{"shape":"Integer"},
301 "status":{"shape":"Status"},
302 "subnetIds":{"shape":"StringList"},
303 "vpcSecurityGroupIds":{"shape":"StringList"}
304 }
305 },
306 "ClusterInList":{
307 "type":"structure",
308 "required":[
309 "clusterArn",
310 "clusterName",
311 "status"
312 ],
313 "members":{
314 "clusterArn":{"shape":"String"},
315 "clusterName":{"shape":"String"},
316 "status":{"shape":"Status"}
317 }
318 },
319 "ClusterList":{
320 "type":"list",
321 "member":{"shape":"ClusterInList"}
322 },
323 "ClusterSnapshot":{
324 "type":"structure",
325 "required":[
326 "adminUserName",
327 "clusterArn",
328 "clusterCreationTime",
329 "kmsKeyId",
330 "snapshotArn",
331 "snapshotCreationTime",
332 "snapshotName",
333 "status",
334 "subnetIds",
335 "vpcSecurityGroupIds"
336 ],
337 "members":{
338 "adminUserName":{"shape":"String"},
339 "clusterArn":{"shape":"String"},
340 "clusterCreationTime":{"shape":"String"},
341 "kmsKeyId":{"shape":"String"},
342 "snapshotArn":{"shape":"String"},
343 "snapshotCreationTime":{"shape":"String"},
344 "snapshotName":{"shape":"String"},
345 "status":{"shape":"Status"},
346 "subnetIds":{"shape":"StringList"},
347 "vpcSecurityGroupIds":{"shape":"StringList"}
348 }
349 },
350 "ClusterSnapshotInList":{
351 "type":"structure",
352 "required":[
353 "clusterArn",
354 "snapshotArn",
355 "snapshotCreationTime",
356 "snapshotName",
357 "status"
358 ],
359 "members":{
360 "clusterArn":{"shape":"String"},
361 "snapshotArn":{"shape":"String"},
362 "snapshotCreationTime":{"shape":"String"},
363 "snapshotName":{"shape":"String"},
364 "status":{"shape":"Status"}
365 }
366 },
367 "ClusterSnapshotList":{
368 "type":"list",
369 "member":{"shape":"ClusterSnapshotInList"}
370 },
371 "ConflictException":{
372 "type":"structure",
373 "required":[
374 "message",
375 "resourceId",
376 "resourceType"
377 ],
378 "members":{
379 "message":{"shape":"String"},
380 "resourceId":{"shape":"String"},
381 "resourceType":{"shape":"String"}
382 },
383 "error":{
384 "httpStatusCode":409,
385 "senderFault":true
386 },
387 "exception":true
388 },
389 "CreateClusterInput":{
390 "type":"structure",
391 "required":[
392 "adminUserName",
393 "adminUserPassword",
394 "authType",
395 "clusterName",
396 "shardCapacity",
397 "shardCount"
398 ],
399 "members":{
400 "adminUserName":{"shape":"String"},
401 "adminUserPassword":{"shape":"Password"},
402 "authType":{"shape":"Auth"},
403 "clientToken":{
404 "shape":"String",
405 "idempotencyToken":true
406 },
407 "clusterName":{"shape":"String"},
408 "kmsKeyId":{"shape":"String"},
409 "preferredMaintenanceWindow":{"shape":"String"},
410 "shardCapacity":{"shape":"Integer"},
411 "shardCount":{"shape":"Integer"},
412 "subnetIds":{"shape":"StringList"},
413 "tags":{"shape":"TagMap"},
414 "vpcSecurityGroupIds":{"shape":"StringList"}
415 }
416 },
417 "CreateClusterOutput":{
418 "type":"structure",
419 "required":["cluster"],
420 "members":{
421 "cluster":{"shape":"Cluster"}
422 }
423 },
424 "CreateClusterSnapshotInput":{
425 "type":"structure",
426 "required":[
427 "clusterArn",
428 "snapshotName"
429 ],
430 "members":{
431 "clusterArn":{"shape":"String"},
432 "snapshotName":{"shape":"CreateClusterSnapshotInputSnapshotNameString"},
433 "tags":{"shape":"TagMap"}
434 }
435 },
436 "CreateClusterSnapshotInputSnapshotNameString":{
437 "type":"string",
438 "max":63,
439 "min":1
440 },
441 "CreateClusterSnapshotOutput":{
442 "type":"structure",
443 "required":["snapshot"],
444 "members":{
445 "snapshot":{"shape":"ClusterSnapshot"}
446 }
447 },
448 "DeleteClusterInput":{
449 "type":"structure",
450 "required":["clusterArn"],
451 "members":{
452 "clusterArn":{
453 "shape":"String",
454 "location":"uri",
455 "locationName":"clusterArn"
456 }
457 }
458 },
459 "DeleteClusterOutput":{
460 "type":"structure",
461 "required":["cluster"],
462 "members":{
463 "cluster":{"shape":"Cluster"}
464 }
465 },
466 "DeleteClusterSnapshotInput":{
467 "type":"structure",
468 "required":["snapshotArn"],
469 "members":{
470 "snapshotArn":{
471 "shape":"String",
472 "location":"uri",
473 "locationName":"snapshotArn"
474 }
475 }
476 },
477 "DeleteClusterSnapshotOutput":{
478 "type":"structure",
479 "required":["snapshot"],
480 "members":{
481 "snapshot":{"shape":"ClusterSnapshot"}
482 }
483 },
484 "GetClusterInput":{
485 "type":"structure",
486 "required":["clusterArn"],
487 "members":{
488 "clusterArn":{
489 "shape":"String",
490 "location":"uri",
491 "locationName":"clusterArn"
492 }
493 }
494 },
495 "GetClusterOutput":{
496 "type":"structure",
497 "required":["cluster"],
498 "members":{
499 "cluster":{"shape":"Cluster"}
500 }
501 },
502 "GetClusterSnapshotInput":{
503 "type":"structure",
504 "required":["snapshotArn"],
505 "members":{
506 "snapshotArn":{
507 "shape":"String",
508 "location":"uri",
509 "locationName":"snapshotArn"
510 }
511 }
512 },
513 "GetClusterSnapshotOutput":{
514 "type":"structure",
515 "required":["snapshot"],
516 "members":{
517 "snapshot":{"shape":"ClusterSnapshot"}
518 }
519 },
520 "Integer":{
521 "type":"integer",
522 "box":true
523 },
524 "InternalServerException":{
525 "type":"structure",
526 "required":["message"],
527 "members":{
528 "message":{"shape":"String"}
529 },
530 "error":{"httpStatusCode":500},
531 "exception":true,
532 "fault":true,
533 "retryable":{"throttling":false}
534 },
535 "ListClusterSnapshotsInput":{
536 "type":"structure",
537 "members":{
538 "clusterArn":{
539 "shape":"String",
540 "location":"querystring",
541 "locationName":"clusterArn"
542 },
543 "maxResults":{
544 "shape":"ListClusterSnapshotsInputMaxResultsInteger",
545 "location":"querystring",
546 "locationName":"maxResults"
547 },
548 "nextToken":{
549 "shape":"PaginationToken",
550 "location":"querystring",
551 "locationName":"nextToken"
552 }
553 }
554 },
555 "ListClusterSnapshotsInputMaxResultsInteger":{
556 "type":"integer",
557 "box":true,
558 "max":100,
559 "min":20
560 },
561 "ListClusterSnapshotsOutput":{
562 "type":"structure",
563 "members":{
564 "nextToken":{"shape":"PaginationToken"},
565 "snapshots":{"shape":"ClusterSnapshotList"}
566 }
567 },
568 "ListClustersInput":{
569 "type":"structure",
570 "members":{
571 "maxResults":{
572 "shape":"ListClustersInputMaxResultsInteger",
573 "location":"querystring",
574 "locationName":"maxResults"
575 },
576 "nextToken":{
577 "shape":"PaginationToken",
578 "location":"querystring",
579 "locationName":"nextToken"
580 }
581 }
582 },
583 "ListClustersInputMaxResultsInteger":{
584 "type":"integer",
585 "box":true,
586 "max":100,
587 "min":1
588 },
589 "ListClustersOutput":{
590 "type":"structure",
591 "members":{
592 "clusters":{"shape":"ClusterList"},
593 "nextToken":{"shape":"PaginationToken"}
594 }
595 },
596 "ListTagsForResourceRequest":{
597 "type":"structure",
598 "required":["resourceArn"],
599 "members":{
600 "resourceArn":{
601 "shape":"Arn",
602 "location":"uri",
603 "locationName":"resourceArn"
604 }
605 }
606 },
607 "ListTagsForResourceResponse":{
608 "type":"structure",
609 "members":{
610 "tags":{"shape":"TagMap"}
611 }
612 },
613 "PaginationToken":{"type":"string"},
614 "Password":{
615 "type":"string",
616 "sensitive":true
617 },
618 "ResourceNotFoundException":{
619 "type":"structure",
620 "required":[
621 "message",
622 "resourceId",
623 "resourceType"
624 ],
625 "members":{
626 "message":{"shape":"String"},
627 "resourceId":{"shape":"String"},
628 "resourceType":{"shape":"String"}
629 },
630 "error":{
631 "httpStatusCode":404,
632 "senderFault":true
633 },
634 "exception":true
635 },
636 "RestoreClusterFromSnapshotInput":{
637 "type":"structure",
638 "required":[
639 "clusterName",
640 "snapshotArn"
641 ],
642 "members":{
643 "clusterName":{"shape":"String"},
644 "kmsKeyId":{"shape":"String"},
645 "snapshotArn":{
646 "shape":"String",
647 "location":"uri",
648 "locationName":"snapshotArn"
649 },
650 "subnetIds":{"shape":"StringList"},
651 "tags":{"shape":"TagMap"},
652 "vpcSecurityGroupIds":{"shape":"StringList"}
653 }
654 },
655 "RestoreClusterFromSnapshotOutput":{
656 "type":"structure",
657 "required":["cluster"],
658 "members":{
659 "cluster":{"shape":"Cluster"}
660 }
661 },
662 "ServiceQuotaExceededException":{
663 "type":"structure",
664 "required":["message"],
665 "members":{
666 "message":{"shape":"String"}
667 },
668 "error":{
669 "httpStatusCode":402,
670 "senderFault":true
671 },
672 "exception":true
673 },
674 "Status":{
675 "type":"string",
676 "enum":[
677 "CREATING",
678 "ACTIVE",
679 "DELETING",
680 "UPDATING",
681 "VPC_ENDPOINT_LIMIT_EXCEEDED",
682 "IP_ADDRESS_LIMIT_EXCEEDED",
683 "INVALID_SECURITY_GROUP_ID",
684 "INVALID_SUBNET_ID",
685 "INACCESSIBLE_ENCRYPTION_CREDS"
686 ]
687 },
688 "String":{"type":"string"},
689 "StringList":{
690 "type":"list",
691 "member":{"shape":"String"}
692 },
693 "TagKey":{
694 "type":"string",
695 "max":128,
696 "min":1,
697 "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
698 },
699 "TagKeyList":{
700 "type":"list",
701 "member":{"shape":"TagKey"},
702 "max":50,
703 "min":0
704 },
705 "TagMap":{
706 "type":"map",
707 "key":{"shape":"TagKey"},
708 "value":{"shape":"TagValue"}
709 },
710 "TagResourceRequest":{
711 "type":"structure",
712 "required":[
713 "resourceArn",
714 "tags"
715 ],
716 "members":{
717 "resourceArn":{
718 "shape":"Arn",
719 "location":"uri",
720 "locationName":"resourceArn"
721 },
722 "tags":{"shape":"TagMap"}
723 }
724 },
725 "TagResourceResponse":{
726 "type":"structure",
727 "members":{
728 }
729 },
730 "TagValue":{
731 "type":"string",
732 "max":256,
733 "min":0
734 },
735 "ThrottlingException":{
736 "type":"structure",
737 "required":["message"],
738 "members":{
739 "message":{"shape":"String"},
740 "retryAfterSeconds":{
741 "shape":"Integer",
742 "location":"header",
743 "locationName":"Retry-After"
744 }
745 },
746 "error":{
747 "httpStatusCode":429,
748 "senderFault":true
749 },
750 "exception":true,
751 "retryable":{"throttling":false}
752 },
753 "UntagResourceRequest":{
754 "type":"structure",
755 "required":[
756 "resourceArn",
757 "tagKeys"
758 ],
759 "members":{
760 "resourceArn":{
761 "shape":"Arn",
762 "location":"uri",
763 "locationName":"resourceArn"
764 },
765 "tagKeys":{
766 "shape":"TagKeyList",
767 "location":"querystring",
768 "locationName":"tagKeys"
769 }
770 }
771 },
772 "UntagResourceResponse":{
773 "type":"structure",
774 "members":{
775 }
776 },
777 "UpdateClusterInput":{
778 "type":"structure",
779 "required":["clusterArn"],
780 "members":{
781 "adminUserPassword":{"shape":"Password"},
782 "authType":{"shape":"Auth"},
783 "clientToken":{
784 "shape":"String",
785 "idempotencyToken":true
786 },
787 "clusterArn":{
788 "shape":"String",
789 "location":"uri",
790 "locationName":"clusterArn"
791 },
792 "preferredMaintenanceWindow":{"shape":"String"},
793 "shardCapacity":{"shape":"Integer"},
794 "shardCount":{"shape":"Integer"},
795 "subnetIds":{"shape":"StringList"},
796 "vpcSecurityGroupIds":{"shape":"StringList"}
797 }
798 },
799 "UpdateClusterOutput":{
800 "type":"structure",
801 "required":["cluster"],
802 "members":{
803 "cluster":{"shape":"Cluster"}
804 }
805 },
806 "ValidationException":{
807 "type":"structure",
808 "required":[
809 "message",
810 "reason"
811 ],
812 "members":{
813 "fieldList":{"shape":"ValidationExceptionFieldList"},
814 "message":{"shape":"String"},
815 "reason":{"shape":"ValidationExceptionReason"}
816 },
817 "error":{
818 "httpStatusCode":400,
819 "senderFault":true
820 },
821 "exception":true
822 },
823 "ValidationExceptionField":{
824 "type":"structure",
825 "required":[
826 "message",
827 "name"
828 ],
829 "members":{
830 "message":{"shape":"String"},
831 "name":{"shape":"String"}
832 }
833 },
834 "ValidationExceptionFieldList":{
835 "type":"list",
836 "member":{"shape":"ValidationExceptionField"}
837 },
838 "ValidationExceptionReason":{
839 "type":"string",
840 "enum":[
841 "unknownOperation",
842 "cannotParse",
843 "fieldValidationFailed",
844 "other"
845 ]
846 }
847 }
848 }