@aws-sdk/client-transcribe-streaming 3.658.0 → 3.658.1
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 +16 -17
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -559,17 +559,17 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
559
559
|
|
|
560
560
|
var se_StartCallAnalyticsStreamTranscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
561
561
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
562
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
562
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
563
563
|
"content-type": "application/json",
|
|
564
564
|
[_xatlc]: input[_LC],
|
|
565
|
-
[_xatsr]: [() => isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
565
|
+
[_xatsr]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_MSRH]), () => input[_MSRH].toString()],
|
|
566
566
|
[_xatme]: input[_ME],
|
|
567
567
|
[_xatvn]: input[_VN],
|
|
568
568
|
[_xatsi]: input[_SI],
|
|
569
569
|
[_xatvfn]: input[_VFN],
|
|
570
570
|
[_xatvfm]: input[_VFM],
|
|
571
571
|
[_xatlmn]: input[_LMN],
|
|
572
|
-
[_xateprs]: [() => isSerializableHeaderValue(input[_EPRS]), () => input[_EPRS].toString()],
|
|
572
|
+
[_xateprs]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_EPRS]), () => input[_EPRS].toString()],
|
|
573
573
|
[_xatprs]: input[_PRS],
|
|
574
574
|
[_xatcit]: input[_CIT],
|
|
575
575
|
[_xatcrt]: input[_CRT],
|
|
@@ -585,18 +585,18 @@ var se_StartCallAnalyticsStreamTranscriptionCommand = /* @__PURE__ */ __name(asy
|
|
|
585
585
|
}, "se_StartCallAnalyticsStreamTranscriptionCommand");
|
|
586
586
|
var se_StartMedicalStreamTranscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
587
587
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
588
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
588
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
589
589
|
"content-type": "application/json",
|
|
590
590
|
[_xatlc]: input[_LC],
|
|
591
|
-
[_xatsr]: [() => isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
591
|
+
[_xatsr]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_MSRH]), () => input[_MSRH].toString()],
|
|
592
592
|
[_xatme]: input[_ME],
|
|
593
593
|
[_xatvn]: input[_VN],
|
|
594
594
|
[_xats]: input[_S],
|
|
595
595
|
[_xatt]: input[_T],
|
|
596
|
-
[_xatssl]: [() => isSerializableHeaderValue(input[_SSL]), () => input[_SSL].toString()],
|
|
596
|
+
[_xatssl]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_SSL]), () => input[_SSL].toString()],
|
|
597
597
|
[_xatsi]: input[_SI],
|
|
598
|
-
[_xateci]: [() => isSerializableHeaderValue(input[_ECI]), () => input[_ECI].toString()],
|
|
599
|
-
[_xatnoc]: [() => isSerializableHeaderValue(input[_NOC]), () => input[_NOC].toString()],
|
|
598
|
+
[_xateci]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_ECI]), () => input[_ECI].toString()],
|
|
599
|
+
[_xatnoc]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_NOC]), () => input[_NOC].toString()],
|
|
600
600
|
[_xatcit]: input[_CIT]
|
|
601
601
|
});
|
|
602
602
|
b.bp("/medical-stream-transcription");
|
|
@@ -609,28 +609,28 @@ var se_StartMedicalStreamTranscriptionCommand = /* @__PURE__ */ __name(async (in
|
|
|
609
609
|
}, "se_StartMedicalStreamTranscriptionCommand");
|
|
610
610
|
var se_StartStreamTranscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
611
611
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
612
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
612
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
613
613
|
"content-type": "application/json",
|
|
614
614
|
[_xatlc]: input[_LC],
|
|
615
|
-
[_xatsr]: [() => isSerializableHeaderValue(input[_MSRH]), () => input[_MSRH].toString()],
|
|
615
|
+
[_xatsr]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_MSRH]), () => input[_MSRH].toString()],
|
|
616
616
|
[_xatme]: input[_ME],
|
|
617
617
|
[_xatvn]: input[_VN],
|
|
618
618
|
[_xatsi]: input[_SI],
|
|
619
619
|
[_xatvfn]: input[_VFN],
|
|
620
620
|
[_xatvfm]: input[_VFM],
|
|
621
|
-
[_xatssl]: [() => isSerializableHeaderValue(input[_SSL]), () => input[_SSL].toString()],
|
|
622
|
-
[_xateci]: [() => isSerializableHeaderValue(input[_ECI]), () => input[_ECI].toString()],
|
|
623
|
-
[_xatnoc]: [() => isSerializableHeaderValue(input[_NOC]), () => input[_NOC].toString()],
|
|
624
|
-
[_xateprs]: [() => isSerializableHeaderValue(input[_EPRS]), () => input[_EPRS].toString()],
|
|
621
|
+
[_xatssl]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_SSL]), () => input[_SSL].toString()],
|
|
622
|
+
[_xateci]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_ECI]), () => input[_ECI].toString()],
|
|
623
|
+
[_xatnoc]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_NOC]), () => input[_NOC].toString()],
|
|
624
|
+
[_xateprs]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_EPRS]), () => input[_EPRS].toString()],
|
|
625
625
|
[_xatprs]: input[_PRS],
|
|
626
626
|
[_xatcit]: input[_CIT],
|
|
627
627
|
[_xatcrt]: input[_CRT],
|
|
628
628
|
[_xatpet]: input[_PET],
|
|
629
629
|
[_xatlmn]: input[_LMN],
|
|
630
|
-
[_xatil]: [() => isSerializableHeaderValue(input[_IL]), () => input[_IL].toString()],
|
|
630
|
+
[_xatil]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_IL]), () => input[_IL].toString()],
|
|
631
631
|
[_xatlo]: input[_LO],
|
|
632
632
|
[_xatpl]: input[_PL],
|
|
633
|
-
[_xatiml]: [() => isSerializableHeaderValue(input[_IML]), () => input[_IML].toString()],
|
|
633
|
+
[_xatiml]: [() => (0, import_smithy_client.isSerializableHeaderValue)(input[_IML]), () => input[_IML].toString()],
|
|
634
634
|
[_xatvn_]: input[_VNo],
|
|
635
635
|
[_xatvfn_]: input[_VFNo]
|
|
636
636
|
});
|
|
@@ -1240,7 +1240,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
1240
1240
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1241
1241
|
cfId: output.headers["x-amz-cf-id"]
|
|
1242
1242
|
}), "deserializeMetadata");
|
|
1243
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
1244
1243
|
var _CIT = "ContentIdentificationType";
|
|
1245
1244
|
var _CRT = "ContentRedactionType";
|
|
1246
1245
|
var _ECI = "EnableChannelIdentification";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseBoolean as __parseBoolean, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectLong as __expectLong, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, map, parseBoolean as __parseBoolean, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { AudioStream, BadRequestException, ConflictException, InternalFailureException, LimitExceededException, ServiceUnavailableException, } from "../models/models_0";
|
|
5
5
|
import { TranscribeStreamingServiceException as __BaseException } from "../models/TranscribeStreamingServiceException";
|
|
6
6
|
export const se_StartCallAnalyticsStreamTranscriptionCommand = async (input, context) => {
|
|
@@ -700,11 +700,6 @@ const deserializeMetadata = (output) => ({
|
|
|
700
700
|
cfId: output.headers["x-amz-cf-id"],
|
|
701
701
|
});
|
|
702
702
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
703
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
704
|
-
value !== null &&
|
|
705
|
-
value !== "" &&
|
|
706
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
707
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
708
703
|
const _CIT = "ContentIdentificationType";
|
|
709
704
|
const _CRT = "ContentRedactionType";
|
|
710
705
|
const _ECI = "EnableChannelIdentification";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-transcribe-streaming",
|
|
3
3
|
"description": "AWS SDK for JavaScript Transcribe Streaming Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.658.
|
|
4
|
+
"version": "3.658.1",
|
|
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-transcribe-streaming",
|
|
@@ -21,47 +21,47 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/client-sso-oidc": "3.658.
|
|
25
|
-
"@aws-sdk/client-sts": "3.658.
|
|
26
|
-
"@aws-sdk/core": "3.658.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.658.
|
|
24
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
25
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
26
|
+
"@aws-sdk/core": "3.658.1",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
28
28
|
"@aws-sdk/eventstream-handler-node": "3.654.0",
|
|
29
29
|
"@aws-sdk/middleware-eventstream": "3.654.0",
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
33
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.
|
|
33
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.658.1",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.654.0",
|
|
35
|
-
"@aws-sdk/middleware-websocket": "3.
|
|
35
|
+
"@aws-sdk/middleware-websocket": "3.658.1",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "3.654.0",
|
|
37
37
|
"@aws-sdk/types": "3.654.0",
|
|
38
38
|
"@aws-sdk/util-endpoints": "3.654.0",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
40
40
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
41
41
|
"@smithy/config-resolver": "^3.0.8",
|
|
42
|
-
"@smithy/core": "^2.4.
|
|
42
|
+
"@smithy/core": "^2.4.6",
|
|
43
43
|
"@smithy/eventstream-serde-browser": "^3.0.9",
|
|
44
44
|
"@smithy/eventstream-serde-config-resolver": "^3.0.6",
|
|
45
45
|
"@smithy/eventstream-serde-node": "^3.0.8",
|
|
46
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
46
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
47
47
|
"@smithy/hash-node": "^3.0.6",
|
|
48
48
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
49
49
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
50
50
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
51
|
-
"@smithy/middleware-retry": "^3.0.
|
|
51
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
52
52
|
"@smithy/middleware-serde": "^3.0.6",
|
|
53
53
|
"@smithy/middleware-stack": "^3.0.6",
|
|
54
54
|
"@smithy/node-config-provider": "^3.1.7",
|
|
55
|
-
"@smithy/node-http-handler": "^3.2.
|
|
55
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
56
56
|
"@smithy/protocol-http": "^4.1.3",
|
|
57
|
-
"@smithy/smithy-client": "^3.3.
|
|
57
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
58
58
|
"@smithy/types": "^3.4.2",
|
|
59
59
|
"@smithy/url-parser": "^3.0.6",
|
|
60
60
|
"@smithy/util-base64": "^3.0.0",
|
|
61
61
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
62
62
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
63
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
64
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
63
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
64
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
65
65
|
"@smithy/util-endpoints": "^2.1.2",
|
|
66
66
|
"@smithy/util-middleware": "^3.0.6",
|
|
67
67
|
"@smithy/util-retry": "^3.0.6",
|