@aws-sdk/client-cloudfront 3.797.0 → 3.798.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/README.md +200 -0
- package/dist-cjs/index.js +2696 -655
- package/dist-es/CloudFront.js +50 -0
- package/dist-es/commands/AssociateDistributionTenantWebACLCommand.js +22 -0
- package/dist-es/commands/AssociateDistributionWebACLCommand.js +22 -0
- package/dist-es/commands/CreateConnectionGroupCommand.js +22 -0
- package/dist-es/commands/CreateDistributionTenantCommand.js +22 -0
- package/dist-es/commands/CreateInvalidationForDistributionTenantCommand.js +22 -0
- package/dist-es/commands/DeleteConnectionGroupCommand.js +22 -0
- package/dist-es/commands/DeleteDistributionTenantCommand.js +22 -0
- package/dist-es/commands/DisassociateDistributionTenantWebACLCommand.js +22 -0
- package/dist-es/commands/DisassociateDistributionWebACLCommand.js +22 -0
- package/dist-es/commands/GetConnectionGroupByRoutingEndpointCommand.js +22 -0
- package/dist-es/commands/GetConnectionGroupCommand.js +22 -0
- package/dist-es/commands/GetDistributionTenantByDomainCommand.js +22 -0
- package/dist-es/commands/GetDistributionTenantCommand.js +22 -0
- package/dist-es/commands/GetInvalidationForDistributionTenantCommand.js +22 -0
- package/dist-es/commands/GetManagedCertificateDetailsCommand.js +22 -0
- package/dist-es/commands/ListConnectionGroupsCommand.js +22 -0
- package/dist-es/commands/ListDistributionTenantsByCustomizationCommand.js +22 -0
- package/dist-es/commands/ListDistributionTenantsCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByConnectionModeCommand.js +23 -0
- package/dist-es/commands/ListDomainConflictsCommand.js +22 -0
- package/dist-es/commands/ListInvalidationsForDistributionTenantCommand.js +22 -0
- package/dist-es/commands/TestFunctionCommand.js +1 -1
- package/dist-es/commands/UpdateConnectionGroupCommand.js +22 -0
- package/dist-es/commands/UpdateDistributionCommand.js +1 -1
- package/dist-es/commands/UpdateDistributionTenantCommand.js +22 -0
- package/dist-es/commands/UpdateDistributionWithStagingConfigCommand.js +1 -1
- package/dist-es/commands/UpdateDomainAssociationCommand.js +22 -0
- package/dist-es/commands/UpdateFunctionCommand.js +1 -1
- package/dist-es/commands/VerifyDnsConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +26 -1
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +77 -201
- package/dist-es/models/models_1.js +203 -58
- package/dist-es/models/models_2.js +52 -0
- package/dist-es/pagination/ListConnectionGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionTenantsByCustomizationPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionTenantsPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionsByConnectionModePaginator.js +4 -0
- package/dist-es/pagination/ListDomainConflictsPaginator.js +4 -0
- package/dist-es/pagination/ListInvalidationsForDistributionTenantPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restXml.js +1907 -460
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForInvalidationForDistributionTenantCompleted.js +31 -0
- package/dist-types/CloudFront.d.ts +178 -0
- package/dist-types/CloudFrontClient.d.ts +27 -2
- package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +92 -0
- package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +92 -0
- package/dist-types/commands/CopyDistributionCommand.d.ts +16 -1
- package/dist-types/commands/CreateConnectionGroupCommand.d.ts +123 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +35 -2
- package/dist-types/commands/CreateDistributionTenantCommand.d.ts +185 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +32 -2
- package/dist-types/commands/CreateInvalidationForDistributionTenantCommand.d.ts +119 -0
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +2 -2
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +2 -2
- package/dist-types/commands/DeleteConnectionGroupCommand.d.ts +90 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDistributionTenantCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateDistributionTenantWebACLCommand.d.ts +90 -0
- package/dist-types/commands/DisassociateDistributionWebACLCommand.d.ts +90 -0
- package/dist-types/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +99 -0
- package/dist-types/commands/GetConnectionGroupCommand.d.ts +99 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +16 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +16 -1
- package/dist-types/commands/GetDistributionTenantByDomainCommand.d.ts +124 -0
- package/dist-types/commands/GetDistributionTenantCommand.d.ts +124 -0
- package/dist-types/commands/GetInvalidationForDistributionTenantCommand.d.ts +95 -0
- package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +89 -0
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectionGroupsCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionTenantsByCustomizationCommand.d.ts +120 -0
- package/dist-types/commands/ListDistributionTenantsCommand.d.ts +121 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +3 -1
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +392 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +3 -1
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +3 -1
- package/dist-types/commands/ListDistributionsCommand.d.ts +3 -1
- package/dist-types/commands/ListDomainConflictsCommand.d.ts +96 -0
- package/dist-types/commands/ListInvalidationsForDistributionTenantCommand.d.ts +96 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +3 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectionGroupCommand.d.ts +123 -0
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -3
- package/dist-types/commands/UpdateDistributionTenantCommand.d.ts +182 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -2
- package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +98 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +3 -3
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -1
- package/dist-types/commands/VerifyDnsConfigurationCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +26 -1
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +830 -869
- package/dist-types/models/models_1.d.ts +2571 -2123
- package/dist-types/models/models_2.d.ts +1244 -0
- package/dist-types/pagination/ListConnectionGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionTenantsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionsByConnectionModePaginator.d.ts +7 -0
- package/dist-types/pagination/ListDomainConflictsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restXml.d.ts +225 -0
- package/dist-types/ts3.4/CloudFront.d.ts +476 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +152 -2
- package/dist-types/ts3.4/commands/AssociateDistributionTenantWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AssociateDistributionWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectionGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateInvalidationForDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteConnectionGroupCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteDistributionTenantCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DisassociateDistributionTenantWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateDistributionWebACLCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionGroupByRoutingEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDistributionTenantByDomainCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetInvalidationForDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConnectionGroupsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionTenantsByCustomizationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionTenantsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByConnectionModeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDomainConflictsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvalidationsForDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectionGroupCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDistributionTenantCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/VerifyDnsConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +190 -214
- package/dist-types/ts3.4/models/models_1.d.ts +413 -275
- package/dist-types/ts3.4/models/models_2.d.ts +363 -0
- package/dist-types/ts3.4/pagination/ListConnectionGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionTenantsByCustomizationPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionTenantsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionsByConnectionModePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDomainConflictsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInvalidationsForDistributionTenantPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +300 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForInvalidationForDistributionTenantCompleted.d.ts +14 -0
- package/package.json +11 -11
|
@@ -1,6 +1,165 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
3
|
import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export class TooManyOriginAccessControls extends __BaseException {
|
|
5
|
+
name = "TooManyOriginAccessControls";
|
|
6
|
+
$fault = "client";
|
|
7
|
+
Message;
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "TooManyOriginAccessControls",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, TooManyOriginAccessControls.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export const OriginRequestPolicyCookieBehavior = {
|
|
19
|
+
all: "all",
|
|
20
|
+
allExcept: "allExcept",
|
|
21
|
+
none: "none",
|
|
22
|
+
whitelist: "whitelist",
|
|
23
|
+
};
|
|
24
|
+
export const OriginRequestPolicyHeaderBehavior = {
|
|
25
|
+
allExcept: "allExcept",
|
|
26
|
+
allViewer: "allViewer",
|
|
27
|
+
allViewerAndWhitelistCloudFront: "allViewerAndWhitelistCloudFront",
|
|
28
|
+
none: "none",
|
|
29
|
+
whitelist: "whitelist",
|
|
30
|
+
};
|
|
31
|
+
export const OriginRequestPolicyQueryStringBehavior = {
|
|
32
|
+
all: "all",
|
|
33
|
+
allExcept: "allExcept",
|
|
34
|
+
none: "none",
|
|
35
|
+
whitelist: "whitelist",
|
|
36
|
+
};
|
|
37
|
+
export class OriginRequestPolicyAlreadyExists extends __BaseException {
|
|
38
|
+
name = "OriginRequestPolicyAlreadyExists";
|
|
39
|
+
$fault = "client";
|
|
40
|
+
Message;
|
|
41
|
+
constructor(opts) {
|
|
42
|
+
super({
|
|
43
|
+
name: "OriginRequestPolicyAlreadyExists",
|
|
44
|
+
$fault: "client",
|
|
45
|
+
...opts,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, OriginRequestPolicyAlreadyExists.prototype);
|
|
48
|
+
this.Message = opts.Message;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
export class TooManyCookiesInOriginRequestPolicy extends __BaseException {
|
|
52
|
+
name = "TooManyCookiesInOriginRequestPolicy";
|
|
53
|
+
$fault = "client";
|
|
54
|
+
Message;
|
|
55
|
+
constructor(opts) {
|
|
56
|
+
super({
|
|
57
|
+
name: "TooManyCookiesInOriginRequestPolicy",
|
|
58
|
+
$fault: "client",
|
|
59
|
+
...opts,
|
|
60
|
+
});
|
|
61
|
+
Object.setPrototypeOf(this, TooManyCookiesInOriginRequestPolicy.prototype);
|
|
62
|
+
this.Message = opts.Message;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
export class TooManyHeadersInOriginRequestPolicy extends __BaseException {
|
|
66
|
+
name = "TooManyHeadersInOriginRequestPolicy";
|
|
67
|
+
$fault = "client";
|
|
68
|
+
Message;
|
|
69
|
+
constructor(opts) {
|
|
70
|
+
super({
|
|
71
|
+
name: "TooManyHeadersInOriginRequestPolicy",
|
|
72
|
+
$fault: "client",
|
|
73
|
+
...opts,
|
|
74
|
+
});
|
|
75
|
+
Object.setPrototypeOf(this, TooManyHeadersInOriginRequestPolicy.prototype);
|
|
76
|
+
this.Message = opts.Message;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export class TooManyOriginRequestPolicies extends __BaseException {
|
|
80
|
+
name = "TooManyOriginRequestPolicies";
|
|
81
|
+
$fault = "client";
|
|
82
|
+
Message;
|
|
83
|
+
constructor(opts) {
|
|
84
|
+
super({
|
|
85
|
+
name: "TooManyOriginRequestPolicies",
|
|
86
|
+
$fault: "client",
|
|
87
|
+
...opts,
|
|
88
|
+
});
|
|
89
|
+
Object.setPrototypeOf(this, TooManyOriginRequestPolicies.prototype);
|
|
90
|
+
this.Message = opts.Message;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
export class TooManyQueryStringsInOriginRequestPolicy extends __BaseException {
|
|
94
|
+
name = "TooManyQueryStringsInOriginRequestPolicy";
|
|
95
|
+
$fault = "client";
|
|
96
|
+
Message;
|
|
97
|
+
constructor(opts) {
|
|
98
|
+
super({
|
|
99
|
+
name: "TooManyQueryStringsInOriginRequestPolicy",
|
|
100
|
+
$fault: "client",
|
|
101
|
+
...opts,
|
|
102
|
+
});
|
|
103
|
+
Object.setPrototypeOf(this, TooManyQueryStringsInOriginRequestPolicy.prototype);
|
|
104
|
+
this.Message = opts.Message;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export class PublicKeyAlreadyExists extends __BaseException {
|
|
108
|
+
name = "PublicKeyAlreadyExists";
|
|
109
|
+
$fault = "client";
|
|
110
|
+
Message;
|
|
111
|
+
constructor(opts) {
|
|
112
|
+
super({
|
|
113
|
+
name: "PublicKeyAlreadyExists",
|
|
114
|
+
$fault: "client",
|
|
115
|
+
...opts,
|
|
116
|
+
});
|
|
117
|
+
Object.setPrototypeOf(this, PublicKeyAlreadyExists.prototype);
|
|
118
|
+
this.Message = opts.Message;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
export class TooManyPublicKeys extends __BaseException {
|
|
122
|
+
name = "TooManyPublicKeys";
|
|
123
|
+
$fault = "client";
|
|
124
|
+
Message;
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "TooManyPublicKeys",
|
|
128
|
+
$fault: "client",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, TooManyPublicKeys.prototype);
|
|
132
|
+
this.Message = opts.Message;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
export class RealtimeLogConfigAlreadyExists extends __BaseException {
|
|
136
|
+
name = "RealtimeLogConfigAlreadyExists";
|
|
137
|
+
$fault = "client";
|
|
138
|
+
Message;
|
|
139
|
+
constructor(opts) {
|
|
140
|
+
super({
|
|
141
|
+
name: "RealtimeLogConfigAlreadyExists",
|
|
142
|
+
$fault: "client",
|
|
143
|
+
...opts,
|
|
144
|
+
});
|
|
145
|
+
Object.setPrototypeOf(this, RealtimeLogConfigAlreadyExists.prototype);
|
|
146
|
+
this.Message = opts.Message;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
export class TooManyRealtimeLogConfigs extends __BaseException {
|
|
150
|
+
name = "TooManyRealtimeLogConfigs";
|
|
151
|
+
$fault = "client";
|
|
152
|
+
Message;
|
|
153
|
+
constructor(opts) {
|
|
154
|
+
super({
|
|
155
|
+
name: "TooManyRealtimeLogConfigs",
|
|
156
|
+
$fault: "client",
|
|
157
|
+
...opts,
|
|
158
|
+
});
|
|
159
|
+
Object.setPrototypeOf(this, TooManyRealtimeLogConfigs.prototype);
|
|
160
|
+
this.Message = opts.Message;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
4
163
|
export const FrameOptionsList = {
|
|
5
164
|
DENY: "DENY",
|
|
6
165
|
SAMEORIGIN: "SAMEORIGIN",
|
|
@@ -169,6 +328,20 @@ export class NoSuchCloudFrontOriginAccessIdentity extends __BaseException {
|
|
|
169
328
|
this.Message = opts.Message;
|
|
170
329
|
}
|
|
171
330
|
}
|
|
331
|
+
export class ResourceNotDisabled extends __BaseException {
|
|
332
|
+
name = "ResourceNotDisabled";
|
|
333
|
+
$fault = "client";
|
|
334
|
+
Message;
|
|
335
|
+
constructor(opts) {
|
|
336
|
+
super({
|
|
337
|
+
name: "ResourceNotDisabled",
|
|
338
|
+
$fault: "client",
|
|
339
|
+
...opts,
|
|
340
|
+
});
|
|
341
|
+
Object.setPrototypeOf(this, ResourceNotDisabled.prototype);
|
|
342
|
+
this.Message = opts.Message;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
172
345
|
export class DistributionNotDisabled extends __BaseException {
|
|
173
346
|
name = "DistributionNotDisabled";
|
|
174
347
|
$fault = "client";
|
|
@@ -183,6 +356,20 @@ export class DistributionNotDisabled extends __BaseException {
|
|
|
183
356
|
this.Message = opts.Message;
|
|
184
357
|
}
|
|
185
358
|
}
|
|
359
|
+
export class ResourceInUse extends __BaseException {
|
|
360
|
+
name = "ResourceInUse";
|
|
361
|
+
$fault = "client";
|
|
362
|
+
Message;
|
|
363
|
+
constructor(opts) {
|
|
364
|
+
super({
|
|
365
|
+
name: "ResourceInUse",
|
|
366
|
+
$fault: "client",
|
|
367
|
+
...opts,
|
|
368
|
+
});
|
|
369
|
+
Object.setPrototypeOf(this, ResourceInUse.prototype);
|
|
370
|
+
this.Message = opts.Message;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
186
373
|
export class FieldLevelEncryptionConfigInUse extends __BaseException {
|
|
187
374
|
name = "FieldLevelEncryptionConfigInUse";
|
|
188
375
|
$fault = "client";
|
|
@@ -253,20 +440,6 @@ export class NoSuchResource extends __BaseException {
|
|
|
253
440
|
this.Message = opts.Message;
|
|
254
441
|
}
|
|
255
442
|
}
|
|
256
|
-
export class ResourceInUse extends __BaseException {
|
|
257
|
-
name = "ResourceInUse";
|
|
258
|
-
$fault = "client";
|
|
259
|
-
Message;
|
|
260
|
-
constructor(opts) {
|
|
261
|
-
super({
|
|
262
|
-
name: "ResourceInUse",
|
|
263
|
-
$fault: "client",
|
|
264
|
-
...opts,
|
|
265
|
-
});
|
|
266
|
-
Object.setPrototypeOf(this, ResourceInUse.prototype);
|
|
267
|
-
this.Message = opts.Message;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
443
|
export class NoSuchMonitoringSubscription extends __BaseException {
|
|
271
444
|
name = "NoSuchMonitoringSubscription";
|
|
272
445
|
$fault = "client";
|
|
@@ -407,6 +580,19 @@ export class NoSuchInvalidation extends __BaseException {
|
|
|
407
580
|
this.Message = opts.Message;
|
|
408
581
|
}
|
|
409
582
|
}
|
|
583
|
+
export const ManagedCertificateStatus = {
|
|
584
|
+
Expired: "expired",
|
|
585
|
+
Failed: "failed",
|
|
586
|
+
Inactive: "inactive",
|
|
587
|
+
Issued: "issued",
|
|
588
|
+
PendingValidation: "pending-validation",
|
|
589
|
+
Revoked: "revoked",
|
|
590
|
+
ValidationTimedOut: "validation-timed-out",
|
|
591
|
+
};
|
|
592
|
+
export const DistributionResourceType = {
|
|
593
|
+
Distribution: "distribution",
|
|
594
|
+
DistributionTenant: "distribution-tenant",
|
|
595
|
+
};
|
|
410
596
|
export const OriginRequestPolicyType = {
|
|
411
597
|
custom: "custom",
|
|
412
598
|
managed: "managed",
|
|
@@ -415,20 +601,6 @@ export const ResponseHeadersPolicyType = {
|
|
|
415
601
|
custom: "custom",
|
|
416
602
|
managed: "managed",
|
|
417
603
|
};
|
|
418
|
-
export class TestFunctionFailed extends __BaseException {
|
|
419
|
-
name = "TestFunctionFailed";
|
|
420
|
-
$fault = "server";
|
|
421
|
-
Message;
|
|
422
|
-
constructor(opts) {
|
|
423
|
-
super({
|
|
424
|
-
name: "TestFunctionFailed",
|
|
425
|
-
$fault: "server",
|
|
426
|
-
...opts,
|
|
427
|
-
});
|
|
428
|
-
Object.setPrototypeOf(this, TestFunctionFailed.prototype);
|
|
429
|
-
this.Message = opts.Message;
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
604
|
export const GetDistributionResultFilterSensitiveLog = (obj) => ({
|
|
433
605
|
...obj,
|
|
434
606
|
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
@@ -453,39 +625,12 @@ export const ListDistributionsResultFilterSensitiveLog = (obj) => ({
|
|
|
453
625
|
export const ListDistributionsByAnycastIpListIdResultFilterSensitiveLog = (obj) => ({
|
|
454
626
|
...obj,
|
|
455
627
|
});
|
|
456
|
-
export const
|
|
457
|
-
...obj,
|
|
458
|
-
});
|
|
459
|
-
export const ListDistributionsByWebACLIdResultFilterSensitiveLog = (obj) => ({
|
|
460
|
-
...obj,
|
|
461
|
-
});
|
|
462
|
-
export const TestFunctionRequestFilterSensitiveLog = (obj) => ({
|
|
463
|
-
...obj,
|
|
464
|
-
...(obj.EventObject && { EventObject: SENSITIVE_STRING }),
|
|
465
|
-
});
|
|
466
|
-
export const TestResultFilterSensitiveLog = (obj) => ({
|
|
467
|
-
...obj,
|
|
468
|
-
...(obj.FunctionExecutionLogs && { FunctionExecutionLogs: SENSITIVE_STRING }),
|
|
469
|
-
...(obj.FunctionErrorMessage && { FunctionErrorMessage: SENSITIVE_STRING }),
|
|
470
|
-
...(obj.FunctionOutput && { FunctionOutput: SENSITIVE_STRING }),
|
|
471
|
-
});
|
|
472
|
-
export const TestFunctionResultFilterSensitiveLog = (obj) => ({
|
|
628
|
+
export const ListDistributionsByConnectionModeResultFilterSensitiveLog = (obj) => ({
|
|
473
629
|
...obj,
|
|
474
|
-
...(obj.TestResult && { TestResult: TestResultFilterSensitiveLog(obj.TestResult) }),
|
|
475
630
|
});
|
|
476
|
-
export const
|
|
477
|
-
...obj,
|
|
478
|
-
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|
|
479
|
-
});
|
|
480
|
-
export const UpdateDistributionResultFilterSensitiveLog = (obj) => ({
|
|
481
|
-
...obj,
|
|
482
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
483
|
-
});
|
|
484
|
-
export const UpdateDistributionWithStagingConfigResultFilterSensitiveLog = (obj) => ({
|
|
631
|
+
export const ListDistributionsByRealtimeLogConfigResultFilterSensitiveLog = (obj) => ({
|
|
485
632
|
...obj,
|
|
486
|
-
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
487
633
|
});
|
|
488
|
-
export const
|
|
634
|
+
export const ListDistributionsByWebACLIdResultFilterSensitiveLog = (obj) => ({
|
|
489
635
|
...obj,
|
|
490
|
-
...(obj.FunctionCode && { FunctionCode: SENSITIVE_STRING }),
|
|
491
636
|
});
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
|
+
import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export class TestFunctionFailed extends __BaseException {
|
|
5
|
+
name = "TestFunctionFailed";
|
|
6
|
+
$fault = "server";
|
|
7
|
+
Message;
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "TestFunctionFailed",
|
|
11
|
+
$fault: "server",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, TestFunctionFailed.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export const DnsConfigurationStatus = {
|
|
19
|
+
Invalid: "invalid-configuration",
|
|
20
|
+
Unknown: "unknown-configuration",
|
|
21
|
+
Valid: "valid-configuration",
|
|
22
|
+
};
|
|
23
|
+
export const TestFunctionRequestFilterSensitiveLog = (obj) => ({
|
|
24
|
+
...obj,
|
|
25
|
+
...(obj.EventObject && { EventObject: SENSITIVE_STRING }),
|
|
26
|
+
});
|
|
27
|
+
export const TestResultFilterSensitiveLog = (obj) => ({
|
|
28
|
+
...obj,
|
|
29
|
+
...(obj.FunctionExecutionLogs && { FunctionExecutionLogs: SENSITIVE_STRING }),
|
|
30
|
+
...(obj.FunctionErrorMessage && { FunctionErrorMessage: SENSITIVE_STRING }),
|
|
31
|
+
...(obj.FunctionOutput && { FunctionOutput: SENSITIVE_STRING }),
|
|
32
|
+
});
|
|
33
|
+
export const TestFunctionResultFilterSensitiveLog = (obj) => ({
|
|
34
|
+
...obj,
|
|
35
|
+
...(obj.TestResult && { TestResult: TestResultFilterSensitiveLog(obj.TestResult) }),
|
|
36
|
+
});
|
|
37
|
+
export const UpdateDistributionRequestFilterSensitiveLog = (obj) => ({
|
|
38
|
+
...obj,
|
|
39
|
+
...(obj.DistributionConfig && { DistributionConfig: DistributionConfigFilterSensitiveLog(obj.DistributionConfig) }),
|
|
40
|
+
});
|
|
41
|
+
export const UpdateDistributionResultFilterSensitiveLog = (obj) => ({
|
|
42
|
+
...obj,
|
|
43
|
+
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
44
|
+
});
|
|
45
|
+
export const UpdateDistributionWithStagingConfigResultFilterSensitiveLog = (obj) => ({
|
|
46
|
+
...obj,
|
|
47
|
+
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
48
|
+
});
|
|
49
|
+
export const UpdateFunctionRequestFilterSensitiveLog = (obj) => ({
|
|
50
|
+
...obj,
|
|
51
|
+
...(obj.FunctionCode && { FunctionCode: SENSITIVE_STRING }),
|
|
52
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListConnectionGroupsCommand, } from "../commands/ListConnectionGroupsCommand";
|
|
4
|
+
export const paginateListConnectionGroups = createPaginator(CloudFrontClient, ListConnectionGroupsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListDistributionTenantsByCustomizationCommand, } from "../commands/ListDistributionTenantsByCustomizationCommand";
|
|
4
|
+
export const paginateListDistributionTenantsByCustomization = createPaginator(CloudFrontClient, ListDistributionTenantsByCustomizationCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListDistributionTenantsCommand, } from "../commands/ListDistributionTenantsCommand";
|
|
4
|
+
export const paginateListDistributionTenants = createPaginator(CloudFrontClient, ListDistributionTenantsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListDistributionsByConnectionModeCommand, } from "../commands/ListDistributionsByConnectionModeCommand";
|
|
4
|
+
export const paginateListDistributionsByConnectionMode = createPaginator(CloudFrontClient, ListDistributionsByConnectionModeCommand, "Marker", "DistributionList.NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListDomainConflictsCommand, } from "../commands/ListDomainConflictsCommand";
|
|
4
|
+
export const paginateListDomainConflicts = createPaginator(CloudFrontClient, ListDomainConflictsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListInvalidationsForDistributionTenantCommand, } from "../commands/ListInvalidationsForDistributionTenantCommand";
|
|
4
|
+
export const paginateListInvalidationsForDistributionTenant = createPaginator(CloudFrontClient, ListInvalidationsForDistributionTenantCommand, "Marker", "InvalidationList.NextMarker", "MaxItems");
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
|
|
3
|
+
export * from "./ListConnectionGroupsPaginator";
|
|
4
|
+
export * from "./ListDistributionTenantsByCustomizationPaginator";
|
|
5
|
+
export * from "./ListDistributionTenantsPaginator";
|
|
6
|
+
export * from "./ListDistributionsByConnectionModePaginator";
|
|
3
7
|
export * from "./ListDistributionsPaginator";
|
|
8
|
+
export * from "./ListDomainConflictsPaginator";
|
|
9
|
+
export * from "./ListInvalidationsForDistributionTenantPaginator";
|
|
4
10
|
export * from "./ListInvalidationsPaginator";
|
|
5
11
|
export * from "./ListKeyValueStoresPaginator";
|
|
6
12
|
export * from "./ListPublicKeysPaginator";
|