Debian Codegraph @

models/apis/chime-sdk-meetings/2021-07-15/endpoint-tests-1.json

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