@aws-sdk/client-cloudfront 3.1002.0 → 3.1004.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-types/models/models_0.d.ts +10 -10
- package/package.json +39 -39
|
@@ -792,28 +792,28 @@ export interface CacheBehavior {
|
|
|
792
792
|
/**
|
|
793
793
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html">Working with policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>If you want to include values in the cache key, use a cache policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating origin request policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html">Using the managed origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>A <code>CacheBehavior</code> must include either a <code>CachePolicyId</code> or <code>ForwardedValues</code>. We recommend that you use a <code>CachePolicyId</code>.</p> <p>A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.</p>
|
|
794
794
|
*
|
|
795
|
-
* @deprecated deprecated
|
|
795
|
+
* @deprecated deprecated.
|
|
796
796
|
* @public
|
|
797
797
|
*/
|
|
798
798
|
ForwardedValues?: ForwardedValues | undefined;
|
|
799
799
|
/**
|
|
800
800
|
* <note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html"> Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i> Amazon CloudFront Developer Guide</i>.</p> <p>You must specify <code>0</code> for <code>MinTTL</code> if you configure CloudFront to forward all headers to your origin (under <code>Headers</code>, if you specify <code>1</code> for <code>Quantity</code> and <code>*</code> for <code>Name</code>).</p>
|
|
801
801
|
*
|
|
802
|
-
* @deprecated deprecated
|
|
802
|
+
* @deprecated deprecated.
|
|
803
803
|
* @public
|
|
804
804
|
*/
|
|
805
805
|
MinTTL?: number | undefined;
|
|
806
806
|
/**
|
|
807
807
|
* <note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and <code>Expires</code> to objects. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
808
808
|
*
|
|
809
|
-
* @deprecated deprecated
|
|
809
|
+
* @deprecated deprecated.
|
|
810
810
|
* @public
|
|
811
811
|
*/
|
|
812
812
|
DefaultTTL?: number | undefined;
|
|
813
813
|
/**
|
|
814
814
|
* <note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and <code>Expires</code> to objects. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
815
815
|
*
|
|
816
|
-
* @deprecated deprecated
|
|
816
|
+
* @deprecated deprecated.
|
|
817
817
|
* @public
|
|
818
818
|
*/
|
|
819
819
|
MaxTTL?: number | undefined;
|
|
@@ -1205,28 +1205,28 @@ export interface DefaultCacheBehavior {
|
|
|
1205
1205
|
/**
|
|
1206
1206
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/working-with-policies.html">Working with policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>If you want to include values in the cache key, use a cache policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>If you want to send values to the origin but not include them in the cache key, use an origin request policy. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html#origin-request-create-origin-request-policy">Creating origin request policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-origin-request-policies.html">Using the managed origin request policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>A <code>DefaultCacheBehavior</code> must include either a <code>CachePolicyId</code> or <code>ForwardedValues</code>. We recommend that you use a <code>CachePolicyId</code>.</p> <p>A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.</p>
|
|
1207
1207
|
*
|
|
1208
|
-
* @deprecated deprecated
|
|
1208
|
+
* @deprecated deprecated.
|
|
1209
1209
|
* @public
|
|
1210
1210
|
*/
|
|
1211
1211
|
ForwardedValues?: ForwardedValues | undefined;
|
|
1212
1212
|
/**
|
|
1213
1213
|
* <note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The minimum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>You must specify <code>0</code> for <code>MinTTL</code> if you configure CloudFront to forward all headers to your origin (under <code>Headers</code>, if you specify <code>1</code> for <code>Quantity</code> and <code>*</code> for <code>Name</code>).</p>
|
|
1214
1214
|
*
|
|
1215
|
-
* @deprecated deprecated
|
|
1215
|
+
* @deprecated deprecated.
|
|
1216
1216
|
* @public
|
|
1217
1217
|
*/
|
|
1218
1218
|
MinTTL?: number | undefined;
|
|
1219
1219
|
/**
|
|
1220
1220
|
* <note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The default amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin does not add HTTP headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and <code>Expires</code> to objects. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1221
1221
|
*
|
|
1222
|
-
* @deprecated deprecated
|
|
1222
|
+
* @deprecated deprecated.
|
|
1223
1223
|
* @public
|
|
1224
1224
|
*/
|
|
1225
1225
|
DefaultTTL?: number | undefined;
|
|
1226
1226
|
/**
|
|
1227
1227
|
* <note> <p>This field only supports standard distributions. You can't specify this field for multi-tenant distributions. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-config-options.html#unsupported-saas">Unsupported features for SaaS Manager for Amazon CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> </note> <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a cache policy instead of this field. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy">Creating cache policies</a> or <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html">Using the managed cache policies</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and <code>Expires</code> to objects. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html">Managing How Long Content Stays in an Edge Cache (Expiration)</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1228
1228
|
*
|
|
1229
|
-
* @deprecated deprecated
|
|
1229
|
+
* @deprecated deprecated.
|
|
1230
1230
|
* @public
|
|
1231
1231
|
*/
|
|
1232
1232
|
MaxTTL?: number | undefined;
|
|
@@ -1722,14 +1722,14 @@ export interface ViewerCertificate {
|
|
|
1722
1722
|
/**
|
|
1723
1723
|
* <p>This field is deprecated. Use one of the following fields instead:</p> <ul> <li> <p> <code>ACMCertificateArn</code> </p> </li> <li> <p> <code>IAMCertificateId</code> </p> </li> <li> <p> <code>CloudFrontDefaultCertificate</code> </p> </li> </ul>
|
|
1724
1724
|
*
|
|
1725
|
-
* @deprecated deprecated
|
|
1725
|
+
* @deprecated deprecated.
|
|
1726
1726
|
* @public
|
|
1727
1727
|
*/
|
|
1728
1728
|
Certificate?: string | undefined;
|
|
1729
1729
|
/**
|
|
1730
1730
|
* <p>This field is deprecated. Use one of the following fields instead:</p> <ul> <li> <p> <code>ACMCertificateArn</code> </p> </li> <li> <p> <code>IAMCertificateId</code> </p> </li> <li> <p> <code>CloudFrontDefaultCertificate</code> </p> </li> </ul>
|
|
1731
1731
|
*
|
|
1732
|
-
* @deprecated deprecated
|
|
1732
|
+
* @deprecated deprecated.
|
|
1733
1733
|
* @public
|
|
1734
1734
|
*/
|
|
1735
1735
|
CertificateSource?: CertificateSource | undefined;
|
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.1004.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|
|
@@ -23,44 +23,44 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
34
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
37
|
-
"@smithy/config-resolver": "^4.4.
|
|
38
|
-
"@smithy/core": "^3.23.
|
|
39
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
40
|
-
"@smithy/hash-node": "^4.2.
|
|
41
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
42
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
45
|
-
"@smithy/middleware-serde": "^4.2.
|
|
46
|
-
"@smithy/middleware-stack": "^4.2.
|
|
47
|
-
"@smithy/node-config-provider": "^4.3.
|
|
48
|
-
"@smithy/node-http-handler": "^4.4.
|
|
49
|
-
"@smithy/protocol-http": "^5.3.
|
|
50
|
-
"@smithy/smithy-client": "^4.12.
|
|
26
|
+
"@aws-sdk/core": "^3.973.18",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.18",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.7",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.7",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.7",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.19",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.7",
|
|
33
|
+
"@aws-sdk/types": "^3.973.5",
|
|
34
|
+
"@aws-sdk/util-endpoints": "^3.996.4",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.7",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.973.4",
|
|
37
|
+
"@smithy/config-resolver": "^4.4.10",
|
|
38
|
+
"@smithy/core": "^3.23.8",
|
|
39
|
+
"@smithy/fetch-http-handler": "^5.3.13",
|
|
40
|
+
"@smithy/hash-node": "^4.2.11",
|
|
41
|
+
"@smithy/invalid-dependency": "^4.2.11",
|
|
42
|
+
"@smithy/middleware-content-length": "^4.2.11",
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.22",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.39",
|
|
45
|
+
"@smithy/middleware-serde": "^4.2.12",
|
|
46
|
+
"@smithy/middleware-stack": "^4.2.11",
|
|
47
|
+
"@smithy/node-config-provider": "^4.3.11",
|
|
48
|
+
"@smithy/node-http-handler": "^4.4.14",
|
|
49
|
+
"@smithy/protocol-http": "^5.3.11",
|
|
50
|
+
"@smithy/smithy-client": "^4.12.2",
|
|
51
51
|
"@smithy/types": "^4.13.0",
|
|
52
|
-
"@smithy/url-parser": "^4.2.
|
|
53
|
-
"@smithy/util-base64": "^4.3.
|
|
54
|
-
"@smithy/util-body-length-browser": "^4.2.
|
|
55
|
-
"@smithy/util-body-length-node": "^4.2.
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
58
|
-
"@smithy/util-endpoints": "^3.3.
|
|
59
|
-
"@smithy/util-middleware": "^4.2.
|
|
60
|
-
"@smithy/util-retry": "^4.2.
|
|
61
|
-
"@smithy/util-stream": "^4.5.
|
|
62
|
-
"@smithy/util-utf8": "^4.2.
|
|
63
|
-
"@smithy/util-waiter": "^4.2.
|
|
52
|
+
"@smithy/url-parser": "^4.2.11",
|
|
53
|
+
"@smithy/util-base64": "^4.3.2",
|
|
54
|
+
"@smithy/util-body-length-browser": "^4.2.2",
|
|
55
|
+
"@smithy/util-body-length-node": "^4.2.3",
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.38",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.41",
|
|
58
|
+
"@smithy/util-endpoints": "^3.3.2",
|
|
59
|
+
"@smithy/util-middleware": "^4.2.11",
|
|
60
|
+
"@smithy/util-retry": "^4.2.11",
|
|
61
|
+
"@smithy/util-stream": "^4.5.17",
|
|
62
|
+
"@smithy/util-utf8": "^4.2.2",
|
|
63
|
+
"@smithy/util-waiter": "^4.2.11",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"node": ">=20.0.0"
|
|
76
76
|
},
|
|
77
77
|
"typesVersions": {
|
|
78
|
-
"<4.
|
|
78
|
+
"<4.5": {
|
|
79
79
|
"dist-types/*": [
|
|
80
80
|
"dist-types/ts3.4/*"
|
|
81
81
|
]
|