@aws-sdk/client-cloudfront 3.758.0 → 3.772.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.
Files changed (30) hide show
  1. package/dist-cjs/index.js +5 -5
  2. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +1 -1
  3. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +1 -1
  5. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateVpcOriginCommand.d.ts +1 -1
  7. package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +1 -1
  11. package/dist-types/commands/DeleteVpcOriginCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
  14. package/dist-types/commands/GetAnycastIpListCommand.d.ts +1 -1
  15. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  16. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  17. package/dist-types/commands/GetVpcOriginCommand.d.ts +1 -1
  18. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -1
  20. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +1 -1
  21. package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListKeyValueStoresCommand.d.ts +1 -1
  23. package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -1
  24. package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
  25. package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -1
  29. package/dist-types/models/models_0.d.ts +5 -5
  30. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDenied: () => AccessDenied,
25
25
  AssociateAliasCommand: () => AssociateAliasCommand,
26
26
  BatchTooLarge: () => BatchTooLarge,
@@ -374,7 +374,7 @@ __export(src_exports, {
374
374
  waitUntilInvalidationCompleted: () => waitUntilInvalidationCompleted,
375
375
  waitUntilStreamingDistributionDeployed: () => waitUntilStreamingDistributionDeployed
376
376
  });
377
- module.exports = __toCommonJS(src_exports);
377
+ module.exports = __toCommonJS(index_exports);
378
378
 
379
379
  // src/CloudFrontClient.ts
380
380
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -501,9 +501,9 @@ var CloudFrontClient = class extends import_smithy_client.Client {
501
501
  this.middlewareStack.use(
502
502
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
503
503
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCloudFrontHttpAuthSchemeParametersProvider,
504
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
504
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
505
505
  "aws.auth#sigv4": config.credentials
506
- })
506
+ }), "identityProviderConfigProvider")
507
507
  })
508
508
  );
509
509
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -88,7 +88,7 @@ declare const CreateAnycastIpListCommand_base: {
88
88
  * <p>The tagging specified is not valid.</p>
89
89
  *
90
90
  * @throws {@link UnsupportedOperation} (client fault)
91
- * <p>This operation is not supported in this region.</p>
91
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
92
92
  *
93
93
  * @throws {@link CloudFrontServiceException}
94
94
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -115,7 +115,7 @@ declare const CreateFunctionCommand_base: {
115
115
  * <i>Amazon CloudFront Developer Guide</i>.</p>
116
116
  *
117
117
  * @throws {@link UnsupportedOperation} (client fault)
118
- * <p>This operation is not supported in this region.</p>
118
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
119
119
  *
120
120
  * @throws {@link CloudFrontServiceException}
121
121
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -82,7 +82,7 @@ declare const CreateKeyValueStoreCommand_base: {
82
82
  * <p>An argument is invalid.</p>
83
83
  *
84
84
  * @throws {@link UnsupportedOperation} (client fault)
85
- * <p>This operation is not supported in this region.</p>
85
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
86
86
  *
87
87
  * @throws {@link CloudFrontServiceException}
88
88
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -27,7 +27,7 @@ declare const CreateMonitoringSubscriptionCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The
30
+ * <p>Enables or disables additional Amazon CloudWatch metrics for the specified CloudFront distribution. The
31
31
  * additional metrics incur an additional cost.</p>
32
32
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional">Viewing additional CloudFront distribution metrics</a> in
33
33
  * the <i>Amazon CloudFront Developer Guide</i>.</p>
@@ -73,7 +73,7 @@ declare const CreateMonitoringSubscriptionCommand_base: {
73
73
  * <p>The specified distribution does not exist.</p>
74
74
  *
75
75
  * @throws {@link UnsupportedOperation} (client fault)
76
- * <p>This operation is not supported in this region.</p>
76
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
77
77
  *
78
78
  * @throws {@link CloudFrontServiceException}
79
79
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -113,7 +113,7 @@ declare const CreateVpcOriginCommand_base: {
113
113
  * <p>The tagging specified is not valid.</p>
114
114
  *
115
115
  * @throws {@link UnsupportedOperation} (client fault)
116
- * <p>This operation is not supported in this region.</p>
116
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
117
117
  *
118
118
  * @throws {@link CloudFrontServiceException}
119
119
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -73,7 +73,7 @@ declare const DeleteAnycastIpListCommand_base: {
73
73
  * <code>false</code>.</p>
74
74
  *
75
75
  * @throws {@link UnsupportedOperation} (client fault)
76
- * <p>This operation is not supported in this region.</p>
76
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
77
77
  *
78
78
  * @throws {@link CloudFrontServiceException}
79
79
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -71,7 +71,7 @@ declare const DeleteFunctionCommand_base: {
71
71
  * <code>false</code>.</p>
72
72
  *
73
73
  * @throws {@link UnsupportedOperation} (client fault)
74
- * <p>This operation is not supported in this region.</p>
74
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
75
75
  *
76
76
  * @throws {@link CloudFrontServiceException}
77
77
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -67,7 +67,7 @@ declare const DeleteKeyValueStoreCommand_base: {
67
67
  * <code>false</code>.</p>
68
68
  *
69
69
  * @throws {@link UnsupportedOperation} (client fault)
70
- * <p>This operation is not supported in this region.</p>
70
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
71
71
  *
72
72
  * @throws {@link CloudFrontServiceException}
73
73
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -59,7 +59,7 @@ declare const DeleteMonitoringSubscriptionCommand_base: {
59
59
  * <p>A monitoring subscription does not exist for the specified distribution.</p>
60
60
  *
61
61
  * @throws {@link UnsupportedOperation} (client fault)
62
- * <p>This operation is not supported in this region.</p>
62
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
63
63
  *
64
64
  * @throws {@link CloudFrontServiceException}
65
65
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -95,7 +95,7 @@ declare const DeleteVpcOriginCommand_base: {
95
95
  * <code>false</code>.</p>
96
96
  *
97
97
  * @throws {@link UnsupportedOperation} (client fault)
98
- * <p>This operation is not supported in this region.</p>
98
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
99
99
  *
100
100
  * @throws {@link CloudFrontServiceException}
101
101
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -82,7 +82,7 @@ declare const DescribeFunctionCommand_base: {
82
82
  * <p>The function does not exist.</p>
83
83
  *
84
84
  * @throws {@link UnsupportedOperation} (client fault)
85
- * <p>This operation is not supported in this region.</p>
85
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
86
86
  *
87
87
  * @throws {@link CloudFrontServiceException}
88
88
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -69,7 +69,7 @@ declare const DescribeKeyValueStoreCommand_base: {
69
69
  * <p>An argument is invalid.</p>
70
70
  *
71
71
  * @throws {@link UnsupportedOperation} (client fault)
72
- * <p>This operation is not supported in this region.</p>
72
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
73
73
  *
74
74
  * @throws {@link CloudFrontServiceException}
75
75
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -72,7 +72,7 @@ declare const GetAnycastIpListCommand_base: {
72
72
  * <p>An argument is invalid.</p>
73
73
  *
74
74
  * @throws {@link UnsupportedOperation} (client fault)
75
- * <p>This operation is not supported in this region.</p>
75
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
76
76
  *
77
77
  * @throws {@link CloudFrontServiceException}
78
78
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -68,7 +68,7 @@ declare const GetFunctionCommand_base: {
68
68
  * <p>The function does not exist.</p>
69
69
  *
70
70
  * @throws {@link UnsupportedOperation} (client fault)
71
- * <p>This operation is not supported in this region.</p>
71
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
72
72
  *
73
73
  * @throws {@link CloudFrontServiceException}
74
74
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -66,7 +66,7 @@ declare const GetMonitoringSubscriptionCommand_base: {
66
66
  * <p>A monitoring subscription does not exist for the specified distribution.</p>
67
67
  *
68
68
  * @throws {@link UnsupportedOperation} (client fault)
69
- * <p>This operation is not supported in this region.</p>
69
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
70
70
  *
71
71
  * @throws {@link CloudFrontServiceException}
72
72
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -81,7 +81,7 @@ declare const GetVpcOriginCommand_base: {
81
81
  * <p>An argument is invalid.</p>
82
82
  *
83
83
  * @throws {@link UnsupportedOperation} (client fault)
84
- * <p>This operation is not supported in this region.</p>
84
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
85
85
  *
86
86
  * @throws {@link CloudFrontServiceException}
87
87
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -78,7 +78,7 @@ declare const ListAnycastIpListsCommand_base: {
78
78
  * <p>An argument is invalid.</p>
79
79
  *
80
80
  * @throws {@link UnsupportedOperation} (client fault)
81
- * <p>This operation is not supported in this region.</p>
81
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
82
82
  *
83
83
  * @throws {@link CloudFrontServiceException}
84
84
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -373,7 +373,7 @@ declare const ListDistributionsByAnycastIpListIdCommand_base: {
373
373
  * <p>An argument is invalid.</p>
374
374
  *
375
375
  * @throws {@link UnsupportedOperation} (client fault)
376
- * <p>This operation is not supported in this region.</p>
376
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
377
377
  *
378
378
  * @throws {@link CloudFrontServiceException}
379
379
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -72,7 +72,7 @@ declare const ListDistributionsByVpcOriginIdCommand_base: {
72
72
  * <p>An argument is invalid.</p>
73
73
  *
74
74
  * @throws {@link UnsupportedOperation} (client fault)
75
- * <p>This operation is not supported in this region.</p>
75
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
76
76
  *
77
77
  * @throws {@link CloudFrontServiceException}
78
78
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -92,7 +92,7 @@ declare const ListFunctionsCommand_base: {
92
92
  * <p>An argument is invalid.</p>
93
93
  *
94
94
  * @throws {@link UnsupportedOperation} (client fault)
95
- * <p>This operation is not supported in this region.</p>
95
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
96
96
  *
97
97
  * @throws {@link CloudFrontServiceException}
98
98
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -74,7 +74,7 @@ declare const ListKeyValueStoresCommand_base: {
74
74
  * <p>An argument is invalid.</p>
75
75
  *
76
76
  * @throws {@link UnsupportedOperation} (client fault)
77
- * <p>This operation is not supported in this region.</p>
77
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
78
78
  *
79
79
  * @throws {@link CloudFrontServiceException}
80
80
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -79,7 +79,7 @@ declare const ListVpcOriginsCommand_base: {
79
79
  * <p>An argument is invalid.</p>
80
80
  *
81
81
  * @throws {@link UnsupportedOperation} (client fault)
82
- * <p>This operation is not supported in this region.</p>
82
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
83
83
  *
84
84
  * @throws {@link CloudFrontServiceException}
85
85
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -96,7 +96,7 @@ declare const PublishFunctionCommand_base: {
96
96
  * <code>false</code>.</p>
97
97
  *
98
98
  * @throws {@link UnsupportedOperation} (client fault)
99
- * <p>This operation is not supported in this region.</p>
99
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
100
100
  *
101
101
  * @throws {@link CloudFrontServiceException}
102
102
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -105,7 +105,7 @@ declare const TestFunctionCommand_base: {
105
105
  * <p>The CloudFront function failed.</p>
106
106
  *
107
107
  * @throws {@link UnsupportedOperation} (client fault)
108
- * <p>This operation is not supported in this region.</p>
108
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
109
109
  *
110
110
  * @throws {@link CloudFrontServiceException}
111
111
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -110,7 +110,7 @@ declare const UpdateFunctionCommand_base: {
110
110
  * <code>false</code>.</p>
111
111
  *
112
112
  * @throws {@link UnsupportedOperation} (client fault)
113
- * <p>This operation is not supported in this region.</p>
113
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
114
114
  *
115
115
  * @throws {@link CloudFrontServiceException}
116
116
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -78,7 +78,7 @@ declare const UpdateKeyValueStoreCommand_base: {
78
78
  * <code>false</code>.</p>
79
79
  *
80
80
  * @throws {@link UnsupportedOperation} (client fault)
81
- * <p>This operation is not supported in this region.</p>
81
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
82
82
  *
83
83
  * @throws {@link CloudFrontServiceException}
84
84
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -119,7 +119,7 @@ declare const UpdateVpcOriginCommand_base: {
119
119
  * <code>false</code>.</p>
120
120
  *
121
121
  * @throws {@link UnsupportedOperation} (client fault)
122
- * <p>This operation is not supported in this region.</p>
122
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
123
123
  *
124
124
  * @throws {@link CloudFrontServiceException}
125
125
  * <p>Base exception class for all service exceptions from CloudFront service.</p>
@@ -183,7 +183,7 @@ export interface AliasICPRecordal {
183
183
  CNAME?: string | undefined;
184
184
  /**
185
185
  * <p>The Internet Content Provider (ICP) recordal status for a CNAME. The ICPRecordalStatus
186
- * is set to APPROVED for all CNAMEs (aliases) in regions outside of China.</p>
186
+ * is set to APPROVED for all CNAMEs (aliases) in Amazon Web Services Regions outside of China.</p>
187
187
  * <p>The status values returned are the following:</p>
188
188
  * <ul>
189
189
  * <li>
@@ -191,7 +191,7 @@ export interface AliasICPRecordal {
191
191
  * <b>APPROVED</b> indicates that the associated CNAME
192
192
  * has a valid ICP recordal number. Multiple CNAMEs can be associated with a
193
193
  * distribution, and CNAMEs can correspond to different ICP recordals. To be marked
194
- * as APPROVED, that is, valid to use with China region, a CNAME must have one ICP
194
+ * as APPROVED, that is, valid to use with the China Regions, a CNAME must have one ICP
195
195
  * recordal number associated with it.</p>
196
196
  * </li>
197
197
  * <li>
@@ -4352,7 +4352,7 @@ export declare class InvalidTagging extends __BaseException {
4352
4352
  constructor(opts: __ExceptionOptionType<InvalidTagging, __BaseException>);
4353
4353
  }
4354
4354
  /**
4355
- * <p>This operation is not supported in this region.</p>
4355
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
4356
4356
  * @public
4357
4357
  */
4358
4358
  export declare class UnsupportedOperation extends __BaseException {
@@ -6095,8 +6095,8 @@ export interface CreateMonitoringSubscriptionRequest {
6095
6095
  */
6096
6096
  DistributionId: string | undefined;
6097
6097
  /**
6098
- * <p>A monitoring subscription. This structure contains information about whether
6099
- * additional CloudWatch metrics are enabled for a given CloudFront distribution.</p>
6098
+ * <p>A monitoring subscription. This structure contains information about whether additional CloudWatch
6099
+ * metrics are enabled for a given CloudFront distribution.</p>
6100
6100
  * @public
6101
6101
  */
6102
6102
  MonitoringSubscription: MonitoringSubscription | 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.758.0",
4
+ "version": "3.772.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",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",