Debian Codegraph @

models/apis/polly/2016-06-10/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://polly.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 ap-east-1 with FIPS disabled and DualStack disabled",
18 "expect": {
19 "endpoint": {
20 "url": "https://polly.ap-east-1.amazonaws.com"
21 }
22 },
23 "params": {
24 "Region": "ap-east-1",
25 "UseFIPS": false,
26 "UseDualStack": false
27 }
28 },
29 {
30 "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
31 "expect": {
32 "endpoint": {
33 "url": "https://polly.ap-northeast-1.amazonaws.com"
34 }
35 },
36 "params": {
37 "Region": "ap-northeast-1",
38 "UseFIPS": false,
39 "UseDualStack": false
40 }
41 },
42 {
43 "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
44 "expect": {
45 "endpoint": {
46 "url": "https://polly.ap-northeast-2.amazonaws.com"
47 }
48 },
49 "params": {
50 "Region": "ap-northeast-2",
51 "UseFIPS": false,
52 "UseDualStack": false
53 }
54 },
55 {
56 "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
57 "expect": {
58 "endpoint": {
59 "url": "https://polly.ap-south-1.amazonaws.com"
60 }
61 },
62 "params": {
63 "Region": "ap-south-1",
64 "UseFIPS": false,
65 "UseDualStack": false
66 }
67 },
68 {
69 "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
70 "expect": {
71 "endpoint": {
72 "url": "https://polly.ap-southeast-1.amazonaws.com"
73 }
74 },
75 "params": {
76 "Region": "ap-southeast-1",
77 "UseFIPS": false,
78 "UseDualStack": false
79 }
80 },
81 {
82 "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
83 "expect": {
84 "endpoint": {
85 "url": "https://polly.ap-southeast-2.amazonaws.com"
86 }
87 },
88 "params": {
89 "Region": "ap-southeast-2",
90 "UseFIPS": false,
91 "UseDualStack": false
92 }
93 },
94 {
95 "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
96 "expect": {
97 "endpoint": {
98 "url": "https://polly.ca-central-1.amazonaws.com"
99 }
100 },
101 "params": {
102 "Region": "ca-central-1",
103 "UseFIPS": false,
104 "UseDualStack": false
105 }
106 },
107 {
108 "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
109 "expect": {
110 "endpoint": {
111 "url": "https://polly.eu-central-1.amazonaws.com"
112 }
113 },
114 "params": {
115 "Region": "eu-central-1",
116 "UseFIPS": false,
117 "UseDualStack": false
118 }
119 },
120 {
121 "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
122 "expect": {
123 "endpoint": {
124 "url": "https://polly.eu-north-1.amazonaws.com"
125 }
126 },
127 "params": {
128 "Region": "eu-north-1",
129 "UseFIPS": false,
130 "UseDualStack": false
131 }
132 },
133 {
134 "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
135 "expect": {
136 "endpoint": {
137 "url": "https://polly.eu-west-1.amazonaws.com"
138 }
139 },
140 "params": {
141 "Region": "eu-west-1",
142 "UseFIPS": false,
143 "UseDualStack": false
144 }
145 },
146 {
147 "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
148 "expect": {
149 "endpoint": {
150 "url": "https://polly.eu-west-2.amazonaws.com"
151 }
152 },
153 "params": {
154 "Region": "eu-west-2",
155 "UseFIPS": false,
156 "UseDualStack": false
157 }
158 },
159 {
160 "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
161 "expect": {
162 "endpoint": {
163 "url": "https://polly.eu-west-3.amazonaws.com"
164 }
165 },
166 "params": {
167 "Region": "eu-west-3",
168 "UseFIPS": false,
169 "UseDualStack": false
170 }
171 },
172 {
173 "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled",
174 "expect": {
175 "endpoint": {
176 "url": "https://polly.me-south-1.amazonaws.com"
177 }
178 },
179 "params": {
180 "Region": "me-south-1",
181 "UseFIPS": false,
182 "UseDualStack": false
183 }
184 },
185 {
186 "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
187 "expect": {
188 "endpoint": {
189 "url": "https://polly.sa-east-1.amazonaws.com"
190 }
191 },
192 "params": {
193 "Region": "sa-east-1",
194 "UseFIPS": false,
195 "UseDualStack": false
196 }
197 },
198 {
199 "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
200 "expect": {
201 "endpoint": {
202 "url": "https://polly.us-east-1.amazonaws.com"
203 }
204 },
205 "params": {
206 "Region": "us-east-1",
207 "UseFIPS": false,
208 "UseDualStack": false
209 }
210 },
211 {
212 "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
213 "expect": {
214 "endpoint": {
215 "url": "https://polly-fips.us-east-1.amazonaws.com"
216 }
217 },
218 "params": {
219 "Region": "us-east-1",
220 "UseFIPS": true,
221 "UseDualStack": false
222 }
223 },
224 {
225 "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
226 "expect": {
227 "endpoint": {
228 "url": "https://polly.us-east-2.amazonaws.com"
229 }
230 },
231 "params": {
232 "Region": "us-east-2",
233 "UseFIPS": false,
234 "UseDualStack": false
235 }
236 },
237 {
238 "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
239 "expect": {
240 "endpoint": {
241 "url": "https://polly-fips.us-east-2.amazonaws.com"
242 }
243 },
244 "params": {
245 "Region": "us-east-2",
246 "UseFIPS": true,
247 "UseDualStack": false
248 }
249 },
250 {
251 "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
252 "expect": {
253 "endpoint": {
254 "url": "https://polly.us-west-1.amazonaws.com"
255 }
256 },
257 "params": {
258 "Region": "us-west-1",
259 "UseFIPS": false,
260 "UseDualStack": false
261 }
262 },
263 {
264 "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
265 "expect": {
266 "endpoint": {
267 "url": "https://polly-fips.us-west-1.amazonaws.com"
268 }
269 },
270 "params": {
271 "Region": "us-west-1",
272 "UseFIPS": true,
273 "UseDualStack": false
274 }
275 },
276 {
277 "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
278 "expect": {
279 "endpoint": {
280 "url": "https://polly.us-west-2.amazonaws.com"
281 }
282 },
283 "params": {
284 "Region": "us-west-2",
285 "UseFIPS": false,
286 "UseDualStack": false
287 }
288 },
289 {
290 "documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
291 "expect": {
292 "endpoint": {
293 "url": "https://polly-fips.us-west-2.amazonaws.com"
294 }
295 },
296 "params": {
297 "Region": "us-west-2",
298 "UseFIPS": true,
299 "UseDualStack": false
300 }
301 },
302 {
303 "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
304 "expect": {
305 "endpoint": {
306 "url": "https://polly-fips.us-east-1.api.aws"
307 }
308 },
309 "params": {
310 "Region": "us-east-1",
311 "UseFIPS": true,
312 "UseDualStack": true
313 }
314 },
315 {
316 "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
317 "expect": {
318 "endpoint": {
319 "url": "https://polly.us-east-1.api.aws"
320 }
321 },
322 "params": {
323 "Region": "us-east-1",
324 "UseFIPS": false,
325 "UseDualStack": true
326 }
327 },
328 {
329 "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
330 "expect": {
331 "endpoint": {
332 "url": "https://polly.cn-northwest-1.amazonaws.com.cn"
333 }
334 },
335 "params": {
336 "Region": "cn-northwest-1",
337 "UseFIPS": false,
338 "UseDualStack": false
339 }
340 },
341 {
342 "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
343 "expect": {
344 "endpoint": {
345 "url": "https://polly-fips.cn-north-1.api.amazonwebservices.com.cn"
346 }
347 },
348 "params": {
349 "Region": "cn-north-1",
350 "UseFIPS": true,
351 "UseDualStack": true
352 }
353 },
354 {
355 "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
356 "expect": {
357 "endpoint": {
358 "url": "https://polly-fips.cn-north-1.amazonaws.com.cn"
359 }
360 },
361 "params": {
362 "Region": "cn-north-1",
363 "UseFIPS": true,
364 "UseDualStack": false
365 }
366 },
367 {
368 "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
369 "expect": {
370 "endpoint": {
371 "url": "https://polly.cn-north-1.api.amazonwebservices.com.cn"
372 }
373 },
374 "params": {
375 "Region": "cn-north-1",
376 "UseFIPS": false,
377 "UseDualStack": true
378 }
379 },
380 {
381 "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
382 "expect": {
383 "endpoint": {
384 "url": "https://polly.cn-north-1.amazonaws.com.cn"
385 }
386 },
387 "params": {
388 "Region": "cn-north-1",
389 "UseFIPS": false,
390 "UseDualStack": false
391 }
392 },
393 {
394 "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
395 "expect": {
396 "endpoint": {
397 "url": "https://polly.us-gov-west-1.amazonaws.com"
398 }
399 },
400 "params": {
401 "Region": "us-gov-west-1",
402 "UseFIPS": false,
403 "UseDualStack": false
404 }
405 },
406 {
407 "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
408 "expect": {
409 "endpoint": {
410 "url": "https://polly-fips.us-gov-west-1.amazonaws.com"
411 }
412 },
413 "params": {
414 "Region": "us-gov-west-1",
415 "UseFIPS": true,
416 "UseDualStack": false
417 }
418 },
419 {
420 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
421 "expect": {
422 "endpoint": {
423 "url": "https://polly-fips.us-gov-east-1.api.aws"
424 }
425 },
426 "params": {
427 "Region": "us-gov-east-1",
428 "UseFIPS": true,
429 "UseDualStack": true
430 }
431 },
432 {
433 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
434 "expect": {
435 "endpoint": {
436 "url": "https://polly-fips.us-gov-east-1.amazonaws.com"
437 }
438 },
439 "params": {
440 "Region": "us-gov-east-1",
441 "UseFIPS": true,
442 "UseDualStack": false
443 }
444 },
445 {
446 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
447 "expect": {
448 "endpoint": {
449 "url": "https://polly.us-gov-east-1.api.aws"
450 }
451 },
452 "params": {
453 "Region": "us-gov-east-1",
454 "UseFIPS": false,
455 "UseDualStack": true
456 }
457 },
458 {
459 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
460 "expect": {
461 "endpoint": {
462 "url": "https://polly.us-gov-east-1.amazonaws.com"
463 }
464 },
465 "params": {
466 "Region": "us-gov-east-1",
467 "UseFIPS": false,
468 "UseDualStack": false
469 }
470 },
471 {
472 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
473 "expect": {
474 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
475 },
476 "params": {
477 "Region": "us-iso-east-1",
478 "UseFIPS": true,
479 "UseDualStack": true
480 }
481 },
482 {
483 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
484 "expect": {
485 "endpoint": {
486 "url": "https://polly-fips.us-iso-east-1.c2s.ic.gov"
487 }
488 },
489 "params": {
490 "Region": "us-iso-east-1",
491 "UseFIPS": true,
492 "UseDualStack": false
493 }
494 },
495 {
496 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
497 "expect": {
498 "error": "DualStack is enabled but this partition does not support DualStack"
499 },
500 "params": {
501 "Region": "us-iso-east-1",
502 "UseFIPS": false,
503 "UseDualStack": true
504 }
505 },
506 {
507 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
508 "expect": {
509 "endpoint": {
510 "url": "https://polly.us-iso-east-1.c2s.ic.gov"
511 }
512 },
513 "params": {
514 "Region": "us-iso-east-1",
515 "UseFIPS": false,
516 "UseDualStack": false
517 }
518 },
519 {
520 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
521 "expect": {
522 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
523 },
524 "params": {
525 "Region": "us-isob-east-1",
526 "UseFIPS": true,
527 "UseDualStack": true
528 }
529 },
530 {
531 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
532 "expect": {
533 "endpoint": {
534 "url": "https://polly-fips.us-isob-east-1.sc2s.sgov.gov"
535 }
536 },
537 "params": {
538 "Region": "us-isob-east-1",
539 "UseFIPS": true,
540 "UseDualStack": false
541 }
542 },
543 {
544 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
545 "expect": {
546 "error": "DualStack is enabled but this partition does not support DualStack"
547 },
548 "params": {
549 "Region": "us-isob-east-1",
550 "UseFIPS": false,
551 "UseDualStack": true
552 }
553 },
554 {
555 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
556 "expect": {
557 "endpoint": {
558 "url": "https://polly.us-isob-east-1.sc2s.sgov.gov"
559 }
560 },
561 "params": {
562 "Region": "us-isob-east-1",
563 "UseFIPS": false,
564 "UseDualStack": false
565 }
566 },
567 {
568 "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
569 "expect": {
570 "endpoint": {
571 "url": "https://example.com"
572 }
573 },
574 "params": {
575 "Region": "us-east-1",
576 "UseFIPS": false,
577 "UseDualStack": false,
578 "Endpoint": "https://example.com"
579 }
580 },
581 {
582 "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
583 "expect": {
584 "endpoint": {
585 "url": "https://example.com"
586 }
587 },
588 "params": {
589 "UseFIPS": false,
590 "UseDualStack": false,
591 "Endpoint": "https://example.com"
592 }
593 },
594 {
595 "documentation": "For custom endpoint with fips enabled and dualstack disabled",
596 "expect": {
597 "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
598 },
599 "params": {
600 "Region": "us-east-1",
601 "UseFIPS": true,
602 "UseDualStack": false,
603 "Endpoint": "https://example.com"
604 }
605 },
606 {
607 "documentation": "For custom endpoint with fips disabled and dualstack enabled",
608 "expect": {
609 "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
610 },
611 "params": {
612 "Region": "us-east-1",
613 "UseFIPS": false,
614 "UseDualStack": true,
615 "Endpoint": "https://example.com"
616 }
617 },
618 {
619 "documentation": "Missing region",
620 "expect": {
621 "error": "Invalid Configuration: Missing Region"
622 }
623 }
624 ],
625 "version": "1.0"
626 }