@aws-sdk/client-cloudfront 3.489.0 → 3.495.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 (135) hide show
  1. package/dist-cjs/CloudFront.js +1 -233
  2. package/dist-cjs/CloudFrontClient.js +1 -43
  3. package/dist-cjs/commands/AssociateAliasCommand.js +1 -28
  4. package/dist-cjs/commands/CopyDistributionCommand.js +1 -29
  5. package/dist-cjs/commands/CreateCachePolicyCommand.js +1 -28
  6. package/dist-cjs/commands/CreateCloudFrontOriginAccessIdentityCommand.js +1 -28
  7. package/dist-cjs/commands/CreateContinuousDeploymentPolicyCommand.js +1 -28
  8. package/dist-cjs/commands/CreateDistributionCommand.js +1 -29
  9. package/dist-cjs/commands/CreateDistributionWithTagsCommand.js +1 -29
  10. package/dist-cjs/commands/CreateFieldLevelEncryptionConfigCommand.js +1 -28
  11. package/dist-cjs/commands/CreateFieldLevelEncryptionProfileCommand.js +1 -28
  12. package/dist-cjs/commands/CreateFunctionCommand.js +1 -29
  13. package/dist-cjs/commands/CreateInvalidationCommand.js +1 -28
  14. package/dist-cjs/commands/CreateKeyGroupCommand.js +1 -28
  15. package/dist-cjs/commands/CreateKeyValueStoreCommand.js +1 -28
  16. package/dist-cjs/commands/CreateMonitoringSubscriptionCommand.js +1 -28
  17. package/dist-cjs/commands/CreateOriginAccessControlCommand.js +1 -28
  18. package/dist-cjs/commands/CreateOriginRequestPolicyCommand.js +1 -28
  19. package/dist-cjs/commands/CreatePublicKeyCommand.js +1 -28
  20. package/dist-cjs/commands/CreateRealtimeLogConfigCommand.js +1 -28
  21. package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +1 -28
  22. package/dist-cjs/commands/CreateStreamingDistributionCommand.js +1 -28
  23. package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +1 -28
  24. package/dist-cjs/commands/DeleteCachePolicyCommand.js +1 -28
  25. package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +1 -28
  26. package/dist-cjs/commands/DeleteContinuousDeploymentPolicyCommand.js +1 -28
  27. package/dist-cjs/commands/DeleteDistributionCommand.js +1 -28
  28. package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +1 -28
  29. package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +1 -28
  30. package/dist-cjs/commands/DeleteFunctionCommand.js +1 -28
  31. package/dist-cjs/commands/DeleteKeyGroupCommand.js +1 -28
  32. package/dist-cjs/commands/DeleteKeyValueStoreCommand.js +1 -28
  33. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +1 -28
  34. package/dist-cjs/commands/DeleteOriginAccessControlCommand.js +1 -28
  35. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +1 -28
  36. package/dist-cjs/commands/DeletePublicKeyCommand.js +1 -28
  37. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +1 -28
  38. package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +1 -28
  39. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +1 -28
  40. package/dist-cjs/commands/DescribeFunctionCommand.js +1 -28
  41. package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +1 -28
  42. package/dist-cjs/commands/GetCachePolicyCommand.js +1 -28
  43. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +1 -28
  44. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +1 -28
  45. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +1 -28
  46. package/dist-cjs/commands/GetContinuousDeploymentPolicyCommand.js +1 -28
  47. package/dist-cjs/commands/GetContinuousDeploymentPolicyConfigCommand.js +1 -28
  48. package/dist-cjs/commands/GetDistributionCommand.js +1 -29
  49. package/dist-cjs/commands/GetDistributionConfigCommand.js +1 -29
  50. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +1 -28
  51. package/dist-cjs/commands/GetFieldLevelEncryptionConfigCommand.js +1 -28
  52. package/dist-cjs/commands/GetFieldLevelEncryptionProfileCommand.js +1 -28
  53. package/dist-cjs/commands/GetFieldLevelEncryptionProfileConfigCommand.js +1 -28
  54. package/dist-cjs/commands/GetFunctionCommand.js +1 -29
  55. package/dist-cjs/commands/GetInvalidationCommand.js +1 -28
  56. package/dist-cjs/commands/GetKeyGroupCommand.js +1 -28
  57. package/dist-cjs/commands/GetKeyGroupConfigCommand.js +1 -28
  58. package/dist-cjs/commands/GetMonitoringSubscriptionCommand.js +1 -28
  59. package/dist-cjs/commands/GetOriginAccessControlCommand.js +1 -28
  60. package/dist-cjs/commands/GetOriginAccessControlConfigCommand.js +1 -28
  61. package/dist-cjs/commands/GetOriginRequestPolicyCommand.js +1 -28
  62. package/dist-cjs/commands/GetOriginRequestPolicyConfigCommand.js +1 -28
  63. package/dist-cjs/commands/GetPublicKeyCommand.js +1 -28
  64. package/dist-cjs/commands/GetPublicKeyConfigCommand.js +1 -28
  65. package/dist-cjs/commands/GetRealtimeLogConfigCommand.js +1 -28
  66. package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +1 -28
  67. package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +1 -28
  68. package/dist-cjs/commands/GetStreamingDistributionCommand.js +1 -28
  69. package/dist-cjs/commands/GetStreamingDistributionConfigCommand.js +1 -28
  70. package/dist-cjs/commands/ListCachePoliciesCommand.js +1 -28
  71. package/dist-cjs/commands/ListCloudFrontOriginAccessIdentitiesCommand.js +1 -28
  72. package/dist-cjs/commands/ListConflictingAliasesCommand.js +1 -28
  73. package/dist-cjs/commands/ListContinuousDeploymentPoliciesCommand.js +1 -28
  74. package/dist-cjs/commands/ListDistributionsByCachePolicyIdCommand.js +1 -28
  75. package/dist-cjs/commands/ListDistributionsByKeyGroupCommand.js +1 -28
  76. package/dist-cjs/commands/ListDistributionsByOriginRequestPolicyIdCommand.js +1 -28
  77. package/dist-cjs/commands/ListDistributionsByRealtimeLogConfigCommand.js +1 -29
  78. package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +1 -28
  79. package/dist-cjs/commands/ListDistributionsByWebACLIdCommand.js +1 -29
  80. package/dist-cjs/commands/ListDistributionsCommand.js +1 -29
  81. package/dist-cjs/commands/ListFieldLevelEncryptionConfigsCommand.js +1 -28
  82. package/dist-cjs/commands/ListFieldLevelEncryptionProfilesCommand.js +1 -28
  83. package/dist-cjs/commands/ListFunctionsCommand.js +1 -28
  84. package/dist-cjs/commands/ListInvalidationsCommand.js +1 -28
  85. package/dist-cjs/commands/ListKeyGroupsCommand.js +1 -28
  86. package/dist-cjs/commands/ListKeyValueStoresCommand.js +1 -28
  87. package/dist-cjs/commands/ListOriginAccessControlsCommand.js +1 -28
  88. package/dist-cjs/commands/ListOriginRequestPoliciesCommand.js +1 -28
  89. package/dist-cjs/commands/ListPublicKeysCommand.js +1 -28
  90. package/dist-cjs/commands/ListRealtimeLogConfigsCommand.js +1 -28
  91. package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +1 -28
  92. package/dist-cjs/commands/ListStreamingDistributionsCommand.js +1 -28
  93. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  94. package/dist-cjs/commands/PublishFunctionCommand.js +1 -28
  95. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  96. package/dist-cjs/commands/TestFunctionCommand.js +1 -29
  97. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  98. package/dist-cjs/commands/UpdateCachePolicyCommand.js +1 -28
  99. package/dist-cjs/commands/UpdateCloudFrontOriginAccessIdentityCommand.js +1 -28
  100. package/dist-cjs/commands/UpdateContinuousDeploymentPolicyCommand.js +1 -28
  101. package/dist-cjs/commands/UpdateDistributionCommand.js +1 -29
  102. package/dist-cjs/commands/UpdateDistributionWithStagingConfigCommand.js +1 -29
  103. package/dist-cjs/commands/UpdateFieldLevelEncryptionConfigCommand.js +1 -28
  104. package/dist-cjs/commands/UpdateFieldLevelEncryptionProfileCommand.js +1 -28
  105. package/dist-cjs/commands/UpdateFunctionCommand.js +1 -29
  106. package/dist-cjs/commands/UpdateKeyGroupCommand.js +1 -28
  107. package/dist-cjs/commands/UpdateKeyValueStoreCommand.js +1 -28
  108. package/dist-cjs/commands/UpdateOriginAccessControlCommand.js +1 -28
  109. package/dist-cjs/commands/UpdateOriginRequestPolicyCommand.js +1 -28
  110. package/dist-cjs/commands/UpdatePublicKeyCommand.js +1 -28
  111. package/dist-cjs/commands/UpdateRealtimeLogConfigCommand.js +1 -28
  112. package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +1 -28
  113. package/dist-cjs/commands/UpdateStreamingDistributionCommand.js +1 -28
  114. package/dist-cjs/commands/index.js +1 -114
  115. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  116. package/dist-cjs/extensionConfiguration.js +1 -2
  117. package/dist-cjs/index.js +19312 -12
  118. package/dist-cjs/models/CloudFrontServiceException.js +1 -12
  119. package/dist-cjs/models/index.js +1 -5
  120. package/dist-cjs/models/models_0.js +1 -1899
  121. package/dist-cjs/models/models_1.js +1 -520
  122. package/dist-cjs/pagination/Interfaces.js +1 -2
  123. package/dist-cjs/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.js +1 -7
  124. package/dist-cjs/pagination/ListDistributionsPaginator.js +1 -7
  125. package/dist-cjs/pagination/ListInvalidationsPaginator.js +1 -7
  126. package/dist-cjs/pagination/ListKeyValueStoresPaginator.js +1 -7
  127. package/dist-cjs/pagination/ListStreamingDistributionsPaginator.js +1 -7
  128. package/dist-cjs/pagination/index.js +1 -9
  129. package/dist-cjs/protocols/Aws_restXml.js +1 -13883
  130. package/dist-cjs/runtimeExtensions.js +1 -22
  131. package/dist-cjs/waiters/index.js +1 -6
  132. package/dist-cjs/waiters/waitForDistributionDeployed.js +1 -36
  133. package/dist-cjs/waiters/waitForInvalidationCompleted.js +1 -36
  134. package/dist-cjs/waiters/waitForStreamingDistributionDeployed.js +1 -36
  135. package/package.json +43 -43
