@aws-sdk/client-cloudfront 3.35.0 → 3.36.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 (531) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/CloudFront.js +0 -1
  3. package/dist-cjs/CloudFrontClient.js +0 -1
  4. package/dist-cjs/commands/AssociateAliasCommand.js +0 -1
  5. package/dist-cjs/commands/CreateCachePolicyCommand.js +0 -1
  6. package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -1
  7. package/dist-cjs/commands/CreateDistributionCommand.js +0 -1
  8. package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +0 -1
  9. package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -1
  10. package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -1
  11. package/dist-cjs/commands/CreateFunctionCommand.js +0 -1
  12. package/dist-cjs/commands/CreateInvalidationCommand.js +0 -1
  13. package/dist-cjs/commands/CreateKeyGroupCommand.js +0 -1
  14. package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +0 -1
  15. package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +0 -1
  16. package/dist-cjs/commands/CreatePublicKeyCommand.js +0 -1
  17. package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +0 -1
  18. package/dist-cjs/commands/CreateStreamingDistributionCommand.js +0 -1
  19. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +0 -1
  20. package/dist-cjs/commands/DeleteCachePolicyCommand.js +0 -1
  21. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -1
  22. package/dist-cjs/commands/DeleteDistributionCommand.js +0 -1
  23. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -1
  24. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -1
  25. package/dist-cjs/commands/DeleteFunctionCommand.js +0 -1
  26. package/dist-cjs/commands/DeleteKeyGroupCommand.js +0 -1
  27. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +0 -1
  28. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +0 -1
  29. package/dist-cjs/commands/DeletePublicKeyCommand.js +0 -1
  30. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +0 -1
  31. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +0 -1
  32. package/dist-cjs/commands/DescribeFunctionCommand.js +0 -1
  33. package/dist-cjs/commands/GetCachePolicyCommand.js +0 -1
  34. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +0 -1
  35. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -1
  36. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -1
  37. package/dist-cjs/commands/GetDistributionCommand.js +0 -1
  38. package/dist-cjs/commands/GetDistributionConfigCommand.js +0 -1
  39. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +0 -1
  40. package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +0 -1
  41. package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +0 -1
  42. package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -1
  43. package/dist-cjs/commands/GetFunctionCommand.js +0 -1
  44. package/dist-cjs/commands/GetInvalidationCommand.js +0 -1
  45. package/dist-cjs/commands/GetKeyGroupCommand.js +0 -1
  46. package/dist-cjs/commands/GetKeyGroupConfigCommand.js +0 -1
  47. package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +0 -1
  48. package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +0 -1
  49. package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +0 -1
  50. package/dist-cjs/commands/GetPublicKeyCommand.js +0 -1
  51. package/dist-cjs/commands/GetPublicKeyConfigCommand.js +0 -1
  52. package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +0 -1
  53. package/dist-cjs/commands/GetStreamingDistributionCommand.js +0 -1
  54. package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +0 -1
  55. package/dist-cjs/commands/ListCachePoliciesCommand.js +0 -1
  56. package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -1
  57. package/dist-cjs/commands/ListConflictingAliasesCommand.js +0 -1
  58. package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +0 -1
  59. package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +0 -1
  60. package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -1
  61. package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -1
  62. package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +0 -1
  63. package/dist-cjs/commands/ListDistributionsCommand.js +0 -1
  64. package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -1
  65. package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -1
  66. package/dist-cjs/commands/ListFunctionsCommand.js +0 -1
  67. package/dist-cjs/commands/ListInvalidationsCommand.js +0 -1
  68. package/dist-cjs/commands/ListKeyGroupsCommand.js +0 -1
  69. package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +0 -1
  70. package/dist-cjs/commands/ListPublicKeysCommand.js +0 -1
  71. package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +0 -1
  72. package/dist-cjs/commands/ListStreamingDistributionsCommand.js +0 -1
  73. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  74. package/dist-cjs/commands/PublishFunctionCommand.js +0 -1
  75. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  76. package/dist-cjs/commands/TestFunctionCommand.js +0 -1
  77. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  78. package/dist-cjs/commands/UpdateCachePolicyCommand.js +0 -1
  79. package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -1
  80. package/dist-cjs/commands/UpdateDistributionCommand.js +0 -1
  81. package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -1
  82. package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -1
  83. package/dist-cjs/commands/UpdateFunctionCommand.js +0 -1
  84. package/dist-cjs/commands/UpdateKeyGroupCommand.js +0 -1
  85. package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +0 -1
  86. package/dist-cjs/commands/UpdatePublicKeyCommand.js +0 -1
  87. package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +0 -1
  88. package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +0 -1
  89. package/dist-cjs/endpoints.js +0 -1
  90. package/dist-cjs/index.js +0 -1
  91. package/dist-cjs/models/index.js +0 -1
  92. package/dist-cjs/models/models_0.js +0 -1
  93. package/dist-cjs/models/models_1.js +0 -1
  94. package/dist-cjs/pagination/Interfaces.js +0 -1
  95. package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -1
  96. package/dist-cjs/pagination/ListDistributionsPaginator.js +0 -1
  97. package/dist-cjs/pagination/ListInvalidationsPaginator.js +0 -1
  98. package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +0 -1
  99. package/dist-cjs/protocols/Aws_restXml.js +0 -1
  100. package/dist-cjs/runtimeConfig.browser.js +2 -3
  101. package/dist-cjs/runtimeConfig.js +3 -4
  102. package/dist-cjs/runtimeConfig.native.js +0 -1
  103. package/dist-cjs/runtimeConfig.shared.js +0 -1
  104. package/dist-cjs/waiters/waitForDistributionDeployed.js +0 -1
  105. package/dist-cjs/waiters/waitForInvalidationCompleted.js +0 -1
  106. package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +0 -1
  107. package/dist-es/CloudFront.js +0 -1
  108. package/dist-es/CloudFrontClient.js +0 -1
  109. package/dist-es/commands/AssociateAliasCommand.js +0 -1
  110. package/dist-es/commands/CreateCachePolicyCommand.js +0 -1
  111. package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -1
  112. package/dist-es/commands/CreateDistributionCommand.js +0 -1
  113. package/dist-es/commands/CreateDistributionWithTagsCommand.js +0 -1
  114. package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -1
  115. package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -1
  116. package/dist-es/commands/CreateFunctionCommand.js +0 -1
  117. package/dist-es/commands/CreateInvalidationCommand.js +0 -1
  118. package/dist-es/commands/CreateKeyGroupCommand.js +0 -1
  119. package/dist-es/commands/CreateMonitoringSubscriptionCommand.js +0 -1
  120. package/dist-es/commands/CreateOriginRequestPolicyCommand.js +0 -1
  121. package/dist-es/commands/CreatePublicKeyCommand.js +0 -1
  122. package/dist-es/commands/CreateRealtimeLogConfigCommand.js +0 -1
  123. package/dist-es/commands/CreateStreamingDistributionCommand.js +0 -1
  124. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +0 -1
  125. package/dist-es/commands/DeleteCachePolicyCommand.js +0 -1
  126. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -1
  127. package/dist-es/commands/DeleteDistributionCommand.js +0 -1
  128. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -1
  129. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -1
  130. package/dist-es/commands/DeleteFunctionCommand.js +0 -1
  131. package/dist-es/commands/DeleteKeyGroupCommand.js +0 -1
  132. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +0 -1
  133. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +0 -1
  134. package/dist-es/commands/DeletePublicKeyCommand.js +0 -1
  135. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +0 -1
  136. package/dist-es/commands/DeleteStreamingDistributionCommand.js +0 -1
  137. package/dist-es/commands/DescribeFunctionCommand.js +0 -1
  138. package/dist-es/commands/GetCachePolicyCommand.js +0 -1
  139. package/dist-es/commands/GetCachePolicyConfigCommand.js +0 -1
  140. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -1
  141. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -1
  142. package/dist-es/commands/GetDistributionCommand.js +0 -1
  143. package/dist-es/commands/GetDistributionConfigCommand.js +0 -1
  144. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +0 -1
  145. package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js +0 -1
  146. package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js +0 -1
  147. package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -1
  148. package/dist-es/commands/GetFunctionCommand.js +0 -1
  149. package/dist-es/commands/GetInvalidationCommand.js +0 -1
  150. package/dist-es/commands/GetKeyGroupCommand.js +0 -1
  151. package/dist-es/commands/GetKeyGroupConfigCommand.js +0 -1
  152. package/dist-es/commands/GetMonitoringSubscriptionCommand.js +0 -1
  153. package/dist-es/commands/GetOriginRequestPolicyCommand.js +0 -1
  154. package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js +0 -1
  155. package/dist-es/commands/GetPublicKeyCommand.js +0 -1
  156. package/dist-es/commands/GetPublicKeyConfigCommand.js +0 -1
  157. package/dist-es/commands/GetRealtimeLogConfigCommand.js +0 -1
  158. package/dist-es/commands/GetStreamingDistributionCommand.js +0 -1
  159. package/dist-es/commands/GetStreamingDistributionConfigCommand.js +0 -1
  160. package/dist-es/commands/ListCachePoliciesCommand.js +0 -1
  161. package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -1
  162. package/dist-es/commands/ListConflictingAliasesCommand.js +0 -1
  163. package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js +0 -1
  164. package/dist-es/commands/ListDistributionsByKeyGroupCommand.js +0 -1
  165. package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -1
  166. package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -1
  167. package/dist-es/commands/ListDistributionsByWebACLIdCommand.js +0 -1
  168. package/dist-es/commands/ListDistributionsCommand.js +0 -1
  169. package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -1
  170. package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -1
  171. package/dist-es/commands/ListFunctionsCommand.js +0 -1
  172. package/dist-es/commands/ListInvalidationsCommand.js +0 -1
  173. package/dist-es/commands/ListKeyGroupsCommand.js +0 -1
  174. package/dist-es/commands/ListOriginRequestPoliciesCommand.js +0 -1
  175. package/dist-es/commands/ListPublicKeysCommand.js +0 -1
  176. package/dist-es/commands/ListRealtimeLogConfigsCommand.js +0 -1
  177. package/dist-es/commands/ListStreamingDistributionsCommand.js +0 -1
  178. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  179. package/dist-es/commands/PublishFunctionCommand.js +0 -1
  180. package/dist-es/commands/TagResourceCommand.js +0 -1
  181. package/dist-es/commands/TestFunctionCommand.js +0 -1
  182. package/dist-es/commands/UntagResourceCommand.js +0 -1
  183. package/dist-es/commands/UpdateCachePolicyCommand.js +0 -1
  184. package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -1
  185. package/dist-es/commands/UpdateDistributionCommand.js +0 -1
  186. package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -1
  187. package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -1
  188. package/dist-es/commands/UpdateFunctionCommand.js +0 -1
  189. package/dist-es/commands/UpdateKeyGroupCommand.js +0 -1
  190. package/dist-es/commands/UpdateOriginRequestPolicyCommand.js +0 -1
  191. package/dist-es/commands/UpdatePublicKeyCommand.js +0 -1
  192. package/dist-es/commands/UpdateRealtimeLogConfigCommand.js +0 -1
  193. package/dist-es/commands/UpdateStreamingDistributionCommand.js +0 -1
  194. package/dist-es/endpoints.js +0 -1
  195. package/dist-es/index.js +0 -1
  196. package/dist-es/models/index.js +0 -1
  197. package/dist-es/models/models_0.js +0 -1
  198. package/dist-es/models/models_1.js +0 -1
  199. package/dist-es/pagination/Interfaces.js +0 -1
  200. package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -1
  201. package/dist-es/pagination/ListDistributionsPaginator.js +0 -1
  202. package/dist-es/pagination/ListInvalidationsPaginator.js +0 -1
  203. package/dist-es/pagination/ListStreamingDistributionsPaginator.js +0 -1
  204. package/dist-es/protocols/Aws_restXml.js +0 -1
  205. package/dist-es/runtimeConfig.browser.js +1 -2
  206. package/dist-es/runtimeConfig.js +2 -3
  207. package/dist-es/runtimeConfig.native.js +0 -1
  208. package/dist-es/runtimeConfig.shared.js +0 -1
  209. package/dist-es/waiters/waitForDistributionDeployed.js +0 -1
  210. package/dist-es/waiters/waitForInvalidationCompleted.js +0 -1
  211. package/dist-es/waiters/waitForStreamingDistributionDeployed.js +0 -1
  212. package/package.json +35 -32
  213. package/dist-cjs/CloudFront.js.map +0 -1
  214. package/dist-cjs/CloudFrontClient.js.map +0 -1
  215. package/dist-cjs/commands/AssociateAliasCommand.js.map +0 -1
  216. package/dist-cjs/commands/CreateCachePolicyCommand.js.map +0 -1
  217. package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  218. package/dist-cjs/commands/CreateDistributionCommand.js.map +0 -1
  219. package/dist-cjs/commands/CreateDistributionWithTagsCommand.js.map +0 -1
  220. package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js.map +0 -1
  221. package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js.map +0 -1
  222. package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
  223. package/dist-cjs/commands/CreateInvalidationCommand.js.map +0 -1
  224. package/dist-cjs/commands/CreateKeyGroupCommand.js.map +0 -1
  225. package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js.map +0 -1
  226. package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js.map +0 -1
  227. package/dist-cjs/commands/CreatePublicKeyCommand.js.map +0 -1
  228. package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js.map +0 -1
  229. package/dist-cjs/commands/CreateStreamingDistributionCommand.js.map +0 -1
  230. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js.map +0 -1
  231. package/dist-cjs/commands/DeleteCachePolicyCommand.js.map +0 -1
  232. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  233. package/dist-cjs/commands/DeleteDistributionCommand.js.map +0 -1
  234. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +0 -1
  235. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +0 -1
  236. package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
  237. package/dist-cjs/commands/DeleteKeyGroupCommand.js.map +0 -1
  238. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js.map +0 -1
  239. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js.map +0 -1
  240. package/dist-cjs/commands/DeletePublicKeyCommand.js.map +0 -1
  241. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js.map +0 -1
  242. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js.map +0 -1
  243. package/dist-cjs/commands/DescribeFunctionCommand.js.map +0 -1
  244. package/dist-cjs/commands/GetCachePolicyCommand.js.map +0 -1
  245. package/dist-cjs/commands/GetCachePolicyConfigCommand.js.map +0 -1
  246. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  247. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +0 -1
  248. package/dist-cjs/commands/GetDistributionCommand.js.map +0 -1
  249. package/dist-cjs/commands/GetDistributionConfigCommand.js.map +0 -1
  250. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js.map +0 -1
  251. package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js.map +0 -1
  252. package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js.map +0 -1
  253. package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +0 -1
  254. package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
  255. package/dist-cjs/commands/GetInvalidationCommand.js.map +0 -1
  256. package/dist-cjs/commands/GetKeyGroupCommand.js.map +0 -1
  257. package/dist-cjs/commands/GetKeyGroupConfigCommand.js.map +0 -1
  258. package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js.map +0 -1
  259. package/dist-cjs/commands/GetOriginRequestPolicyCommand.js.map +0 -1
  260. package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js.map +0 -1
  261. package/dist-cjs/commands/GetPublicKeyCommand.js.map +0 -1
  262. package/dist-cjs/commands/GetPublicKeyConfigCommand.js.map +0 -1
  263. package/dist-cjs/commands/GetRealtimeLogConfigCommand.js.map +0 -1
  264. package/dist-cjs/commands/GetStreamingDistributionCommand.js.map +0 -1
  265. package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js.map +0 -1
  266. package/dist-cjs/commands/ListCachePoliciesCommand.js.map +0 -1
  267. package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +0 -1
  268. package/dist-cjs/commands/ListConflictingAliasesCommand.js.map +0 -1
  269. package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js.map +0 -1
  270. package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js.map +0 -1
  271. package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +0 -1
  272. package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +0 -1
  273. package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js.map +0 -1
  274. package/dist-cjs/commands/ListDistributionsCommand.js.map +0 -1
  275. package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js.map +0 -1
  276. package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js.map +0 -1
  277. package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
  278. package/dist-cjs/commands/ListInvalidationsCommand.js.map +0 -1
  279. package/dist-cjs/commands/ListKeyGroupsCommand.js.map +0 -1
  280. package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js.map +0 -1
  281. package/dist-cjs/commands/ListPublicKeysCommand.js.map +0 -1
  282. package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js.map +0 -1
  283. package/dist-cjs/commands/ListStreamingDistributionsCommand.js.map +0 -1
  284. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  285. package/dist-cjs/commands/PublishFunctionCommand.js.map +0 -1
  286. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  287. package/dist-cjs/commands/TestFunctionCommand.js.map +0 -1
  288. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  289. package/dist-cjs/commands/UpdateCachePolicyCommand.js.map +0 -1
  290. package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  291. package/dist-cjs/commands/UpdateDistributionCommand.js.map +0 -1
  292. package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +0 -1
  293. package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +0 -1
  294. package/dist-cjs/commands/UpdateFunctionCommand.js.map +0 -1
  295. package/dist-cjs/commands/UpdateKeyGroupCommand.js.map +0 -1
  296. package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js.map +0 -1
  297. package/dist-cjs/commands/UpdatePublicKeyCommand.js.map +0 -1
  298. package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js.map +0 -1
  299. package/dist-cjs/commands/UpdateStreamingDistributionCommand.js.map +0 -1
  300. package/dist-cjs/endpoints.js.map +0 -1
  301. package/dist-cjs/index.js.map +0 -1
  302. package/dist-cjs/models/index.js.map +0 -1
  303. package/dist-cjs/models/models_0.js.map +0 -1
  304. package/dist-cjs/models/models_1.js.map +0 -1
  305. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  306. package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +0 -1
  307. package/dist-cjs/pagination/ListDistributionsPaginator.js.map +0 -1
  308. package/dist-cjs/pagination/ListInvalidationsPaginator.js.map +0 -1
  309. package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js.map +0 -1
  310. package/dist-cjs/protocols/Aws_restXml.js.map +0 -1
  311. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  312. package/dist-cjs/runtimeConfig.js.map +0 -1
  313. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  314. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  315. package/dist-cjs/waiters/waitForDistributionDeployed.js.map +0 -1
  316. package/dist-cjs/waiters/waitForInvalidationCompleted.js.map +0 -1
  317. package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js.map +0 -1
  318. package/dist-es/CloudFront.js.map +0 -1
  319. package/dist-es/CloudFrontClient.js.map +0 -1
  320. package/dist-es/commands/AssociateAliasCommand.js.map +0 -1
  321. package/dist-es/commands/CreateCachePolicyCommand.js.map +0 -1
  322. package/dist-es/commands/CreateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  323. package/dist-es/commands/CreateDistributionCommand.js.map +0 -1
  324. package/dist-es/commands/CreateDistributionWithTagsCommand.js.map +0 -1
  325. package/dist-es/commands/CreateFieldLevelEncryptionConfigCommand.js.map +0 -1
  326. package/dist-es/commands/CreateFieldLevelEncryptionProfileCommand.js.map +0 -1
  327. package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
  328. package/dist-es/commands/CreateInvalidationCommand.js.map +0 -1
  329. package/dist-es/commands/CreateKeyGroupCommand.js.map +0 -1
  330. package/dist-es/commands/CreateMonitoringSubscriptionCommand.js.map +0 -1
  331. package/dist-es/commands/CreateOriginRequestPolicyCommand.js.map +0 -1
  332. package/dist-es/commands/CreatePublicKeyCommand.js.map +0 -1
  333. package/dist-es/commands/CreateRealtimeLogConfigCommand.js.map +0 -1
  334. package/dist-es/commands/CreateStreamingDistributionCommand.js.map +0 -1
  335. package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js.map +0 -1
  336. package/dist-es/commands/DeleteCachePolicyCommand.js.map +0 -1
  337. package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  338. package/dist-es/commands/DeleteDistributionCommand.js.map +0 -1
  339. package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js.map +0 -1
  340. package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js.map +0 -1
  341. package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
  342. package/dist-es/commands/DeleteKeyGroupCommand.js.map +0 -1
  343. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js.map +0 -1
  344. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js.map +0 -1
  345. package/dist-es/commands/DeletePublicKeyCommand.js.map +0 -1
  346. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js.map +0 -1
  347. package/dist-es/commands/DeleteStreamingDistributionCommand.js.map +0 -1
  348. package/dist-es/commands/DescribeFunctionCommand.js.map +0 -1
  349. package/dist-es/commands/GetCachePolicyCommand.js.map +0 -1
  350. package/dist-es/commands/GetCachePolicyConfigCommand.js.map +0 -1
  351. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  352. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js.map +0 -1
  353. package/dist-es/commands/GetDistributionCommand.js.map +0 -1
  354. package/dist-es/commands/GetDistributionConfigCommand.js.map +0 -1
  355. package/dist-es/commands/GetFieldLevelEncryptionCommand.js.map +0 -1
  356. package/dist-es/commands/GetFieldLevelEncryptionConfigCommand.js.map +0 -1
  357. package/dist-es/commands/GetFieldLevelEncryptionProfileCommand.js.map +0 -1
  358. package/dist-es/commands/GetFieldLevelEncryptionProfileConfigCommand.js.map +0 -1
  359. package/dist-es/commands/GetFunctionCommand.js.map +0 -1
  360. package/dist-es/commands/GetInvalidationCommand.js.map +0 -1
  361. package/dist-es/commands/GetKeyGroupCommand.js.map +0 -1
  362. package/dist-es/commands/GetKeyGroupConfigCommand.js.map +0 -1
  363. package/dist-es/commands/GetMonitoringSubscriptionCommand.js.map +0 -1
  364. package/dist-es/commands/GetOriginRequestPolicyCommand.js.map +0 -1
  365. package/dist-es/commands/GetOriginRequestPolicyConfigCommand.js.map +0 -1
  366. package/dist-es/commands/GetPublicKeyCommand.js.map +0 -1
  367. package/dist-es/commands/GetPublicKeyConfigCommand.js.map +0 -1
  368. package/dist-es/commands/GetRealtimeLogConfigCommand.js.map +0 -1
  369. package/dist-es/commands/GetStreamingDistributionCommand.js.map +0 -1
  370. package/dist-es/commands/GetStreamingDistributionConfigCommand.js.map +0 -1
  371. package/dist-es/commands/ListCachePoliciesCommand.js.map +0 -1
  372. package/dist-es/commands/ListCloudFrontOriginAccessIdentitiesCommand.js.map +0 -1
  373. package/dist-es/commands/ListConflictingAliasesCommand.js.map +0 -1
  374. package/dist-es/commands/ListDistributionsByCachePolicyIdCommand.js.map +0 -1
  375. package/dist-es/commands/ListDistributionsByKeyGroupCommand.js.map +0 -1
  376. package/dist-es/commands/ListDistributionsByOriginRequestPolicyIdCommand.js.map +0 -1
  377. package/dist-es/commands/ListDistributionsByRealtimeLogConfigCommand.js.map +0 -1
  378. package/dist-es/commands/ListDistributionsByWebACLIdCommand.js.map +0 -1
  379. package/dist-es/commands/ListDistributionsCommand.js.map +0 -1
  380. package/dist-es/commands/ListFieldLevelEncryptionConfigsCommand.js.map +0 -1
  381. package/dist-es/commands/ListFieldLevelEncryptionProfilesCommand.js.map +0 -1
  382. package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
  383. package/dist-es/commands/ListInvalidationsCommand.js.map +0 -1
  384. package/dist-es/commands/ListKeyGroupsCommand.js.map +0 -1
  385. package/dist-es/commands/ListOriginRequestPoliciesCommand.js.map +0 -1
  386. package/dist-es/commands/ListPublicKeysCommand.js.map +0 -1
  387. package/dist-es/commands/ListRealtimeLogConfigsCommand.js.map +0 -1
  388. package/dist-es/commands/ListStreamingDistributionsCommand.js.map +0 -1
  389. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  390. package/dist-es/commands/PublishFunctionCommand.js.map +0 -1
  391. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  392. package/dist-es/commands/TestFunctionCommand.js.map +0 -1
  393. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  394. package/dist-es/commands/UpdateCachePolicyCommand.js.map +0 -1
  395. package/dist-es/commands/UpdateCloudFrontOriginAccessIdentityCommand.js.map +0 -1
  396. package/dist-es/commands/UpdateDistributionCommand.js.map +0 -1
  397. package/dist-es/commands/UpdateFieldLevelEncryptionConfigCommand.js.map +0 -1
  398. package/dist-es/commands/UpdateFieldLevelEncryptionProfileCommand.js.map +0 -1
  399. package/dist-es/commands/UpdateFunctionCommand.js.map +0 -1
  400. package/dist-es/commands/UpdateKeyGroupCommand.js.map +0 -1
  401. package/dist-es/commands/UpdateOriginRequestPolicyCommand.js.map +0 -1
  402. package/dist-es/commands/UpdatePublicKeyCommand.js.map +0 -1
  403. package/dist-es/commands/UpdateRealtimeLogConfigCommand.js.map +0 -1
  404. package/dist-es/commands/UpdateStreamingDistributionCommand.js.map +0 -1
  405. package/dist-es/endpoints.js.map +0 -1
  406. package/dist-es/index.js.map +0 -1
  407. package/dist-es/models/index.js.map +0 -1
  408. package/dist-es/models/models_0.js.map +0 -1
  409. package/dist-es/models/models_1.js.map +0 -1
  410. package/dist-es/pagination/Interfaces.js.map +0 -1
  411. package/dist-es/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js.map +0 -1
  412. package/dist-es/pagination/ListDistributionsPaginator.js.map +0 -1
  413. package/dist-es/pagination/ListInvalidationsPaginator.js.map +0 -1
  414. package/dist-es/pagination/ListStreamingDistributionsPaginator.js.map +0 -1
  415. package/dist-es/protocols/Aws_restXml.js.map +0 -1
  416. package/dist-es/runtimeConfig.browser.js.map +0 -1
  417. package/dist-es/runtimeConfig.js.map +0 -1
  418. package/dist-es/runtimeConfig.native.js.map +0 -1
  419. package/dist-es/runtimeConfig.shared.js.map +0 -1
  420. package/dist-es/waiters/waitForDistributionDeployed.js.map +0 -1
  421. package/dist-es/waiters/waitForInvalidationCompleted.js.map +0 -1
  422. package/dist-es/waiters/waitForStreamingDistributionDeployed.js.map +0 -1
  423. package/jest.config.js +0 -4
  424. package/src/CloudFront.ts +0 -3606
  425. package/src/CloudFrontClient.ts +0 -641
  426. package/src/commands/AssociateAliasCommand.ts +0 -105
  427. package/src/commands/CreateCachePolicyCommand.ts +0 -115
  428. package/src/commands/CreateCloudFrontOriginAccessIdentityCommand.ts +0 -109
  429. package/src/commands/CreateDistributionCommand.ts +0 -107
  430. package/src/commands/CreateDistributionWithTagsCommand.ts +0 -98
  431. package/src/commands/CreateFieldLevelEncryptionConfigCommand.ts +0 -103
  432. package/src/commands/CreateFieldLevelEncryptionProfileCommand.ts +0 -103
  433. package/src/commands/CreateFunctionCommand.ts +0 -105
  434. package/src/commands/CreateInvalidationCommand.ts +0 -95
  435. package/src/commands/CreateKeyGroupCommand.ts +0 -102
  436. package/src/commands/CreateMonitoringSubscriptionCommand.ts +0 -103
  437. package/src/commands/CreateOriginRequestPolicyCommand.ts +0 -122
  438. package/src/commands/CreatePublicKeyCommand.ts +0 -95
  439. package/src/commands/CreateRealtimeLogConfigCommand.ts +0 -98
  440. package/src/commands/CreateStreamingDistributionCommand.ts +0 -100
  441. package/src/commands/CreateStreamingDistributionWithTagsCommand.ts +0 -108
  442. package/src/commands/DeleteCachePolicyCommand.ts +0 -101
  443. package/src/commands/DeleteCloudFrontOriginAccessIdentityCommand.ts +0 -101
  444. package/src/commands/DeleteDistributionCommand.ts +0 -95
  445. package/src/commands/DeleteFieldLevelEncryptionConfigCommand.ts +0 -101
  446. package/src/commands/DeleteFieldLevelEncryptionProfileCommand.ts +0 -101
  447. package/src/commands/DeleteFunctionCommand.ts +0 -101
  448. package/src/commands/DeleteKeyGroupCommand.ts +0 -101
  449. package/src/commands/DeleteMonitoringSubscriptionCommand.ts +0 -100
  450. package/src/commands/DeleteOriginRequestPolicyCommand.ts +0 -104
  451. package/src/commands/DeletePublicKeyCommand.ts +0 -95
  452. package/src/commands/DeleteRealtimeLogConfigCommand.ts +0 -101
  453. package/src/commands/DeleteStreamingDistributionCommand.ts +0 -145
  454. package/src/commands/DescribeFunctionCommand.ts +0 -99
  455. package/src/commands/GetCachePolicyCommand.ts +0 -108
  456. package/src/commands/GetCachePolicyConfigCommand.ts +0 -100
  457. package/src/commands/GetCloudFrontOriginAccessIdentityCommand.ts +0 -103
  458. package/src/commands/GetCloudFrontOriginAccessIdentityConfigCommand.ts +0 -110
  459. package/src/commands/GetDistributionCommand.ts +0 -95
  460. package/src/commands/GetDistributionConfigCommand.ts +0 -95
  461. package/src/commands/GetFieldLevelEncryptionCommand.ts +0 -95
  462. package/src/commands/GetFieldLevelEncryptionConfigCommand.ts +0 -100
  463. package/src/commands/GetFieldLevelEncryptionProfileCommand.ts +0 -103
  464. package/src/commands/GetFieldLevelEncryptionProfileConfigCommand.ts +0 -106
  465. package/src/commands/GetFunctionCommand.ts +0 -98
  466. package/src/commands/GetInvalidationCommand.ts +0 -95
  467. package/src/commands/GetKeyGroupCommand.ts +0 -100
  468. package/src/commands/GetKeyGroupConfigCommand.ts +0 -100
  469. package/src/commands/GetMonitoringSubscriptionCommand.ts +0 -99
  470. package/src/commands/GetOriginRequestPolicyCommand.ts +0 -108
  471. package/src/commands/GetOriginRequestPolicyConfigCommand.ts +0 -106
  472. package/src/commands/GetPublicKeyCommand.ts +0 -95
  473. package/src/commands/GetPublicKeyConfigCommand.ts +0 -95
  474. package/src/commands/GetRealtimeLogConfigCommand.ts +0 -98
  475. package/src/commands/GetStreamingDistributionCommand.ts +0 -95
  476. package/src/commands/GetStreamingDistributionConfigCommand.ts +0 -103
  477. package/src/commands/ListCachePoliciesCommand.ts +0 -102
  478. package/src/commands/ListCloudFrontOriginAccessIdentitiesCommand.ts +0 -106
  479. package/src/commands/ListConflictingAliasesCommand.ts +0 -117
  480. package/src/commands/ListDistributionsByCachePolicyIdCommand.ts +0 -109
  481. package/src/commands/ListDistributionsByKeyGroupCommand.ts +0 -104
  482. package/src/commands/ListDistributionsByOriginRequestPolicyIdCommand.ts +0 -116
  483. package/src/commands/ListDistributionsByRealtimeLogConfigCommand.ts +0 -115
  484. package/src/commands/ListDistributionsByWebACLIdCommand.ts +0 -98
  485. package/src/commands/ListDistributionsCommand.ts +0 -95
  486. package/src/commands/ListFieldLevelEncryptionConfigsCommand.ts +0 -103
  487. package/src/commands/ListFieldLevelEncryptionProfilesCommand.ts +0 -103
  488. package/src/commands/ListFunctionsCommand.ts +0 -102
  489. package/src/commands/ListInvalidationsCommand.ts +0 -95
  490. package/src/commands/ListKeyGroupsCommand.ts +0 -100
  491. package/src/commands/ListOriginRequestPoliciesCommand.ts +0 -105
  492. package/src/commands/ListPublicKeysCommand.ts +0 -95
  493. package/src/commands/ListRealtimeLogConfigsCommand.ts +0 -100
  494. package/src/commands/ListStreamingDistributionsCommand.ts +0 -98
  495. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  496. package/src/commands/PublishFunctionCommand.ts +0 -103
  497. package/src/commands/TagResourceCommand.ts +0 -95
  498. package/src/commands/TestFunctionCommand.ts +0 -104
  499. package/src/commands/UntagResourceCommand.ts +0 -95
  500. package/src/commands/UpdateCachePolicyCommand.ts +0 -112
  501. package/src/commands/UpdateCloudFrontOriginAccessIdentityCommand.ts +0 -106
  502. package/src/commands/UpdateDistributionCommand.ts +0 -173
  503. package/src/commands/UpdateFieldLevelEncryptionConfigCommand.ts +0 -103
  504. package/src/commands/UpdateFieldLevelEncryptionProfileCommand.ts +0 -103
  505. package/src/commands/UpdateFunctionCommand.ts +0 -100
  506. package/src/commands/UpdateKeyGroupCommand.ts +0 -112
  507. package/src/commands/UpdateOriginRequestPolicyCommand.ts +0 -115
  508. package/src/commands/UpdatePublicKeyCommand.ts +0 -95
  509. package/src/commands/UpdateRealtimeLogConfigCommand.ts +0 -115
  510. package/src/commands/UpdateStreamingDistributionCommand.ts +0 -98
  511. package/src/endpoints.ts +0 -67
  512. package/src/index.ts +0 -96
  513. package/src/models/index.ts +0 -2
  514. package/src/models/models_0.ts +0 -8233
  515. package/src/models/models_1.ts +0 -3383
  516. package/src/pagination/Interfaces.ts +0 -8
  517. package/src/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.ts +0 -59
  518. package/src/pagination/ListDistributionsPaginator.ts +0 -59
  519. package/src/pagination/ListInvalidationsPaginator.ts +0 -59
  520. package/src/pagination/ListStreamingDistributionsPaginator.ts +0 -59
  521. package/src/protocols/Aws_restXml.ts +0 -19061
  522. package/src/runtimeConfig.browser.ts +0 -41
  523. package/src/runtimeConfig.native.ts +0 -17
  524. package/src/runtimeConfig.shared.ts +0 -17
  525. package/src/runtimeConfig.ts +0 -46
  526. package/src/waiters/waitForDistributionDeployed.ts +0 -47
  527. package/src/waiters/waitForInvalidationCompleted.ts +0 -47
  528. package/src/waiters/waitForStreamingDistributionDeployed.ts +0 -53
  529. package/tsconfig.es.json +0 -10
  530. package/tsconfig.json +0 -33
  531. package/tsconfig.types.json +0 -9
