@aws-sdk/client-cloudfront 3.743.0 → 3.745.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.
|
@@ -321,7 +321,7 @@ export interface AllowedMethods {
|
|
|
321
321
|
CachedMethods?: CachedMethods | undefined;
|
|
322
322
|
}
|
|
323
323
|
/**
|
|
324
|
-
* <p>An Anycast static IP list
|
|
324
|
+
* <p>An Anycast static IP list. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html">Request Anycast static IPs to use for allowlisting</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
325
325
|
* @public
|
|
326
326
|
*/
|
|
327
327
|
export interface AnycastIpList {
|
|
@@ -1152,8 +1152,6 @@ export interface CacheBehavior {
|
|
|
1152
1152
|
*/
|
|
1153
1153
|
GrpcConfig?: GrpcConfig | undefined;
|
|
1154
1154
|
/**
|
|
1155
|
-
* @deprecated
|
|
1156
|
-
*
|
|
1157
1155
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
1158
1156
|
* 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
|
|
1159
1157
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -1168,12 +1166,12 @@ export interface CacheBehavior {
|
|
|
1168
1166
|
* <code>CachePolicyId</code>.</p>
|
|
1169
1167
|
* <p>A complex type that specifies how CloudFront handles query strings, cookies, and HTTP
|
|
1170
1168
|
* headers.</p>
|
|
1169
|
+
*
|
|
1170
|
+
* @deprecated
|
|
1171
1171
|
* @public
|
|
1172
1172
|
*/
|
|
1173
1173
|
ForwardedValues?: ForwardedValues | undefined;
|
|
1174
1174
|
/**
|
|
1175
|
-
* @deprecated
|
|
1176
|
-
*
|
|
1177
1175
|
* <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a
|
|
1178
1176
|
* 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
|
|
1179
1177
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -1186,12 +1184,12 @@ export interface CacheBehavior {
|
|
|
1186
1184
|
* forward all headers to your origin (under <code>Headers</code>, if you specify
|
|
1187
1185
|
* <code>1</code> for <code>Quantity</code> and <code>*</code> for
|
|
1188
1186
|
* <code>Name</code>).</p>
|
|
1187
|
+
*
|
|
1188
|
+
* @deprecated
|
|
1189
1189
|
* @public
|
|
1190
1190
|
*/
|
|
1191
1191
|
MinTTL?: number | undefined;
|
|
1192
1192
|
/**
|
|
1193
|
-
* @deprecated
|
|
1194
|
-
*
|
|
1195
1193
|
* <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field
|
|
1196
1194
|
* 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
|
|
1197
1195
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -1201,12 +1199,12 @@ export interface CacheBehavior {
|
|
|
1201
1199
|
* headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>,
|
|
1202
1200
|
* 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
|
|
1203
1201
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1202
|
+
*
|
|
1203
|
+
* @deprecated
|
|
1204
1204
|
* @public
|
|
1205
1205
|
*/
|
|
1206
1206
|
DefaultTTL?: number | undefined;
|
|
1207
1207
|
/**
|
|
1208
|
-
* @deprecated
|
|
1209
|
-
*
|
|
1210
1208
|
* <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a
|
|
1211
1209
|
* 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
|
|
1212
1210
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -1216,6 +1214,8 @@ export interface CacheBehavior {
|
|
|
1216
1214
|
* as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and
|
|
1217
1215
|
* <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
|
|
1218
1216
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1217
|
+
*
|
|
1218
|
+
* @deprecated
|
|
1219
1219
|
* @public
|
|
1220
1220
|
*/
|
|
1221
1221
|
MaxTTL?: number | undefined;
|
|
@@ -2139,8 +2139,6 @@ export interface DefaultCacheBehavior {
|
|
|
2139
2139
|
*/
|
|
2140
2140
|
GrpcConfig?: GrpcConfig | undefined;
|
|
2141
2141
|
/**
|
|
2142
|
-
* @deprecated
|
|
2143
|
-
*
|
|
2144
2142
|
* <p>This field is deprecated. We recommend that you use a cache policy or an origin
|
|
2145
2143
|
* 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
|
|
2146
2144
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -2155,12 +2153,12 @@ export interface DefaultCacheBehavior {
|
|
|
2155
2153
|
* <code>CachePolicyId</code>.</p>
|
|
2156
2154
|
* <p>A complex type that specifies how CloudFront handles query strings, cookies, and HTTP
|
|
2157
2155
|
* headers.</p>
|
|
2156
|
+
*
|
|
2157
|
+
* @deprecated
|
|
2158
2158
|
* @public
|
|
2159
2159
|
*/
|
|
2160
2160
|
ForwardedValues?: ForwardedValues | undefined;
|
|
2161
2161
|
/**
|
|
2162
|
-
* @deprecated
|
|
2163
|
-
*
|
|
2164
2162
|
* <p>This field is deprecated. We recommend that you use the <code>MinTTL</code> field in a
|
|
2165
2163
|
* 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
|
|
2166
2164
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -2173,12 +2171,12 @@ export interface DefaultCacheBehavior {
|
|
|
2173
2171
|
* forward all headers to your origin (under <code>Headers</code>, if you specify
|
|
2174
2172
|
* <code>1</code> for <code>Quantity</code> and <code>*</code> for
|
|
2175
2173
|
* <code>Name</code>).</p>
|
|
2174
|
+
*
|
|
2175
|
+
* @deprecated
|
|
2176
2176
|
* @public
|
|
2177
2177
|
*/
|
|
2178
2178
|
MinTTL?: number | undefined;
|
|
2179
2179
|
/**
|
|
2180
|
-
* @deprecated
|
|
2181
|
-
*
|
|
2182
2180
|
* <p>This field is deprecated. We recommend that you use the <code>DefaultTTL</code> field
|
|
2183
2181
|
* 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
|
|
2184
2182
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -2188,12 +2186,12 @@ export interface DefaultCacheBehavior {
|
|
|
2188
2186
|
* headers such as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>,
|
|
2189
2187
|
* 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
|
|
2190
2188
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
2189
|
+
*
|
|
2190
|
+
* @deprecated
|
|
2191
2191
|
* @public
|
|
2192
2192
|
*/
|
|
2193
2193
|
DefaultTTL?: number | undefined;
|
|
2194
2194
|
/**
|
|
2195
|
-
* @deprecated
|
|
2196
|
-
*
|
|
2197
2195
|
* <p>This field is deprecated. We recommend that you use the <code>MaxTTL</code> field in a
|
|
2198
2196
|
* 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
|
|
2199
2197
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -2203,6 +2201,8 @@ export interface DefaultCacheBehavior {
|
|
|
2203
2201
|
* as <code>Cache-Control max-age</code>, <code>Cache-Control s-maxage</code>, and
|
|
2204
2202
|
* <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
|
|
2205
2203
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
2204
|
+
*
|
|
2205
|
+
* @deprecated
|
|
2206
2206
|
* @public
|
|
2207
2207
|
*/
|
|
2208
2208
|
MaxTTL?: number | undefined;
|
|
@@ -3076,8 +3076,6 @@ export interface ViewerCertificate {
|
|
|
3076
3076
|
*/
|
|
3077
3077
|
MinimumProtocolVersion?: MinimumProtocolVersion | undefined;
|
|
3078
3078
|
/**
|
|
3079
|
-
* @deprecated
|
|
3080
|
-
*
|
|
3081
3079
|
* <p>This field is deprecated. Use one of the following fields instead:</p>
|
|
3082
3080
|
* <ul>
|
|
3083
3081
|
* <li>
|
|
@@ -3096,12 +3094,12 @@ export interface ViewerCertificate {
|
|
|
3096
3094
|
* </p>
|
|
3097
3095
|
* </li>
|
|
3098
3096
|
* </ul>
|
|
3097
|
+
*
|
|
3098
|
+
* @deprecated
|
|
3099
3099
|
* @public
|
|
3100
3100
|
*/
|
|
3101
3101
|
Certificate?: string | undefined;
|
|
3102
3102
|
/**
|
|
3103
|
-
* @deprecated
|
|
3104
|
-
*
|
|
3105
3103
|
* <p>This field is deprecated. Use one of the following fields instead:</p>
|
|
3106
3104
|
* <ul>
|
|
3107
3105
|
* <li>
|
|
@@ -3120,6 +3118,8 @@ export interface ViewerCertificate {
|
|
|
3120
3118
|
* </p>
|
|
3121
3119
|
* </li>
|
|
3122
3120
|
* </ul>
|
|
3121
|
+
*
|
|
3122
|
+
* @deprecated
|
|
3123
3123
|
* @public
|
|
3124
3124
|
*/
|
|
3125
3125
|
CertificateSource?: CertificateSource | undefined;
|
|
@@ -1067,12 +1067,12 @@ export interface VpcOriginEndpointConfig {
|
|
|
1067
1067
|
*/
|
|
1068
1068
|
Arn: string | undefined;
|
|
1069
1069
|
/**
|
|
1070
|
-
* <p>The HTTP port for the CloudFront VPC origin endpoint configuration
|
|
1070
|
+
* <p>The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is <code>80</code>.</p>
|
|
1071
1071
|
* @public
|
|
1072
1072
|
*/
|
|
1073
1073
|
HTTPPort: number | undefined;
|
|
1074
1074
|
/**
|
|
1075
|
-
* <p>The HTTPS port of the CloudFront VPC origin endpoint configuration
|
|
1075
|
+
* <p>The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is <code>443</code>.</p>
|
|
1076
1076
|
* @public
|
|
1077
1077
|
*/
|
|
1078
1078
|
HTTPSPort: number | undefined;
|
|
@@ -1755,7 +1755,7 @@ export interface DeleteVpcOriginRequest {
|
|
|
1755
1755
|
*/
|
|
1756
1756
|
Id: string | undefined;
|
|
1757
1757
|
/**
|
|
1758
|
-
* <p>The VPC origin to delete
|
|
1758
|
+
* <p>The version identifier of the VPC origin to delete. This is the <code>ETag</code> value returned in the response to <a>GetVpcOrigin</a>.</p>
|
|
1759
1759
|
* @public
|
|
1760
1760
|
*/
|
|
1761
1761
|
IfMatch: string | 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.745.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|
|
@@ -20,39 +20,39 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.744.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.744.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.744.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.744.0",
|
|
34
34
|
"@aws-sdk/xml-builder": "3.734.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.0.1",
|
|
36
|
-
"@smithy/core": "^3.1.
|
|
36
|
+
"@smithy/core": "^3.1.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
38
38
|
"@smithy/hash-node": "^4.0.1",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
42
|
-
"@smithy/middleware-retry": "^4.0.
|
|
43
|
-
"@smithy/middleware-serde": "^4.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.0.3",
|
|
42
|
+
"@smithy/middleware-retry": "^4.0.4",
|
|
43
|
+
"@smithy/middleware-serde": "^4.0.2",
|
|
44
44
|
"@smithy/middleware-stack": "^4.0.1",
|
|
45
45
|
"@smithy/node-config-provider": "^4.0.1",
|
|
46
46
|
"@smithy/node-http-handler": "^4.0.2",
|
|
47
47
|
"@smithy/protocol-http": "^5.0.1",
|
|
48
|
-
"@smithy/smithy-client": "^4.1.
|
|
48
|
+
"@smithy/smithy-client": "^4.1.3",
|
|
49
49
|
"@smithy/types": "^4.1.0",
|
|
50
50
|
"@smithy/url-parser": "^4.0.1",
|
|
51
51
|
"@smithy/util-base64": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.0.4",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.0.4",
|
|
56
56
|
"@smithy/util-endpoints": "^3.0.1",
|
|
57
57
|
"@smithy/util-middleware": "^4.0.1",
|
|
58
58
|
"@smithy/util-retry": "^4.0.1",
|