@@ -1,520 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateFunctionRequestFilterSensitiveLog = exports.UpdateDistributionWithStagingConfigResultFilterSensitiveLog = exports.UpdateDistributionResultFilterSensitiveLog = exports.UpdateDistributionRequestFilterSensitiveLog = exports.TestFunctionResultFilterSensitiveLog = exports.TestResultFilterSensitiveLog = exports.TestFunctionRequestFilterSensitiveLog = exports.ListDistributionsByWebACLIdResultFilterSensitiveLog = exports.ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = exports.ListDistributionsResultFilterSensitiveLog = exports.DistributionListFilterSensitiveLog = exports.DistributionSummaryFilterSensitiveLog = exports.GetFunctionResultFilterSensitiveLog = exports.GetDistributionConfigResultFilterSensitiveLog = exports.GetDistributionResultFilterSensitiveLog = exports.TestFunctionFailed = exports.ResponseHeadersPolicyType = exports.OriginRequestPolicyType = exports.NoSuchInvalidation = exports.StreamingDistributionNotDisabled = exports.NoSuchStreamingDistribution = exports.ResponseHeadersPolicyInUse = exports.RealtimeLogConfigInUse = exports.PublicKeyInUse = exports.OriginRequestPolicyInUse = exports.OriginAccessControlInUse = exports.NoSuchOriginAccessControl = exports.NoSuchMonitoringSubscription = exports.EntityNotFound = exports.ResourceInUse = exports.NoSuchResource = exports.NoSuchFunctionExists = exports.FunctionInUse = exports.FieldLevelEncryptionProfileInUse = exports.FieldLevelEncryptionConfigInUse = exports.DistributionNotDisabled = exports.NoSuchCloudFrontOriginAccessIdentity = exports.CloudFrontOriginAccessIdentityInUse = exports.IllegalDelete = exports.TooManyStreamingDistributions = exports.TooManyStreamingDistributionCNAMEs = exports.StreamingDistributionAlreadyExists = exports.TooManyResponseHeadersPolicies = exports.TooManyRemoveHeadersInResponseHeadersPolicy = exports.TooManyCustomHeadersInResponseHeadersPolicy = exports.TooLongCSPInResponseHeadersPolicy = exports.ResponseHeadersPolicyAlreadyExists = exports.ReferrerPolicyList = exports.FrameOptionsList = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const CloudFrontServiceException_1 = require("./CloudFrontServiceException");
6
- const models_0_1 = require("./models_0");
7
- exports.FrameOptionsList = {
8
- DENY: "DENY",
9
- SAMEORIGIN: "SAMEORIGIN",
10
- };
11
- exports.ReferrerPolicyList = {
12
- no_referrer: "no-referrer",
13
- no_referrer_when_downgrade: "no-referrer-when-downgrade",
14
- origin: "origin",
15
- origin_when_cross_origin: "origin-when-cross-origin",
16
- same_origin: "same-origin",
17
- strict_origin: "strict-origin",
18
- strict_origin_when_cross_origin: "strict-origin-when-cross-origin",
19
- unsafe_url: "unsafe-url",
20
- };
21
- class ResponseHeadersPolicyAlreadyExists extends CloudFrontServiceException_1.CloudFrontServiceException {
22
- constructor(opts) {
23
- super({
24
- name: "ResponseHeadersPolicyAlreadyExists",
25
- $fault: "client",
26
- ...opts,
27
- });
28
- this.name = "ResponseHeadersPolicyAlreadyExists";
29
- this.$fault = "client";
30
- Object.setPrototypeOf(this, ResponseHeadersPolicyAlreadyExists.prototype);
31
- this.Message = opts.Message;
32
- }
33
- }
34
- exports.ResponseHeadersPolicyAlreadyExists = ResponseHeadersPolicyAlreadyExists;
35
- class TooLongCSPInResponseHeadersPolicy extends CloudFrontServiceException_1.CloudFrontServiceException {
36
- constructor(opts) {
37
- super({
38
- name: "TooLongCSPInResponseHeadersPolicy",
39
- $fault: "client",
40
- ...opts,
41
- });
42
- this.name = "TooLongCSPInResponseHeadersPolicy";
43
- this.$fault = "client";
44
- Object.setPrototypeOf(this, TooLongCSPInResponseHeadersPolicy.prototype);
45
- this.Message = opts.Message;
46
- }
47
- }
48
- exports.TooLongCSPInResponseHeadersPolicy = TooLongCSPInResponseHeadersPolicy;
49
- class TooManyCustomHeadersInResponseHeadersPolicy extends CloudFrontServiceException_1.CloudFrontServiceException {
50
- constructor(opts) {
51
- super({
52
- name: "TooManyCustomHeadersInResponseHeadersPolicy",
53
- $fault: "client",
54
- ...opts,
55
- });
56
- this.name = "TooManyCustomHeadersInResponseHeadersPolicy";
57
- this.$fault = "client";
58
- Object.setPrototypeOf(this, TooManyCustomHeadersInResponseHeadersPolicy.prototype);
59
- this.Message = opts.Message;
60
- }
61
- }
62
- exports.TooManyCustomHeadersInResponseHeadersPolicy = TooManyCustomHeadersInResponseHeadersPolicy;
63
- class TooManyRemoveHeadersInResponseHeadersPolicy extends CloudFrontServiceException_1.CloudFrontServiceException {
64
- constructor(opts) {
65
- super({
66
- name: "TooManyRemoveHeadersInResponseHeadersPolicy",
67
- $fault: "client",
68
- ...opts,
69
- });
70
- this.name = "TooManyRemoveHeadersInResponseHeadersPolicy";
71
- this.$fault = "client";
72
- Object.setPrototypeOf(this, TooManyRemoveHeadersInResponseHeadersPolicy.prototype);
73
- this.Message = opts.Message;
74
- }
75
- }
76
- exports.TooManyRemoveHeadersInResponseHeadersPolicy = TooManyRemoveHeadersInResponseHeadersPolicy;
77
- class TooManyResponseHeadersPolicies extends CloudFrontServiceException_1.CloudFrontServiceException {
78
- constructor(opts) {
79
- super({
80
- name: "TooManyResponseHeadersPolicies",
81
- $fault: "client",
82
- ...opts,
83
- });
84
- this.name = "TooManyResponseHeadersPolicies";
85
- this.$fault = "client";
86
- Object.setPrototypeOf(this, TooManyResponseHeadersPolicies.prototype);
87
- this.Message = opts.Message;
88
- }
89
- }
90
- exports.TooManyResponseHeadersPolicies = TooManyResponseHeadersPolicies;
91
- class StreamingDistributionAlreadyExists extends CloudFrontServiceException_1.CloudFrontServiceException {
92
- constructor(opts) {
93
- super({
94
- name: "StreamingDistributionAlreadyExists",
95
- $fault: "client",
96
- ...opts,
97
- });
98
- this.name = "StreamingDistributionAlreadyExists";
99
- this.$fault = "client";
100
- Object.setPrototypeOf(this, StreamingDistributionAlreadyExists.prototype);
101
- this.Message = opts.Message;
102
- }
103
- }
104
- exports.StreamingDistributionAlreadyExists = StreamingDistributionAlreadyExists;
105
- class TooManyStreamingDistributionCNAMEs extends CloudFrontServiceException_1.CloudFrontServiceException {
106
- constructor(opts) {
107
- super({
108
- name: "TooManyStreamingDistributionCNAMEs",
109
- $fault: "client",
110
- ...opts,
111
- });
112
- this.name = "TooManyStreamingDistributionCNAMEs";
113
- this.$fault = "client";
114
- Object.setPrototypeOf(this, TooManyStreamingDistributionCNAMEs.prototype);
115
- this.Message = opts.Message;
116
- }
117
- }
118
- exports.TooManyStreamingDistributionCNAMEs = TooManyStreamingDistributionCNAMEs;
119
- class TooManyStreamingDistributions extends CloudFrontServiceException_1.CloudFrontServiceException {
120
- constructor(opts) {
121
- super({
122
- name: "TooManyStreamingDistributions",
123
- $fault: "client",
124
- ...opts,
125
- });
126
- this.name = "TooManyStreamingDistributions";
127
- this.$fault = "client";
128
- Object.setPrototypeOf(this, TooManyStreamingDistributions.prototype);
129
- this.Message = opts.Message;
130
- }
131
- }
132
- exports.TooManyStreamingDistributions = TooManyStreamingDistributions;
133
- class IllegalDelete extends CloudFrontServiceException_1.CloudFrontServiceException {
134
- constructor(opts) {
135
- super({
136
- name: "IllegalDelete",
137
- $fault: "client",
138
- ...opts,
139
- });
140
- this.name = "IllegalDelete";
141
- this.$fault = "client";
142
- Object.setPrototypeOf(this, IllegalDelete.prototype);
143
- this.Message = opts.Message;
144
- }
145
- }
146
- exports.IllegalDelete = IllegalDelete;
147
- class CloudFrontOriginAccessIdentityInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
148
- constructor(opts) {
149
- super({
150
- name: "CloudFrontOriginAccessIdentityInUse",
151
- $fault: "client",
152
- ...opts,
153
- });
154
- this.name = "CloudFrontOriginAccessIdentityInUse";
155
- this.$fault = "client";
156
- Object.setPrototypeOf(this, CloudFrontOriginAccessIdentityInUse.prototype);
157
- this.Message = opts.Message;
158
- }
159
- }
160
- exports.CloudFrontOriginAccessIdentityInUse = CloudFrontOriginAccessIdentityInUse;
161
- class NoSuchCloudFrontOriginAccessIdentity extends CloudFrontServiceException_1.CloudFrontServiceException {
162
- constructor(opts) {
163
- super({
164
- name: "NoSuchCloudFrontOriginAccessIdentity",
165
- $fault: "client",
166
- ...opts,
167
- });
168
- this.name = "NoSuchCloudFrontOriginAccessIdentity";
169
- this.$fault = "client";
170
- Object.setPrototypeOf(this, NoSuchCloudFrontOriginAccessIdentity.prototype);
171
- this.Message = opts.Message;
172
- }
173
- }
174
- exports.NoSuchCloudFrontOriginAccessIdentity = NoSuchCloudFrontOriginAccessIdentity;
175
- class DistributionNotDisabled extends CloudFrontServiceException_1.CloudFrontServiceException {
176
- constructor(opts) {
177
- super({
178
- name: "DistributionNotDisabled",
179
- $fault: "client",
180
- ...opts,
181
- });
182
- this.name = "DistributionNotDisabled";
183
- this.$fault = "client";
184
- Object.setPrototypeOf(this, DistributionNotDisabled.prototype);
185
- this.Message = opts.Message;
186
- }
187
- }
188
- exports.DistributionNotDisabled = DistributionNotDisabled;
189
- class FieldLevelEncryptionConfigInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
190
- constructor(opts) {
191
- super({
192
- name: "FieldLevelEncryptionConfigInUse",
193
- $fault: "client",
194
- ...opts,
195
- });
196
- this.name = "FieldLevelEncryptionConfigInUse";
197
- this.$fault = "client";
198
- Object.setPrototypeOf(this, FieldLevelEncryptionConfigInUse.prototype);
199
- this.Message = opts.Message;
200
- }
201
- }
202
- exports.FieldLevelEncryptionConfigInUse = FieldLevelEncryptionConfigInUse;
203
- class FieldLevelEncryptionProfileInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
204
- constructor(opts) {
205
- super({
206
- name: "FieldLevelEncryptionProfileInUse",
207
- $fault: "client",
208
- ...opts,
209
- });
210
- this.name = "FieldLevelEncryptionProfileInUse";
211
- this.$fault = "client";
212
- Object.setPrototypeOf(this, FieldLevelEncryptionProfileInUse.prototype);
213
- this.Message = opts.Message;
214
- }
215
- }
216
- exports.FieldLevelEncryptionProfileInUse = FieldLevelEncryptionProfileInUse;
217
- class FunctionInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
218
- constructor(opts) {
219
- super({
220
- name: "FunctionInUse",
221
- $fault: "client",
222
- ...opts,
223
- });
224
- this.name = "FunctionInUse";
225
- this.$fault = "client";
226
- Object.setPrototypeOf(this, FunctionInUse.prototype);
227
- this.Message = opts.Message;
228
- }
229
- }
230
- exports.FunctionInUse = FunctionInUse;
231
- class NoSuchFunctionExists extends CloudFrontServiceException_1.CloudFrontServiceException {
232
- constructor(opts) {
233
- super({
234
- name: "NoSuchFunctionExists",
235
- $fault: "client",
236
- ...opts,
237
- });
238
- this.name = "NoSuchFunctionExists";
239
- this.$fault = "client";
240
- Object.setPrototypeOf(this, NoSuchFunctionExists.prototype);
241
- this.Message = opts.Message;
242
- }
243
- }
244
- exports.NoSuchFunctionExists = NoSuchFunctionExists;
245
- class NoSuchResource extends CloudFrontServiceException_1.CloudFrontServiceException {
246
- constructor(opts) {
247
- super({
248
- name: "NoSuchResource",
249
- $fault: "client",
250
- ...opts,
251
- });
252
- this.name = "NoSuchResource";
253
- this.$fault = "client";
254
- Object.setPrototypeOf(this, NoSuchResource.prototype);
255
- this.Message = opts.Message;
256
- }
257
- }
258
- exports.NoSuchResource = NoSuchResource;
259
- class ResourceInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
260
- constructor(opts) {
261
- super({
262
- name: "ResourceInUse",
263
- $fault: "client",
264
- ...opts,
265
- });
266
- this.name = "ResourceInUse";
267
- this.$fault = "client";
268
- Object.setPrototypeOf(this, ResourceInUse.prototype);
269
- this.Message = opts.Message;
270
- }
271
- }
272
- exports.ResourceInUse = ResourceInUse;
273
- class EntityNotFound extends CloudFrontServiceException_1.CloudFrontServiceException {
274
- constructor(opts) {
275
- super({
276
- name: "EntityNotFound",
277
- $fault: "client",
278
- ...opts,
279
- });
280
- this.name = "EntityNotFound";
281
- this.$fault = "client";
282
- Object.setPrototypeOf(this, EntityNotFound.prototype);
283
- this.Message = opts.Message;
284
- }
285
- }
286
- exports.EntityNotFound = EntityNotFound;
287
- class NoSuchMonitoringSubscription extends CloudFrontServiceException_1.CloudFrontServiceException {
288
- constructor(opts) {
289
- super({
290
- name: "NoSuchMonitoringSubscription",
291
- $fault: "client",
292
- ...opts,
293
- });
294
- this.name = "NoSuchMonitoringSubscription";
295
- this.$fault = "client";
296
- Object.setPrototypeOf(this, NoSuchMonitoringSubscription.prototype);
297
- this.Message = opts.Message;
298
- }
299
- }
300
- exports.NoSuchMonitoringSubscription = NoSuchMonitoringSubscription;
301
- class NoSuchOriginAccessControl extends CloudFrontServiceException_1.CloudFrontServiceException {
302
- constructor(opts) {
303
- super({
304
- name: "NoSuchOriginAccessControl",
305
- $fault: "client",
306
- ...opts,
307
- });
308
- this.name = "NoSuchOriginAccessControl";
309
- this.$fault = "client";
310
- Object.setPrototypeOf(this, NoSuchOriginAccessControl.prototype);
311
- this.Message = opts.Message;
312
- }
313
- }
314
- exports.NoSuchOriginAccessControl = NoSuchOriginAccessControl;
315
- class OriginAccessControlInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
316
- constructor(opts) {
317
- super({
318
- name: "OriginAccessControlInUse",
319
- $fault: "client",
320
- ...opts,
321
- });
322
- this.name = "OriginAccessControlInUse";
323
- this.$fault = "client";
324
- Object.setPrototypeOf(this, OriginAccessControlInUse.prototype);
325
- this.Message = opts.Message;
326
- }
327
- }
328
- exports.OriginAccessControlInUse = OriginAccessControlInUse;
329
- class OriginRequestPolicyInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
330
- constructor(opts) {
331
- super({
332
- name: "OriginRequestPolicyInUse",
333
- $fault: "client",
334
- ...opts,
335
- });
336
- this.name = "OriginRequestPolicyInUse";
337
- this.$fault = "client";
338
- Object.setPrototypeOf(this, OriginRequestPolicyInUse.prototype);
339
- this.Message = opts.Message;
340
- }
341
- }
342
- exports.OriginRequestPolicyInUse = OriginRequestPolicyInUse;
343
- class PublicKeyInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
344
- constructor(opts) {
345
- super({
346
- name: "PublicKeyInUse",
347
- $fault: "client",
348
- ...opts,
349
- });
350
- this.name = "PublicKeyInUse";
351
- this.$fault = "client";
352
- Object.setPrototypeOf(this, PublicKeyInUse.prototype);
353
- this.Message = opts.Message;
354
- }
355
- }
356
- exports.PublicKeyInUse = PublicKeyInUse;
357
- class RealtimeLogConfigInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
358
- constructor(opts) {
359
- super({
360
- name: "RealtimeLogConfigInUse",
361
- $fault: "client",
362
- ...opts,
363
- });
364
- this.name = "RealtimeLogConfigInUse";
365
- this.$fault = "client";
366
- Object.setPrototypeOf(this, RealtimeLogConfigInUse.prototype);
367
- this.Message = opts.Message;
368
- }
369
- }
370
- exports.RealtimeLogConfigInUse = RealtimeLogConfigInUse;
371
- class ResponseHeadersPolicyInUse extends CloudFrontServiceException_1.CloudFrontServiceException {
372
- constructor(opts) {
373
- super({
374
- name: "ResponseHeadersPolicyInUse",
375
- $fault: "client",
376
- ...opts,
377
- });
378
- this.name = "ResponseHeadersPolicyInUse";
379
- this.$fault = "client";
380
- Object.setPrototypeOf(this, ResponseHeadersPolicyInUse.prototype);
381
- this.Message = opts.Message;
382
- }
383
- }
384
- exports.ResponseHeadersPolicyInUse = ResponseHeadersPolicyInUse;
385
- class NoSuchStreamingDistribution extends CloudFrontServiceException_1.CloudFrontServiceException {
386
- constructor(opts) {
387
- super({
388
- name: "NoSuchStreamingDistribution",
389
- $fault: "client",
390
- ...opts,
391
- });
392
- this.name = "NoSuchStreamingDistribution";
393
- this.$fault = "client";
394
- Object.setPrototypeOf(this, NoSuchStreamingDistribution.prototype);
395
- this.Message = opts.Message;
396
- }
397
- }
398
- exports.NoSuchStreamingDistribution = NoSuchStreamingDistribution;
399
- class StreamingDistributionNotDisabled extends CloudFrontServiceException_1.CloudFrontServiceException {
400
- constructor(opts) {
401
- super({
402
- name: "StreamingDistributionNotDisabled",
403
- $fault: "client",
404
- ...opts,
405
- });
406
- this.name = "StreamingDistributionNotDisabled";
407
- this.$fault = "client";
408
- Object.setPrototypeOf(this, StreamingDistributionNotDisabled.prototype);
409
- this.Message = opts.Message;
410
- }
411
- }
412
- exports.StreamingDistributionNotDisabled = StreamingDistributionNotDisabled;
413
- class NoSuchInvalidation extends CloudFrontServiceException_1.CloudFrontServiceException {
414
- constructor(opts) {
415
- super({
416
- name: "NoSuchInvalidation",
417
- $fault: "client",
418
- ...opts,
419
- });
420
- this.name = "NoSuchInvalidation";
421
- this.$fault = "client";
422
- Object.setPrototypeOf(this, NoSuchInvalidation.prototype);
423
- this.Message = opts.Message;
424
- }
425
- }
426
- exports.NoSuchInvalidation = NoSuchInvalidation;
427
- exports.OriginRequestPolicyType = {
428
- custom: "custom",
429
- managed: "managed",
430
- };
431
- exports.ResponseHeadersPolicyType = {
432
- custom: "custom",
433
- managed: "managed",
434
- };
435
- class TestFunctionFailed extends CloudFrontServiceException_1.CloudFrontServiceException {
436
- constructor(opts) {
437
- super({
438
- name: "TestFunctionFailed",
439
- $fault: "server",
440
- ...opts,
441
- });
442
- this.name = "TestFunctionFailed";
443
- this.$fault = "server";
444
- Object.setPrototypeOf(this, TestFunctionFailed.prototype);
445
- this.Message = opts.Message;
446
- }
447
- }
448
- exports.TestFunctionFailed = TestFunctionFailed;
449
- const GetDistributionResultFilterSensitiveLog = (obj) => ({
450
- ...obj,
451
- ...(obj.Distribution && { Distribution: (0, models_0_1.DistributionFilterSensitiveLog)(obj.Distribution) }),
452
- });
453
- exports.GetDistributionResultFilterSensitiveLog = GetDistributionResultFilterSensitiveLog;
454
- const GetDistributionConfigResultFilterSensitiveLog = (obj) => ({
455
- ...obj,
456
- ...(obj.DistributionConfig && { DistributionConfig: (0, models_0_1.DistributionConfigFilterSensitiveLog)(obj.DistributionConfig) }),
457
- });
458
- exports.GetDistributionConfigResultFilterSensitiveLog = GetDistributionConfigResultFilterSensitiveLog;
459
- const GetFunctionResultFilterSensitiveLog = (obj) => ({
460
- ...obj,
461
- ...(obj.FunctionCode && { FunctionCode: smithy_client_1.SENSITIVE_STRING }),
462
- });
463
- exports.GetFunctionResultFilterSensitiveLog = GetFunctionResultFilterSensitiveLog;
464
- const DistributionSummaryFilterSensitiveLog = (obj) => ({
465
- ...obj,
466
- });
467
- exports.DistributionSummaryFilterSensitiveLog = DistributionSummaryFilterSensitiveLog;
468
- const DistributionListFilterSensitiveLog = (obj) => ({
469
- ...obj,
470
- });
471
- exports.DistributionListFilterSensitiveLog = DistributionListFilterSensitiveLog;
472
- const ListDistributionsResultFilterSensitiveLog = (obj) => ({
473
- ...obj,
474
- });
475
- exports.ListDistributionsResultFilterSensitiveLog = ListDistributionsResultFilterSensitiveLog;
476
- const ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = (obj) => ({
477
- ...obj,
478
- });
479
- exports.ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog;
480
- const ListDistributionsByWebACLIdResultFilterSensitiveLog = (obj) => ({
481
- ...obj,
482
- });
483
- exports.ListDistributionsByWebACLIdResultFilterSensitiveLog = ListDistributionsByWebACLIdResultFilterSensitiveLog;
484
- const TestFunctionRequestFilterSensitiveLog = (obj) => ({
485
- ...obj,
486
- ...(obj.EventObject && { EventObject: smithy_client_1.SENSITIVE_STRING }),
487
- });
488
- exports.TestFunctionRequestFilterSensitiveLog = TestFunctionRequestFilterSensitiveLog;
489
- const TestResultFilterSensitiveLog = (obj) => ({
490
- ...obj,
491
- ...(obj.FunctionExecutionLogs && { FunctionExecutionLogs: smithy_client_1.SENSITIVE_STRING }),
492
- ...(obj.FunctionErrorMessage && { FunctionErrorMessage: smithy_client_1.SENSITIVE_STRING }),
493
- ...(obj.FunctionOutput && { FunctionOutput: smithy_client_1.SENSITIVE_STRING }),
494
- });
495
- exports.TestResultFilterSensitiveLog = TestResultFilterSensitiveLog;
496
- const TestFunctionResultFilterSensitiveLog = (obj) => ({
497
- ...obj,
498
- ...(obj.TestResult && { TestResult: (0, exports.TestResultFilterSensitiveLog)(obj.TestResult) }),
499
- });
500
- exports.TestFunctionResultFilterSensitiveLog = TestFunctionResultFilterSensitiveLog;
501
- const UpdateDistributionRequestFilterSensitiveLog = (obj) => ({
502
- ...obj,
503
- ...(obj.DistributionConfig && { DistributionConfig: (0, models_0_1.DistributionConfigFilterSensitiveLog)(obj.DistributionConfig) }),
504
- });
505
- exports.UpdateDistributionRequestFilterSensitiveLog = UpdateDistributionRequestFilterSensitiveLog;
506
- const UpdateDistributionResultFilterSensitiveLog = (obj) => ({
507
- ...obj,
508
- ...(obj.Distribution && { Distribution: (0, models_0_1.DistributionFilterSensitiveLog)(obj.Distribution) }),
509
- });
510
- exports.UpdateDistributionResultFilterSensitiveLog = UpdateDistributionResultFilterSensitiveLog;
511
- const UpdateDistributionWithStagingConfigResultFilterSensitiveLog = (obj) => ({
512
- ...obj,
513
- ...(obj.Distribution && { Distribution: (0, models_0_1.DistributionFilterSensitiveLog)(obj.Distribution) }),
514
- });
515
- exports.UpdateDistributionWithStagingConfigResultFilterSensitiveLog = UpdateDistributionWithStagingConfigResultFilterSensitiveLog;
516
- const UpdateFunctionRequestFilterSensitiveLog = (obj) => ({
517
- ...obj,
518
- ...(obj.FunctionCode && { FunctionCode: smithy_client_1.SENSITIVE_STRING }),
519
- });
520
- exports.UpdateFunctionRequestFilterSensitiveLog = UpdateFunctionRequestFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListCloudFrontOriginAccessIdentities = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudFrontClient_1 = require("../CloudFrontClient");
6
- const ListCloudFrontOriginAccessIdentitiesCommand_1 = require("../commands/ListCloudFrontOriginAccessIdentitiesCommand");
7
- exports.paginateListCloudFrontOriginAccessIdentities = (0, core_1.createPaginator)(CloudFrontClient_1.CloudFrontClient, ListCloudFrontOriginAccessIdentitiesCommand_1.ListCloudFrontOriginAccessIdentitiesCommand, "Marker", "CloudFrontOriginAccessIdentityList.NextMarker", "MaxItems");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListDistributions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudFrontClient_1 = require("../CloudFrontClient");
6
- const ListDistributionsCommand_1 = require("../commands/ListDistributionsCommand");
7
- exports.paginateListDistributions = (0, core_1.createPaginator)(CloudFrontClient_1.CloudFrontClient, ListDistributionsCommand_1.ListDistributionsCommand, "Marker", "DistributionList.NextMarker", "MaxItems");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListInvalidations = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudFrontClient_1 = require("../CloudFrontClient");
6
- const ListInvalidationsCommand_1 = require("../commands/ListInvalidationsCommand");
7
- exports.paginateListInvalidations = (0, core_1.createPaginator)(CloudFrontClient_1.CloudFrontClient, ListInvalidationsCommand_1.ListInvalidationsCommand, "Marker", "InvalidationList.NextMarker", "MaxItems");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListKeyValueStores = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudFrontClient_1 = require("../CloudFrontClient");
6
- const ListKeyValueStoresCommand_1 = require("../commands/ListKeyValueStoresCommand");
7
- exports.paginateListKeyValueStores = (0, core_1.createPaginator)(CloudFrontClient_1.CloudFrontClient, ListKeyValueStoresCommand_1.ListKeyValueStoresCommand, "Marker", "KeyValueStoreList.NextMarker", "MaxItems");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListStreamingDistributions = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudFrontClient_1 = require("../CloudFrontClient");
6
- const ListStreamingDistributionsCommand_1 = require("../commands/ListStreamingDistributionsCommand");
7
- exports.paginateListStreamingDistributions = (0, core_1.createPaginator)(CloudFrontClient_1.CloudFrontClient, ListStreamingDistributionsCommand_1.ListStreamingDistributionsCommand, "Marker", "StreamingDistributionList.NextMarker", "MaxItems");
1
+ module.exports = require("../index.js");
@@ -1,9 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListCloudFrontOriginAccessIdentitiesPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListDistributionsPaginator"), exports);
7
- tslib_1.__exportStar(require("./ListInvalidationsPaginator"), exports);
8
- tslib_1.__exportStar(require("./ListKeyValueStoresPaginator"), exports);
9
- tslib_1.__exportStar(require("./ListStreamingDistributionsPaginator"), exports);
1
+ module.exports = require("../index.js");