Debian Codegraph @

models/apis/amp/2020-08-01/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2020-08-01",
5 "endpointPrefix":"aps",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceFullName":"Amazon Prometheus Service",
9 "serviceId":"amp",
10 "signatureVersion":"v4",
11 "signingName":"aps",
12 "uid":"amp-2020-08-01"
13 },
14 "operations":{
15 "CreateAlertManagerDefinition":{
16 "name":"CreateAlertManagerDefinition",
17 "http":{
18 "method":"POST",
19 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition",
20 "responseCode":202
21 },
22 "input":{"shape":"CreateAlertManagerDefinitionRequest"},
23 "output":{"shape":"CreateAlertManagerDefinitionResponse"},
24 "errors":[
25 {"shape":"ThrottlingException"},
26 {"shape":"ConflictException"},
27 {"shape":"ValidationException"},
28 {"shape":"ResourceNotFoundException"},
29 {"shape":"AccessDeniedException"},
30 {"shape":"InternalServerException"},
31 {"shape":"ServiceQuotaExceededException"}
32 ],
33 "idempotent":true
34 },
35 "CreateLoggingConfiguration":{
36 "name":"CreateLoggingConfiguration",
37 "http":{
38 "method":"POST",
39 "requestUri":"/workspaces/{workspaceId}/logging",
40 "responseCode":202
41 },
42 "input":{"shape":"CreateLoggingConfigurationRequest"},
43 "output":{"shape":"CreateLoggingConfigurationResponse"},
44 "errors":[
45 {"shape":"ValidationException"},
46 {"shape":"ResourceNotFoundException"},
47 {"shape":"AccessDeniedException"},
48 {"shape":"InternalServerException"}
49 ],
50 "idempotent":true
51 },
52 "CreateRuleGroupsNamespace":{
53 "name":"CreateRuleGroupsNamespace",
54 "http":{
55 "method":"POST",
56 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces",
57 "responseCode":202
58 },
59 "input":{"shape":"CreateRuleGroupsNamespaceRequest"},
60 "output":{"shape":"CreateRuleGroupsNamespaceResponse"},
61 "errors":[
62 {"shape":"ThrottlingException"},
63 {"shape":"ConflictException"},
64 {"shape":"ValidationException"},
65 {"shape":"ResourceNotFoundException"},
66 {"shape":"AccessDeniedException"},
67 {"shape":"InternalServerException"},
68 {"shape":"ServiceQuotaExceededException"}
69 ],
70 "idempotent":true
71 },
72 "CreateScraper":{
73 "name":"CreateScraper",
74 "http":{
75 "method":"POST",
76 "requestUri":"/scrapers",
77 "responseCode":202
78 },
79 "input":{"shape":"CreateScraperRequest"},
80 "output":{"shape":"CreateScraperResponse"},
81 "errors":[
82 {"shape":"ThrottlingException"},
83 {"shape":"ConflictException"},
84 {"shape":"ValidationException"},
85 {"shape":"ResourceNotFoundException"},
86 {"shape":"AccessDeniedException"},
87 {"shape":"InternalServerException"},
88 {"shape":"ServiceQuotaExceededException"}
89 ],
90 "idempotent":true
91 },
92 "CreateWorkspace":{
93 "name":"CreateWorkspace",
94 "http":{
95 "method":"POST",
96 "requestUri":"/workspaces",
97 "responseCode":202
98 },
99 "input":{"shape":"CreateWorkspaceRequest"},
100 "output":{"shape":"CreateWorkspaceResponse"},
101 "errors":[
102 {"shape":"ThrottlingException"},
103 {"shape":"ConflictException"},
104 {"shape":"ValidationException"},
105 {"shape":"AccessDeniedException"},
106 {"shape":"InternalServerException"},
107 {"shape":"ServiceQuotaExceededException"}
108 ],
109 "idempotent":true
110 },
111 "DeleteAlertManagerDefinition":{
112 "name":"DeleteAlertManagerDefinition",
113 "http":{
114 "method":"DELETE",
115 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition",
116 "responseCode":202
117 },
118 "input":{"shape":"DeleteAlertManagerDefinitionRequest"},
119 "errors":[
120 {"shape":"ThrottlingException"},
121 {"shape":"ConflictException"},
122 {"shape":"ValidationException"},
123 {"shape":"ResourceNotFoundException"},
124 {"shape":"AccessDeniedException"},
125 {"shape":"InternalServerException"}
126 ],
127 "idempotent":true
128 },
129 "DeleteLoggingConfiguration":{
130 "name":"DeleteLoggingConfiguration",
131 "http":{
132 "method":"DELETE",
133 "requestUri":"/workspaces/{workspaceId}/logging",
134 "responseCode":202
135 },
136 "input":{"shape":"DeleteLoggingConfigurationRequest"},
137 "errors":[
138 {"shape":"ConflictException"},
139 {"shape":"ValidationException"},
140 {"shape":"ResourceNotFoundException"},
141 {"shape":"AccessDeniedException"},
142 {"shape":"InternalServerException"}
143 ],
144 "idempotent":true
145 },
146 "DeleteRuleGroupsNamespace":{
147 "name":"DeleteRuleGroupsNamespace",
148 "http":{
149 "method":"DELETE",
150 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
151 "responseCode":202
152 },
153 "input":{"shape":"DeleteRuleGroupsNamespaceRequest"},
154 "errors":[
155 {"shape":"ThrottlingException"},
156 {"shape":"ConflictException"},
157 {"shape":"ValidationException"},
158 {"shape":"ResourceNotFoundException"},
159 {"shape":"AccessDeniedException"},
160 {"shape":"InternalServerException"}
161 ],
162 "idempotent":true
163 },
164 "DeleteScraper":{
165 "name":"DeleteScraper",
166 "http":{
167 "method":"DELETE",
168 "requestUri":"/scrapers/{scraperId}",
169 "responseCode":202
170 },
171 "input":{"shape":"DeleteScraperRequest"},
172 "output":{"shape":"DeleteScraperResponse"},
173 "errors":[
174 {"shape":"ThrottlingException"},
175 {"shape":"ConflictException"},
176 {"shape":"ValidationException"},
177 {"shape":"ResourceNotFoundException"},
178 {"shape":"AccessDeniedException"},
179 {"shape":"InternalServerException"}
180 ],
181 "idempotent":true
182 },
183 "DeleteWorkspace":{
184 "name":"DeleteWorkspace",
185 "http":{
186 "method":"DELETE",
187 "requestUri":"/workspaces/{workspaceId}",
188 "responseCode":202
189 },
190 "input":{"shape":"DeleteWorkspaceRequest"},
191 "errors":[
192 {"shape":"ThrottlingException"},
193 {"shape":"ConflictException"},
194 {"shape":"ValidationException"},
195 {"shape":"ResourceNotFoundException"},
196 {"shape":"AccessDeniedException"},
197 {"shape":"InternalServerException"}
198 ],
199 "idempotent":true
200 },
201 "DescribeAlertManagerDefinition":{
202 "name":"DescribeAlertManagerDefinition",
203 "http":{
204 "method":"GET",
205 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition",
206 "responseCode":200
207 },
208 "input":{"shape":"DescribeAlertManagerDefinitionRequest"},
209 "output":{"shape":"DescribeAlertManagerDefinitionResponse"},
210 "errors":[
211 {"shape":"ThrottlingException"},
212 {"shape":"ValidationException"},
213 {"shape":"ResourceNotFoundException"},
214 {"shape":"AccessDeniedException"},
215 {"shape":"InternalServerException"}
216 ]
217 },
218 "DescribeLoggingConfiguration":{
219 "name":"DescribeLoggingConfiguration",
220 "http":{
221 "method":"GET",
222 "requestUri":"/workspaces/{workspaceId}/logging",
223 "responseCode":200
224 },
225 "input":{"shape":"DescribeLoggingConfigurationRequest"},
226 "output":{"shape":"DescribeLoggingConfigurationResponse"},
227 "errors":[
228 {"shape":"ValidationException"},
229 {"shape":"ResourceNotFoundException"},
230 {"shape":"AccessDeniedException"},
231 {"shape":"InternalServerException"}
232 ]
233 },
234 "DescribeRuleGroupsNamespace":{
235 "name":"DescribeRuleGroupsNamespace",
236 "http":{
237 "method":"GET",
238 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
239 "responseCode":200
240 },
241 "input":{"shape":"DescribeRuleGroupsNamespaceRequest"},
242 "output":{"shape":"DescribeRuleGroupsNamespaceResponse"},
243 "errors":[
244 {"shape":"ThrottlingException"},
245 {"shape":"ValidationException"},
246 {"shape":"ResourceNotFoundException"},
247 {"shape":"AccessDeniedException"},
248 {"shape":"InternalServerException"}
249 ]
250 },
251 "DescribeScraper":{
252 "name":"DescribeScraper",
253 "http":{
254 "method":"GET",
255 "requestUri":"/scrapers/{scraperId}",
256 "responseCode":200
257 },
258 "input":{"shape":"DescribeScraperRequest"},
259 "output":{"shape":"DescribeScraperResponse"},
260 "errors":[
261 {"shape":"ThrottlingException"},
262 {"shape":"ValidationException"},
263 {"shape":"ResourceNotFoundException"},
264 {"shape":"AccessDeniedException"},
265 {"shape":"InternalServerException"}
266 ]
267 },
268 "DescribeWorkspace":{
269 "name":"DescribeWorkspace",
270 "http":{
271 "method":"GET",
272 "requestUri":"/workspaces/{workspaceId}",
273 "responseCode":200
274 },
275 "input":{"shape":"DescribeWorkspaceRequest"},
276 "output":{"shape":"DescribeWorkspaceResponse"},
277 "errors":[
278 {"shape":"ThrottlingException"},
279 {"shape":"ValidationException"},
280 {"shape":"ResourceNotFoundException"},
281 {"shape":"AccessDeniedException"},
282 {"shape":"InternalServerException"}
283 ]
284 },
285 "GetDefaultScraperConfiguration":{
286 "name":"GetDefaultScraperConfiguration",
287 "http":{
288 "method":"GET",
289 "requestUri":"/scraperconfiguration",
290 "responseCode":200
291 },
292 "input":{"shape":"GetDefaultScraperConfigurationRequest"},
293 "output":{"shape":"GetDefaultScraperConfigurationResponse"},
294 "errors":[
295 {"shape":"ThrottlingException"},
296 {"shape":"AccessDeniedException"},
297 {"shape":"InternalServerException"}
298 ]
299 },
300 "ListRuleGroupsNamespaces":{
301 "name":"ListRuleGroupsNamespaces",
302 "http":{
303 "method":"GET",
304 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces",
305 "responseCode":200
306 },
307 "input":{"shape":"ListRuleGroupsNamespacesRequest"},
308 "output":{"shape":"ListRuleGroupsNamespacesResponse"},
309 "errors":[
310 {"shape":"ThrottlingException"},
311 {"shape":"ValidationException"},
312 {"shape":"ResourceNotFoundException"},
313 {"shape":"AccessDeniedException"},
314 {"shape":"InternalServerException"}
315 ]
316 },
317 "ListScrapers":{
318 "name":"ListScrapers",
319 "http":{
320 "method":"GET",
321 "requestUri":"/scrapers",
322 "responseCode":200
323 },
324 "input":{"shape":"ListScrapersRequest"},
325 "output":{"shape":"ListScrapersResponse"},
326 "errors":[
327 {"shape":"ThrottlingException"},
328 {"shape":"ValidationException"},
329 {"shape":"AccessDeniedException"},
330 {"shape":"InternalServerException"}
331 ]
332 },
333 "ListTagsForResource":{
334 "name":"ListTagsForResource",
335 "http":{
336 "method":"GET",
337 "requestUri":"/tags/{resourceArn}",
338 "responseCode":200
339 },
340 "input":{"shape":"ListTagsForResourceRequest"},
341 "output":{"shape":"ListTagsForResourceResponse"},
342 "errors":[
343 {"shape":"ThrottlingException"},
344 {"shape":"ValidationException"},
345 {"shape":"ResourceNotFoundException"},
346 {"shape":"AccessDeniedException"},
347 {"shape":"InternalServerException"}
348 ]
349 },
350 "ListWorkspaces":{
351 "name":"ListWorkspaces",
352 "http":{
353 "method":"GET",
354 "requestUri":"/workspaces",
355 "responseCode":200
356 },
357 "input":{"shape":"ListWorkspacesRequest"},
358 "output":{"shape":"ListWorkspacesResponse"},
359 "errors":[
360 {"shape":"ThrottlingException"},
361 {"shape":"ValidationException"},
362 {"shape":"AccessDeniedException"},
363 {"shape":"InternalServerException"}
364 ]
365 },
366 "PutAlertManagerDefinition":{
367 "name":"PutAlertManagerDefinition",
368 "http":{
369 "method":"PUT",
370 "requestUri":"/workspaces/{workspaceId}/alertmanager/definition",
371 "responseCode":202
372 },
373 "input":{"shape":"PutAlertManagerDefinitionRequest"},
374 "output":{"shape":"PutAlertManagerDefinitionResponse"},
375 "errors":[
376 {"shape":"ThrottlingException"},
377 {"shape":"ConflictException"},
378 {"shape":"ValidationException"},
379 {"shape":"ResourceNotFoundException"},
380 {"shape":"AccessDeniedException"},
381 {"shape":"InternalServerException"},
382 {"shape":"ServiceQuotaExceededException"}
383 ],
384 "idempotent":true
385 },
386 "PutRuleGroupsNamespace":{
387 "name":"PutRuleGroupsNamespace",
388 "http":{
389 "method":"PUT",
390 "requestUri":"/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
391 "responseCode":202
392 },
393 "input":{"shape":"PutRuleGroupsNamespaceRequest"},
394 "output":{"shape":"PutRuleGroupsNamespaceResponse"},
395 "errors":[
396 {"shape":"ThrottlingException"},
397 {"shape":"ConflictException"},
398 {"shape":"ValidationException"},
399 {"shape":"ResourceNotFoundException"},
400 {"shape":"AccessDeniedException"},
401 {"shape":"InternalServerException"},
402 {"shape":"ServiceQuotaExceededException"}
403 ],
404 "idempotent":true
405 },
406 "TagResource":{
407 "name":"TagResource",
408 "http":{
409 "method":"POST",
410 "requestUri":"/tags/{resourceArn}",
411 "responseCode":200
412 },
413 "input":{"shape":"TagResourceRequest"},
414 "output":{"shape":"TagResourceResponse"},
415 "errors":[
416 {"shape":"ThrottlingException"},
417 {"shape":"ValidationException"},
418 {"shape":"ResourceNotFoundException"},
419 {"shape":"AccessDeniedException"},
420 {"shape":"InternalServerException"}
421 ]
422 },
423 "UntagResource":{
424 "name":"UntagResource",
425 "http":{
426 "method":"DELETE",
427 "requestUri":"/tags/{resourceArn}",
428 "responseCode":200
429 },
430 "input":{"shape":"UntagResourceRequest"},
431 "output":{"shape":"UntagResourceResponse"},
432 "errors":[
433 {"shape":"ThrottlingException"},
434 {"shape":"ValidationException"},
435 {"shape":"ResourceNotFoundException"},
436 {"shape":"AccessDeniedException"},
437 {"shape":"InternalServerException"}
438 ],
439 "idempotent":true
440 },
441 "UpdateLoggingConfiguration":{
442 "name":"UpdateLoggingConfiguration",
443 "http":{
444 "method":"PUT",
445 "requestUri":"/workspaces/{workspaceId}/logging",
446 "responseCode":202
447 },
448 "input":{"shape":"UpdateLoggingConfigurationRequest"},
449 "output":{"shape":"UpdateLoggingConfigurationResponse"},
450 "errors":[
451 {"shape":"ConflictException"},
452 {"shape":"ValidationException"},
453 {"shape":"ResourceNotFoundException"},
454 {"shape":"AccessDeniedException"},
455 {"shape":"InternalServerException"}
456 ],
457 "idempotent":true
458 },
459 "UpdateWorkspaceAlias":{
460 "name":"UpdateWorkspaceAlias",
461 "http":{
462 "method":"POST",
463 "requestUri":"/workspaces/{workspaceId}/alias",
464 "responseCode":204
465 },
466 "input":{"shape":"UpdateWorkspaceAliasRequest"},
467 "errors":[
468 {"shape":"ThrottlingException"},
469 {"shape":"ConflictException"},
470 {"shape":"ValidationException"},
471 {"shape":"ResourceNotFoundException"},
472 {"shape":"AccessDeniedException"},
473 {"shape":"InternalServerException"},
474 {"shape":"ServiceQuotaExceededException"}
475 ],
476 "idempotent":true
477 }
478 },
479 "shapes":{
480 "AccessDeniedException":{
481 "type":"structure",
482 "required":["message"],
483 "members":{
484 "message":{"shape":"String"}
485 },
486 "error":{
487 "httpStatusCode":403,
488 "senderFault":true
489 },
490 "exception":true
491 },
492 "AlertManagerDefinitionData":{"type":"blob"},
493 "AlertManagerDefinitionDescription":{
494 "type":"structure",
495 "required":[
496 "status",
497 "data",
498 "createdAt",
499 "modifiedAt"
500 ],
501 "members":{
502 "status":{"shape":"AlertManagerDefinitionStatus"},
503 "data":{"shape":"AlertManagerDefinitionData"},
504 "createdAt":{"shape":"Timestamp"},
505 "modifiedAt":{"shape":"Timestamp"}
506 }
507 },
508 "AlertManagerDefinitionStatus":{
509 "type":"structure",
510 "required":["statusCode"],
511 "members":{
512 "statusCode":{"shape":"AlertManagerDefinitionStatusCode"},
513 "statusReason":{"shape":"String"}
514 }
515 },
516 "AlertManagerDefinitionStatusCode":{
517 "type":"string",
518 "enum":[
519 "CREATING",
520 "ACTIVE",
521 "UPDATING",
522 "DELETING",
523 "CREATION_FAILED",
524 "UPDATE_FAILED"
525 ]
526 },
527 "AmpConfiguration":{
528 "type":"structure",
529 "required":["workspaceArn"],
530 "members":{
531 "workspaceArn":{"shape":"WorkspaceArn"}
532 }
533 },
534 "Blob":{"type":"blob"},
535 "ClusterArn":{
536 "type":"string",
537 "pattern":"arn:aws[-a-z]*:eks:[-a-z0-9]+:[0-9]{12}:cluster/.+"
538 },
539 "ConflictException":{
540 "type":"structure",
541 "required":[
542 "message",
543 "resourceId",
544 "resourceType"
545 ],
546 "members":{
547 "message":{"shape":"String"},
548 "resourceId":{"shape":"String"},
549 "resourceType":{"shape":"String"}
550 },
551 "error":{
552 "httpStatusCode":409,
553 "senderFault":true
554 },
555 "exception":true
556 },
557 "CreateAlertManagerDefinitionRequest":{
558 "type":"structure",
559 "required":[
560 "workspaceId",
561 "data"
562 ],
563 "members":{
564 "workspaceId":{
565 "shape":"WorkspaceId",
566 "location":"uri",
567 "locationName":"workspaceId"
568 },
569 "data":{"shape":"AlertManagerDefinitionData"},
570 "clientToken":{
571 "shape":"IdempotencyToken",
572 "idempotencyToken":true
573 }
574 }
575 },
576 "CreateAlertManagerDefinitionResponse":{
577 "type":"structure",
578 "required":["status"],
579 "members":{
580 "status":{"shape":"AlertManagerDefinitionStatus"}
581 }
582 },
583 "CreateLoggingConfigurationRequest":{
584 "type":"structure",
585 "required":[
586 "workspaceId",
587 "logGroupArn"
588 ],
589 "members":{
590 "workspaceId":{
591 "shape":"WorkspaceId",
592 "location":"uri",
593 "locationName":"workspaceId"
594 },
595 "logGroupArn":{"shape":"LogGroupArn"},
596 "clientToken":{
597 "shape":"IdempotencyToken",
598 "idempotencyToken":true
599 }
600 }
601 },
602 "CreateLoggingConfigurationResponse":{
603 "type":"structure",
604 "required":["status"],
605 "members":{
606 "status":{"shape":"LoggingConfigurationStatus"}
607 }
608 },
609 "CreateRuleGroupsNamespaceRequest":{
610 "type":"structure",
611 "required":[
612 "workspaceId",
613 "name",
614 "data"
615 ],
616 "members":{
617 "workspaceId":{
618 "shape":"WorkspaceId",
619 "location":"uri",
620 "locationName":"workspaceId"
621 },
622 "name":{"shape":"RuleGroupsNamespaceName"},
623 "data":{"shape":"RuleGroupsNamespaceData"},
624 "clientToken":{
625 "shape":"IdempotencyToken",
626 "idempotencyToken":true
627 },
628 "tags":{"shape":"TagMap"}
629 }
630 },
631 "CreateRuleGroupsNamespaceResponse":{
632 "type":"structure",
633 "required":[
634 "name",
635 "arn",
636 "status"
637 ],
638 "members":{
639 "name":{"shape":"RuleGroupsNamespaceName"},
640 "arn":{"shape":"RuleGroupsNamespaceArn"},
641 "status":{"shape":"RuleGroupsNamespaceStatus"},
642 "tags":{"shape":"TagMap"}
643 }
644 },
645 "CreateScraperRequest":{
646 "type":"structure",
647 "required":[
648 "scrapeConfiguration",
649 "source",
650 "destination"
651 ],
652 "members":{
653 "alias":{"shape":"ScraperAlias"},
654 "scrapeConfiguration":{"shape":"ScrapeConfiguration"},
655 "source":{"shape":"Source"},
656 "destination":{"shape":"Destination"},
657 "clientToken":{
658 "shape":"IdempotencyToken",
659 "idempotencyToken":true
660 },
661 "tags":{"shape":"TagMap"}
662 }
663 },
664 "CreateScraperResponse":{
665 "type":"structure",
666 "required":[
667 "scraperId",
668 "arn",
669 "status"
670 ],
671 "members":{
672 "scraperId":{"shape":"ScraperId"},
673 "arn":{"shape":"ScraperArn"},
674 "status":{"shape":"ScraperStatus"},
675 "tags":{"shape":"TagMap"}
676 }
677 },
678 "CreateWorkspaceRequest":{
679 "type":"structure",
680 "members":{
681 "alias":{"shape":"WorkspaceAlias"},
682 "clientToken":{
683 "shape":"IdempotencyToken",
684 "idempotencyToken":true
685 },
686 "tags":{"shape":"TagMap"}
687 }
688 },
689 "CreateWorkspaceResponse":{
690 "type":"structure",
691 "required":[
692 "workspaceId",
693 "arn",
694 "status"
695 ],
696 "members":{
697 "workspaceId":{"shape":"WorkspaceId"},
698 "arn":{"shape":"WorkspaceArn"},
699 "status":{"shape":"WorkspaceStatus"},
700 "tags":{"shape":"TagMap"}
701 }
702 },
703 "DeleteAlertManagerDefinitionRequest":{
704 "type":"structure",
705 "required":["workspaceId"],
706 "members":{
707 "workspaceId":{
708 "shape":"WorkspaceId",
709 "location":"uri",
710 "locationName":"workspaceId"
711 },
712 "clientToken":{
713 "shape":"IdempotencyToken",
714 "idempotencyToken":true,
715 "location":"querystring",
716 "locationName":"clientToken"
717 }
718 }
719 },
720 "DeleteLoggingConfigurationRequest":{
721 "type":"structure",
722 "required":["workspaceId"],
723 "members":{
724 "workspaceId":{
725 "shape":"WorkspaceId",
726 "location":"uri",
727 "locationName":"workspaceId"
728 },
729 "clientToken":{
730 "shape":"IdempotencyToken",
731 "idempotencyToken":true,
732 "location":"querystring",
733 "locationName":"clientToken"
734 }
735 }
736 },
737 "DeleteRuleGroupsNamespaceRequest":{
738 "type":"structure",
739 "required":[
740 "workspaceId",
741 "name"
742 ],
743 "members":{
744 "workspaceId":{
745 "shape":"WorkspaceId",
746 "location":"uri",
747 "locationName":"workspaceId"
748 },
749 "name":{
750 "shape":"RuleGroupsNamespaceName",
751 "location":"uri",
752 "locationName":"name"
753 },
754 "clientToken":{
755 "shape":"IdempotencyToken",
756 "idempotencyToken":true,
757 "location":"querystring",
758 "locationName":"clientToken"
759 }
760 }
761 },
762 "DeleteScraperRequest":{
763 "type":"structure",
764 "required":["scraperId"],
765 "members":{
766 "scraperId":{
767 "shape":"ScraperId",
768 "location":"uri",
769 "locationName":"scraperId"
770 },
771 "clientToken":{
772 "shape":"IdempotencyToken",
773 "idempotencyToken":true,
774 "location":"querystring",
775 "locationName":"clientToken"
776 }
777 }
778 },
779 "DeleteScraperResponse":{
780 "type":"structure",
781 "required":[
782 "scraperId",
783 "status"
784 ],
785 "members":{
786 "scraperId":{"shape":"ScraperId"},
787 "status":{"shape":"ScraperStatus"}
788 }
789 },
790 "DeleteWorkspaceRequest":{
791 "type":"structure",
792 "required":["workspaceId"],
793 "members":{
794 "workspaceId":{
795 "shape":"WorkspaceId",
796 "location":"uri",
797 "locationName":"workspaceId"
798 },
799 "clientToken":{
800 "shape":"IdempotencyToken",
801 "idempotencyToken":true,
802 "location":"querystring",
803 "locationName":"clientToken"
804 }
805 }
806 },
807 "DescribeAlertManagerDefinitionRequest":{
808 "type":"structure",
809 "required":["workspaceId"],
810 "members":{
811 "workspaceId":{
812 "shape":"WorkspaceId",
813 "location":"uri",
814 "locationName":"workspaceId"
815 }
816 }
817 },
818 "DescribeAlertManagerDefinitionResponse":{
819 "type":"structure",
820 "required":["alertManagerDefinition"],
821 "members":{
822 "alertManagerDefinition":{"shape":"AlertManagerDefinitionDescription"}
823 }
824 },
825 "DescribeLoggingConfigurationRequest":{
826 "type":"structure",
827 "required":["workspaceId"],
828 "members":{
829 "workspaceId":{
830 "shape":"WorkspaceId",
831 "location":"uri",
832 "locationName":"workspaceId"
833 }
834 }
835 },
836 "DescribeLoggingConfigurationResponse":{
837 "type":"structure",
838 "required":["loggingConfiguration"],
839 "members":{
840 "loggingConfiguration":{"shape":"LoggingConfigurationMetadata"}
841 }
842 },
843 "DescribeRuleGroupsNamespaceRequest":{
844 "type":"structure",
845 "required":[
846 "workspaceId",
847 "name"
848 ],
849 "members":{
850 "workspaceId":{
851 "shape":"WorkspaceId",
852 "location":"uri",
853 "locationName":"workspaceId"
854 },
855 "name":{
856 "shape":"RuleGroupsNamespaceName",
857 "location":"uri",
858 "locationName":"name"
859 }
860 }
861 },
862 "DescribeRuleGroupsNamespaceResponse":{
863 "type":"structure",
864 "required":["ruleGroupsNamespace"],
865 "members":{
866 "ruleGroupsNamespace":{"shape":"RuleGroupsNamespaceDescription"}
867 }
868 },
869 "DescribeScraperRequest":{
870 "type":"structure",
871 "required":["scraperId"],
872 "members":{
873 "scraperId":{
874 "shape":"ScraperId",
875 "location":"uri",
876 "locationName":"scraperId"
877 }
878 }
879 },
880 "DescribeScraperResponse":{
881 "type":"structure",
882 "required":["scraper"],
883 "members":{
884 "scraper":{"shape":"ScraperDescription"}
885 }
886 },
887 "DescribeWorkspaceRequest":{
888 "type":"structure",
889 "required":["workspaceId"],
890 "members":{
891 "workspaceId":{
892 "shape":"WorkspaceId",
893 "location":"uri",
894 "locationName":"workspaceId"
895 }
896 }
897 },
898 "DescribeWorkspaceResponse":{
899 "type":"structure",
900 "required":["workspace"],
901 "members":{
902 "workspace":{"shape":"WorkspaceDescription"}
903 }
904 },
905 "Destination":{
906 "type":"structure",
907 "members":{
908 "ampConfiguration":{"shape":"AmpConfiguration"}
909 },
910 "union":true
911 },
912 "EksConfiguration":{
913 "type":"structure",
914 "required":[
915 "clusterArn",
916 "subnetIds"
917 ],
918 "members":{
919 "clusterArn":{"shape":"ClusterArn"},
920 "securityGroupIds":{"shape":"SecurityGroupIds"},
921 "subnetIds":{"shape":"SubnetIds"}
922 }
923 },
924 "FilterKey":{
925 "type":"string",
926 "max":256,
927 "min":1
928 },
929 "FilterValue":{
930 "type":"string",
931 "max":256,
932 "min":1
933 },
934 "FilterValues":{
935 "type":"list",
936 "member":{"shape":"FilterValue"},
937 "max":20,
938 "min":1
939 },
940 "GetDefaultScraperConfigurationRequest":{
941 "type":"structure",
942 "members":{
943 }
944 },
945 "GetDefaultScraperConfigurationResponse":{
946 "type":"structure",
947 "required":["configuration"],
948 "members":{
949 "configuration":{"shape":"Blob"}
950 }
951 },
952 "IamRoleArn":{"type":"string"},
953 "IdempotencyToken":{
954 "type":"string",
955 "max":64,
956 "min":1,
957 "pattern":"[!-~]+"
958 },
959 "Integer":{
960 "type":"integer",
961 "box":true
962 },
963 "InternalServerException":{
964 "type":"structure",
965 "required":["message"],
966 "members":{
967 "message":{"shape":"String"},
968 "retryAfterSeconds":{
969 "shape":"Integer",
970 "location":"header",
971 "locationName":"Retry-After"
972 }
973 },
974 "error":{"httpStatusCode":500},
975 "exception":true,
976 "fault":true,
977 "retryable":{"throttling":false}
978 },
979 "ListRuleGroupsNamespacesRequest":{
980 "type":"structure",
981 "required":["workspaceId"],
982 "members":{
983 "workspaceId":{
984 "shape":"WorkspaceId",
985 "location":"uri",
986 "locationName":"workspaceId"
987 },
988 "name":{
989 "shape":"RuleGroupsNamespaceName",
990 "location":"querystring",
991 "locationName":"name"
992 },
993 "nextToken":{
994 "shape":"PaginationToken",
995 "location":"querystring",
996 "locationName":"nextToken"
997 },
998 "maxResults":{
999 "shape":"ListRuleGroupsNamespacesRequestMaxResultsInteger",
1000 "location":"querystring",
1001 "locationName":"maxResults"
1002 }
1003 }
1004 },
1005 "ListRuleGroupsNamespacesRequestMaxResultsInteger":{
1006 "type":"integer",
1007 "box":true,
1008 "max":1000,
1009 "min":1
1010 },
1011 "ListRuleGroupsNamespacesResponse":{
1012 "type":"structure",
1013 "required":["ruleGroupsNamespaces"],
1014 "members":{
1015 "ruleGroupsNamespaces":{"shape":"RuleGroupsNamespaceSummaryList"},
1016 "nextToken":{"shape":"PaginationToken"}
1017 }
1018 },
1019 "ListScrapersRequest":{
1020 "type":"structure",
1021 "members":{
1022 "filters":{
1023 "shape":"ScraperFilters",
1024 "location":"querystring"
1025 },
1026 "nextToken":{
1027 "shape":"PaginationToken",
1028 "location":"querystring",
1029 "locationName":"nextToken"
1030 },
1031 "maxResults":{
1032 "shape":"ListScrapersRequestMaxResultsInteger",
1033 "location":"querystring",
1034 "locationName":"maxResults"
1035 }
1036 }
1037 },
1038 "ListScrapersRequestMaxResultsInteger":{
1039 "type":"integer",
1040 "box":true,
1041 "max":1000,
1042 "min":1
1043 },
1044 "ListScrapersResponse":{
1045 "type":"structure",
1046 "required":["scrapers"],
1047 "members":{
1048 "scrapers":{"shape":"ScraperSummaryList"},
1049 "nextToken":{"shape":"PaginationToken"}
1050 }
1051 },
1052 "ListTagsForResourceRequest":{
1053 "type":"structure",
1054 "required":["resourceArn"],
1055 "members":{
1056 "resourceArn":{
1057 "shape":"String",
1058 "location":"uri",
1059 "locationName":"resourceArn"
1060 }
1061 }
1062 },
1063 "ListTagsForResourceResponse":{
1064 "type":"structure",
1065 "members":{
1066 "tags":{"shape":"TagMap"}
1067 }
1068 },
1069 "ListWorkspacesRequest":{
1070 "type":"structure",
1071 "members":{
1072 "nextToken":{
1073 "shape":"PaginationToken",
1074 "location":"querystring",
1075 "locationName":"nextToken"
1076 },
1077 "alias":{
1078 "shape":"WorkspaceAlias",
1079 "location":"querystring",
1080 "locationName":"alias"
1081 },
1082 "maxResults":{
1083 "shape":"ListWorkspacesRequestMaxResultsInteger",
1084 "location":"querystring",
1085 "locationName":"maxResults"
1086 }
1087 }
1088 },
1089 "ListWorkspacesRequestMaxResultsInteger":{
1090 "type":"integer",
1091 "box":true,
1092 "max":1000,
1093 "min":1
1094 },
1095 "ListWorkspacesResponse":{
1096 "type":"structure",
1097 "required":["workspaces"],
1098 "members":{
1099 "workspaces":{"shape":"WorkspaceSummaryList"},
1100 "nextToken":{"shape":"PaginationToken"}
1101 }
1102 },
1103 "LogGroupArn":{
1104 "type":"string",
1105 "pattern":"arn:aws[a-z0-9-]*:logs:[a-z0-9-]+:\\d{12}:log-group:[A-Za-z0-9\\.\\-\\_\\#/]{1,512}\\:\\*"
1106 },
1107 "LoggingConfigurationMetadata":{
1108 "type":"structure",
1109 "required":[
1110 "status",
1111 "workspace",
1112 "logGroupArn",
1113 "createdAt",
1114 "modifiedAt"
1115 ],
1116 "members":{
1117 "status":{"shape":"LoggingConfigurationStatus"},
1118 "workspace":{"shape":"WorkspaceId"},
1119 "logGroupArn":{"shape":"LogGroupArn"},
1120 "createdAt":{"shape":"Timestamp"},
1121 "modifiedAt":{"shape":"Timestamp"}
1122 }
1123 },
1124 "LoggingConfigurationStatus":{
1125 "type":"structure",
1126 "required":["statusCode"],
1127 "members":{
1128 "statusCode":{"shape":"LoggingConfigurationStatusCode"},
1129 "statusReason":{"shape":"String"}
1130 }
1131 },
1132 "LoggingConfigurationStatusCode":{
1133 "type":"string",
1134 "enum":[
1135 "CREATING",
1136 "ACTIVE",
1137 "UPDATING",
1138 "DELETING",
1139 "CREATION_FAILED",
1140 "UPDATE_FAILED"
1141 ]
1142 },
1143 "PaginationToken":{
1144 "type":"string",
1145 "max":1000,
1146 "min":0
1147 },
1148 "PutAlertManagerDefinitionRequest":{
1149 "type":"structure",
1150 "required":[
1151 "workspaceId",
1152 "data"
1153 ],
1154 "members":{
1155 "workspaceId":{
1156 "shape":"WorkspaceId",
1157 "location":"uri",
1158 "locationName":"workspaceId"
1159 },
1160 "data":{"shape":"AlertManagerDefinitionData"},
1161 "clientToken":{
1162 "shape":"IdempotencyToken",
1163 "idempotencyToken":true
1164 }
1165 }
1166 },
1167 "PutAlertManagerDefinitionResponse":{
1168 "type":"structure",
1169 "required":["status"],
1170 "members":{
1171 "status":{"shape":"AlertManagerDefinitionStatus"}
1172 }
1173 },
1174 "PutRuleGroupsNamespaceRequest":{
1175 "type":"structure",
1176 "required":[
1177 "workspaceId",
1178 "name",
1179 "data"
1180 ],
1181 "members":{
1182 "workspaceId":{
1183 "shape":"WorkspaceId",
1184 "location":"uri",
1185 "locationName":"workspaceId"
1186 },
1187 "name":{
1188 "shape":"RuleGroupsNamespaceName",
1189 "location":"uri",
1190 "locationName":"name"
1191 },
1192 "data":{"shape":"RuleGroupsNamespaceData"},
1193 "clientToken":{
1194 "shape":"IdempotencyToken",
1195 "idempotencyToken":true
1196 }
1197 }
1198 },
1199 "PutRuleGroupsNamespaceResponse":{
1200 "type":"structure",
1201 "required":[
1202 "name",
1203 "arn",
1204 "status"
1205 ],
1206 "members":{
1207 "name":{"shape":"RuleGroupsNamespaceName"},
1208 "arn":{"shape":"RuleGroupsNamespaceArn"},
1209 "status":{"shape":"RuleGroupsNamespaceStatus"},
1210 "tags":{"shape":"TagMap"}
1211 }
1212 },
1213 "ResourceNotFoundException":{
1214 "type":"structure",
1215 "required":[
1216 "message",
1217 "resourceId",
1218 "resourceType"
1219 ],
1220 "members":{
1221 "message":{"shape":"String"},
1222 "resourceId":{"shape":"String"},
1223 "resourceType":{"shape":"String"}
1224 },
1225 "error":{
1226 "httpStatusCode":404,
1227 "senderFault":true
1228 },
1229 "exception":true
1230 },
1231 "RuleGroupsNamespaceArn":{"type":"string"},
1232 "RuleGroupsNamespaceData":{"type":"blob"},
1233 "RuleGroupsNamespaceDescription":{
1234 "type":"structure",
1235 "required":[
1236 "arn",
1237 "name",
1238 "status",
1239 "data",
1240 "createdAt",
1241 "modifiedAt"
1242 ],
1243 "members":{
1244 "arn":{"shape":"RuleGroupsNamespaceArn"},
1245 "name":{"shape":"RuleGroupsNamespaceName"},
1246 "status":{"shape":"RuleGroupsNamespaceStatus"},
1247 "data":{"shape":"RuleGroupsNamespaceData"},
1248 "createdAt":{"shape":"Timestamp"},
1249 "modifiedAt":{"shape":"Timestamp"},
1250 "tags":{"shape":"TagMap"}
1251 }
1252 },
1253 "RuleGroupsNamespaceName":{
1254 "type":"string",
1255 "max":64,
1256 "min":1,
1257 "pattern":".*[0-9A-Za-z][-.0-9A-Z_a-z]*.*"
1258 },
1259 "RuleGroupsNamespaceStatus":{
1260 "type":"structure",
1261 "required":["statusCode"],
1262 "members":{
1263 "statusCode":{"shape":"RuleGroupsNamespaceStatusCode"},
1264 "statusReason":{"shape":"String"}
1265 }
1266 },
1267 "RuleGroupsNamespaceStatusCode":{
1268 "type":"string",
1269 "enum":[
1270 "CREATING",
1271 "ACTIVE",
1272 "UPDATING",
1273 "DELETING",
1274 "CREATION_FAILED",
1275 "UPDATE_FAILED"
1276 ]
1277 },
1278 "RuleGroupsNamespaceSummary":{
1279 "type":"structure",
1280 "required":[
1281 "arn",
1282 "name",
1283 "status",
1284 "createdAt",
1285 "modifiedAt"
1286 ],
1287 "members":{
1288 "arn":{"shape":"RuleGroupsNamespaceArn"},
1289 "name":{"shape":"RuleGroupsNamespaceName"},
1290 "status":{"shape":"RuleGroupsNamespaceStatus"},
1291 "createdAt":{"shape":"Timestamp"},
1292 "modifiedAt":{"shape":"Timestamp"},
1293 "tags":{"shape":"TagMap"}
1294 }
1295 },
1296 "RuleGroupsNamespaceSummaryList":{
1297 "type":"list",
1298 "member":{"shape":"RuleGroupsNamespaceSummary"}
1299 },
1300 "ScrapeConfiguration":{
1301 "type":"structure",
1302 "members":{
1303 "configurationBlob":{"shape":"Blob"}
1304 },
1305 "union":true
1306 },
1307 "ScraperAlias":{
1308 "type":"string",
1309 "max":100,
1310 "min":1,
1311 "pattern":"[0-9A-Za-z][-.0-9A-Z_a-z]*"
1312 },
1313 "ScraperArn":{"type":"string"},
1314 "ScraperDescription":{
1315 "type":"structure",
1316 "required":[
1317 "scraperId",
1318 "arn",
1319 "roleArn",
1320 "status",
1321 "createdAt",
1322 "lastModifiedAt",
1323 "scrapeConfiguration",
1324 "source",
1325 "destination"
1326 ],
1327 "members":{
1328 "alias":{"shape":"ScraperAlias"},
1329 "scraperId":{"shape":"ScraperId"},
1330 "arn":{"shape":"ScraperArn"},
1331 "roleArn":{"shape":"IamRoleArn"},
1332 "status":{"shape":"ScraperStatus"},
1333 "createdAt":{"shape":"Timestamp"},
1334 "lastModifiedAt":{"shape":"Timestamp"},
1335 "tags":{"shape":"TagMap"},
1336 "statusReason":{"shape":"StatusReason"},
1337 "scrapeConfiguration":{"shape":"ScrapeConfiguration"},
1338 "source":{"shape":"Source"},
1339 "destination":{"shape":"Destination"}
1340 }
1341 },
1342 "ScraperFilters":{
1343 "type":"map",
1344 "key":{"shape":"FilterKey"},
1345 "value":{"shape":"FilterValues"},
1346 "max":4,
1347 "min":1
1348 },
1349 "ScraperId":{
1350 "type":"string",
1351 "max":64,
1352 "min":1,
1353 "pattern":"[0-9A-Za-z][-.0-9A-Z_a-z]*"
1354 },
1355 "ScraperStatus":{
1356 "type":"structure",
1357 "required":["statusCode"],
1358 "members":{
1359 "statusCode":{"shape":"ScraperStatusCode"}
1360 }
1361 },
1362 "ScraperStatusCode":{
1363 "type":"string",
1364 "enum":[
1365 "CREATING",
1366 "ACTIVE",
1367 "DELETING",
1368 "CREATION_FAILED",
1369 "DELETION_FAILED"
1370 ]
1371 },
1372 "ScraperSummary":{
1373 "type":"structure",
1374 "required":[
1375 "scraperId",
1376 "arn",
1377 "roleArn",
1378 "status",
1379 "createdAt",
1380 "lastModifiedAt",
1381 "source",
1382 "destination"
1383 ],
1384 "members":{
1385 "alias":{"shape":"ScraperAlias"},
1386 "scraperId":{"shape":"ScraperId"},
1387 "arn":{"shape":"ScraperArn"},
1388 "roleArn":{"shape":"IamRoleArn"},
1389 "status":{"shape":"ScraperStatus"},
1390 "createdAt":{"shape":"Timestamp"},
1391 "lastModifiedAt":{"shape":"Timestamp"},
1392 "tags":{"shape":"TagMap"},
1393 "statusReason":{"shape":"StatusReason"},
1394 "source":{"shape":"Source"},
1395 "destination":{"shape":"Destination"}
1396 }
1397 },
1398 "ScraperSummaryList":{
1399 "type":"list",
1400 "member":{"shape":"ScraperSummary"}
1401 },
1402 "SecurityGroupId":{
1403 "type":"string",
1404 "max":255,
1405 "min":0,
1406 "pattern":"sg-[0-9a-z]+"
1407 },
1408 "SecurityGroupIds":{
1409 "type":"list",
1410 "member":{"shape":"SecurityGroupId"},
1411 "max":5,
1412 "min":1
1413 },
1414 "ServiceQuotaExceededException":{
1415 "type":"structure",
1416 "required":[
1417 "message",
1418 "resourceId",
1419 "resourceType",
1420 "serviceCode",
1421 "quotaCode"
1422 ],
1423 "members":{
1424 "message":{"shape":"String"},
1425 "resourceId":{"shape":"String"},
1426 "resourceType":{"shape":"String"},
1427 "serviceCode":{"shape":"String"},
1428 "quotaCode":{"shape":"String"}
1429 },
1430 "error":{
1431 "httpStatusCode":402,
1432 "senderFault":true
1433 },
1434 "exception":true
1435 },
1436 "Source":{
1437 "type":"structure",
1438 "members":{
1439 "eksConfiguration":{"shape":"EksConfiguration"}
1440 },
1441 "union":true
1442 },
1443 "StatusReason":{
1444 "type":"string",
1445 "max":256,
1446 "min":1
1447 },
1448 "String":{"type":"string"},
1449 "SubnetId":{
1450 "type":"string",
1451 "max":255,
1452 "min":0,
1453 "pattern":"subnet-[0-9a-z]+"
1454 },
1455 "SubnetIds":{
1456 "type":"list",
1457 "member":{"shape":"SubnetId"},
1458 "max":5,
1459 "min":1
1460 },
1461 "TagKey":{
1462 "type":"string",
1463 "max":128,
1464 "min":1,
1465 "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
1466 },
1467 "TagKeys":{
1468 "type":"list",
1469 "member":{"shape":"TagKey"}
1470 },
1471 "TagMap":{
1472 "type":"map",
1473 "key":{"shape":"TagKey"},
1474 "value":{"shape":"TagValue"},
1475 "max":50,
1476 "min":0
1477 },
1478 "TagResourceRequest":{
1479 "type":"structure",
1480 "required":[
1481 "resourceArn",
1482 "tags"
1483 ],
1484 "members":{
1485 "resourceArn":{
1486 "shape":"String",
1487 "location":"uri",
1488 "locationName":"resourceArn"
1489 },
1490 "tags":{"shape":"TagMap"}
1491 }
1492 },
1493 "TagResourceResponse":{
1494 "type":"structure",
1495 "members":{
1496 }
1497 },
1498 "TagValue":{
1499 "type":"string",
1500 "max":256,
1501 "min":0,
1502 "pattern":"([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)"
1503 },
1504 "ThrottlingException":{
1505 "type":"structure",
1506 "required":["message"],
1507 "members":{
1508 "message":{"shape":"String"},
1509 "serviceCode":{"shape":"String"},
1510 "quotaCode":{"shape":"String"},
1511 "retryAfterSeconds":{
1512 "shape":"Integer",
1513 "location":"header",
1514 "locationName":"Retry-After"
1515 }
1516 },
1517 "error":{
1518 "httpStatusCode":429,
1519 "senderFault":true
1520 },
1521 "exception":true,
1522 "retryable":{"throttling":false}
1523 },
1524 "Timestamp":{"type":"timestamp"},
1525 "UntagResourceRequest":{
1526 "type":"structure",
1527 "required":[
1528 "resourceArn",
1529 "tagKeys"
1530 ],
1531 "members":{
1532 "resourceArn":{
1533 "shape":"String",
1534 "location":"uri",
1535 "locationName":"resourceArn"
1536 },
1537 "tagKeys":{
1538 "shape":"TagKeys",
1539 "location":"querystring",
1540 "locationName":"tagKeys"
1541 }
1542 }
1543 },
1544 "UntagResourceResponse":{
1545 "type":"structure",
1546 "members":{
1547 }
1548 },
1549 "UpdateLoggingConfigurationRequest":{
1550 "type":"structure",
1551 "required":[
1552 "workspaceId",
1553 "logGroupArn"
1554 ],
1555 "members":{
1556 "workspaceId":{
1557 "shape":"WorkspaceId",
1558 "location":"uri",
1559 "locationName":"workspaceId"
1560 },
1561 "logGroupArn":{"shape":"LogGroupArn"},
1562 "clientToken":{
1563 "shape":"IdempotencyToken",
1564 "idempotencyToken":true
1565 }
1566 }
1567 },
1568 "UpdateLoggingConfigurationResponse":{
1569 "type":"structure",
1570 "required":["status"],
1571 "members":{
1572 "status":{"shape":"LoggingConfigurationStatus"}
1573 }
1574 },
1575 "UpdateWorkspaceAliasRequest":{
1576 "type":"structure",
1577 "required":["workspaceId"],
1578 "members":{
1579 "workspaceId":{
1580 "shape":"WorkspaceId",
1581 "location":"uri",
1582 "locationName":"workspaceId"
1583 },
1584 "alias":{"shape":"WorkspaceAlias"},
1585 "clientToken":{
1586 "shape":"IdempotencyToken",
1587 "idempotencyToken":true
1588 }
1589 }
1590 },
1591 "Uri":{
1592 "type":"string",
1593 "max":1024,
1594 "min":1
1595 },
1596 "ValidationException":{
1597 "type":"structure",
1598 "required":[
1599 "message",
1600 "reason"
1601 ],
1602 "members":{
1603 "message":{"shape":"String"},
1604 "reason":{"shape":"ValidationExceptionReason"},
1605 "fieldList":{"shape":"ValidationExceptionFieldList"}
1606 },
1607 "error":{
1608 "httpStatusCode":400,
1609 "senderFault":true
1610 },
1611 "exception":true
1612 },
1613 "ValidationExceptionField":{
1614 "type":"structure",
1615 "required":[
1616 "name",
1617 "message"
1618 ],
1619 "members":{
1620 "name":{"shape":"String"},
1621 "message":{"shape":"String"}
1622 }
1623 },
1624 "ValidationExceptionFieldList":{
1625 "type":"list",
1626 "member":{"shape":"ValidationExceptionField"}
1627 },
1628 "ValidationExceptionReason":{
1629 "type":"string",
1630 "enum":[
1631 "UNKNOWN_OPERATION",
1632 "CANNOT_PARSE",
1633 "FIELD_VALIDATION_FAILED",
1634 "OTHER"
1635 ]
1636 },
1637 "WorkspaceAlias":{
1638 "type":"string",
1639 "max":100,
1640 "min":1
1641 },
1642 "WorkspaceArn":{
1643 "type":"string",
1644 "pattern":"arn:aws[-a-z]*:aps:[-a-z0-9]+:[0-9]{12}:workspace/.+"
1645 },
1646 "WorkspaceDescription":{
1647 "type":"structure",
1648 "required":[
1649 "workspaceId",
1650 "arn",
1651 "status",
1652 "createdAt"
1653 ],
1654 "members":{
1655 "workspaceId":{"shape":"WorkspaceId"},
1656 "alias":{"shape":"WorkspaceAlias"},
1657 "arn":{"shape":"WorkspaceArn"},
1658 "status":{"shape":"WorkspaceStatus"},
1659 "prometheusEndpoint":{"shape":"Uri"},
1660 "createdAt":{"shape":"Timestamp"},
1661 "tags":{"shape":"TagMap"}
1662 }
1663 },
1664 "WorkspaceId":{
1665 "type":"string",
1666 "max":64,
1667 "min":1,
1668 "pattern":".*[0-9A-Za-z][-.0-9A-Z_a-z]*.*"
1669 },
1670 "WorkspaceStatus":{
1671 "type":"structure",
1672 "required":["statusCode"],
1673 "members":{
1674 "statusCode":{"shape":"WorkspaceStatusCode"}
1675 }
1676 },
1677 "WorkspaceStatusCode":{
1678 "type":"string",
1679 "enum":[
1680 "CREATING",
1681 "ACTIVE",
1682 "UPDATING",
1683 "DELETING",
1684 "CREATION_FAILED"
1685 ]
1686 },
1687 "WorkspaceSummary":{
1688 "type":"structure",
1689 "required":[
1690 "workspaceId",
1691 "arn",
1692 "status",
1693 "createdAt"
1694 ],
1695 "members":{
1696 "workspaceId":{"shape":"WorkspaceId"},
1697 "alias":{"shape":"WorkspaceAlias"},
1698 "arn":{"shape":"WorkspaceArn"},
1699 "status":{"shape":"WorkspaceStatus"},
1700 "createdAt":{"shape":"Timestamp"},
1701 "tags":{"shape":"TagMap"}
1702 }
1703 },
1704 "WorkspaceSummaryList":{
1705 "type":"list",
1706 "member":{"shape":"WorkspaceSummary"}
1707 }
1708 }
1709 }