@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,861 @@
1
+ export const ruleSet = {
2
+ version: "1.0",
3
+ parameters: {
4
+ Region: {
5
+ builtIn: "AWS::Region",
6
+ required: false,
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://cloudfront-fips.{Region}.api.aws",
199
+ properties: {
200
+ authSchemes: [
201
+ {
202
+ name: "sigv4",
203
+ signingName: "cloudfront",
204
+ signingRegion: "us-east-1",
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://cloudfront-fips.{Region}.amazonaws.com",
259
+ properties: {
260
+ authSchemes: [
261
+ {
262
+ name: "sigv4",
263
+ signingName: "cloudfront",
264
+ signingRegion: "us-east-1",
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://cloudfront.{Region}.api.aws",
319
+ properties: {
320
+ authSchemes: [
321
+ {
322
+ name: "sigv4",
323
+ signingName: "cloudfront",
324
+ signingRegion: "us-east-1",
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://cloudfront.amazonaws.com",
345
+ properties: {
346
+ authSchemes: [
347
+ {
348
+ name: "sigv4",
349
+ signingName: "cloudfront",
350
+ signingRegion: "us-east-1",
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://cloudfront-fips.{Region}.api.amazonwebservices.com.cn",
442
+ properties: {
443
+ authSchemes: [
444
+ {
445
+ name: "sigv4",
446
+ signingName: "cloudfront",
447
+ signingRegion: "cn-northwest-1",
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://cloudfront-fips.{Region}.amazonaws.com.cn",
502
+ properties: {
503
+ authSchemes: [
504
+ {
505
+ name: "sigv4",
506
+ signingName: "cloudfront",
507
+ signingRegion: "cn-northwest-1",
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://cloudfront.{Region}.api.amazonwebservices.com.cn",
562
+ properties: {
563
+ authSchemes: [
564
+ {
565
+ name: "sigv4",
566
+ signingName: "cloudfront",
567
+ signingRegion: "cn-northwest-1",
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://cloudfront.cn-northwest-1.amazonaws.com.cn",
588
+ properties: {
589
+ authSchemes: [
590
+ {
591
+ name: "sigv4",
592
+ signingName: "cloudfront",
593
+ signingRegion: "cn-northwest-1",
594
+ },
595
+ ],
596
+ },
597
+ headers: {},
598
+ },
599
+ type: "endpoint",
600
+ },
601
+ ],
602
+ },
603
+ {
604
+ conditions: [
605
+ {
606
+ fn: "booleanEquals",
607
+ argv: [
608
+ {
609
+ ref: "UseFIPS",
610
+ },
611
+ true,
612
+ ],
613
+ },
614
+ {
615
+ fn: "booleanEquals",
616
+ argv: [
617
+ {
618
+ ref: "UseDualStack",
619
+ },
620
+ true,
621
+ ],
622
+ },
623
+ ],
624
+ type: "tree",
625
+ rules: [
626
+ {
627
+ conditions: [
628
+ {
629
+ fn: "booleanEquals",
630
+ argv: [
631
+ true,
632
+ {
633
+ fn: "getAttr",
634
+ argv: [
635
+ {
636
+ ref: "PartitionResult",
637
+ },
638
+ "supportsFIPS",
639
+ ],
640
+ },
641
+ ],
642
+ },
643
+ {
644
+ fn: "booleanEquals",
645
+ argv: [
646
+ true,
647
+ {
648
+ fn: "getAttr",
649
+ argv: [
650
+ {
651
+ ref: "PartitionResult",
652
+ },
653
+ "supportsDualStack",
654
+ ],
655
+ },
656
+ ],
657
+ },
658
+ ],
659
+ type: "tree",
660
+ rules: [
661
+ {
662
+ conditions: [],
663
+ endpoint: {
664
+ url: "https://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
665
+ properties: {},
666
+ headers: {},
667
+ },
668
+ type: "endpoint",
669
+ },
670
+ ],
671
+ },
672
+ {
673
+ conditions: [],
674
+ error: "FIPS and DualStack are enabled, but this partition does not support one or both",
675
+ type: "error",
676
+ },
677
+ ],
678
+ },
679
+ {
680
+ conditions: [
681
+ {
682
+ fn: "booleanEquals",
683
+ argv: [
684
+ {
685
+ ref: "UseFIPS",
686
+ },
687
+ true,
688
+ ],
689
+ },
690
+ ],
691
+ type: "tree",
692
+ rules: [
693
+ {
694
+ conditions: [
695
+ {
696
+ fn: "booleanEquals",
697
+ argv: [
698
+ true,
699
+ {
700
+ fn: "getAttr",
701
+ argv: [
702
+ {
703
+ ref: "PartitionResult",
704
+ },
705
+ "supportsFIPS",
706
+ ],
707
+ },
708
+ ],
709
+ },
710
+ ],
711
+ type: "tree",
712
+ rules: [
713
+ {
714
+ conditions: [],
715
+ type: "tree",
716
+ rules: [
717
+ {
718
+ conditions: [],
719
+ endpoint: {
720
+ url: "https://cloudfront-fips.{Region}.{PartitionResult#dnsSuffix}",
721
+ properties: {},
722
+ headers: {},
723
+ },
724
+ type: "endpoint",
725
+ },
726
+ ],
727
+ },
728
+ ],
729
+ },
730
+ {
731
+ conditions: [],
732
+ error: "FIPS is enabled but this partition does not support FIPS",
733
+ type: "error",
734
+ },
735
+ ],
736
+ },
737
+ {
738
+ conditions: [
739
+ {
740
+ fn: "booleanEquals",
741
+ argv: [
742
+ {
743
+ ref: "UseDualStack",
744
+ },
745
+ true,
746
+ ],
747
+ },
748
+ ],
749
+ type: "tree",
750
+ rules: [
751
+ {
752
+ conditions: [
753
+ {
754
+ fn: "booleanEquals",
755
+ argv: [
756
+ true,
757
+ {
758
+ fn: "getAttr",
759
+ argv: [
760
+ {
761
+ ref: "PartitionResult",
762
+ },
763
+ "supportsDualStack",
764
+ ],
765
+ },
766
+ ],
767
+ },
768
+ ],
769
+ type: "tree",
770
+ rules: [
771
+ {
772
+ conditions: [],
773
+ endpoint: {
774
+ url: "https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}",
775
+ properties: {},
776
+ headers: {},
777
+ },
778
+ type: "endpoint",
779
+ },
780
+ ],
781
+ },
782
+ {
783
+ conditions: [],
784
+ error: "DualStack is enabled but this partition does not support DualStack",
785
+ type: "error",
786
+ },
787
+ ],
788
+ },
789
+ {
790
+ conditions: [],
791
+ type: "tree",
792
+ rules: [
793
+ {
794
+ conditions: [
795
+ {
796
+ fn: "stringEquals",
797
+ argv: [
798
+ {
799
+ ref: "Region",
800
+ },
801
+ "aws-global",
802
+ ],
803
+ },
804
+ ],
805
+ endpoint: {
806
+ url: "https://cloudfront.amazonaws.com",
807
+ properties: {
808
+ authSchemes: [
809
+ {
810
+ name: "sigv4",
811
+ signingName: "cloudfront",
812
+ signingRegion: "us-east-1",
813
+ },
814
+ ],
815
+ },
816
+ headers: {},
817
+ },
818
+ type: "endpoint",
819
+ },
820
+ {
821
+ conditions: [
822
+ {
823
+ fn: "stringEquals",
824
+ argv: [
825
+ {
826
+ ref: "Region",
827
+ },
828
+ "aws-cn-global",
829
+ ],
830
+ },
831
+ ],
832
+ endpoint: {
833
+ url: "https://cloudfront.cn-northwest-1.amazonaws.com.cn",
834
+ properties: {
835
+ authSchemes: [
836
+ {
837
+ name: "sigv4",
838
+ signingName: "cloudfront",
839
+ signingRegion: "cn-northwest-1",
840
+ },
841
+ ],
842
+ },
843
+ headers: {},
844
+ },
845
+ type: "endpoint",
846
+ },
847
+ {
848
+ conditions: [],
849
+ endpoint: {
850
+ url: "https://cloudfront.{Region}.{PartitionResult#dnsSuffix}",
851
+ properties: {},
852
+ headers: {},
853
+ },
854
+ type: "endpoint",
855
+ },
856
+ ],
857
+ },
858
+ ],
859
+ },
860
+ ],
861
+ };