@aws-sdk/client-cloudfront 3.193.0 → 3.194.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 (424) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/CloudFrontClient.js +11 -8
  3. package/dist-cjs/commands/AssociateAliasCommand.js +10 -0
  4. package/dist-cjs/commands/CreateCachePolicyCommand.js +10 -0
  5. package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +10 -0
  6. package/dist-cjs/commands/CreateDistributionCommand.js +10 -0
  7. package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +10 -0
  8. package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +10 -0
  9. package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +10 -0
  10. package/dist-cjs/commands/CreateFunctionCommand.js +10 -0
  11. package/dist-cjs/commands/CreateInvalidationCommand.js +10 -0
  12. package/dist-cjs/commands/CreateKeyGroupCommand.js +10 -0
  13. package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +10 -0
  14. package/dist-cjs/commands/CreateOriginAccessControlCommand.js +10 -0
  15. package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +10 -0
  16. package/dist-cjs/commands/CreatePublicKeyCommand.js +10 -0
  17. package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +10 -0
  18. package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +10 -0
  19. package/dist-cjs/commands/CreateStreamingDistributionCommand.js +10 -0
  20. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +10 -0
  21. package/dist-cjs/commands/DeleteCachePolicyCommand.js +10 -0
  22. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +10 -0
  23. package/dist-cjs/commands/DeleteDistributionCommand.js +10 -0
  24. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +10 -0
  25. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +10 -0
  26. package/dist-cjs/commands/DeleteFunctionCommand.js +10 -0
  27. package/dist-cjs/commands/DeleteKeyGroupCommand.js +10 -0
  28. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +10 -0
  29. package/dist-cjs/commands/DeleteOriginAccessControlCommand.js +10 -0
  30. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +10 -0
  31. package/dist-cjs/commands/DeletePublicKeyCommand.js +10 -0
  32. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +10 -0
  33. package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +10 -0
  34. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +10 -0
  35. package/dist-cjs/commands/DescribeFunctionCommand.js +10 -0
  36. package/dist-cjs/commands/GetCachePolicyCommand.js +10 -0
  37. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +10 -0
  38. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +10 -0
  39. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +10 -0
  40. package/dist-cjs/commands/GetDistributionCommand.js +10 -0
  41. package/dist-cjs/commands/GetDistributionConfigCommand.js +10 -0
  42. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +10 -0
  43. package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +10 -0
  44. package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +10 -0
  45. package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +10 -0
  46. package/dist-cjs/commands/GetFunctionCommand.js +10 -0
  47. package/dist-cjs/commands/GetInvalidationCommand.js +10 -0
  48. package/dist-cjs/commands/GetKeyGroupCommand.js +10 -0
  49. package/dist-cjs/commands/GetKeyGroupConfigCommand.js +10 -0
  50. package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +10 -0
  51. package/dist-cjs/commands/GetOriginAccessControlCommand.js +10 -0
  52. package/dist-cjs/commands/GetOriginAccessControlConfigCommand.js +10 -0
  53. package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +10 -0
  54. package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +10 -0
  55. package/dist-cjs/commands/GetPublicKeyCommand.js +10 -0
  56. package/dist-cjs/commands/GetPublicKeyConfigCommand.js +10 -0
  57. package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +10 -0
  58. package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +10 -0
  59. package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +10 -0
  60. package/dist-cjs/commands/GetStreamingDistributionCommand.js +10 -0
  61. package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +10 -0
  62. package/dist-cjs/commands/ListCachePoliciesCommand.js +10 -0
  63. package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +10 -0
  64. package/dist-cjs/commands/ListConflictingAliasesCommand.js +10 -0
  65. package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +10 -0
  66. package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +10 -0
  67. package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +10 -0
  68. package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +10 -0
  69. package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +10 -0
  70. package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +10 -0
  71. package/dist-cjs/commands/ListDistributionsCommand.js +10 -0
  72. package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +10 -0
  73. package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +10 -0
  74. package/dist-cjs/commands/ListFunctionsCommand.js +10 -0
  75. package/dist-cjs/commands/ListInvalidationsCommand.js +10 -0
  76. package/dist-cjs/commands/ListKeyGroupsCommand.js +10 -0
  77. package/dist-cjs/commands/ListOriginAccessControlsCommand.js +10 -0
  78. package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +10 -0
  79. package/dist-cjs/commands/ListPublicKeysCommand.js +10 -0
  80. package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +10 -0
  81. package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +10 -0
  82. package/dist-cjs/commands/ListStreamingDistributionsCommand.js +10 -0
  83. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  84. package/dist-cjs/commands/PublishFunctionCommand.js +10 -0
  85. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  86. package/dist-cjs/commands/TestFunctionCommand.js +10 -0
  87. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  88. package/dist-cjs/commands/UpdateCachePolicyCommand.js +10 -0
  89. package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +10 -0
  90. package/dist-cjs/commands/UpdateDistributionCommand.js +10 -0
  91. package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +10 -0
  92. package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +10 -0
  93. package/dist-cjs/commands/UpdateFunctionCommand.js +10 -0
  94. package/dist-cjs/commands/UpdateKeyGroupCommand.js +10 -0
  95. package/dist-cjs/commands/UpdateOriginAccessControlCommand.js +10 -0
  96. package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +10 -0
  97. package/dist-cjs/commands/UpdatePublicKeyCommand.js +10 -0
  98. package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +10 -0
  99. package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +10 -0
  100. package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +10 -0
  101. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  102. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  103. package/dist-cjs/endpoint/ruleset.js +864 -0
  104. package/dist-cjs/runtimeConfig.shared.js +3 -3
  105. package/dist-es/CloudFrontClient.js +12 -9
  106. package/dist-es/commands/AssociateAliasCommand.js +10 -0
  107. package/dist-es/commands/CreateCachePolicyCommand.js +10 -0
  108. package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +10 -0
  109. package/dist-es/commands/CreateDistributionCommand.js +10 -0
  110. package/dist-es/commands/CreateDistributionWithTagsCommand.js +10 -0
  111. package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +10 -0
  112. package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +10 -0
  113. package/dist-es/commands/CreateFunctionCommand.js +10 -0
  114. package/dist-es/commands/CreateInvalidationCommand.js +10 -0
  115. package/dist-es/commands/CreateKeyGroupCommand.js +10 -0
  116. package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +10 -0
  117. package/dist-es/commands/CreateOriginAccessControlCommand.js +10 -0
  118. package/dist-es/commands/CreateOriginRequestPolicyCommand.js +10 -0
  119. package/dist-es/commands/CreatePublicKeyCommand.js +10 -0
  120. package/dist-es/commands/CreateRealtimeLogConfigCommand.js +10 -0
  121. package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +10 -0
  122. package/dist-es/commands/CreateStreamingDistributionCommand.js +10 -0
  123. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +10 -0
  124. package/dist-es/commands/DeleteCachePolicyCommand.js +10 -0
  125. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +10 -0
  126. package/dist-es/commands/DeleteDistributionCommand.js +10 -0
  127. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +10 -0
  128. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +10 -0
  129. package/dist-es/commands/DeleteFunctionCommand.js +10 -0
  130. package/dist-es/commands/DeleteKeyGroupCommand.js +10 -0
  131. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +10 -0
  132. package/dist-es/commands/DeleteOriginAccessControlCommand.js +10 -0
  133. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +10 -0
  134. package/dist-es/commands/DeletePublicKeyCommand.js +10 -0
  135. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +10 -0
  136. package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +10 -0
  137. package/dist-es/commands/DeleteStreamingDistributionCommand.js +10 -0
  138. package/dist-es/commands/DescribeFunctionCommand.js +10 -0
  139. package/dist-es/commands/GetCachePolicyCommand.js +10 -0
  140. package/dist-es/commands/GetCachePolicyConfigCommand.js +10 -0
  141. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +10 -0
  142. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +10 -0
  143. package/dist-es/commands/GetDistributionCommand.js +10 -0
  144. package/dist-es/commands/GetDistributionConfigCommand.js +10 -0
  145. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +10 -0
  146. package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +10 -0
  147. package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +10 -0
  148. package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +10 -0
  149. package/dist-es/commands/GetFunctionCommand.js +10 -0
  150. package/dist-es/commands/GetInvalidationCommand.js +10 -0
  151. package/dist-es/commands/GetKeyGroupCommand.js +10 -0
  152. package/dist-es/commands/GetKeyGroupConfigCommand.js +10 -0
  153. package/dist-es/commands/GetMonitoringSubscriptionCommand.js +10 -0
  154. package/dist-es/commands/GetOriginAccessControlCommand.js +10 -0
  155. package/dist-es/commands/GetOriginAccessControlConfigCommand.js +10 -0
  156. package/dist-es/commands/GetOriginRequestPolicyCommand.js +10 -0
  157. package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +10 -0
  158. package/dist-es/commands/GetPublicKeyCommand.js +10 -0
  159. package/dist-es/commands/GetPublicKeyConfigCommand.js +10 -0
  160. package/dist-es/commands/GetRealtimeLogConfigCommand.js +10 -0
  161. package/dist-es/commands/GetResponseHeadersPolicyCommand.js +10 -0
  162. package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +10 -0
  163. package/dist-es/commands/GetStreamingDistributionCommand.js +10 -0
  164. package/dist-es/commands/GetStreamingDistributionConfigCommand.js +10 -0
  165. package/dist-es/commands/ListCachePoliciesCommand.js +10 -0
  166. package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +10 -0
  167. package/dist-es/commands/ListConflictingAliasesCommand.js +10 -0
  168. package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +10 -0
  169. package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +10 -0
  170. package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +10 -0
  171. package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +10 -0
  172. package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +10 -0
  173. package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +10 -0
  174. package/dist-es/commands/ListDistributionsCommand.js +10 -0
  175. package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +10 -0
  176. package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +10 -0
  177. package/dist-es/commands/ListFunctionsCommand.js +10 -0
  178. package/dist-es/commands/ListInvalidationsCommand.js +10 -0
  179. package/dist-es/commands/ListKeyGroupsCommand.js +10 -0
  180. package/dist-es/commands/ListOriginAccessControlsCommand.js +10 -0
  181. package/dist-es/commands/ListOriginRequestPoliciesCommand.js +10 -0
  182. package/dist-es/commands/ListPublicKeysCommand.js +10 -0
  183. package/dist-es/commands/ListRealtimeLogConfigsCommand.js +10 -0
  184. package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +10 -0
  185. package/dist-es/commands/ListStreamingDistributionsCommand.js +10 -0
  186. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  187. package/dist-es/commands/PublishFunctionCommand.js +10 -0
  188. package/dist-es/commands/TagResourceCommand.js +10 -0
  189. package/dist-es/commands/TestFunctionCommand.js +10 -0
  190. package/dist-es/commands/UntagResourceCommand.js +10 -0
  191. package/dist-es/commands/UpdateCachePolicyCommand.js +10 -0
  192. package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +10 -0
  193. package/dist-es/commands/UpdateDistributionCommand.js +10 -0
  194. package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +10 -0
  195. package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +10 -0
  196. package/dist-es/commands/UpdateFunctionCommand.js +10 -0
  197. package/dist-es/commands/UpdateKeyGroupCommand.js +10 -0
  198. package/dist-es/commands/UpdateOriginAccessControlCommand.js +10 -0
  199. package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +10 -0
  200. package/dist-es/commands/UpdatePublicKeyCommand.js +10 -0
  201. package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +10 -0
  202. package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +10 -0
  203. package/dist-es/commands/UpdateStreamingDistributionCommand.js +10 -0
  204. package/dist-es/endpoint/EndpointParameters.js +8 -0
  205. package/dist-es/endpoint/endpointResolver.js +8 -0
  206. package/dist-es/endpoint/ruleset.js +861 -0
  207. package/dist-es/runtimeConfig.shared.js +2 -2
  208. package/dist-types/CloudFrontClient.d.ts +6 -9
  209. package/dist-types/commands/AssociateAliasCommand.d.ts +2 -0
  210. package/dist-types/commands/CreateCachePolicyCommand.d.ts +2 -0
  211. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  212. package/dist-types/commands/CreateDistributionCommand.d.ts +2 -0
  213. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
  214. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -0
  215. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -0
  216. package/dist-types/commands/CreateFunctionCommand.d.ts +2 -0
  217. package/dist-types/commands/CreateInvalidationCommand.d.ts +2 -0
  218. package/dist-types/commands/CreateKeyGroupCommand.d.ts +2 -0
  219. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -0
  220. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +2 -0
  221. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +2 -0
  222. package/dist-types/commands/CreatePublicKeyCommand.d.ts +2 -0
  223. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +2 -0
  224. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +2 -0
  225. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +2 -0
  226. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -0
  227. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +2 -0
  228. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  229. package/dist-types/commands/DeleteDistributionCommand.d.ts +2 -0
  230. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -0
  231. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -0
  232. package/dist-types/commands/DeleteFunctionCommand.d.ts +2 -0
  233. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +2 -0
  234. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -0
  235. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +2 -0
  236. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -0
  237. package/dist-types/commands/DeletePublicKeyCommand.d.ts +2 -0
  238. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -0
  239. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +2 -0
  240. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +2 -0
  241. package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -0
  242. package/dist-types/commands/GetCachePolicyCommand.d.ts +2 -0
  243. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +2 -0
  244. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  245. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -0
  246. package/dist-types/commands/GetDistributionCommand.d.ts +2 -0
  247. package/dist-types/commands/GetDistributionConfigCommand.d.ts +2 -0
  248. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +2 -0
  249. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -0
  250. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -0
  251. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -0
  252. package/dist-types/commands/GetFunctionCommand.d.ts +2 -0
  253. package/dist-types/commands/GetInvalidationCommand.d.ts +2 -0
  254. package/dist-types/commands/GetKeyGroupCommand.d.ts +2 -0
  255. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +2 -0
  256. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +2 -0
  257. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +2 -0
  258. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +2 -0
  259. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +2 -0
  260. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -0
  261. package/dist-types/commands/GetPublicKeyCommand.d.ts +2 -0
  262. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +2 -0
  263. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +2 -0
  264. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +2 -0
  265. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +2 -0
  266. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +2 -0
  267. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +2 -0
  268. package/dist-types/commands/ListCachePoliciesCommand.d.ts +2 -0
  269. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -0
  270. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +2 -0
  271. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -0
  272. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -0
  273. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -0
  274. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -0
  275. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +2 -0
  276. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -0
  277. package/dist-types/commands/ListDistributionsCommand.d.ts +2 -0
  278. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -0
  279. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -0
  280. package/dist-types/commands/ListFunctionsCommand.d.ts +2 -0
  281. package/dist-types/commands/ListInvalidationsCommand.d.ts +2 -0
  282. package/dist-types/commands/ListKeyGroupsCommand.d.ts +2 -0
  283. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +2 -0
  284. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +2 -0
  285. package/dist-types/commands/ListPublicKeysCommand.d.ts +2 -0
  286. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +2 -0
  287. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +2 -0
  288. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +2 -0
  289. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  290. package/dist-types/commands/PublishFunctionCommand.d.ts +2 -0
  291. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  292. package/dist-types/commands/TestFunctionCommand.d.ts +2 -0
  293. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  294. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +2 -0
  295. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  296. package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -0
  297. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -0
  298. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -0
  299. package/dist-types/commands/UpdateFunctionCommand.d.ts +2 -0
  300. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +2 -0
  301. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +2 -0
  302. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -0
  303. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +2 -0
  304. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -0
  305. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +2 -0
  306. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +2 -0
  307. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  308. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  309. package/dist-types/endpoint/ruleset.d.ts +2 -0
  310. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  311. package/dist-types/runtimeConfig.d.ts +4 -2
  312. package/dist-types/runtimeConfig.native.d.ts +4 -2
  313. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  314. package/dist-types/ts3.4/CloudFrontClient.d.ts +15 -8
  315. package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +2 -0
  316. package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +2 -0
  317. package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  318. package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +2 -0
  319. package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
  320. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -0
  321. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -0
  322. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -0
  323. package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +2 -0
  324. package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +2 -0
  325. package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -0
  326. package/dist-types/ts3.4/commands/CreateOriginAccessControlCommand.d.ts +2 -0
  327. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +2 -0
  328. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +2 -0
  329. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +2 -0
  330. package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +2 -0
  331. package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +2 -0
  332. package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -0
  333. package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +2 -0
  334. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  335. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +2 -0
  336. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -0
  337. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -0
  338. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -0
  339. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +2 -0
  340. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -0
  341. package/dist-types/ts3.4/commands/DeleteOriginAccessControlCommand.d.ts +2 -0
  342. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -0
  343. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +2 -0
  344. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -0
  345. package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +2 -0
  346. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +2 -0
  347. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +2 -0
  348. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +2 -0
  349. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +2 -0
  350. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  351. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -0
  352. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +2 -0
  353. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +2 -0
  354. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +2 -0
  355. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -0
  356. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -0
  357. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -0
  358. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -0
  359. package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +2 -0
  360. package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +2 -0
  361. package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +2 -0
  362. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +2 -0
  363. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +2 -0
  364. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +2 -0
  365. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +2 -0
  366. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -0
  367. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -0
  368. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +2 -0
  369. package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +2 -0
  370. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +2 -0
  371. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +2 -0
  372. package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +2 -0
  373. package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +2 -0
  374. package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +2 -0
  375. package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -0
  376. package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +2 -0
  377. package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -0
  378. package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -0
  379. package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -0
  380. package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -0
  381. package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +2 -0
  382. package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -0
  383. package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +2 -0
  384. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -0
  385. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -0
  386. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -0
  387. package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +2 -0
  388. package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +2 -0
  389. package/dist-types/ts3.4/commands/ListOriginAccessControlsCommand.d.ts +2 -0
  390. package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +2 -0
  391. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -0
  392. package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -0
  393. package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +2 -0
  394. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -0
  395. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  396. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +2 -0
  397. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  398. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +2 -0
  399. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  400. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +2 -0
  401. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -0
  402. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +2 -0
  403. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -0
  404. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -0
  405. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -0
  406. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +2 -0
  407. package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +2 -0
  408. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -0
  409. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +2 -0
  410. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -0
  411. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +2 -0
  412. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +2 -0
  413. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  414. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  415. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  416. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  417. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  418. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  419. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  420. package/package.json +4 -2
  421. package/dist-cjs/endpoints.js +0 -154
  422. package/dist-es/endpoints.js +0 -150
  423. package/dist-types/endpoints.d.ts +0 -2
  424. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -0,0 +1,864 @@
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://cloudfront-fips.{Region}.api.aws",
202
+ properties: {
203
+ authSchemes: [
204
+ {
205
+ name: "sigv4",
206
+ signingName: "cloudfront",
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://cloudfront-fips.{Region}.amazonaws.com",
262
+ properties: {
263
+ authSchemes: [
264
+ {
265
+ name: "sigv4",
266
+ signingName: "cloudfront",
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://cloudfront.{Region}.api.aws",
322
+ properties: {
323
+ authSchemes: [
324
+ {
325
+ name: "sigv4",
326
+ signingName: "cloudfront",
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://cloudfront.amazonaws.com",
348
+ properties: {
349
+ authSchemes: [
350
+ {
351
+ name: "sigv4",
352
+ signingName: "cloudfront",
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://cloudfront-fips.{Region}.api.amazonwebservices.com.cn",
445
+ properties: {
446
+ authSchemes: [
447
+ {
448
+ name: "sigv4",
449
+ signingName: "cloudfront",
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://cloudfront-fips.{Region}.amazonaws.com.cn",
505
+ properties: {
506
+ authSchemes: [
507
+ {
508
+ name: "sigv4",
509
+ signingName: "cloudfront",
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://cloudfront.{Region}.api.amazonwebservices.com.cn",
565
+ properties: {
566
+ authSchemes: [
567
+ {
568
+ name: "sigv4",
569
+ signingName: "cloudfront",
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://cloudfront.cn-northwest-1.amazonaws.com.cn",
591
+ properties: {
592
+ authSchemes: [
593
+ {
594
+ name: "sigv4",
595
+ signingName: "cloudfront",
596
+ signingRegion: "cn-northwest-1",
597
+ },
598
+ ],
599
+ },
600
+ headers: {},
601
+ },
602
+ type: "endpoint",
603
+ },
604
+ ],
605
+ },
606
+ {
607
+ conditions: [
608
+ {
609
+ fn: "booleanEquals",
610
+ argv: [
611
+ {
612
+ ref: "UseFIPS",
613
+ },
614
+ true,
615
+ ],
616
+ },
617
+ {
618
+ fn: "booleanEquals",
619
+ argv: [
620
+ {
621
+ ref: "UseDualStack",
622
+ },
623
+ true,
624
+ ],
625
+ },
626
+ ],
627
+ type: "tree",
628
+ rules: [
629
+ {
630
+ conditions: [
631
+ {
632
+ fn: "booleanEquals",
633
+ argv: [
634
+ true,
635
+ {
636
+ fn: "getAttr",
637
+ argv: [
638
+ {
639
+ ref: "PartitionResult",
640
+ },
641
+ "supportsFIPS",
642
+ ],
643
+ },
644
+ ],
645
+ },
646
+ {
647
+ fn: "booleanEquals",
648
+ argv: [
649
+ true,
650
+ {
651
+ fn: "getAttr",
652
+ argv: [
653
+ {
654
+ ref: "PartitionResult",
655
+ },
656
+ "supportsDualStack",
657
+ ],
658
+ },
659
+ ],
660
+ },
661
+ ],
662
+ type: "tree",
663
+ rules: [
664
+ {
665
+ conditions: [],
666
+ endpoint: {
667
+ url: "https://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
668
+ properties: {},
669
+ headers: {},
670
+ },
671
+ type: "endpoint",
672
+ },
673
+ ],
674
+ },
675
+ {
676
+ conditions: [],
677
+ error: "FIPS and DualStack are enabled, but this partition does not support one or both",
678
+ type: "error",
679
+ },
680
+ ],
681
+ },
682
+ {
683
+ conditions: [
684
+ {
685
+ fn: "booleanEquals",
686
+ argv: [
687
+ {
688
+ ref: "UseFIPS",
689
+ },
690
+ true,
691
+ ],
692
+ },
693
+ ],
694
+ type: "tree",
695
+ rules: [
696
+ {
697
+ conditions: [
698
+ {
699
+ fn: "booleanEquals",
700
+ argv: [
701
+ true,
702
+ {
703
+ fn: "getAttr",
704
+ argv: [
705
+ {
706
+ ref: "PartitionResult",
707
+ },
708
+ "supportsFIPS",
709
+ ],
710
+ },
711
+ ],
712
+ },
713
+ ],
714
+ type: "tree",
715
+ rules: [
716
+ {
717
+ conditions: [],
718
+ type: "tree",
719
+ rules: [
720
+ {
721
+ conditions: [],
722
+ endpoint: {
723
+ url: "https://cloudfront-fips.{Region}.{PartitionResult#dnsSuffix}",
724
+ properties: {},
725
+ headers: {},
726
+ },
727
+ type: "endpoint",
728
+ },
729
+ ],
730
+ },
731
+ ],
732
+ },
733
+ {
734
+ conditions: [],
735
+ error: "FIPS is enabled but this partition does not support FIPS",
736
+ type: "error",
737
+ },
738
+ ],
739
+ },
740
+ {
741
+ conditions: [
742
+ {
743
+ fn: "booleanEquals",
744
+ argv: [
745
+ {
746
+ ref: "UseDualStack",
747
+ },
748
+ true,
749
+ ],
750
+ },
751
+ ],
752
+ type: "tree",
753
+ rules: [
754
+ {
755
+ conditions: [
756
+ {
757
+ fn: "booleanEquals",
758
+ argv: [
759
+ true,
760
+ {
761
+ fn: "getAttr",
762
+ argv: [
763
+ {
764
+ ref: "PartitionResult",
765
+ },
766
+ "supportsDualStack",
767
+ ],
768
+ },
769
+ ],
770
+ },
771
+ ],
772
+ type: "tree",
773
+ rules: [
774
+ {
775
+ conditions: [],
776
+ endpoint: {
777
+ url: "https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}",
778
+ properties: {},
779
+ headers: {},
780
+ },
781
+ type: "endpoint",
782
+ },
783
+ ],
784
+ },
785
+ {
786
+ conditions: [],
787
+ error: "DualStack is enabled but this partition does not support DualStack",
788
+ type: "error",
789
+ },
790
+ ],
791
+ },
792
+ {
793
+ conditions: [],
794
+ type: "tree",
795
+ rules: [
796
+ {
797
+ conditions: [
798
+ {
799
+ fn: "stringEquals",
800
+ argv: [
801
+ {
802
+ ref: "Region",
803
+ },
804
+ "aws-global",
805
+ ],
806
+ },
807
+ ],
808
+ endpoint: {
809
+ url: "https://cloudfront.amazonaws.com",
810
+ properties: {
811
+ authSchemes: [
812
+ {
813
+ name: "sigv4",
814
+ signingName: "cloudfront",
815
+ signingRegion: "us-east-1",
816
+ },
817
+ ],
818
+ },
819
+ headers: {},
820
+ },
821
+ type: "endpoint",
822
+ },
823
+ {
824
+ conditions: [
825
+ {
826
+ fn: "stringEquals",
827
+ argv: [
828
+ {
829
+ ref: "Region",
830
+ },
831
+ "aws-cn-global",
832
+ ],
833
+ },
834
+ ],
835
+ endpoint: {
836
+ url: "https://cloudfront.cn-northwest-1.amazonaws.com.cn",
837
+ properties: {
838
+ authSchemes: [
839
+ {
840
+ name: "sigv4",
841
+ signingName: "cloudfront",
842
+ signingRegion: "cn-northwest-1",
843
+ },
844
+ ],
845
+ },
846
+ headers: {},
847
+ },
848
+ type: "endpoint",
849
+ },
850
+ {
851
+ conditions: [],
852
+ endpoint: {
853
+ url: "https://cloudfront.{Region}.{PartitionResult#dnsSuffix}",
854
+ properties: {},
855
+ headers: {},
856
+ },
857
+ type: "endpoint",
858
+ },
859
+ ],
860
+ },
861
+ ],
862
+ },
863
+ ],
864
+ };