@aws-sdk/client-cloudfront 3.477.0 → 3.481.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 (469) hide show
  1. package/dist-cjs/commands/AssociateAliasCommand.js +18 -41
  2. package/dist-cjs/commands/CopyDistributionCommand.js +18 -41
  3. package/dist-cjs/commands/CreateCachePolicyCommand.js +18 -41
  4. package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +18 -41
  5. package/dist-cjs/commands/CreateContinuousDeploymentPolicyCommand.js +18 -41
  6. package/dist-cjs/commands/CreateDistributionCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +18 -41
  8. package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +18 -41
  9. package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +18 -41
  10. package/dist-cjs/commands/CreateFunctionCommand.js +18 -41
  11. package/dist-cjs/commands/CreateInvalidationCommand.js +18 -41
  12. package/dist-cjs/commands/CreateKeyGroupCommand.js +18 -41
  13. package/dist-cjs/commands/CreateKeyValueStoreCommand.js +18 -41
  14. package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +18 -41
  15. package/dist-cjs/commands/CreateOriginAccessControlCommand.js +18 -41
  16. package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +18 -41
  17. package/dist-cjs/commands/CreatePublicKeyCommand.js +18 -41
  18. package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +18 -41
  19. package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +18 -41
  20. package/dist-cjs/commands/CreateStreamingDistributionCommand.js +18 -41
  21. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteCachePolicyCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteContinuousDeploymentPolicyCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteDistributionCommand.js +18 -41
  26. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +18 -41
  27. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +18 -41
  28. package/dist-cjs/commands/DeleteFunctionCommand.js +18 -41
  29. package/dist-cjs/commands/DeleteKeyGroupCommand.js +18 -41
  30. package/dist-cjs/commands/DeleteKeyValueStoreCommand.js +18 -41
  31. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +18 -41
  32. package/dist-cjs/commands/DeleteOriginAccessControlCommand.js +18 -41
  33. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +18 -41
  34. package/dist-cjs/commands/DeletePublicKeyCommand.js +18 -41
  35. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +18 -41
  36. package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +18 -41
  37. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeFunctionCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +18 -41
  40. package/dist-cjs/commands/GetCachePolicyCommand.js +18 -41
  41. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +18 -41
  42. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +18 -41
  43. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +18 -41
  44. package/dist-cjs/commands/GetContinuousDeploymentPolicyCommand.js +18 -41
  45. package/dist-cjs/commands/GetContinuousDeploymentPolicyConfigCommand.js +18 -41
  46. package/dist-cjs/commands/GetDistributionCommand.js +18 -41
  47. package/dist-cjs/commands/GetDistributionConfigCommand.js +18 -41
  48. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +18 -41
  49. package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +18 -41
  50. package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +18 -41
  51. package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +18 -41
  52. package/dist-cjs/commands/GetFunctionCommand.js +18 -41
  53. package/dist-cjs/commands/GetInvalidationCommand.js +18 -41
  54. package/dist-cjs/commands/GetKeyGroupCommand.js +18 -41
  55. package/dist-cjs/commands/GetKeyGroupConfigCommand.js +18 -41
  56. package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +18 -41
  57. package/dist-cjs/commands/GetOriginAccessControlCommand.js +18 -41
  58. package/dist-cjs/commands/GetOriginAccessControlConfigCommand.js +18 -41
  59. package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +18 -41
  60. package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +18 -41
  61. package/dist-cjs/commands/GetPublicKeyCommand.js +18 -41
  62. package/dist-cjs/commands/GetPublicKeyConfigCommand.js +18 -41
  63. package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +18 -41
  64. package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +18 -41
  65. package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +18 -41
  66. package/dist-cjs/commands/GetStreamingDistributionCommand.js +18 -41
  67. package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +18 -41
  68. package/dist-cjs/commands/ListCachePoliciesCommand.js +18 -41
  69. package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +18 -41
  70. package/dist-cjs/commands/ListConflictingAliasesCommand.js +18 -41
  71. package/dist-cjs/commands/ListContinuousDeploymentPoliciesCommand.js +18 -41
  72. package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +18 -41
  73. package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +18 -41
  74. package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +18 -41
  75. package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +18 -41
  76. package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +18 -41
  77. package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +18 -41
  78. package/dist-cjs/commands/ListDistributionsCommand.js +18 -41
  79. package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +18 -41
  80. package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +18 -41
  81. package/dist-cjs/commands/ListFunctionsCommand.js +18 -41
  82. package/dist-cjs/commands/ListInvalidationsCommand.js +18 -41
  83. package/dist-cjs/commands/ListKeyGroupsCommand.js +18 -41
  84. package/dist-cjs/commands/ListKeyValueStoresCommand.js +18 -41
  85. package/dist-cjs/commands/ListOriginAccessControlsCommand.js +18 -41
  86. package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +18 -41
  87. package/dist-cjs/commands/ListPublicKeysCommand.js +18 -41
  88. package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +18 -41
  89. package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +18 -41
  90. package/dist-cjs/commands/ListStreamingDistributionsCommand.js +18 -41
  91. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  92. package/dist-cjs/commands/PublishFunctionCommand.js +18 -41
  93. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  94. package/dist-cjs/commands/TestFunctionCommand.js +18 -41
  95. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  96. package/dist-cjs/commands/UpdateCachePolicyCommand.js +18 -41
  97. package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +18 -41
  98. package/dist-cjs/commands/UpdateContinuousDeploymentPolicyCommand.js +18 -41
  99. package/dist-cjs/commands/UpdateDistributionCommand.js +18 -41
  100. package/dist-cjs/commands/UpdateDistributionWithStagingConfigCommand.js +18 -41
  101. package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +18 -41
  102. package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +18 -41
  103. package/dist-cjs/commands/UpdateFunctionCommand.js +18 -41
  104. package/dist-cjs/commands/UpdateKeyGroupCommand.js +18 -41
  105. package/dist-cjs/commands/UpdateKeyValueStoreCommand.js +18 -41
  106. package/dist-cjs/commands/UpdateOriginAccessControlCommand.js +18 -41
  107. package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +18 -41
  108. package/dist-cjs/commands/UpdatePublicKeyCommand.js +18 -41
  109. package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +18 -41
  110. package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +18 -41
  111. package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +18 -41
  112. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  113. package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +2 -24
  114. package/dist-cjs/pagination/ListDistributionsPaginator.js +2 -24
  115. package/dist-cjs/pagination/ListInvalidationsPaginator.js +2 -24
  116. package/dist-cjs/pagination/ListKeyValueStoresPaginator.js +2 -24
  117. package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +2 -24
  118. package/dist-es/commands/AssociateAliasCommand.js +18 -41
  119. package/dist-es/commands/CopyDistributionCommand.js +18 -41
  120. package/dist-es/commands/CreateCachePolicyCommand.js +18 -41
  121. package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +18 -41
  122. package/dist-es/commands/CreateContinuousDeploymentPolicyCommand.js +18 -41
  123. package/dist-es/commands/CreateDistributionCommand.js +18 -41
  124. package/dist-es/commands/CreateDistributionWithTagsCommand.js +18 -41
  125. package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +18 -41
  126. package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +18 -41
  127. package/dist-es/commands/CreateFunctionCommand.js +18 -41
  128. package/dist-es/commands/CreateInvalidationCommand.js +18 -41
  129. package/dist-es/commands/CreateKeyGroupCommand.js +18 -41
  130. package/dist-es/commands/CreateKeyValueStoreCommand.js +18 -41
  131. package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +18 -41
  132. package/dist-es/commands/CreateOriginAccessControlCommand.js +18 -41
  133. package/dist-es/commands/CreateOriginRequestPolicyCommand.js +18 -41
  134. package/dist-es/commands/CreatePublicKeyCommand.js +18 -41
  135. package/dist-es/commands/CreateRealtimeLogConfigCommand.js +18 -41
  136. package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +18 -41
  137. package/dist-es/commands/CreateStreamingDistributionCommand.js +18 -41
  138. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +18 -41
  139. package/dist-es/commands/DeleteCachePolicyCommand.js +18 -41
  140. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +18 -41
  141. package/dist-es/commands/DeleteContinuousDeploymentPolicyCommand.js +18 -41
  142. package/dist-es/commands/DeleteDistributionCommand.js +18 -41
  143. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +18 -41
  144. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +18 -41
  145. package/dist-es/commands/DeleteFunctionCommand.js +18 -41
  146. package/dist-es/commands/DeleteKeyGroupCommand.js +18 -41
  147. package/dist-es/commands/DeleteKeyValueStoreCommand.js +18 -41
  148. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +18 -41
  149. package/dist-es/commands/DeleteOriginAccessControlCommand.js +18 -41
  150. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +18 -41
  151. package/dist-es/commands/DeletePublicKeyCommand.js +18 -41
  152. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +18 -41
  153. package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +18 -41
  154. package/dist-es/commands/DeleteStreamingDistributionCommand.js +18 -41
  155. package/dist-es/commands/DescribeFunctionCommand.js +18 -41
  156. package/dist-es/commands/DescribeKeyValueStoreCommand.js +18 -41
  157. package/dist-es/commands/GetCachePolicyCommand.js +18 -41
  158. package/dist-es/commands/GetCachePolicyConfigCommand.js +18 -41
  159. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +18 -41
  160. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +18 -41
  161. package/dist-es/commands/GetContinuousDeploymentPolicyCommand.js +18 -41
  162. package/dist-es/commands/GetContinuousDeploymentPolicyConfigCommand.js +18 -41
  163. package/dist-es/commands/GetDistributionCommand.js +18 -41
  164. package/dist-es/commands/GetDistributionConfigCommand.js +18 -41
  165. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +18 -41
  166. package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +18 -41
  167. package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +18 -41
  168. package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +18 -41
  169. package/dist-es/commands/GetFunctionCommand.js +18 -41
  170. package/dist-es/commands/GetInvalidationCommand.js +18 -41
  171. package/dist-es/commands/GetKeyGroupCommand.js +18 -41
  172. package/dist-es/commands/GetKeyGroupConfigCommand.js +18 -41
  173. package/dist-es/commands/GetMonitoringSubscriptionCommand.js +18 -41
  174. package/dist-es/commands/GetOriginAccessControlCommand.js +18 -41
  175. package/dist-es/commands/GetOriginAccessControlConfigCommand.js +18 -41
  176. package/dist-es/commands/GetOriginRequestPolicyCommand.js +18 -41
  177. package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +18 -41
  178. package/dist-es/commands/GetPublicKeyCommand.js +18 -41
  179. package/dist-es/commands/GetPublicKeyConfigCommand.js +18 -41
  180. package/dist-es/commands/GetRealtimeLogConfigCommand.js +18 -41
  181. package/dist-es/commands/GetResponseHeadersPolicyCommand.js +18 -41
  182. package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +18 -41
  183. package/dist-es/commands/GetStreamingDistributionCommand.js +18 -41
  184. package/dist-es/commands/GetStreamingDistributionConfigCommand.js +18 -41
  185. package/dist-es/commands/ListCachePoliciesCommand.js +18 -41
  186. package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +18 -41
  187. package/dist-es/commands/ListConflictingAliasesCommand.js +18 -41
  188. package/dist-es/commands/ListContinuousDeploymentPoliciesCommand.js +18 -41
  189. package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +18 -41
  190. package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +18 -41
  191. package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +18 -41
  192. package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +18 -41
  193. package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +18 -41
  194. package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +18 -41
  195. package/dist-es/commands/ListDistributionsCommand.js +18 -41
  196. package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +18 -41
  197. package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +18 -41
  198. package/dist-es/commands/ListFunctionsCommand.js +18 -41
  199. package/dist-es/commands/ListInvalidationsCommand.js +18 -41
  200. package/dist-es/commands/ListKeyGroupsCommand.js +18 -41
  201. package/dist-es/commands/ListKeyValueStoresCommand.js +18 -41
  202. package/dist-es/commands/ListOriginAccessControlsCommand.js +18 -41
  203. package/dist-es/commands/ListOriginRequestPoliciesCommand.js +18 -41
  204. package/dist-es/commands/ListPublicKeysCommand.js +18 -41
  205. package/dist-es/commands/ListRealtimeLogConfigsCommand.js +18 -41
  206. package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +18 -41
  207. package/dist-es/commands/ListStreamingDistributionsCommand.js +18 -41
  208. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  209. package/dist-es/commands/PublishFunctionCommand.js +18 -41
  210. package/dist-es/commands/TagResourceCommand.js +18 -41
  211. package/dist-es/commands/TestFunctionCommand.js +18 -41
  212. package/dist-es/commands/UntagResourceCommand.js +18 -41
  213. package/dist-es/commands/UpdateCachePolicyCommand.js +18 -41
  214. package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +18 -41
  215. package/dist-es/commands/UpdateContinuousDeploymentPolicyCommand.js +18 -41
  216. package/dist-es/commands/UpdateDistributionCommand.js +18 -41
  217. package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +18 -41
  218. package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +18 -41
  219. package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +18 -41
  220. package/dist-es/commands/UpdateFunctionCommand.js +18 -41
  221. package/dist-es/commands/UpdateKeyGroupCommand.js +18 -41
  222. package/dist-es/commands/UpdateKeyValueStoreCommand.js +18 -41
  223. package/dist-es/commands/UpdateOriginAccessControlCommand.js +18 -41
  224. package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +18 -41
  225. package/dist-es/commands/UpdatePublicKeyCommand.js +18 -41
  226. package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +18 -41
  227. package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +18 -41
  228. package/dist-es/commands/UpdateStreamingDistributionCommand.js +18 -41
  229. package/dist-es/endpoint/EndpointParameters.js +6 -0
  230. package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +2 -23
  231. package/dist-es/pagination/ListDistributionsPaginator.js +2 -23
  232. package/dist-es/pagination/ListInvalidationsPaginator.js +2 -23
  233. package/dist-es/pagination/ListKeyValueStoresPaginator.js +2 -23
  234. package/dist-es/pagination/ListStreamingDistributionsPaginator.js +2 -23
  235. package/dist-types/commands/AssociateAliasCommand.d.ts +6 -21
  236. package/dist-types/commands/CopyDistributionCommand.d.ts +6 -21
  237. package/dist-types/commands/CreateCachePolicyCommand.d.ts +6 -21
  238. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +6 -21
  239. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +6 -21
  240. package/dist-types/commands/CreateDistributionCommand.d.ts +6 -21
  241. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +6 -21
  242. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +6 -21
  243. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +6 -21
  244. package/dist-types/commands/CreateFunctionCommand.d.ts +6 -21
  245. package/dist-types/commands/CreateInvalidationCommand.d.ts +6 -21
  246. package/dist-types/commands/CreateKeyGroupCommand.d.ts +6 -21
  247. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +6 -21
  248. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +6 -21
  249. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +6 -21
  250. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +6 -21
  251. package/dist-types/commands/CreatePublicKeyCommand.d.ts +6 -21
  252. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +6 -21
  253. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +6 -21
  254. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +6 -21
  255. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +6 -21
  256. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +6 -21
  257. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +6 -21
  258. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +6 -21
  259. package/dist-types/commands/DeleteDistributionCommand.d.ts +6 -21
  260. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +6 -21
  261. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +6 -21
  262. package/dist-types/commands/DeleteFunctionCommand.d.ts +6 -21
  263. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +6 -21
  264. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +6 -21
  265. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +6 -21
  266. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +6 -21
  267. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +6 -21
  268. package/dist-types/commands/DeletePublicKeyCommand.d.ts +6 -21
  269. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +6 -21
  270. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +6 -21
  271. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +6 -21
  272. package/dist-types/commands/DescribeFunctionCommand.d.ts +6 -21
  273. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +6 -21
  274. package/dist-types/commands/GetCachePolicyCommand.d.ts +6 -21
  275. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +6 -21
  276. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +6 -21
  277. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +6 -21
  278. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +6 -21
  279. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +6 -21
  280. package/dist-types/commands/GetDistributionCommand.d.ts +6 -21
  281. package/dist-types/commands/GetDistributionConfigCommand.d.ts +6 -21
  282. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +6 -21
  283. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +6 -21
  284. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +6 -21
  285. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +6 -21
  286. package/dist-types/commands/GetFunctionCommand.d.ts +6 -21
  287. package/dist-types/commands/GetInvalidationCommand.d.ts +6 -21
  288. package/dist-types/commands/GetKeyGroupCommand.d.ts +6 -21
  289. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +6 -21
  290. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +6 -21
  291. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +6 -21
  292. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +6 -21
  293. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +6 -21
  294. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +6 -21
  295. package/dist-types/commands/GetPublicKeyCommand.d.ts +6 -21
  296. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +6 -21
  297. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +6 -21
  298. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +6 -21
  299. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +6 -21
  300. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +6 -21
  301. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +6 -21
  302. package/dist-types/commands/ListCachePoliciesCommand.d.ts +6 -21
  303. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +6 -21
  304. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +6 -21
  305. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +6 -21
  306. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +6 -21
  307. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +6 -21
  308. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +6 -21
  309. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +6 -21
  310. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +6 -21
  311. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +6 -21
  312. package/dist-types/commands/ListDistributionsCommand.d.ts +6 -21
  313. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +6 -21
  314. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +6 -21
  315. package/dist-types/commands/ListFunctionsCommand.d.ts +6 -21
  316. package/dist-types/commands/ListInvalidationsCommand.d.ts +6 -21
  317. package/dist-types/commands/ListKeyGroupsCommand.d.ts +6 -21
  318. package/dist-types/commands/ListKeyValueStoresCommand.d.ts +6 -21
  319. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +6 -21
  320. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +6 -21
  321. package/dist-types/commands/ListPublicKeysCommand.d.ts +6 -21
  322. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +6 -21
  323. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +6 -21
  324. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +6 -21
  325. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  326. package/dist-types/commands/PublishFunctionCommand.d.ts +6 -21
  327. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  328. package/dist-types/commands/TestFunctionCommand.d.ts +6 -21
  329. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  330. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +6 -21
  331. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +6 -21
  332. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +6 -21
  333. package/dist-types/commands/UpdateDistributionCommand.d.ts +6 -21
  334. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +6 -21
  335. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +6 -21
  336. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +6 -21
  337. package/dist-types/commands/UpdateFunctionCommand.d.ts +6 -21
  338. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +6 -21
  339. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +6 -21
  340. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +6 -21
  341. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +6 -21
  342. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +6 -21
  343. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +6 -21
  344. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +6 -21
  345. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +6 -21
  346. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  347. package/dist-types/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +1 -1
  348. package/dist-types/pagination/ListDistributionsPaginator.d.ts +1 -1
  349. package/dist-types/pagination/ListInvalidationsPaginator.d.ts +1 -1
  350. package/dist-types/pagination/ListKeyValueStoresPaginator.d.ts +1 -1
  351. package/dist-types/pagination/ListStreamingDistributionsPaginator.d.ts +1 -1
  352. package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/CopyDistributionCommand.d.ts +14 -23
  354. package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +14 -23
  355. package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +12 -24
  356. package/dist-types/ts3.4/commands/CreateContinuousDeploymentPolicyCommand.d.ts +12 -24
  357. package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +14 -23
  358. package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +12 -24
  359. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +12 -24
  360. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +12 -24
  361. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +14 -23
  362. package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +14 -23
  363. package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +14 -23
  364. package/dist-types/ts3.4/commands/CreateKeyValueStoreCommand.d.ts +14 -23
  365. package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +12 -24
  366. package/dist-types/ts3.4/commands/CreateOriginAccessControlCommand.d.ts +12 -24
  367. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +12 -24
  368. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +14 -23
  369. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +12 -24
  370. package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +12 -24
  371. package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +12 -24
  372. package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +12 -24
  373. package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +14 -23
  374. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +12 -24
  375. package/dist-types/ts3.4/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +12 -24
  376. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +14 -23
  377. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +12 -24
  378. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +12 -24
  379. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +14 -23
  380. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +14 -23
  381. package/dist-types/ts3.4/commands/DeleteKeyValueStoreCommand.d.ts +14 -23
  382. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +12 -24
  383. package/dist-types/ts3.4/commands/DeleteOriginAccessControlCommand.d.ts +12 -24
  384. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +12 -24
  385. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +14 -23
  386. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +12 -24
  387. package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +12 -24
  388. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +12 -24
  389. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +14 -23
  390. package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +12 -24
  391. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +14 -23
  392. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +12 -24
  393. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +12 -24
  394. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +12 -24
  395. package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyCommand.d.ts +12 -24
  396. package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +12 -24
  397. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +14 -23
  398. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +12 -24
  399. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +12 -24
  400. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +12 -24
  401. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +12 -24
  402. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +12 -24
  403. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +14 -23
  404. package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +14 -23
  405. package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +14 -23
  406. package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +14 -23
  407. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +12 -24
  408. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +12 -24
  409. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +12 -24
  410. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +12 -24
  411. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +12 -24
  412. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +14 -23
  413. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +14 -23
  414. package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +12 -24
  415. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +12 -24
  416. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +12 -24
  417. package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +12 -24
  418. package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +12 -24
  419. package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +14 -23
  420. package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +12 -24
  421. package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +12 -24
  422. package/dist-types/ts3.4/commands/ListContinuousDeploymentPoliciesCommand.d.ts +12 -24
  423. package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +12 -24
  424. package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +12 -24
  425. package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +12 -24
  426. package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +12 -24
  427. package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +12 -24
  428. package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +12 -24
  429. package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +14 -23
  430. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +12 -24
  431. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +12 -24
  432. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +14 -23
  433. package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +14 -23
  434. package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +14 -23
  435. package/dist-types/ts3.4/commands/ListKeyValueStoresCommand.d.ts +14 -23
  436. package/dist-types/ts3.4/commands/ListOriginAccessControlsCommand.d.ts +12 -24
  437. package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +12 -24
  438. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +14 -23
  439. package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +12 -24
  440. package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +12 -24
  441. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +12 -24
  442. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  443. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +14 -23
  444. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  445. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +14 -23
  446. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  447. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +14 -23
  448. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +12 -24
  449. package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +12 -24
  450. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +14 -23
  451. package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +12 -24
  452. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +12 -24
  453. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +12 -24
  454. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +14 -23
  455. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +14 -23
  456. package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +14 -23
  457. package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +12 -24
  458. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +12 -24
  459. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +14 -23
  460. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +12 -24
  461. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +12 -24
  462. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +12 -24
  463. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  464. package/dist-types/ts3.4/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +3 -3
  465. package/dist-types/ts3.4/pagination/ListDistributionsPaginator.d.ts +3 -3
  466. package/dist-types/ts3.4/pagination/ListInvalidationsPaginator.d.ts +3 -3
  467. package/dist-types/ts3.4/pagination/ListKeyValueStoresPaginator.d.ts +3 -3
  468. package/dist-types/ts3.4/pagination/ListStreamingDistributionsPaginator.d.ts +3 -3
  469. package/package.json +11 -11
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFrontClient } from "../CloudFrontClient";
2
3
  import { ListDistributionsCommand, } from "../commands/ListDistributionsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListDistributionsCommand(input), ...args);
