@aws-sdk/client-organizations 3.234.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,1172 +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://organizations-fips.{Region}.api.aws",
202
- properties: {
203
- authSchemes: [
204
- {
205
- name: "sigv4",
206
- signingRegion: "us-east-1",
207
- signingName: "organizations",
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://organizations-fips.us-east-1.amazonaws.com",
262
- properties: {
263
- authSchemes: [
264
- {
265
- name: "sigv4",
266
- signingRegion: "us-east-1",
267
- signingName: "organizations",
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://organizations.{Region}.api.aws",
322
- properties: {
323
- authSchemes: [
324
- {
325
- name: "sigv4",
326
- signingRegion: "us-east-1",
327
- signingName: "organizations",
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://organizations.us-east-1.amazonaws.com",
348
- properties: {
349
- authSchemes: [
350
- {
351
- name: "sigv4",
352
- signingRegion: "us-east-1",
353
- signingName: "organizations",
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://organizations-fips.{Region}.api.amazonwebservices.com.cn",
445
- properties: {
446
- authSchemes: [
447
- {
448
- name: "sigv4",
449
- signingRegion: "cn-northwest-1",
450
- signingName: "organizations",
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://organizations-fips.{Region}.amazonaws.com.cn",
505
- properties: {
506
- authSchemes: [
507
- {
508
- name: "sigv4",
509
- signingRegion: "cn-northwest-1",
510
- signingName: "organizations",
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://organizations.{Region}.api.amazonwebservices.com.cn",
565
- properties: {
566
- authSchemes: [
567
- {
568
- name: "sigv4",
569
- signingRegion: "cn-northwest-1",
570
- signingName: "organizations",
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://organizations.cn-northwest-1.amazonaws.com.cn",
591
- properties: {
592
- authSchemes: [
593
- {
594
- name: "sigv4",
595
- signingRegion: "cn-northwest-1",
596
- signingName: "organizations",
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://organizations-fips.{Region}.api.aws",
688
- properties: {
689
- authSchemes: [
690
- {
691
- name: "sigv4",
692
- signingRegion: "us-gov-west-1",
693
- signingName: "organizations",
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://organizations.us-gov-west-1.amazonaws.com",
748
- properties: {
749
- authSchemes: [
750
- {
751
- name: "sigv4",
752
- signingRegion: "us-gov-west-1",
753
- signingName: "organizations",
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://organizations.{Region}.api.aws",
808
- properties: {
809
- authSchemes: [
810
- {
811
- name: "sigv4",
812
- signingRegion: "us-gov-west-1",
813
- signingName: "organizations",
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://organizations.us-gov-west-1.amazonaws.com",
834
- properties: {
835
- authSchemes: [
836
- {
837
- name: "sigv4",
838
- signingRegion: "us-gov-west-1",
839
- signingName: "organizations",
840
- },
841
- ],
842
- },
843
- headers: {},
844
- },
845
- type: "endpoint",
846
- },
847
- ],
848
- },
849
- {
850
- conditions: [
851
- {
852
- fn: "booleanEquals",
853
- argv: [
854
- {
855
- ref: "UseFIPS",
856
- },
857
- true,
858
- ],
859
- },
860
- {
861
- fn: "booleanEquals",
862
- argv: [
863
- {
864
- ref: "UseDualStack",
865
- },
866
- true,
867
- ],
868
- },
869
- ],
870
- type: "tree",
871
- rules: [
872
- {
873
- conditions: [
874
- {
875
- fn: "booleanEquals",
876
- argv: [
877
- true,
878
- {
879
- fn: "getAttr",
880
- argv: [
881
- {
882
- ref: "PartitionResult",
883
- },
884
- "supportsFIPS",
885
- ],
886
- },
887
- ],
888
- },
889
- {
890
- fn: "booleanEquals",
891
- argv: [
892
- true,
893
- {
894
- fn: "getAttr",
895
- argv: [
896
- {
897
- ref: "PartitionResult",
898
- },
899
- "supportsDualStack",
900
- ],
901
- },
902
- ],
903
- },
904
- ],
905
- type: "tree",
906
- rules: [
907
- {
908
- conditions: [],
909
- endpoint: {
910
- url: "https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
911
- properties: {},
912
- headers: {},
913
- },
914
- type: "endpoint",
915
- },
916
- ],
917
- },
918
- {
919
- conditions: [],
920
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
921
- type: "error",
922
- },
923
- ],
924
- },
925
- {
926
- conditions: [
927
- {
928
- fn: "booleanEquals",
929
- argv: [
930
- {
931
- ref: "UseFIPS",
932
- },
933
- true,
934
- ],
935
- },
936
- ],
937
- type: "tree",
938
- rules: [
939
- {
940
- conditions: [
941
- {
942
- fn: "booleanEquals",
943
- argv: [
944
- true,
945
- {
946
- fn: "getAttr",
947
- argv: [
948
- {
949
- ref: "PartitionResult",
950
- },
951
- "supportsFIPS",
952
- ],
953
- },
954
- ],
955
- },
956
- ],
957
- type: "tree",
958
- rules: [
959
- {
960
- conditions: [],
961
- type: "tree",
962
- rules: [
963
- {
964
- conditions: [
965
- {
966
- fn: "stringEquals",
967
- argv: [
968
- {
969
- ref: "Region",
970
- },
971
- "aws-global",
972
- ],
973
- },
974
- ],
975
- endpoint: {
976
- url: "https://organizations-fips.us-east-1.amazonaws.com",
977
- properties: {},
978
- headers: {},
979
- },
980
- type: "endpoint",
981
- },
982
- {
983
- conditions: [
984
- {
985
- fn: "stringEquals",
986
- argv: [
987
- {
988
- ref: "Region",
989
- },
990
- "aws-us-gov-global",
991
- ],
992
- },
993
- ],
994
- endpoint: {
995
- url: "https://organizations.us-gov-west-1.amazonaws.com",
996
- properties: {},
997
- headers: {},
998
- },
999
- type: "endpoint",
1000
- },
1001
- {
1002
- conditions: [],
1003
- endpoint: {
1004
- url: "https://organizations-fips.{Region}.{PartitionResult#dnsSuffix}",
1005
- properties: {},
1006
- headers: {},
1007
- },
1008
- type: "endpoint",
1009
- },
1010
- ],
1011
- },
1012
- ],
1013
- },
1014
- {
1015
- conditions: [],
1016
- error: "FIPS is enabled but this partition does not support FIPS",
1017
- type: "error",
1018
- },
1019
- ],
1020
- },
1021
- {
1022
- conditions: [
1023
- {
1024
- fn: "booleanEquals",
1025
- argv: [
1026
- {
1027
- ref: "UseDualStack",
1028
- },
1029
- true,
1030
- ],
1031
- },
1032
- ],
1033
- type: "tree",
1034
- rules: [
1035
- {
1036
- conditions: [
1037
- {
1038
- fn: "booleanEquals",
1039
- argv: [
1040
- true,
1041
- {
1042
- fn: "getAttr",
1043
- argv: [
1044
- {
1045
- ref: "PartitionResult",
1046
- },
1047
- "supportsDualStack",
1048
- ],
1049
- },
1050
- ],
1051
- },
1052
- ],
1053
- type: "tree",
1054
- rules: [
1055
- {
1056
- conditions: [],
1057
- endpoint: {
1058
- url: "https://organizations.{Region}.{PartitionResult#dualStackDnsSuffix}",
1059
- properties: {},
1060
- headers: {},
1061
- },
1062
- type: "endpoint",
1063
- },
1064
- ],
1065
- },
1066
- {
1067
- conditions: [],
1068
- error: "DualStack is enabled but this partition does not support DualStack",
1069
- type: "error",
1070
- },
1071
- ],
1072
- },
1073
- {
1074
- conditions: [],
1075
- type: "tree",
1076
- rules: [
1077
- {
1078
- conditions: [
1079
- {
1080
- fn: "stringEquals",
1081
- argv: [
1082
- {
1083
- ref: "Region",
1084
- },
1085
- "aws-global",
1086
- ],
1087
- },
1088
- ],
1089
- endpoint: {
1090
- url: "https://organizations.us-east-1.amazonaws.com",
1091
- properties: {
1092
- authSchemes: [
1093
- {
1094
- name: "sigv4",
1095
- signingRegion: "us-east-1",
1096
- signingName: "organizations",
1097
- },
1098
- ],
1099
- },
1100
- headers: {},
1101
- },
1102
- type: "endpoint",
1103
- },
1104
- {
1105
- conditions: [
1106
- {
1107
- fn: "stringEquals",
1108
- argv: [
1109
- {
1110
- ref: "Region",
1111
- },
1112
- "aws-cn-global",
1113
- ],
1114
- },
1115
- ],
1116
- endpoint: {
1117
- url: "https://organizations.cn-northwest-1.amazonaws.com.cn",
1118
- properties: {
1119
- authSchemes: [
1120
- {
1121
- name: "sigv4",
1122
- signingRegion: "cn-northwest-1",
1123
- signingName: "organizations",
1124
- },
1125
- ],
1126
- },
1127
- headers: {},
1128
- },
1129
- type: "endpoint",
1130
- },
1131
- {
1132
- conditions: [
1133
- {
1134
- fn: "stringEquals",
1135
- argv: [
1136
- {
1137
- ref: "Region",
1138
- },
1139
- "aws-us-gov-global",
1140
- ],
1141
- },
1142
- ],
1143
- endpoint: {
1144
- url: "https://organizations.us-gov-west-1.amazonaws.com",
1145
- properties: {
1146
- authSchemes: [
1147
- {
1148
- name: "sigv4",
1149
- signingRegion: "us-gov-west-1",
1150
- signingName: "organizations",
1151
- },
1152
- ],
1153
- },
1154
- headers: {},
1155
- },
1156
- type: "endpoint",
1157
- },
1158
- {
1159
- conditions: [],
1160
- endpoint: {
1161
- url: "https://organizations.{Region}.{PartitionResult#dnsSuffix}",
1162
- properties: {},
1163
- headers: {},
1164
- },
1165
- type: "endpoint",
1166
- },
1167
- ],
1168
- },
1169
- ],
1170
- },
1171
- ],
1172
- };
4
+ const L = "type", M = "conditions", N = "fn", O = "argv", P = "ref", Q = "url", R = "properties", S = "headers", T = "authSchemes", U = "name", V = "signingRegion", W = "signingName";
5
+ const a = true, b = false, c = "String", d = "Boolean", e = "PartitionResult", f = "tree", g = "error", h = "endpoint", i = "stringEquals", j = "https://organizations-fips.{Region}.api.aws", k = "https://organizations-fips.us-east-1.amazonaws.com", l = "https://organizations.{Region}.api.aws", m = "https://organizations.us-gov-west-1.amazonaws.com", n = { [P]: "Region" }, o = { [P]: "Endpoint" }, p = {}, q = { [N]: "getAttr", [O]: [{ [P]: e }, "name"] }, r = { [T]: [{ [U]: "sigv4", [V]: "us-east-1", [W]: "organizations" }] }, s = { [M]: [], [g]: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: g }, t = { [M]: [], [g]: "FIPS is enabled but this partition does not support FIPS", [L]: g }, u = { [M]: [], [g]: "DualStack is enabled but this partition does not support DualStack", [L]: g }, v = { [Q]: "https://organizations.us-east-1.amazonaws.com", [R]: r, [S]: {} }, w = { [T]: [{ [U]: "sigv4", [V]: "cn-northwest-1", [W]: "organizations" }] }, x = { [Q]: "https://organizations.cn-northwest-1.amazonaws.com.cn", [R]: w, [S]: {} }, y = { [T]: [{ [U]: "sigv4", [V]: "us-gov-west-1", [W]: "organizations" }] }, z = { [M]: [], [h]: { [Q]: m, [R]: y, [S]: {} }, [L]: h }, A = { [Q]: m, [R]: y, [S]: {} }, B = [o], C = [{ [N]: "booleanEquals", [O]: [{ [P]: "UseFIPS" }, true] }], D = [], E = [{ [N]: "booleanEquals", [O]: [{ [P]: "UseDualStack" }, true] }], F = [{ [N]: "booleanEquals", [O]: [{ [P]: "UseFIPS" }, true] }, { [N]: "booleanEquals", [O]: [{ [P]: "UseDualStack" }, true] }], G = [{ [N]: "booleanEquals", [O]: [true, { [N]: "getAttr", [O]: [{ [P]: e }, "supportsFIPS"] }] }, { [N]: "booleanEquals", [O]: [true, { [N]: "getAttr", [O]: [{ [P]: e }, "supportsDualStack"] }] }], H = [{ [N]: "booleanEquals", [O]: [true, { [N]: "getAttr", [O]: [{ [P]: e }, "supportsFIPS"] }] }], I = [{ [N]: "booleanEquals", [O]: [true, { [N]: "getAttr", [O]: [{ [P]: e }, "supportsDualStack"] }] }], J = [{ [N]: i, [O]: [n, "aws-global"] }], K = [{ [N]: i, [O]: [n, "aws-us-gov-global"] }];
6
+ const _data = { version: "1.0", parameters: { Region: { builtIn: "AWS::Region", required: a, documentation: "The AWS region used to dispatch the request.", [L]: 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.", [L]: 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.", [L]: d }, Endpoint: { builtIn: "SDK::Endpoint", required: b, documentation: "Override the endpoint used to send this request", [L]: c } }, rules: [{ [M]: [{ [N]: "aws.partition", [O]: [n], assign: e }], [L]: f, rules: [{ [M]: [{ [N]: "isSet", [O]: B }, { [N]: "parseURL", [O]: B, assign: "url" }], [L]: f, rules: [{ [M]: C, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: g }, { [M]: D, [L]: f, rules: [{ [M]: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: g }, { [M]: D, endpoint: { [Q]: o, [R]: p, [S]: p }, [L]: h }] }] }, { [M]: [{ [N]: i, [O]: [q, "aws"] }], [L]: f, rules: [{ [M]: F, [L]: f, rules: [{ [M]: G, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: j, [R]: r, [S]: p }, [L]: h }] }, s] }, { [M]: C, [L]: f, rules: [{ [M]: H, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: k, [R]: r, [S]: p }, [L]: h }] }, t] }, { [M]: E, [L]: f, rules: [{ [M]: I, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: l, [R]: r, [S]: p }, [L]: h }] }, u] }, { [M]: D, endpoint: v, [L]: h }] }, { [M]: [{ [N]: i, [O]: [q, "aws-cn"] }], [L]: f, rules: [{ [M]: F, [L]: f, rules: [{ [M]: G, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: "https://organizations-fips.{Region}.api.amazonwebservices.com.cn", [R]: w, [S]: p }, [L]: h }] }, s] }, { [M]: C, [L]: f, rules: [{ [M]: H, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: "https://organizations-fips.{Region}.amazonaws.com.cn", [R]: w, [S]: p }, [L]: h }] }, t] }, { [M]: E, [L]: f, rules: [{ [M]: I, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: "https://organizations.{Region}.api.amazonwebservices.com.cn", [R]: w, [S]: p }, [L]: h }] }, u] }, { [M]: D, endpoint: x, [L]: h }] }, { [M]: [{ [N]: i, [O]: [q, "aws-us-gov"] }], [L]: f, rules: [{ [M]: F, [L]: f, rules: [{ [M]: G, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: j, [R]: y, [S]: p }, [L]: h }] }, s] }, { [M]: C, [L]: f, rules: [{ [M]: H, [L]: f, rules: [z] }, t] }, { [M]: E, [L]: f, rules: [{ [M]: I, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: l, [R]: y, [S]: p }, [L]: h }] }, u] }, z] }, { [M]: F, [L]: f, rules: [{ [M]: G, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: "https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [R]: p, [S]: p }, [L]: h }] }, s] }, { [M]: C, [L]: f, rules: [{ [M]: H, [L]: f, rules: [{ [M]: D, [L]: f, rules: [{ [M]: J, endpoint: { [Q]: k, [R]: p, [S]: p }, [L]: h }, { [M]: K, endpoint: { [Q]: m, [R]: p, [S]: p }, [L]: h }, { [M]: D, endpoint: { [Q]: "https://organizations-fips.{Region}.{PartitionResult#dnsSuffix}", [R]: p, [S]: p }, [L]: h }] }] }, t] }, { [M]: E, [L]: f, rules: [{ [M]: I, [L]: f, rules: [{ [M]: D, endpoint: { [Q]: "https://organizations.{Region}.{PartitionResult#dualStackDnsSuffix}", [R]: p, [S]: p }, [L]: h }] }, u] }, { [M]: D, [L]: f, rules: [{ [M]: J, endpoint: v, [L]: h }, { [M]: [{ [N]: i, [O]: [n, "aws-cn-global"] }], endpoint: x, [L]: h }, { [M]: K, endpoint: A, [L]: h }, { [M]: D, endpoint: { [Q]: "https://organizations.{Region}.{PartitionResult#dnsSuffix}", [R]: p, [S]: p }, [L]: h }] }] }] };
7
+ exports.ruleSet = _data;