@aws-sdk/client-cloudfront 3.1144.0 → 3.1145.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/index.js +2 -1
- package/dist-es/models/enums.js +1 -0
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +2 -2
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +2 -2
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/models/models_1.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1144.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -8960,6 +8960,7 @@ const OriginAccessControlOriginTypes = {
|
|
|
8960
8960
|
};
|
|
8961
8961
|
const OriginAccessControlSigningBehaviors = {
|
|
8962
8962
|
always: "always",
|
|
8963
|
+
always_amz_auth: "always-amz-auth",
|
|
8963
8964
|
never: "never",
|
|
8964
8965
|
no_override: "no-override",
|
|
8965
8966
|
};
|
package/dist-es/models/enums.js
CHANGED
|
@@ -38,7 +38,7 @@ declare const CreateOriginAccessControlCommand_base: {
|
|
|
38
38
|
* Name: "STRING_VALUE", // required
|
|
39
39
|
* Description: "STRING_VALUE",
|
|
40
40
|
* SigningProtocol: "sigv4" || "sigv4a", // required
|
|
41
|
-
* SigningBehavior: "never" || "always" || "no-override", // required
|
|
41
|
+
* SigningBehavior: "never" || "always" || "no-override" || "always-amz-auth", // required
|
|
42
42
|
* OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required
|
|
43
43
|
* },
|
|
44
44
|
* };
|
|
@@ -51,7 +51,7 @@ declare const CreateOriginAccessControlCommand_base: {
|
|
|
51
51
|
* // Name: "STRING_VALUE", // required
|
|
52
52
|
* // Description: "STRING_VALUE",
|
|
53
53
|
* // SigningProtocol: "sigv4" || "sigv4a", // required
|
|
54
|
-
* // SigningBehavior: "never" || "always" || "no-override", // required
|
|
54
|
+
* // SigningBehavior: "never" || "always" || "no-override" || "always-amz-auth", // required
|
|
55
55
|
* // OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required
|
|
56
56
|
* // },
|
|
57
57
|
* // },
|
|
@@ -45,7 +45,7 @@ declare const GetOriginAccessControlCommand_base: {
|
|
|
45
45
|
* // Name: "STRING_VALUE", // required
|
|
46
46
|
* // Description: "STRING_VALUE",
|
|
47
47
|
* // SigningProtocol: "sigv4" || "sigv4a", // required
|
|
48
|
-
* // SigningBehavior: "never" || "always" || "no-override", // required
|
|
48
|
+
* // SigningBehavior: "never" || "always" || "no-override" || "always-amz-auth", // required
|
|
49
49
|
* // OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required
|
|
50
50
|
* // },
|
|
51
51
|
* // },
|
|
@@ -43,7 +43,7 @@ declare const GetOriginAccessControlConfigCommand_base: {
|
|
|
43
43
|
* // Name: "STRING_VALUE", // required
|
|
44
44
|
* // Description: "STRING_VALUE",
|
|
45
45
|
* // SigningProtocol: "sigv4" || "sigv4a", // required
|
|
46
|
-
* // SigningBehavior: "never" || "always" || "no-override", // required
|
|
46
|
+
* // SigningBehavior: "never" || "always" || "no-override" || "always-amz-auth", // required
|
|
47
47
|
* // OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required
|
|
48
48
|
* // },
|
|
49
49
|
* // ETag: "STRING_VALUE",
|
|
@@ -52,7 +52,7 @@ declare const ListOriginAccessControlsCommand_base: {
|
|
|
52
52
|
* // Description: "STRING_VALUE", // required
|
|
53
53
|
* // Name: "STRING_VALUE", // required
|
|
54
54
|
* // SigningProtocol: "sigv4" || "sigv4a", // required
|
|
55
|
-
* // SigningBehavior: "never" || "always" || "no-override", // required
|
|
55
|
+
* // SigningBehavior: "never" || "always" || "no-override" || "always-amz-auth", // required
|
|
56
56
|
* // OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required
|
|
57
57
|
* // },
|
|
58
58
|
* // ],
|
|
@@ -38,7 +38,7 @@ declare const UpdateOriginAccessControlCommand_base: {
|
|
|
38
38
|
* Name: "STRING_VALUE", // required
|
|
39
39
|
* Description: "STRING_VALUE",
|
|
40
40
|
* SigningProtocol: "sigv4" || "sigv4a", // required
|
|
41
|
-
* SigningBehavior: "never" || "always" || "no-override", // required
|
|
41
|
+
* SigningBehavior: "never" || "always" || "no-override" || "always-amz-auth", // required
|
|
42
42
|
* OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required
|
|
43
43
|
* },
|
|
44
44
|
* Id: "STRING_VALUE", // required
|
|
@@ -53,7 +53,7 @@ declare const UpdateOriginAccessControlCommand_base: {
|
|
|
53
53
|
* // Name: "STRING_VALUE", // required
|
|
54
54
|
* // Description: "STRING_VALUE",
|
|
55
55
|
* // SigningProtocol: "sigv4" || "sigv4a", // required
|
|
56
|
-
* // SigningBehavior: "never" || "always" || "no-override", // required
|
|
56
|
+
* // SigningBehavior: "never" || "always" || "no-override" || "always-amz-auth", // required
|
|
57
57
|
* // OriginAccessControlOriginType: "s3" || "mediastore" || "mediapackagev2" || "lambda", // required
|
|
58
58
|
* // },
|
|
59
59
|
* // },
|
|
@@ -461,6 +461,7 @@ export type OriginAccessControlOriginTypes = (typeof OriginAccessControlOriginTy
|
|
|
461
461
|
*/
|
|
462
462
|
export declare const OriginAccessControlSigningBehaviors: {
|
|
463
463
|
readonly always: "always";
|
|
464
|
+
readonly always_amz_auth: "always-amz-auth";
|
|
464
465
|
readonly never: "never";
|
|
465
466
|
readonly no_override: "no-override";
|
|
466
467
|
};
|
|
@@ -3662,7 +3662,7 @@ export interface OriginAccessControlConfig {
|
|
|
3662
3662
|
*/
|
|
3663
3663
|
SigningProtocol: OriginAccessControlSigningProtocols | undefined;
|
|
3664
3664
|
/**
|
|
3665
|
-
* <p>Specifies which requests CloudFront signs (adds authentication information to). Specify <code>always</code> for the most common use case. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings">origin access control advanced settings</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>This field can have one of the following values:</p> <ul> <li> <p> <code>always</code> – CloudFront signs all origin requests, overwriting the <code>Authorization</code> header from the viewer request if one exists.</p> </li> <li> <p> <code>never</code> – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.</p> </li> <li> <p> <code>no-override</code> – If the viewer request doesn't contain the <code>Authorization</code> header, then CloudFront signs the origin request. If the viewer request contains the <code>Authorization</code> header, then CloudFront doesn't sign the origin request and instead passes along the <code>Authorization</code> header from the viewer request. <b>WARNING: To pass along the <code>Authorization</code> header from the viewer request, you <i>must</i> add the <code>Authorization</code> header to a <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">cache policy</a> for all cache behaviors that use origins associated with this origin access control.</b> </p> </li> </ul>
|
|
3665
|
+
* <p>Specifies which requests CloudFront signs (adds authentication information to). Specify <code>always</code> for the most common use case. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html#oac-advanced-settings">origin access control advanced settings</a> in the <i>Amazon CloudFront Developer Guide</i>.</p> <p>This field can have one of the following values:</p> <ul> <li> <p> <code>always</code> – CloudFront signs all origin requests, overwriting the <code>Authorization</code> header from the viewer request if one exists.</p> </li> <li> <p> <code>never</code> – CloudFront doesn't sign any origin requests. This value turns off origin access control for all origins in all distributions that use this origin access control.</p> </li> <li> <p> <code>no-override</code> – If the viewer request doesn't contain the <code>Authorization</code> header, then CloudFront signs the origin request. If the viewer request contains the <code>Authorization</code> header, then CloudFront doesn't sign the origin request and instead passes along the <code>Authorization</code> header from the viewer request. <b>WARNING: To pass along the <code>Authorization</code> header from the viewer request, you <i>must</i> add the <code>Authorization</code> header to a <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">cache policy</a> for all cache behaviors that use origins associated with this origin access control.</b> </p> </li> <li> <p> <code>always-amz-auth</code> – CloudFront signs all origin requests with Amazon authentication headers. If the viewer request contains the <code>Authorization</code> header, then CloudFront also forwards that header to the origin. This value is only valid with Lambda-Web origins. <b>WARNING: To forward the <code>Authorization</code> header from the viewer request, you <i>must</i> add the <code>Authorization</code> header to a <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html">cache policy</a> for all cache behaviors that use origins associated with this origin access control.</b> </p> </li> </ul>
|
|
3666
3666
|
* @public
|
|
3667
3667
|
*/
|
|
3668
3668
|
SigningBehavior: OriginAccessControlSigningBehaviors | undefined;
|
|
@@ -2272,7 +2272,7 @@ export interface OriginAccessControlSummary {
|
|
|
2272
2272
|
*/
|
|
2273
2273
|
SigningProtocol: OriginAccessControlSigningProtocols | undefined;
|
|
2274
2274
|
/**
|
|
2275
|
-
* <p>A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:</p> <ul> <li> <p> <code>never</code> – CloudFront doesn't sign any origin requests.</p> </li> <li> <p> <code>always</code> – CloudFront signs all origin requests, overwriting the <code>Authorization</code> header from the viewer request if necessary.</p> </li> <li> <p> <code>no-override</code> – If the viewer request doesn't contain the <code>Authorization</code> header, CloudFront signs the origin request. If the viewer request contains the <code>Authorization</code> header, CloudFront doesn't sign the origin request, but instead passes along the <code>Authorization</code> header that it received in the viewer request.</p> </li> </ul>
|
|
2275
|
+
* <p>A value that specifies which requests CloudFront signs (adds authentication information to). This field can have one of the following values:</p> <ul> <li> <p> <code>never</code> – CloudFront doesn't sign any origin requests.</p> </li> <li> <p> <code>always</code> – CloudFront signs all origin requests, overwriting the <code>Authorization</code> header from the viewer request if necessary.</p> </li> <li> <p> <code>no-override</code> – If the viewer request doesn't contain the <code>Authorization</code> header, CloudFront signs the origin request. If the viewer request contains the <code>Authorization</code> header, CloudFront doesn't sign the origin request, but instead passes along the <code>Authorization</code> header that it received in the viewer request.</p> </li> <li> <p> <code>always-amz-auth</code> – CloudFront signs all origin requests with Amazon authentication headers, and forwards the viewer's <code>Authorization</code> header to the origin if one is present. This value is only valid with Lambda-Web origins.</p> </li> </ul>
|
|
2276
2276
|
* @public
|
|
2277
2277
|
*/
|
|
2278
2278
|
SigningBehavior: OriginAccessControlSigningBehaviors | undefined;
|
|
@@ -230,6 +230,7 @@ export type OriginAccessControlOriginTypes =
|
|
|
230
230
|
(typeof OriginAccessControlOriginTypes)[keyof typeof OriginAccessControlOriginTypes];
|
|
231
231
|
export declare const OriginAccessControlSigningBehaviors: {
|
|
232
232
|
readonly always: "always";
|
|
233
|
+
readonly always_amz_auth: "always-amz-auth";
|
|
233
234
|
readonly never: "never";
|
|
234
235
|
readonly no_override: "no-override";
|
|
235
236
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1145.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudfront",
|
|
6
6
|
"license": "Apache-2.0",
|