Debian Codegraph @

models/apis/repostspace/2022-05-13/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2022-05-13",
5 "endpointPrefix":"repostspace",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceFullName":"AWS re:Post Private",
9 "serviceId":"repostspace",
10 "signatureVersion":"v4",
11 "signingName":"repostspace",
12 "uid":"repostspace-2022-05-13"
13 },
14 "operations":{
15 "CreateSpace":{
16 "name":"CreateSpace",
17 "http":{
18 "method":"POST",
19 "requestUri":"/spaces",
20 "responseCode":200
21 },
22 "input":{"shape":"CreateSpaceInput"},
23 "output":{"shape":"CreateSpaceOutput"},
24 "errors":[
25 {"shape":"ServiceQuotaExceededException"},
26 {"shape":"AccessDeniedException"},
27 {"shape":"ConflictException"},
28 {"shape":"ValidationException"},
29 {"shape":"ResourceNotFoundException"},
30 {"shape":"ThrottlingException"},
31 {"shape":"InternalServerException"}
32 ],
33 "idempotent":true
34 },
35 "DeleteSpace":{
36 "name":"DeleteSpace",
37 "http":{
38 "method":"DELETE",
39 "requestUri":"/spaces/{spaceId}",
40 "responseCode":200
41 },
42 "input":{"shape":"DeleteSpaceInput"},
43 "errors":[
44 {"shape":"AccessDeniedException"},
45 {"shape":"ValidationException"},
46 {"shape":"ResourceNotFoundException"},
47 {"shape":"ThrottlingException"},
48 {"shape":"InternalServerException"}
49 ],
50 "idempotent":true
51 },
52 "DeregisterAdmin":{
53 "name":"DeregisterAdmin",
54 "http":{
55 "method":"DELETE",
56 "requestUri":"/spaces/{spaceId}/admins/{adminId}",
57 "responseCode":200
58 },
59 "input":{"shape":"DeregisterAdminInput"},
60 "errors":[
61 {"shape":"AccessDeniedException"},
62 {"shape":"ValidationException"},
63 {"shape":"ResourceNotFoundException"},
64 {"shape":"ThrottlingException"},
65 {"shape":"InternalServerException"}
66 ],
67 "idempotent":true
68 },
69 "GetSpace":{
70 "name":"GetSpace",
71 "http":{
72 "method":"GET",
73 "requestUri":"/spaces/{spaceId}",
74 "responseCode":200
75 },
76 "input":{"shape":"GetSpaceInput"},
77 "output":{"shape":"GetSpaceOutput"},
78 "errors":[
79 {"shape":"AccessDeniedException"},
80 {"shape":"ValidationException"},
81 {"shape":"ResourceNotFoundException"},
82 {"shape":"ThrottlingException"},
83 {"shape":"InternalServerException"}
84 ]
85 },
86 "ListSpaces":{
87 "name":"ListSpaces",
88 "http":{
89 "method":"GET",
90 "requestUri":"/spaces",
91 "responseCode":200
92 },
93 "input":{"shape":"ListSpacesInput"},
94 "output":{"shape":"ListSpacesOutput"},
95 "errors":[
96 {"shape":"AccessDeniedException"},
97 {"shape":"ValidationException"},
98 {"shape":"ThrottlingException"},
99 {"shape":"InternalServerException"}
100 ]
101 },
102 "ListTagsForResource":{
103 "name":"ListTagsForResource",
104 "http":{
105 "method":"GET",
106 "requestUri":"/tags/{resourceArn}",
107 "responseCode":200
108 },
109 "input":{"shape":"ListTagsForResourceRequest"},
110 "output":{"shape":"ListTagsForResourceResponse"},
111 "errors":[
112 {"shape":"AccessDeniedException"},
113 {"shape":"ValidationException"},
114 {"shape":"ResourceNotFoundException"},
115 {"shape":"ThrottlingException"},
116 {"shape":"InternalServerException"}
117 ]
118 },
119 "RegisterAdmin":{
120 "name":"RegisterAdmin",
121 "http":{
122 "method":"POST",
123 "requestUri":"/spaces/{spaceId}/admins/{adminId}",
124 "responseCode":200
125 },
126 "input":{"shape":"RegisterAdminInput"},
127 "errors":[
128 {"shape":"AccessDeniedException"},
129 {"shape":"ValidationException"},
130 {"shape":"ResourceNotFoundException"},
131 {"shape":"ThrottlingException"},
132 {"shape":"InternalServerException"}
133 ],
134 "idempotent":true
135 },
136 "SendInvites":{
137 "name":"SendInvites",
138 "http":{
139 "method":"POST",
140 "requestUri":"/spaces/{spaceId}/invite",
141 "responseCode":200
142 },
143 "input":{"shape":"SendInvitesInput"},
144 "errors":[
145 {"shape":"AccessDeniedException"},
146 {"shape":"ValidationException"},
147 {"shape":"ResourceNotFoundException"},
148 {"shape":"ThrottlingException"},
149 {"shape":"InternalServerException"}
150 ],
151 "idempotent":true
152 },
153 "TagResource":{
154 "name":"TagResource",
155 "http":{
156 "method":"POST",
157 "requestUri":"/tags/{resourceArn}",
158 "responseCode":200
159 },
160 "input":{"shape":"TagResourceRequest"},
161 "output":{"shape":"TagResourceResponse"},
162 "errors":[
163 {"shape":"AccessDeniedException"},
164 {"shape":"ValidationException"},
165 {"shape":"ResourceNotFoundException"},
166 {"shape":"ThrottlingException"},
167 {"shape":"InternalServerException"}
168 ],
169 "idempotent":true
170 },
171 "UntagResource":{
172 "name":"UntagResource",
173 "http":{
174 "method":"DELETE",
175 "requestUri":"/tags/{resourceArn}",
176 "responseCode":200
177 },
178 "input":{"shape":"UntagResourceRequest"},
179 "output":{"shape":"UntagResourceResponse"},
180 "errors":[
181 {"shape":"AccessDeniedException"},
182 {"shape":"ValidationException"},
183 {"shape":"ResourceNotFoundException"},
184 {"shape":"ThrottlingException"},
185 {"shape":"InternalServerException"}
186 ],
187 "idempotent":true
188 },
189 "UpdateSpace":{
190 "name":"UpdateSpace",
191 "http":{
192 "method":"PUT",
193 "requestUri":"/spaces/{spaceId}",
194 "responseCode":200
195 },
196 "input":{"shape":"UpdateSpaceInput"},
197 "errors":[
198 {"shape":"AccessDeniedException"},
199 {"shape":"ConflictException"},
200 {"shape":"ValidationException"},
201 {"shape":"ResourceNotFoundException"},
202 {"shape":"ThrottlingException"},
203 {"shape":"InternalServerException"}
204 ],
205 "idempotent":true
206 }
207 },
208 "shapes":{
209 "AccessDeniedException":{
210 "type":"structure",
211 "required":["message"],
212 "members":{
213 "message":{"shape":"String"}
214 },
215 "error":{
216 "httpStatusCode":403,
217 "senderFault":true
218 },
219 "exception":true
220 },
221 "AccessorId":{"type":"string"},
222 "AccessorIdList":{
223 "type":"list",
224 "member":{"shape":"AccessorId"},
225 "max":1000,
226 "min":0
227 },
228 "AdminId":{"type":"string"},
229 "Arn":{
230 "type":"string",
231 "max":2048,
232 "min":20
233 },
234 "ClientId":{"type":"string"},
235 "ConfigurationStatus":{
236 "type":"string",
237 "enum":[
238 "CONFIGURED",
239 "UNCONFIGURED"
240 ]
241 },
242 "ConflictException":{
243 "type":"structure",
244 "required":[
245 "message",
246 "resourceId",
247 "resourceType"
248 ],
249 "members":{
250 "message":{"shape":"String"},
251 "resourceId":{"shape":"String"},
252 "resourceType":{"shape":"String"}
253 },
254 "error":{
255 "httpStatusCode":409,
256 "senderFault":true
257 },
258 "exception":true
259 },
260 "ContentSize":{
261 "type":"long",
262 "box":true
263 },
264 "CreateSpaceInput":{
265 "type":"structure",
266 "required":[
267 "name",
268 "subdomain",
269 "tier"
270 ],
271 "members":{
272 "description":{"shape":"SpaceDescription"},
273 "name":{"shape":"SpaceName"},
274 "roleArn":{"shape":"Arn"},
275 "subdomain":{"shape":"SpaceSubdomain"},
276 "tags":{"shape":"Tags"},
277 "tier":{"shape":"TierLevel"},
278 "userKMSKey":{"shape":"KMSKey"}
279 }
280 },
281 "CreateSpaceOutput":{
282 "type":"structure",
283 "required":["spaceId"],
284 "members":{
285 "spaceId":{"shape":"SpaceId"}
286 }
287 },
288 "DeleteSpaceInput":{
289 "type":"structure",
290 "required":["spaceId"],
291 "members":{
292 "spaceId":{
293 "shape":"SpaceId",
294 "location":"uri",
295 "locationName":"spaceId"
296 }
297 }
298 },
299 "DeregisterAdminInput":{
300 "type":"structure",
301 "required":[
302 "adminId",
303 "spaceId"
304 ],
305 "members":{
306 "adminId":{
307 "shape":"AdminId",
308 "location":"uri",
309 "locationName":"adminId"
310 },
311 "spaceId":{
312 "shape":"SpaceId",
313 "location":"uri",
314 "locationName":"spaceId"
315 }
316 }
317 },
318 "GetSpaceInput":{
319 "type":"structure",
320 "required":["spaceId"],
321 "members":{
322 "spaceId":{
323 "shape":"SpaceId",
324 "location":"uri",
325 "locationName":"spaceId"
326 }
327 }
328 },
329 "GetSpaceOutput":{
330 "type":"structure",
331 "required":[
332 "arn",
333 "clientId",
334 "configurationStatus",
335 "createDateTime",
336 "name",
337 "randomDomain",
338 "spaceId",
339 "status",
340 "storageLimit",
341 "tier",
342 "vanityDomain",
343 "vanityDomainStatus"
344 ],
345 "members":{
346 "arn":{"shape":"Arn"},
347 "clientId":{"shape":"ClientId"},
348 "configurationStatus":{"shape":"ConfigurationStatus"},
349 "contentSize":{"shape":"ContentSize"},
350 "createDateTime":{"shape":"SyntheticTimestamp_date_time"},
351 "customerRoleArn":{"shape":"Arn"},
352 "deleteDateTime":{"shape":"SyntheticTimestamp_date_time"},
353 "description":{"shape":"SpaceDescription"},
354 "groupAdmins":{"shape":"GroupAdmins"},
355 "name":{"shape":"SpaceName"},
356 "randomDomain":{"shape":"Url"},
357 "spaceId":{"shape":"SpaceId"},
358 "status":{"shape":"ProvisioningStatus"},
359 "storageLimit":{"shape":"StorageLimit"},
360 "tier":{"shape":"TierLevel"},
361 "userAdmins":{"shape":"UserAdmins"},
362 "userCount":{"shape":"UserCount"},
363 "userKMSKey":{"shape":"KMSKey"},
364 "vanityDomain":{"shape":"Url"},
365 "vanityDomainStatus":{"shape":"VanityDomainStatus"}
366 }
367 },
368 "GroupAdmins":{
369 "type":"list",
370 "member":{"shape":"AdminId"}
371 },
372 "Integer":{
373 "type":"integer",
374 "box":true
375 },
376 "InternalServerException":{
377 "type":"structure",
378 "required":["message"],
379 "members":{
380 "message":{"shape":"String"},
381 "retryAfterSeconds":{
382 "shape":"Integer",
383 "location":"header",
384 "locationName":"Retry-After"
385 }
386 },
387 "error":{"httpStatusCode":500},
388 "exception":true,
389 "fault":true,
390 "retryable":{"throttling":false}
391 },
392 "InviteBody":{
393 "type":"string",
394 "max":600,
395 "min":1,
396 "sensitive":true
397 },
398 "InviteTitle":{
399 "type":"string",
400 "max":200,
401 "min":1,
402 "sensitive":true
403 },
404 "KMSKey":{"type":"string"},
405 "ListSpacesInput":{
406 "type":"structure",
407 "members":{
408 "maxResults":{
409 "shape":"ListSpacesLimit",
410 "location":"querystring",
411 "locationName":"maxResults"
412 },
413 "nextToken":{
414 "shape":"String",
415 "location":"querystring",
416 "locationName":"nextToken"
417 }
418 }
419 },
420 "ListSpacesLimit":{
421 "type":"integer",
422 "box":true,
423 "max":100,
424 "min":1
425 },
426 "ListSpacesOutput":{
427 "type":"structure",
428 "required":["spaces"],
429 "members":{
430 "nextToken":{"shape":"String"},
431 "spaces":{"shape":"SpacesList"}
432 }
433 },
434 "ListTagsForResourceRequest":{
435 "type":"structure",
436 "required":["resourceArn"],
437 "members":{
438 "resourceArn":{
439 "shape":"Arn",
440 "location":"uri",
441 "locationName":"resourceArn"
442 }
443 }
444 },
445 "ListTagsForResourceResponse":{
446 "type":"structure",
447 "members":{
448 "tags":{"shape":"Tags"}
449 }
450 },
451 "ProvisioningStatus":{
452 "type":"string",
453 "max":30,
454 "min":1
455 },
456 "RegisterAdminInput":{
457 "type":"structure",
458 "required":[
459 "adminId",
460 "spaceId"
461 ],
462 "members":{
463 "adminId":{
464 "shape":"AdminId",
465 "location":"uri",
466 "locationName":"adminId"
467 },
468 "spaceId":{
469 "shape":"SpaceId",
470 "location":"uri",
471 "locationName":"spaceId"
472 }
473 }
474 },
475 "ResourceNotFoundException":{
476 "type":"structure",
477 "required":[
478 "message",
479 "resourceId",
480 "resourceType"
481 ],
482 "members":{
483 "message":{"shape":"String"},
484 "resourceId":{"shape":"String"},
485 "resourceType":{"shape":"String"}
486 },
487 "error":{
488 "httpStatusCode":404,
489 "senderFault":true
490 },
491 "exception":true
492 },
493 "SendInvitesInput":{
494 "type":"structure",
495 "required":[
496 "accessorIds",
497 "body",
498 "spaceId",
499 "title"
500 ],
501 "members":{
502 "accessorIds":{"shape":"AccessorIdList"},
503 "body":{"shape":"InviteBody"},
504 "spaceId":{
505 "shape":"SpaceId",
506 "location":"uri",
507 "locationName":"spaceId"
508 },
509 "title":{"shape":"InviteTitle"}
510 }
511 },
512 "ServiceQuotaExceededException":{
513 "type":"structure",
514 "required":[
515 "message",
516 "quotaCode",
517 "resourceId",
518 "resourceType",
519 "serviceCode"
520 ],
521 "members":{
522 "message":{"shape":"String"},
523 "quotaCode":{"shape":"String"},
524 "resourceId":{"shape":"String"},
525 "resourceType":{"shape":"String"},
526 "serviceCode":{"shape":"String"}
527 },
528 "error":{
529 "httpStatusCode":402,
530 "senderFault":true
531 },
532 "exception":true
533 },
534 "SpaceData":{
535 "type":"structure",
536 "required":[
537 "arn",
538 "configurationStatus",
539 "createDateTime",
540 "name",
541 "randomDomain",
542 "spaceId",
543 "status",
544 "storageLimit",
545 "tier",
546 "vanityDomain",
547 "vanityDomainStatus"
548 ],
549 "members":{
550 "arn":{"shape":"Arn"},
551 "configurationStatus":{"shape":"ConfigurationStatus"},
552 "contentSize":{"shape":"ContentSize"},
553 "createDateTime":{"shape":"SyntheticTimestamp_date_time"},
554 "deleteDateTime":{"shape":"SyntheticTimestamp_date_time"},
555 "description":{"shape":"SpaceDescription"},
556 "name":{"shape":"SpaceName"},
557 "randomDomain":{"shape":"Url"},
558 "spaceId":{"shape":"SpaceId"},
559 "status":{"shape":"ProvisioningStatus"},
560 "storageLimit":{"shape":"StorageLimit"},
561 "tier":{"shape":"TierLevel"},
562 "userCount":{"shape":"UserCount"},
563 "userKMSKey":{"shape":"KMSKey"},
564 "vanityDomain":{"shape":"Url"},
565 "vanityDomainStatus":{"shape":"VanityDomainStatus"}
566 }
567 },
568 "SpaceDescription":{
569 "type":"string",
570 "max":255,
571 "min":1,
572 "sensitive":true
573 },
574 "SpaceId":{"type":"string"},
575 "SpaceName":{
576 "type":"string",
577 "max":30,
578 "min":1,
579 "sensitive":true
580 },
581 "SpaceSubdomain":{
582 "type":"string",
583 "max":63,
584 "min":1
585 },
586 "SpacesList":{
587 "type":"list",
588 "member":{"shape":"SpaceData"}
589 },
590 "StorageLimit":{
591 "type":"long",
592 "box":true
593 },
594 "String":{"type":"string"},
595 "SyntheticTimestamp_date_time":{
596 "type":"timestamp",
597 "timestampFormat":"iso8601"
598 },
599 "TagKey":{
600 "type":"string",
601 "max":128,
602 "min":1,
603 "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
604 },
605 "TagKeyList":{
606 "type":"list",
607 "member":{"shape":"TagKey"},
608 "max":50,
609 "min":1
610 },
611 "TagResourceRequest":{
612 "type":"structure",
613 "required":[
614 "resourceArn",
615 "tags"
616 ],
617 "members":{
618 "resourceArn":{
619 "shape":"Arn",
620 "location":"uri",
621 "locationName":"resourceArn"
622 },
623 "tags":{"shape":"Tags"}
624 }
625 },
626 "TagResourceResponse":{
627 "type":"structure",
628 "members":{
629 }
630 },
631 "TagValue":{
632 "type":"string",
633 "max":256,
634 "min":1
635 },
636 "Tags":{
637 "type":"map",
638 "key":{"shape":"TagKey"},
639 "value":{"shape":"TagValue"},
640 "sensitive":true
641 },
642 "ThrottlingException":{
643 "type":"structure",
644 "required":["message"],
645 "members":{
646 "message":{"shape":"String"},
647 "quotaCode":{"shape":"String"},
648 "retryAfterSeconds":{
649 "shape":"Integer",
650 "location":"header",
651 "locationName":"Retry-After"
652 },
653 "serviceCode":{"shape":"String"}
654 },
655 "error":{
656 "httpStatusCode":429,
657 "senderFault":true
658 },
659 "exception":true,
660 "retryable":{"throttling":true}
661 },
662 "TierLevel":{
663 "type":"string",
664 "enum":[
665 "BASIC",
666 "STANDARD"
667 ]
668 },
669 "UntagResourceRequest":{
670 "type":"structure",
671 "required":[
672 "resourceArn",
673 "tagKeys"
674 ],
675 "members":{
676 "resourceArn":{
677 "shape":"Arn",
678 "location":"uri",
679 "locationName":"resourceArn"
680 },
681 "tagKeys":{
682 "shape":"TagKeyList",
683 "location":"querystring",
684 "locationName":"tagKeys"
685 }
686 }
687 },
688 "UntagResourceResponse":{
689 "type":"structure",
690 "members":{
691 }
692 },
693 "UpdateSpaceInput":{
694 "type":"structure",
695 "required":["spaceId"],
696 "members":{
697 "description":{"shape":"SpaceDescription"},
698 "roleArn":{"shape":"Arn"},
699 "spaceId":{
700 "shape":"SpaceId",
701 "location":"uri",
702 "locationName":"spaceId"
703 },
704 "tier":{"shape":"TierLevel"}
705 }
706 },
707 "Url":{"type":"string"},
708 "UserAdmins":{
709 "type":"list",
710 "member":{"shape":"AdminId"}
711 },
712 "UserCount":{
713 "type":"integer",
714 "box":true
715 },
716 "ValidationException":{
717 "type":"structure",
718 "required":[
719 "message",
720 "reason"
721 ],
722 "members":{
723 "fieldList":{"shape":"ValidationExceptionFieldList"},
724 "message":{"shape":"String"},
725 "reason":{"shape":"ValidationExceptionReason"}
726 },
727 "error":{
728 "httpStatusCode":400,
729 "senderFault":true
730 },
731 "exception":true
732 },
733 "ValidationExceptionField":{
734 "type":"structure",
735 "required":[
736 "message",
737 "name"
738 ],
739 "members":{
740 "message":{"shape":"String"},
741 "name":{"shape":"String"}
742 }
743 },
744 "ValidationExceptionFieldList":{
745 "type":"list",
746 "member":{"shape":"ValidationExceptionField"}
747 },
748 "ValidationExceptionReason":{
749 "type":"string",
750 "enum":[
751 "unknownOperation",
752 "cannotParse",
753 "fieldValidationFailed",
754 "other"
755 ]
756 },
757 "VanityDomainStatus":{
758 "type":"string",
759 "enum":[
760 "PENDING",
761 "APPROVED",
762 "UNAPPROVED"
763 ]
764 }
765 }
766 }