@aws-sdk/client-cloudfront-keyvaluestore 3.721.0 → 3.723.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 CHANGED
@@ -141,7 +141,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
141
141
  }, "resolveRuntimeExtensions");
142
142
 
143
143
  // src/CloudFrontKeyValueStoreClient.ts
144
- var _CloudFrontKeyValueStoreClient = class _CloudFrontKeyValueStoreClient extends import_smithy_client.Client {
144
+ var CloudFrontKeyValueStoreClient = class extends import_smithy_client.Client {
145
+ static {
146
+ __name(this, "CloudFrontKeyValueStoreClient");
147
+ }
148
+ /**
149
+ * The resolved configuration of CloudFrontKeyValueStoreClient class. This is resolved and normalized from the {@link CloudFrontKeyValueStoreClientConfig | constructor configuration interface}.
150
+ */
151
+ config;
145
152
  constructor(...[configuration]) {
146
153
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
147
154
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -151,7 +158,7 @@ var _CloudFrontKeyValueStoreClient = class _CloudFrontKeyValueStoreClient extend
151
158
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
152
159
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
153
160
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
154
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
161
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
155
162
  super(_config_8);
156
163
  this.config = _config_8;
157
164
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -180,8 +187,6 @@ var _CloudFrontKeyValueStoreClient = class _CloudFrontKeyValueStoreClient extend
180
187
  super.destroy();
181
188
  }
182
189
  };
183
- __name(_CloudFrontKeyValueStoreClient, "CloudFrontKeyValueStoreClient");
184
- var CloudFrontKeyValueStoreClient = _CloudFrontKeyValueStoreClient;
185
190
 
186
191
  // src/CloudFrontKeyValueStore.ts
187
192
 
@@ -198,7 +203,10 @@ var import_core2 = require("@aws-sdk/core");
198
203
 
199
204
  // src/models/CloudFrontKeyValueStoreServiceException.ts
200
205
 
201
- var _CloudFrontKeyValueStoreServiceException = class _CloudFrontKeyValueStoreServiceException extends import_smithy_client.ServiceException {
206
+ var CloudFrontKeyValueStoreServiceException = class _CloudFrontKeyValueStoreServiceException extends import_smithy_client.ServiceException {
207
+ static {
208
+ __name(this, "CloudFrontKeyValueStoreServiceException");
209
+ }
202
210
  /**
203
211
  * @internal
204
212
  */
@@ -207,12 +215,16 @@ var _CloudFrontKeyValueStoreServiceException = class _CloudFrontKeyValueStoreSer
207
215
  Object.setPrototypeOf(this, _CloudFrontKeyValueStoreServiceException.prototype);
208
216
  }
209
217
  };
210
- __name(_CloudFrontKeyValueStoreServiceException, "CloudFrontKeyValueStoreServiceException");
211
- var CloudFrontKeyValueStoreServiceException = _CloudFrontKeyValueStoreServiceException;
212
218
 
213
219
  // src/models/models_0.ts
214
220
 
215
- var _AccessDeniedException = class _AccessDeniedException extends CloudFrontKeyValueStoreServiceException {
221
+ var AccessDeniedException = class _AccessDeniedException extends CloudFrontKeyValueStoreServiceException {
222
+ static {
223
+ __name(this, "AccessDeniedException");
224
+ }
225
+ name = "AccessDeniedException";
226
+ $fault = "client";
227
+ Message;
216
228
  /**
217
229
  * @internal
218
230
  */
@@ -222,15 +234,17 @@ var _AccessDeniedException = class _AccessDeniedException extends CloudFrontKeyV
222
234
  $fault: "client",
223
235
  ...opts
224
236
  });
225
- this.name = "AccessDeniedException";
226
- this.$fault = "client";
227
237
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
228
238
  this.Message = opts.Message;
229
239
  }
230
240
  };
231
- __name(_AccessDeniedException, "AccessDeniedException");
232
- var AccessDeniedException = _AccessDeniedException;
233
- var _ConflictException = class _ConflictException extends CloudFrontKeyValueStoreServiceException {
241
+ var ConflictException = class _ConflictException extends CloudFrontKeyValueStoreServiceException {
242
+ static {
243
+ __name(this, "ConflictException");
244
+ }
245
+ name = "ConflictException";
246
+ $fault = "client";
247
+ Message;
234
248
  /**
235
249
  * @internal
236
250
  */
@@ -240,15 +254,17 @@ var _ConflictException = class _ConflictException extends CloudFrontKeyValueStor
240
254
  $fault: "client",
241
255
  ...opts
242
256
  });
