@aws-sdk/client-organizations 3.194.0 → 3.195.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.
Files changed (240) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/OrganizationsClient.js +11 -8
  3. package/dist-cjs/commands/AcceptHandshakeCommand.js +10 -0
  4. package/dist-cjs/commands/AttachPolicyCommand.js +10 -0
  5. package/dist-cjs/commands/CancelHandshakeCommand.js +10 -0
  6. package/dist-cjs/commands/CloseAccountCommand.js +10 -0
  7. package/dist-cjs/commands/CreateAccountCommand.js +10 -0
  8. package/dist-cjs/commands/CreateGovCloudAccountCommand.js +10 -0
  9. package/dist-cjs/commands/CreateOrganizationCommand.js +10 -0
  10. package/dist-cjs/commands/CreateOrganizationalUnitCommand.js +10 -0
  11. package/dist-cjs/commands/CreatePolicyCommand.js +10 -0
  12. package/dist-cjs/commands/DeclineHandshakeCommand.js +10 -0
  13. package/dist-cjs/commands/DeleteOrganizationCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteOrganizationalUnitCommand.js +10 -0
  15. package/dist-cjs/commands/DeletePolicyCommand.js +10 -0
  16. package/dist-cjs/commands/DeregisterDelegatedAdministratorCommand.js +10 -0
  17. package/dist-cjs/commands/DescribeAccountCommand.js +10 -0
  18. package/dist-cjs/commands/DescribeCreateAccountStatusCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeEffectivePolicyCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeHandshakeCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeOrganizationCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeOrganizationalUnitCommand.js +10 -0
  23. package/dist-cjs/commands/DescribePolicyCommand.js +10 -0
  24. package/dist-cjs/commands/DetachPolicyCommand.js +10 -0
  25. package/dist-cjs/commands/DisableAWSServiceAccessCommand.js +10 -0
  26. package/dist-cjs/commands/DisablePolicyTypeCommand.js +10 -0
  27. package/dist-cjs/commands/EnableAWSServiceAccessCommand.js +10 -0
  28. package/dist-cjs/commands/EnableAllFeaturesCommand.js +10 -0
  29. package/dist-cjs/commands/EnablePolicyTypeCommand.js +10 -0
  30. package/dist-cjs/commands/InviteAccountToOrganizationCommand.js +10 -0
  31. package/dist-cjs/commands/LeaveOrganizationCommand.js +10 -0
  32. package/dist-cjs/commands/ListAWSServiceAccessForOrganizationCommand.js +10 -0
  33. package/dist-cjs/commands/ListAccountsCommand.js +10 -0
  34. package/dist-cjs/commands/ListAccountsForParentCommand.js +10 -0
  35. package/dist-cjs/commands/ListChildrenCommand.js +10 -0
  36. package/dist-cjs/commands/ListCreateAccountStatusCommand.js +10 -0
  37. package/dist-cjs/commands/ListDelegatedAdministratorsCommand.js +10 -0
  38. package/dist-cjs/commands/ListDelegatedServicesForAccountCommand.js +10 -0
  39. package/dist-cjs/commands/ListHandshakesForAccountCommand.js +10 -0
  40. package/dist-cjs/commands/ListHandshakesForOrganizationCommand.js +10 -0
  41. package/dist-cjs/commands/ListOrganizationalUnitsForParentCommand.js +10 -0
  42. package/dist-cjs/commands/ListParentsCommand.js +10 -0
  43. package/dist-cjs/commands/ListPoliciesCommand.js +10 -0
  44. package/dist-cjs/commands/ListPoliciesForTargetCommand.js +10 -0
  45. package/dist-cjs/commands/ListRootsCommand.js +10 -0
  46. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  47. package/dist-cjs/commands/ListTargetsForPolicyCommand.js +10 -0
  48. package/dist-cjs/commands/MoveAccountCommand.js +10 -0
  49. package/dist-cjs/commands/RegisterDelegatedAdministratorCommand.js +10 -0
  50. package/dist-cjs/commands/RemoveAccountFromOrganizationCommand.js +10 -0
  51. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  52. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  53. package/dist-cjs/commands/UpdateOrganizationalUnitCommand.js +10 -0
  54. package/dist-cjs/commands/UpdatePolicyCommand.js +10 -0
  55. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  56. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  57. package/dist-cjs/endpoint/ruleset.js +1172 -0
  58. package/dist-cjs/runtimeConfig.shared.js +3 -3
  59. package/dist-es/OrganizationsClient.js +12 -9
  60. package/dist-es/commands/AcceptHandshakeCommand.js +10 -0
  61. package/dist-es/commands/AttachPolicyCommand.js +10 -0
  62. package/dist-es/commands/CancelHandshakeCommand.js +10 -0
  63. package/dist-es/commands/CloseAccountCommand.js +10 -0
  64. package/dist-es/commands/CreateAccountCommand.js +10 -0
  65. package/dist-es/commands/CreateGovCloudAccountCommand.js +10 -0
  66. package/dist-es/commands/CreateOrganizationCommand.js +10 -0
  67. package/dist-es/commands/CreateOrganizationalUnitCommand.js +10 -0
  68. package/dist-es/commands/CreatePolicyCommand.js +10 -0
  69. package/dist-es/commands/DeclineHandshakeCommand.js +10 -0
  70. package/dist-es/commands/DeleteOrganizationCommand.js +10 -0
  71. package/dist-es/commands/DeleteOrganizationalUnitCommand.js +10 -0
  72. package/dist-es/commands/DeletePolicyCommand.js +10 -0
  73. package/dist-es/commands/DeregisterDelegatedAdministratorCommand.js +10 -0
  74. package/dist-es/commands/DescribeAccountCommand.js +10 -0
  75. package/dist-es/commands/DescribeCreateAccountStatusCommand.js +10 -0
  76. package/dist-es/commands/DescribeEffectivePolicyCommand.js +10 -0
  77. package/dist-es/commands/DescribeHandshakeCommand.js +10 -0
  78. package/dist-es/commands/DescribeOrganizationCommand.js +10 -0
  79. package/dist-es/commands/DescribeOrganizationalUnitCommand.js +10 -0
  80. package/dist-es/commands/DescribePolicyCommand.js +10 -0
  81. package/dist-es/commands/DetachPolicyCommand.js +10 -0
  82. package/dist-es/commands/DisableAWSServiceAccessCommand.js +10 -0
  83. package/dist-es/commands/DisablePolicyTypeCommand.js +10 -0
  84. package/dist-es/commands/EnableAWSServiceAccessCommand.js +10 -0
  85. package/dist-es/commands/EnableAllFeaturesCommand.js +10 -0
  86. package/dist-es/commands/EnablePolicyTypeCommand.js +10 -0
  87. package/dist-es/commands/InviteAccountToOrganizationCommand.js +10 -0
  88. package/dist-es/commands/LeaveOrganizationCommand.js +10 -0
  89. package/dist-es/commands/ListAWSServiceAccessForOrganizationCommand.js +10 -0
  90. package/dist-es/commands/ListAccountsCommand.js +10 -0
  91. package/dist-es/commands/ListAccountsForParentCommand.js +10 -0
  92. package/dist-es/commands/ListChildrenCommand.js +10 -0
  93. package/dist-es/commands/ListCreateAccountStatusCommand.js +10 -0
  94. package/dist-es/commands/ListDelegatedAdministratorsCommand.js +10 -0
  95. package/dist-es/commands/ListDelegatedServicesForAccountCommand.js +10 -0
  96. package/dist-es/commands/ListHandshakesForAccountCommand.js +10 -0
  97. package/dist-es/commands/ListHandshakesForOrganizationCommand.js +10 -0
  98. package/dist-es/commands/ListOrganizationalUnitsForParentCommand.js +10 -0
  99. package/dist-es/commands/ListParentsCommand.js +10 -0
  100. package/dist-es/commands/ListPoliciesCommand.js +10 -0
  101. package/dist-es/commands/ListPoliciesForTargetCommand.js +10 -0
  102. package/dist-es/commands/ListRootsCommand.js +10 -0
  103. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  104. package/dist-es/commands/ListTargetsForPolicyCommand.js +10 -0
  105. package/dist-es/commands/MoveAccountCommand.js +10 -0
  106. package/dist-es/commands/RegisterDelegatedAdministratorCommand.js +10 -0
  107. package/dist-es/commands/RemoveAccountFromOrganizationCommand.js +10 -0
  108. package/dist-es/commands/TagResourceCommand.js +10 -0
  109. package/dist-es/commands/UntagResourceCommand.js +10 -0
  110. package/dist-es/commands/UpdateOrganizationalUnitCommand.js +10 -0
  111. package/dist-es/commands/UpdatePolicyCommand.js +10 -0
  112. package/dist-es/endpoint/EndpointParameters.js +8 -0
  113. package/dist-es/endpoint/endpointResolver.js +8 -0
  114. package/dist-es/endpoint/ruleset.js +1169 -0
  115. package/dist-es/runtimeConfig.shared.js +2 -2
  116. package/dist-types/OrganizationsClient.d.ts +6 -9
  117. package/dist-types/commands/AcceptHandshakeCommand.d.ts +2 -0
  118. package/dist-types/commands/AttachPolicyCommand.d.ts +2 -0
  119. package/dist-types/commands/CancelHandshakeCommand.d.ts +2 -0
  120. package/dist-types/commands/CloseAccountCommand.d.ts +2 -0
  121. package/dist-types/commands/CreateAccountCommand.d.ts +2 -0
  122. package/dist-types/commands/CreateGovCloudAccountCommand.d.ts +2 -0
  123. package/dist-types/commands/CreateOrganizationCommand.d.ts +2 -0
  124. package/dist-types/commands/CreateOrganizationalUnitCommand.d.ts +2 -0
  125. package/dist-types/commands/CreatePolicyCommand.d.ts +2 -0
  126. package/dist-types/commands/DeclineHandshakeCommand.d.ts +2 -0
  127. package/dist-types/commands/DeleteOrganizationCommand.d.ts +2 -0
  128. package/dist-types/commands/DeleteOrganizationalUnitCommand.d.ts +2 -0
  129. package/dist-types/commands/DeletePolicyCommand.d.ts +2 -0
  130. package/dist-types/commands/DeregisterDelegatedAdministratorCommand.d.ts +2 -0
  131. package/dist-types/commands/DescribeAccountCommand.d.ts +2 -0
  132. package/dist-types/commands/DescribeCreateAccountStatusCommand.d.ts +2 -0
  133. package/dist-types/commands/DescribeEffectivePolicyCommand.d.ts +2 -0
  134. package/dist-types/commands/DescribeHandshakeCommand.d.ts +2 -0
  135. package/dist-types/commands/DescribeOrganizationCommand.d.ts +2 -0
  136. package/dist-types/commands/DescribeOrganizationalUnitCommand.d.ts +2 -0
  137. package/dist-types/commands/DescribePolicyCommand.d.ts +2 -0
  138. package/dist-types/commands/DetachPolicyCommand.d.ts +2 -0
  139. package/dist-types/commands/DisableAWSServiceAccessCommand.d.ts +2 -0
  140. package/dist-types/commands/DisablePolicyTypeCommand.d.ts +2 -0
  141. package/dist-types/commands/EnableAWSServiceAccessCommand.d.ts +2 -0
  142. package/dist-types/commands/EnableAllFeaturesCommand.d.ts +2 -0
  143. package/dist-types/commands/EnablePolicyTypeCommand.d.ts +2 -0
  144. package/dist-types/commands/InviteAccountToOrganizationCommand.d.ts +2 -0
  145. package/dist-types/commands/LeaveOrganizationCommand.d.ts +2 -0
  146. package/dist-types/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +2 -0
  147. package/dist-types/commands/ListAccountsCommand.d.ts +2 -0
  148. package/dist-types/commands/ListAccountsForParentCommand.d.ts +2 -0
  149. package/dist-types/commands/ListChildrenCommand.d.ts +2 -0
  150. package/dist-types/commands/ListCreateAccountStatusCommand.d.ts +2 -0
  151. package/dist-types/commands/ListDelegatedAdministratorsCommand.d.ts +2 -0
  152. package/dist-types/commands/ListDelegatedServicesForAccountCommand.d.ts +2 -0
  153. package/dist-types/commands/ListHandshakesForAccountCommand.d.ts +2 -0
  154. package/dist-types/commands/ListHandshakesForOrganizationCommand.d.ts +2 -0
  155. package/dist-types/commands/ListOrganizationalUnitsForParentCommand.d.ts +2 -0
  156. package/dist-types/commands/ListParentsCommand.d.ts +2 -0
  157. package/dist-types/commands/ListPoliciesCommand.d.ts +2 -0
  158. package/dist-types/commands/ListPoliciesForTargetCommand.d.ts +2 -0
  159. package/dist-types/commands/ListRootsCommand.d.ts +2 -0
  160. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  161. package/dist-types/commands/ListTargetsForPolicyCommand.d.ts +2 -0
  162. package/dist-types/commands/MoveAccountCommand.d.ts +2 -0
  163. package/dist-types/commands/RegisterDelegatedAdministratorCommand.d.ts +2 -0
  164. package/dist-types/commands/RemoveAccountFromOrganizationCommand.d.ts +2 -0
  165. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  166. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  167. package/dist-types/commands/UpdateOrganizationalUnitCommand.d.ts +2 -0
  168. package/dist-types/commands/UpdatePolicyCommand.d.ts +2 -0
  169. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  170. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  171. package/dist-types/endpoint/ruleset.d.ts +2 -0
  172. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  173. package/dist-types/runtimeConfig.d.ts +4 -2
  174. package/dist-types/runtimeConfig.native.d.ts +4 -2
  175. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  176. package/dist-types/ts3.4/OrganizationsClient.d.ts +15 -8
  177. package/dist-types/ts3.4/commands/AcceptHandshakeCommand.d.ts +2 -0
  178. package/dist-types/ts3.4/commands/AttachPolicyCommand.d.ts +2 -0
  179. package/dist-types/ts3.4/commands/CancelHandshakeCommand.d.ts +2 -0
  180. package/dist-types/ts3.4/commands/CloseAccountCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/CreateAccountCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/CreateGovCloudAccountCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/CreateOrganizationCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/CreateOrganizationalUnitCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/commands/CreatePolicyCommand.d.ts +2 -0
  186. package/dist-types/ts3.4/commands/DeclineHandshakeCommand.d.ts +2 -0
  187. package/dist-types/ts3.4/commands/DeleteOrganizationCommand.d.ts +2 -0
  188. package/dist-types/ts3.4/commands/DeleteOrganizationalUnitCommand.d.ts +2 -0
  189. package/dist-types/ts3.4/commands/DeletePolicyCommand.d.ts +2 -0
  190. package/dist-types/ts3.4/commands/DeregisterDelegatedAdministratorCommand.d.ts +2 -0
  191. package/dist-types/ts3.4/commands/DescribeAccountCommand.d.ts +2 -0
  192. package/dist-types/ts3.4/commands/DescribeCreateAccountStatusCommand.d.ts +2 -0
  193. package/dist-types/ts3.4/commands/DescribeEffectivePolicyCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/commands/DescribeHandshakeCommand.d.ts +2 -0
  195. package/dist-types/ts3.4/commands/DescribeOrganizationCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/DescribeOrganizationalUnitCommand.d.ts +2 -0
  197. package/dist-types/ts3.4/commands/DescribePolicyCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/DetachPolicyCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/DisableAWSServiceAccessCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/DisablePolicyTypeCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/EnableAWSServiceAccessCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/EnableAllFeaturesCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/EnablePolicyTypeCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/InviteAccountToOrganizationCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/LeaveOrganizationCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/ListAWSServiceAccessForOrganizationCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/ListAccountsCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/ListAccountsForParentCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/ListChildrenCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/ListCreateAccountStatusCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/commands/ListDelegatedAdministratorsCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/ListDelegatedServicesForAccountCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/ListHandshakesForAccountCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/ListHandshakesForOrganizationCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/ListOrganizationalUnitsForParentCommand.d.ts +2 -0
  216. package/dist-types/ts3.4/commands/ListParentsCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/ListPoliciesCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/ListPoliciesForTargetCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/ListRootsCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/ListTargetsForPolicyCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/MoveAccountCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/RegisterDelegatedAdministratorCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/RemoveAccountFromOrganizationCommand.d.ts +2 -0
  225. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  226. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  227. package/dist-types/ts3.4/commands/UpdateOrganizationalUnitCommand.d.ts +2 -0
  228. package/dist-types/ts3.4/commands/UpdatePolicyCommand.d.ts +2 -0
  229. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  230. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  231. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  232. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  233. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  234. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  235. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  236. package/package.json +3 -1
  237. package/dist-cjs/endpoints.js +0 -173
  238. package/dist-es/endpoints.js +0 -169
  239. package/dist-types/endpoints.d.ts +0 -2
  240. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -0,0 +1,1172 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ exports.ruleSet = {
5
+ version: "1.0",
6
+ parameters: {
7
+ Region: {
8
+ builtIn: "AWS::Region",
9
+ required: false,
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
+ signingName: "organizations",
207
+ signingRegion: "us-east-1",
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
+ signingName: "organizations",
267
+ signingRegion: "us-east-1",
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
+ signingName: "organizations",
327
+ signingRegion: "us-east-1",
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
+ signingName: "organizations",
353
+ signingRegion: "us-east-1",
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
+ signingName: "organizations",
450
+ signingRegion: "cn-northwest-1",
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
+ signingName: "organizations",
510
+ signingRegion: "cn-northwest-1",
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
+ signingName: "organizations",
570
+ signingRegion: "cn-northwest-1",
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
+ signingName: "organizations",
596
+ signingRegion: "cn-northwest-1",
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
+ signingName: "organizations",
693
+ signingRegion: "us-gov-west-1",
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
+ signingName: "organizations",
753
+ signingRegion: "us-gov-west-1",
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
+ signingName: "organizations",
813
+ signingRegion: "us-gov-west-1",
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
+ signingName: "organizations",
839
+ signingRegion: "us-gov-west-1",
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
+ signingName: "organizations",
1096
+ signingRegion: "us-east-1",
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
+ signingName: "organizations",
1123
+ signingRegion: "cn-northwest-1",
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
+ signingName: "organizations",
1150
+ signingRegion: "us-gov-west-1",
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
+ };