@aws-sdk/client-cloudfront 3.300.0 → 3.303.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/models/models_0.js +169 -200
- package/dist-cjs/models/models_1.js +8 -10
- package/dist-es/models/models_0.js +169 -200
- package/dist-es/models/models_1.js +8 -10
- package/dist-types/commands/AssociateAliasCommand.d.ts +1 -1
- package/dist-types/commands/CopyDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +12 -12
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +2 -2
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +8 -8
- package/dist-types/commands/CreateDistributionCommand.d.ts +59 -63
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +63 -67
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +10 -10
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +7 -7
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
- package/dist-types/commands/CreateInvalidationCommand.d.ts +4 -4
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +3 -3
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +2 -2
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +11 -11
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +2 -2
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +5 -5
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +25 -25
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +8 -8
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +12 -12
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
- package/dist-types/commands/GetInvalidationCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +1 -1
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvalidationsCommand.d.ts +1 -1
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +4 -4
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +12 -12
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +2 -2
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +8 -8
- package/dist-types/commands/UpdateDistributionCommand.d.ts +59 -63
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +10 -10
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +7 -7
- package/dist-types/commands/UpdateFunctionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +3 -3
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +2 -2
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +11 -11
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +5 -5
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +25 -25
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +8 -8
- package/dist-types/models/models_0.d.ts +324 -169
- package/dist-types/models/models_1.d.ts +18 -8
- package/dist-types/ts3.4/models/models_0.d.ts +223 -169
- package/dist-types/ts3.4/models/models_1.d.ts +12 -8
- package/package.json +36 -36
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
})(ResponseHeadersPolicyAccessControlAllowMethodsValues || (ResponseHeadersPolicyAccessControlAllowMethodsValues = {}));
|
|
3
|
+
export const ResponseHeadersPolicyAccessControlAllowMethodsValues = {
|
|
4
|
+
ALL: "ALL",
|
|
5
|
+
DELETE: "DELETE",
|
|
6
|
+
GET: "GET",
|
|
7
|
+
HEAD: "HEAD",
|
|
8
|
+
OPTIONS: "OPTIONS",
|
|
9
|
+
PATCH: "PATCH",
|
|
10
|
+
POST: "POST",
|
|
11
|
+
PUT: "PUT",
|
|
12
|
+
};
|
|
14
13
|
export class AccessDenied extends __BaseException {
|
|
15
14
|
constructor(opts) {
|
|
16
15
|
super({
|
|
@@ -24,22 +23,20 @@ export class AccessDenied extends __BaseException {
|
|
|
24
23
|
this.Message = opts.Message;
|
|
25
24
|
}
|
|
26
25
|
}
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
Method["PUT"] = "PUT";
|
|
42
|
-
})(Method || (Method = {}));
|
|
26
|
+
export const ICPRecordalStatus = {
|
|
27
|
+
APPROVED: "APPROVED",
|
|
28
|
+
PENDING: "PENDING",
|
|
29
|
+
SUSPENDED: "SUSPENDED",
|
|
30
|
+
};
|
|
31
|
+
export const Method = {
|
|
32
|
+
DELETE: "DELETE",
|
|
33
|
+
GET: "GET",
|
|
34
|
+
HEAD: "HEAD",
|
|
35
|
+
OPTIONS: "OPTIONS",
|
|
36
|
+
PATCH: "PATCH",
|
|
37
|
+
POST: "POST",
|
|
38
|
+
PUT: "PUT",
|
|
39
|
+
};
|
|
43
40
|
export class IllegalUpdate extends __BaseException {
|
|
44
41
|
constructor(opts) {
|
|
45
42
|
super({
|
|
@@ -105,44 +102,38 @@ export class BatchTooLarge extends __BaseException {
|
|
|
105
102
|
this.Message = opts.Message;
|
|
106
103
|
}
|
|
107
104
|
}
|
|
108
|
-
export
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
export
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
(function (CachePolicyQueryStringBehavior) {
|
|
141
|
-
CachePolicyQueryStringBehavior["all"] = "all";
|
|
142
|
-
CachePolicyQueryStringBehavior["allExcept"] = "allExcept";
|
|
143
|
-
CachePolicyQueryStringBehavior["none"] = "none";
|
|
144
|
-
CachePolicyQueryStringBehavior["whitelist"] = "whitelist";
|
|
145
|
-
})(CachePolicyQueryStringBehavior || (CachePolicyQueryStringBehavior = {}));
|
|
105
|
+
export const ItemSelection = {
|
|
106
|
+
all: "all",
|
|
107
|
+
none: "none",
|
|
108
|
+
whitelist: "whitelist",
|
|
109
|
+
};
|
|
110
|
+
export const EventType = {
|
|
111
|
+
origin_request: "origin-request",
|
|
112
|
+
origin_response: "origin-response",
|
|
113
|
+
viewer_request: "viewer-request",
|
|
114
|
+
viewer_response: "viewer-response",
|
|
115
|
+
};
|
|
116
|
+
export const ViewerProtocolPolicy = {
|
|
117
|
+
allow_all: "allow-all",
|
|
118
|
+
https_only: "https-only",
|
|
119
|
+
redirect_to_https: "redirect-to-https",
|
|
120
|
+
};
|
|
121
|
+
export const CachePolicyCookieBehavior = {
|
|
122
|
+
all: "all",
|
|
123
|
+
allExcept: "allExcept",
|
|
124
|
+
none: "none",
|
|
125
|
+
whitelist: "whitelist",
|
|
126
|
+
};
|
|
127
|
+
export const CachePolicyHeaderBehavior = {
|
|
128
|
+
none: "none",
|
|
129
|
+
whitelist: "whitelist",
|
|
130
|
+
};
|
|
131
|
+
export const CachePolicyQueryStringBehavior = {
|
|
132
|
+
all: "all",
|
|
133
|
+
allExcept: "allExcept",
|
|
134
|
+
none: "none",
|
|
135
|
+
whitelist: "whitelist",
|
|
136
|
+
};
|
|
146
137
|
export class CachePolicyAlreadyExists extends __BaseException {
|
|
147
138
|
constructor(opts) {
|
|
148
139
|
super({
|
|
@@ -169,11 +160,10 @@ export class CachePolicyInUse extends __BaseException {
|
|
|
169
160
|
this.Message = opts.Message;
|
|
170
161
|
}
|
|
171
162
|
}
|
|
172
|
-
export
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
})(CachePolicyType || (CachePolicyType = {}));
|
|
163
|
+
export const CachePolicyType = {
|
|
164
|
+
custom: "custom",
|
|
165
|
+
managed: "managed",
|
|
166
|
+
};
|
|
177
167
|
export class CannotChangeImmutablePublicKeyFields extends __BaseException {
|
|
178
168
|
constructor(opts) {
|
|
179
169
|
super({
|
|
@@ -187,12 +177,11 @@ export class CannotChangeImmutablePublicKeyFields extends __BaseException {
|
|
|
187
177
|
this.Message = opts.Message;
|
|
188
178
|
}
|
|
189
179
|
}
|
|
190
|
-
export
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
})(CertificateSource || (CertificateSource = {}));
|
|
180
|
+
export const CertificateSource = {
|
|
181
|
+
acm: "acm",
|
|
182
|
+
cloudfront: "cloudfront",
|
|
183
|
+
iam: "iam",
|
|
184
|
+
};
|
|
196
185
|
export class CNAMEAlreadyExists extends __BaseException {
|
|
197
186
|
constructor(opts) {
|
|
198
187
|
super({
|
|
@@ -206,54 +195,47 @@ export class CNAMEAlreadyExists extends __BaseException {
|
|
|
206
195
|
this.Message = opts.Message;
|
|
207
196
|
}
|
|
208
197
|
}
|
|
209
|
-
export
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
})(MinimumProtocolVersion || (MinimumProtocolVersion = {}));
|
|
251
|
-
export var SSLSupportMethod;
|
|
252
|
-
(function (SSLSupportMethod) {
|
|
253
|
-
SSLSupportMethod["sni_only"] = "sni-only";
|
|
254
|
-
SSLSupportMethod["static_ip"] = "static-ip";
|
|
255
|
-
SSLSupportMethod["vip"] = "vip";
|
|
256
|
-
})(SSLSupportMethod || (SSLSupportMethod = {}));
|
|
198
|
+
export const HttpVersion = {
|
|
199
|
+
http1_1: "http1.1",
|
|
200
|
+
http2: "http2",
|
|
201
|
+
http2and3: "http2and3",
|
|
202
|
+
http3: "http3",
|
|
203
|
+
};
|
|
204
|
+
export const OriginProtocolPolicy = {
|
|
205
|
+
http_only: "http-only",
|
|
206
|
+
https_only: "https-only",
|
|
207
|
+
match_viewer: "match-viewer",
|
|
208
|
+
};
|
|
209
|
+
export const SslProtocol = {
|
|
210
|
+
SSLv3: "SSLv3",
|
|
211
|
+
TLSv1: "TLSv1",
|
|
212
|
+
TLSv1_1: "TLSv1.1",
|
|
213
|
+
TLSv1_2: "TLSv1.2",
|
|
214
|
+
};
|
|
215
|
+
export const PriceClass = {
|
|
216
|
+
PriceClass_100: "PriceClass_100",
|
|
217
|
+
PriceClass_200: "PriceClass_200",
|
|
218
|
+
PriceClass_All: "PriceClass_All",
|
|
219
|
+
};
|
|
220
|
+
export const GeoRestrictionType = {
|
|
221
|
+
blacklist: "blacklist",
|
|
222
|
+
none: "none",
|
|
223
|
+
whitelist: "whitelist",
|
|
224
|
+
};
|
|
225
|
+
export const MinimumProtocolVersion = {
|
|
226
|
+
SSLv3: "SSLv3",
|
|
227
|
+
TLSv1: "TLSv1",
|
|
228
|
+
TLSv1_1_2016: "TLSv1.1_2016",
|
|
229
|
+
TLSv1_2016: "TLSv1_2016",
|
|
230
|
+
TLSv1_2_2018: "TLSv1.2_2018",
|
|
231
|
+
TLSv1_2_2019: "TLSv1.2_2019",
|
|
232
|
+
TLSv1_2_2021: "TLSv1.2_2021",
|
|
233
|
+
};
|
|
234
|
+
export const SSLSupportMethod = {
|
|
235
|
+
sni_only: "sni-only",
|
|
236
|
+
static_ip: "static-ip",
|
|
237
|
+
vip: "vip",
|
|
238
|
+
};
|
|
257
239
|
export class DistributionAlreadyExists extends __BaseException {
|
|
258
240
|
constructor(opts) {
|
|
259
241
|
super({
|
|
@@ -1099,11 +1081,10 @@ export class ContinuousDeploymentPolicyAlreadyExists extends __BaseException {
|
|
|
1099
1081
|
this.Message = opts.Message;
|
|
1100
1082
|
}
|
|
1101
1083
|
}
|
|
1102
|
-
export
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
})(ContinuousDeploymentPolicyType || (ContinuousDeploymentPolicyType = {}));
|
|
1084
|
+
export const ContinuousDeploymentPolicyType = {
|
|
1085
|
+
SingleHeader: "SingleHeader",
|
|
1086
|
+
SingleWeight: "SingleWeight",
|
|
1087
|
+
};
|
|
1107
1088
|
export class StagingDistributionInUse extends __BaseException {
|
|
1108
1089
|
constructor(opts) {
|
|
1109
1090
|
super({
|
|
@@ -1208,10 +1189,9 @@ export class InvalidTagging extends __BaseException {
|
|
|
1208
1189
|
this.Message = opts.Message;
|
|
1209
1190
|
}
|
|
1210
1191
|
}
|
|
1211
|
-
export
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
})(Format || (Format = {}));
|
|
1192
|
+
export const Format = {
|
|
1193
|
+
URLEncoded: "URLEncoded",
|
|
1194
|
+
};
|
|
1215
1195
|
export class FieldLevelEncryptionConfigAlreadyExists extends __BaseException {
|
|
1216
1196
|
constructor(opts) {
|
|
1217
1197
|
super({
|
|
@@ -1368,15 +1348,13 @@ export class TooManyFieldLevelEncryptionProfiles extends __BaseException {
|
|
|
1368
1348
|
this.Message = opts.Message;
|
|
1369
1349
|
}
|
|
1370
1350
|
}
|
|
1371
|
-
export
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
FunctionStage["LIVE"] = "LIVE";
|
|
1379
|
-
})(FunctionStage || (FunctionStage = {}));
|
|
1351
|
+
export const FunctionRuntime = {
|
|
1352
|
+
cloudfront_js_1_0: "cloudfront-js-1.0",
|
|
1353
|
+
};
|
|
1354
|
+
export const FunctionStage = {
|
|
1355
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
1356
|
+
LIVE: "LIVE",
|
|
1357
|
+
};
|
|
1380
1358
|
export class FunctionAlreadyExists extends __BaseException {
|
|
1381
1359
|
constructor(opts) {
|
|
1382
1360
|
super({
|
|
@@ -1481,11 +1459,10 @@ export class TooManyPublicKeysInKeyGroup extends __BaseException {
|
|
|
1481
1459
|
this.Message = opts.Message;
|
|
1482
1460
|
}
|
|
1483
1461
|
}
|
|
1484
|
-
export
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
})(RealtimeMetricsSubscriptionStatus || (RealtimeMetricsSubscriptionStatus = {}));
|
|
1462
|
+
export const RealtimeMetricsSubscriptionStatus = {
|
|
1463
|
+
Disabled: "Disabled",
|
|
1464
|
+
Enabled: "Enabled",
|
|
1465
|
+
};
|
|
1489
1466
|
export class MonitoringSubscriptionAlreadyExists extends __BaseException {
|
|
1490
1467
|
constructor(opts) {
|
|
1491
1468
|
super({
|
|
@@ -1499,21 +1476,18 @@ export class MonitoringSubscriptionAlreadyExists extends __BaseException {
|
|
|
1499
1476
|
this.Message = opts.Message;
|
|
1500
1477
|
}
|
|
1501
1478
|
}
|
|
1502
|
-
export
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
(function (OriginAccessControlSigningProtocols) {
|
|
1515
|
-
OriginAccessControlSigningProtocols["sigv4"] = "sigv4";
|
|
1516
|
-
})(OriginAccessControlSigningProtocols || (OriginAccessControlSigningProtocols = {}));
|
|
1479
|
+
export const OriginAccessControlOriginTypes = {
|
|
1480
|
+
mediastore: "mediastore",
|
|
1481
|
+
s3: "s3",
|
|
1482
|
+
};
|
|
1483
|
+
export const OriginAccessControlSigningBehaviors = {
|
|
1484
|
+
always: "always",
|
|
1485
|
+
never: "never",
|
|
1486
|
+
no_override: "no-override",
|
|
1487
|
+
};
|
|
1488
|
+
export const OriginAccessControlSigningProtocols = {
|
|
1489
|
+
sigv4: "sigv4",
|
|
1490
|
+
};
|
|
1517
1491
|
export class OriginAccessControlAlreadyExists extends __BaseException {
|
|
1518
1492
|
constructor(opts) {
|
|
1519
1493
|
super({
|
|
@@ -1540,28 +1514,25 @@ export class TooManyOriginAccessControls extends __BaseException {
|
|
|
1540
1514
|
this.Message = opts.Message;
|
|
1541
1515
|
}
|
|
1542
1516
|
}
|
|
1543
|
-
export
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
OriginRequestPolicyQueryStringBehavior["none"] = "none";
|
|
1563
|
-
OriginRequestPolicyQueryStringBehavior["whitelist"] = "whitelist";
|
|
1564
|
-
})(OriginRequestPolicyQueryStringBehavior || (OriginRequestPolicyQueryStringBehavior = {}));
|
|
1517
|
+
export const OriginRequestPolicyCookieBehavior = {
|
|
1518
|
+
all: "all",
|
|
1519
|
+
allExcept: "allExcept",
|
|
1520
|
+
none: "none",
|
|
1521
|
+
whitelist: "whitelist",
|
|
1522
|
+
};
|
|
1523
|
+
export const OriginRequestPolicyHeaderBehavior = {
|
|
1524
|
+
allExcept: "allExcept",
|
|
1525
|
+
allViewer: "allViewer",
|
|
1526
|
+
allViewerAndWhitelistCloudFront: "allViewerAndWhitelistCloudFront",
|
|
1527
|
+
none: "none",
|
|
1528
|
+
whitelist: "whitelist",
|
|
1529
|
+
};
|
|
1530
|
+
export const OriginRequestPolicyQueryStringBehavior = {
|
|
1531
|
+
all: "all",
|
|
1532
|
+
allExcept: "allExcept",
|
|
1533
|
+
none: "none",
|
|
1534
|
+
whitelist: "whitelist",
|
|
1535
|
+
};
|
|
1565
1536
|
export class OriginRequestPolicyAlreadyExists extends __BaseException {
|
|
1566
1537
|
constructor(opts) {
|
|
1567
1538
|
super({
|
|
@@ -1679,22 +1650,20 @@ export class TooManyRealtimeLogConfigs extends __BaseException {
|
|
|
1679
1650
|
this.Message = opts.Message;
|
|
1680
1651
|
}
|
|
1681
1652
|
}
|
|
1682
|
-
export
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
ReferrerPolicyList["unsafe_url"] = "unsafe-url";
|
|
1697
|
-
})(ReferrerPolicyList || (ReferrerPolicyList = {}));
|
|
1653
|
+
export const FrameOptionsList = {
|
|
1654
|
+
DENY: "DENY",
|
|
1655
|
+
SAMEORIGIN: "SAMEORIGIN",
|
|
1656
|
+
};
|
|
1657
|
+
export const ReferrerPolicyList = {
|
|
1658
|
+
no_referrer: "no-referrer",
|
|
1659
|
+
no_referrer_when_downgrade: "no-referrer-when-downgrade",
|
|
1660
|
+
origin: "origin",
|
|
1661
|
+
origin_when_cross_origin: "origin-when-cross-origin",
|
|
1662
|
+
same_origin: "same-origin",
|
|
1663
|
+
strict_origin: "strict-origin",
|
|
1664
|
+
strict_origin_when_cross_origin: "strict-origin-when-cross-origin",
|
|
1665
|
+
unsafe_url: "unsafe-url",
|
|
1666
|
+
};
|
|
1698
1667
|
export const OriginCustomHeaderFilterSensitiveLog = (obj) => ({
|
|
1699
1668
|
...obj,
|
|
1700
1669
|
...(obj.HeaderValue && { HeaderValue: SENSITIVE_STRING }),
|
|
@@ -365,16 +365,14 @@ export class NoSuchInvalidation extends __BaseException {
|
|
|
365
365
|
this.Message = opts.Message;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
|
-
export
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
ResponseHeadersPolicyType["managed"] = "managed";
|
|
377
|
-
})(ResponseHeadersPolicyType || (ResponseHeadersPolicyType = {}));
|
|
368
|
+
export const OriginRequestPolicyType = {
|
|
369
|
+
custom: "custom",
|
|
370
|
+
managed: "managed",
|
|
371
|
+
};
|
|
372
|
+
export const ResponseHeadersPolicyType = {
|
|
373
|
+
custom: "custom",
|
|
374
|
+
managed: "managed",
|
|
375
|
+
};
|
|
378
376
|
export class TestFunctionFailed extends __BaseException {
|
|
379
377
|
constructor(opts) {
|
|
380
378
|
super({
|
|
@@ -36,7 +36,7 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
|
36
36
|
* import { CloudFrontClient, AssociateAliasCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
37
37
|
* // const { CloudFrontClient, AssociateAliasCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
38
38
|
* const client = new CloudFrontClient(config);
|
|
39
|
-
* const input = {
|
|
39
|
+
* const input = { // AssociateAliasRequest
|
|
40
40
|
* TargetDistributionId: "STRING_VALUE", // required
|
|
41
41
|
* Alias: "STRING_VALUE", // required
|
|
42
42
|
* };
|
|
@@ -32,7 +32,7 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
|
|
|
32
32
|
* import { CloudFrontClient, CopyDistributionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
33
33
|
* // const { CloudFrontClient, CopyDistributionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
34
34
|
* const client = new CloudFrontClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // CopyDistributionRequest
|
|
36
36
|
* PrimaryDistributionId: "STRING_VALUE", // required
|
|
37
37
|
* Staging: true || false,
|
|
38
38
|
* IfMatch: "STRING_VALUE",
|
|
@@ -48,39 +48,39 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
48
48
|
* import { CloudFrontClient, CreateCachePolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
49
49
|
* // const { CloudFrontClient, CreateCachePolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
50
50
|
* const client = new CloudFrontClient(config);
|
|
51
|
-
* const input = {
|
|
52
|
-
* CachePolicyConfig: {
|
|
51
|
+
* const input = { // CreateCachePolicyRequest
|
|
52
|
+
* CachePolicyConfig: { // CachePolicyConfig
|
|
53
53
|
* Comment: "STRING_VALUE",
|
|
54
54
|
* Name: "STRING_VALUE", // required
|
|
55
55
|
* DefaultTTL: Number("long"),
|
|
56
56
|
* MaxTTL: Number("long"),
|
|
57
57
|
* MinTTL: Number("long"), // required
|
|
58
|
-
* ParametersInCacheKeyAndForwardedToOrigin: {
|
|
58
|
+
* ParametersInCacheKeyAndForwardedToOrigin: { // ParametersInCacheKeyAndForwardedToOrigin
|
|
59
59
|
* EnableAcceptEncodingGzip: true || false, // required
|
|
60
60
|
* EnableAcceptEncodingBrotli: true || false,
|
|
61
|
-
* HeadersConfig: {
|
|
61
|
+
* HeadersConfig: { // CachePolicyHeadersConfig
|
|
62
62
|
* HeaderBehavior: "none" || "whitelist", // required
|
|
63
|
-
* Headers: {
|
|
63
|
+
* Headers: { // Headers
|
|
64
64
|
* Quantity: Number("int"), // required
|
|
65
|
-
* Items: [
|
|
65
|
+
* Items: [ // HeaderList
|
|
66
66
|
* "STRING_VALUE",
|
|
67
67
|
* ],
|
|
68
68
|
* },
|
|
69
69
|
* },
|
|
70
|
-
* CookiesConfig: {
|
|
70
|
+
* CookiesConfig: { // CachePolicyCookiesConfig
|
|
71
71
|
* CookieBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
72
|
-
* Cookies: {
|
|
72
|
+
* Cookies: { // CookieNames
|
|
73
73
|
* Quantity: Number("int"), // required
|
|
74
|
-
* Items: [
|
|
74
|
+
* Items: [ // CookieNameList
|
|
75
75
|
* "STRING_VALUE",
|
|
76
76
|
* ],
|
|
77
77
|
* },
|
|
78
78
|
* },
|
|
79
|
-
* QueryStringsConfig: {
|
|
79
|
+
* QueryStringsConfig: { // CachePolicyQueryStringsConfig
|
|
80
80
|
* QueryStringBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
81
|
-
* QueryStrings: {
|
|
81
|
+
* QueryStrings: { // QueryStringNames
|
|
82
82
|
* Quantity: Number("int"), // required
|
|
83
|
-
* Items: [
|
|
83
|
+
* Items: [ // QueryStringNamesList
|
|
84
84
|
* "STRING_VALUE",
|
|
85
85
|
* ],
|
|
86
86
|
* },
|
|
@@ -30,8 +30,8 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
|
|
|
30
30
|
* import { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
31
31
|
* // const { CloudFrontClient, CreateCloudFrontOriginAccessIdentityCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
32
32
|
* const client = new CloudFrontClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* CloudFrontOriginAccessIdentityConfig: {
|
|
33
|
+
* const input = { // CreateCloudFrontOriginAccessIdentityRequest
|
|
34
|
+
* CloudFrontOriginAccessIdentityConfig: { // CloudFrontOriginAccessIdentityConfig
|
|
35
35
|
* CallerReference: "STRING_VALUE", // required
|
|
36
36
|
* Comment: "STRING_VALUE", // required
|
|
37
37
|
* },
|
|
@@ -34,24 +34,24 @@ export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateCon
|
|
|
34
34
|
* import { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
35
|
* // const { CloudFrontClient, CreateContinuousDeploymentPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
36
|
* const client = new CloudFrontClient(config);
|
|
37
|
-
* const input = {
|
|
38
|
-
* ContinuousDeploymentPolicyConfig: {
|
|
39
|
-
* StagingDistributionDnsNames: {
|
|
37
|
+
* const input = { // CreateContinuousDeploymentPolicyRequest
|
|
38
|
+
* ContinuousDeploymentPolicyConfig: { // ContinuousDeploymentPolicyConfig
|
|
39
|
+
* StagingDistributionDnsNames: { // StagingDistributionDnsNames
|
|
40
40
|
* Quantity: Number("int"), // required
|
|
41
|
-
* Items: [
|
|
41
|
+
* Items: [ // StagingDistributionDnsNameList
|
|
42
42
|
* "STRING_VALUE",
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
45
45
|
* Enabled: true || false, // required
|
|
46
|
-
* TrafficConfig: {
|
|
47
|
-
* SingleWeightConfig: {
|
|
46
|
+
* TrafficConfig: { // TrafficConfig
|
|
47
|
+
* SingleWeightConfig: { // ContinuousDeploymentSingleWeightConfig
|
|
48
48
|
* Weight: Number("float"), // required
|
|
49
|
-
* SessionStickinessConfig: {
|
|
49
|
+
* SessionStickinessConfig: { // SessionStickinessConfig
|
|
50
50
|
* IdleTTL: Number("int"), // required
|
|
51
51
|
* MaximumTTL: Number("int"), // required
|
|
52
52
|
* },
|
|
53
53
|
* },
|
|
54
|
-
* SingleHeaderConfig: {
|
|
54
|
+
* SingleHeaderConfig: { // ContinuousDeploymentSingleHeaderConfig
|
|
55
55
|
* Header: "STRING_VALUE", // required
|
|
56
56
|
* Value: "STRING_VALUE", // required
|
|
57
57
|
* },
|