@aws-sdk/client-iotsitewise 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
@@ -507,30 +507,6 @@ let ValidationException$1 = class ValidationException extends IoTSiteWiseService
507
507
  }
508
508
  };
509
509
 
510
- exports.ResponseStream = void 0;
511
- (function (ResponseStream) {
512
- ResponseStream.visit = (value, visitor) => {
513
- if (value.trace !== undefined)
514
- return visitor.trace(value.trace);
515
- if (value.output !== undefined)
516
- return visitor.output(value.output);
517
- if (value.accessDeniedException !== undefined)
518
- return visitor.accessDeniedException(value.accessDeniedException);
519
- if (value.conflictingOperationException !== undefined)
520
- return visitor.conflictingOperationException(value.conflictingOperationException);
521
- if (value.internalFailureException !== undefined)
522
- return visitor.internalFailureException(value.internalFailureException);
523
- if (value.invalidRequestException !== undefined)
524
- return visitor.invalidRequestException(value.invalidRequestException);
525
- if (value.limitExceededException !== undefined)
526
- return visitor.limitExceededException(value.limitExceededException);
527
- if (value.resourceNotFoundException !== undefined)
528
- return visitor.resourceNotFoundException(value.resourceNotFoundException);
529
- if (value.throttlingException !== undefined)
530
- return visitor.throttlingException(value.throttlingException);
531
- return visitor._(value.$unknown[0], value.$unknown[1]);
532
- };
533
- })(exports.ResponseStream || (exports.ResponseStream = {}));
534
510
  const IdentityType = {
535
511
  GROUP: "GROUP",
536
512
  IAM: "IAM",
@@ -1,28 +1,4 @@
1
1
  import { IoTSiteWiseServiceException as __BaseException } from "./IoTSiteWiseServiceException";
2
- export var ResponseStream;
3
- (function (ResponseStream) {
4
- ResponseStream.visit = (value, visitor) => {
5
- if (value.trace !== undefined)
6
- return visitor.trace(value.trace);
7
- if (value.output !== undefined)
8
- return visitor.output(value.output);
9
- if (value.accessDeniedException !== undefined)
10
- return visitor.accessDeniedException(value.accessDeniedException);
11
- if (value.conflictingOperationException !== undefined)
12
- return visitor.conflictingOperationException(value.conflictingOperationException);
13
- if (value.internalFailureException !== undefined)
14
- return visitor.internalFailureException(value.internalFailureException);
15
- if (value.invalidRequestException !== undefined)
16
- return visitor.invalidRequestException(value.invalidRequestException);
17
- if (value.limitExceededException !== undefined)
18
- return visitor.limitExceededException(value.limitExceededException);
19
- if (value.resourceNotFoundException !== undefined)
20
- return visitor.resourceNotFoundException(value.resourceNotFoundException);
21
- if (value.throttlingException !== undefined)
22
- return visitor.throttlingException(value.throttlingException);
23
- return visitor._(value.$unknown[0], value.$unknown[1]);
24
- };
25
- })(ResponseStream || (ResponseStream = {}));
26
2
  export const IdentityType = {
27
3
  GROUP: "GROUP",
28
4
  IAM: "IAM",
@@ -266,6 +266,10 @@ export declare namespace ResponseStream {
266
266
  throttlingException?: never;
267
267
  $unknown: [string, any];
268
268
  }
269
+ /**
270
+ * @deprecated unused in schema-serde mode.
271
+ *
272
+ */
269
273
  interface Visitor<T> {
270
274
  trace: (value: Trace) => T;
271
275
  output: (value: InvocationOutput) => T;
@@ -278,7 +282,6 @@ export declare namespace ResponseStream {
278
282
  throttlingException: (value: ThrottlingException) => T;
279
283
  _: (name: string, value: any) => T;
280
284
  }
281
- const visit: <T>(value: ResponseStream, visitor: Visitor<T>) => T;
282
285
  }
283
286
  /**
284
287
  * @public
@@ -235,7 +235,6 @@ export declare namespace ResponseStream {
235
235
  throttlingException: (value: ThrottlingException) => T;
236
236
  _: (name: string, value: any) => T;
237
237
  }
238
- const visit: <T>(value: ResponseStream, visitor: Visitor<T>) => T;
239
238
  }
240
239
  export interface InvokeAssistantResponse {
241
240
  body: AsyncIterable<ResponseStream> | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iotsitewise",
3
3
  "description": "AWS SDK for JavaScript Iotsitewise 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-iotsitewise",
@@ -20,46 +20,46 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/eventstream-serde-browser": "^4.2.4",
37
- "@smithy/eventstream-serde-config-resolver": "^4.3.4",
38
- "@smithy/eventstream-serde-node": "^4.2.4",
39
- "@smithy/fetch-http-handler": "^5.3.5",
40
- "@smithy/hash-node": "^4.2.4",
41
- "@smithy/invalid-dependency": "^4.2.4",
42
- "@smithy/middleware-content-length": "^4.2.4",
43
- "@smithy/middleware-endpoint": "^4.3.6",
44
- "@smithy/middleware-retry": "^4.4.6",
45
- "@smithy/middleware-serde": "^4.2.4",
46
- "@smithy/middleware-stack": "^4.2.4",
47
- "@smithy/node-config-provider": "^4.3.4",
48
- "@smithy/node-http-handler": "^4.4.4",
49
- "@smithy/protocol-http": "^5.3.4",
50
- "@smithy/smithy-client": "^4.9.2",
51
- "@smithy/types": "^4.8.1",
52
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.930.0",
24
+ "@aws-sdk/credential-provider-node": "3.930.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.930.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.930.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/eventstream-serde-browser": "^4.2.5",
37
+ "@smithy/eventstream-serde-config-resolver": "^4.3.5",
38
+ "@smithy/eventstream-serde-node": "^4.2.5",
39
+ "@smithy/fetch-http-handler": "^5.3.6",
40
+ "@smithy/hash-node": "^4.2.5",
41
+ "@smithy/invalid-dependency": "^4.2.5",
42
+ "@smithy/middleware-content-length": "^4.2.5",
43
+ "@smithy/middleware-endpoint": "^4.3.9",
44
+ "@smithy/middleware-retry": "^4.4.9",
45
+ "@smithy/middleware-serde": "^4.2.5",
46
+ "@smithy/middleware-stack": "^4.2.5",
47
+ "@smithy/node-config-provider": "^4.3.5",
48
+ "@smithy/node-http-handler": "^4.4.5",
49
+ "@smithy/protocol-http": "^5.3.5",
50
+ "@smithy/smithy-client": "^4.9.5",
51
+ "@smithy/types": "^4.9.0",
52
+ "@smithy/url-parser": "^4.2.5",
53
53
  "@smithy/util-base64": "^4.3.0",
54
54
  "@smithy/util-body-length-browser": "^4.2.0",
55
55
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.5",
57
- "@smithy/util-defaults-mode-node": "^4.2.8",
58
- "@smithy/util-endpoints": "^3.2.4",
59
- "@smithy/util-middleware": "^4.2.4",
60
- "@smithy/util-retry": "^4.2.4",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
57
+ "@smithy/util-defaults-mode-node": "^4.2.11",
58
+ "@smithy/util-endpoints": "^3.2.5",
59
+ "@smithy/util-middleware": "^4.2.5",
60
+ "@smithy/util-retry": "^4.2.5",
61
61
  "@smithy/util-utf8": "^4.2.0",
62
- "@smithy/util-waiter": "^4.2.4",
62
+ "@smithy/util-waiter": "^4.2.5",
63
63
  "tslib": "^2.6.2"
64
64
  },
65
65
  "devDependencies": {