Debian Codegraph @

models/apis/pinpoint-sms-voice-v2/2022-03-31/endpoint-tests-1.json

raw
1 {
2 "testCases": [
3 {
4 "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
5 "expect": {
6 "endpoint": {
7 "url": "https://sms-voice.ap-northeast-1.amazonaws.com"
8 }
9 },
10 "params": {
11 "Region": "ap-northeast-1",
12 "UseFIPS": false,
13 "UseDualStack": false
14 }
15 },
16 {
17 "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
18 "expect": {
19 "endpoint": {
20 "url": "https://sms-voice.ap-south-1.amazonaws.com"
21 }
22 },
23 "params": {
24 "Region": "ap-south-1",
25 "UseFIPS": false,
26 "UseDualStack": false
27 }
28 },
29 {
30 "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
31 "expect": {
32 "endpoint": {
33 "url": "https://sms-voice.ap-southeast-1.amazonaws.com"
34 }
35 },
36 "params": {
37 "Region": "ap-southeast-1",
38 "UseFIPS": false,
39 "UseDualStack": false
40 }
41 },
42 {
43 "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
44 "expect": {
45 "endpoint": {
46 "url": "https://sms-voice.ap-southeast-2.amazonaws.com"
47 }
48 },
49 "params": {
50 "Region": "ap-southeast-2",
51 "UseFIPS": false,
52 "UseDualStack": false
53 }
54 },
55 {
56 "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
57 "expect": {
58 "endpoint": {
59 "url": "https://sms-voice.ca-central-1.amazonaws.com"
60 }
61 },
62 "params": {
63 "Region": "ca-central-1",
64 "UseFIPS": false,
65 "UseDualStack": false
66 }
67 },
68 {
69 "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
70 "expect": {
71 "endpoint": {
72 "url": "https://sms-voice.eu-central-1.amazonaws.com"
73 }
74 },
75 "params": {
76 "Region": "eu-central-1",
77 "UseFIPS": false,
78 "UseDualStack": false
79 }
80 },
81 {
82 "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
83 "expect": {
84 "endpoint": {
85 "url": "https://sms-voice.eu-west-1.amazonaws.com"
86 }
87 },
88 "params": {
89 "Region": "eu-west-1",
90 "UseFIPS": false,
91 "UseDualStack": false
92 }
93 },
94 {
95 "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
96 "expect": {
97 "endpoint": {
98 "url": "https://sms-voice.eu-west-2.amazonaws.com"
99 }
100 },
101 "params": {
102 "Region": "eu-west-2",
103 "UseFIPS": false,
104 "UseDualStack": false
105 }
106 },
107 {
108 "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
109 "expect": {
110 "endpoint": {
111 "url": "https://sms-voice.us-east-1.amazonaws.com"
112 }
113 },
114 "params": {
115 "Region": "us-east-1",
116 "UseFIPS": false,
117 "UseDualStack": false
118 }
119 },
120 {
121 "documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
122 "expect": {
123 "endpoint": {
124 "url": "https://sms-voice.us-west-2.amazonaws.com"
125 }
126 },
127 "params": {
128 "Region": "us-west-2",
129 "UseFIPS": false,
130 "UseDualStack": false
131 }
132 },
133 {
134 "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
135 "expect": {
136 "endpoint": {
137 "url": "https://sms-voice-fips.us-east-1.api.aws"
138 }
139 },
140 "params": {
141 "Region": "us-east-1",
142 "UseFIPS": true,
143 "UseDualStack": true
144 }
145 },
146 {
147 "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
148 "expect": {
149 "endpoint": {
150 "url": "https://sms-voice-fips.us-east-1.amazonaws.com"
151 }
152 },
153 "params": {
154 "Region": "us-east-1",
155 "UseFIPS": true,
156 "UseDualStack": false
157 }
158 },
159 {
160 "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
161 "expect": {
162 "endpoint": {
163 "url": "https://sms-voice.us-east-1.api.aws"
164 }
165 },
166 "params": {
167 "Region": "us-east-1",
168 "UseFIPS": false,
169 "UseDualStack": true
170 }
171 },
172 {
173 "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
174 "expect": {
175 "endpoint": {
176 "url": "https://sms-voice-fips.cn-north-1.api.amazonwebservices.com.cn"
177 }
178 },
179 "params": {
180 "Region": "cn-north-1",
181 "UseFIPS": true,
182 "UseDualStack": true
183 }
184 },
185 {
186 "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
187 "expect": {
188 "endpoint": {
189 "url": "https://sms-voice-fips.cn-north-1.amazonaws.com.cn"
190 }
191 },
192 "params": {
193 "Region": "cn-north-1",
194 "UseFIPS": true,
195 "UseDualStack": false
196 }
197 },
198 {
199 "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
200 "expect": {
201 "endpoint": {
202 "url": "https://sms-voice.cn-north-1.api.amazonwebservices.com.cn"
203 }
204 },
205 "params": {
206 "Region": "cn-north-1",
207 "UseFIPS": false,
208 "UseDualStack": true
209 }
210 },
211 {
212 "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
213 "expect": {
214 "endpoint": {
215 "url": "https://sms-voice.cn-north-1.amazonaws.com.cn"
216 }
217 },
218 "params": {
219 "Region": "cn-north-1",
220 "UseFIPS": false,
221 "UseDualStack": false
222 }
223 },
224 {
225 "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
226 "expect": {
227 "endpoint": {
228 "url": "https://sms-voice.us-gov-west-1.amazonaws.com"
229 }
230 },
231 "params": {
232 "Region": "us-gov-west-1",
233 "UseFIPS": false,
234 "UseDualStack": false
235 }
236 },
237 {
238 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
239 "expect": {
240 "endpoint": {
241 "url": "https://sms-voice-fips.us-gov-east-1.api.aws"
242 }
243 },
244 "params": {
245 "Region": "us-gov-east-1",
246 "UseFIPS": true,
247 "UseDualStack": true
248 }
249 },
250 {
251 "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
252 "expect": {
253 "endpoint": {
254 "url": "https://sms-voice-fips.us-gov-east-1.amazonaws.com"
255 }
256 },
257 "params": {
258 "Region": "us-gov-east-1",
259 "UseFIPS": true,
260 "UseDualStack": false
261 }
262 },
263 {
264 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
265 "expect": {
266 "endpoint": {
267 "url": "https://sms-voice.us-gov-east-1.api.aws"
268 }
269 },
270 "params": {
271 "Region": "us-gov-east-1",
272 "UseFIPS": false,
273 "UseDualStack": true
274 }
275 },
276 {
277 "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
278 "expect": {
279 "endpoint": {
280 "url": "https://sms-voice.us-gov-east-1.amazonaws.com"
281 }
282 },
283 "params": {
284 "Region": "us-gov-east-1",
285 "UseFIPS": false,
286 "UseDualStack": false
287 }
288 },
289 {
290 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
291 "expect": {
292 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
293 },
294 "params": {
295 "Region": "us-iso-east-1",
296 "UseFIPS": true,
297 "UseDualStack": true
298 }
299 },
300 {
301 "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
302 "expect": {
303 "endpoint": {
304 "url": "https://sms-voice-fips.us-iso-east-1.c2s.ic.gov"
305 }
306 },
307 "params": {
308 "Region": "us-iso-east-1",
309 "UseFIPS": true,
310 "UseDualStack": false
311 }
312 },
313 {
314 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
315 "expect": {
316 "error": "DualStack is enabled but this partition does not support DualStack"
317 },
318 "params": {
319 "Region": "us-iso-east-1",
320 "UseFIPS": false,
321 "UseDualStack": true
322 }
323 },
324 {
325 "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
326 "expect": {
327 "endpoint": {
328 "url": "https://sms-voice.us-iso-east-1.c2s.ic.gov"
329 }
330 },
331 "params": {
332 "Region": "us-iso-east-1",
333 "UseFIPS": false,
334 "UseDualStack": false
335 }
336 },
337 {
338 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
339 "expect": {
340 "error": "FIPS and DualStack are enabled, but this partition does not support one or both"
341 },
342 "params": {
343 "Region": "us-isob-east-1",
344 "UseFIPS": true,
345 "UseDualStack": true
346 }
347 },
348 {
349 "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
350 "expect": {
351 "endpoint": {
352 "url": "https://sms-voice-fips.us-isob-east-1.sc2s.sgov.gov"
353 }
354 },
355 "params": {
356 "Region": "us-isob-east-1",
357 "UseFIPS": true,
358 "UseDualStack": false
359 }
360 },
361 {
362 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
363 "expect": {
364 "error": "DualStack is enabled but this partition does not support DualStack"
365 },
366 "params": {
367 "Region": "us-isob-east-1",
368 "UseFIPS": false,
369 "UseDualStack": true
370 }
371 },
372 {
373 "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
374 "expect": {
375 "endpoint": {
376 "url": "https://sms-voice.us-isob-east-1.sc2s.sgov.gov"
377 }
378 },
379 "params": {
380 "Region": "us-isob-east-1",
381 "UseFIPS": false,
382 "UseDualStack": false
383 }
384 },
385 {
386 "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
387 "expect": {
388 "endpoint": {
389 "url": "https://example.com"
390 }
391 },
392 "params": {
393 "Region": "us-east-1",
394 "UseFIPS": false,
395 "UseDualStack": false,
396 "Endpoint": "https://example.com"
397 }
398 },
399 {
400 "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
401 "expect": {
402 "endpoint": {
403 "url": "https://example.com"
404 }
405 },
406 "params": {
407 "UseFIPS": false,
408 "UseDualStack": false,
409 "Endpoint": "https://example.com"
410 }
411 },
412 {
413 "documentation": "For custom endpoint with fips enabled and dualstack disabled",
414 "expect": {
415 "error": "Invalid Configuration: FIPS and custom endpoint are not supported"
416 },
417 "params": {
418 "Region": "us-east-1",
419 "UseFIPS": true,
420 "UseDualStack": false,
421 "Endpoint": "https://example.com"
422 }
423 },
424 {
425 "documentation": "For custom endpoint with fips disabled and dualstack enabled",
426 "expect": {
427 "error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
428 },
429 "params": {
430 "Region": "us-east-1",
431 "UseFIPS": false,
432 "UseDualStack": true,
433 "Endpoint": "https://example.com"
434 }
435 },
436 {
437 "documentation": "Missing region",
438 "expect": {
439 "error": "Invalid Configuration: Missing Region"
440 }
441 }
442 ],
443 "version": "1.0"
444 }