@aws-sdk/client-cloudfront 3.301.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.
@@ -1,16 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
2
  import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
- export var ResponseHeadersPolicyAccessControlAllowMethodsValues;
4
- (function (ResponseHeadersPolicyAccessControlAllowMethodsValues) {
5
- ResponseHeadersPolicyAccessControlAllowMethodsValues["ALL"] = "ALL";
6
- ResponseHeadersPolicyAccessControlAllowMethodsValues["DELETE"] = "DELETE";
7
- ResponseHeadersPolicyAccessControlAllowMethodsValues["GET"] = "GET";
8
- ResponseHeadersPolicyAccessControlAllowMethodsValues["HEAD"] = "HEAD";
9
- ResponseHeadersPolicyAccessControlAllowMethodsValues["OPTIONS"] = "OPTIONS";
10
- ResponseHeadersPolicyAccessControlAllowMethodsValues["PATCH"] = "PATCH";
11
- ResponseHeadersPolicyAccessControlAllowMethodsValues["POST"] = "POST";
12
- ResponseHeadersPolicyAccessControlAllowMethodsValues["PUT"] = "PUT";
13
- })(ResponseHeadersPolicyAccessControlAllowMethodsValues || (ResponseHeadersPolicyAccessControlAllowMethodsValues = {}));
3
+ 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 var ICPRecordalStatus;
28
- (function (ICPRecordalStatus) {
29
- ICPRecordalStatus["APPROVED"] = "APPROVED";
30
- ICPRecordalStatus["PENDING"] = "PENDING";
31
- ICPRecordalStatus["SUSPENDED"] = "SUSPENDED";
32
- })(ICPRecordalStatus || (ICPRecordalStatus = {}));
33
- export var Method;
34
- (function (Method) {
35
- Method["DELETE"] = "DELETE";
36
- Method["GET"] = "GET";
37
- Method["HEAD"] = "HEAD";
38
- Method["OPTIONS"] = "OPTIONS";
39
- Method["PATCH"] = "PATCH";
40
- Method["POST"] = "POST";
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 var ItemSelection;
109
- (function (ItemSelection) {
110
- ItemSelection["all"] = "all";
111
- ItemSelection["none"] = "none";
112
- ItemSelection["whitelist"] = "whitelist";
113
- })(ItemSelection || (ItemSelection = {}));
114
- export var EventType;
115
- (function (EventType) {
116
- EventType["origin_request"] = "origin-request";
117
- EventType["origin_response"] = "origin-response";
118
- EventType["viewer_request"] = "viewer-request";
119
- EventType["viewer_response"] = "viewer-response";
120
- })(EventType || (EventType = {}));
121
- export var ViewerProtocolPolicy;
122
- (function (ViewerProtocolPolicy) {
123
- ViewerProtocolPolicy["allow_all"] = "allow-all";
124
- ViewerProtocolPolicy["https_only"] = "https-only";
125
- ViewerProtocolPolicy["redirect_to_https"] = "redirect-to-https";
126
- })(ViewerProtocolPolicy || (ViewerProtocolPolicy = {}));
127
- export var CachePolicyCookieBehavior;
128
- (function (CachePolicyCookieBehavior) {
129
- CachePolicyCookieBehavior["all"] = "all";
130
- CachePolicyCookieBehavior["allExcept"] = "allExcept";
131
- CachePolicyCookieBehavior["none"] = "none";
132
- CachePolicyCookieBehavior["whitelist"] = "whitelist";
133
- })(CachePolicyCookieBehavior || (CachePolicyCookieBehavior = {}));
134
- export var CachePolicyHeaderBehavior;
135
- (function (CachePolicyHeaderBehavior) {
136
- CachePolicyHeaderBehavior["none"] = "none";
137
- CachePolicyHeaderBehavior["whitelist"] = "whitelist";
138
- })(CachePolicyHeaderBehavior || (CachePolicyHeaderBehavior = {}));
139
- export var CachePolicyQueryStringBehavior;
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 var CachePolicyType;
173
- (function (CachePolicyType) {
174
- CachePolicyType["custom"] = "custom";
175
- CachePolicyType["managed"] = "managed";
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 var CertificateSource;
191
- (function (CertificateSource) {
192
- CertificateSource["acm"] = "acm";
193
- CertificateSource["cloudfront"] = "cloudfront";
194
- CertificateSource["iam"] = "iam";
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 var HttpVersion;
210
- (function (HttpVersion) {
211
- HttpVersion["http1_1"] = "http1.1";
212
- HttpVersion["http2"] = "http2";
213
- HttpVersion["http2and3"] = "http2and3";
214
- HttpVersion["http3"] = "http3";
215
- })(HttpVersion || (HttpVersion = {}));
216
- export var OriginProtocolPolicy;
217
- (function (OriginProtocolPolicy) {
218
- OriginProtocolPolicy["http_only"] = "http-only";
219
- OriginProtocolPolicy["https_only"] = "https-only";
220
- OriginProtocolPolicy["match_viewer"] = "match-viewer";
221
- })(OriginProtocolPolicy || (OriginProtocolPolicy = {}));
222
- export var SslProtocol;
223
- (function (SslProtocol) {
224
- SslProtocol["SSLv3"] = "SSLv3";
225
- SslProtocol["TLSv1"] = "TLSv1";
226
- SslProtocol["TLSv1_1"] = "TLSv1.1";
227
- SslProtocol["TLSv1_2"] = "TLSv1.2";
228
- })(SslProtocol || (SslProtocol = {}));
229
- export var PriceClass;
230
- (function (PriceClass) {
231
- PriceClass["PriceClass_100"] = "PriceClass_100";
232
- PriceClass["PriceClass_200"] = "PriceClass_200";
233
- PriceClass["PriceClass_All"] = "PriceClass_All";
234
- })(PriceClass || (PriceClass = {}));
235
- export var GeoRestrictionType;
236
- (function (GeoRestrictionType) {
237
- GeoRestrictionType["blacklist"] = "blacklist";
238
- GeoRestrictionType["none"] = "none";
239
- GeoRestrictionType["whitelist"] = "whitelist";
240
- })(GeoRestrictionType || (GeoRestrictionType = {}));
241
- export var MinimumProtocolVersion;
242
- (function (MinimumProtocolVersion) {
243
- MinimumProtocolVersion["SSLv3"] = "SSLv3";
244
- MinimumProtocolVersion["TLSv1"] = "TLSv1";
245
- MinimumProtocolVersion["TLSv1_1_2016"] = "TLSv1.1_2016";
246
- MinimumProtocolVersion["TLSv1_2016"] = "TLSv1_2016";
247
- MinimumProtocolVersion["TLSv1_2_2018"] = "TLSv1.2_2018";
248
- MinimumProtocolVersion["TLSv1_2_2019"] = "TLSv1.2_2019";
249
- MinimumProtocolVersion["TLSv1_2_2021"] = "TLSv1.2_2021";
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 var ContinuousDeploymentPolicyType;
1103
- (function (ContinuousDeploymentPolicyType) {
1104
- ContinuousDeploymentPolicyType["SingleHeader"] = "SingleHeader";
1105
- ContinuousDeploymentPolicyType["SingleWeight"] = "SingleWeight";
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 var Format;
1212
- (function (Format) {
1213
- Format["URLEncoded"] = "URLEncoded";
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 var FunctionRuntime;
1372
- (function (FunctionRuntime) {
1373
- FunctionRuntime["cloudfront_js_1_0"] = "cloudfront-js-1.0";
1374
- })(FunctionRuntime || (FunctionRuntime = {}));
1375
- export var FunctionStage;
1376
- (function (FunctionStage) {
1377
- FunctionStage["DEVELOPMENT"] = "DEVELOPMENT";
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 var RealtimeMetricsSubscriptionStatus;
1485
- (function (RealtimeMetricsSubscriptionStatus) {
1486
- RealtimeMetricsSubscriptionStatus["Disabled"] = "Disabled";
1487
- RealtimeMetricsSubscriptionStatus["Enabled"] = "Enabled";
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 var OriginAccessControlOriginTypes;
1503
- (function (OriginAccessControlOriginTypes) {
1504
- OriginAccessControlOriginTypes["mediastore"] = "mediastore";
1505
- OriginAccessControlOriginTypes["s3"] = "s3";
1506
- })(OriginAccessControlOriginTypes || (OriginAccessControlOriginTypes = {}));
1507
- export var OriginAccessControlSigningBehaviors;
1508
- (function (OriginAccessControlSigningBehaviors) {
1509
- OriginAccessControlSigningBehaviors["always"] = "always";
1510
- OriginAccessControlSigningBehaviors["never"] = "never";
1511
- OriginAccessControlSigningBehaviors["no_override"] = "no-override";
1512
- })(OriginAccessControlSigningBehaviors || (OriginAccessControlSigningBehaviors = {}));
1513
- export var OriginAccessControlSigningProtocols;
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 var OriginRequestPolicyCookieBehavior;
1544
- (function (OriginRequestPolicyCookieBehavior) {
1545
- OriginRequestPolicyCookieBehavior["all"] = "all";
1546
- OriginRequestPolicyCookieBehavior["allExcept"] = "allExcept";
1547
- OriginRequestPolicyCookieBehavior["none"] = "none";
1548
- OriginRequestPolicyCookieBehavior["whitelist"] = "whitelist";
1549
- })(OriginRequestPolicyCookieBehavior || (OriginRequestPolicyCookieBehavior = {}));
1550
- export var OriginRequestPolicyHeaderBehavior;
1551
- (function (OriginRequestPolicyHeaderBehavior) {
1552
- OriginRequestPolicyHeaderBehavior["allExcept"] = "allExcept";
1553
- OriginRequestPolicyHeaderBehavior["allViewer"] = "allViewer";
1554
- OriginRequestPolicyHeaderBehavior["allViewerAndWhitelistCloudFront"] = "allViewerAndWhitelistCloudFront";
1555
- OriginRequestPolicyHeaderBehavior["none"] = "none";
1556
- OriginRequestPolicyHeaderBehavior["whitelist"] = "whitelist";
1557
- })(OriginRequestPolicyHeaderBehavior || (OriginRequestPolicyHeaderBehavior = {}));
1558
- export var OriginRequestPolicyQueryStringBehavior;
1559
- (function (OriginRequestPolicyQueryStringBehavior) {
1560
- OriginRequestPolicyQueryStringBehavior["all"] = "all";
1561
- OriginRequestPolicyQueryStringBehavior["allExcept"] = "allExcept";
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 var FrameOptionsList;
1683
- (function (FrameOptionsList) {
1684
- FrameOptionsList["DENY"] = "DENY";
1685
- FrameOptionsList["SAMEORIGIN"] = "SAMEORIGIN";
1686
- })(FrameOptionsList || (FrameOptionsList = {}));
1687
- export var ReferrerPolicyList;
1688
- (function (ReferrerPolicyList) {
1689
- ReferrerPolicyList["no_referrer"] = "no-referrer";
1690
- ReferrerPolicyList["no_referrer_when_downgrade"] = "no-referrer-when-downgrade";
1691
- ReferrerPolicyList["origin"] = "origin";
1692
- ReferrerPolicyList["origin_when_cross_origin"] = "origin-when-cross-origin";
1693
- ReferrerPolicyList["same_origin"] = "same-origin";
1694
- ReferrerPolicyList["strict_origin"] = "strict-origin";
1695
- ReferrerPolicyList["strict_origin_when_cross_origin"] = "strict-origin-when-cross-origin";
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 var OriginRequestPolicyType;
369
- (function (OriginRequestPolicyType) {
370
- OriginRequestPolicyType["custom"] = "custom";
371
- OriginRequestPolicyType["managed"] = "managed";
372
- })(OriginRequestPolicyType || (OriginRequestPolicyType = {}));
373
- export var ResponseHeadersPolicyType;
374
- (function (ResponseHeadersPolicyType) {
375
- ResponseHeadersPolicyType["custom"] = "custom";
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({