@aws-sdk/client-cloudfront 3.266.0 → 3.267.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.
@@ -1613,6 +1613,7 @@ class MonitoringSubscriptionAlreadyExists extends CloudFrontServiceException_1.C
1613
1613
  exports.MonitoringSubscriptionAlreadyExists = MonitoringSubscriptionAlreadyExists;
1614
1614
  var OriginAccessControlOriginTypes;
1615
1615
  (function (OriginAccessControlOriginTypes) {
1616
+ OriginAccessControlOriginTypes["mediastore"] = "mediastore";
1616
1617
  OriginAccessControlOriginTypes["s3"] = "s3";
1617
1618
  })(OriginAccessControlOriginTypes = exports.OriginAccessControlOriginTypes || (exports.OriginAccessControlOriginTypes = {}));
1618
1619
  var OriginAccessControlSigningBehaviors;
@@ -1501,6 +1501,7 @@ export class MonitoringSubscriptionAlreadyExists extends __BaseException {
1501
1501
  }
1502
1502
  export var OriginAccessControlOriginTypes;
1503
1503
  (function (OriginAccessControlOriginTypes) {
1504
+ OriginAccessControlOriginTypes["mediastore"] = "mediastore";
1504
1505
  OriginAccessControlOriginTypes["s3"] = "s3";
1505
1506
  })(OriginAccessControlOriginTypes || (OriginAccessControlOriginTypes = {}));
1506
1507
  export var OriginAccessControlSigningBehaviors;
@@ -267,9 +267,9 @@ export declare class CloudFront extends CloudFrontClient {
267
267
  * <p>Creates a new origin access control in CloudFront. After you create an origin access
268
268
  * control, you can add it to an origin in a CloudFront distribution so that CloudFront sends
269
269
  * authenticated (signed) requests to the origin.</p>
270
- * <p>For an Amazon S3 origin, this makes it possible to block public access to the Amazon S3 bucket
271
- * so that viewers (users) can access the content in the bucket only through CloudFront.</p>
272
- * <p>For more information about using a CloudFront origin access control, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html">Restricting access to an Amazon S3 origin</a> in the
270
+ * <p>This makes it possible to block public access to the origin, allowing viewers (users) to
271
+ * access the origin's content only through CloudFront.</p>
272
+ * <p>For more information about using a CloudFront origin access control, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html">Restricting access to an Amazon Web Services origin</a> in the
273
273
  * <i>Amazon CloudFront Developer Guide</i>.</p>
274
274
  */
275
275
  createOriginAccessControl(args: CreateOriginAccessControlCommandInput, options?: __HttpHandlerOptions): Promise<CreateOriginAccessControlCommandOutput>;
@@ -11,9 +11,9 @@ export interface CreateOriginAccessControlCommandOutput extends CreateOriginAcce
11
11
  * <p>Creates a new origin access control in CloudFront. After you create an origin access
12
12
  * control, you can add it to an origin in a CloudFront distribution so that CloudFront sends
13
13
  * authenticated (signed) requests to the origin.</p>
14
- * <p>For an Amazon S3 origin, this makes it possible to block public access to the Amazon S3 bucket
15
- * so that viewers (users) can access the content in the bucket only through CloudFront.</p>
16
- * <p>For more information about using a CloudFront origin access control, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html">Restricting access to an Amazon S3 origin</a> in the
14
+ * <p>This makes it possible to block public access to the origin, allowing viewers (users) to
15
+ * access the origin's content only through CloudFront.</p>
16
+ * <p>For more information about using a CloudFront origin access control, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-origin.html">Restricting access to an Amazon Web Services origin</a> in the
17
17
  * <i>Amazon CloudFront Developer Guide</i>.</p>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
@@ -4872,6 +4872,7 @@ export declare class MonitoringSubscriptionAlreadyExists extends __BaseException
4872
4872
  constructor(opts: __ExceptionOptionType<MonitoringSubscriptionAlreadyExists, __BaseException>);
4873
4873
  }
4874
4874
  export declare enum OriginAccessControlOriginTypes {
4875
+ mediastore = "mediastore",
4875
4876
  s3 = "s3"
4876
4877
  }
4877
4878
  export declare enum OriginAccessControlSigningBehaviors {
@@ -4933,8 +4934,7 @@ export interface OriginAccessControlConfig {
4933
4934
  */
4934
4935
  SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
4935
4936
  /**
4936
- * <p>The type of origin that this origin access control is for. The only valid value is
4937
- * <code>s3</code>.</p>
4937
+ * <p>The type of origin that this origin access control is for.</p>
4938
4938
  */
4939
4939
  OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
4940
4940
  }
@@ -2397,8 +2397,7 @@ export interface OriginAccessControlSummary {
2397
2397
  */
2398
2398
  SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
2399
2399
  /**
2400
- * <p>The type of origin that this origin access control is for. The only valid value is
2401
- * <code>s3</code>.</p>
2400
+ * <p>The type of origin that this origin access control is for.</p>
2402
2401
  */
2403
2402
  OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
2404
2403
  }
@@ -1613,6 +1613,7 @@ export declare class MonitoringSubscriptionAlreadyExists extends __BaseException
1613
1613
  );
1614
1614
  }
1615
1615
  export declare enum OriginAccessControlOriginTypes {
1616
+ mediastore = "mediastore",
1616
1617
  s3 = "s3",
1617
1618
  }
1618
1619
  export declare enum OriginAccessControlSigningBehaviors {
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.266.0",
4
+ "version": "3.267.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,39 +20,39 @@
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.266.0",
24
- "@aws-sdk/config-resolver": "3.266.0",
25
- "@aws-sdk/credential-provider-node": "3.266.0",
26
- "@aws-sdk/fetch-http-handler": "3.266.0",
27
- "@aws-sdk/hash-node": "3.266.0",
28
- "@aws-sdk/invalid-dependency": "3.266.0",
29
- "@aws-sdk/middleware-content-length": "3.266.0",
30
- "@aws-sdk/middleware-endpoint": "3.266.0",
31
- "@aws-sdk/middleware-host-header": "3.266.0",
32
- "@aws-sdk/middleware-logger": "3.266.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.266.0",
34
- "@aws-sdk/middleware-retry": "3.266.0",
35
- "@aws-sdk/middleware-serde": "3.266.0",
36
- "@aws-sdk/middleware-signing": "3.266.0",
37
- "@aws-sdk/middleware-stack": "3.266.0",
38
- "@aws-sdk/middleware-user-agent": "3.266.0",
39
- "@aws-sdk/node-config-provider": "3.266.0",
40
- "@aws-sdk/node-http-handler": "3.266.0",
41
- "@aws-sdk/protocol-http": "3.266.0",
42
- "@aws-sdk/smithy-client": "3.266.0",
43
- "@aws-sdk/types": "3.266.0",
44
- "@aws-sdk/url-parser": "3.266.0",
23
+ "@aws-sdk/client-sts": "3.267.0",
24
+ "@aws-sdk/config-resolver": "3.267.0",
25
+ "@aws-sdk/credential-provider-node": "3.267.0",
26
+ "@aws-sdk/fetch-http-handler": "3.267.0",
27
+ "@aws-sdk/hash-node": "3.267.0",
28
+ "@aws-sdk/invalid-dependency": "3.267.0",
29
+ "@aws-sdk/middleware-content-length": "3.267.0",
30
+ "@aws-sdk/middleware-endpoint": "3.267.0",
31
+ "@aws-sdk/middleware-host-header": "3.267.0",
32
+ "@aws-sdk/middleware-logger": "3.267.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.267.0",
34
+ "@aws-sdk/middleware-retry": "3.267.0",
35
+ "@aws-sdk/middleware-serde": "3.267.0",
36
+ "@aws-sdk/middleware-signing": "3.267.0",
37
+ "@aws-sdk/middleware-stack": "3.267.0",
38
+ "@aws-sdk/middleware-user-agent": "3.267.0",
39
+ "@aws-sdk/node-config-provider": "3.267.0",
40
+ "@aws-sdk/node-http-handler": "3.267.0",
41
+ "@aws-sdk/protocol-http": "3.267.0",
42
+ "@aws-sdk/smithy-client": "3.267.0",
43
+ "@aws-sdk/types": "3.267.0",
44
+ "@aws-sdk/url-parser": "3.267.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.266.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.266.0",
50
- "@aws-sdk/util-endpoints": "3.266.0",
51
- "@aws-sdk/util-retry": "3.266.0",
52
- "@aws-sdk/util-user-agent-browser": "3.266.0",
53
- "@aws-sdk/util-user-agent-node": "3.266.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.267.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.267.0",
50
+ "@aws-sdk/util-endpoints": "3.267.0",
51
+ "@aws-sdk/util-retry": "3.267.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.267.0",
53
+ "@aws-sdk/util-user-agent-node": "3.267.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.266.0",
55
+ "@aws-sdk/util-waiter": "3.267.0",
56
56
  "@aws-sdk/xml-builder": "3.201.0",
57
57
  "fast-xml-parser": "4.0.11",
58
58
  "tslib": "^2.3.1"