5
- };
6
- export async function* paginateListDistributions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof CloudFrontClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudFront | CloudFrontClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.DistributionList.NextMarker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListDistributions = createPaginator(CloudFrontClient, ListDistributionsCommand, "Marker", "DistributionList.NextMarker", "MaxItems");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFrontClient } from "../CloudFrontClient";
2
3
  import { ListInvalidationsCommand, } from "../commands/ListInvalidationsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListInvalidationsCommand(input), ...args);
5
- };
6
- export async function* paginateListInvalidations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof CloudFrontClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudFront | CloudFrontClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.InvalidationList.NextMarker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListInvalidations = createPaginator(CloudFrontClient, ListInvalidationsCommand, "Marker", "InvalidationList.NextMarker", "MaxItems");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFrontClient } from "../CloudFrontClient";
2
3
  import { ListKeyValueStoresCommand, } from "../commands/ListKeyValueStoresCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListKeyValueStoresCommand(input), ...args);
5
- };
6
- export async function* paginateListKeyValueStores(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof CloudFrontClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudFront | CloudFrontClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.KeyValueStoreList.NextMarker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListKeyValueStores = createPaginator(CloudFrontClient, ListKeyValueStoresCommand, "Marker", "KeyValueStoreList.NextMarker", "MaxItems");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { CloudFrontClient } from "../CloudFrontClient";
2
3
  import { ListStreamingDistributionsCommand, } from "../commands/ListStreamingDistributionsCommand";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListStreamingDistributionsCommand(input), ...args);
