@aws-sdk/client-route-53 3.231.0 → 3.235.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1440 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- exports.ruleSet = {
5
- version: "1.0",
6
- parameters: {
7
- Region: {
8
- builtIn: "AWS::Region",
9
- required: true,
10
- documentation: "The AWS region used to dispatch the request.",
11
- type: "String",
12
- },
13
- UseDualStack: {
14
- builtIn: "AWS::UseDualStack",
15
- required: true,
16
- default: false,
17
- documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
18
- type: "Boolean",
19
- },
20
- UseFIPS: {
21
- builtIn: "AWS::UseFIPS",
22
- required: true,
23
- default: false,
24
- 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.",
25
- type: "Boolean",
26
- },
27
- Endpoint: {
28
- builtIn: "SDK::Endpoint",
29
- required: false,
30
- documentation: "Override the endpoint used to send this request",
31
- type: "String",
32
- },
33
- },
34
- rules: [
35
- {
36
- conditions: [
37
- {
38
- fn: "aws.partition",
39
- argv: [
40
- {
41
- ref: "Region",
42
- },
43
- ],
44
- assign: "PartitionResult",
45
- },
46
- ],
47
- type: "tree",
48
- rules: [
49
- {
50
- conditions: [
51
- {
52
- fn: "isSet",
53
- argv: [
54
- {
55
- ref: "Endpoint",
56
- },
57
- ],
58
- },
59
- {
60
- fn: "parseURL",
61
- argv: [
62
- {
63
- ref: "Endpoint",
64
- },
65
- ],
66
- assign: "url",
67
- },
68
- ],
69
- type: "tree",
70
- rules: [
71
- {
72
- conditions: [
73
- {
74
- fn: "booleanEquals",
75
- argv: [
76
- {
77
- ref: "UseFIPS",
78
- },
79
- true,
80
- ],
81
- },
82
- ],
83
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
84
- type: "error",
85
- },
86
- {
87
- conditions: [],
88
- type: "tree",
89
- rules: [
90
- {
91
- conditions: [
92
- {
93
- fn: "booleanEquals",
94
- argv: [
95
- {
96
- ref: "UseDualStack",
97
- },
98
- true,
99
- ],
100
- },
101
- ],
102
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
103
- type: "error",
104
- },
105
- {
106
- conditions: [],
107
- endpoint: {
108
- url: {
109
- ref: "Endpoint",
110
- },
111
- properties: {},
112
- headers: {},
113
- },
114
- type: "endpoint",
115
- },
116
- ],
117
- },
118
- ],
119
- },
120
- {
121
- conditions: [
122
- {
123
- fn: "stringEquals",
124
- argv: [
125
- {
126
- fn: "getAttr",
127
- argv: [
128
- {
129
- ref: "PartitionResult",
130
- },
131
- "name",
132
- ],
133
- },
134
- "aws",
135
- ],
136
- },
137
- ],
138
- type: "tree",
139
- rules: [
140
- {
141
- conditions: [
142
- {
143
- fn: "booleanEquals",
144
- argv: [
145
- {
146
- ref: "UseFIPS",
147
- },
148
- true,
149
- ],
150
- },
151
- {
152
- fn: "booleanEquals",
153
- argv: [
154
- {
155
- ref: "UseDualStack",
156
- },
157
- true,
158
- ],
159
- },
160
- ],
161
- type: "tree",
162
- rules: [
163
- {
164
- conditions: [
165
- {
166
- fn: "booleanEquals",
167
- argv: [
168
- true,
169
- {
170
- fn: "getAttr",
171
- argv: [
172
- {
173
- ref: "PartitionResult",
174
- },
175
- "supportsFIPS",
176
- ],
177
- },
178
- ],
179
- },
180
- {
181
- fn: "booleanEquals",
182
- argv: [
183
- true,
184
- {
185
- fn: "getAttr",
186
- argv: [
187
- {
188
- ref: "PartitionResult",
189
- },
190
- "supportsDualStack",
191
- ],
192
- },
193
- ],
194
- },
195
- ],
196
- type: "tree",
197
- rules: [
198
- {
199
- conditions: [],
200
- endpoint: {
201
- url: "https://route-53-fips.{Region}.api.aws",
202
- properties: {
203
- authSchemes: [
204
- {
205
- name: "sigv4",
206
- signingRegion: "us-east-1",
207
- signingName: "route53",
208
- },
209
- ],
210
- },
211
- headers: {},
212
- },
213
- type: "endpoint",
214
- },
215
- ],
216
- },
217
- {
218
- conditions: [],
219
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
220
- type: "error",
221
- },
222
- ],
223
- },
224
- {
225
- conditions: [
226
- {
227
- fn: "booleanEquals",
228
- argv: [
229
- {
230
- ref: "UseFIPS",
231
- },
232
- true,
233
- ],
234
- },
235
- ],
236
- type: "tree",
237
- rules: [
238
- {
239
- conditions: [
240
- {
241
- fn: "booleanEquals",
242
- argv: [
243
- true,
244
- {
245
- fn: "getAttr",
246
- argv: [
247
- {
248
- ref: "PartitionResult",
249
- },
250
- "supportsFIPS",
251
- ],
252
- },
253
- ],
254
- },
255
- ],
256
- type: "tree",
257
- rules: [
258
- {
259
- conditions: [],
260
- endpoint: {
261
- url: "https://route53-fips.amazonaws.com",
262
- properties: {
263
- authSchemes: [
264
- {
265
- name: "sigv4",
266
- signingRegion: "us-east-1",
267
- signingName: "route53",
268
- },
269
- ],
270
- },
271
- headers: {},
272
- },
273
- type: "endpoint",
274
- },
275
- ],
276
- },
277
- {
278
- conditions: [],
279
- error: "FIPS is enabled but this partition does not support FIPS",
280
- type: "error",
281
- },
282
- ],
283
- },
284
- {
285
- conditions: [
286
- {
287
- fn: "booleanEquals",
288
- argv: [
289
- {
290
- ref: "UseDualStack",
291
- },
292
- true,
293
- ],
294
- },
295
- ],
296
- type: "tree",
297
- rules: [
298
- {
299
- conditions: [
300
- {
301
- fn: "booleanEquals",
302
- argv: [
303
- true,
304
- {
305
- fn: "getAttr",
306
- argv: [
307
- {
308
- ref: "PartitionResult",
309
- },
310
- "supportsDualStack",
311
- ],
312
- },
313
- ],
314
- },
315
- ],
316
- type: "tree",
317
- rules: [
318
- {
319
- conditions: [],
320
- endpoint: {
321
- url: "https://route-53.{Region}.api.aws",
322
- properties: {
323
- authSchemes: [
324
- {
325
- name: "sigv4",
326
- signingRegion: "us-east-1",
327
- signingName: "route53",
328
- },
329
- ],
330
- },
331
- headers: {},
332
- },
333
- type: "endpoint",
334
- },
335
- ],
336
- },
337
- {
338
- conditions: [],
339
- error: "DualStack is enabled but this partition does not support DualStack",
340
- type: "error",
341
- },
342
- ],
343
- },
344
- {
345
- conditions: [],
346
- endpoint: {
347
- url: "https://route53.amazonaws.com",
348
- properties: {
349
- authSchemes: [
350
- {
351
- name: "sigv4",
352
- signingRegion: "us-east-1",
353
- signingName: "route53",
354
- },
355
- ],
356
- },
357
- headers: {},
358
- },
359
- type: "endpoint",
360
- },
361
- ],
362
- },
363
- {
364
- conditions: [
365
- {
366
- fn: "stringEquals",
367
- argv: [
368
- {
369
- fn: "getAttr",
370
- argv: [
371
- {
372
- ref: "PartitionResult",
373
- },
374
- "name",
375
- ],
376
- },
377
- "aws-cn",
378
- ],
379
- },
380
- ],
381
- type: "tree",
382
- rules: [
383
- {
384
- conditions: [
385
- {
386
- fn: "booleanEquals",
387
- argv: [
388
- {
389
- ref: "UseFIPS",
390
- },
391
- true,
392
- ],
393
- },
394
- {
395
- fn: "booleanEquals",
396
- argv: [
397
- {
398
- ref: "UseDualStack",
399
- },
400
- true,
401
- ],
402
- },
403
- ],
404
- type: "tree",
405
- rules: [
406
- {
407
- conditions: [
408
- {
409
- fn: "booleanEquals",
410
- argv: [
411
- true,
412
- {
413
- fn: "getAttr",
414
- argv: [
415
- {
416
- ref: "PartitionResult",
417
- },
418
- "supportsFIPS",
419
- ],
420
- },
421
- ],
422
- },
423
- {
424
- fn: "booleanEquals",
425
- argv: [
426
- true,
427
- {
428
- fn: "getAttr",
429
- argv: [
430
- {
431
- ref: "PartitionResult",
432
- },
433
- "supportsDualStack",
434
- ],
435
- },
436
- ],
437
- },
438
- ],
439
- type: "tree",
440
- rules: [
441
- {
442
- conditions: [],
443
- endpoint: {
444
- url: "https://route-53-fips.{Region}.api.amazonwebservices.com.cn",
445
- properties: {
446
- authSchemes: [
447
- {
448
- name: "sigv4",
449
- signingRegion: "cn-northwest-1",
450
- signingName: "route53",
451
- },
452
- ],
453
- },
454
- headers: {},
455
- },
456
- type: "endpoint",
457
- },
458
- ],
459
- },
460
- {
461
- conditions: [],
462
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
463
- type: "error",
464
- },
465
- ],
466
- },
467
- {
468
- conditions: [
469
- {
470
- fn: "booleanEquals",
471
- argv: [
472
- {
473
- ref: "UseFIPS",
474
- },
475
- true,
476
- ],
477
- },
478
- ],
479
- type: "tree",
480
- rules: [
481
- {
482
- conditions: [
483
- {
484
- fn: "booleanEquals",
485
- argv: [
486
- true,
487
- {
488
- fn: "getAttr",
489
- argv: [
490
- {
491
- ref: "PartitionResult",
492
- },
493
- "supportsFIPS",
494
- ],
495
- },
496
- ],
497
- },
498
- ],
499
- type: "tree",
500
- rules: [
501
- {
502
- conditions: [],
503
- endpoint: {
504
- url: "https://route-53-fips.{Region}.amazonaws.com.cn",
505
- properties: {
506
- authSchemes: [
507
- {
508
- name: "sigv4",
509
- signingRegion: "cn-northwest-1",
510
- signingName: "route53",
511
- },
512
- ],
513
- },
514
- headers: {},
515
- },
516
- type: "endpoint",
517
- },
518
- ],
519
- },
520
- {
521
- conditions: [],
522
- error: "FIPS is enabled but this partition does not support FIPS",
523
- type: "error",
524
- },
525
- ],
526
- },
527
- {
528
- conditions: [
529
- {
530
- fn: "booleanEquals",
531
- argv: [
532
- {
533
- ref: "UseDualStack",
534
- },
535
- true,
536
- ],
537
- },
538
- ],
539
- type: "tree",
540
- rules: [
541
- {
542
- conditions: [
543
- {
544
- fn: "booleanEquals",
545
- argv: [
546
- true,
547
- {
548
- fn: "getAttr",
549
- argv: [
550
- {
551
- ref: "PartitionResult",
552
- },
553
- "supportsDualStack",
554
- ],
555
- },
556
- ],
557
- },
558
- ],
559
- type: "tree",
560
- rules: [
561
- {
562
- conditions: [],
563
- endpoint: {
564
- url: "https://route-53.{Region}.api.amazonwebservices.com.cn",
565
- properties: {
566
- authSchemes: [
567
- {
568
- name: "sigv4",
569
- signingRegion: "cn-northwest-1",
570
- signingName: "route53",
571
- },
572
- ],
573
- },
574
- headers: {},
575
- },
576
- type: "endpoint",
577
- },
578
- ],
579
- },
580
- {
581
- conditions: [],
582
- error: "DualStack is enabled but this partition does not support DualStack",
583
- type: "error",
584
- },
585
- ],
586
- },
587
- {
588
- conditions: [],
589
- endpoint: {
590
- url: "https://route53.amazonaws.com.cn",
591
- properties: {
592
- authSchemes: [
593
- {
594
- name: "sigv4",
595
- signingRegion: "cn-northwest-1",
596
- signingName: "route53",
597
- },
598
- ],
599
- },
600
- headers: {},
601
- },
602
- type: "endpoint",
603
- },
604
- ],
605
- },
606
- {
607
- conditions: [
608
- {
609
- fn: "stringEquals",
610
- argv: [
611
- {
612
- fn: "getAttr",
613
- argv: [
614
- {
615
- ref: "PartitionResult",
616
- },
617
- "name",
618
- ],
619
- },
620
- "aws-us-gov",
621
- ],
622
- },
623
- ],
624
- type: "tree",
625
- rules: [
626
- {
627
- conditions: [
628
- {
629
- fn: "booleanEquals",
630
- argv: [
631
- {
632
- ref: "UseFIPS",
633
- },
634
- true,
635
- ],
636
- },
637
- {
638
- fn: "booleanEquals",
639
- argv: [
640
- {
641
- ref: "UseDualStack",
642
- },
643
- true,
644
- ],
645
- },
646
- ],
647
- type: "tree",
648
- rules: [
649
- {
650
- conditions: [
651
- {
652
- fn: "booleanEquals",
653
- argv: [
654
- true,
655
- {
656
- fn: "getAttr",
657
- argv: [
658
- {
659
- ref: "PartitionResult",
660
- },
661
- "supportsFIPS",
662
- ],
663
- },
664
- ],
665
- },
666
- {
667
- fn: "booleanEquals",
668
- argv: [
669
- true,
670
- {
671
- fn: "getAttr",
672
- argv: [
673
- {
674
- ref: "PartitionResult",
675
- },
676
- "supportsDualStack",
677
- ],
678
- },
679
- ],
680
- },
681
- ],
682
- type: "tree",
683
- rules: [
684
- {
685
- conditions: [],
686
- endpoint: {
687
- url: "https://route-53-fips.{Region}.api.aws",
688
- properties: {
689
- authSchemes: [
690
- {
691
- name: "sigv4",
692
- signingRegion: "us-gov-west-1",
693
- signingName: "route53",
694
- },
695
- ],
696
- },
697
- headers: {},
698
- },
699
- type: "endpoint",
700
- },
701
- ],
702
- },
703
- {
704
- conditions: [],
705
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
706
- type: "error",
707
- },
708
- ],
709
- },
710
- {
711
- conditions: [
712
- {
713
- fn: "booleanEquals",
714
- argv: [
715
- {
716
- ref: "UseFIPS",
717
- },
718
- true,
719
- ],
720
- },
721
- ],
722
- type: "tree",
723
- rules: [
724
- {
725
- conditions: [
726
- {
727
- fn: "booleanEquals",
728
- argv: [
729
- true,
730
- {
731
- fn: "getAttr",
732
- argv: [
733
- {
734
- ref: "PartitionResult",
735
- },
736
- "supportsFIPS",
737
- ],
738
- },
739
- ],
740
- },
741
- ],
742
- type: "tree",
743
- rules: [
744
- {
745
- conditions: [],
746
- endpoint: {
747
- url: "https://route53.us-gov.amazonaws.com",
748
- properties: {
749
- authSchemes: [
750
- {
751
- name: "sigv4",
752
- signingRegion: "us-gov-west-1",
753
- signingName: "route53",
754
- },
755
- ],
756
- },
757
- headers: {},
758
- },
759
- type: "endpoint",
760
- },
761
- ],
762
- },
763
- {
764
- conditions: [],
765
- error: "FIPS is enabled but this partition does not support FIPS",
766
- type: "error",
767
- },
768
- ],
769
- },
770
- {
771
- conditions: [
772
- {
773
- fn: "booleanEquals",
774
- argv: [
775
- {
776
- ref: "UseDualStack",
777
- },
778
- true,
779
- ],
780
- },
781
- ],
782
- type: "tree",
783
- rules: [
784
- {
785
- conditions: [
786
- {
787
- fn: "booleanEquals",
788
- argv: [
789
- true,
790
- {
791
- fn: "getAttr",
792
- argv: [
793
- {
794
- ref: "PartitionResult",
795
- },
796
- "supportsDualStack",
797
- ],
798
- },
799
- ],
800
- },
801
- ],
802
- type: "tree",
803
- rules: [
804
- {
805
- conditions: [],
806
- endpoint: {
807
- url: "https://route-53.{Region}.api.aws",
808
- properties: {
809
- authSchemes: [
810
- {
811
- name: "sigv4",
812
- signingRegion: "us-gov-west-1",
813
- signingName: "route53",
814
- },
815
- ],
816
- },
817
- headers: {},
818
- },
819
- type: "endpoint",
820
- },
821
- ],
822
- },
823
- {
824
- conditions: [],
825
- error: "DualStack is enabled but this partition does not support DualStack",
826
- type: "error",
827
- },
828
- ],
829
- },
830
- {
831
- conditions: [],
832
- endpoint: {
833
- url: "https://route53.us-gov.amazonaws.com",
834
- properties: {
835
- authSchemes: [
836
- {
837
- name: "sigv4",
838
- signingRegion: "us-gov-west-1",
839
- signingName: "route53",
840
- },
841
- ],
842
- },
843
- headers: {},
844
- },
845
- type: "endpoint",
846
- },
847
- ],
848
- },
849
- {
850
- conditions: [
851
- {
852
- fn: "stringEquals",
853
- argv: [
854
- {
855
- fn: "getAttr",
856
- argv: [
857
- {
858
- ref: "PartitionResult",
859
- },
860
- "name",
861
- ],
862
- },
863
- "aws-iso",
864
- ],
865
- },
866
- ],
867
- type: "tree",
868
- rules: [
869
- {
870
- conditions: [
871
- {
872
- fn: "booleanEquals",
873
- argv: [
874
- {
875
- ref: "UseFIPS",
876
- },
877
- true,
878
- ],
879
- },
880
- ],
881
- type: "tree",
882
- rules: [
883
- {
884
- conditions: [
885
- {
886
- fn: "booleanEquals",
887
- argv: [
888
- true,
889
- {
890
- fn: "getAttr",
891
- argv: [
892
- {
893
- ref: "PartitionResult",
894
- },
895
- "supportsFIPS",
896
- ],
897
- },
898
- ],
899
- },
900
- ],
901
- type: "tree",
902
- rules: [
903
- {
904
- conditions: [],
905
- endpoint: {
906
- url: "https://route-53-fips.{Region}.c2s.ic.gov",
907
- properties: {
908
- authSchemes: [
909
- {
910
- name: "sigv4",
911
- signingRegion: "us-iso-east-1",
912
- signingName: "route53",
913
- },
914
- ],
915
- },
916
- headers: {},
917
- },
918
- type: "endpoint",
919
- },
920
- ],
921
- },
922
- {
923
- conditions: [],
924
- error: "FIPS is enabled but this partition does not support FIPS",
925
- type: "error",
926
- },
927
- ],
928
- },
929
- {
930
- conditions: [],
931
- endpoint: {
932
- url: "https://route53.c2s.ic.gov",
933
- properties: {
934
- authSchemes: [
935
- {
936
- name: "sigv4",
937
- signingRegion: "us-iso-east-1",
938
- signingName: "route53",
939
- },
940
- ],
941
- },
942
- headers: {},
943
- },
944
- type: "endpoint",
945
- },
946
- ],
947
- },
948
- {
949
- conditions: [
950
- {
951
- fn: "stringEquals",
952
- argv: [
953
- {
954
- fn: "getAttr",
955
- argv: [
956
- {
957
- ref: "PartitionResult",
958
- },
959
- "name",
960
- ],
961
- },
962
- "aws-iso-b",
963
- ],
964
- },
965
- ],
966
- type: "tree",
967
- rules: [
968
- {
969
- conditions: [
970
- {
971
- fn: "booleanEquals",
972
- argv: [
973
- {
974
- ref: "UseFIPS",
975
- },
976
- true,
977
- ],
978
- },
979
- ],
980
- type: "tree",
981
- rules: [
982
- {
983
- conditions: [
984
- {
985
- fn: "booleanEquals",
986
- argv: [
987
- true,
988
- {
989
- fn: "getAttr",
990
- argv: [
991
- {
992
- ref: "PartitionResult",
993
- },
994
- "supportsFIPS",
995
- ],
996
- },
997
- ],
998
- },
999
- ],
1000
- type: "tree",
1001
- rules: [
1002
- {
1003
- conditions: [],
1004
- endpoint: {
1005
- url: "https://route-53-fips.{Region}.sc2s.sgov.gov",
1006
- properties: {
1007
- authSchemes: [
1008
- {
1009
- name: "sigv4",
1010
- signingRegion: "us-isob-east-1",
1011
- signingName: "route53",
1012
- },
1013
- ],
1014
- },
1015
- headers: {},
1016
- },
1017
- type: "endpoint",
1018
- },
1019
- ],
1020
- },
1021
- {
1022
- conditions: [],
1023
- error: "FIPS is enabled but this partition does not support FIPS",
1024
- type: "error",
1025
- },
1026
- ],
1027
- },
1028
- {
1029
- conditions: [],
1030
- endpoint: {
1031
- url: "https://route53.sc2s.sgov.gov",
1032
- properties: {
1033
- authSchemes: [
1034
- {
1035
- name: "sigv4",
1036
- signingRegion: "us-isob-east-1",
1037
- signingName: "route53",
1038
- },
1039
- ],
1040
- },
1041
- headers: {},
1042
- },
1043
- type: "endpoint",
1044
- },
1045
- ],
1046
- },
1047
- {
1048
- conditions: [
1049
- {
1050
- fn: "booleanEquals",
1051
- argv: [
1052
- {
1053
- ref: "UseFIPS",
1054
- },
1055
- true,
1056
- ],
1057
- },
1058
- {
1059
- fn: "booleanEquals",
1060
- argv: [
1061
- {
1062
- ref: "UseDualStack",
1063
- },
1064
- true,
1065
- ],
1066
- },
1067
- ],
1068
- type: "tree",
1069
- rules: [
1070
- {
1071
- conditions: [
1072
- {
1073
- fn: "booleanEquals",
1074
- argv: [
1075
- true,
1076
- {
1077
- fn: "getAttr",
1078
- argv: [
1079
- {
1080
- ref: "PartitionResult",
1081
- },
1082
- "supportsFIPS",
1083
- ],
1084
- },
1085
- ],
1086
- },
1087
- {
1088
- fn: "booleanEquals",
1089
- argv: [
1090
- true,
1091
- {
1092
- fn: "getAttr",
1093
- argv: [
1094
- {
1095
- ref: "PartitionResult",
1096
- },
1097
- "supportsDualStack",
1098
- ],
1099
- },
1100
- ],
1101
- },
1102
- ],
1103
- type: "tree",
1104
- rules: [
1105
- {
1106
- conditions: [],
1107
- endpoint: {
1108
- url: "https://route53-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
1109
- properties: {},
1110
- headers: {},
1111
- },
1112
- type: "endpoint",
1113
- },
1114
- ],
1115
- },
1116
- {
1117
- conditions: [],
1118
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
1119
- type: "error",
1120
- },
1121
- ],
1122
- },
1123
- {
1124
- conditions: [
1125
- {
1126
- fn: "booleanEquals",
1127
- argv: [
1128
- {
1129
- ref: "UseFIPS",
1130
- },
1131
- true,
1132
- ],
1133
- },
1134
- ],
1135
- type: "tree",
1136
- rules: [
1137
- {
1138
- conditions: [
1139
- {
1140
- fn: "booleanEquals",
1141
- argv: [
1142
- true,
1143
- {
1144
- fn: "getAttr",
1145
- argv: [
1146
- {
1147
- ref: "PartitionResult",
1148
- },
1149
- "supportsFIPS",
1150
- ],
1151
- },
1152
- ],
1153
- },
1154
- ],
1155
- type: "tree",
1156
- rules: [
1157
- {
1158
- conditions: [],
1159
- type: "tree",
1160
- rules: [
1161
- {
1162
- conditions: [
1163
- {
1164
- fn: "stringEquals",
1165
- argv: [
1166
- {
1167
- ref: "Region",
1168
- },
1169
- "aws-global",
1170
- ],
1171
- },
1172
- ],
1173
- endpoint: {
1174
- url: "https://route53-fips.amazonaws.com",
1175
- properties: {
1176
- authSchemes: [
1177
- {
1178
- name: "sigv4",
1179
- signingRegion: "us-east-1",
1180
- signingName: "route53",
1181
- },
1182
- ],
1183
- },
1184
- headers: {},
1185
- },
1186
- type: "endpoint",
1187
- },
1188
- {
1189
- conditions: [
1190
- {
1191
- fn: "stringEquals",
1192
- argv: [
1193
- {
1194
- ref: "Region",
1195
- },
1196
- "aws-us-gov-global",
1197
- ],
1198
- },
1199
- ],
1200
- endpoint: {
1201
- url: "https://route53.us-gov.amazonaws.com",
1202
- properties: {
1203
- authSchemes: [
1204
- {
1205
- name: "sigv4",
1206
- signingRegion: "us-gov-west-1",
1207
- signingName: "route53",
1208
- },
1209
- ],
1210
- },
1211
- headers: {},
1212
- },
1213
- type: "endpoint",
1214
- },
1215
- {
1216
- conditions: [],
1217
- endpoint: {
1218
- url: "https://route53-fips.{Region}.{PartitionResult#dnsSuffix}",
1219
- properties: {},
1220
- headers: {},
1221
- },
1222
- type: "endpoint",
1223
- },
1224
- ],
1225
- },
1226
- ],
1227
- },
1228
- {
1229
- conditions: [],
1230
- error: "FIPS is enabled but this partition does not support FIPS",
1231
- type: "error",
1232
- },
1233
- ],
1234
- },
1235
- {
1236
- conditions: [
1237
- {
1238
- fn: "booleanEquals",
1239
- argv: [
1240
- {
1241
- ref: "UseDualStack",
1242
- },
1243
- true,
1244
- ],
1245
- },
1246
- ],
1247
- type: "tree",
1248
- rules: [
1249
- {
1250
- conditions: [
1251
- {
1252
- fn: "booleanEquals",
1253
- argv: [
1254
- true,
1255
- {
1256
- fn: "getAttr",
1257
- argv: [
1258
- {
1259
- ref: "PartitionResult",
1260
- },
1261
- "supportsDualStack",
1262
- ],
1263
- },
1264
- ],
1265
- },
1266
- ],
1267
- type: "tree",
1268
- rules: [
1269
- {
1270
- conditions: [],
1271
- endpoint: {
1272
- url: "https://route53.{Region}.{PartitionResult#dualStackDnsSuffix}",
1273
- properties: {},
1274
- headers: {},
1275
- },
1276
- type: "endpoint",
1277
- },
1278
- ],
1279
- },
1280
- {
1281
- conditions: [],
1282
- error: "DualStack is enabled but this partition does not support DualStack",
1283
- type: "error",
1284
- },
1285
- ],
1286
- },
1287
- {
1288
- conditions: [],
1289
- type: "tree",
1290
- rules: [
1291
- {
1292
- conditions: [
1293
- {
1294
- fn: "stringEquals",
1295
- argv: [
1296
- {
1297
- ref: "Region",
1298
- },
1299
- "aws-global",
1300
- ],
1301
- },
1302
- ],
1303
- endpoint: {
1304
- url: "https://route53.amazonaws.com",
1305
- properties: {
1306
- authSchemes: [
1307
- {
1308
- name: "sigv4",
1309
- signingRegion: "us-east-1",
1310
- signingName: "route53",
1311
- },
1312
- ],
1313
- },
1314
- headers: {},
1315
- },
1316
- type: "endpoint",
1317
- },
1318
- {
1319
- conditions: [
1320
- {
1321
- fn: "stringEquals",
1322
- argv: [
1323
- {
1324
- ref: "Region",
1325
- },
1326
- "aws-cn-global",
1327
- ],
1328
- },
1329
- ],
1330
- endpoint: {
1331
- url: "https://route53.amazonaws.com.cn",
1332
- properties: {
1333
- authSchemes: [
1334
- {
1335
- name: "sigv4",
1336
- signingRegion: "cn-northwest-1",
1337
- signingName: "route53",
1338
- },
1339
- ],
1340
- },
1341
- headers: {},
1342
- },
1343
- type: "endpoint",
1344
- },
1345
- {
1346
- conditions: [
1347
- {
1348
- fn: "stringEquals",
1349
- argv: [
1350
- {
1351
- ref: "Region",
1352
- },
1353
- "aws-us-gov-global",
1354
- ],
1355
- },
1356
- ],
1357
- endpoint: {
1358
- url: "https://route53.us-gov.amazonaws.com",
1359
- properties: {
1360
- authSchemes: [
1361
- {
1362
- name: "sigv4",
1363
- signingRegion: "us-gov-west-1",
1364
- signingName: "route53",
1365
- },
1366
- ],
1367
- },
1368
- headers: {},
1369
- },
1370
- type: "endpoint",
1371
- },
1372
- {
1373
- conditions: [
1374
- {
1375
- fn: "stringEquals",
1376
- argv: [
1377
- {
1378
- ref: "Region",
1379
- },
1380
- "aws-iso-global",
1381
- ],
1382
- },
1383
- ],
1384
- endpoint: {
1385
- url: "https://route53.c2s.ic.gov",
1386
- properties: {
1387
- authSchemes: [
1388
- {
1389
- name: "sigv4",
1390
- signingRegion: "us-iso-east-1",
1391
- signingName: "route53",
1392
- },
1393
- ],
1394
- },
1395
- headers: {},
1396
- },
1397
- type: "endpoint",
1398
- },
1399
- {
1400
- conditions: [
1401
- {
1402
- fn: "stringEquals",
1403
- argv: [
1404
- {
1405
- ref: "Region",
1406
- },
1407
- "aws-iso-b-global",
1408
- ],
1409
- },
1410
- ],
1411
- endpoint: {
1412
- url: "https://route53.sc2s.sgov.gov",
1413
- properties: {
1414
- authSchemes: [
1415
- {
1416
- name: "sigv4",
1417
- signingRegion: "us-isob-east-1",
1418
- signingName: "route53",
1419
- },
1420
- ],
1421
- },
1422
- headers: {},
1423
- },
1424
- type: "endpoint",
1425
- },
1426
- {
1427
- conditions: [],
1428
- endpoint: {
1429
- url: "https://route53.{Region}.{PartitionResult#dnsSuffix}",
1430
- properties: {},
1431
- headers: {},
1432
- },
1433
- type: "endpoint",
1434
- },
1435
- ],
1436
- },
1437
- ],
1438
- },
1439
- ],
1440
- };
4
+ const N = "type", O = "conditions", P = "fn", Q = "argv", R = "ref", S = "url", T = "properties", U = "headers", V = "authSchemes", W = "name", X = "signingRegion", Y = "signingName";
5
+ const a = true, b = false, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = "stringEquals", j = "https://route-53-fips.{Region}.api.aws", k = "https://route-53.{Region}.api.aws", l = { [R]: "Region" }, m = { [R]: "Endpoint" }, n = {}, o = { [P]: "getAttr", [Q]: [{ [R]: e }, "name"] }, p = { [V]: [{ [W]: "sigv4", [X]: "us-east-1", [Y]: "route53" }] }, q = { [O]: [], [g]: "FIPS and DualStack are enabled, but this partition does not support one or both", [N]: g }, r = { [S]: "https://route53-fips.amazonaws.com", [T]: p, [U]: {} }, s = { [O]: [], [g]: "FIPS is enabled but this partition does not support FIPS", [N]: g }, t = { [O]: [], [g]: "DualStack is enabled but this partition does not support DualStack", [N]: g }, u = { [S]: "https://route53.amazonaws.com", [T]: p, [U]: {} }, v = { [V]: [{ [W]: "sigv4", [X]: "cn-northwest-1", [Y]: "route53" }] }, w = { [S]: "https://route53.amazonaws.com.cn", [T]: v, [U]: {} }, x = { [V]: [{ [W]: "sigv4", [X]: "us-gov-west-1", [Y]: "route53" }] }, y = { [O]: [], [h]: { [S]: "https://route53.us-gov.amazonaws.com", [T]: x, [U]: {} }, [N]: h }, z = { [V]: [{ [W]: "sigv4", [X]: "us-iso-east-1", [Y]: "route53" }] }, A = { [S]: "https://route53.c2s.ic.gov", [T]: z, [U]: {} }, B = { [V]: [{ [W]: "sigv4", [X]: "us-isob-east-1", [Y]: "route53" }] }, C = { [S]: "https://route53.sc2s.sgov.gov", [T]: B, [U]: {} }, D = { [O]: [{ [P]: i, [Q]: [l, "aws-us-gov-global"] }], [h]: { [S]: "https://route53.us-gov.amazonaws.com", [T]: x, [U]: {} }, [N]: h }, E = [m], F = [{ [P]: "booleanEquals", [Q]: [{ [R]: "UseFIPS" }, true] }], G = [], H = [{ [P]: "booleanEquals", [Q]: [{ [R]: "UseDualStack" }, true] }], I = [{ [P]: "booleanEquals", [Q]: [{ [R]: "UseFIPS" }, true] }, { [P]: "booleanEquals", [Q]: [{ [R]: "UseDualStack" }, true] }], J = [{ [P]: "booleanEquals", [Q]: [true, { [P]: "getAttr", [Q]: [{ [R]: e }, "supportsFIPS"] }] }, { [P]: "booleanEquals", [Q]: [true, { [P]: "getAttr", [Q]: [{ [R]: e }, "supportsDualStack"] }] }], K = [{ [P]: "booleanEquals", [Q]: [true, { [P]: "getAttr", [Q]: [{ [R]: e }, "supportsFIPS"] }] }], L = [{ [P]: "booleanEquals", [Q]: [true, { [P]: "getAttr", [Q]: [{ [R]: e }, "supportsDualStack"] }] }], M = [{ [P]: i, [Q]: [l, "aws-global"] }];
6
+ const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", [N]: c }, UseDualStack: { builtIn: "AWS::UseDualStack", required: a, default: b, documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", [N]: d }, UseFIPS: { builtIn: "AWS::UseFIPS", required: a, default: b, 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.", [N]: d }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", [N]: c } }, rules: [{ [O]: [{ [P]: "aws.partition", [Q]: [l], assign: e }], [N]: f, rules: [{ [O]: [{ [P]: "isSet", [Q]: E }, { [P]: "parseURL", [Q]: E, assign: "url" }], [N]: f, rules: [{ [O]: F, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [N]: g }, { [O]: G, [N]: f, rules: [{ [O]: H, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [N]: g }, { [O]: G, endpoint: { [S]: m, [T]: n, [U]: n }, [N]: h }] }] }, { [O]: [{ [P]: i, [Q]: [o, "aws"] }], [N]: f, rules: [{ [O]: I, [N]: f, rules: [{ [O]: J, [N]: f, rules: [{ [O]: G, endpoint: { [S]: j, [T]: p, [U]: n }, [N]: h }] }, q] }, { [O]: F, [N]: f, rules: [{ [O]: K, [N]: f, rules: [{ [O]: G, endpoint: r, [N]: h }] }, s] }, { [O]: H, [N]: f, rules: [{ [O]: L, [N]: f, rules: [{ [O]: G, endpoint: { [S]: k, [T]: p, [U]: n }, [N]: h }] }, t] }, { [O]: G, endpoint: u, [N]: h }] }, { [O]: [{ [P]: i, [Q]: [o, "aws-cn"] }], [N]: f, rules: [{ [O]: I, [N]: f, rules: [{ [O]: J, [N]: f, rules: [{ [O]: G, endpoint: { [S]: "https://route-53-fips.{Region}.api.amazonwebservices.com.cn", [T]: v, [U]: n }, [N]: h }] }, q] }, { [O]: F, [N]: f, rules: [{ [O]: K, [N]: f, rules: [{ [O]: G, endpoint: { [S]: "https://route-53-fips.{Region}.amazonaws.com.cn", [T]: v, [U]: n }, [N]: h }] }, s] }, { [O]: H, [N]: f, rules: [{ [O]: L, [N]: f, rules: [{ [O]: G, endpoint: { [S]: "https://route-53.{Region}.api.amazonwebservices.com.cn", [T]: v, [U]: n }, [N]: h }] }, t] }, { [O]: G, endpoint: w, [N]: h }] }, { [O]: [{ [P]: i, [Q]: [o, "aws-us-gov"] }], [N]: f, rules: [{ [O]: I, [N]: f, rules: [{ [O]: J, [N]: f, rules: [{ [O]: G, endpoint: { [S]: j, [T]: x, [U]: n }, [N]: h }] }, q] }, { [O]: F, [N]: f, rules: [{ [O]: K, [N]: f, rules: [y] }, s] }, { [O]: H, [N]: f, rules: [{ [O]: L, [N]: f, rules: [{ [O]: G, endpoint: { [S]: k, [T]: x, [U]: n }, [N]: h }] }, t] }, y] }, { [O]: [{ [P]: i, [Q]: [o, "aws-iso"] }], [N]: f, rules: [{ [O]: F, [N]: f, rules: [{ [O]: K, [N]: f, rules: [{ [O]: G, endpoint: { [S]: "https://route-53-fips.{Region}.c2s.ic.gov", [T]: z, [U]: n }, [N]: h }] }, s] }, { [O]: G, endpoint: A, [N]: h }] }, { [O]: [{ [P]: i, [Q]: [o, "aws-iso-b"] }], [N]: f, rules: [{ [O]: F, [N]: f, rules: [{ [O]: K, [N]: f, rules: [{ [O]: G, endpoint: { [S]: "https://route-53-fips.{Region}.sc2s.sgov.gov", [T]: B, [U]: n }, [N]: h }] }, s] }, { [O]: G, endpoint: C, [N]: h }] }, { [O]: I, [N]: f, rules: [{ [O]: J, [N]: f, rules: [{ [O]: G, endpoint: { [S]: "https://route53-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: n, [U]: n }, [N]: h }] }, q] }, { [O]: F, [N]: f, rules: [{ [O]: K, [N]: f, rules: [{ [O]: G, [N]: f, rules: [{ [O]: M, endpoint: r, [N]: h }, D, { [O]: G, endpoint: { [S]: "https://route53-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: n, [U]: n }, [N]: h }] }] }, s] }, { [O]: H, [N]: f, rules: [{ [O]: L, [N]: f, rules: [{ [O]: G, endpoint: { [S]: "https://route53.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: n, [U]: n }, [N]: h }] }, t] }, { [O]: G, [N]: f, rules: [{ [O]: M, endpoint: u, [N]: h }, { [O]: [{ [P]: i, [Q]: [l, "aws-cn-global"] }], endpoint: w, [N]: h }, D, { [O]: [{ [P]: i, [Q]: [l, "aws-iso-global"] }], endpoint: A, [N]: h }, { [O]: [{ [P]: i, [Q]: [l, "aws-iso-b-global"] }], endpoint: C, [N]: h }, { [O]: G, endpoint: { [S]: "https://route53.{Region}.{PartitionResult#dnsSuffix}", [T]: n, [U]: n }, [N]: h }] }] }] };
7
+ exports.ruleSet = _data;