@aws-sdk/client-cloudfront 3.213.0 → 3.215.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.
- package/dist-cjs/CloudFront.js +105 -0
- package/dist-cjs/commands/CopyDistributionCommand.js +46 -0
- package/dist-cjs/commands/CreateContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/CreateStreamingDistributionCommand.js +3 -3
- package/dist-cjs/commands/CreateStreamingDistributionWithTagsCommand.js +3 -3
- package/dist-cjs/commands/DeleteCachePolicyCommand.js +2 -2
- package/dist-cjs/commands/DeleteContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/GetContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/GetContinuousDeploymentPolicyConfigCommand.js +46 -0
- package/dist-cjs/commands/ListContinuousDeploymentPoliciesCommand.js +46 -0
- package/dist-cjs/commands/UpdateContinuousDeploymentPolicyCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/ruleset.js +11 -11
- package/dist-cjs/models/models_0.js +405 -297
- package/dist-cjs/models/models_1.js +146 -4
- package/dist-cjs/protocols/Aws_restXml.js +895 -16
- package/dist-es/CloudFront.js +105 -0
- package/dist-es/commands/CopyDistributionCommand.js +42 -0
- package/dist-es/commands/CreateContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/CreateStreamingDistributionCommand.js +1 -1
- package/dist-es/commands/CreateStreamingDistributionWithTagsCommand.js +1 -1
- package/dist-es/commands/DeleteCachePolicyCommand.js +1 -1
- package/dist-es/commands/DeleteContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/GetContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/GetContinuousDeploymentPolicyConfigCommand.js +42 -0
- package/dist-es/commands/ListContinuousDeploymentPoliciesCommand.js +42 -0
- package/dist-es/commands/UpdateContinuousDeploymentPolicyCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/ruleset.js +11 -11
- package/dist-es/models/models_0.js +366 -257
- package/dist-es/models/models_1.js +117 -0
- package/dist-es/protocols/Aws_restXml.js +876 -12
- package/dist-types/CloudFront.d.ts +114 -76
- package/dist-types/CloudFrontClient.d.ts +9 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +43 -0
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +46 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +1 -13
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +40 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +38 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +37 -0
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +42 -0
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +57 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +20 -63
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +824 -784
- package/dist-types/models/models_1.d.ts +458 -2
- package/dist-types/protocols/Aws_restXml.d.ts +21 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CloudFront.d.ts +125 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CopyDistributionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateContinuousDeploymentPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListContinuousDeploymentPoliciesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +376 -338
- package/dist-types/ts3.4/models/models_1.d.ts +196 -4
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +84 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -2
- package/package.json +29 -29
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
3
|
import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export class StreamingDistributionAlreadyExists extends __BaseException {
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "StreamingDistributionAlreadyExists",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
this.name = "StreamingDistributionAlreadyExists";
|
|
12
|
+
this.$fault = "client";
|
|
13
|
+
Object.setPrototypeOf(this, StreamingDistributionAlreadyExists.prototype);
|
|
14
|
+
this.Message = opts.Message;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export class TooManyStreamingDistributionCNAMEs extends __BaseException {
|
|
18
|
+
constructor(opts) {
|
|
19
|
+
super({
|
|
20
|
+
name: "TooManyStreamingDistributionCNAMEs",
|
|
21
|
+
$fault: "client",
|
|
22
|
+
...opts,
|
|
23
|
+
});
|
|
24
|
+
this.name = "TooManyStreamingDistributionCNAMEs";
|
|
25
|
+
this.$fault = "client";
|
|
26
|
+
Object.setPrototypeOf(this, TooManyStreamingDistributionCNAMEs.prototype);
|
|
27
|
+
this.Message = opts.Message;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class TooManyStreamingDistributions extends __BaseException {
|
|
31
|
+
constructor(opts) {
|
|
32
|
+
super({
|
|
33
|
+
name: "TooManyStreamingDistributions",
|
|
34
|
+
$fault: "client",
|
|
35
|
+
...opts,
|
|
36
|
+
});
|
|
37
|
+
this.name = "TooManyStreamingDistributions";
|
|
38
|
+
this.$fault = "client";
|
|
39
|
+
Object.setPrototypeOf(this, TooManyStreamingDistributions.prototype);
|
|
40
|
+
this.Message = opts.Message;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export class IllegalDelete extends __BaseException {
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "IllegalDelete",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
this.name = "IllegalDelete";
|
|
51
|
+
this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(this, IllegalDelete.prototype);
|
|
53
|
+
this.Message = opts.Message;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
4
56
|
export class CloudFrontOriginAccessIdentityInUse extends __BaseException {
|
|
5
57
|
constructor(opts) {
|
|
6
58
|
super({
|
|
@@ -248,6 +300,11 @@ export class NoSuchInvalidation extends __BaseException {
|
|
|
248
300
|
this.Message = opts.Message;
|
|
249
301
|
}
|
|
250
302
|
}
|
|
303
|
+
export var OriginRequestPolicyType;
|
|
304
|
+
(function (OriginRequestPolicyType) {
|
|
305
|
+
OriginRequestPolicyType["custom"] = "custom";
|
|
306
|
+
OriginRequestPolicyType["managed"] = "managed";
|
|
307
|
+
})(OriginRequestPolicyType || (OriginRequestPolicyType = {}));
|
|
251
308
|
export var ResponseHeadersPolicyType;
|
|
252
309
|
(function (ResponseHeadersPolicyType) {
|
|
253
310
|
ResponseHeadersPolicyType["custom"] = "custom";
|
|
@@ -266,9 +323,39 @@ export class TestFunctionFailed extends __BaseException {
|
|
|
266
323
|
this.Message = opts.Message;
|
|
267
324
|
}
|
|
268
325
|
}
|
|
326
|
+
export const S3OriginFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
});
|
|
329
|
+
export const StreamingDistributionConfigFilterSensitiveLog = (obj) => ({
|
|
330
|
+
...obj,
|
|
331
|
+
});
|
|
332
|
+
export const CreateStreamingDistributionRequestFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
});
|
|
335
|
+
export const StreamingDistributionFilterSensitiveLog = (obj) => ({
|
|
336
|
+
...obj,
|
|
337
|
+
});
|
|
338
|
+
export const CreateStreamingDistributionResultFilterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
});
|
|
341
|
+
export const StreamingDistributionConfigWithTagsFilterSensitiveLog = (obj) => ({
|
|
342
|
+
...obj,
|
|
343
|
+
});
|
|
344
|
+
export const CreateStreamingDistributionWithTagsRequestFilterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
});
|
|
347
|
+
export const CreateStreamingDistributionWithTagsResultFilterSensitiveLog = (obj) => ({
|
|
348
|
+
...obj,
|
|
349
|
+
});
|
|
350
|
+
export const DeleteCachePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
351
|
+
...obj,
|
|
352
|
+
});
|
|
269
353
|
export const DeleteCloudFrontOriginAccessIdentityRequestFilterSensitiveLog = (obj) => ({
|
|
270
354
|
...obj,
|
|
271
355
|
});
|
|
356
|
+
export const DeleteContinuousDeploymentPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
357
|
+
...obj,
|
|
358
|
+
});
|
|
272
359
|
export const DeleteDistributionRequestFilterSensitiveLog = (obj) => ({
|
|
273
360
|
...obj,
|
|
274
361
|
});
|
|
@@ -338,6 +425,18 @@ export const GetCloudFrontOriginAccessIdentityConfigRequestFilterSensitiveLog =
|
|
|
338
425
|
export const GetCloudFrontOriginAccessIdentityConfigResultFilterSensitiveLog = (obj) => ({
|
|
339
426
|
...obj,
|
|
340
427
|
});
|
|
428
|
+
export const GetContinuousDeploymentPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
429
|
+
...obj,
|
|
430
|
+
});
|
|
431
|
+
export const GetContinuousDeploymentPolicyResultFilterSensitiveLog = (obj) => ({
|
|
432
|
+
...obj,
|
|
433
|
+
});
|
|
434
|
+
export const GetContinuousDeploymentPolicyConfigRequestFilterSensitiveLog = (obj) => ({
|
|
435
|
+
...obj,
|
|
436
|
+
});
|
|
437
|
+
export const GetContinuousDeploymentPolicyConfigResultFilterSensitiveLog = (obj) => ({
|
|
438
|
+
...obj,
|
|
439
|
+
});
|
|
341
440
|
export const GetDistributionRequestFilterSensitiveLog = (obj) => ({
|
|
342
441
|
...obj,
|
|
343
442
|
});
|
|
@@ -503,6 +602,18 @@ export const ConflictingAliasesListFilterSensitiveLog = (obj) => ({
|
|
|
503
602
|
export const ListConflictingAliasesResultFilterSensitiveLog = (obj) => ({
|
|
504
603
|
...obj,
|
|
505
604
|
});
|
|
605
|
+
export const ListContinuousDeploymentPoliciesRequestFilterSensitiveLog = (obj) => ({
|
|
606
|
+
...obj,
|
|
607
|
+
});
|
|
608
|
+
export const ContinuousDeploymentPolicySummaryFilterSensitiveLog = (obj) => ({
|
|
609
|
+
...obj,
|
|
610
|
+
});
|
|
611
|
+
export const ContinuousDeploymentPolicyListFilterSensitiveLog = (obj) => ({
|
|
612
|
+
...obj,
|
|
613
|
+
});
|
|
614
|
+
export const ListContinuousDeploymentPoliciesResultFilterSensitiveLog = (obj) => ({
|
|
615
|
+
...obj,
|
|
616
|
+
});
|
|
506
617
|
export const ListDistributionsRequestFilterSensitiveLog = (obj) => ({
|
|
507
618
|
...obj,
|
|
508
619
|
});
|
|
@@ -727,6 +838,12 @@ export const UpdateCloudFrontOriginAccessIdentityRequestFilterSensitiveLog = (ob
|
|
|
727
838
|
export const UpdateCloudFrontOriginAccessIdentityResultFilterSensitiveLog = (obj) => ({
|
|
728
839
|
...obj,
|
|
729
840
|
});
|
|
841
|
+
export const UpdateContinuousDeploymentPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
842
|
+
...obj,
|
|
843
|
+
});
|
|
844
|
+
export const UpdateContinuousDeploymentPolicyResultFilterSensitiveLog = (obj) => ({
|
|
845
|
+
...obj,
|
|
846
|
+
});
|
|
730
847
|
export const UpdateDistributionRequestFilterSensitiveLog = (obj) => ({
|
|
731
848
|
...obj,
|
|
732
849
|
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|