@aws-sdk/client-keyspacesstreams 3.1137.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
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1136.0";
70
+ var version = "3.1137.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -293,10 +293,10 @@ const _vT = "varcharT";
293
293
  const _vTa = "varintT";
294
294
  const _wT = "writeTime";
295
295
  const n0 = "com.amazonaws.keyspacesstreams";
296
- const _s_registry = TypeRegistry.for(_s);
296
+ const _s_registry = new TypeRegistry(_s);
297
297
  var KeyspacesStreamsServiceException$ = [-3, _s, "KeyspacesStreamsServiceException", 0, [], []];
298
298
  _s_registry.registerError(KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException);
299
- const n0_registry = TypeRegistry.for(n0);
299
+ const n0_registry = new TypeRegistry(n0);
300
300
  var AccessDeniedException$ = [-3, n0, _ADE,
301
301
  { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
302
302
  [_m],
@@ -112,10 +112,10 @@ const n0 = "com.amazonaws.keyspacesstreams";
112
112
  import { TypeRegistry } from "@smithy/core/schema";
113
113
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
114
114
  import { KeyspacesStreamsServiceException } from "../models/KeyspacesStreamsServiceException";
115
- const _s_registry = TypeRegistry.for(_s);
115
+ const _s_registry = new TypeRegistry(_s);
116
116
  export var KeyspacesStreamsServiceException$ = [-3, _s, "KeyspacesStreamsServiceException", 0, [], []];
117
117
  _s_registry.registerError(KeyspacesStreamsServiceException$, KeyspacesStreamsServiceException);
118
- const n0_registry = TypeRegistry.for(n0);
118
+ const n0_registry = new TypeRegistry(n0);
119
119
  export var AccessDeniedException$ = [-3, n0, _ADE,
120
120
  { [_aQE]: [`AccessDeniedException`, 403], [_e]: _c, [_hE]: 403 },
121
121
  [_m],
@@ -1,35 +1,41 @@
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 { type GetRecordsCommandInput, type GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
3
3
  import { type GetShardIteratorCommandInput, type GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
4
4
  import { type GetStreamCommandInput, type GetStreamCommandOutput } from "./commands/GetStreamCommand";
5
5
  import { type ListStreamsCommandInput, type ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
6
6
  import { KeyspacesStreamsClient } from "./KeyspacesStreamsClient";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface KeyspacesStreamsRequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface KeyspacesStreams {
8
14
  /**
9
15
  * @see {@link GetRecordsCommand}
10
16
  */
11
- getRecords(args: GetRecordsCommandInput, options?: __HttpHandlerOptions): Promise<GetRecordsCommandOutput>;
17
+ getRecords(args: GetRecordsCommandInput, options?: KeyspacesStreamsRequestOptions): Promise<GetRecordsCommandOutput>;
12
18
  getRecords(args: GetRecordsCommandInput, cb: (err: any, data?: GetRecordsCommandOutput) => void): void;
13
- getRecords(args: GetRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRecordsCommandOutput) => void): void;
19
+ getRecords(args: GetRecordsCommandInput, options: KeyspacesStreamsRequestOptions, cb: (err: any, data?: GetRecordsCommandOutput) => void): void;
14
20
  /**
15
21
  * @see {@link GetShardIteratorCommand}
16
22
  */
17
- getShardIterator(args: GetShardIteratorCommandInput, options?: __HttpHandlerOptions): Promise<GetShardIteratorCommandOutput>;
23
+ getShardIterator(args: GetShardIteratorCommandInput, options?: KeyspacesStreamsRequestOptions): Promise<GetShardIteratorCommandOutput>;
18
24
  getShardIterator(args: GetShardIteratorCommandInput, cb: (err: any, data?: GetShardIteratorCommandOutput) => void): void;
19
- getShardIterator(args: GetShardIteratorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetShardIteratorCommandOutput) => void): void;
25
+ getShardIterator(args: GetShardIteratorCommandInput, options: KeyspacesStreamsRequestOptions, cb: (err: any, data?: GetShardIteratorCommandOutput) => void): void;
20
26
  /**
21
27
  * @see {@link GetStreamCommand}
22
28
  */
23
- getStream(args: GetStreamCommandInput, options?: __HttpHandlerOptions): Promise<GetStreamCommandOutput>;
29
+ getStream(args: GetStreamCommandInput, options?: KeyspacesStreamsRequestOptions): Promise<GetStreamCommandOutput>;
24
30
  getStream(args: GetStreamCommandInput, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
25
- getStream(args: GetStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
31
+ getStream(args: GetStreamCommandInput, options: KeyspacesStreamsRequestOptions, cb: (err: any, data?: GetStreamCommandOutput) => void): void;
26
32
  /**
27
33
  * @see {@link ListStreamsCommand}
28
34
  */
29
35
  listStreams(): Promise<ListStreamsCommandOutput>;
30
- listStreams(args: ListStreamsCommandInput, options?: __HttpHandlerOptions): Promise<ListStreamsCommandOutput>;
36
+ listStreams(args: ListStreamsCommandInput, options?: KeyspacesStreamsRequestOptions): Promise<ListStreamsCommandOutput>;
31
37
  listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
32
- listStreams(args: ListStreamsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
38
+ listStreams(args: ListStreamsCommandInput, options: KeyspacesStreamsRequestOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
33
39
  /**
34
40
  * @see {@link GetStreamCommand}
35
41
  * @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";
@@ -11,10 +12,13 @@ import {
11
12
  import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
12
13
  import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
13
14
  import { KeyspacesStreamsClient } from "./KeyspacesStreamsClient";
15
+ export interface KeyspacesStreamsRequestOptions extends __HttpHandlerOptions {
16
+ metricsRecorder?: __MetricsRecorder<unknown>;
17
+ }
14
18
  export interface KeyspacesStreams {
15
19
  getRecords(
16
20
  args: GetRecordsCommandInput,
17
- options?: __HttpHandlerOptions,
21
+ options?: KeyspacesStreamsRequestOptions,
18
22
  ): Promise<GetRecordsCommandOutput>;
19
23
  getRecords(
20
24
  args: GetRecordsCommandInput,
@@ -22,12 +26,12 @@ export interface KeyspacesStreams {
22
26
  ): void;
23
27
  getRecords(
24
28
  args: GetRecordsCommandInput,
25
- options: __HttpHandlerOptions,
29
+ options: KeyspacesStreamsRequestOptions,
26
30
  cb: (err: any, data?: GetRecordsCommandOutput) => void,
27
31
  ): void;
28
32
  getShardIterator(
29
33
  args: GetShardIteratorCommandInput,
30
- options?: __HttpHandlerOptions,
34
+ options?: KeyspacesStreamsRequestOptions,
31
35
  ): Promise<GetShardIteratorCommandOutput>;
32
36
  getShardIterator(
33
37
  args: GetShardIteratorCommandInput,
@@ -35,12 +39,12 @@ export interface KeyspacesStreams {
35
39
  ): void;
36
40
  getShardIterator(
37
41
  args: GetShardIteratorCommandInput,
38
- options: __HttpHandlerOptions,
42
+ options: KeyspacesStreamsRequestOptions,
39
43
  cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
40
44
  ): void;
41
45
  getStream(
42
46
  args: GetStreamCommandInput,
43
- options?: __HttpHandlerOptions,
47
+ options?: KeyspacesStreamsRequestOptions,
44
48
  ): Promise<GetStreamCommandOutput>;
45
49
  getStream(
46
50
  args: GetStreamCommandInput,
@@ -48,13 +52,13 @@ export interface KeyspacesStreams {
48
52
  ): void;
49
53
  getStream(
50
54
  args: GetStreamCommandInput,
51
- options: __HttpHandlerOptions,
55
+ options: KeyspacesStreamsRequestOptions,
52
56
  cb: (err: any, data?: GetStreamCommandOutput) => void,
53
57
  ): void;
54
58
  listStreams(): Promise<ListStreamsCommandOutput>;
55
59
  listStreams(
56
60
  args: ListStreamsCommandInput,
57
- options?: __HttpHandlerOptions,
61
+ options?: KeyspacesStreamsRequestOptions,
58
62
  ): Promise<ListStreamsCommandOutput>;
59
63
  listStreams(
60
64
  args: ListStreamsCommandInput,
@@ -62,7 +66,7 @@ export interface KeyspacesStreams {
62
66
  ): void;
63
67
  listStreams(
64
68
  args: ListStreamsCommandInput,
65
- options: __HttpHandlerOptions,
69
+ options: KeyspacesStreamsRequestOptions,
66
70
  cb: (err: any, data?: ListStreamsCommandOutput) => void,
67
71
  ): void;
68
72
  paginateGetStream(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-keyspacesstreams",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Keyspacesstreams Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-keyspacesstreams",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
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/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {