@aws-sdk/client-cloudfront 3.36.0 → 3.39.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 (217) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/CloudFront.js +0 -6
  3. package/dist-cjs/CloudFrontClient.js +0 -11
  4. package/dist-cjs/commands/AssociateAliasCommand.js +0 -34
  5. package/dist-cjs/commands/CreateCachePolicyCommand.js +0 -44
  6. package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +0 -27
  7. package/dist-cjs/commands/CreateDistributionCommand.js +0 -36
  8. package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +0 -24
  9. package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +0 -24
  10. package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +0 -24
  11. package/dist-cjs/commands/CreateFunctionCommand.js +0 -34
  12. package/dist-cjs/commands/CreateInvalidationCommand.js +0 -24
  13. package/dist-cjs/commands/CreateKeyGroupCommand.js +0 -31
  14. package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +0 -27
  15. package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +0 -48
  16. package/dist-cjs/commands/CreatePublicKeyCommand.js +0 -24
  17. package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +0 -27
  18. package/dist-cjs/commands/CreateStreamingDistributionCommand.js +0 -26
  19. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +0 -26
  20. package/dist-cjs/commands/DeleteCachePolicyCommand.js +0 -30
  21. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +0 -24
  22. package/dist-cjs/commands/DeleteDistributionCommand.js +0 -24
  23. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +0 -24
  24. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +0 -24
  25. package/dist-cjs/commands/DeleteFunctionCommand.js +0 -30
  26. package/dist-cjs/commands/DeleteKeyGroupCommand.js +0 -30
  27. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +0 -24
  28. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +0 -30
  29. package/dist-cjs/commands/DeletePublicKeyCommand.js +0 -24
  30. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +0 -30
  31. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +0 -71
  32. package/dist-cjs/commands/DescribeFunctionCommand.js +0 -28
  33. package/dist-cjs/commands/GetCachePolicyCommand.js +0 -37
  34. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +0 -29
  35. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +0 -24
  36. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +0 -24
  37. package/dist-cjs/commands/GetDistributionCommand.js +0 -24
  38. package/dist-cjs/commands/GetDistributionConfigCommand.js +0 -24
  39. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +0 -24
  40. package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +0 -24
  41. package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +0 -24
  42. package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +0 -24
  43. package/dist-cjs/commands/GetFunctionCommand.js +0 -27
  44. package/dist-cjs/commands/GetInvalidationCommand.js +0 -24
  45. package/dist-cjs/commands/GetKeyGroupCommand.js +0 -29
  46. package/dist-cjs/commands/GetKeyGroupConfigCommand.js +0 -29
  47. package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +0 -25
  48. package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +0 -37
  49. package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +0 -30
  50. package/dist-cjs/commands/GetPublicKeyCommand.js +0 -24
  51. package/dist-cjs/commands/GetPublicKeyConfigCommand.js +0 -24
  52. package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +0 -27
  53. package/dist-cjs/commands/GetStreamingDistributionCommand.js +0 -24
  54. package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +0 -24
  55. package/dist-cjs/commands/ListCachePoliciesCommand.js +0 -31
  56. package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +0 -24
  57. package/dist-cjs/commands/ListConflictingAliasesCommand.js +0 -46
  58. package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +0 -30
  59. package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +0 -30
  60. package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +0 -30
  61. package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +0 -33
  62. package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +0 -24
  63. package/dist-cjs/commands/ListDistributionsCommand.js +0 -24
  64. package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +0 -24
  65. package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +0 -24
  66. package/dist-cjs/commands/ListFunctionsCommand.js +0 -31
  67. package/dist-cjs/commands/ListInvalidationsCommand.js +0 -24
  68. package/dist-cjs/commands/ListKeyGroupsCommand.js +0 -29
  69. package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +0 -31
  70. package/dist-cjs/commands/ListPublicKeysCommand.js +0 -24
  71. package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +0 -29
  72. package/dist-cjs/commands/ListStreamingDistributionsCommand.js +0 -24
  73. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  74. package/dist-cjs/commands/PublishFunctionCommand.js +0 -32
  75. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  76. package/dist-cjs/commands/TestFunctionCommand.js +0 -33
  77. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  78. package/dist-cjs/commands/UpdateCachePolicyCommand.js +0 -41
  79. package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +0 -24
  80. package/dist-cjs/commands/UpdateDistributionCommand.js +0 -102
  81. package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +0 -24
  82. package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +0 -24
  83. package/dist-cjs/commands/UpdateFunctionCommand.js +0 -29
  84. package/dist-cjs/commands/UpdateKeyGroupCommand.js +0 -41
  85. package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +0 -41
  86. package/dist-cjs/commands/UpdatePublicKeyCommand.js +0 -24
  87. package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +0 -44
  88. package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +0 -24
  89. package/dist-cjs/commands/index.js +88 -0
  90. package/dist-cjs/endpoints.js +6 -1
  91. package/dist-cjs/index.js +5 -95
  92. package/dist-cjs/models/models_0.js +0 -828
  93. package/dist-cjs/models/models_1.js +0 -369
  94. package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +0 -10
  95. package/dist-cjs/pagination/ListDistributionsPaginator.js +0 -10
  96. package/dist-cjs/pagination/ListInvalidationsPaginator.js +0 -10
  97. package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +0 -10
  98. package/dist-cjs/pagination/index.js +8 -0
  99. package/dist-cjs/protocols/Aws_restXml.js +0 -2
  100. package/dist-cjs/runtimeConfig.browser.js +1 -5
  101. package/dist-cjs/runtimeConfig.js +1 -5
  102. package/dist-cjs/runtimeConfig.native.js +0 -3
  103. package/dist-cjs/runtimeConfig.shared.js +0 -3
  104. package/dist-cjs/waiters/index.js +6 -0
  105. package/dist-cjs/waiters/waitForDistributionDeployed.js +0 -9
  106. package/dist-cjs/waiters/waitForInvalidationCompleted.js +0 -9
  107. package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +0 -9
  108. package/dist-es/commands/index.js +85 -0
  109. package/dist-es/endpoints.js +6 -1
  110. package/dist-es/index.js +5 -95
  111. package/dist-es/pagination/index.js +5 -0
  112. package/dist-es/waiters/index.js +3 -0
  113. package/dist-types/commands/index.d.ts +85 -0
  114. package/dist-types/index.d.ts +5 -95
  115. package/dist-types/pagination/index.d.ts +5 -0
  116. package/dist-types/ts3.4/CloudFront.d.ts +86 -743
  117. package/dist-types/ts3.4/CloudFrontClient.d.ts +24 -92
  118. package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +2 -30
  119. package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +2 -40
  120. package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +2 -32
  122. package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +2 -30
  126. package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +2 -20
  127. package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +2 -27
  128. package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -23
  129. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +2 -44
  130. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +2 -23
  132. package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +2 -22
  133. package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -22
  134. package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +2 -26
  135. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
  136. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +2 -20
  137. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +2 -20
  138. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +2 -20
  139. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +2 -26
  140. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +2 -26
  141. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -26
  143. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -26
  145. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +2 -67
  146. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +2 -24
  147. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +2 -33
  148. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +2 -25
  149. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +2 -20
  155. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +2 -20
  156. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +2 -23
  158. package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +2 -25
  160. package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +2 -25
  161. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +2 -21
  162. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +2 -33
  163. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +2 -26
  164. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +2 -20
  166. package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +2 -23
  167. package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +2 -20
  169. package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +2 -27
  170. package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +2 -20
  171. package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +2 -42
  172. package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +2 -26
  173. package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +2 -26
  174. package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +2 -26
  175. package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -29
  176. package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -20
  177. package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +2 -27
  181. package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +2 -25
  183. package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +2 -27
  184. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -25
  186. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +2 -28
  189. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  190. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +2 -29
  191. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +2 -37
  193. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +2 -98
  195. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +2 -20
  197. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +2 -25
  198. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +2 -37
  199. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +2 -37
  200. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +2 -20
  201. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +2 -40
  202. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +2 -20
  203. package/dist-types/ts3.4/commands/index.d.ts +85 -0
  204. package/dist-types/ts3.4/index.d.ts +5 -95
  205. package/dist-types/ts3.4/models/models_0.d.ts +105 -6590
  206. package/dist-types/ts3.4/models/models_1.d.ts +486 -1713
  207. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  208. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  209. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  210. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  211. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  212. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  213. package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +2 -9
  214. package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +2 -9
  215. package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +2 -9
  216. package/dist-types/waiters/index.d.ts +3 -0
  217. package/package.json +34 -34
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
3
+ export * from "./ListDistributionsPaginator";
4
+ export * from "./ListInvalidationsPaginator";
5
+ export * from "./ListStreamingDistributionsPaginator";
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CloudFrontClientConfig } from "./CloudFrontClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CloudFrontClientConfig } from "./CloudFrontClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
7
5
  runtime: string;
