@aws-sdk/client-cloudfront 3.272.0 → 3.277.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +3 -0
- package/dist-types/CloudFront.d.ts +5 -5
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +5 -5
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +146 -115
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const A = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const A = "required", B = "type", C = "fn", D = "argv", E = "ref", F = "url", G = "properties", H = "headers", I = "authSchemes", J = "name", K = "signingName", L = "signingRegion";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [A]: false, [B]: "String" }, h = { [A]: true, "default": false, [B]: "Boolean" }, i = { [E]: "Endpoint" }, j = {}, k = { [E]: "Region" }, l = { [C]: "getAttr", [D]: [{ [E]: e }, "name"] }, m = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [B]: c }, n = { [F]: "https://cloudfront-fips.amazonaws.com", [G]: { [I]: [{ [J]: "sigv4", [K]: "cloudfront", [L]: "us-east-1" }] }, [H]: {} }, o = { [c]: "FIPS is enabled but this partition does not support FIPS", [B]: c }, p = { [c]: "DualStack is enabled but this partition does not support DualStack", [B]: c }, q = { [F]: "https://cloudfront.amazonaws.com", [G]: { [I]: [{ [J]: "sigv4", [K]: "cloudfront", [L]: "us-east-1" }] }, [H]: {} }, r = { [F]: "https://cloudfront.cn-northwest-1.amazonaws.com.cn", [G]: { [I]: [{ [J]: "sigv4", [K]: "cloudfront", [L]: "cn-northwest-1" }] }, [H]: {} }, s = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }], t = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], u = [k], v = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }, { [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], w = [{ [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsFIPS"] }] }, { [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsDualStack"] }] }], x = [{ [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsFIPS"] }] }], y = [{ [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsDualStack"] }] }], z = [{ [C]: f, [D]: [k, "aws-global"] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [C]: a, [D]: [i] }], [B]: b, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [B]: c }, { [B]: b, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [B]: c }, { endpoint: { [F]: i, [G]: j, [H]: j }, [B]: d }] }] }, { [B]: b, rules: [{ conditions: [{ [C]: a, [D]: u }], [B]: b, rules: [{ conditions: [{ [C]: "aws.partition", [D]: u, assign: e }], [B]: b, rules: [{ conditions: [{ [C]: f, [D]: [l, "aws"] }], [B]: b, rules: [{ conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.api.aws", [G]: j, [H]: j }, [B]: d }] }, m] }, { conditions: s, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ endpoint: n, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront.{Region}.api.aws", [G]: j, [H]: j }, [B]: d }] }, p] }, { endpoint: q, [B]: d }] }, { conditions: [{ [C]: f, [D]: [l, "aws-cn"] }], [B]: b, rules: [{ conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.api.amazonwebservices.com.cn", [G]: j, [H]: j }, [B]: d }] }, m] }, { conditions: s, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.amazonaws.com.cn", [G]: j, [H]: j }, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront.{Region}.api.amazonwebservices.com.cn", [G]: j, [H]: j }, [B]: d }] }, p] }, { endpoint: r, [B]: d }] }, { conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }, m] }, { conditions: s, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ [B]: b, rules: [{ conditions: z, endpoint: n, [B]: d }, { endpoint: { [F]: "https://cloudfront-fips.{Region}.{PartitionResult#dnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }, p] }, { [B]: b, rules: [{ conditions: z, endpoint: q, [B]: d }, { conditions: [{ [C]: f, [D]: [k, "aws-cn-global"] }], endpoint: r, [B]: d }, { endpoint: { [F]: "https://cloudfront.{Region}.{PartitionResult#dnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [B]: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1657,11 +1657,13 @@ exports.TooManyOriginAccessControls = TooManyOriginAccessControls;
|
|
|
1657
1657
|
var OriginRequestPolicyCookieBehavior;
|
|
1658
1658
|
(function (OriginRequestPolicyCookieBehavior) {
|
|
1659
1659
|
OriginRequestPolicyCookieBehavior["all"] = "all";
|
|
1660
|
+
OriginRequestPolicyCookieBehavior["allExcept"] = "allExcept";
|
|
1660
1661
|
OriginRequestPolicyCookieBehavior["none"] = "none";
|
|
1661
1662
|
OriginRequestPolicyCookieBehavior["whitelist"] = "whitelist";
|
|
1662
1663
|
})(OriginRequestPolicyCookieBehavior = exports.OriginRequestPolicyCookieBehavior || (exports.OriginRequestPolicyCookieBehavior = {}));
|
|
1663
1664
|
var OriginRequestPolicyHeaderBehavior;
|
|
1664
1665
|
(function (OriginRequestPolicyHeaderBehavior) {
|
|
1666
|
+
OriginRequestPolicyHeaderBehavior["allExcept"] = "allExcept";
|
|
1665
1667
|
OriginRequestPolicyHeaderBehavior["allViewer"] = "allViewer";
|
|
1666
1668
|
OriginRequestPolicyHeaderBehavior["allViewerAndWhitelistCloudFront"] = "allViewerAndWhitelistCloudFront";
|
|
1667
1669
|
OriginRequestPolicyHeaderBehavior["none"] = "none";
|
|
@@ -1670,6 +1672,7 @@ var OriginRequestPolicyHeaderBehavior;
|
|
|
1670
1672
|
var OriginRequestPolicyQueryStringBehavior;
|
|
1671
1673
|
(function (OriginRequestPolicyQueryStringBehavior) {
|
|
1672
1674
|
OriginRequestPolicyQueryStringBehavior["all"] = "all";
|
|
1675
|
+
OriginRequestPolicyQueryStringBehavior["allExcept"] = "allExcept";
|
|
1673
1676
|
OriginRequestPolicyQueryStringBehavior["none"] = "none";
|
|
1674
1677
|
OriginRequestPolicyQueryStringBehavior["whitelist"] = "whitelist";
|
|
1675
1678
|
})(OriginRequestPolicyQueryStringBehavior = exports.OriginRequestPolicyQueryStringBehavior || (exports.OriginRequestPolicyQueryStringBehavior = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const A = "
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const A = "required", B = "type", C = "fn", D = "argv", E = "ref", F = "url", G = "properties", H = "headers", I = "authSchemes", J = "name", K = "signingName", L = "signingRegion";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [A]: false, [B]: "String" }, h = { [A]: true, "default": false, [B]: "Boolean" }, i = { [E]: "Endpoint" }, j = {}, k = { [E]: "Region" }, l = { [C]: "getAttr", [D]: [{ [E]: e }, "name"] }, m = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [B]: c }, n = { [F]: "https://cloudfront-fips.amazonaws.com", [G]: { [I]: [{ [J]: "sigv4", [K]: "cloudfront", [L]: "us-east-1" }] }, [H]: {} }, o = { [c]: "FIPS is enabled but this partition does not support FIPS", [B]: c }, p = { [c]: "DualStack is enabled but this partition does not support DualStack", [B]: c }, q = { [F]: "https://cloudfront.amazonaws.com", [G]: { [I]: [{ [J]: "sigv4", [K]: "cloudfront", [L]: "us-east-1" }] }, [H]: {} }, r = { [F]: "https://cloudfront.cn-northwest-1.amazonaws.com.cn", [G]: { [I]: [{ [J]: "sigv4", [K]: "cloudfront", [L]: "cn-northwest-1" }] }, [H]: {} }, s = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }], t = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], u = [k], v = [{ [C]: "booleanEquals", [D]: [{ [E]: "UseFIPS" }, true] }, { [C]: "booleanEquals", [D]: [{ [E]: "UseDualStack" }, true] }], w = [{ [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsFIPS"] }] }, { [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsDualStack"] }] }], x = [{ [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsFIPS"] }] }], y = [{ [C]: "booleanEquals", [D]: [true, { [C]: "getAttr", [D]: [{ [E]: e }, "supportsDualStack"] }] }], z = [{ [C]: f, [D]: [k, "aws-global"] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [C]: a, [D]: [i] }], [B]: b, rules: [{ conditions: s, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [B]: c }, { [B]: b, rules: [{ conditions: t, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [B]: c }, { endpoint: { [F]: i, [G]: j, [H]: j }, [B]: d }] }] }, { [B]: b, rules: [{ conditions: [{ [C]: a, [D]: u }], [B]: b, rules: [{ conditions: [{ [C]: "aws.partition", [D]: u, assign: e }], [B]: b, rules: [{ conditions: [{ [C]: f, [D]: [l, "aws"] }], [B]: b, rules: [{ conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.api.aws", [G]: j, [H]: j }, [B]: d }] }, m] }, { conditions: s, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ endpoint: n, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront.{Region}.api.aws", [G]: j, [H]: j }, [B]: d }] }, p] }, { endpoint: q, [B]: d }] }, { conditions: [{ [C]: f, [D]: [l, "aws-cn"] }], [B]: b, rules: [{ conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.api.amazonwebservices.com.cn", [G]: j, [H]: j }, [B]: d }] }, m] }, { conditions: s, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.amazonaws.com.cn", [G]: j, [H]: j }, [B]: d }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront.{Region}.api.amazonwebservices.com.cn", [G]: j, [H]: j }, [B]: d }] }, p] }, { endpoint: r, [B]: d }] }, { conditions: v, [B]: b, rules: [{ conditions: w, [B]: b, rules: [{ [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }, m] }, { conditions: s, [B]: b, rules: [{ conditions: x, [B]: b, rules: [{ [B]: b, rules: [{ conditions: z, endpoint: n, [B]: d }, { endpoint: { [F]: "https://cloudfront-fips.{Region}.{PartitionResult#dnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }, o] }, { conditions: t, [B]: b, rules: [{ conditions: y, [B]: b, rules: [{ [B]: b, rules: [{ endpoint: { [F]: "https://cloudfront.{Region}.{PartitionResult#dualStackDnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }, p] }, { [B]: b, rules: [{ conditions: z, endpoint: q, [B]: d }, { conditions: [{ [C]: f, [D]: [k, "aws-cn-global"] }], endpoint: r, [B]: d }, { endpoint: { [F]: "https://cloudfront.{Region}.{PartitionResult#dnsSuffix}", [G]: j, [H]: j }, [B]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [B]: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1543,11 +1543,13 @@ export class TooManyOriginAccessControls extends __BaseException {
|
|
|
1543
1543
|
export var OriginRequestPolicyCookieBehavior;
|
|
1544
1544
|
(function (OriginRequestPolicyCookieBehavior) {
|
|
1545
1545
|
OriginRequestPolicyCookieBehavior["all"] = "all";
|
|
1546
|
+
OriginRequestPolicyCookieBehavior["allExcept"] = "allExcept";
|
|
1546
1547
|
OriginRequestPolicyCookieBehavior["none"] = "none";
|
|
1547
1548
|
OriginRequestPolicyCookieBehavior["whitelist"] = "whitelist";
|
|
1548
1549
|
})(OriginRequestPolicyCookieBehavior || (OriginRequestPolicyCookieBehavior = {}));
|
|
1549
1550
|
export var OriginRequestPolicyHeaderBehavior;
|
|
1550
1551
|
(function (OriginRequestPolicyHeaderBehavior) {
|
|
1552
|
+
OriginRequestPolicyHeaderBehavior["allExcept"] = "allExcept";
|
|
1551
1553
|
OriginRequestPolicyHeaderBehavior["allViewer"] = "allViewer";
|
|
1552
1554
|
OriginRequestPolicyHeaderBehavior["allViewerAndWhitelistCloudFront"] = "allViewerAndWhitelistCloudFront";
|
|
1553
1555
|
OriginRequestPolicyHeaderBehavior["none"] = "none";
|
|
@@ -1556,6 +1558,7 @@ export var OriginRequestPolicyHeaderBehavior;
|
|
|
1556
1558
|
export var OriginRequestPolicyQueryStringBehavior;
|
|
1557
1559
|
(function (OriginRequestPolicyQueryStringBehavior) {
|
|
1558
1560
|
OriginRequestPolicyQueryStringBehavior["all"] = "all";
|
|
1561
|
+
OriginRequestPolicyQueryStringBehavior["allExcept"] = "allExcept";
|
|
1559
1562
|
OriginRequestPolicyQueryStringBehavior["none"] = "none";
|
|
1560
1563
|
OriginRequestPolicyQueryStringBehavior["whitelist"] = "whitelist";
|
|
1561
1564
|
})(OriginRequestPolicyQueryStringBehavior || (OriginRequestPolicyQueryStringBehavior = {}));
|
|
@@ -159,11 +159,11 @@ export declare class CloudFront extends CloudFrontClient {
|
|
|
159
159
|
* objects to stay in the CloudFront cache.</p>
|
|
160
160
|
* </li>
|
|
161
161
|
* </ul>
|
|
162
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
162
|
+
* <p>The headers, cookies, and query strings that are included in the cache key are also included
|
|
163
|
+
* in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an
|
|
164
|
+
* object in its cache that matches the request's cache key. If you want to send values to
|
|
165
|
+
* the origin but <i>not</i> include them in the cache key, use
|
|
166
|
+
* <code>OriginRequestPolicy</code>.</p>
|
|
167
167
|
* <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the
|
|
168
168
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
169
169
|
*/
|
|
@@ -24,11 +24,11 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
24
24
|
* objects to stay in the CloudFront cache.</p>
|
|
25
25
|
* </li>
|
|
26
26
|
* </ul>
|
|
27
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
27
|
+
* <p>The headers, cookies, and query strings that are included in the cache key are also included
|
|
28
|
+
* in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an
|
|
29
|
+
* object in its cache that matches the request's cache key. If you want to send values to
|
|
30
|
+
* the origin but <i>not</i> include them in the cache key, use
|
|
31
|
+
* <code>OriginRequestPolicy</code>.</p>
|
|
32
32
|
* <p>For more information about cache policies, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">Controlling the cache key</a> in the
|
|
33
33
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
34
34
|
* @example
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -955,44 +955,41 @@ export declare enum CachePolicyCookieBehavior {
|
|
|
955
955
|
whitelist = "whitelist"
|
|
956
956
|
}
|
|
957
957
|
/**
|
|
958
|
-
* <p>An object that determines whether any cookies in viewer requests (and if so, which
|
|
959
|
-
*
|
|
960
|
-
* sends to the origin.</p>
|
|
958
|
+
* <p>An object that determines whether any cookies in viewer requests (and if so, which cookies)
|
|
959
|
+
* are included in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
961
960
|
*/
|
|
962
961
|
export interface CachePolicyCookiesConfig {
|
|
963
962
|
/**
|
|
964
|
-
* <p>Determines whether any cookies in viewer requests are included in the cache key and
|
|
965
|
-
*
|
|
966
|
-
* are:</p>
|
|
963
|
+
* <p>Determines whether any cookies in viewer requests are included in the cache key and in
|
|
964
|
+
* requests that CloudFront sends to the origin. Valid values are:</p>
|
|
967
965
|
* <ul>
|
|
968
966
|
* <li>
|
|
969
967
|
* <p>
|
|
970
|
-
* <code>none</code> –
|
|
971
|
-
*
|
|
972
|
-
*
|
|
973
|
-
*
|
|
974
|
-
* <i>are</i> included in origin
|
|
968
|
+
* <code>none</code> – No cookies in viewer requests are included in the cache key or in
|
|
969
|
+
* requests that CloudFront sends to the origin. Even when this field is set to
|
|
970
|
+
* <code>none</code>, any cookies that are listed in an
|
|
971
|
+
* <code>OriginRequestPolicy</code>
|
|
972
|
+
* <i>are</i> included in origin
|
|
973
|
+
* requests.</p>
|
|
975
974
|
* </li>
|
|
976
975
|
* <li>
|
|
977
976
|
* <p>
|
|
978
|
-
* <code>whitelist</code> –
|
|
979
|
-
*
|
|
980
|
-
*
|
|
977
|
+
* <code>whitelist</code> – Only the cookies in viewer requests that are listed in the
|
|
978
|
+
* <code>CookieNames</code> type are included in the cache key and in requests that
|
|
979
|
+
* CloudFront sends to the origin.</p>
|
|
981
980
|
* </li>
|
|
982
981
|
* <li>
|
|
983
982
|
* <p>
|
|
984
|
-
* <code>allExcept</code> – All cookies in viewer requests
|
|
985
|
-
*
|
|
986
|
-
* <b>
|
|
987
|
-
* </i> listed in the
|
|
988
|
-
*
|
|
989
|
-
* automatically included in requests that CloudFront sends to the origin.</p>
|
|
983
|
+
* <code>allExcept</code> – All cookies in viewer requests are included in the cache key and
|
|
984
|
+
* in requests that CloudFront sends to the origin, <i>
|
|
985
|
+
* <b>except</b>
|
|
986
|
+
* </i> for those that are listed in the
|
|
987
|
+
* <code>CookieNames</code> type, which are not included.</p>
|
|
990
988
|
* </li>
|
|
991
989
|
* <li>
|
|
992
990
|
* <p>
|
|
993
|
-
* <code>all</code> – All cookies in viewer requests are included in the cache
|
|
994
|
-
*
|
|
995
|
-
* origin.</p>
|
|
991
|
+
* <code>all</code> – All cookies in viewer requests are included in the cache key and in
|
|
992
|
+
* requests that CloudFront sends to the origin.</p>
|
|
996
993
|
* </li>
|
|
997
994
|
* </ul>
|
|
998
995
|
*/
|
|
@@ -1007,28 +1004,26 @@ export declare enum CachePolicyHeaderBehavior {
|
|
|
1007
1004
|
whitelist = "whitelist"
|
|
1008
1005
|
}
|
|
1009
1006
|
/**
|
|
1010
|
-
* <p>An object that determines whether any HTTP headers (and if so, which headers) are
|
|
1011
|
-
*
|
|
1012
|
-
* origin.</p>
|
|
1007
|
+
* <p>An object that determines whether any HTTP headers (and if so, which headers) are included
|
|
1008
|
+
* in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
1013
1009
|
*/
|
|
1014
1010
|
export interface CachePolicyHeadersConfig {
|
|
1015
1011
|
/**
|
|
1016
|
-
* <p>Determines whether any HTTP headers are included in the cache key and
|
|
1017
|
-
*
|
|
1012
|
+
* <p>Determines whether any HTTP headers are included in the cache key and in requests that CloudFront
|
|
1013
|
+
* sends to the origin. Valid values are:</p>
|
|
1018
1014
|
* <ul>
|
|
1019
1015
|
* <li>
|
|
1020
1016
|
* <p>
|
|
1021
|
-
* <code>none</code> – HTTP headers are
|
|
1022
|
-
*
|
|
1023
|
-
*
|
|
1024
|
-
* <code>OriginRequestPolicy</code>
|
|
1017
|
+
* <code>none</code> – No HTTP headers are included in the cache key or in requests that CloudFront
|
|
1018
|
+
* sends to the origin. Even when this field is set to <code>none</code>, any
|
|
1019
|
+
* headers that are listed in an <code>OriginRequestPolicy</code>
|
|
1025
1020
|
* <i>are</i> included in origin requests.</p>
|
|
1026
1021
|
* </li>
|
|
1027
1022
|
* <li>
|
|
1028
1023
|
* <p>
|
|
1029
|
-
* <code>whitelist</code> –
|
|
1030
|
-
*
|
|
1031
|
-
*
|
|
1024
|
+
* <code>whitelist</code> – Only the HTTP headers that are listed in the <code>Headers</code>
|
|
1025
|
+
* type are included in the cache key and in requests that CloudFront sends to the
|
|
1026
|
+
* origin.</p>
|
|
1032
1027
|
* </li>
|
|
1033
1028
|
* </ul>
|
|
1034
1029
|
*/
|
|
@@ -1058,44 +1053,42 @@ export interface QueryStringNames {
|
|
|
1058
1053
|
Items?: string[];
|
|
1059
1054
|
}
|
|
1060
1055
|
/**
|
|
1061
|
-
* <p>An object that determines whether any URL query strings in viewer requests (and if so,
|
|
1062
|
-
*
|
|
1063
|
-
*
|
|
1056
|
+
* <p>An object that determines whether any URL query strings in viewer requests (and if so, which
|
|
1057
|
+
* query strings) are included in the cache key and in requests that CloudFront sends to the
|
|
1058
|
+
* origin.</p>
|
|
1064
1059
|
*/
|
|
1065
1060
|
export interface CachePolicyQueryStringsConfig {
|
|
1066
1061
|
/**
|
|
1067
|
-
* <p>Determines whether any URL query strings in viewer requests are included in the cache
|
|
1068
|
-
*
|
|
1069
|
-
* are:</p>
|
|
1062
|
+
* <p>Determines whether any URL query strings in viewer requests are included in the cache key
|
|
1063
|
+
* and in requests that CloudFront sends to the origin. Valid values are:</p>
|
|
1070
1064
|
* <ul>
|
|
1071
1065
|
* <li>
|
|
1072
1066
|
* <p>
|
|
1073
|
-
* <code>none</code> –
|
|
1074
|
-
*
|
|
1075
|
-
*
|
|
1076
|
-
*
|
|
1077
|
-
* <i>are</i> included in origin
|
|
1067
|
+
* <code>none</code> – No query strings in viewer requests are included in the cache key or
|
|
1068
|
+
* in requests that CloudFront sends to the origin. Even when this field is set to
|
|
1069
|
+
* <code>none</code>, any query strings that are listed in an
|
|
1070
|
+
* <code>OriginRequestPolicy</code>
|
|
1071
|
+
* <i>are</i> included in origin
|
|
1072
|
+
* requests.</p>
|
|
1078
1073
|
* </li>
|
|
1079
1074
|
* <li>
|
|
1080
1075
|
* <p>
|
|
1081
|
-
* <code>whitelist</code> –
|
|
1082
|
-
*
|
|
1083
|
-
*
|
|
1076
|
+
* <code>whitelist</code> – Only the query strings in viewer requests that are listed in the
|
|
1077
|
+
* <code>QueryStringNames</code> type are included in the cache key and in requests
|
|
1078
|
+
* that CloudFront sends to the origin.</p>
|
|
1084
1079
|
* </li>
|
|
1085
1080
|
* <li>
|
|
1086
1081
|
* <p>
|
|
1087
|
-
* <code>allExcept</code> – All query strings in viewer requests
|
|
1088
|
-
*
|
|
1089
|
-
* <b>
|
|
1090
|
-
* </i> listed in the
|
|
1091
|
-
*
|
|
1092
|
-
* automatically included in requests that CloudFront sends to the origin.</p>
|
|
1082
|
+
* <code>allExcept</code> – All query strings in viewer requests are included in the cache
|
|
1083
|
+
* key and in requests that CloudFront sends to the origin, <i>
|
|
1084
|
+
* <b>except</b>
|
|
1085
|
+
* </i> those that are listed in the
|
|
1086
|
+
* <code>QueryStringNames</code> type, which are not included.</p>
|
|
1093
1087
|
* </li>
|
|
1094
1088
|
* <li>
|
|
1095
1089
|
* <p>
|
|
1096
|
-
* <code>all</code> – All query strings in viewer requests are included in the
|
|
1097
|
-
*
|
|
1098
|
-
* origin.</p>
|
|
1090
|
+
* <code>all</code> – All query strings in viewer requests are included in the cache key and
|
|
1091
|
+
* in requests that CloudFront sends to the origin.</p>
|
|
1099
1092
|
* </li>
|
|
1100
1093
|
* </ul>
|
|
1101
1094
|
*/
|
|
@@ -1105,11 +1098,10 @@ export interface CachePolicyQueryStringsConfig {
|
|
|
1105
1098
|
* <b>are</b>
|
|
1106
1099
|
* </i> or <i>
|
|
1107
1100
|
* <b>are
|
|
1108
|
-
*
|
|
1109
|
-
* </i> included in the cache key and
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1112
|
-
* <code>CachePolicyQueryStringsConfig</code> type is set to <code>whitelist</code>
|
|
1101
|
+
* not</b>
|
|
1102
|
+
* </i> included in the cache key and in requests that CloudFront sends to
|
|
1103
|
+
* the origin. The behavior depends on whether the <code>QueryStringBehavior</code> field
|
|
1104
|
+
* in the <code>CachePolicyQueryStringsConfig</code> type is set to <code>whitelist</code>
|
|
1113
1105
|
* (the listed query strings <i>
|
|
1114
1106
|
* <b>are</b>
|
|
1115
1107
|
* </i>
|
|
@@ -1124,11 +1116,11 @@ export interface CachePolicyQueryStringsConfig {
|
|
|
1124
1116
|
* <p>This object determines the values that CloudFront includes in the cache key. These values
|
|
1125
1117
|
* can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to
|
|
1126
1118
|
* find an object in its cache that it can return to the viewer.</p>
|
|
1127
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are
|
|
1128
|
-
*
|
|
1129
|
-
*
|
|
1130
|
-
*
|
|
1131
|
-
*
|
|
1119
|
+
* <p>The headers, cookies, and query strings that are included in the cache key are also included
|
|
1120
|
+
* in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an
|
|
1121
|
+
* object in its cache that matches the request's cache key. If you want to send values to
|
|
1122
|
+
* the origin but <i>not</i> include them in the cache key, use
|
|
1123
|
+
* <code>OriginRequestPolicy</code>.</p>
|
|
1132
1124
|
*/
|
|
1133
1125
|
export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
1134
1126
|
/**
|
|
@@ -1200,21 +1192,19 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1200
1192
|
*/
|
|
1201
1193
|
EnableAcceptEncodingBrotli?: boolean;
|
|
1202
1194
|
/**
|
|
1203
|
-
* <p>An object that determines whether any HTTP headers (and if so, which headers) are
|
|
1204
|
-
*
|
|
1205
|
-
* origin.</p>
|
|
1195
|
+
* <p>An object that determines whether any HTTP headers (and if so, which headers) are included
|
|
1196
|
+
* in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
1206
1197
|
*/
|
|
1207
1198
|
HeadersConfig: CachePolicyHeadersConfig | undefined;
|
|
1208
1199
|
/**
|
|
1209
|
-
* <p>An object that determines whether any cookies in viewer requests (and if so, which
|
|
1210
|
-
*
|
|
1211
|
-
* sends to the origin.</p>
|
|
1200
|
+
* <p>An object that determines whether any cookies in viewer requests (and if so, which cookies)
|
|
1201
|
+
* are included in the cache key and in requests that CloudFront sends to the origin.</p>
|
|
1212
1202
|
*/
|
|
1213
1203
|
CookiesConfig: CachePolicyCookiesConfig | undefined;
|
|
1214
1204
|
/**
|
|
1215
|
-
* <p>An object that determines whether any URL query strings in viewer requests (and if so,
|
|
1216
|
-
*
|
|
1217
|
-
*
|
|
1205
|
+
* <p>An object that determines whether any URL query strings in viewer requests (and if so, which
|
|
1206
|
+
* query strings) are included in the cache key and in requests that CloudFront sends to the
|
|
1207
|
+
* origin.</p>
|
|
1218
1208
|
*/
|
|
1219
1209
|
QueryStringsConfig: CachePolicyQueryStringsConfig | undefined;
|
|
1220
1210
|
}
|
|
@@ -1232,11 +1222,11 @@ export interface ParametersInCacheKeyAndForwardedToOrigin {
|
|
|
1232
1222
|
* objects to stay in the CloudFront cache.</p>
|
|
1233
1223
|
* </li>
|
|
1234
1224
|
* </ul>
|
|
1235
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are
|
|
1236
|
-
*
|
|
1237
|
-
*
|
|
1238
|
-
*
|
|
1239
|
-
*
|
|
1225
|
+
* <p>The headers, cookies, and query strings that are included in the cache key are also included
|
|
1226
|
+
* in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a
|
|
1227
|
+
* valid object in its cache that matches the request's cache key. If you want to send
|
|
1228
|
+
* values to the origin but <i>not</i> include them in the cache key, use
|
|
1229
|
+
* <code>OriginRequestPolicy</code>.</p>
|
|
1240
1230
|
*/
|
|
1241
1231
|
export interface CachePolicyConfig {
|
|
1242
1232
|
/**
|
|
@@ -1280,9 +1270,9 @@ export interface CachePolicyConfig {
|
|
|
1280
1270
|
*/
|
|
1281
1271
|
MinTTL: number | undefined;
|
|
1282
1272
|
/**
|
|
1283
|
-
* <p>The HTTP headers, cookies, and URL query strings to include in the cache key. The
|
|
1284
|
-
*
|
|
1285
|
-
*
|
|
1273
|
+
* <p>The HTTP headers, cookies, and URL query strings to include in the cache key. The values
|
|
1274
|
+
* included in the cache key are also included in requests that CloudFront sends to the
|
|
1275
|
+
* origin.</p>
|
|
1286
1276
|
*/
|
|
1287
1277
|
ParametersInCacheKeyAndForwardedToOrigin?: ParametersInCacheKeyAndForwardedToOrigin;
|
|
1288
1278
|
}
|
|
@@ -1301,11 +1291,11 @@ export interface CachePolicyConfig {
|
|
|
1301
1291
|
* objects to stay in the CloudFront cache.</p>
|
|
1302
1292
|
* </li>
|
|
1303
1293
|
* </ul>
|
|
1304
|
-
* <p>The headers, cookies, and query strings that are included in the cache key are
|
|
1305
|
-
*
|
|
1306
|
-
*
|
|
1307
|
-
*
|
|
1308
|
-
*
|
|
1294
|
+
* <p>The headers, cookies, and query strings that are included in the cache key are also included
|
|
1295
|
+
* in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find a
|
|
1296
|
+
* valid object in its cache that matches the request's cache key. If you want to send
|
|
1297
|
+
* values to the origin but <i>not</i> include them in the cache key, use
|
|
1298
|
+
* <code>OriginRequestPolicy</code>.</p>
|
|
1309
1299
|
*/
|
|
1310
1300
|
export interface CachePolicy {
|
|
1311
1301
|
/**
|
|
@@ -5000,6 +4990,7 @@ export declare class TooManyOriginAccessControls extends __BaseException {
|
|
|
5000
4990
|
}
|
|
5001
4991
|
export declare enum OriginRequestPolicyCookieBehavior {
|
|
5002
4992
|
all = "all",
|
|
4993
|
+
allExcept = "allExcept",
|
|
5003
4994
|
none = "none",
|
|
5004
4995
|
whitelist = "whitelist"
|
|
5005
4996
|
}
|
|
@@ -5014,22 +5005,31 @@ export interface OriginRequestPolicyCookiesConfig {
|
|
|
5014
5005
|
* <ul>
|
|
5015
5006
|
* <li>
|
|
5016
5007
|
* <p>
|
|
5017
|
-
* <code>none</code> –
|
|
5018
|
-
*
|
|
5019
|
-
*
|
|
5020
|
-
* <i>are</i> included
|
|
5008
|
+
* <code>none</code> – No cookies in viewer requests are included in requests that CloudFront sends
|
|
5009
|
+
* to the origin. Even when this field is set to <code>none</code>, any cookies
|
|
5010
|
+
* that are listed in a <code>CachePolicy</code>
|
|
5011
|
+
* <i>are</i> included
|
|
5012
|
+
* in origin requests.</p>
|
|
5021
5013
|
* </li>
|
|
5022
5014
|
* <li>
|
|
5023
5015
|
* <p>
|
|
5024
|
-
* <code>whitelist</code> –
|
|
5025
|
-
*
|
|
5026
|
-
*
|
|
5016
|
+
* <code>whitelist</code> – Only the cookies in viewer requests that are listed in the
|
|
5017
|
+
* <code>CookieNames</code> type are included in requests that CloudFront sends to the
|
|
5018
|
+
* origin.</p>
|
|
5027
5019
|
* </li>
|
|
5028
5020
|
* <li>
|
|
5029
5021
|
* <p>
|
|
5030
5022
|
* <code>all</code> – All cookies in viewer requests are included in requests
|
|
5031
5023
|
* that CloudFront sends to the origin.</p>
|
|
5032
5024
|
* </li>
|
|
5025
|
+
* <li>
|
|
5026
|
+
* <p>
|
|
5027
|
+
* <code>allExcept</code> – All cookies in viewer requests are included in
|
|
5028
|
+
* requests that CloudFront sends to the origin, <i>
|
|
5029
|
+
* <b>except</b>
|
|
5030
|
+
* </i> for those listed in the <code>CookieNames</code>
|
|
5031
|
+
* type, which are not included.</p>
|
|
5032
|
+
* </li>
|
|
5033
5033
|
* </ul>
|
|
5034
5034
|
*/
|
|
5035
5035
|
CookieBehavior: OriginRequestPolicyCookieBehavior | string | undefined;
|
|
@@ -5039,6 +5039,7 @@ export interface OriginRequestPolicyCookiesConfig {
|
|
|
5039
5039
|
Cookies?: CookieNames;
|
|
5040
5040
|
}
|
|
5041
5041
|
export declare enum OriginRequestPolicyHeaderBehavior {
|
|
5042
|
+
allExcept = "allExcept",
|
|
5042
5043
|
allViewer = "allViewer",
|
|
5043
5044
|
allViewerAndWhitelistCloudFront = "allViewerAndWhitelistCloudFront",
|
|
5044
5045
|
none = "none",
|
|
@@ -5055,16 +5056,16 @@ export interface OriginRequestPolicyHeadersConfig {
|
|
|
5055
5056
|
* <ul>
|
|
5056
5057
|
* <li>
|
|
5057
5058
|
* <p>
|
|
5058
|
-
* <code>none</code> – HTTP headers are
|
|
5059
|
-
* to the origin. Even when this field is set to <code>none</code>, any
|
|
5060
|
-
* that are listed in a <code>CachePolicy</code>
|
|
5061
|
-
* <i>are</i>
|
|
5059
|
+
* <code>none</code> – No HTTP headers in viewer requests are included in requests that CloudFront
|
|
5060
|
+
* sends to the origin. Even when this field is set to <code>none</code>, any
|
|
5061
|
+
* headers that are listed in a <code>CachePolicy</code>
|
|
5062
|
+
* <i>are</i>
|
|
5063
|
+
* included in origin requests.</p>
|
|
5062
5064
|
* </li>
|
|
5063
5065
|
* <li>
|
|
5064
5066
|
* <p>
|
|
5065
|
-
* <code>whitelist</code> –
|
|
5066
|
-
*
|
|
5067
|
-
* origin.</p>
|
|
5067
|
+
* <code>whitelist</code> – Only the HTTP headers that are listed in the <code>Headers</code>
|
|
5068
|
+
* type are included in requests that CloudFront sends to the origin.</p>
|
|
5068
5069
|
* </li>
|
|
5069
5070
|
* <li>
|
|
5070
5071
|
* <p>
|
|
@@ -5078,6 +5079,14 @@ export interface OriginRequestPolicyHeadersConfig {
|
|
|
5078
5079
|
* <code>Headers</code> type are included in requests that CloudFront sends to the
|
|
5079
5080
|
* origin. The additional headers are added by CloudFront.</p>
|
|
5080
5081
|
* </li>
|
|
5082
|
+
* <li>
|
|
5083
|
+
* <p>
|
|
5084
|
+
* <code>allExcept</code> – All HTTP headers in viewer requests are included in
|
|
5085
|
+
* requests that CloudFront sends to the origin, <i>
|
|
5086
|
+
* <b>except</b>
|
|
5087
|
+
* </i> for those listed in the <code>Headers</code> type,
|
|
5088
|
+
* which are not included.</p>
|
|
5089
|
+
* </li>
|
|
5081
5090
|
* </ul>
|
|
5082
5091
|
*/
|
|
5083
5092
|
HeaderBehavior: OriginRequestPolicyHeaderBehavior | string | undefined;
|
|
@@ -5088,6 +5097,7 @@ export interface OriginRequestPolicyHeadersConfig {
|
|
|
5088
5097
|
}
|
|
5089
5098
|
export declare enum OriginRequestPolicyQueryStringBehavior {
|
|
5090
5099
|
all = "all",
|
|
5100
|
+
allExcept = "allExcept",
|
|
5091
5101
|
none = "none",
|
|
5092
5102
|
whitelist = "whitelist"
|
|
5093
5103
|
}
|
|
@@ -5102,29 +5112,50 @@ export interface OriginRequestPolicyQueryStringsConfig {
|
|
|
5102
5112
|
* <ul>
|
|
5103
5113
|
* <li>
|
|
5104
5114
|
* <p>
|
|
5105
|
-
* <code>none</code> –
|
|
5106
|
-
*
|
|
5107
|
-
*
|
|
5108
|
-
*
|
|
5109
|
-
*
|
|
5115
|
+
* <code>none</code> – No query strings in viewer requests are included in requests that CloudFront
|
|
5116
|
+
* sends to the origin. Even when this field is set to <code>none</code>, any query
|
|
5117
|
+
* strings that are listed in a <code>CachePolicy</code>
|
|
5118
|
+
* <i>are</i>
|
|
5119
|
+
* included in origin requests.</p>
|
|
5110
5120
|
* </li>
|
|
5111
5121
|
* <li>
|
|
5112
5122
|
* <p>
|
|
5113
|
-
* <code>whitelist</code> –
|
|
5114
|
-
*
|
|
5123
|
+
* <code>whitelist</code> – Only the query strings in viewer requests that are listed in the
|
|
5124
|
+
* <code>QueryStringNames</code> type are included in requests that CloudFront sends to
|
|
5125
|
+
* the origin.</p>
|
|
5126
|
+
* </li>
|
|
5127
|
+
* <li>
|
|
5128
|
+
* <p>
|
|
5129
|
+
* <code>all</code> – All query strings in viewer requests are included in requests that CloudFront
|
|
5115
5130
|
* sends to the origin.</p>
|
|
5116
5131
|
* </li>
|
|
5117
5132
|
* <li>
|
|
5118
5133
|
* <p>
|
|
5119
|
-
* <code>
|
|
5120
|
-
* requests that CloudFront sends to the origin
|
|
5134
|
+
* <code>allExcept</code> – All query strings in viewer requests are included in
|
|
5135
|
+
* requests that CloudFront sends to the origin, <i>
|
|
5136
|
+
* <b>except</b>
|
|
5137
|
+
* </i> for those listed in the
|
|
5138
|
+
* <code>QueryStringNames</code> type, which are not included.</p>
|
|
5121
5139
|
* </li>
|
|
5122
5140
|
* </ul>
|
|
5123
5141
|
*/
|
|
5124
5142
|
QueryStringBehavior: OriginRequestPolicyQueryStringBehavior | string | undefined;
|
|
5125
5143
|
/**
|
|
5126
|
-
* <p>Contains
|
|
5127
|
-
*
|
|
5144
|
+
* <p>Contains the specific query strings in viewer requests that either <i>
|
|
5145
|
+
* <b>are</b>
|
|
5146
|
+
* </i> or <i>
|
|
5147
|
+
* <b>are
|
|
5148
|
+
* not</b>
|
|
5149
|
+
* </i> included in requests that CloudFront sends to the origin. The
|
|
5150
|
+
* behavior depends on whether the <code>QueryStringBehavior</code> field in the
|
|
5151
|
+
* <code>OriginRequestPolicyQueryStringsConfig</code> type is set to <code>whitelist</code>
|
|
5152
|
+
* (the listed query strings <i>
|
|
5153
|
+
* <b>are</b>
|
|
5154
|
+
* </i>
|
|
5155
|
+
* included) or <code>allExcept</code> (the listed query strings <i>
|
|
5156
|
+
* <b>are not</b>
|
|
5157
|
+
* </i> included, but all other query strings
|
|
5158
|
+
* are).</p>
|
|
5128
5159
|
*/
|
|
5129
5160
|
QueryStrings?: QueryStringNames;
|
|
5130
5161
|
}
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region?: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -1667,6 +1667,7 @@ export declare class TooManyOriginAccessControls extends __BaseException {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
export declare enum OriginRequestPolicyCookieBehavior {
|
|
1669
1669
|
all = "all",
|
|
1670
|
+
allExcept = "allExcept",
|
|
1670
1671
|
none = "none",
|
|
1671
1672
|
whitelist = "whitelist",
|
|
1672
1673
|
}
|
|
@@ -1675,6 +1676,7 @@ export interface OriginRequestPolicyCookiesConfig {
|
|
|
1675
1676
|
Cookies?: CookieNames;
|
|
1676
1677
|
}
|
|
1677
1678
|
export declare enum OriginRequestPolicyHeaderBehavior {
|
|
1679
|
+
allExcept = "allExcept",
|
|
1678
1680
|
allViewer = "allViewer",
|
|
1679
1681
|
allViewerAndWhitelistCloudFront = "allViewerAndWhitelistCloudFront",
|
|
1680
1682
|
none = "none",
|
|
@@ -1686,6 +1688,7 @@ export interface OriginRequestPolicyHeadersConfig {
|
|
|
1686
1688
|
}
|
|
1687
1689
|
export declare enum OriginRequestPolicyQueryStringBehavior {
|
|
1688
1690
|
all = "all",
|
|
1691
|
+
allExcept = "allExcept",
|
|
1689
1692
|
none = "none",
|
|
1690
1693
|
whitelist = "whitelist",
|
|
1691
1694
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.277.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.276.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.272.0",
|
|
25
25
|
"@aws-sdk/credential-provider-node": "3.272.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.272.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"@aws-sdk/util-waiter": "3.272.0",
|
|
56
56
|
"@aws-sdk/xml-builder": "3.201.0",
|
|
57
|
-
"fast-xml-parser": "4.
|
|
57
|
+
"fast-xml-parser": "4.1.2",
|
|
58
58
|
"tslib": "^2.3.1"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|