243
- this.name = "ConflictException";
244
- this.$fault = "client";
245
257
  Object.setPrototypeOf(this, _ConflictException.prototype);
246
258
  this.Message = opts.Message;
247
259
  }
248
260
  };
249
- __name(_ConflictException, "ConflictException");
250
- var ConflictException = _ConflictException;
251
- var _InternalServerException = class _InternalServerException extends CloudFrontKeyValueStoreServiceException {
261
+ var InternalServerException = class _InternalServerException extends CloudFrontKeyValueStoreServiceException {
262
+ static {
263
+ __name(this, "InternalServerException");
264
+ }
265
+ name = "InternalServerException";
266
+ $fault = "server";
267
+ Message;
252
268
  /**
253
269
  * @internal
254
270
  */
@@ -258,15 +274,17 @@ var _InternalServerException = class _InternalServerException extends CloudFront
258
274
  $fault: "server",
259
275
  ...opts
260
276
  });
261
- this.name = "InternalServerException";
262
- this.$fault = "server";
263
277
  Object.setPrototypeOf(this, _InternalServerException.prototype);
264
278
  this.Message = opts.Message;
265
279
  }
266
280
  };
267
- __name(_InternalServerException, "InternalServerException");
268
- var InternalServerException = _InternalServerException;
269
- var _ResourceNotFoundException = class _ResourceNotFoundException extends CloudFrontKeyValueStoreServiceException {
281
+ var ResourceNotFoundException = class _ResourceNotFoundException extends CloudFrontKeyValueStoreServiceException {
282
+ static {
283
+ __name(this, "ResourceNotFoundException");
284
+ }
285
+ name = "ResourceNotFoundException";
286
+ $fault = "client";
287
+ Message;
270
288
  /**
271
289
  * @internal
272
290
  */
@@ -276,15 +294,17 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends CloudF
276
294
  $fault: "client",
277
295
  ...opts
278
296
  });
279
- this.name = "ResourceNotFoundException";
280
- this.$fault = "client";
281
297
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
282
298
  this.Message = opts.Message;
283
299
  }
284
300
  };
285
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
286
- var ResourceNotFoundException = _ResourceNotFoundException;
287
- var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends CloudFrontKeyValueStoreServiceException {
301
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends CloudFrontKeyValueStoreServiceException {
302
+ static {
303
+ __name(this, "ServiceQuotaExceededException");
304
+ }
305
+ name = "ServiceQuotaExceededException";
306
+ $fault = "client";
307
+ Message;
288
308
  /**
289
309
  * @internal
290
310
  */
@@ -294,15 +314,17 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
294
314
  $fault: "client",
295
315
  ...opts
296
316
  });
297
- this.name = "ServiceQuotaExceededException";
298
- this.$fault = "client";
299
317
  Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
300
318
  this.Message = opts.Message;
301
319
  }
302
320
  };
303
- __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
304
- var ServiceQuotaExceededException = _ServiceQuotaExceededException;
305
- var _ValidationException = class _ValidationException extends CloudFrontKeyValueStoreServiceException {
321
+ var ValidationException = class _ValidationException extends CloudFrontKeyValueStoreServiceException {
322
+ static {
323
+ __name(this, "ValidationException");
324
+ }
325
+ name = "ValidationException";
326
+ $fault = "client";
327
+ Message;
306
328
  /**
307
329
  * @internal
308
330
  */
@@ -312,14 +334,10 @@ var _ValidationException = class _ValidationException extends CloudFrontKeyValue
312
334
  $fault: "client",
313
335
  ...opts
314
336
  });
315
- this.name = "ValidationException";
316
- this.$fault = "client";
317
337
  Object.setPrototypeOf(this, _ValidationException.prototype);
318
338
  this.Message = opts.Message;
319
339
  }
320
340
  };
321
- __name(_ValidationException, "ValidationException");
322
- var ValidationException = _ValidationException;
323
341
  var GetKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
324
342
  ...obj,
325
343
  ...obj.Value && { Value: import_smithy_client.SENSITIVE_STRING }
@@ -654,7 +672,7 @@ var _e = "etag";
654
672
  var _im = "if-match";
655
673
 
656
674
  // src/commands/DeleteKeyCommand.ts
