@aws-sdk/client-rekognitionstreaming 3.504.0 → 3.507.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
|
@@ -403,7 +403,7 @@ var se_StartFaceLivenessSessionCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
403
403
|
}, "se_StartFaceLivenessSessionCommand");
|
|
404
404
|
var de_StartFaceLivenessSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
405
405
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
406
|
-
return
|
|
406
|
+
return de_CommandError(output, context);
|
|
407
407
|
}
|
|
408
408
|
const contents = (0, import_smithy_client.map)({
|
|
409
409
|
$metadata: deserializeMetadata(output),
|
|
@@ -413,7 +413,7 @@ var de_StartFaceLivenessSessionCommand = /* @__PURE__ */ __name(async (output, c
|
|
|
413
413
|
contents.LivenessResponseStream = de_LivenessResponseStream(data, context);
|
|
414
414
|
return contents;
|
|
415
415
|
}, "de_StartFaceLivenessSessionCommand");
|
|
416
|
-
var
|
|
416
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
417
417
|
const parsedOutput = {
|
|
418
418
|
...output,
|
|
419
419
|
body: await parseErrorBody(output.body, context)
|
|
@@ -449,7 +449,7 @@ var de_StartFaceLivenessSessionCommandError = /* @__PURE__ */ __name(async (outp
|
|
|
449
449
|
errorCode
|
|
450
450
|
});
|
|
451
451
|
}
|
|
452
|
-
}, "
|
|
452
|
+
}, "de_CommandError");
|
|
453
453
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(RekognitionStreamingServiceException);
|
|
454
454
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
455
455
|
const contents = (0, import_smithy_client.map)({});
|
|
@@ -21,7 +21,7 @@ export const se_StartFaceLivenessSessionCommand = async (input, context) => {
|
|
|
21
21
|
};
|
|
22
22
|
export const de_StartFaceLivenessSessionCommand = async (output, context) => {
|
|
23
23
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
24
|
-
return
|
|
24
|
+
return de_CommandError(output, context);
|
|
25
25
|
}
|
|
26
26
|
const contents = map({
|
|
27
27
|
$metadata: deserializeMetadata(output),
|
|
@@ -31,7 +31,7 @@ export const de_StartFaceLivenessSessionCommand = async (output, context) => {
|
|
|
31
31
|
contents.LivenessResponseStream = de_LivenessResponseStream(data, context);
|
|
32
32
|
return contents;
|
|
33
33
|
};
|
|
34
|
-
const
|
|
34
|
+
const de_CommandError = async (output, context) => {
|
|
35
35
|
const parsedOutput = {
|
|
36
36
|
...output,
|
|
37
37
|
body: await parseErrorBody(output.body, context),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rekognitionstreaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rekognitionstreaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.507.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-rekognitionstreaming",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.507.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.507.0",
|
|
26
26
|
"@aws-sdk/eventstream-handler-node": "3.502.0",
|
|
27
27
|
"@aws-sdk/middleware-eventstream": "3.502.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.502.0",
|