@aws-sdk/client-organizations 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,1169 +1,4 @@
1
- export const ruleSet = {
2
- version: "1.0",
3
- parameters: {
4
- Region: {
5
- builtIn: "AWS::Region",
6
- required: true,
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: "aws.partition",
36
- argv: [
37
- {
38
- ref: "Region",
39
- },
40
- ],
41
- assign: "PartitionResult",
42
- },
43
- ],
44
- type: "tree",
45
- rules: [
46
- {
47
- conditions: [
48
- {
49
- fn: "isSet",
50
- argv: [
51
- {
52
- ref: "Endpoint",
53
- },
54
- ],
55
- },
56
- {
57
- fn: "parseURL",
58
- argv: [
59
- {
60
- ref: "Endpoint",
61
- },
62
- ],
63
- assign: "url",
64
- },
65
- ],
66
- type: "tree",
67
- rules: [
68
- {
69
- conditions: [
70
- {
71
- fn: "booleanEquals",
72
- argv: [
73
- {
74
- ref: "UseFIPS",
75
- },
76
- true,
77
- ],
78
- },
79
- ],
80
- error: "Invalid Configuration: FIPS and custom endpoint are not supported",
81
- type: "error",
82
- },
83
- {
84
- conditions: [],
85
- type: "tree",
86
- rules: [
87
- {
88
- conditions: [
89
- {
90
- fn: "booleanEquals",
91
- argv: [
92
- {
93
- ref: "UseDualStack",
94
- },
95
- true,
96
- ],
97
- },
98
- ],
99
- error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
100
- type: "error",
101
- },
102
- {
103
- conditions: [],
104
- endpoint: {
105
- url: {
106
- ref: "Endpoint",
107
- },
108
- properties: {},
109
- headers: {},
110
- },
111
- type: "endpoint",
112
- },
113
- ],
114
- },
115
- ],
116
- },
117
- {
118
- conditions: [
119
- {
120
- fn: "stringEquals",
121
- argv: [
122
- {
123
- fn: "getAttr",
124
- argv: [
125
- {
126
- ref: "PartitionResult",
127
- },
128
- "name",
129
- ],
130
- },
131
- "aws",
132
- ],
133
- },
134
- ],
135
- type: "tree",
136
- rules: [
137
- {
138
- conditions: [
139
- {
140
- fn: "booleanEquals",
141
- argv: [
142
- {
143
- ref: "UseFIPS",
144
- },
145
- true,
146
- ],
147
- },
148
- {
149
- fn: "booleanEquals",
150
- argv: [
151
- {
152
- ref: "UseDualStack",
153
- },
154
- true,
155
- ],
156
- },
157
- ],
158
- type: "tree",
159
- rules: [
160
- {
161
- conditions: [
162
- {
163
- fn: "booleanEquals",
164
- argv: [
165
- true,
166
- {
167
- fn: "getAttr",
168
- argv: [
169
- {
170
- ref: "PartitionResult",
171
- },
172
- "supportsFIPS",
173
- ],
174
- },
175
- ],
176
- },
177
- {
178
- fn: "booleanEquals",
179
- argv: [
180
- true,
181
- {
182
- fn: "getAttr",
183
- argv: [
184
- {
185
- ref: "PartitionResult",
186
- },
187
- "supportsDualStack",
188
- ],
189
- },
190
- ],
191
- },
192
- ],
193
- type: "tree",
194
- rules: [
195
- {
196
- conditions: [],
197
- endpoint: {
198
- url: "https://organizations-fips.{Region}.api.aws",
199
- properties: {
200
- authSchemes: [
201
- {
202
- name: "sigv4",
203
- signingRegion: "us-east-1",
204
- signingName: "organizations",
205
- },
206
- ],
207
- },
208
- headers: {},
209
- },
210
- type: "endpoint",
211
- },
212
- ],
213
- },
214
- {
215
- conditions: [],
216
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
217
- type: "error",
218
- },
219
- ],
220
- },
221
- {
222
- conditions: [
223
- {
224
- fn: "booleanEquals",
225
- argv: [
226
- {
227
- ref: "UseFIPS",
228
- },
229
- true,
230
- ],
231
- },
232
- ],
233
- type: "tree",
234
- rules: [
235
- {
236
- conditions: [
237
- {
238
- fn: "booleanEquals",
239
- argv: [
240
- true,
241
- {
242
- fn: "getAttr",
243
- argv: [
244
- {
245
- ref: "PartitionResult",
246
- },
247
- "supportsFIPS",
248
- ],
249
- },
250
- ],
251
- },
252
- ],
253
- type: "tree",
254
- rules: [
255
- {
256
- conditions: [],
257
- endpoint: {
258
- url: "https://organizations-fips.us-east-1.amazonaws.com",
259
- properties: {
260
- authSchemes: [
261
- {
262
- name: "sigv4",
263
- signingRegion: "us-east-1",
264
- signingName: "organizations",
265
- },
266
- ],
267
- },
268
- headers: {},
269
- },
270
- type: "endpoint",
271
- },
272
- ],
273
- },
274
- {
275
- conditions: [],
276
- error: "FIPS is enabled but this partition does not support FIPS",
277
- type: "error",
278
- },
279
- ],
280
- },
281
- {
282
- conditions: [
283
- {
284
- fn: "booleanEquals",
285
- argv: [
286
- {
287
- ref: "UseDualStack",
288
- },
289
- true,
290
- ],
291
- },
292
- ],
293
- type: "tree",
294
- rules: [
295
- {
296
- conditions: [
297
- {
298
- fn: "booleanEquals",
299
- argv: [
300
- true,
301
- {
302
- fn: "getAttr",
303
- argv: [
304
- {
305
- ref: "PartitionResult",
306
- },
307
- "supportsDualStack",
308
- ],
309
- },
310
- ],
311
- },
312
- ],
313
- type: "tree",
314
- rules: [
315
- {
316
- conditions: [],
317
- endpoint: {
318
- url: "https://organizations.{Region}.api.aws",
319
- properties: {
320
- authSchemes: [
321
- {
322
- name: "sigv4",
323
- signingRegion: "us-east-1",
324
- signingName: "organizations",
325
- },
326
- ],
327
- },
328
- headers: {},
329
- },
330
- type: "endpoint",
331
- },
332
- ],
333
- },
334
- {
335
- conditions: [],
336
- error: "DualStack is enabled but this partition does not support DualStack",
337
- type: "error",
338
- },
339
- ],
340
- },
341
- {
342
- conditions: [],
343
- endpoint: {
344
- url: "https://organizations.us-east-1.amazonaws.com",
345
- properties: {
346
- authSchemes: [
347
- {
348
- name: "sigv4",
349
- signingRegion: "us-east-1",
350
- signingName: "organizations",
351
- },
352
- ],
353
- },
354
- headers: {},
355
- },
356
- type: "endpoint",
357
- },
358
- ],
359
- },
360
- {
361
- conditions: [
362
- {
363
- fn: "stringEquals",
364
- argv: [
365
- {
366
- fn: "getAttr",
367
- argv: [
368
- {
369
- ref: "PartitionResult",
370
- },
371
- "name",
372
- ],
373
- },
374
- "aws-cn",
375
- ],
376
- },
377
- ],
378
- type: "tree",
379
- rules: [
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
- endpoint: {
441
- url: "https://organizations-fips.{Region}.api.amazonwebservices.com.cn",
442
- properties: {
443
- authSchemes: [
444
- {
445
- name: "sigv4",
446
- signingRegion: "cn-northwest-1",
447
- signingName: "organizations",
448
- },
449
- ],
450
- },
451
- headers: {},
452
- },
453
- type: "endpoint",
454
- },
455
- ],
456
- },
457
- {
458
- conditions: [],
459
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
460
- type: "error",
461
- },
462
- ],
463
- },
464
- {
465
- conditions: [
466
- {
467
- fn: "booleanEquals",
468
- argv: [
469
- {
470
- ref: "UseFIPS",
471
- },
472
- true,
473
- ],
474
- },
475
- ],
476
- type: "tree",
477
- rules: [
478
- {
479
- conditions: [
480
- {
481
- fn: "booleanEquals",
482
- argv: [
483
- true,
484
- {
485
- fn: "getAttr",
486
- argv: [
487
- {
488
- ref: "PartitionResult",
489
- },
490
- "supportsFIPS",
491
- ],
492
- },
493
- ],
494
- },
495
- ],
496
- type: "tree",
497
- rules: [
498
- {
499
- conditions: [],
500
- endpoint: {
501
- url: "https://organizations-fips.{Region}.amazonaws.com.cn",
502
- properties: {
503
- authSchemes: [
504
- {
505
- name: "sigv4",
506
- signingRegion: "cn-northwest-1",
507
- signingName: "organizations",
508
- },
509
- ],
510
- },
511
- headers: {},
512
- },
513
- type: "endpoint",
514
- },
515
- ],
516
- },
517
- {
518
- conditions: [],
519
- error: "FIPS is enabled but this partition does not support FIPS",
520
- type: "error",
521
- },
522
- ],
523
- },
524
- {
525
- conditions: [
526
- {
527
- fn: "booleanEquals",
528
- argv: [
529
- {
530
- ref: "UseDualStack",
531
- },
532
- true,
533
- ],
534
- },
535
- ],
536
- type: "tree",
537
- rules: [
538
- {
539
- conditions: [
540
- {
541
- fn: "booleanEquals",
542
- argv: [
543
- true,
544
- {
545
- fn: "getAttr",
546
- argv: [
547
- {
548
- ref: "PartitionResult",
549
- },
550
- "supportsDualStack",
551
- ],
552
- },
553
- ],
554
- },
555
- ],
556
- type: "tree",
557
- rules: [
558
- {
559
- conditions: [],
560
- endpoint: {
561
- url: "https://organizations.{Region}.api.amazonwebservices.com.cn",
562
- properties: {
563
- authSchemes: [
564
- {
565
- name: "sigv4",
566
- signingRegion: "cn-northwest-1",
567
- signingName: "organizations",
568
- },
569
- ],
570
- },
571
- headers: {},
572
- },
573
- type: "endpoint",
574
- },
575
- ],
576
- },
577
- {
578
- conditions: [],
579
- error: "DualStack is enabled but this partition does not support DualStack",
580
- type: "error",
581
- },
582
- ],
583
- },
584
- {
585
- conditions: [],
586
- endpoint: {
587
- url: "https://organizations.cn-northwest-1.amazonaws.com.cn",
588
- properties: {
589
- authSchemes: [
590
- {
591
- name: "sigv4",
592
- signingRegion: "cn-northwest-1",
593
- signingName: "organizations",
594
- },
595
- ],
596
- },
597
- headers: {},
598
- },
599
- type: "endpoint",
600
- },
601
- ],
602
- },
603
- {
604
- conditions: [
605
- {
606
- fn: "stringEquals",
607
- argv: [
608
- {
609
- fn: "getAttr",
610
- argv: [
611
- {
612
- ref: "PartitionResult",
613
- },
614
- "name",
615
- ],
616
- },
617
- "aws-us-gov",
618
- ],
619
- },
620
- ],
621
- type: "tree",
622
- rules: [
623
- {
624
- conditions: [
625
- {
626
- fn: "booleanEquals",
627
- argv: [
628
- {
629
- ref: "UseFIPS",
630
- },
631
- true,
632
- ],
633
- },
634
- {
635
- fn: "booleanEquals",
636
- argv: [
637
- {
638
- ref: "UseDualStack",
639
- },
640
- true,
641
- ],
642
- },
643
- ],
644
- type: "tree",
645
- rules: [
646
- {
647
- conditions: [
648
- {
649
- fn: "booleanEquals",
650
- argv: [
651
- true,
652
- {
653
- fn: "getAttr",
654
- argv: [
655
- {
656
- ref: "PartitionResult",
657
- },
658
- "supportsFIPS",
659
- ],
660
- },
661
- ],
662
- },
663
- {
664
- fn: "booleanEquals",
665
- argv: [
666
- true,
667
- {
668
- fn: "getAttr",
669
- argv: [
670
- {
671
- ref: "PartitionResult",
672
- },
673
- "supportsDualStack",
674
- ],
675
- },
676
- ],
677
- },
678
- ],
679
- type: "tree",
680
- rules: [
681
- {
682
- conditions: [],
683
- endpoint: {
684
- url: "https://organizations-fips.{Region}.api.aws",
685
- properties: {
686
- authSchemes: [
687
- {
688
- name: "sigv4",
689
- signingRegion: "us-gov-west-1",
690
- signingName: "organizations",
691
- },
692
- ],
693
- },
694
- headers: {},
695
- },
696
- type: "endpoint",
697
- },
698
- ],
699
- },
700
- {
701
- conditions: [],
702
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
703
- type: "error",
704
- },
705
- ],
706
- },
707
- {
708
- conditions: [
709
- {
710
- fn: "booleanEquals",
711
- argv: [
712
- {
713
- ref: "UseFIPS",
714
- },
715
- true,
716
- ],
717
- },
718
- ],
719
- type: "tree",
720
- rules: [
721
- {
722
- conditions: [
723
- {
724
- fn: "booleanEquals",
725
- argv: [
726
- true,
727
- {
728
- fn: "getAttr",
729
- argv: [
730
- {
731
- ref: "PartitionResult",
732
- },
733
- "supportsFIPS",
734
- ],
735
- },
736
- ],
737
- },
738
- ],
739
- type: "tree",
740
- rules: [
741
- {
742
- conditions: [],
743
- endpoint: {
744
- url: "https://organizations.us-gov-west-1.amazonaws.com",
745
- properties: {
746
- authSchemes: [
747
- {
748
- name: "sigv4",
749
- signingRegion: "us-gov-west-1",
750
- signingName: "organizations",
751
- },
752
- ],
753
- },
754
- headers: {},
755
- },
756
- type: "endpoint",
757
- },
758
- ],
759
- },
760
- {
761
- conditions: [],
762
- error: "FIPS is enabled but this partition does not support FIPS",
763
- type: "error",
764
- },
765
- ],
766
- },
767
- {
768
- conditions: [
769
- {
770
- fn: "booleanEquals",
771
- argv: [
772
- {
773
- ref: "UseDualStack",
774
- },
775
- true,
776
- ],
777
- },
778
- ],
779
- type: "tree",
780
- rules: [
781
- {
782
- conditions: [
783
- {
784
- fn: "booleanEquals",
785
- argv: [
786
- true,
787
- {
788
- fn: "getAttr",
789
- argv: [
790
- {
791
- ref: "PartitionResult",
792
- },
793
- "supportsDualStack",
794
- ],
795
- },
796
- ],
797
- },
798
- ],
799
- type: "tree",
800
- rules: [
801
- {
802
- conditions: [],
803
- endpoint: {
804
- url: "https://organizations.{Region}.api.aws",
805
- properties: {
806
- authSchemes: [
807
- {
808
- name: "sigv4",
809
- signingRegion: "us-gov-west-1",
810
- signingName: "organizations",
811
- },
812
- ],
813
- },
814
- headers: {},
815
- },
816
- type: "endpoint",
817
- },
818
- ],
819
- },
820
- {
821
- conditions: [],
822
- error: "DualStack is enabled but this partition does not support DualStack",
823
- type: "error",
824
- },
825
- ],
826
- },
827
- {
828
- conditions: [],
829
- endpoint: {
830
- url: "https://organizations.us-gov-west-1.amazonaws.com",
831
- properties: {
832
- authSchemes: [
833
- {
834
- name: "sigv4",
835
- signingRegion: "us-gov-west-1",
836
- signingName: "organizations",
837
- },
838
- ],
839
- },
840
- headers: {},
841
- },
842
- type: "endpoint",
843
- },
844
- ],
845
- },
846
- {
847
- conditions: [
848
- {
849
- fn: "booleanEquals",
850
- argv: [
851
- {
852
- ref: "UseFIPS",
853
- },
854
- true,
855
- ],
856
- },
857
- {
858
- fn: "booleanEquals",
859
- argv: [
860
- {
861
- ref: "UseDualStack",
862
- },
863
- true,
864
- ],
865
- },
866
- ],
867
- type: "tree",
868
- rules: [
869
- {
870
- conditions: [
871
- {
872
- fn: "booleanEquals",
873
- argv: [
874
- true,
875
- {
876
- fn: "getAttr",
877
- argv: [
878
- {
879
- ref: "PartitionResult",
880
- },
881
- "supportsFIPS",
882
- ],
883
- },
884
- ],
885
- },
886
- {
887
- fn: "booleanEquals",
888
- argv: [
889
- true,
890
- {
891
- fn: "getAttr",
892
- argv: [
893
- {
894
- ref: "PartitionResult",
895
- },
896
- "supportsDualStack",
897
- ],
898
- },
899
- ],
900
- },
901
- ],
902
- type: "tree",
903
- rules: [
904
- {
905
- conditions: [],
906
- endpoint: {
907
- url: "https://organizations-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
908
- properties: {},
909
- headers: {},
910
- },
911
- type: "endpoint",
912
- },
913
- ],
914
- },
915
- {
916
- conditions: [],
917
- error: "FIPS and DualStack are enabled, but this partition does not support one or both",
918
- type: "error",
919
- },
920
- ],
921
- },
922
- {
923
- conditions: [
924
- {
925
- fn: "booleanEquals",
926
- argv: [
927
- {
928
- ref: "UseFIPS",
929
- },
930
- true,
931
- ],
932
- },
933
- ],
934
- type: "tree",
935
- rules: [
936
- {
937
- conditions: [
938
- {
939
- fn: "booleanEquals",
940
- argv: [
941
- true,
942
- {
943
- fn: "getAttr",
944
- argv: [
945
- {
946
- ref: "PartitionResult",
947
- },
948
- "supportsFIPS",
949
- ],
950
- },
951
- ],
952
- },
953
- ],
954
- type: "tree",
955
- rules: [
956
- {
957
- conditions: [],
958
- type: "tree",
959
- rules: [
960
- {
961
- conditions: [
962
- {
963
- fn: "stringEquals",
964
- argv: [
965
- {
966
- ref: "Region",
967
- },
968
- "aws-global",
969
- ],
970
- },
971
- ],
972
- endpoint: {
973
- url: "https://organizations-fips.us-east-1.amazonaws.com",
974
- properties: {},
975
- headers: {},
976
- },
977
- type: "endpoint",
978
- },
979
- {
980
- conditions: [
981
- {
982
- fn: "stringEquals",
983
- argv: [
984
- {
985
- ref: "Region",
986
- },
987
- "aws-us-gov-global",
988
- ],
989
- },
990
- ],
991
- endpoint: {
992
- url: "https://organizations.us-gov-west-1.amazonaws.com",
993
- properties: {},
994
- headers: {},
995
- },
996
- type: "endpoint",
997
- },
998
- {
999
- conditions: [],
1000
- endpoint: {
1001
- url: "https://organizations-fips.{Region}.{PartitionResult#dnsSuffix}",
1002
- properties: {},
1003
- headers: {},
1004
- },
1005
- type: "endpoint",
1006
- },
1007
- ],
1008
- },
1009
- ],
1010
- },
1011
- {
1012
- conditions: [],
1013
- error: "FIPS is enabled but this partition does not support FIPS",
1014
- type: "error",
1015
- },
1016
- ],
1017
- },
1018
- {
1019
- conditions: [
1020
- {
1021
- fn: "booleanEquals",
1022
- argv: [
1023
- {
1024
- ref: "UseDualStack",
1025
- },
1026
- true,
1027
- ],
1028
- },
1029
- ],
1030
- type: "tree",
1031
- rules: [
1032
- {
1033
- conditions: [
1034
- {
1035
- fn: "booleanEquals",
1036
- argv: [
1037
- true,
1038
- {
1039
- fn: "getAttr",
1040
- argv: [
1041
- {
1042
- ref: "PartitionResult",
1043
- },
1044
- "supportsDualStack",
1045
- ],
1046
- },
1047
- ],
1048
- },
1049
- ],
1050
- type: "tree",
1051
- rules: [
1052
- {
1053
- conditions: [],
1054
- endpoint: {
1055
- url: "https://organizations.{Region}.{PartitionResult#dualStackDnsSuffix}",
1056
- properties: {},
1057
- headers: {},
1058
- },
1059
- type: "endpoint",
1060
- },
1061
- ],
1062
- },
1063
- {
1064
- conditions: [],
1065
- error: "DualStack is enabled but this partition does not support DualStack",
1066
- type: "error",
1067
- },
1068
- ],
1069
- },
1070
- {
1071
- conditions: [],
1072
- type: "tree",
1073
- rules: [
1074
- {
1075
- conditions: [
1076
- {
1077
- fn: "stringEquals",
1078
- argv: [
1079
- {
1080
- ref: "Region",
1081
- },
1082
- "aws-global",
1083
- ],
1084
- },
1085
- ],
1086
- endpoint: {
1087
- url: "https://organizations.us-east-1.amazonaws.com",
1088
- properties: {
1089
- authSchemes: [
1090
- {
1091
- name: "sigv4",
1092
- signingRegion: "us-east-1",
1093
- signingName: "organizations",
1094
- },
1095
- ],
1096
- },
1097
- headers: {},
1098
- },
1099
- type: "endpoint",
1100
- },
1101
- {
1102
- conditions: [
1103
- {
1104
- fn: "stringEquals",
1105
- argv: [
1106
- {
1107
- ref: "Region",
1108
- },
1109
- "aws-cn-global",
1110
- ],
1111
- },
1112
- ],
1113
- endpoint: {
1114
- url: "https://organizations.cn-northwest-1.amazonaws.com.cn",
1115
- properties: {
1116
- authSchemes: [
1117
- {
1118
- name: "sigv4",
1119
- signingRegion: "cn-northwest-1",
1120
- signingName: "organizations",
1121
- },
1122
- ],
1123
- },
1124
- headers: {},
1125
- },
1126
- type: "endpoint",
1127
- },
1128
- {
1129
- conditions: [
1130
- {
1131
- fn: "stringEquals",
1132
- argv: [
1133
- {
1134
- ref: "Region",
1135
- },
1136
- "aws-us-gov-global",
1137
- ],
1138
- },
1139
- ],
1140
- endpoint: {
1141
- url: "https://organizations.us-gov-west-1.amazonaws.com",
1142
- properties: {
1143
- authSchemes: [
1144
- {
1145
- name: "sigv4",
1146
- signingRegion: "us-gov-west-1",
1147
- signingName: "organizations",
1148
- },
1149
- ],
1150
- },
1151
- headers: {},
1152
- },
1153
- type: "endpoint",
1154
- },
1155
- {
1156
- conditions: [],
1157
- endpoint: {
1158
- url: "https://organizations.{Region}.{PartitionResult#dnsSuffix}",
1159
- properties: {},
1160
- headers: {},
1161
- },
1162
- type: "endpoint",
1163
- },
1164
- ],
1165
- },
1166
- ],
1167
- },
1168
- ],
1169
- };
1
+ 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";
2
+ 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"] }];
3
+ 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 }] }] }] };
4
+ export const ruleSet = _data;