657
- var _DeleteKeyCommand = class _DeleteKeyCommand extends import_smithy_client.Command.classBuilder().ep({
675
+ var DeleteKeyCommand = class extends import_smithy_client.Command.classBuilder().ep({
658
676
  ...commonParams,
659
677
  KvsARN: { type: "contextParams", name: "KvsARN" }
660
678
  }).m(function(Command, cs, config, o) {
@@ -663,15 +681,16 @@ var _DeleteKeyCommand = class _DeleteKeyCommand extends import_smithy_client.Com
663
681
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
664
682
  ];
665
683
  }).s("CloudFrontKeyValueStore", "DeleteKey", {}).n("CloudFrontKeyValueStoreClient", "DeleteKeyCommand").f(void 0, void 0).ser(se_DeleteKeyCommand).de(de_DeleteKeyCommand).build() {
684
+ static {
685
+ __name(this, "DeleteKeyCommand");
686
+ }
666
687
  };
667
- __name(_DeleteKeyCommand, "DeleteKeyCommand");
668
- var DeleteKeyCommand = _DeleteKeyCommand;
669
688
 
670
689
  // src/commands/DescribeKeyValueStoreCommand.ts
671
690
 
672
691
 
673
692
 
674
- var _DescribeKeyValueStoreCommand = class _DescribeKeyValueStoreCommand extends import_smithy_client.Command.classBuilder().ep({
693
+ var DescribeKeyValueStoreCommand = class extends import_smithy_client.Command.classBuilder().ep({
675
694
  ...commonParams,
676
695
  KvsARN: { type: "contextParams", name: "KvsARN" }
677
696
  }).m(function(Command, cs, config, o) {
@@ -680,15 +699,16 @@ var _DescribeKeyValueStoreCommand = class _DescribeKeyValueStoreCommand extends
680
699
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
681
700
  ];
682
701
  }).s("CloudFrontKeyValueStore", "DescribeKeyValueStore", {}).n("CloudFrontKeyValueStoreClient", "DescribeKeyValueStoreCommand").f(void 0, void 0).ser(se_DescribeKeyValueStoreCommand).de(de_DescribeKeyValueStoreCommand).build() {
702
+ static {
703
+ __name(this, "DescribeKeyValueStoreCommand");
704
+ }
683
705
  };
684
- __name(_DescribeKeyValueStoreCommand, "DescribeKeyValueStoreCommand");
685
- var DescribeKeyValueStoreCommand = _DescribeKeyValueStoreCommand;
686
706
 
687
707
  // src/commands/GetKeyCommand.ts
688
708
 
689
709
 
690
710
 
691
- var _GetKeyCommand = class _GetKeyCommand extends import_smithy_client.Command.classBuilder().ep({
711
+ var GetKeyCommand = class extends import_smithy_client.Command.classBuilder().ep({
692
712
  ...commonParams,
693
713
  KvsARN: { type: "contextParams", name: "KvsARN" }
694
714
  }).m(function(Command, cs, config, o) {
@@ -697,15 +717,16 @@ var _GetKeyCommand = class _GetKeyCommand extends import_smithy_client.Command.c
697
717
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
698
718
  ];
699
719
  }).s("CloudFrontKeyValueStore", "GetKey", {}).n("CloudFrontKeyValueStoreClient", "GetKeyCommand").f(void 0, GetKeyResponseFilterSensitiveLog).ser(se_GetKeyCommand).de(de_GetKeyCommand).build() {
720
+ static {
721
+ __name(this, "GetKeyCommand");
722
+ }
700
723
  };
701
- __name(_GetKeyCommand, "GetKeyCommand");
702
- var GetKeyCommand = _GetKeyCommand;
703
724
 
704
725
  // src/commands/ListKeysCommand.ts
705
726
 
706
727
 
707
728
 
708
- var _ListKeysCommand = class _ListKeysCommand extends import_smithy_client.Command.classBuilder().ep({
729
+ var ListKeysCommand = class extends import_smithy_client.Command.classBuilder().ep({
709
730
  ...commonParams,
710
731
  KvsARN: { type: "contextParams", name: "KvsARN" }
711
732
  }).m(function(Command, cs, config, o) {
@@ -714,15 +735,16 @@ var _ListKeysCommand = class _ListKeysCommand extends import_smithy_client.Comma
714
735
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
715
736
  ];
716
737
  }).s("CloudFrontKeyValueStore", "ListKeys", {}).n("CloudFrontKeyValueStoreClient", "ListKeysCommand").f(void 0, ListKeysResponseFilterSensitiveLog).ser(se_ListKeysCommand).de(de_ListKeysCommand).build() {
738
+ static {
739
+ __name(this, "ListKeysCommand");
740
+ }
717
741
  };
718
- __name(_ListKeysCommand, "ListKeysCommand");
719
- var ListKeysCommand = _ListKeysCommand;
720
742
 
721
743
  // src/commands/PutKeyCommand.ts
722
744
 
723
745
 
724
746
 
725
- var _PutKeyCommand = class _PutKeyCommand extends import_smithy_client.Command.classBuilder().ep({
747
+ var PutKeyCommand = class extends import_smithy_client.Command.classBuilder().ep({
726
748
  ...commonParams,
727
749
  KvsARN: { type: "contextParams", name: "KvsARN" }
728
750
  }).m(function(Command, cs, config, o) {
@@ -731,15 +753,16 @@ var _PutKeyCommand = class _PutKeyCommand extends import_smithy_client.Command.c
731
753
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
732
754
  ];
733
755
  }).s("CloudFrontKeyValueStore", "PutKey", {}).n("CloudFrontKeyValueStoreClient", "PutKeyCommand").f(PutKeyRequestFilterSensitiveLog, void 0).ser(se_PutKeyCommand).de(de_PutKeyCommand).build() {
756
+ static {
757
+ __name(this, "PutKeyCommand");
758
+ }
734
759
  };
735
- __name(_PutKeyCommand, "PutKeyCommand");
736
- var PutKeyCommand = _PutKeyCommand;
737
760
 
738
761
  // src/commands/UpdateKeysCommand.ts
739
762
 
740
763
 
741
764
 
742
- var _UpdateKeysCommand = class _UpdateKeysCommand extends import_smithy_client.Command.classBuilder().ep({
765
+ var UpdateKeysCommand = class extends import_smithy_client.Command.classBuilder().ep({
743
766
  ...commonParams,
744
767
  KvsARN: { type: "contextParams", name: "KvsARN" }
745
768
  }).m(function(Command, cs, config, o) {
@@ -748,9 +771,10 @@ var _UpdateKeysCommand = class _UpdateKeysCommand extends import_smithy_client.C
748
771
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
749
772
  ];
750
773
  }).s("CloudFrontKeyValueStore", "UpdateKeys", {}).n("CloudFrontKeyValueStoreClient", "UpdateKeysCommand").f(UpdateKeysRequestFilterSensitiveLog, void 0).ser(se_UpdateKeysCommand).de(de_UpdateKeysCommand).build() {
774
+ static {
775
+ __name(this, "UpdateKeysCommand");
776
+ }
751
777
  };
752
- __name(_UpdateKeysCommand, "UpdateKeysCommand");
753
- var UpdateKeysCommand = _UpdateKeysCommand;
754
778
 
755
779
  // src/CloudFrontKeyValueStore.ts
756
780
  var commands = {
@@ -761,10 +785,11 @@ var commands = {
761
785
  PutKeyCommand,
762
786
  UpdateKeysCommand
763
787
  };
764
- var _CloudFrontKeyValueStore = class _CloudFrontKeyValueStore extends CloudFrontKeyValueStoreClient {
788
+ var CloudFrontKeyValueStore = class extends CloudFrontKeyValueStoreClient {
789
+ static {
790
+ __name(this, "CloudFrontKeyValueStore");
791
+ }
765
792
  };
766
- __name(_CloudFrontKeyValueStore, "CloudFrontKeyValueStore");
767
- var CloudFrontKeyValueStore = _CloudFrontKeyValueStore;
768
793
  (0, import_smithy_client.createAggregatedClient)(commands, CloudFrontKeyValueStore);
769
794
 
770
795
  // src/pagination/ListKeysPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class CloudFrontKeyValueStoreClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,79 +1,85 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { CloudFrontKeyValueStoreServiceException as __BaseException } from "./CloudFrontKeyValueStoreServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
15
16
  }
16
17
  export class ConflictException extends __BaseException {
18
+ name = "ConflictException";
19
+ $fault = "client";
20
+ Message;
17
21
  constructor(opts) {
18
22
  super({
19
23
  name: "ConflictException",
20
24
  $fault: "client",
21
25
  ...opts,
22
26
  });
23
- this.name = "ConflictException";
24
- this.$fault = "client";
25
27
  Object.setPrototypeOf(this, ConflictException.prototype);
26
28
  this.Message = opts.Message;
27
29
  }
28
30
  }
29
31
  export class InternalServerException extends __BaseException {
32
+ name = "InternalServerException";
33
+ $fault = "server";
34
+ Message;
30
35
  constructor(opts) {
31
36
  super({
32
37
  name: "InternalServerException",
33
38
  $fault: "server",
34
39
  ...opts,
35
40
  });
36
- this.name = "InternalServerException";
37
- this.$fault = "server";
38
41
  Object.setPrototypeOf(this, InternalServerException.prototype);
39
42
  this.Message = opts.Message;
40
43
  }
41
44
  }
42
45
  export class ResourceNotFoundException extends __BaseException {
46
+ name = "ResourceNotFoundException";
47
+ $fault = "client";
48
+ Message;
43
49
  constructor(opts) {
44
50
  super({
45
51
  name: "ResourceNotFoundException",
46
52
  $fault: "client",
47
53
  ...opts,
48
54
  });
49
- this.name = "ResourceNotFoundException";
50
- this.$fault = "client";
51
55
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
52
56
  this.Message = opts.Message;
53
57
  }
54
58
  }
55
59
  export class ServiceQuotaExceededException extends __BaseException {
60
+ name = "ServiceQuotaExceededException";
61
+ $fault = "client";
62
+ Message;
56
63
  constructor(opts) {
57
64
  super({
58
65
  name: "ServiceQuotaExceededException",
59
66
  $fault: "client",
60
67
  ...opts,
61
68
  });
62
- this.name = "ServiceQuotaExceededException";
63
- this.$fault = "client";
64
69
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
65
70
  this.Message = opts.Message;
66
71
  }
67
72
  }
68
73
  export class ValidationException extends __BaseException {
74
+ name = "ValidationException";
75
+ $fault = "client";
76
+ Message;
69
77
  constructor(opts) {
70
78
  super({
71
79
  name: "ValidationException",
72
80
  $fault: "client",
73
81
  ...opts,
74
82
  });
75
- this.name = "ValidationException";
76
- this.$fault = "client";
77
83
  Object.setPrototypeOf(this, ValidationException.prototype);
78
84
  this.Message = opts.Message;
79
85
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CloudFrontKeyValueStoreClientCon
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- input: any
13
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ _: unknown
15
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
16
  defaultUserAgentProvider: (
15
17
  config?:
16
18
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
8
8
  import("@smithy/smithy-client").ResolvedDefaultsMode
9
9
  >;
10
10
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
- credentialDefaultProvider: (
12
- init?:
13
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
- | undefined
15
- ) => import("@smithy/types").MemoizedProvider<
16
- import("@smithy/types").AwsCredentialIdentity
17
- >;
11
+ credentialDefaultProvider:
12
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
+ | ((
14
+ init?:
15
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
+ | undefined
17
+ ) => import("@smithy/types").MemoizedProvider<
18
+ import("@smithy/types").AwsCredentialIdentity
19
+ >);
18
20
  defaultUserAgentProvider: (
19
21
  config?:
20
22
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
30
30
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
31
31
  | undefined
32
32
  ) => Promise<import("@smithy/types").UserAgent>;
33
- credentialDefaultProvider: (
34
- input: any
35
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
33
+ credentialDefaultProvider:
34
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
35
+ | ((
36
+ _: unknown
37
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
36
38
  maxAttempts: number | import("@smithy/types").Provider<number>;
37
39
  retryMode: string | import("@smithy/types").Provider<string>;
38
40
  logger: import("@smithy/types").Logger;
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
52
54
  | import("@smithy/types").RetryStrategyV2
53
55
  | undefined;
54
56
  endpoint?:
55
- | string
56
- | import("@smithy/types").Endpoint
57
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
58
- | import("@smithy/types").EndpointV2
59
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
57
+ | ((
58
+ | string
59
+ | import("@smithy/types").Endpoint
60
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
61
+ | import("@smithy/types").EndpointV2
62
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
63
+ ) &
64
+ (
65
+ | string
66
+ | import("@smithy/types").Provider<string>
67
+ | import("@smithy/types").Endpoint
68
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
69
+ | import("@smithy/types").EndpointV2
70
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
71
+ ))
60
72
  | undefined;
61
73
  endpointProvider: (
62
74
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront-keyvaluestore",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Keyvaluestore Client for Node.js, Browser and React Native",
4
- "version": "3.721.0",
4
+ "version": "3.723.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-keyvaluestore",
@@ -20,57 +20,57 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.721.0",
24
- "@aws-sdk/client-sts": "3.721.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.721.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.721.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/signature-v4-multi-region": "3.716.0",
33
- "@aws-sdk/types": "3.714.0",
34
- "@aws-sdk/util-endpoints": "3.714.0",
35
- "@aws-sdk/util-user-agent-browser": "3.714.0",
36
- "@aws-sdk/util-user-agent-node": "3.721.0",
37
- "@smithy/config-resolver": "^3.0.13",
38
- "@smithy/core": "^2.5.5",
39
- "@smithy/fetch-http-handler": "^4.1.2",
40
- "@smithy/hash-node": "^3.0.11",
41
- "@smithy/invalid-dependency": "^3.0.11",
42
- "@smithy/middleware-content-length": "^3.0.13",
43
- "@smithy/middleware-endpoint": "^3.2.6",
44
- "@smithy/middleware-retry": "^3.0.31",
45
- "@smithy/middleware-serde": "^3.0.11",
46
- "@smithy/middleware-stack": "^3.0.11",
47
- "@smithy/node-config-provider": "^3.1.12",
48
- "@smithy/node-http-handler": "^3.3.2",
49
- "@smithy/protocol-http": "^4.1.8",
50
- "@smithy/smithy-client": "^3.5.1",
51
- "@smithy/types": "^3.7.2",
52
- "@smithy/url-parser": "^3.0.11",
53
- "@smithy/util-base64": "^3.0.0",
54
- "@smithy/util-body-length-browser": "^3.0.0",
55
- "@smithy/util-body-length-node": "^3.0.0",
56
- "@smithy/util-defaults-mode-browser": "^3.0.31",
57
- "@smithy/util-defaults-mode-node": "^3.0.31",
58
- "@smithy/util-endpoints": "^2.1.7",
59
- "@smithy/util-middleware": "^3.0.11",
60
- "@smithy/util-retry": "^3.0.11",
61
- "@smithy/util-utf8": "^3.0.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/signature-v4-multi-region": "3.723.0",
33
+ "@aws-sdk/types": "3.723.0",
34
+ "@aws-sdk/util-endpoints": "3.723.0",
35
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
36
+ "@aws-sdk/util-user-agent-node": "3.723.0",
37
+ "@smithy/config-resolver": "^4.0.0",
38
+ "@smithy/core": "^3.0.0",
39
+ "@smithy/fetch-http-handler": "^5.0.0",
40
+ "@smithy/hash-node": "^4.0.0",
41
+ "@smithy/invalid-dependency": "^4.0.0",
42
+ "@smithy/middleware-content-length": "^4.0.0",
43
+ "@smithy/middleware-endpoint": "^4.0.0",
44
+ "@smithy/middleware-retry": "^4.0.0",
45
+ "@smithy/middleware-serde": "^4.0.0",
46
+ "@smithy/middleware-stack": "^4.0.0",
47
+ "@smithy/node-config-provider": "^4.0.0",
48
+ "@smithy/node-http-handler": "^4.0.0",
49
+ "@smithy/protocol-http": "^5.0.0",
50
+ "@smithy/smithy-client": "^4.0.0",
51
+ "@smithy/types": "^4.0.0",
52
+ "@smithy/url-parser": "^4.0.0",
53
+ "@smithy/util-base64": "^4.0.0",
54
+ "@smithy/util-body-length-browser": "^4.0.0",
55
+ "@smithy/util-body-length-node": "^4.0.0",
56
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
57
+ "@smithy/util-defaults-mode-node": "^4.0.0",
58
+ "@smithy/util-endpoints": "^3.0.0",
59
+ "@smithy/util-middleware": "^4.0.0",
60
+ "@smithy/util-retry": "^4.0.0",
61
+ "@smithy/util-utf8": "^4.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@tsconfig/node16": "16.1.3",
66
- "@types/node": "^16.18.96",
65
+ "@tsconfig/node18": "18.2.4",
66
+ "@types/node": "^18.19.69",
67
67
  "concurrently": "7.0.0",
68
68
  "downlevel-dts": "0.10.1",
69
69
  "rimraf": "3.0.2",
70
- "typescript": "~4.9.5"
70
+ "typescript": "~5.2.2"
71
71
  },
72
72
  "engines": {
73
- "node": ">=16.0.0"
73
+ "node": ">=18.0.0"
74
74
  },
75
75
  "typesVersions": {
76
76
  "<4.0": {