Debian Codegraph @

models/apis/appmesh/2019-01-25/endpoint-tests-1.json

raw
1 {
2 "testCases": [
3 {
4 "documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
5 "expect": {
6 "endpoint": {
7 "url": "https://appmesh.af-south-1.amazonaws.com"
8 }
9 },
10 "params": {
11 "Region": "af-south-1",
12 "UseFIPS": false,
13 "UseDualStack": false
14 }
15 },
16 {
17 "documentation": "For region af-south-1 with FIPS disabled and DualStack enabled",
18 "expect": {
19 "endpoint": {
20 "url": "https://appmesh.af-south-1.api.aws"
21 }
22 },
23 "params": {
24 "Region": "af-south-1",
25 "UseFIPS": false,
26 "UseDualStack": true
27 }
28 },
29 {
30 "documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
31 "expect": {
32 "endpoint": {
33 "url": "https://appmesh.ap-east-1.amazonaws.com"
34 }
35 },
36 "params": {
37 "Region": "ap-east-1",
38 "UseFIPS": false,
39 "UseDualStack": false
40 }
41 },
42 {
43 "documentation": "For region ap-east-1 with FIPS disabled and DualStack enabled",
44 "expect": {
45 "endpoint": {
46 "url": "https://appmesh.ap-east-1.api.aws"
47 }
48 },
49 "params": {
50 "Region": "ap-east-1",
51 "UseFIPS": false,
52 "UseDualStack": true
53 }
54 },
55 {
56 "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
57 "expect": {
58 "endpoint": {
59 "url": "https://appmesh.ap-northeast-1.amazonaws.com"
60 }
61 },
62 "params": {
63 "Region": "ap-northeast-1",
64 "UseFIPS": false,
65 "UseDualStack": false
66 }
67 },
68 {
69 "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled",
70 "expect": {
71 "endpoint": {
72 "url": "https://appmesh.ap-northeast-1.api.aws"
73 }
74 },
75 "params": {
76 "Region": "ap-northeast-1",
77 "UseFIPS": false,
78 "UseDualStack": true
79 }
80 },
81 {
82 "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
83 "expect": {
84 "endpoint": {
85 "url": "https://appmesh.ap-northeast-2.amazonaws.com"
86 }
87 },
88 "params": {
89 "Region": "ap-northeast-2",
90 "UseFIPS": false,
91 "UseDualStack": false
92 }
93 },
94 {
95 "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack enabled",
96 "expect": {
97 "endpoint": {
98 "url": "https://appmesh.ap-northeast-2.api.aws"
99 }
100 },
101 "params": {
102 "Region": "ap-northeast-2",
103 "UseFIPS": false,
104 "UseDualStack": true
105 }
106 },
107 {
108 "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
109 "expect": {
110 "endpoint": {
111 "url": "https://appmesh.ap-south-1.amazonaws.com"
112 }
113 },
114 "params": {
115 "Region": "ap-south-1",
116 "UseFIPS": false,
117 "UseDualStack": false
118 }
119 },
120 {
121 "documentation": "For region ap-south-1 with FIPS disabled and DualStack enabled",
122 "expect": {
123 "endpoint": {
124 "url": "https://appmesh.ap-south-1.api.aws"
125 }
126 },
127 "params": {
128 "Region": "ap-south-1",
129 "UseFIPS": false,
130 "UseDualStack": true
131 }
132 },
133 {
134 "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
135 "expect": {
136 "endpoint": {
137 "url": "https://appmesh.ap-southeast-1.amazonaws.com"
138 }
139 },
140 "params": {
141 "Region": "ap-southeast-1",
142 "UseFIPS": false,
143 "UseDualStack": false
144 }
145 },
146 {
147 "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled",
148 "expect": {
149 "endpoint": {
150 "url": "https://appmesh.ap-southeast-1.api.aws"
151 }
152 },
153 "params": {
154 "Region": "ap-southeast-1",
155 "UseFIPS": false,
156 "UseDualStack": true
157 }
158 },
159 {
160 "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
161 "expect": {
162 "endpoint": {
163 "url": "https://appmesh.ap-southeast-2.amazonaws.com"
164 }
165 },
166 "params": {
167 "Region": "ap-southeast-2",
168 "UseFIPS": false,
169 "UseDualStack": false
170 }
171 },
172 {
173 "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled",
174 "expect": {
175 "endpoint": {
176 "url": "https://appmesh.ap-southeast-2.api.aws"
177 }
178 },
179 "params": {
180 "Region": "ap-southeast-2",
181 "UseFIPS": false,
182 "UseDualStack": true
183 }
184 },
185 {
186 "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
187 "expect": {
188 "endpoint": {
189 "url": "https://appmesh.ca-central-1.amazonaws.com"
190 }
191 },
192 "params": {
193 "Region": "ca-central-1",
194 "UseFIPS": false,
195 "UseDualStack": false
196 }
197 },
198 {
199 "documentation": "For region ca-central-1 with FIPS disabled and DualStack enabled",
200 "expect": {
201 "endpoint": {
202 "url": "https://appmesh.ca-central-1.api.aws"
203 }
204 },
205 "params": {
206 "Region": "ca-central-1",
207 "UseFIPS": false,
208 "UseDualStack": true
209 }
210 },
211 {
212 "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
213 "expect": {
214 "endpoint": {
215 "url": "https://appmesh.eu-central-1.amazonaws.com"
216 }
217 },
218 "params": {
219 "Region": "eu-central-1",
220 "UseFIPS": false,
221 "UseDualStack": false
222 }
223 },
224 {
225 "documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled",
226 "expect": {
227 "endpoint": {
228 "url": "https://appmesh.eu-central-1.api.aws"
229 }
230 },
231 "params": {
232 "Region": "eu-central-1",
233 "UseFIPS": false,
234 "UseDualStack": true
235 }
236 },
237 {
238 "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
239 "expect": {
240 "endpoint": {
241 "url": "https://appmesh.eu-north-1.amazonaws.com"
242 }
243 },
244 "params": {
245 "Region": "eu-north-1",
246 "UseFIPS": false,
247 "UseDualStack": false
248 }
249 },
250 {
251 "documentation": "For region eu-north-1 with FIPS disabled and DualStack enabled",
252 "expect": {
253 "endpoint": {
254 "url": "https://appmesh.eu-north-1.api.aws"
255 }
256 },
257 "params": {
258 "Region": "eu-north-1",
259 "UseFIPS": false,
260 "UseDualStack": true
261 }
262 },
263 {
264 "documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
265 "expect": {
266 "endpoint": {
267 "url": "https://appmesh.eu-south-1.amazonaws.com"
268 }
269 },
270 "params": {
271 "Region": "eu-south-1",
272 "UseFIPS": false,
273 "UseDualStack": false
274 }
275 },
276 {
277 "documentation": "For region eu-south-1 with FIPS disabled and DualStack enabled",
278 "expect": {
279 "endpoint": {
280 "url": "https://appmesh.eu-south-1.api.aws"
281 }
282 },
283 "params": {
284 "Region": "eu-south-1",
285 "UseFIPS": false,
286 "UseDualStack": true
287 }
288 },
289 {
290 "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
291 "expect": {
292 "endpoint": {
293 "url": "https://appmesh.eu-west-1.amazonaws.com"
294 }
295 },
296 "params": {
297 "Region": "eu-west-1",
298 "UseFIPS": false,
299 "UseDualStack": false
300 }
301 },
302 {
303 "documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled",
304 "expect": {
305 "endpoint": {
306 "url": "https://appmesh.eu-west-1.api.aws"
307 }
308 },
309 "params": {
310 "Region": "eu-west-1",
311 "UseFIPS": false,
312 "UseDualStack": true
313 }
314 },
315 {
316 "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
317 "expect": {
318 "endpoint": {
319 "url": "https://appmesh.eu-west-2.amazonaws.com"
320 }
321 },
322 "params": {
323 "Region": "eu-west-2",
324 "UseFIPS": false,
325 "UseDualStack": false
326 }
327 },
328 {
329 "documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled",
330 "expect": {
331 "endpoint": {
332 "url": "https://appmesh.eu-west-2.api.aws"
333 }
334 },
335 "params": {
336 "Region": "eu-west-2",
337 "UseFIPS": false,
338 "UseDualStack": true
339 }
340 },
341 {
342 "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
343 "expect": {
344 "endpoint": {
345 "url": "https://appmesh.eu-west-3.amazonaws.com"
346 }
347 },
348 "params": {
349 "Region": "eu-west-3",
350 "UseFIPS": false,
351 "UseDualStack": false
352 }
353 },
354 {
355 "documentation": "For region eu-west-3 with FIPS disabled and DualStack enabled",
356 "expect": {
357 "endpoint": {
358 "url": "https://appmesh.eu-west-3.api.aws"
359 }
360 },
361 "params": {
362 "Region": "eu-west-3",
363 "UseFIPS": false,
364 "UseDualStack": true
365 }
366 },
367 {
368 "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled",
369 "expect": {
370 "endpoint": {
371 "url": "https://appmesh.me-south-1.amazonaws.com"
372 }
373 },
374 "params": {
375 "Region": "me-south-1",
376 "UseFIPS": false,
377 "UseDualStack": false
378 }
379 },
380 {
381 "documentation": "For region me-south-1 with FIPS disabled and DualStack enabled",
382 "expect": {
383 "endpoint": {
384 "url": "https://appmesh.me-south-1.api.aws"
385 }
386 },
387 "params": {
388 "Region": "me-south-1",
389 "UseFIPS": false,
390 "UseDualStack": true
391 }
392 },
393 {
394 "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
395 "expect": {
396 "endpoint": {
397 "url": "https://appmesh.sa-east-1.amazonaws.com"
398 }
399 },
400 "params": {
401 "Region": "sa-east-1",
402 "UseFIPS": false,
403 "UseDualStack": false
404 }
405 },
406 {
407 "documentation": "For region sa-east-1 with FIPS disabled and DualStack enabled",
408 "expect": {
409 "endpoint": {
410 "url": "https://appmesh.sa-east-1.api.aws"
411 }
412 },
413 "params": {
414 "Region": "sa-east-1",
415 "UseFIPS": false,
416 "UseDualStack": true
417 }
418 },
419 {
420 "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
421 "expect": {
422 "endpoint": {
423 "url": "https://appmesh.us-east-1.amazonaws.com"
424 }
425 },
426 "params": {
427 "Region": "us-east-1",
428 "UseFIPS": false,
429 "UseDualStack": false
430 }
431 },
432 {
433 "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
434 "expect": {
435 "endpoint": {
436 "url": "https://appmesh.us-east-1.api.aws"
437 }
438 },
439 "params": {
440 "Region": "us-east-1",
441 "UseFIPS": false,
442 "UseDualStack": true
443 }
444 },
445 {
446 "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
447 "expect": {
448 "endpoint": {
449 "url": "https://appmesh.us-east-2.amazonaws.com"
450 }
451 },
452 "params": {
453 "Region": "us-east-2",
454 "UseFIPS": false,
455 "UseDualStack": false
456 }
457 },
458 {
459 "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled",
460 "expect": {
461 "endpoint": {
462 "url": "https://appmesh.us-east-2.api.aws"
463 }
464 },
465 "params": {
466 "Region": "us-east-2",
467 "UseFIPS": false,
468 "UseDualStack": true
469 }
470 },
471 {
472 "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
473 "expect": {
474 "endpoint": {
475 "url": "https://appmesh.us-west-1.amazonaws.com"
476 }
477 },
478 "params": {
479 "Region": "us-west-1",
480 "UseFIPS": false,
481 "UseDualStack": false
482 }
483 },
484 {
485 "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled",
486 "expect": {
487 "endpoint": {
488 "url": "https://appmesh.us-west-1.api.aws"
489 }
490 },
491 "params": {
492 "Region": "us-west-1",
493 "UseFIPS": false,
494 "UseDualStack": true
495 }
496 },
497 {
498 "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
499 "expect": {
500 "endpoint": {
501 "url": "https://appmesh.us-west-2.amazonaws.com"
502 }
503 },
504 "params": {
505 "Region": "us-west-2",
506 "UseFIPS": false,
507 "UseDualStack": false
508 }
509 },
510 {
511 "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled",
512 "expect": {
513 "endpoint": {
514 "url": "https://appmesh.us-west-2.api.aws"
515 }
516 },
517 "params": {
518 "Region": "us-west-2",
519 "UseFIPS": false,
520 "UseDualStack": true
521 }
522 },
523 {
524 "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
525 "expect": {
526 "endpoint": {
527 "url": "https://appmesh-fips.us-east-1.api.aws"
528 }
529 },
530 "params": {
531 "Region": "us-east-1",
532 "UseFIPS": true,
533 "UseDualStack": true
534 }
535 },
536 {
537 "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
538 "expect": {
539 "endpoint": {
540 "url": "https://appmesh-fips.us-east-1.amazonaws.com"
541 }
542 },
543 "params": {
544 "Region": "us-east-1",
545 "UseFIPS": true,
546 "UseDualStack": false
547 }
548 },
549 {
550 "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
551 "expect": {
552 "endpoint": {
553 "url": "https://appmesh.cn-north-1.amazonaws.com.cn"
554 }
555 },
556 "params": {
557 "Region": "cn-north-1",
558 "UseFIPS": false,
559 "UseDualStack": false
560 }
561 },
562 {
563 "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
564 "expect": {
565 "endpoint": {
566 "url": "https://appmesh.cn-north-1.api.amazonwebservices.com.cn"
567 }
568 },
569 "params": {
570 "Region": "cn-north-1",
571 "UseFIPS": false,
572 "UseDualStack": true
573 }
574 },
575 {
576 "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
577 "expect": {
578 "endpoint": {
579 "url": "https://appmesh.cn-northwest-1.amazonaws.com.cn"
580 }
581 },
582 "params": {
583 "Region": "cn-northwest-1",
584 "UseFIPS": false,
585 "UseDualStack": false
586 }
587 },
588 {
589 "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled",
590 "expect": {
591 "endpoint": {
592 "url": "https://appmesh.cn-northwest-1.api.amazonwebservices.com.cn"
593 }
594 },
595 "params": {
596 "Region": "cn-northwest-1",
597 "UseFIPS": false,
598 "UseDualStack": true
599 }
600 },
601 {
602 "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
603 "expect": {
604 "endpoint": {
605 "url": "https://appmesh-fips.cn-north-1.api.amazonwebservices.com.cn"
606 }
607 },
608 "params": {
609 "Region": "cn-north-1",
610 "UseFIPS": true,
611 "UseDualStack": true
612 }
613 },
614 {
615 "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
616 "expect": {
617 "endpoint": {
618 "url": "https://appmesh-fips.cn-north-1.amazonaws.com.cn"
619 }
620 },
621 "params": {
622 "Region": "cn-north-1",
623 "UseFIPS": true,
624 "UseDualStack": false
625 }
626 },
627 {
628 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
629 "expect": {
630 "endpoint": {
631 "url": "https://appmesh-fips.us-gov-east-1.api.aws"
632 }
633 },
634 "params": {
635 "Region": "us-gov-east-1",
636 "UseFIPS": true,
637 "UseDualStack": true
638 }
639 },
640 {
641 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
642 "expect": {
643 "endpoint": {
644 "url": "https://appmesh-fips.us-gov-east-1.amazonaws.com"
645 }
646 },
647 "params": {
648 "Region": "us-gov-east-1",
649 "UseFIPS": true,
650 "UseDualStack": false
651 }
652 },
653 {
654 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
655 "expect": {
656 "endpoint": {
657 "url": "https://appmesh.us-gov-east-1.api.aws"
658 }
659 },
660 "params": {
661 "Region": "us-gov-east-1",
662 "UseFIPS": false,
663 "UseDualStack": true
664 }
665 },
666 {
667 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
668 "expect": {
669 "endpoint": {
670 "url": "https://appmesh.us-gov-east-1.amazonaws.com"
671 }
672 },
673 "params": {
674 "Region": "us-gov-east-1",
675 "UseFIPS": false,
676 "UseDualStack": false
677 }
678 },
679 {
680 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
681 "expect": {
682 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
683 },
684 "params": {
685 "Region": "us-iso-east-1",
686 "UseFIPS": true,
687 "UseDualStack": true
688 }
689 },
690 {
691 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
692 "expect": {
693 "endpoint": {
694 "url": "https://appmesh-fips.us-iso-east-1.c2s.ic.gov"
695 }
696 },
697 "params": {
698 "Region": "us-iso-east-1",
699 "UseFIPS": true,
700 "UseDualStack": false
701 }
702 },
703 {
704 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
705 "expect": {
706 "error": "DualStack is enabled but this partition does not support DualStack"
707 },
708 "params": {
709 "Region": "us-iso-east-1",
710 "UseFIPS": false,
711 "UseDualStack": true
712 }
713 },
714 {
715 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
716 "expect": {
717 "endpoint": {
718 "url": "https://appmesh.us-iso-east-1.c2s.ic.gov"
719 }
720 },
721 "params": {
722 "Region": "us-iso-east-1",
723 "UseFIPS": false,
724 "UseDualStack": false
725 }
726 },
727 {
728 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
729 "expect": {
730 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
731 },
732 "params": {
733 "Region": "us-isob-east-1",
734 "UseFIPS": true,
735 "UseDualStack": true
736 }
737 },
738 {
739 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
740 "expect": {
741 "endpoint": {
742 "url": "https://appmesh-fips.us-isob-east-1.sc2s.sgov.gov"
743 }
744 },
745 "params": {
746 "Region": "us-isob-east-1",
747 "UseFIPS": true,
748 "UseDualStack": false
749 }
750 },
751 {
752 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
753 "expect": {
754 "error": "DualStack is enabled but this partition does not support DualStack"
755 },
756 "params": {
757 "Region": "us-isob-east-1",
758 "UseFIPS": false,
759 "UseDualStack": true
760 }
761 },
762 {
763 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
764 "expect": {
765 "endpoint": {
766 "url": "https://appmesh.us-isob-east-1.sc2s.sgov.gov"
767 }
768 },
769 "params": {
770 "Region": "us-isob-east-1",
771 "UseFIPS": false,
772 "UseDualStack": false
773 }
774 },
775 {
776 "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
777 "expect": {
778 "endpoint": {
779 "url": "https://example.com"
780 }
781 },
782 "params": {
783 "Region": "us-east-1",
784 "UseFIPS": false,
785 "UseDualStack": false,
786 "Endpoint": "https://example.com"
787 }
788 },
789 {
790 "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
791 "expect": {
792 "endpoint": {
793 "url": "https://example.com"
794 }
795 },
796 "params": {
797 "UseFIPS": false,
798 "UseDualStack": false,
799 "Endpoint": "https://example.com"
800 }
801 },
802 {
803 "documentation": "For custom endpoint with fips enabled and dualstack disabled",
804 "expect": {
805 "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
806 },
807 "params": {
808 "Region": "us-east-1",
809 "UseFIPS": true,
810 "UseDualStack": false,
811 "Endpoint": "https://example.com"
812 }
813 },
814 {
815 "documentation": "For custom endpoint with fips disabled and dualstack enabled",
816 "expect": {
817 "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
818 },
819 "params": {
820 "Region": "us-east-1",
821 "UseFIPS": false,
822 "UseDualStack": true,
823 "Endpoint": "https://example.com"
824 }
825 },
826 {
827 "documentation": "Missing region",
828 "expect": {
829 "error": "Invalid Configuration: Missing Region"
830 }
831 }
832 ],
833 "version": "1.0"
834 }