Debian Codegraph @

models/apis/support/2013-04-15/endpoint-rule-set-1.json

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