8
6
  base64Decoder: import("@aws-sdk/types").Decoder;
@@ -1,7 +1,5 @@
1
1
  import { CloudFrontClientConfig } from "./CloudFrontClient";
2
- /**
3
- * @internal
4
- */
2
+
5
3
  export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
6
4
  runtime: string;
7
5
  sha256: import("@aws-sdk/types").HashConstructor;
@@ -1,8 +1,6 @@
1
1
  import { Logger as __Logger } from "@aws-sdk/types";
2
2
  import { CloudFrontClientConfig } from "./CloudFrontClient";
3
- /**
4
- * @internal
5
- */
3
+
6
4
  export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
7
5
  apiVersion: string;
8
6
  disableHostPrefix: boolean;
@@ -0,0 +1,3 @@
1
+ export * from "./waitForDistributionDeployed";
2
+ export * from "./waitForInvalidationCompleted";
3
+ export * from "./waitForStreamingDistributionDeployed";
@@ -1,14 +1,7 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
2
  import { CloudFrontClient } from "../CloudFrontClient";
3
3
  import { GetDistributionCommandInput } from "../commands/GetDistributionCommand";
4
- /**
5
- * Wait until a distribution is deployed.
6
- * @deprecated Use waitUntilDistributionDeployed instead. waitForDistributionDeployed does not throw error in non-success cases.
7
- */
4
+
8
5
  export declare const waitForDistributionDeployed: (params: WaiterConfiguration<CloudFrontClient>, input: GetDistributionCommandInput) => Promise<WaiterResult>;
