@aws-sdk/client-kinesis 3.929.0 → 3.930.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
@@ -361,32 +361,6 @@ const ShardFilterType = {
361
361
  FROM_TIMESTAMP: "FROM_TIMESTAMP",
362
362
  FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
363
363
  };
364
- exports.SubscribeToShardEventStream = void 0;
365
- (function (SubscribeToShardEventStream) {
366
- SubscribeToShardEventStream.visit = (value, visitor) => {
367
- if (value.SubscribeToShardEvent !== undefined)
368
- return visitor.SubscribeToShardEvent(value.SubscribeToShardEvent);
369
- if (value.ResourceNotFoundException !== undefined)
370
- return visitor.ResourceNotFoundException(value.ResourceNotFoundException);
371
- if (value.ResourceInUseException !== undefined)
372
- return visitor.ResourceInUseException(value.ResourceInUseException);
373
- if (value.KMSDisabledException !== undefined)
374
- return visitor.KMSDisabledException(value.KMSDisabledException);
375
- if (value.KMSInvalidStateException !== undefined)
376
- return visitor.KMSInvalidStateException(value.KMSInvalidStateException);
377
- if (value.KMSAccessDeniedException !== undefined)
378
- return visitor.KMSAccessDeniedException(value.KMSAccessDeniedException);
379
- if (value.KMSNotFoundException !== undefined)
380
- return visitor.KMSNotFoundException(value.KMSNotFoundException);
381
- if (value.KMSOptInRequired !== undefined)
382
- return visitor.KMSOptInRequired(value.KMSOptInRequired);
383
- if (value.KMSThrottlingException !== undefined)
384
- return visitor.KMSThrottlingException(value.KMSThrottlingException);
385
- if (value.InternalFailureException !== undefined)
386
- return visitor.InternalFailureException(value.InternalFailureException);
387
- return visitor._(value.$unknown[0], value.$unknown[1]);
388
- };
389
- })(exports.SubscribeToShardEventStream || (exports.SubscribeToShardEventStream = {}));
390
364
  const MinimumThroughputBillingCommitmentInputStatus = {
391
365
  DISABLED: "DISABLED",
392
366
  ENABLED: "ENABLED",
@@ -240,32 +240,6 @@ export const ShardFilterType = {
240
240
  FROM_TIMESTAMP: "FROM_TIMESTAMP",
241
241
  FROM_TRIM_HORIZON: "FROM_TRIM_HORIZON",
242
242
  };
243
- export var SubscribeToShardEventStream;
244
- (function (SubscribeToShardEventStream) {
245
- SubscribeToShardEventStream.visit = (value, visitor) => {
246
- if (value.SubscribeToShardEvent !== undefined)
247
- return visitor.SubscribeToShardEvent(value.SubscribeToShardEvent);
248
- if (value.ResourceNotFoundException !== undefined)
249
- return visitor.ResourceNotFoundException(value.ResourceNotFoundException);
250
- if (value.ResourceInUseException !== undefined)
251
- return visitor.ResourceInUseException(value.ResourceInUseException);
252
- if (value.KMSDisabledException !== undefined)
253
- return visitor.KMSDisabledException(value.KMSDisabledException);
254
- if (value.KMSInvalidStateException !== undefined)
255
- return visitor.KMSInvalidStateException(value.KMSInvalidStateException);
256
- if (value.KMSAccessDeniedException !== undefined)
257
- return visitor.KMSAccessDeniedException(value.KMSAccessDeniedException);
258
- if (value.KMSNotFoundException !== undefined)
259
- return visitor.KMSNotFoundException(value.KMSNotFoundException);
260
- if (value.KMSOptInRequired !== undefined)
261
- return visitor.KMSOptInRequired(value.KMSOptInRequired);
262
- if (value.KMSThrottlingException !== undefined)
263
- return visitor.KMSThrottlingException(value.KMSThrottlingException);
264
- if (value.InternalFailureException !== undefined)
265
- return visitor.InternalFailureException(value.InternalFailureException);
266
- return visitor._(value.$unknown[0], value.$unknown[1]);
267
- };
268
- })(SubscribeToShardEventStream || (SubscribeToShardEventStream = {}));
269
243
  export const MinimumThroughputBillingCommitmentInputStatus = {
270
244
  DISABLED: "DISABLED",
271
245
  ENABLED: "ENABLED",
@@ -2760,6 +2760,10 @@ export declare namespace SubscribeToShardEventStream {
2760
2760
  InternalFailureException?: never;
2761
2761
  $unknown: [string, any];
2762
2762
  }
2763
+ /**
2764
+ * @deprecated unused in schema-serde mode.
2765
+ *
2766
+ */
2763
2767
  interface Visitor<T> {
2764
2768
  SubscribeToShardEvent: (value: SubscribeToShardEvent) => T;
2765
2769
  ResourceNotFoundException: (value: ResourceNotFoundException) => T;
@@ -2773,7 +2777,6 @@ export declare namespace SubscribeToShardEventStream {
2773
2777
  InternalFailureException: (value: InternalFailureException) => T;
2774
2778
  _: (name: string, value: any) => T;
2775
2779
  }
2776
- const visit: <T>(value: SubscribeToShardEventStream, visitor: Visitor<T>) => T;
2777
2780
  }
2778
2781
  /**
2779
2782
  * @public
@@ -702,10 +702,6 @@ export declare namespace SubscribeToShardEventStream {
702
702
  InternalFailureException: (value: InternalFailureException) => T;
703
703
  _: (name: string, value: any) => T;
704
704
  }
705
- const visit: <T>(
706
- value: SubscribeToShardEventStream,
707
- visitor: Visitor<T>
708
- ) => T;
709
705
  }
710
706
  export interface SubscribeToShardOutput {
711
707
  EventStream: AsyncIterable<SubscribeToShardEventStream> | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-kinesis",
3
3
  "description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
4
- "version": "3.929.0",
4
+ "version": "3.930.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-kinesis",
@@ -22,46 +22,46 @@
22
22
  "dependencies": {
23
23
  "@aws-crypto/sha256-browser": "5.2.0",
24
24
  "@aws-crypto/sha256-js": "5.2.0",
25
- "@aws-sdk/core": "3.928.0",
26
- "@aws-sdk/credential-provider-node": "3.929.0",
27
- "@aws-sdk/middleware-host-header": "3.922.0",
28
- "@aws-sdk/middleware-logger": "3.922.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
30
- "@aws-sdk/middleware-user-agent": "3.928.0",
31
- "@aws-sdk/region-config-resolver": "3.925.0",
32
- "@aws-sdk/types": "3.922.0",
33
- "@aws-sdk/util-endpoints": "3.922.0",
34
- "@aws-sdk/util-user-agent-browser": "3.922.0",
35
- "@aws-sdk/util-user-agent-node": "3.928.0",
36
- "@smithy/config-resolver": "^4.4.2",
37
- "@smithy/core": "^3.17.2",
38
- "@smithy/eventstream-serde-browser": "^4.2.4",
39
- "@smithy/eventstream-serde-config-resolver": "^4.3.4",
40
- "@smithy/eventstream-serde-node": "^4.2.4",
41
- "@smithy/fetch-http-handler": "^5.3.5",
42
- "@smithy/hash-node": "^4.2.4",
43
- "@smithy/invalid-dependency": "^4.2.4",
44
- "@smithy/middleware-content-length": "^4.2.4",
45
- "@smithy/middleware-endpoint": "^4.3.6",
46
- "@smithy/middleware-retry": "^4.4.6",
47
- "@smithy/middleware-serde": "^4.2.4",
48
- "@smithy/middleware-stack": "^4.2.4",
49
- "@smithy/node-config-provider": "^4.3.4",
50
- "@smithy/node-http-handler": "^4.4.4",
51
- "@smithy/protocol-http": "^5.3.4",
52
- "@smithy/smithy-client": "^4.9.2",
53
- "@smithy/types": "^4.8.1",
54
- "@smithy/url-parser": "^4.2.4",
25
+ "@aws-sdk/core": "3.930.0",
26
+ "@aws-sdk/credential-provider-node": "3.930.0",
27
+ "@aws-sdk/middleware-host-header": "3.930.0",
28
+ "@aws-sdk/middleware-logger": "3.930.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
30
+ "@aws-sdk/middleware-user-agent": "3.930.0",
31
+ "@aws-sdk/region-config-resolver": "3.930.0",
32
+ "@aws-sdk/types": "3.930.0",
33
+ "@aws-sdk/util-endpoints": "3.930.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
35
+ "@aws-sdk/util-user-agent-node": "3.930.0",
36
+ "@smithy/config-resolver": "^4.4.3",
37
+ "@smithy/core": "^3.18.2",
38
+ "@smithy/eventstream-serde-browser": "^4.2.5",
39
+ "@smithy/eventstream-serde-config-resolver": "^4.3.5",
40
+ "@smithy/eventstream-serde-node": "^4.2.5",
41
+ "@smithy/fetch-http-handler": "^5.3.6",
42
+ "@smithy/hash-node": "^4.2.5",
43
+ "@smithy/invalid-dependency": "^4.2.5",
44
+ "@smithy/middleware-content-length": "^4.2.5",
45
+ "@smithy/middleware-endpoint": "^4.3.9",
46
+ "@smithy/middleware-retry": "^4.4.9",
47
+ "@smithy/middleware-serde": "^4.2.5",
48
+ "@smithy/middleware-stack": "^4.2.5",
49
+ "@smithy/node-config-provider": "^4.3.5",
50
+ "@smithy/node-http-handler": "^4.4.5",
51
+ "@smithy/protocol-http": "^5.3.5",
52
+ "@smithy/smithy-client": "^4.9.5",
53
+ "@smithy/types": "^4.9.0",
54
+ "@smithy/url-parser": "^4.2.5",
55
55
  "@smithy/util-base64": "^4.3.0",
56
56
  "@smithy/util-body-length-browser": "^4.2.0",
57
57
  "@smithy/util-body-length-node": "^4.2.1",
58
- "@smithy/util-defaults-mode-browser": "^4.3.5",
59
- "@smithy/util-defaults-mode-node": "^4.2.8",
60
- "@smithy/util-endpoints": "^3.2.4",
61
- "@smithy/util-middleware": "^4.2.4",
62
- "@smithy/util-retry": "^4.2.4",
58
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
59
+ "@smithy/util-defaults-mode-node": "^4.2.11",
60
+ "@smithy/util-endpoints": "^3.2.5",
61
+ "@smithy/util-middleware": "^4.2.5",
62
+ "@smithy/util-retry": "^4.2.5",
63
63
  "@smithy/util-utf8": "^4.2.0",
64
- "@smithy/util-waiter": "^4.2.4",
64
+ "@smithy/util-waiter": "^4.2.5",
65
65
  "tslib": "^2.6.2"
66
66
  },
67
67
  "devDependencies": {