@aws-sdk/client-rekognitionstreaming 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
@@ -73,7 +73,7 @@ const commonParams = {
73
73
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
74
74
  };
75
75
 
76
- var version = "3.1136.0";
76
+ var version = "3.1137.0";
77
77
  var packageInfo = {
78
78
  version: version};
79
79
 
@@ -345,10 +345,10 @@ const _xarslsi = "x-amz-rekognition-streaming-liveness-session-id";
345
345
  const _xarslvh = "x-amz-rekognition-streaming-liveness-video-height";
346
346
  const _xarslvw = "x-amz-rekognition-streaming-liveness-video-width";
347
347
  const n0 = "com.amazonaws.rekognitionstreaming";
348
- const _s_registry = TypeRegistry.for(_s);
348
+ const _s_registry = new TypeRegistry(_s);
349
349
  var RekognitionStreamingServiceException$ = [-3, _s, "RekognitionStreamingServiceException", 0, [], []];
350
350
  _s_registry.registerError(RekognitionStreamingServiceException$, RekognitionStreamingServiceException);
351
- const n0_registry = TypeRegistry.for(n0);
351
+ const n0_registry = new TypeRegistry(n0);
352
352
  var AccessDeniedException$ = [-3, n0, _ADE,
353
353
  { [_e]: _c, [_hE]: 403 },
354
354
  [_M, _C],
@@ -91,10 +91,10 @@ const n0 = "com.amazonaws.rekognitionstreaming";
91
91
  import { TypeRegistry } from "@smithy/core/schema";
92
92
  import { AccessDeniedException, InternalServerException, ServiceQuotaExceededException, ServiceUnavailableException, SessionNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
93
93
  import { RekognitionStreamingServiceException } from "../models/RekognitionStreamingServiceException";
94
- const _s_registry = TypeRegistry.for(_s);
94
+ const _s_registry = new TypeRegistry(_s);
95
95
  export var RekognitionStreamingServiceException$ = [-3, _s, "RekognitionStreamingServiceException", 0, [], []];
96
96
  _s_registry.registerError(RekognitionStreamingServiceException$, RekognitionStreamingServiceException);
97
- const n0_registry = TypeRegistry.for(n0);
97
+ const n0_registry = new TypeRegistry(n0);
98
98
  export var AccessDeniedException$ = [-3, n0, _ADE,
99
99
  { [_e]: _c, [_hE]: 403 },
100
100
  [_M, _C],
@@ -1,13 +1,19 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
2
2
  import { type StartFaceLivenessSessionCommandInput, type StartFaceLivenessSessionCommandOutput } from "./commands/StartFaceLivenessSessionCommand";
3
3
  import { RekognitionStreamingClient } from "./RekognitionStreamingClient";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface RekognitionStreamingRequestOptions extends __HttpHandlerOptions {
8
+ metricsRecorder?: __MetricsRecorder<unknown>;
9
+ }
4
10
  export interface RekognitionStreaming {
5
11
  /**
6
12
  * @see {@link StartFaceLivenessSessionCommand}
7
13
  */
8
- startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartFaceLivenessSessionCommandOutput>;
14
+ startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, options?: RekognitionStreamingRequestOptions): Promise<StartFaceLivenessSessionCommandOutput>;
9
15
  startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void): void;
10
- startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void): void;
16
+ startFaceLivenessSession(args: StartFaceLivenessSessionCommandInput, options: RekognitionStreamingRequestOptions, cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void): void;
11
17
  }
12
18
  /**
13
19
  * <p>A real-time video processing service based on Rekognition. This section documents the API
@@ -1,13 +1,19 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
4
+ } from "@smithy/types";
2
5
  import {
3
6
  StartFaceLivenessSessionCommandInput,
4
7
  StartFaceLivenessSessionCommandOutput,
5
8
  } from "./commands/StartFaceLivenessSessionCommand";
6
9
  import { RekognitionStreamingClient } from "./RekognitionStreamingClient";
10
+ export interface RekognitionStreamingRequestOptions extends __HttpHandlerOptions {
11
+ metricsRecorder?: __MetricsRecorder<unknown>;
12
+ }
7
13
  export interface RekognitionStreaming {
8
14
  startFaceLivenessSession(
9
15
  args: StartFaceLivenessSessionCommandInput,
10
- options?: __HttpHandlerOptions,
16
+ options?: RekognitionStreamingRequestOptions,
11
17
  ): Promise<StartFaceLivenessSessionCommandOutput>;
12
18
  startFaceLivenessSession(
13
19
  args: StartFaceLivenessSessionCommandInput,
@@ -15,7 +21,7 @@ export interface RekognitionStreaming {
15
21
  ): void;
16
22
  startFaceLivenessSession(
17
23
  args: StartFaceLivenessSessionCommandInput,
18
- options: __HttpHandlerOptions,
24
+ options: RekognitionStreamingRequestOptions,
19
25
  cb: (err: any, data?: StartFaceLivenessSessionCommandOutput) => void,
20
26
  ): void;
21
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rekognitionstreaming",
3
- "version": "3.1137.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Rekognitionstreaming Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rekognitionstreaming",
6
6
  "license": "Apache-2.0",
@@ -46,16 +46,16 @@
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/eventstream-handler-node": "^3.972.34",
52
- "@aws-sdk/middleware-eventstream": "^3.972.29",
53
- "@aws-sdk/middleware-websocket": "^3.972.53",
54
- "@aws-sdk/types": "^3.974.5",
55
- "@smithy/core": "^3.33.3",
56
- "@smithy/fetch-http-handler": "^5.7.2",
57
- "@smithy/node-http-handler": "^4.11.3",
58
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/eventstream-handler-node": "^3.972.35",
52
+ "@aws-sdk/middleware-eventstream": "^3.972.30",
53
+ "@aws-sdk/middleware-websocket": "^3.972.54",
54
+ "@aws-sdk/types": "^3.974.6",
55
+ "@smithy/core": "^3.35.0",
56
+ "@smithy/fetch-http-handler": "^5.8.0",
57
+ "@smithy/node-http-handler": "^4.12.1",
58
+ "@smithy/types": "^4.19.0",
59
59
  "tslib": "^2.6.2"
60
60
  },
61
61
  "devDependencies": {