9
- /**
10
- * Wait until a distribution is deployed.
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to GetDistributionCommand for polling.
13
- */
6
+
14
7
  export declare const waitUntilDistributionDeployed: (params: WaiterConfiguration<CloudFrontClient>, input: GetDistributionCommandInput) => Promise<WaiterResult>;
@@ -1,14 +1,7 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
2
  import { CloudFrontClient } from "../CloudFrontClient";
3
3
  import { GetInvalidationCommandInput } from "../commands/GetInvalidationCommand";
4
- /**
5
- * Wait until an invalidation has completed.
6
- * @deprecated Use waitUntilInvalidationCompleted instead. waitForInvalidationCompleted does not throw error in non-success cases.
7
- */
4
+
8
5
  export declare const waitForInvalidationCompleted: (params: WaiterConfiguration<CloudFrontClient>, input: GetInvalidationCommandInput) => Promise<WaiterResult>;
9
- /**
10
- * Wait until an invalidation has completed.
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to GetInvalidationCommand for polling.
13
- */
6
+
14
7
  export declare const waitUntilInvalidationCompleted: (params: WaiterConfiguration<CloudFrontClient>, input: GetInvalidationCommandInput) => Promise<WaiterResult>;
@@ -1,14 +1,7 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
2
  import { CloudFrontClient } from "../CloudFrontClient";
3
3
  import { GetStreamingDistributionCommandInput } from "../commands/GetStreamingDistributionCommand";
4
- /**
5
- * Wait until a streaming distribution is deployed.
6
- * @deprecated Use waitUntilStreamingDistributionDeployed instead. waitForStreamingDistributionDeployed does not throw error in non-success cases.
7
- */
4
+
8
5
  export declare const waitForStreamingDistributionDeployed: (params: WaiterConfiguration<CloudFrontClient>, input: GetStreamingDistributionCommandInput) => Promise<WaiterResult>;
