@aws-sdk/client-cloudfront-keyvaluestore 3.1136.0 → 3.1138.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
@@ -215,7 +215,7 @@ const commonParams = {
215
215
  Region: { type: "builtInParams", name: "region" },
216
216
  };
217
217
 
218
- var version = "3.1135.0";
218
+ var version = "3.1137.0";
219
219
  var packageInfo = {
220
220
  version: version};
221
221
 
@@ -368,10 +368,10 @@ const _hQ = "httpQuery";
368
368
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.cloudfrontkeyvaluestore";
369
369
  const _se = "server";
370
370
  const n0 = "com.amazonaws.cloudfrontkeyvaluestore";
371
- const _s_registry = TypeRegistry.for(_s);
371
+ const _s_registry = new TypeRegistry(_s);
372
372
  var CloudFrontKeyValueStoreServiceException$ = [-3, _s, "CloudFrontKeyValueStoreServiceException", 0, [], []];
373
373
  _s_registry.registerError(CloudFrontKeyValueStoreServiceException$, CloudFrontKeyValueStoreServiceException);
374
- const n0_registry = TypeRegistry.for(n0);
374
+ const n0_registry = new TypeRegistry(n0);
375
375
  var AccessDeniedException$ = [-3, n0, _ADE,
376
376
  { [_e]: _c, [_hE]: 403 },
377
377
  [_M],
@@ -58,10 +58,10 @@ const n0 = "com.amazonaws.cloudfrontkeyvaluestore";
58
58
  import { TypeRegistry } from "@smithy/core/schema";
59
59
  import { CloudFrontKeyValueStoreServiceException } from "../models/CloudFrontKeyValueStoreServiceException";
60
60
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
61
- const _s_registry = TypeRegistry.for(_s);
61
+ const _s_registry = new TypeRegistry(_s);
62
62
  export var CloudFrontKeyValueStoreServiceException$ = [-3, _s, "CloudFrontKeyValueStoreServiceException", 0, [], []];
63
63
  _s_registry.registerError(CloudFrontKeyValueStoreServiceException$, CloudFrontKeyValueStoreServiceException);
64
- const n0_registry = TypeRegistry.for(n0);
64
+ const n0_registry = new TypeRegistry(n0);
65
65
  export var AccessDeniedException$ = [-3, n0, _ADE,
66
66
  { [_e]: _c, [_hE]: 403 },
67
67
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { CloudFrontKeyValueStoreClient } from "./CloudFrontKeyValueStoreClient";
3
3
  import { type DeleteKeyCommandInput, type DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
4
4
  import { type DescribeKeyValueStoreCommandInput, type DescribeKeyValueStoreCommandOutput } from "./commands/DescribeKeyValueStoreCommand";
@@ -6,43 +6,49 @@ import { type GetKeyCommandInput, type GetKeyCommandOutput } from "./commands/Ge
6
6
  import { type ListKeysCommandInput, type ListKeysCommandOutput } from "./commands/ListKeysCommand";
7
7
  import { type PutKeyCommandInput, type PutKeyCommandOutput } from "./commands/PutKeyCommand";
8
8
  import { type UpdateKeysCommandInput, type UpdateKeysCommandOutput } from "./commands/UpdateKeysCommand";
9
+ /**
10
+ * @public
11
+ */
12
+ export interface CloudFrontKeyValueStoreRequestOptions extends __HttpHandlerOptions {
13
+ metricsRecorder?: __MetricsRecorder<unknown>;
14
+ }
9
15
  export interface CloudFrontKeyValueStore {
10
16
  /**
11
17
  * @see {@link DeleteKeyCommand}
12
18
  */
13
- deleteKey(args: DeleteKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyCommandOutput>;
19
+ deleteKey(args: DeleteKeyCommandInput, options?: CloudFrontKeyValueStoreRequestOptions): Promise<DeleteKeyCommandOutput>;
14
20
  deleteKey(args: DeleteKeyCommandInput, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
15
- deleteKey(args: DeleteKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
21
+ deleteKey(args: DeleteKeyCommandInput, options: CloudFrontKeyValueStoreRequestOptions, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
16
22
  /**
17
23
  * @see {@link DescribeKeyValueStoreCommand}
18
24
  */
19
- describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options?: __HttpHandlerOptions): Promise<DescribeKeyValueStoreCommandOutput>;
25
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options?: CloudFrontKeyValueStoreRequestOptions): Promise<DescribeKeyValueStoreCommandOutput>;
20
26
  describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void): void;
21
- describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void): void;
27
+ describeKeyValueStore(args: DescribeKeyValueStoreCommandInput, options: CloudFrontKeyValueStoreRequestOptions, cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void): void;
22
28
  /**
23
29
  * @see {@link GetKeyCommand}
24
30
  */
25
- getKey(args: GetKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyCommandOutput>;
31
+ getKey(args: GetKeyCommandInput, options?: CloudFrontKeyValueStoreRequestOptions): Promise<GetKeyCommandOutput>;
26
32
  getKey(args: GetKeyCommandInput, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
27
- getKey(args: GetKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
33
+ getKey(args: GetKeyCommandInput, options: CloudFrontKeyValueStoreRequestOptions, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
28
34
  /**
29
35
  * @see {@link ListKeysCommand}
30
36
  */
31
- listKeys(args: ListKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListKeysCommandOutput>;
37
+ listKeys(args: ListKeysCommandInput, options?: CloudFrontKeyValueStoreRequestOptions): Promise<ListKeysCommandOutput>;
32
38
  listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
33
- listKeys(args: ListKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
39
+ listKeys(args: ListKeysCommandInput, options: CloudFrontKeyValueStoreRequestOptions, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link PutKeyCommand}
36
42
  */
37
- putKey(args: PutKeyCommandInput, options?: __HttpHandlerOptions): Promise<PutKeyCommandOutput>;
43
+ putKey(args: PutKeyCommandInput, options?: CloudFrontKeyValueStoreRequestOptions): Promise<PutKeyCommandOutput>;
38
44
  putKey(args: PutKeyCommandInput, cb: (err: any, data?: PutKeyCommandOutput) => void): void;
39
- putKey(args: PutKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutKeyCommandOutput) => void): void;
45
+ putKey(args: PutKeyCommandInput, options: CloudFrontKeyValueStoreRequestOptions, cb: (err: any, data?: PutKeyCommandOutput) => void): void;
40
46
  /**
41
47
  * @see {@link UpdateKeysCommand}
42
48
  */
43
- updateKeys(args: UpdateKeysCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKeysCommandOutput>;
49
+ updateKeys(args: UpdateKeysCommandInput, options?: CloudFrontKeyValueStoreRequestOptions): Promise<UpdateKeysCommandOutput>;
44
50
  updateKeys(args: UpdateKeysCommandInput, cb: (err: any, data?: UpdateKeysCommandOutput) => void): void;
45
- updateKeys(args: UpdateKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKeysCommandOutput) => void): void;
51
+ updateKeys(args: UpdateKeysCommandInput, options: CloudFrontKeyValueStoreRequestOptions, cb: (err: any, data?: UpdateKeysCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link ListKeysCommand}
48
54
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -13,10 +14,13 @@ import { GetKeyCommandInput, GetKeyCommandOutput } from "./commands/GetKeyComman
13
14
  import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
14
15
  import { PutKeyCommandInput, PutKeyCommandOutput } from "./commands/PutKeyCommand";
15
16
  import { UpdateKeysCommandInput, UpdateKeysCommandOutput } from "./commands/UpdateKeysCommand";
17
+ export interface CloudFrontKeyValueStoreRequestOptions extends __HttpHandlerOptions {
18
+ metricsRecorder?: __MetricsRecorder<unknown>;
19
+ }
16
20
  export interface CloudFrontKeyValueStore {
17
21
  deleteKey(
18
22
  args: DeleteKeyCommandInput,
19
- options?: __HttpHandlerOptions,
23
+ options?: CloudFrontKeyValueStoreRequestOptions,
20
24
  ): Promise<DeleteKeyCommandOutput>;
21
25
  deleteKey(
22
26
  args: DeleteKeyCommandInput,
@@ -24,12 +28,12 @@ export interface CloudFrontKeyValueStore {
24
28
  ): void;
25
29
  deleteKey(
26
30
  args: DeleteKeyCommandInput,
27
- options: __HttpHandlerOptions,
31
+ options: CloudFrontKeyValueStoreRequestOptions,
28
32
  cb: (err: any, data?: DeleteKeyCommandOutput) => void,
29
33
  ): void;
30
34
  describeKeyValueStore(
31
35
  args: DescribeKeyValueStoreCommandInput,
32
- options?: __HttpHandlerOptions,
36
+ options?: CloudFrontKeyValueStoreRequestOptions,
33
37
  ): Promise<DescribeKeyValueStoreCommandOutput>;
34
38
  describeKeyValueStore(
35
39
  args: DescribeKeyValueStoreCommandInput,
@@ -37,36 +41,42 @@ export interface CloudFrontKeyValueStore {
37
41
  ): void;
38
42
  describeKeyValueStore(
39
43
  args: DescribeKeyValueStoreCommandInput,
40
- options: __HttpHandlerOptions,
44
+ options: CloudFrontKeyValueStoreRequestOptions,
41
45
  cb: (err: any, data?: DescribeKeyValueStoreCommandOutput) => void,
42
46
  ): void;
43
- getKey(args: GetKeyCommandInput, options?: __HttpHandlerOptions): Promise<GetKeyCommandOutput>;
47
+ getKey(
48
+ args: GetKeyCommandInput,
49
+ options?: CloudFrontKeyValueStoreRequestOptions,
50
+ ): Promise<GetKeyCommandOutput>;
44
51
  getKey(args: GetKeyCommandInput, cb: (err: any, data?: GetKeyCommandOutput) => void): void;
45
52
  getKey(
46
53
  args: GetKeyCommandInput,
47
- options: __HttpHandlerOptions,
54
+ options: CloudFrontKeyValueStoreRequestOptions,
48
55
  cb: (err: any, data?: GetKeyCommandOutput) => void,
49
56
  ): void;
50
57
  listKeys(
51
58
  args: ListKeysCommandInput,
52
- options?: __HttpHandlerOptions,
59
+ options?: CloudFrontKeyValueStoreRequestOptions,
53
60
  ): Promise<ListKeysCommandOutput>;
54
61
  listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
55
62
  listKeys(
56
63
  args: ListKeysCommandInput,
57
- options: __HttpHandlerOptions,
64
+ options: CloudFrontKeyValueStoreRequestOptions,
58
65
  cb: (err: any, data?: ListKeysCommandOutput) => void,
59
66
  ): void;
60
- putKey(args: PutKeyCommandInput, options?: __HttpHandlerOptions): Promise<PutKeyCommandOutput>;
67
+ putKey(
68
+ args: PutKeyCommandInput,
69
+ options?: CloudFrontKeyValueStoreRequestOptions,
70
+ ): Promise<PutKeyCommandOutput>;
61
71
  putKey(args: PutKeyCommandInput, cb: (err: any, data?: PutKeyCommandOutput) => void): void;
62
72
  putKey(
63
73
  args: PutKeyCommandInput,
64
- options: __HttpHandlerOptions,
74
+ options: CloudFrontKeyValueStoreRequestOptions,
65
75
  cb: (err: any, data?: PutKeyCommandOutput) => void,
66
76
  ): void;
67
77
  updateKeys(
68
78
  args: UpdateKeysCommandInput,
69
- options?: __HttpHandlerOptions,
79
+ options?: CloudFrontKeyValueStoreRequestOptions,
70
80
  ): Promise<UpdateKeysCommandOutput>;
71
81
  updateKeys(
72
82
  args: UpdateKeysCommandInput,
@@ -74,7 +84,7 @@ export interface CloudFrontKeyValueStore {
74
84
  ): void;
75
85
  updateKeys(
76
86
  args: UpdateKeysCommandInput,
77
- options: __HttpHandlerOptions,
87
+ options: CloudFrontKeyValueStoreRequestOptions,
78
88
  cb: (err: any, data?: UpdateKeysCommandOutput) => void,
79
89
  ): void;
80
90
  paginateListKeys(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront-keyvaluestore",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Cloudfront Keyvaluestore Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudfront-keyvaluestore",
6
6
  "license": "Apache-2.0",
@@ -46,14 +46,14 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/signature-v4-multi-region": "^3.996.46",
52
- "@aws-sdk/types": "^3.974.5",
53
- "@smithy/core": "^3.33.3",
54
- "@smithy/fetch-http-handler": "^5.7.2",
55
- "@smithy/node-http-handler": "^4.11.3",
56
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/signature-v4-multi-region": "^3.996.47",
52
+ "@aws-sdk/types": "^3.974.6",
53
+ "@smithy/core": "^3.35.0",
54
+ "@smithy/fetch-http-handler": "^5.8.0",
55
+ "@smithy/node-http-handler": "^4.12.1",
56
+ "@smithy/types": "^4.19.0",
57
57
  "tslib": "^2.6.2"
58
58
  },
59
59
  "devDependencies": {