@aws-sdk/client-cloudfront 3.50.0 → 3.53.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 (132) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CloudFrontServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +1673 -4
  5. package/dist-cjs/models/models_1.js +117 -4
  6. package/dist-cjs/protocols/Aws_restXml.js +1685 -5116
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/CloudFrontServiceException.js +12 -0
  9. package/dist-es/models/models_0.js +1549 -1
  10. package/dist-es/models/models_1.js +106 -1
  11. package/dist-es/protocols/Aws_restXml.js +2718 -5611
  12. package/dist-types/index.d.ts +1 -0
  13. package/dist-types/models/CloudFrontServiceException.d.ts +10 -0
  14. package/dist-types/models/models_0.d.ts +835 -358
  15. package/dist-types/models/models_1.d.ts +58 -25
  16. package/dist-types/ts3.4/CloudFront.d.ts +465 -0
  17. package/dist-types/ts3.4/CloudFrontClient.d.ts +165 -0
  18. package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +18 -0
  43. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +92 -0
  111. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  112. package/dist-types/ts3.4/index.d.ts +7 -0
  113. package/dist-types/ts3.4/models/CloudFrontServiceException.d.ts +6 -0
  114. package/dist-types/ts3.4/models/index.d.ts +2 -0
  115. package/dist-types/ts3.4/models/models_0.d.ts +314 -0
  116. package/dist-types/ts3.4/models/models_1.d.ts +1804 -0
  117. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  118. package/dist-types/ts3.4/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +4 -0
  119. package/dist-types/ts3.4/pagination/ListDistributionsPaginator.d.ts +4 -0
  120. package/dist-types/ts3.4/pagination/ListInvalidationsPaginator.d.ts +4 -0
  121. package/dist-types/ts3.4/pagination/ListStreamingDistributionsPaginator.d.ts +4 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  123. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +278 -0
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  128. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  129. package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +7 -0
  130. package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +7 -0
  131. package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +7 -0
  132. package/package.json +35 -35
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-cloudfront
20
+
21
+
22
+
23
+
24
+
25
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-cloudfront
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-cloudfront
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudFrontServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./CloudFront"), exports);
5
6
  tslib_1.__exportStar(require("./CloudFrontClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var CloudFrontServiceException_1 = require("./models/CloudFrontServiceException");
12
+ Object.defineProperty(exports, "CloudFrontServiceException", { enumerable: true, get: function () { return CloudFrontServiceException_1.CloudFrontServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CloudFrontServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class CloudFrontServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, CloudFrontServiceException.prototype);
9
+ }
10
+ }
11
+ exports.CloudFrontServiceException = CloudFrontServiceException;