9
- /**
10
- * Wait until a streaming distribution is deployed.
11
- * @param params - Waiter configuration options.
12
- * @param input - The input to GetStreamingDistributionCommand for polling.
13
- */
6
+
14
7
  export declare const waitUntilStreamingDistributionDeployed: (params: WaiterConfiguration<CloudFrontClient>, input: GetStreamingDistributionCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,3 @@
1
+ export * from "./waitForDistributionDeployed";
2
+ export * from "./waitForInvalidationCompleted";
3
+ export * from "./waitForStreamingDistributionDeployed";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
4
- "version": "3.36.0",
4
+ "version": "3.39.0",
5
5
  "scripts": {
6
6
  "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
7
  "build:cjs": "tsc -p tsconfig.json",
@@ -19,44 +19,44 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-crypto/sha256-browser": "^1.0.0",
23
- "@aws-crypto/sha256-js": "^1.0.0",
24
- "@aws-sdk/client-sts": "3.36.0",
25
- "@aws-sdk/config-resolver": "3.36.0",
26
- "@aws-sdk/credential-provider-node": "3.36.0",
27
- "@aws-sdk/fetch-http-handler": "3.36.0",
28
- "@aws-sdk/hash-node": "3.36.0",
29
- "@aws-sdk/invalid-dependency": "3.36.0",
30
- "@aws-sdk/middleware-content-length": "3.36.0",
31
- "@aws-sdk/middleware-host-header": "3.36.0",
32
- "@aws-sdk/middleware-logger": "3.36.0",
33
- "@aws-sdk/middleware-retry": "3.36.0",
34
- "@aws-sdk/middleware-serde": "3.36.0",
35
- "@aws-sdk/middleware-signing": "3.36.0",
36
- "@aws-sdk/middleware-stack": "3.36.0",
37
- "@aws-sdk/middleware-user-agent": "3.36.0",
38
- "@aws-sdk/node-config-provider": "3.36.0",
39
- "@aws-sdk/node-http-handler": "3.36.0",
40
- "@aws-sdk/protocol-http": "3.36.0",
41
- "@aws-sdk/smithy-client": "3.36.0",
42
- "@aws-sdk/types": "3.36.0",
43
- "@aws-sdk/url-parser": "3.36.0",
44
- "@aws-sdk/util-base64-browser": "3.36.0",
45
- "@aws-sdk/util-base64-node": "3.36.0",
46
- "@aws-sdk/util-body-length-browser": "3.36.0",
47
- "@aws-sdk/util-body-length-node": "3.36.0",
48
- "@aws-sdk/util-user-agent-browser": "3.36.0",
49
- "@aws-sdk/util-user-agent-node": "3.36.0",
50
- "@aws-sdk/util-utf8-browser": "3.36.0",
51
- "@aws-sdk/util-utf8-node": "3.36.0",
52
- "@aws-sdk/util-waiter": "3.36.0",
53
- "@aws-sdk/xml-builder": "3.36.0",
22
+ "@aws-crypto/sha256-browser": "2.0.0",
23
+ "@aws-crypto/sha256-js": "2.0.0",
24
+ "@aws-sdk/client-sts": "3.39.0",
25
+ "@aws-sdk/config-resolver": "3.39.0",
26
+ "@aws-sdk/credential-provider-node": "3.39.0",
27
+ "@aws-sdk/fetch-http-handler": "3.38.0",
28
+ "@aws-sdk/hash-node": "3.38.0",
29
+ "@aws-sdk/invalid-dependency": "3.38.0",
30
+ "@aws-sdk/middleware-content-length": "3.38.0",
31
+ "@aws-sdk/middleware-host-header": "3.38.0",
32
+ "@aws-sdk/middleware-logger": "3.38.0",
33
+ "@aws-sdk/middleware-retry": "3.39.0",
34
+ "@aws-sdk/middleware-serde": "3.38.0",
35
+ "@aws-sdk/middleware-signing": "3.39.0",
36
+ "@aws-sdk/middleware-stack": "3.38.0",
37
+ "@aws-sdk/middleware-user-agent": "3.38.0",
38
+ "@aws-sdk/node-config-provider": "3.39.0",
39
+ "@aws-sdk/node-http-handler": "3.38.0",
40
+ "@aws-sdk/protocol-http": "3.38.0",
41
+ "@aws-sdk/smithy-client": "3.38.0",
42
+ "@aws-sdk/types": "3.38.0",
43
+ "@aws-sdk/url-parser": "3.38.0",
44
+ "@aws-sdk/util-base64-browser": "3.37.0",
45
+ "@aws-sdk/util-base64-node": "3.37.0",
46
+ "@aws-sdk/util-body-length-browser": "3.37.0",
47
+ "@aws-sdk/util-body-length-node": "3.37.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.38.0",
49
+ "@aws-sdk/util-user-agent-node": "3.39.0",
50
+ "@aws-sdk/util-utf8-browser": "3.37.0",
51
+ "@aws-sdk/util-utf8-node": "3.37.0",
52
+ "@aws-sdk/util-waiter": "3.38.0",
53
+ "@aws-sdk/xml-builder": "3.37.0",
54
54
  "entities": "2.2.0",
55
55
  "fast-xml-parser": "3.19.0",
56
56
  "tslib": "^2.3.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/client-documentation-generator": "3.36.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.38.0",
60
60
  "@types/node": "^12.7.5",
61
61
  "downlevel-dts": "0.7.0",
62
62
  "jest": "^26.1.0",