@@ -1,109 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
15
- import { ListDistributionsByCachePolicyIdRequest, ListDistributionsByCachePolicyIdResult } from "../models/models_1";
16
- import {
17
- deserializeAws_restXmlListDistributionsByCachePolicyIdCommand,
18
- serializeAws_restXmlListDistributionsByCachePolicyIdCommand,
19
- } from "../protocols/Aws_restXml";
20
-
21
- export interface ListDistributionsByCachePolicyIdCommandInput extends ListDistributionsByCachePolicyIdRequest {}
22
- export interface ListDistributionsByCachePolicyIdCommandOutput
23
- extends ListDistributionsByCachePolicyIdResult,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
28
- * associated with the specified cache policy.</p>
29
- * <p>You can optionally specify the maximum number of items to receive in the response. If
30
- * the total number of items in the list exceeds the maximum that you specify, or the
31
- * default maximum, the response is paginated. To get the next page of items, send a
32
- * subsequent request that specifies the <code>NextMarker</code> value from the current
33
- * response as the <code>Marker</code> value in the subsequent request.</p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { CloudFrontClient, ListDistributionsByCachePolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
38
- * // const { CloudFrontClient, ListDistributionsByCachePolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
39
- * const client = new CloudFrontClient(config);
40
- * const command = new ListDistributionsByCachePolicyIdCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link ListDistributionsByCachePolicyIdCommandInput} for command's `input` shape.
45
- * @see {@link ListDistributionsByCachePolicyIdCommandOutput} for command's `response` shape.
46
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class ListDistributionsByCachePolicyIdCommand extends $Command<
50
- ListDistributionsByCachePolicyIdCommandInput,
51
- ListDistributionsByCachePolicyIdCommandOutput,
52
- CloudFrontClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: ListDistributionsByCachePolicyIdCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: CloudFrontClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<ListDistributionsByCachePolicyIdCommandInput, ListDistributionsByCachePolicyIdCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "CloudFrontClient";
77
- const commandName = "ListDistributionsByCachePolicyIdCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: ListDistributionsByCachePolicyIdRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: ListDistributionsByCachePolicyIdResult.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(
94
- input: ListDistributionsByCachePolicyIdCommandInput,
95
- context: __SerdeContext
96
- ): Promise<__HttpRequest> {
97
- return serializeAws_restXmlListDistributionsByCachePolicyIdCommand(input, context);
98
- }
99
-
100
- private deserialize(
101
- output: __HttpResponse,
102
- context: __SerdeContext
103
- ): Promise<ListDistributionsByCachePolicyIdCommandOutput> {
104
- return deserializeAws_restXmlListDistributionsByCachePolicyIdCommand(output, context);
105
- }
106
-
107
- // Start section: command_body_extra
108
- // End section: command_body_extra
109
- }
@@ -1,104 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
15
- import { ListDistributionsByKeyGroupRequest, ListDistributionsByKeyGroupResult } from "../models/models_1";
16
- import {
17
- deserializeAws_restXmlListDistributionsByKeyGroupCommand,
18
- serializeAws_restXmlListDistributionsByKeyGroupCommand,
19
- } from "../protocols/Aws_restXml";
20
-
21
- export interface ListDistributionsByKeyGroupCommandInput extends ListDistributionsByKeyGroupRequest {}
22
- export interface ListDistributionsByKeyGroupCommandOutput extends ListDistributionsByKeyGroupResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Gets a list of distribution IDs for distributions that have a cache behavior that references
26
- * the specified key group.</p>
27
- * <p>You can optionally specify the maximum number of items to receive in the response. If
28
- * the total number of items in the list exceeds the maximum that you specify, or the
29
- * default maximum, the response is paginated. To get the next page of items, send a
30
- * subsequent request that specifies the <code>NextMarker</code> value from the current
31
- * response as the <code>Marker</code> value in the subsequent request.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { CloudFrontClient, ListDistributionsByKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
36
- * // const { CloudFrontClient, ListDistributionsByKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
37
- * const client = new CloudFrontClient(config);
38
- * const command = new ListDistributionsByKeyGroupCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link ListDistributionsByKeyGroupCommandInput} for command's `input` shape.
43
- * @see {@link ListDistributionsByKeyGroupCommandOutput} for command's `response` shape.
44
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class ListDistributionsByKeyGroupCommand extends $Command<
48
- ListDistributionsByKeyGroupCommandInput,
49
- ListDistributionsByKeyGroupCommandOutput,
50
- CloudFrontClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: ListDistributionsByKeyGroupCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: CloudFrontClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<ListDistributionsByKeyGroupCommandInput, ListDistributionsByKeyGroupCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "CloudFrontClient";
75
- const commandName = "ListDistributionsByKeyGroupCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: ListDistributionsByKeyGroupRequest.filterSensitiveLog,
81
- outputFilterSensitiveLog: ListDistributionsByKeyGroupResult.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: ListDistributionsByKeyGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_restXmlListDistributionsByKeyGroupCommand(input, context);
93
- }
94
-
95
- private deserialize(
96
- output: __HttpResponse,
97
- context: __SerdeContext
98
- ): Promise<ListDistributionsByKeyGroupCommandOutput> {
99
- return deserializeAws_restXmlListDistributionsByKeyGroupCommand(output, context);
100
- }
101
-
102
- // Start section: command_body_extra
103
- // End section: command_body_extra
104
- }
@@ -1,116 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
15
- import {
16
- ListDistributionsByOriginRequestPolicyIdRequest,
17
- ListDistributionsByOriginRequestPolicyIdResult,
18
- } from "../models/models_1";
19
- import {
20
- deserializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand,
21
- serializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand,
22
- } from "../protocols/Aws_restXml";
23
-
24
- export interface ListDistributionsByOriginRequestPolicyIdCommandInput
25
- extends ListDistributionsByOriginRequestPolicyIdRequest {}
26
- export interface ListDistributionsByOriginRequestPolicyIdCommandOutput
27
- extends ListDistributionsByOriginRequestPolicyIdResult,
28
- __MetadataBearer {}
29
-
30
- /**
31
- * <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
32
- * associated with the specified origin request policy.</p>
33
- * <p>You can optionally specify the maximum number of items to receive in the response. If
34
- * the total number of items in the list exceeds the maximum that you specify, or the
35
- * default maximum, the response is paginated. To get the next page of items, send a
36
- * subsequent request that specifies the <code>NextMarker</code> value from the current
37
- * response as the <code>Marker</code> value in the subsequent request.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { CloudFrontClient, ListDistributionsByOriginRequestPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
42
- * // const { CloudFrontClient, ListDistributionsByOriginRequestPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
43
- * const client = new CloudFrontClient(config);
44
- * const command = new ListDistributionsByOriginRequestPolicyIdCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link ListDistributionsByOriginRequestPolicyIdCommandInput} for command's `input` shape.
49
- * @see {@link ListDistributionsByOriginRequestPolicyIdCommandOutput} for command's `response` shape.
50
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- export class ListDistributionsByOriginRequestPolicyIdCommand extends $Command<
54
- ListDistributionsByOriginRequestPolicyIdCommandInput,
55
- ListDistributionsByOriginRequestPolicyIdCommandOutput,
56
- CloudFrontClientResolvedConfig
57
- > {
58
- // Start section: command_properties
59
- // End section: command_properties
60
-
61
- constructor(readonly input: ListDistributionsByOriginRequestPolicyIdCommandInput) {
62
- // Start section: command_constructor
63
- super();
64
- // End section: command_constructor
65
- }
66
-
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(
71
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
72
- configuration: CloudFrontClientResolvedConfig,
73
- options?: __HttpHandlerOptions
74
- ): Handler<
75
- ListDistributionsByOriginRequestPolicyIdCommandInput,
76
- ListDistributionsByOriginRequestPolicyIdCommandOutput
77
- > {
78
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
79
-
80
- const stack = clientStack.concat(this.middlewareStack);
81
-
82
- const { logger } = configuration;
83
- const clientName = "CloudFrontClient";
84
- const commandName = "ListDistributionsByOriginRequestPolicyIdCommand";
85
- const handlerExecutionContext: HandlerExecutionContext = {
86
- logger,
87
- clientName,
88
- commandName,
89
- inputFilterSensitiveLog: ListDistributionsByOriginRequestPolicyIdRequest.filterSensitiveLog,
90
- outputFilterSensitiveLog: ListDistributionsByOriginRequestPolicyIdResult.filterSensitiveLog,
91
- };
92
- const { requestHandler } = configuration;
93
- return stack.resolve(
94
- (request: FinalizeHandlerArguments<any>) =>
95
- requestHandler.handle(request.request as __HttpRequest, options || {}),
96
- handlerExecutionContext
97
- );
98
- }
99
-
100
- private serialize(
101
- input: ListDistributionsByOriginRequestPolicyIdCommandInput,
102
- context: __SerdeContext
103
- ): Promise<__HttpRequest> {
104
- return serializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand(input, context);
105
- }
106
-
107
- private deserialize(
108
- output: __HttpResponse,
109
- context: __SerdeContext
110
- ): Promise<ListDistributionsByOriginRequestPolicyIdCommandOutput> {
111
- return deserializeAws_restXmlListDistributionsByOriginRequestPolicyIdCommand(output, context);
112
- }
113
-
114
- // Start section: command_body_extra
115
- // End section: command_body_extra
116
- }
@@ -1,115 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
15
- import {
16
- ListDistributionsByRealtimeLogConfigRequest,
17
- ListDistributionsByRealtimeLogConfigResult,
18
- } from "../models/models_1";
19
- import {
20
- deserializeAws_restXmlListDistributionsByRealtimeLogConfigCommand,
21
- serializeAws_restXmlListDistributionsByRealtimeLogConfigCommand,
22
- } from "../protocols/Aws_restXml";
23
-
24
- export interface ListDistributionsByRealtimeLogConfigCommandInput extends ListDistributionsByRealtimeLogConfigRequest {}
25
- export interface ListDistributionsByRealtimeLogConfigCommandOutput
26
- extends ListDistributionsByRealtimeLogConfigResult,
27
- __MetadataBearer {}
28
-
29
- /**
30
- * <p>Gets a list of distributions that have a cache behavior that’s associated with the specified
31
- * real-time log configuration.</p>
32
- * <p>You can specify the real-time log configuration by its name or its Amazon Resource Name
33
- * (ARN). You must provide at least one. If you provide both, CloudFront uses the name to
34
- * identify the real-time log configuration to list distributions for.</p>
35
- * <p>You can optionally specify the maximum number of items to receive in the response. If
36
- * the total number of items in the list exceeds the maximum that you specify, or the
37
- * default maximum, the response is paginated. To get the next page of items, send a
38
- * subsequent request that specifies the <code>NextMarker</code> value from the current
39
- * response as the <code>Marker</code> value in the subsequent request. </p>
40
- * @example
41
- * Use a bare-bones client and the command you need to make an API call.
42
- * ```javascript
43
- * import { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
44
- * // const { CloudFrontClient, ListDistributionsByRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
45
- * const client = new CloudFrontClient(config);
46
- * const command = new ListDistributionsByRealtimeLogConfigCommand(input);
47
- * const response = await client.send(command);
48
- * ```
49
- *
50
- * @see {@link ListDistributionsByRealtimeLogConfigCommandInput} for command's `input` shape.
51
- * @see {@link ListDistributionsByRealtimeLogConfigCommandOutput} for command's `response` shape.
52
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
53
- *
54
- */
55
- export class ListDistributionsByRealtimeLogConfigCommand extends $Command<
56
- ListDistributionsByRealtimeLogConfigCommandInput,
57
- ListDistributionsByRealtimeLogConfigCommandOutput,
58
- CloudFrontClientResolvedConfig
59
- > {
60
- // Start section: command_properties
61
- // End section: command_properties
62
-
63
- constructor(readonly input: ListDistributionsByRealtimeLogConfigCommandInput) {
64
- // Start section: command_constructor
65
- super();
66
- // End section: command_constructor
67
- }
68
-
69
- /**
70
- * @internal
71
- */
72
- resolveMiddleware(
73
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
74
- configuration: CloudFrontClientResolvedConfig,
75
- options?: __HttpHandlerOptions
76
- ): Handler<ListDistributionsByRealtimeLogConfigCommandInput, ListDistributionsByRealtimeLogConfigCommandOutput> {
77
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
78
-
79
- const stack = clientStack.concat(this.middlewareStack);
80
-
81
- const { logger } = configuration;
82
- const clientName = "CloudFrontClient";
83
- const commandName = "ListDistributionsByRealtimeLogConfigCommand";
84
- const handlerExecutionContext: HandlerExecutionContext = {
85
- logger,
86
- clientName,
87
- commandName,
88
- inputFilterSensitiveLog: ListDistributionsByRealtimeLogConfigRequest.filterSensitiveLog,
89
- outputFilterSensitiveLog: ListDistributionsByRealtimeLogConfigResult.filterSensitiveLog,
90
- };
91
- const { requestHandler } = configuration;
92
- return stack.resolve(
93
- (request: FinalizeHandlerArguments<any>) =>
94
- requestHandler.handle(request.request as __HttpRequest, options || {}),
95
- handlerExecutionContext
96
- );
97
- }
98
-
99
- private serialize(
100
- input: ListDistributionsByRealtimeLogConfigCommandInput,
101
- context: __SerdeContext
102
- ): Promise<__HttpRequest> {
103
- return serializeAws_restXmlListDistributionsByRealtimeLogConfigCommand(input, context);
104
- }
105
-
106
- private deserialize(
107
- output: __HttpResponse,
108
- context: __SerdeContext
109
- ): Promise<ListDistributionsByRealtimeLogConfigCommandOutput> {
110
- return deserializeAws_restXmlListDistributionsByRealtimeLogConfigCommand(output, context);
111
- }
112
-
113
- // Start section: command_body_extra
114
- // End section: command_body_extra
115
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
15
- import { ListDistributionsByWebACLIdRequest, ListDistributionsByWebACLIdResult } from "../models/models_1";
16
- import {
17
- deserializeAws_restXmlListDistributionsByWebACLIdCommand,
18
- serializeAws_restXmlListDistributionsByWebACLIdCommand,
19
- } from "../protocols/Aws_restXml";
20
-
21
- export interface ListDistributionsByWebACLIdCommandInput extends ListDistributionsByWebACLIdRequest {}
22
- export interface ListDistributionsByWebACLIdCommandOutput extends ListDistributionsByWebACLIdResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List the distributions that are associated with a specified WAF web ACL.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { CloudFrontClient, ListDistributionsByWebACLIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
30
- * // const { CloudFrontClient, ListDistributionsByWebACLIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
31
- * const client = new CloudFrontClient(config);
32
- * const command = new ListDistributionsByWebACLIdCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListDistributionsByWebACLIdCommandInput} for command's `input` shape.
37
- * @see {@link ListDistributionsByWebACLIdCommandOutput} for command's `response` shape.
38
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListDistributionsByWebACLIdCommand extends $Command<
42
- ListDistributionsByWebACLIdCommandInput,
43
- ListDistributionsByWebACLIdCommandOutput,
44
- CloudFrontClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListDistributionsByWebACLIdCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: CloudFrontClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListDistributionsByWebACLIdCommandInput, ListDistributionsByWebACLIdCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "CloudFrontClient";
69
- const commandName = "ListDistributionsByWebACLIdCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListDistributionsByWebACLIdRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListDistributionsByWebACLIdResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListDistributionsByWebACLIdCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restXmlListDistributionsByWebACLIdCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<ListDistributionsByWebACLIdCommandOutput> {
93
- return deserializeAws_restXmlListDistributionsByWebACLIdCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
15
- import { ListDistributionsRequest, ListDistributionsResult } from "../models/models_1";
16
- import {
17
- deserializeAws_restXmlListDistributionsCommand,
18
- serializeAws_restXmlListDistributionsCommand,
19
- } from "../protocols/Aws_restXml";
20
-
21
- export interface ListDistributionsCommandInput extends ListDistributionsRequest {}
22
- export interface ListDistributionsCommandOutput extends ListDistributionsResult, __MetadataBearer {}
23
-
24
- /**
25
- * <p>List CloudFront distributions.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { CloudFrontClient, ListDistributionsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
30
- * // const { CloudFrontClient, ListDistributionsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
31
- * const client = new CloudFrontClient(config);
32
- * const command = new ListDistributionsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ListDistributionsCommandInput} for command's `input` shape.
37
- * @see {@link ListDistributionsCommandOutput} for command's `response` shape.
38
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ListDistributionsCommand extends $Command<
42
- ListDistributionsCommandInput,
43
- ListDistributionsCommandOutput,
44
- CloudFrontClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ListDistributionsCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: CloudFrontClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<ListDistributionsCommandInput, ListDistributionsCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "CloudFrontClient";
69
- const commandName = "ListDistributionsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ListDistributionsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ListDistributionsResult.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: ListDistributionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restXmlListDistributionsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListDistributionsCommandOutput> {
90
- return deserializeAws_restXmlListDistributionsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }