@aws-sdk/client-cloudfront 3.37.0 → 3.41.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 (200) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist-cjs/CloudFront.js +105 -0
  3. package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
  5. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +2 -2
  6. package/dist-cjs/commands/DeletePublicKeyCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeFunctionCommand.js +3 -3
  11. package/dist-cjs/commands/GetCachePolicyCommand.js +3 -3
  12. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +3 -3
  13. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
  14. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
  15. package/dist-cjs/commands/GetDistributionCommand.js +3 -3
  16. package/dist-cjs/commands/GetDistributionConfigCommand.js +3 -3
  17. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
  18. package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +36 -0
  19. package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +36 -0
  20. package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +36 -0
  21. package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +36 -0
  22. package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +36 -0
  23. package/dist-cjs/commands/index.js +95 -0
  24. package/dist-cjs/endpoints.js +91 -5
  25. package/dist-cjs/index.js +5 -95
  26. package/dist-cjs/models/models_0.js +174 -166
  27. package/dist-cjs/models/models_1.js +257 -3
  28. package/dist-cjs/pagination/index.js +8 -0
  29. package/dist-cjs/protocols/Aws_restXml.js +1725 -120
  30. package/dist-cjs/runtimeConfig.browser.js +6 -3
  31. package/dist-cjs/runtimeConfig.js +5 -3
  32. package/dist-cjs/waiters/index.js +6 -0
  33. package/dist-es/CloudFront.js +105 -0
  34. package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +39 -0
  35. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
  36. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +1 -1
  37. package/dist-es/commands/DeletePublicKeyCommand.js +1 -1
  38. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +1 -1
  39. package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +39 -0
  40. package/dist-es/commands/DeleteStreamingDistributionCommand.js +1 -1
  41. package/dist-es/commands/DescribeFunctionCommand.js +1 -1
  42. package/dist-es/commands/GetCachePolicyCommand.js +1 -1
  43. package/dist-es/commands/GetCachePolicyConfigCommand.js +1 -1
  44. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +1 -1
  45. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +1 -1
  46. package/dist-es/commands/GetDistributionCommand.js +1 -1
  47. package/dist-es/commands/GetDistributionConfigCommand.js +1 -1
  48. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +1 -1
  49. package/dist-es/commands/GetResponseHeadersPolicyCommand.js +39 -0
  50. package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +39 -0
  51. package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +39 -0
  52. package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +39 -0
  53. package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +39 -0
  54. package/dist-es/commands/index.js +92 -0
  55. package/dist-es/endpoints.js +91 -5
  56. package/dist-es/index.js +5 -95
  57. package/dist-es/models/models_0.js +122 -109
  58. package/dist-es/models/models_1.js +169 -2
  59. package/dist-es/pagination/index.js +5 -0
  60. package/dist-es/protocols/Aws_restXml.js +2398 -664
  61. package/dist-es/runtimeConfig.browser.js +3 -2
  62. package/dist-es/runtimeConfig.js +3 -3
  63. package/dist-es/waiters/index.js +3 -0
  64. package/dist-types/CloudFront.d.ts +109 -3
  65. package/dist-types/CloudFrontClient.d.ts +17 -2
  66. package/dist-types/commands/AssociateAliasCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateCachePolicyCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateDistributionCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateInvalidationCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateKeyGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
  78. package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +42 -0
  81. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
  83. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
  84. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  85. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
  86. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
  87. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
  88. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  89. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
  90. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +3 -2
  91. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -2
  92. package/dist-types/commands/DeletePublicKeyCommand.d.ts +2 -2
  93. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -2
  94. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +41 -0
  95. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +2 -2
  96. package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -2
  97. package/dist-types/commands/GetCachePolicyCommand.d.ts +2 -2
  98. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +2 -2
  99. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -2
  100. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -2
  101. package/dist-types/commands/GetDistributionCommand.d.ts +2 -2
  102. package/dist-types/commands/GetDistributionConfigCommand.d.ts +2 -2
  103. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +2 -2
  104. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -1
  105. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -1
  106. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -1
  107. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  108. package/dist-types/commands/GetInvalidationCommand.d.ts +1 -1
  109. package/dist-types/commands/GetKeyGroupCommand.d.ts +1 -1
  110. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -1
  111. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  112. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  113. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  114. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  115. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  116. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
  117. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +42 -0
  118. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +41 -0
  119. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
  120. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
  121. package/dist-types/commands/ListCachePoliciesCommand.d.ts +2 -2
  122. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +1 -1
  123. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +1 -1
  124. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -1
  125. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -1
  126. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -1
  127. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -1
  128. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +41 -0
  129. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -1
  130. package/dist-types/commands/ListDistributionsCommand.d.ts +1 -1
  131. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +1 -1
  132. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +1 -1
  133. package/dist-types/commands/ListFunctionsCommand.d.ts +2 -2
  134. package/dist-types/commands/ListInvalidationsCommand.d.ts +1 -1
  135. package/dist-types/commands/ListKeyGroupsCommand.d.ts +1 -1
  136. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +2 -2
  137. package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
  138. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +1 -1
  139. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +42 -0
  140. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -1
  141. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  142. package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
  143. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  144. package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
  145. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  146. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -1
  147. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  148. package/dist-types/commands/UpdateDistributionCommand.d.ts +1 -1
  149. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  150. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  151. package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
  152. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
  153. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
  154. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -1
  155. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
  156. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +53 -0
  157. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
  158. package/dist-types/commands/index.d.ts +92 -0
  159. package/dist-types/index.d.ts +5 -95
  160. package/dist-types/models/models_0.d.ts +990 -676
  161. package/dist-types/models/models_1.d.ts +746 -51
  162. package/dist-types/pagination/index.d.ts +5 -0
  163. package/dist-types/protocols/Aws_restXml.d.ts +21 -0
  164. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  165. package/dist-types/runtimeConfig.d.ts +2 -0
  166. package/dist-types/runtimeConfig.native.d.ts +2 -0
  167. package/dist-types/ts3.4/CloudFront.d.ts +35 -0
  168. package/dist-types/ts3.4/CloudFrontClient.d.ts +13 -2
  169. package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
  171. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/index.d.ts +92 -0
  190. package/dist-types/ts3.4/index.d.ts +5 -95
  191. package/dist-types/ts3.4/models/models_0.d.ts +10 -0
  192. package/dist-types/ts3.4/models/models_1.d.ts +418 -19
  193. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  194. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +21 -0
  195. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  196. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  197. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  198. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  199. package/dist-types/waiters/index.d.ts +3 -0
  200. package/package.json +27 -27
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateResponseHeadersPolicyRequest, UpdateResponseHeadersPolicyResult } from "../models/models_1";
5
+ import { deserializeAws_restXmlUpdateResponseHeadersPolicyCommand, serializeAws_restXmlUpdateResponseHeadersPolicyCommand, } from "../protocols/Aws_restXml";
6
+ var UpdateResponseHeadersPolicyCommand = (function (_super) {
7
+ __extends(UpdateResponseHeadersPolicyCommand, _super);
8
+ function UpdateResponseHeadersPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateResponseHeadersPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFrontClient";
18
+ var commandName = "UpdateResponseHeadersPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateResponseHeadersPolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateResponseHeadersPolicyResult.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateResponseHeadersPolicyCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restXmlUpdateResponseHeadersPolicyCommand(input, context);
33
+ };
34
+ UpdateResponseHeadersPolicyCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restXmlUpdateResponseHeadersPolicyCommand(output, context);
36
+ };
37
+ return UpdateResponseHeadersPolicyCommand;
38
+ }($Command));
39
+ export { UpdateResponseHeadersPolicyCommand };
@@ -0,0 +1,92 @@
1
+ export * from "./AssociateAliasCommand";
2
+ export * from "./CreateCachePolicyCommand";
3
+ export * from "./CreateCloudFrontOriginAccessIdentityCommand";
4
+ export * from "./CreateDistributionCommand";
5
+ export * from "./CreateDistributionWithTagsCommand";
6
+ export * from "./CreateFieldLevelEncryptionConfigCommand";
7
+ export * from "./CreateFieldLevelEncryptionProfileCommand";
8
+ export * from "./CreateFunctionCommand";
9
+ export * from "./CreateInvalidationCommand";
10
+ export * from "./CreateKeyGroupCommand";
11
+ export * from "./CreateMonitoringSubscriptionCommand";
12
+ export * from "./CreateOriginRequestPolicyCommand";
13
+ export * from "./CreatePublicKeyCommand";
14
+ export * from "./CreateRealtimeLogConfigCommand";
15
+ export * from "./CreateResponseHeadersPolicyCommand";
16
+ export * from "./CreateStreamingDistributionCommand";
17
+ export * from "./CreateStreamingDistributionWithTagsCommand";
18
+ export * from "./DeleteCachePolicyCommand";
19
+ export * from "./DeleteCloudFrontOriginAccessIdentityCommand";
20
+ export * from "./DeleteDistributionCommand";
21
+ export * from "./DeleteFieldLevelEncryptionConfigCommand";
22
+ export * from "./DeleteFieldLevelEncryptionProfileCommand";
23
+ export * from "./DeleteFunctionCommand";
24
+ export * from "./DeleteKeyGroupCommand";
25
+ export * from "./DeleteMonitoringSubscriptionCommand";
26
+ export * from "./DeleteOriginRequestPolicyCommand";
27
+ export * from "./DeletePublicKeyCommand";
28
+ export * from "./DeleteRealtimeLogConfigCommand";
29
+ export * from "./DeleteResponseHeadersPolicyCommand";
30
+ export * from "./DeleteStreamingDistributionCommand";
31
+ export * from "./DescribeFunctionCommand";
32
+ export * from "./GetCachePolicyCommand";
33
+ export * from "./GetCachePolicyConfigCommand";
34
+ export * from "./GetCloudFrontOriginAccessIdentityCommand";
35
+ export * from "./GetCloudFrontOriginAccessIdentityConfigCommand";
36
+ export * from "./GetDistributionCommand";
37
+ export * from "./GetDistributionConfigCommand";
38
+ export * from "./GetFieldLevelEncryptionCommand";
39
+ export * from "./GetFieldLevelEncryptionConfigCommand";
40
+ export * from "./GetFieldLevelEncryptionProfileCommand";
41
+ export * from "./GetFieldLevelEncryptionProfileConfigCommand";
42
+ export * from "./GetFunctionCommand";
43
+ export * from "./GetInvalidationCommand";
44
+ export * from "./GetKeyGroupCommand";
45
+ export * from "./GetKeyGroupConfigCommand";
46
+ export * from "./GetMonitoringSubscriptionCommand";
47
+ export * from "./GetOriginRequestPolicyCommand";
48
+ export * from "./GetOriginRequestPolicyConfigCommand";
49
+ export * from "./GetPublicKeyCommand";
50
+ export * from "./GetPublicKeyConfigCommand";
51
+ export * from "./GetRealtimeLogConfigCommand";
52
+ export * from "./GetResponseHeadersPolicyCommand";
53
+ export * from "./GetResponseHeadersPolicyConfigCommand";
54
+ export * from "./GetStreamingDistributionCommand";
55
+ export * from "./GetStreamingDistributionConfigCommand";
56
+ export * from "./ListCachePoliciesCommand";
57
+ export * from "./ListCloudFrontOriginAccessIdentitiesCommand";
58
+ export * from "./ListConflictingAliasesCommand";
59
+ export * from "./ListDistributionsByCachePolicyIdCommand";
60
+ export * from "./ListDistributionsByKeyGroupCommand";
61
+ export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
62
+ export * from "./ListDistributionsByRealtimeLogConfigCommand";
63
+ export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
64
+ export * from "./ListDistributionsByWebACLIdCommand";
65
+ export * from "./ListDistributionsCommand";
66
+ export * from "./ListFieldLevelEncryptionConfigsCommand";
67
+ export * from "./ListFieldLevelEncryptionProfilesCommand";
68
+ export * from "./ListFunctionsCommand";
69
+ export * from "./ListInvalidationsCommand";
70
+ export * from "./ListKeyGroupsCommand";
71
+ export * from "./ListOriginRequestPoliciesCommand";
72
+ export * from "./ListPublicKeysCommand";
73
+ export * from "./ListRealtimeLogConfigsCommand";
74
+ export * from "./ListResponseHeadersPoliciesCommand";
75
+ export * from "./ListStreamingDistributionsCommand";
76
+ export * from "./ListTagsForResourceCommand";
77
+ export * from "./PublishFunctionCommand";
78
+ export * from "./TagResourceCommand";
79
+ export * from "./TestFunctionCommand";
80
+ export * from "./UntagResourceCommand";
81
+ export * from "./UpdateCachePolicyCommand";
82
+ export * from "./UpdateCloudFrontOriginAccessIdentityCommand";
83
+ export * from "./UpdateDistributionCommand";
84
+ export * from "./UpdateFieldLevelEncryptionConfigCommand";
85
+ export * from "./UpdateFieldLevelEncryptionProfileCommand";
86
+ export * from "./UpdateFunctionCommand";
87
+ export * from "./UpdateKeyGroupCommand";
88
+ export * from "./UpdateOriginRequestPolicyCommand";
89
+ export * from "./UpdatePublicKeyCommand";
90
+ export * from "./UpdateRealtimeLogConfigCommand";
91
+ export * from "./UpdateResponseHeadersPolicyCommand";
92
+ export * from "./UpdateStreamingDistributionCommand";
@@ -2,11 +2,21 @@ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "aws-cn-global": {
5
- hostname: "cloudfront.cn-northwest-1.amazonaws.com.cn",
5
+ variants: [
6
+ {
7
+ hostname: "cloudfront.cn-northwest-1.amazonaws.com.cn",
8
+ tags: [],
9
+ },
10
+ ],
6
11
  signingRegion: "cn-northwest-1",
7
12
  },
8
13
  "aws-global": {
9
- hostname: "cloudfront.amazonaws.com",
14
+ variants: [
15
+ {
16
+ hostname: "cloudfront.amazonaws.com",
17
+ tags: [],
18
+ },
19
+ ],
10
20
  signingRegion: "us-east-1",
11
21
  },
12
22
  };
@@ -36,23 +46,99 @@ var partitionHash = {
36
46
  "us-west-1",
37
47
  "us-west-2",
38
48
  ],
49
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
50
+ variants: [
51
+ {
52
+ hostname: "cloudfront.{region}.amazonaws.com",
53
+ tags: [],
54
+ },
55
+ {
56
+ hostname: "cloudfront-fips.{region}.amazonaws.com",
57
+ tags: ["fips"],
58
+ },
59
+ {
60
+ hostname: "cloudfront-fips.{region}.api.aws",
61
+ tags: ["dualstack", "fips"],
62
+ },
63
+ {
64
+ hostname: "cloudfront.{region}.api.aws",
65
+ tags: ["dualstack"],
66
+ },
67
+ ],
39
68
  endpoint: "aws-global",
40
69
  },
41
70
  "aws-cn": {
42
71
  regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
72
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
73
+ variants: [
74
+ {
75
+ hostname: "cloudfront.{region}.amazonaws.com.cn",
76
+ tags: [],
77
+ },
78
+ {
79
+ hostname: "cloudfront-fips.{region}.amazonaws.com.cn",
80
+ tags: ["fips"],
81
+ },
82
+ {
83
+ hostname: "cloudfront-fips.{region}.api.amazonwebservices.com.cn",
84
+ tags: ["dualstack", "fips"],
85
+ },
86
+ {
87
+ hostname: "cloudfront.{region}.api.amazonwebservices.com.cn",
88
+ tags: ["dualstack"],
89
+ },
90
+ ],
43
91
  endpoint: "aws-cn-global",
44
92
  },
45
93
  "aws-iso": {
46
94
  regions: ["us-iso-east-1", "us-iso-west-1"],
47
- hostname: "cloudfront.{region}.c2s.ic.gov",
95
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
96
+ variants: [
97
+ {
98
+ hostname: "cloudfront.{region}.c2s.ic.gov",
99
+ tags: [],
100
+ },
101
+ {
102
+ hostname: "cloudfront-fips.{region}.c2s.ic.gov",
103
+ tags: ["fips"],
104
+ },
105
+ ],
48
106
  },
49
107
  "aws-iso-b": {
50
108
  regions: ["us-isob-east-1"],
51
- hostname: "cloudfront.{region}.sc2s.sgov.gov",
109
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
110
+ variants: [
111
+ {
112
+ hostname: "cloudfront.{region}.sc2s.sgov.gov",
113
+ tags: [],
114
+ },
115
+ {
116
+ hostname: "cloudfront-fips.{region}.sc2s.sgov.gov",
117
+ tags: ["fips"],
118
+ },
119
+ ],
52
120
  },
53
121
  "aws-us-gov": {
54
122
  regions: ["us-gov-east-1", "us-gov-west-1"],
55
- hostname: "cloudfront.{region}.amazonaws.com",
123
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
124
+ variants: [
125
+ {
126
+ hostname: "cloudfront.{region}.amazonaws.com",
127
+ tags: [],
128
+ },
129
+ {
130
+ hostname: "cloudfront-fips.{region}.amazonaws.com",
131
+ tags: ["fips"],
132
+ },
133
+ {
134
+ hostname: "cloudfront-fips.{region}.api.aws",
135
+ tags: ["dualstack", "fips"],
136
+ },
137
+ {
138
+ hostname: "cloudfront.{region}.api.aws",
139
+ tags: ["dualstack"],
140
+ },
141
+ ],
56
142
  },
57
143
  };
58
144
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
package/dist-es/index.js CHANGED
@@ -1,96 +1,6 @@
1
- export * from "./CloudFrontClient";
2
1
  export * from "./CloudFront";
3
- export * from "./commands/AssociateAliasCommand";
4
- export * from "./commands/CreateCachePolicyCommand";
5
- export * from "./commands/CreateCloudFrontOriginAccessIdentityCommand";
6
- export * from "./commands/CreateDistributionCommand";
7
- export * from "./commands/CreateDistributionWithTagsCommand";
8
- export * from "./commands/CreateFieldLevelEncryptionConfigCommand";
9
- export * from "./commands/CreateFieldLevelEncryptionProfileCommand";
10
- export * from "./commands/CreateFunctionCommand";
11
- export * from "./commands/CreateInvalidationCommand";
12
- export * from "./commands/CreateKeyGroupCommand";
13
- export * from "./commands/CreateMonitoringSubscriptionCommand";
14
- export * from "./commands/CreateOriginRequestPolicyCommand";
15
- export * from "./commands/CreatePublicKeyCommand";
16
- export * from "./commands/CreateRealtimeLogConfigCommand";
17
- export * from "./commands/CreateStreamingDistributionCommand";
18
- export * from "./commands/CreateStreamingDistributionWithTagsCommand";
19
- export * from "./commands/DeleteCachePolicyCommand";
20
- export * from "./commands/DeleteCloudFrontOriginAccessIdentityCommand";
21
- export * from "./commands/DeleteDistributionCommand";
22
- export * from "./commands/DeleteFieldLevelEncryptionConfigCommand";
23
- export * from "./commands/DeleteFieldLevelEncryptionProfileCommand";
24
- export * from "./commands/DeleteFunctionCommand";
25
- export * from "./commands/DeleteKeyGroupCommand";
26
- export * from "./commands/DeleteMonitoringSubscriptionCommand";
27
- export * from "./commands/DeleteOriginRequestPolicyCommand";
28
- export * from "./commands/DeletePublicKeyCommand";
29
- export * from "./commands/DeleteRealtimeLogConfigCommand";
30
- export * from "./commands/DeleteStreamingDistributionCommand";
31
- export * from "./commands/DescribeFunctionCommand";
32
- export * from "./commands/GetCachePolicyCommand";
33
- export * from "./commands/GetCachePolicyConfigCommand";
34
- export * from "./commands/GetCloudFrontOriginAccessIdentityCommand";
35
- export * from "./commands/GetCloudFrontOriginAccessIdentityConfigCommand";
36
- export * from "./commands/GetDistributionCommand";
37
- export * from "./waiters/waitForDistributionDeployed";
38
- export * from "./commands/GetDistributionConfigCommand";
39
- export * from "./commands/GetFieldLevelEncryptionCommand";
40
- export * from "./commands/GetFieldLevelEncryptionConfigCommand";
41
- export * from "./commands/GetFieldLevelEncryptionProfileCommand";
42
- export * from "./commands/GetFieldLevelEncryptionProfileConfigCommand";
43
- export * from "./commands/GetFunctionCommand";
44
- export * from "./commands/GetInvalidationCommand";
45
- export * from "./waiters/waitForInvalidationCompleted";
46
- export * from "./commands/GetKeyGroupCommand";
47
- export * from "./commands/GetKeyGroupConfigCommand";
48
- export * from "./commands/GetMonitoringSubscriptionCommand";
49
- export * from "./commands/GetOriginRequestPolicyCommand";
50
- export * from "./commands/GetOriginRequestPolicyConfigCommand";
51
- export * from "./commands/GetPublicKeyCommand";
52
- export * from "./commands/GetPublicKeyConfigCommand";
53
- export * from "./commands/GetRealtimeLogConfigCommand";
54
- export * from "./commands/GetStreamingDistributionCommand";
55
- export * from "./waiters/waitForStreamingDistributionDeployed";
56
- export * from "./commands/GetStreamingDistributionConfigCommand";
57
- export * from "./commands/ListCachePoliciesCommand";
58
- export * from "./commands/ListCloudFrontOriginAccessIdentitiesCommand";
59
- export * from "./pagination/ListCloudFrontOriginAccessIdentitiesPaginator";
60
- export * from "./commands/ListConflictingAliasesCommand";
61
- export * from "./commands/ListDistributionsCommand";
62
- export * from "./pagination/ListDistributionsPaginator";
63
- export * from "./commands/ListDistributionsByCachePolicyIdCommand";
64
- export * from "./commands/ListDistributionsByKeyGroupCommand";
65
- export * from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
66
- export * from "./commands/ListDistributionsByRealtimeLogConfigCommand";
67
- export * from "./commands/ListDistributionsByWebACLIdCommand";
68
- export * from "./commands/ListFieldLevelEncryptionConfigsCommand";
69
- export * from "./commands/ListFieldLevelEncryptionProfilesCommand";
70
- export * from "./commands/ListFunctionsCommand";
71
- export * from "./commands/ListInvalidationsCommand";
72
- export * from "./pagination/ListInvalidationsPaginator";
73
- export * from "./commands/ListKeyGroupsCommand";
74
- export * from "./commands/ListOriginRequestPoliciesCommand";
75
- export * from "./commands/ListPublicKeysCommand";
76
- export * from "./commands/ListRealtimeLogConfigsCommand";
77
- export * from "./commands/ListStreamingDistributionsCommand";
78
- export * from "./pagination/ListStreamingDistributionsPaginator";
79
- export * from "./commands/ListTagsForResourceCommand";
80
- export * from "./commands/PublishFunctionCommand";
81
- export * from "./commands/TagResourceCommand";
82
- export * from "./commands/TestFunctionCommand";
83
- export * from "./commands/UntagResourceCommand";
84
- export * from "./commands/UpdateCachePolicyCommand";
85
- export * from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
86
- export * from "./commands/UpdateDistributionCommand";
87
- export * from "./commands/UpdateFieldLevelEncryptionConfigCommand";
88
- export * from "./commands/UpdateFieldLevelEncryptionProfileCommand";
89
- export * from "./commands/UpdateFunctionCommand";
90
- export * from "./commands/UpdateKeyGroupCommand";
91
- export * from "./commands/UpdateOriginRequestPolicyCommand";
92
- export * from "./commands/UpdatePublicKeyCommand";
93
- export * from "./commands/UpdateRealtimeLogConfigCommand";
94
- export * from "./commands/UpdateStreamingDistributionCommand";
95
- export * from "./pagination/Interfaces";
96
- export * from "./models/index";
2
+ export * from "./CloudFrontClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
@@ -1,5 +1,16 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ export var ResponseHeadersPolicyAccessControlAllowMethodsValues;
4
+ (function (ResponseHeadersPolicyAccessControlAllowMethodsValues) {
5
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["ALL"] = "ALL";
6
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["DELETE"] = "DELETE";
7
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["GET"] = "GET";
8
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["HEAD"] = "HEAD";
9
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["OPTIONS"] = "OPTIONS";
10
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["PATCH"] = "PATCH";
11
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["POST"] = "POST";
12
+ ResponseHeadersPolicyAccessControlAllowMethodsValues["PUT"] = "PUT";
13
+ })(ResponseHeadersPolicyAccessControlAllowMethodsValues || (ResponseHeadersPolicyAccessControlAllowMethodsValues = {}));
3
14
  export var AccessDenied;
4
15
  (function (AccessDenied) {
5
16
  AccessDenied.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -266,11 +277,11 @@ export var OriginGroups;
266
277
  })(OriginGroups || (OriginGroups = {}));
267
278
  export var OriginCustomHeader;
268
279
  (function (OriginCustomHeader) {
269
- OriginCustomHeader.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
280
+ OriginCustomHeader.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.HeaderValue && { HeaderValue: SENSITIVE_STRING }))); };
270
281
  })(OriginCustomHeader || (OriginCustomHeader = {}));
271
282
  export var CustomHeaders;
272
283
  (function (CustomHeaders) {
273
- CustomHeaders.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
284
+ CustomHeaders.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Items && { Items: obj.Items.map(function (item) { return OriginCustomHeader.filterSensitiveLog(item); }) }))); };
274
285
  })(CustomHeaders || (CustomHeaders = {}));
275
286
  export var OriginSslProtocols;
276
287
  (function (OriginSslProtocols) {
@@ -290,7 +301,7 @@ export var S3OriginConfig;
290
301
  })(S3OriginConfig || (S3OriginConfig = {}));
291
302
  export var Origin;
292
303
  (function (Origin) {
293
- Origin.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
304
+ Origin.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CustomHeaders && { CustomHeaders: CustomHeaders.filterSensitiveLog(obj.CustomHeaders) }))); };
294
305
  })(Origin || (Origin = {}));
295
306
  export var Origins;
296
307
  (function (Origins) {
@@ -440,6 +451,10 @@ export var NoSuchRealtimeLogConfig;
440
451
  (function (NoSuchRealtimeLogConfig) {
441
452
  NoSuchRealtimeLogConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
442
453
  })(NoSuchRealtimeLogConfig || (NoSuchRealtimeLogConfig = {}));
454
+ export var NoSuchResponseHeadersPolicy;
455
+ (function (NoSuchResponseHeadersPolicy) {
456
+ NoSuchResponseHeadersPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
457
+ })(NoSuchResponseHeadersPolicy || (NoSuchResponseHeadersPolicy = {}));
443
458
  export var RealtimeLogConfigOwnerMismatch;
444
459
  (function (RealtimeLogConfigOwnerMismatch) {
445
460
  RealtimeLogConfigOwnerMismatch.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -476,6 +491,10 @@ export var TooManyDistributionsAssociatedToOriginRequestPolicy;
476
491
  (function (TooManyDistributionsAssociatedToOriginRequestPolicy) {
477
492
  TooManyDistributionsAssociatedToOriginRequestPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
478
493
  })(TooManyDistributionsAssociatedToOriginRequestPolicy || (TooManyDistributionsAssociatedToOriginRequestPolicy = {}));
494
+ export var TooManyDistributionsAssociatedToResponseHeadersPolicy;
495
+ (function (TooManyDistributionsAssociatedToResponseHeadersPolicy) {
496
+ TooManyDistributionsAssociatedToResponseHeadersPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
497
+ })(TooManyDistributionsAssociatedToResponseHeadersPolicy || (TooManyDistributionsAssociatedToResponseHeadersPolicy = {}));
479
498
  export var TooManyDistributionsWithFunctionAssociations;
480
499
  (function (TooManyDistributionsWithFunctionAssociations) {
481
500
  TooManyDistributionsWithFunctionAssociations.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -894,6 +913,106 @@ export var TooManyRealtimeLogConfigs;
894
913
  (function (TooManyRealtimeLogConfigs) {
895
914
  TooManyRealtimeLogConfigs.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
896
915
  })(TooManyRealtimeLogConfigs || (TooManyRealtimeLogConfigs = {}));
916
+ export var ResponseHeadersPolicyAccessControlAllowHeaders;
917
+ (function (ResponseHeadersPolicyAccessControlAllowHeaders) {
918
+ ResponseHeadersPolicyAccessControlAllowHeaders.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
919
+ })(ResponseHeadersPolicyAccessControlAllowHeaders || (ResponseHeadersPolicyAccessControlAllowHeaders = {}));
920
+ export var ResponseHeadersPolicyAccessControlAllowMethods;
921
+ (function (ResponseHeadersPolicyAccessControlAllowMethods) {
922
+ ResponseHeadersPolicyAccessControlAllowMethods.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
923
+ })(ResponseHeadersPolicyAccessControlAllowMethods || (ResponseHeadersPolicyAccessControlAllowMethods = {}));
924
+ export var ResponseHeadersPolicyAccessControlAllowOrigins;
925
+ (function (ResponseHeadersPolicyAccessControlAllowOrigins) {
926
+ ResponseHeadersPolicyAccessControlAllowOrigins.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
927
+ })(ResponseHeadersPolicyAccessControlAllowOrigins || (ResponseHeadersPolicyAccessControlAllowOrigins = {}));
928
+ export var ResponseHeadersPolicyAccessControlExposeHeaders;
929
+ (function (ResponseHeadersPolicyAccessControlExposeHeaders) {
930
+ ResponseHeadersPolicyAccessControlExposeHeaders.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
931
+ })(ResponseHeadersPolicyAccessControlExposeHeaders || (ResponseHeadersPolicyAccessControlExposeHeaders = {}));
932
+ export var ResponseHeadersPolicyCorsConfig;
933
+ (function (ResponseHeadersPolicyCorsConfig) {
934
+ ResponseHeadersPolicyCorsConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
935
+ })(ResponseHeadersPolicyCorsConfig || (ResponseHeadersPolicyCorsConfig = {}));
936
+ export var ResponseHeadersPolicyCustomHeader;
937
+ (function (ResponseHeadersPolicyCustomHeader) {
938
+ ResponseHeadersPolicyCustomHeader.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
939
+ })(ResponseHeadersPolicyCustomHeader || (ResponseHeadersPolicyCustomHeader = {}));
940
+ export var ResponseHeadersPolicyCustomHeadersConfig;
941
+ (function (ResponseHeadersPolicyCustomHeadersConfig) {
942
+ ResponseHeadersPolicyCustomHeadersConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
943
+ })(ResponseHeadersPolicyCustomHeadersConfig || (ResponseHeadersPolicyCustomHeadersConfig = {}));
944
+ export var ResponseHeadersPolicyContentSecurityPolicy;
945
+ (function (ResponseHeadersPolicyContentSecurityPolicy) {
946
+ ResponseHeadersPolicyContentSecurityPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
947
+ })(ResponseHeadersPolicyContentSecurityPolicy || (ResponseHeadersPolicyContentSecurityPolicy = {}));
948
+ export var ResponseHeadersPolicyContentTypeOptions;
949
+ (function (ResponseHeadersPolicyContentTypeOptions) {
950
+ ResponseHeadersPolicyContentTypeOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
951
+ })(ResponseHeadersPolicyContentTypeOptions || (ResponseHeadersPolicyContentTypeOptions = {}));
952
+ export var FrameOptionsList;
953
+ (function (FrameOptionsList) {
954
+ FrameOptionsList["DENY"] = "DENY";
955
+ FrameOptionsList["SAMEORIGIN"] = "SAMEORIGIN";
956
+ })(FrameOptionsList || (FrameOptionsList = {}));
957
+ export var ResponseHeadersPolicyFrameOptions;
958
+ (function (ResponseHeadersPolicyFrameOptions) {
959
+ ResponseHeadersPolicyFrameOptions.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
960
+ })(ResponseHeadersPolicyFrameOptions || (ResponseHeadersPolicyFrameOptions = {}));
961
+ export var ReferrerPolicyList;
962
+ (function (ReferrerPolicyList) {
963
+ ReferrerPolicyList["no_referrer"] = "no-referrer";
964
+ ReferrerPolicyList["no_referrer_when_downgrade"] = "no-referrer-when-downgrade";
965
+ ReferrerPolicyList["origin"] = "origin";
966
+ ReferrerPolicyList["origin_when_cross_origin"] = "origin-when-cross-origin";
967
+ ReferrerPolicyList["same_origin"] = "same-origin";
968
+ ReferrerPolicyList["strict_origin"] = "strict-origin";
969
+ ReferrerPolicyList["strict_origin_when_cross_origin"] = "strict-origin-when-cross-origin";
970
+ ReferrerPolicyList["unsafe_url"] = "unsafe-url";
971
+ })(ReferrerPolicyList || (ReferrerPolicyList = {}));
972
+ export var ResponseHeadersPolicyReferrerPolicy;
973
+ (function (ResponseHeadersPolicyReferrerPolicy) {
974
+ ResponseHeadersPolicyReferrerPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
975
+ })(ResponseHeadersPolicyReferrerPolicy || (ResponseHeadersPolicyReferrerPolicy = {}));
976
+ export var ResponseHeadersPolicyStrictTransportSecurity;
977
+ (function (ResponseHeadersPolicyStrictTransportSecurity) {
978
+ ResponseHeadersPolicyStrictTransportSecurity.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
979
+ })(ResponseHeadersPolicyStrictTransportSecurity || (ResponseHeadersPolicyStrictTransportSecurity = {}));
980
+ export var ResponseHeadersPolicyXSSProtection;
981
+ (function (ResponseHeadersPolicyXSSProtection) {
982
+ ResponseHeadersPolicyXSSProtection.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
983
+ })(ResponseHeadersPolicyXSSProtection || (ResponseHeadersPolicyXSSProtection = {}));
984
+ export var ResponseHeadersPolicySecurityHeadersConfig;
985
+ (function (ResponseHeadersPolicySecurityHeadersConfig) {
986
+ ResponseHeadersPolicySecurityHeadersConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
987
+ })(ResponseHeadersPolicySecurityHeadersConfig || (ResponseHeadersPolicySecurityHeadersConfig = {}));
988
+ export var ResponseHeadersPolicyConfig;
989
+ (function (ResponseHeadersPolicyConfig) {
990
+ ResponseHeadersPolicyConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
991
+ })(ResponseHeadersPolicyConfig || (ResponseHeadersPolicyConfig = {}));
992
+ export var CreateResponseHeadersPolicyRequest;
993
+ (function (CreateResponseHeadersPolicyRequest) {
994
+ CreateResponseHeadersPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
995
+ })(CreateResponseHeadersPolicyRequest || (CreateResponseHeadersPolicyRequest = {}));
996
+ export var ResponseHeadersPolicy;
997
+ (function (ResponseHeadersPolicy) {
998
+ ResponseHeadersPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
999
+ })(ResponseHeadersPolicy || (ResponseHeadersPolicy = {}));
1000
+ export var CreateResponseHeadersPolicyResult;
1001
+ (function (CreateResponseHeadersPolicyResult) {
1002
+ CreateResponseHeadersPolicyResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1003
+ })(CreateResponseHeadersPolicyResult || (CreateResponseHeadersPolicyResult = {}));
1004
+ export var ResponseHeadersPolicyAlreadyExists;
1005
+ (function (ResponseHeadersPolicyAlreadyExists) {
1006
+ ResponseHeadersPolicyAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1007
+ })(ResponseHeadersPolicyAlreadyExists || (ResponseHeadersPolicyAlreadyExists = {}));
1008
+ export var TooManyCustomHeadersInResponseHeadersPolicy;
1009
+ (function (TooManyCustomHeadersInResponseHeadersPolicy) {
1010
+ TooManyCustomHeadersInResponseHeadersPolicy.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1011
+ })(TooManyCustomHeadersInResponseHeadersPolicy || (TooManyCustomHeadersInResponseHeadersPolicy = {}));
1012
+ export var TooManyResponseHeadersPolicies;
1013
+ (function (TooManyResponseHeadersPolicies) {
1014
+ TooManyResponseHeadersPolicies.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1015
+ })(TooManyResponseHeadersPolicies || (TooManyResponseHeadersPolicies = {}));
897
1016
  export var StreamingLoggingConfig;
898
1017
  (function (StreamingLoggingConfig) {
899
1018
  StreamingLoggingConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1022,109 +1141,3 @@ export var DeleteMonitoringSubscriptionRequest;
1022
1141
  (function (DeleteMonitoringSubscriptionRequest) {
1023
1142
  DeleteMonitoringSubscriptionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1024
1143
  })(DeleteMonitoringSubscriptionRequest || (DeleteMonitoringSubscriptionRequest = {}));
1025
- export var DeleteMonitoringSubscriptionResult;
1026
- (function (DeleteMonitoringSubscriptionResult) {
1027
- DeleteMonitoringSubscriptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1028
- })(DeleteMonitoringSubscriptionResult || (DeleteMonitoringSubscriptionResult = {}));
1029
- export var DeleteOriginRequestPolicyRequest;
1030
- (function (DeleteOriginRequestPolicyRequest) {
1031
- DeleteOriginRequestPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1032
- })(DeleteOriginRequestPolicyRequest || (DeleteOriginRequestPolicyRequest = {}));
1033
- export var OriginRequestPolicyInUse;
1034
- (function (OriginRequestPolicyInUse) {
1035
- OriginRequestPolicyInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1036
- })(OriginRequestPolicyInUse || (OriginRequestPolicyInUse = {}));
1037
- export var DeletePublicKeyRequest;
1038
- (function (DeletePublicKeyRequest) {
1039
- DeletePublicKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1040
- })(DeletePublicKeyRequest || (DeletePublicKeyRequest = {}));
1041
- export var PublicKeyInUse;
1042
- (function (PublicKeyInUse) {
1043
- PublicKeyInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1044
- })(PublicKeyInUse || (PublicKeyInUse = {}));
1045
- export var DeleteRealtimeLogConfigRequest;
1046
- (function (DeleteRealtimeLogConfigRequest) {
1047
- DeleteRealtimeLogConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1048
- })(DeleteRealtimeLogConfigRequest || (DeleteRealtimeLogConfigRequest = {}));
1049
- export var RealtimeLogConfigInUse;
1050
- (function (RealtimeLogConfigInUse) {
1051
- RealtimeLogConfigInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1052
- })(RealtimeLogConfigInUse || (RealtimeLogConfigInUse = {}));
1053
- export var DeleteStreamingDistributionRequest;
1054
- (function (DeleteStreamingDistributionRequest) {
1055
- DeleteStreamingDistributionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1056
- })(DeleteStreamingDistributionRequest || (DeleteStreamingDistributionRequest = {}));
1057
- export var NoSuchStreamingDistribution;
1058
- (function (NoSuchStreamingDistribution) {
1059
- NoSuchStreamingDistribution.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1060
- })(NoSuchStreamingDistribution || (NoSuchStreamingDistribution = {}));
1061
- export var StreamingDistributionNotDisabled;
1062
- (function (StreamingDistributionNotDisabled) {
1063
- StreamingDistributionNotDisabled.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1064
- })(StreamingDistributionNotDisabled || (StreamingDistributionNotDisabled = {}));
1065
- export var DescribeFunctionRequest;
1066
- (function (DescribeFunctionRequest) {
1067
- DescribeFunctionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1068
- })(DescribeFunctionRequest || (DescribeFunctionRequest = {}));
1069
- export var DescribeFunctionResult;
1070
- (function (DescribeFunctionResult) {
1071
- DescribeFunctionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1072
- })(DescribeFunctionResult || (DescribeFunctionResult = {}));
1073
- export var GetCachePolicyRequest;
1074
- (function (GetCachePolicyRequest) {
1075
- GetCachePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1076
- })(GetCachePolicyRequest || (GetCachePolicyRequest = {}));
1077
- export var GetCachePolicyResult;
1078
- (function (GetCachePolicyResult) {
1079
- GetCachePolicyResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1080
- })(GetCachePolicyResult || (GetCachePolicyResult = {}));
1081
- export var GetCachePolicyConfigRequest;
1082
- (function (GetCachePolicyConfigRequest) {
1083
- GetCachePolicyConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1084
- })(GetCachePolicyConfigRequest || (GetCachePolicyConfigRequest = {}));
1085
- export var GetCachePolicyConfigResult;
1086
- (function (GetCachePolicyConfigResult) {
1087
- GetCachePolicyConfigResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1088
- })(GetCachePolicyConfigResult || (GetCachePolicyConfigResult = {}));
1089
- export var GetCloudFrontOriginAccessIdentityRequest;
1090
- (function (GetCloudFrontOriginAccessIdentityRequest) {
1091
- GetCloudFrontOriginAccessIdentityRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1092
- })(GetCloudFrontOriginAccessIdentityRequest || (GetCloudFrontOriginAccessIdentityRequest = {}));
1093
- export var GetCloudFrontOriginAccessIdentityResult;
1094
- (function (GetCloudFrontOriginAccessIdentityResult) {
1095
- GetCloudFrontOriginAccessIdentityResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1096
- })(GetCloudFrontOriginAccessIdentityResult || (GetCloudFrontOriginAccessIdentityResult = {}));
1097
- export var GetCloudFrontOriginAccessIdentityConfigRequest;
1098
- (function (GetCloudFrontOriginAccessIdentityConfigRequest) {
1099
- GetCloudFrontOriginAccessIdentityConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1100
- })(GetCloudFrontOriginAccessIdentityConfigRequest || (GetCloudFrontOriginAccessIdentityConfigRequest = {}));
1101
- export var GetCloudFrontOriginAccessIdentityConfigResult;
1102
- (function (GetCloudFrontOriginAccessIdentityConfigResult) {
1103
- GetCloudFrontOriginAccessIdentityConfigResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1104
- })(GetCloudFrontOriginAccessIdentityConfigResult || (GetCloudFrontOriginAccessIdentityConfigResult = {}));
1105
- export var GetDistributionRequest;
1106
- (function (GetDistributionRequest) {
1107
- GetDistributionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1108
- })(GetDistributionRequest || (GetDistributionRequest = {}));
1109
- export var GetDistributionResult;
1110
- (function (GetDistributionResult) {
1111
- GetDistributionResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Distribution && { Distribution: Distribution.filterSensitiveLog(obj.Distribution) }))); };
1112
- })(GetDistributionResult || (GetDistributionResult = {}));
1113
- export var GetDistributionConfigRequest;
1114
- (function (GetDistributionConfigRequest) {
1115
- GetDistributionConfigRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1116
- })(GetDistributionConfigRequest || (GetDistributionConfigRequest = {}));
1117
- export var GetDistributionConfigResult;
1118
- (function (GetDistributionConfigResult) {
1119
- GetDistributionConfigResult.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DistributionConfig && {
1120
- DistributionConfig: DistributionConfig.filterSensitiveLog(obj.DistributionConfig),
1121
- }))); };
1122
- })(GetDistributionConfigResult || (GetDistributionConfigResult = {}));
1123
- export var GetFieldLevelEncryptionRequest;
1124
- (function (GetFieldLevelEncryptionRequest) {
1125
- GetFieldLevelEncryptionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1126
- })(GetFieldLevelEncryptionRequest || (GetFieldLevelEncryptionRequest = {}));
1127
- export var GetFieldLevelEncryptionResult;
1128
- (function (GetFieldLevelEncryptionResult) {
1129
- GetFieldLevelEncryptionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1130
- })(GetFieldLevelEncryptionResult || (GetFieldLevelEncryptionResult = {}));