5
- };
6
- export async function* paginateListStreamingDistributions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxItems"] = config.pageSize;
13
- if (config.client instanceof CloudFrontClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected CloudFront | CloudFrontClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.StreamingDistributionList.NextMarker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListStreamingDistributions = createPaginator(CloudFrontClient, ListStreamingDistributionsCommand, "Marker", "StreamingDistributionList.NextMarker", "MaxItems");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { AssociateAliasRequest } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AssociateAliasCommandInput extends AssociateAliasRequest {
21
20
  */
22
21
  export interface AssociateAliasCommandOutput extends __MetadataBearer {
23
22
  }
23
+ declare const AssociateAliasCommand_base: {
24
+ new (input: AssociateAliasCommandInput): import("@smithy/smithy-client").CommandImpl<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront
@@ -75,23 +78,5 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
75
78
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
76
79
  *
77
80
  */
78
- export declare class AssociateAliasCommand extends $Command<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig> {
79
- readonly input: AssociateAliasCommandInput;
80
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
- /**
82
- * @public
83
- */
84
- constructor(input: AssociateAliasCommandInput);
85
- /**
86
- * @internal
87
- */
88
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateAliasCommandInput, AssociateAliasCommandOutput>;
89
- /**
90
- * @internal
91
- */
92
- private serialize;
93
- /**
94
- * @internal
95
- */
96
- private deserialize;
81
+ export declare class AssociateAliasCommand extends AssociateAliasCommand_base {
97
82
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CopyDistributionRequest, CopyDistributionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CopyDistributionCommandInput extends CopyDistributionRequest {
21
20
  */
22
21
  export interface CopyDistributionCommandOutput extends CopyDistributionResult, __MetadataBearer {
23
22
  }
23
+ declare const CopyDistributionCommand_base: {
24
+ new (input: CopyDistributionCommandInput): import("@smithy/smithy-client").CommandImpl<CopyDistributionCommandInput, CopyDistributionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a staging distribution using the configuration of the provided primary
@@ -643,23 +646,5 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
643
646
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
644
647
  *
645
648
  */
646
- export declare class CopyDistributionCommand extends $Command<CopyDistributionCommandInput, CopyDistributionCommandOutput, CloudFrontClientResolvedConfig> {
647
- readonly input: CopyDistributionCommandInput;
648
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
649
- /**
650
- * @public
651
- */
652
- constructor(input: CopyDistributionCommandInput);
653
- /**
654
- * @internal
655
- */
656
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyDistributionCommandInput, CopyDistributionCommandOutput>;
657
- /**
658
- * @internal
659
- */
660
- private serialize;
661
- /**
662
- * @internal
663
- */
664
- private deserialize;
649
+ export declare class CopyDistributionCommand extends CopyDistributionCommand_base {
665
650
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateCachePolicyRequest, CreateCachePolicyResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCachePolicyCommandInput extends CreateCachePolicyRequest
21
20
  */
22
21
  export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateCachePolicyCommand_base: {
24
+ new (input: CreateCachePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a cache policy.</p>
@@ -187,23 +190,5 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
187
190
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
188
191
  *
189
192
  */
190
- export declare class CreateCachePolicyCommand extends $Command<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
191
- readonly input: CreateCachePolicyCommandInput;
192
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
193
- /**
194
- * @public
195
- */
196
- constructor(input: CreateCachePolicyCommandInput);
197
- /**
198
- * @internal
199
- */
200
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput>;
201
- /**
202
- * @internal
203
- */
204
- private serialize;
205
- /**
206
- * @internal
207
- */
208
- private deserialize;
193
+ export declare class CreateCachePolicyCommand extends CreateCachePolicyCommand_base {
209
194
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateCloudFrontOriginAccessIdentityRequest, CreateCloudFrontOriginAccessIdentityResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateCloudFrontOriginAccessIdentityCommandInput extends Create
21
20
  */
22
21
  export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends CreateCloudFrontOriginAccessIdentityResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateCloudFrontOriginAccessIdentityCommand_base: {
24
+ new (input: CreateCloudFrontOriginAccessIdentityCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can
@@ -89,23 +92,5 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
89
92
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
90
93
  *
91
94
  */
92
- export declare class CreateCloudFrontOriginAccessIdentityCommand extends $Command<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
93
- readonly input: CreateCloudFrontOriginAccessIdentityCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: CreateCloudFrontOriginAccessIdentityCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class CreateCloudFrontOriginAccessIdentityCommand extends CreateCloudFrontOriginAccessIdentityCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateContinuousDeploymentPolicyRequest, CreateContinuousDeploymentPolicyResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateContinuousDeploymentPolicyCommandInput extends CreateCont
21
20
  */
22
21
  export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateContinuousDeploymentPolicyResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateContinuousDeploymentPolicyCommand_base: {
24
+ new (input: CreateContinuousDeploymentPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a continuous deployment policy that distributes traffic for a custom domain
@@ -129,23 +132,5 @@ export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateCon
129
132
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
130
133
  *
131
134
  */
132
- export declare class CreateContinuousDeploymentPolicyCommand extends $Command<CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
133
- readonly input: CreateContinuousDeploymentPolicyCommandInput;
134
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
135
- /**
136
- * @public
137
- */
138
- constructor(input: CreateContinuousDeploymentPolicyCommandInput);
139
- /**
140
- * @internal
141
- */
142
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput>;
143
- /**
144
- * @internal
145
- */
146
- private serialize;
147
- /**
148
- * @internal
149
- */
150
- private deserialize;
135
+ export declare class CreateContinuousDeploymentPolicyCommand extends CreateContinuousDeploymentPolicyCommand_base {
151
136
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateDistributionRequest, CreateDistributionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDistributionCommandInput extends CreateDistributionReques
21
20
  */
22
21
  export interface CreateDistributionCommandOutput extends CreateDistributionResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateDistributionCommand_base: {
24
+ new (input: CreateDistributionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDistributionCommandInput, CreateDistributionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a CloudFront distribution.</p>
@@ -906,23 +909,5 @@ export interface CreateDistributionCommandOutput extends CreateDistributionResul
906
909
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
907
910
  *
908
911
  */
909
- export declare class CreateDistributionCommand extends $Command<CreateDistributionCommandInput, CreateDistributionCommandOutput, CloudFrontClientResolvedConfig> {
910
- readonly input: CreateDistributionCommandInput;
911
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
912
- /**
913
- * @public
914
- */
915
- constructor(input: CreateDistributionCommandInput);
916
- /**
917
- * @internal
918
- */
919
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDistributionCommandInput, CreateDistributionCommandOutput>;
920
- /**
921
- * @internal
922
- */
923
- private serialize;
924
- /**
925
- * @internal
926
- */
927
- private deserialize;
912
+ export declare class CreateDistributionCommand extends CreateDistributionCommand_base {
928
913
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateDistributionWithTagsRequest, CreateDistributionWithTagsResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDistributionWithTagsCommandInput extends CreateDistributi
21
20
  */
22
21
  export interface CreateDistributionWithTagsCommandOutput extends CreateDistributionWithTagsResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateDistributionWithTagsCommand_base: {
24
+ new (input: CreateDistributionWithTagsCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Create a new distribution with tags. This API operation requires the following IAM
@@ -932,23 +935,5 @@ export interface CreateDistributionWithTagsCommandOutput extends CreateDistribut
932
935
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
933
936
  *
934
937
  */
935
- export declare class CreateDistributionWithTagsCommand extends $Command<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput, CloudFrontClientResolvedConfig> {
936
- readonly input: CreateDistributionWithTagsCommandInput;
937
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
938
- /**
939
- * @public
940
- */
941
- constructor(input: CreateDistributionWithTagsCommandInput);
942
- /**
943
- * @internal
944
- */
945
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDistributionWithTagsCommandInput, CreateDistributionWithTagsCommandOutput>;
946
- /**
947
- * @internal
948
- */
949
- private serialize;
950
- /**
951
- * @internal
952
- */
953
- private deserialize;
938
+ export declare class CreateDistributionWithTagsCommand extends CreateDistributionWithTagsCommand_base {
954
939
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateFieldLevelEncryptionConfigRequest, CreateFieldLevelEncryptionConfigResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateFieldLevelEncryptionConfigCommandInput extends CreateFiel
21
20
  */
22
21
  export interface CreateFieldLevelEncryptionConfigCommandOutput extends CreateFieldLevelEncryptionConfigResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateFieldLevelEncryptionConfigCommand_base: {
24
+ new (input: CreateFieldLevelEncryptionConfigCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Create a new field-level encryption configuration.</p>
@@ -141,23 +144,5 @@ export interface CreateFieldLevelEncryptionConfigCommandOutput extends CreateFie
141
144
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
142
145
  *
143
146
  */
144
- export declare class CreateFieldLevelEncryptionConfigCommand extends $Command<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
145
- readonly input: CreateFieldLevelEncryptionConfigCommandInput;
146
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
147
- /**
148
- * @public
149
- */
150
- constructor(input: CreateFieldLevelEncryptionConfigCommandInput);
151
- /**
152
- * @internal
153
- */
154
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFieldLevelEncryptionConfigCommandInput, CreateFieldLevelEncryptionConfigCommandOutput>;
155
- /**
156
- * @internal
157
- */
158
- private serialize;
159
- /**
160
- * @internal
161
- */
162
- private deserialize;
147
+ export declare class CreateFieldLevelEncryptionConfigCommand extends CreateFieldLevelEncryptionConfigCommand_base {
163
148
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateFieldLevelEncryptionProfileRequest, CreateFieldLevelEncryptionProfileResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateFieldLevelEncryptionProfileCommandInput extends CreateFie
21
20
  */
22
21
  export interface CreateFieldLevelEncryptionProfileCommandOutput extends CreateFieldLevelEncryptionProfileResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateFieldLevelEncryptionProfileCommand_base: {
24
+ new (input: CreateFieldLevelEncryptionProfileCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Create a field-level encryption profile.</p>
@@ -122,23 +125,5 @@ export interface CreateFieldLevelEncryptionProfileCommandOutput extends CreateFi
122
125
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
123
126
  *
124
127
  */
125
- export declare class CreateFieldLevelEncryptionProfileCommand extends $Command<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
126
- readonly input: CreateFieldLevelEncryptionProfileCommandInput;
127
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
128
- /**
129
- * @public
130
- */
131
- constructor(input: CreateFieldLevelEncryptionProfileCommandInput);
132
- /**
133
- * @internal
134
- */
135
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFieldLevelEncryptionProfileCommandInput, CreateFieldLevelEncryptionProfileCommandOutput>;
136
- /**
137
- * @internal
138
- */
139
- private serialize;
140
- /**
141
- * @internal
142
- */
143
- private deserialize;
128
+ export declare class CreateFieldLevelEncryptionProfileCommand extends CreateFieldLevelEncryptionProfileCommand_base {
144
129
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateFunctionRequest, CreateFunctionResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateFunctionCommandInput extends CreateFunctionRequest {
21
20
  */
22
21
  export interface CreateFunctionCommandOutput extends CreateFunctionResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateFunctionCommand_base: {
24
+ new (input: CreateFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFunctionCommandInput, CreateFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a CloudFront function.</p>
@@ -169,23 +172,5 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResult, __Met
169
172
  * ```
170
173
  *
171
174
  */
172
- export declare class CreateFunctionCommand extends $Command<CreateFunctionCommandInput, CreateFunctionCommandOutput, CloudFrontClientResolvedConfig> {
173
- readonly input: CreateFunctionCommandInput;
174
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
175
- /**
176
- * @public
177
- */
178
- constructor(input: CreateFunctionCommandInput);
179
- /**
180
- * @internal
181
- */
182
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFunctionCommandInput, CreateFunctionCommandOutput>;
183
- /**
184
- * @internal
185
- */
186
- private serialize;
187
- /**
188
- * @internal
189
- */
190
- private deserialize;
175
+ export declare class CreateFunctionCommand extends CreateFunctionCommand_base {
191
176
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateInvalidationRequest, CreateInvalidationResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateInvalidationCommandInput extends CreateInvalidationReques
21
20
  */
22
21
  export interface CreateInvalidationCommandOutput extends CreateInvalidationResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateInvalidationCommand_base: {
24
+ new (input: CreateInvalidationCommandInput): import("@smithy/smithy-client").CommandImpl<CreateInvalidationCommandInput, CreateInvalidationCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Create a new invalidation.</p>
@@ -98,23 +101,5 @@ export interface CreateInvalidationCommandOutput extends CreateInvalidationResul
98
101
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
99
102
  *
100
103
  */
101
- export declare class CreateInvalidationCommand extends $Command<CreateInvalidationCommandInput, CreateInvalidationCommandOutput, CloudFrontClientResolvedConfig> {
102
- readonly input: CreateInvalidationCommandInput;
103
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
104
- /**
105
- * @public
106
- */
107
- constructor(input: CreateInvalidationCommandInput);
108
- /**
109
- * @internal
110
- */
111
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateInvalidationCommandInput, CreateInvalidationCommandOutput>;
112
- /**
113
- * @internal
114
- */
115
- private serialize;
116
- /**
117
- * @internal
118
- */
119
- private deserialize;
104
+ export declare class CreateInvalidationCommand extends CreateInvalidationCommand_base {
120
105
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
5
4
  import { CreateKeyGroupRequest, CreateKeyGroupResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateKeyGroupCommandInput extends CreateKeyGroupRequest {
21
20
  */
22
21
  export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __MetadataBearer {
23
22
  }
23
+ declare const CreateKeyGroupCommand_base: {
24
+ new (input: CreateKeyGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a key group that you can use with <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">CloudFront signed URLs and signed cookies</a>.</p>
@@ -94,23 +97,5 @@ export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __Met
94
97
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
95
98
  *
96
99
  */
97
- export declare class CreateKeyGroupCommand extends $Command<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
98
- readonly input: CreateKeyGroupCommandInput;
99
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
- /**
101
- * @public
102
- */
103
- constructor(input: CreateKeyGroupCommandInput);
104
- /**
105
- * @internal
106
- */
107
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKeyGroupCommandInput, CreateKeyGroupCommandOutput>;
108
- /**
109
- * @internal
110
- */
111
- private serialize;
112
- /**
113
- * @internal
114
- */
115
- private deserialize;
100
+ export declare class CreateKeyGroupCommand extends CreateKeyGroupCommand_base {
116
101
  }