@aws-sdk/client-transcribe-streaming 3.298.0 → 3.300.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.
|
@@ -47,6 +47,40 @@ export interface StartCallAnalyticsStreamTranscriptionCommandOutput extends Star
|
|
|
47
47
|
* import { TranscribeStreamingClient, StartCallAnalyticsStreamTranscriptionCommand } from "@aws-sdk/client-transcribe-streaming"; // ES Modules import
|
|
48
48
|
* // const { TranscribeStreamingClient, StartCallAnalyticsStreamTranscriptionCommand } = require("@aws-sdk/client-transcribe-streaming"); // CommonJS import
|
|
49
49
|
* const client = new TranscribeStreamingClient(config);
|
|
50
|
+
* const input = {
|
|
51
|
+
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR", // required
|
|
52
|
+
* MediaSampleRateHertz: Number("int"), // required
|
|
53
|
+
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
54
|
+
* VocabularyName: "STRING_VALUE",
|
|
55
|
+
* SessionId: "STRING_VALUE",
|
|
56
|
+
* AudioStream: { // Union: only one key present
|
|
57
|
+
* AudioEvent: {
|
|
58
|
+
* AudioChunk: "BLOB_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* ConfigurationEvent: {
|
|
61
|
+
* ChannelDefinitions: [
|
|
62
|
+
* {
|
|
63
|
+
* ChannelId: Number("int"), // required
|
|
64
|
+
* ParticipantRole: "AGENT" || "CUSTOMER", // required
|
|
65
|
+
* },
|
|
66
|
+
* ],
|
|
67
|
+
* PostCallAnalyticsSettings: {
|
|
68
|
+
* OutputLocation: "STRING_VALUE", // required
|
|
69
|
+
* DataAccessRoleArn: "STRING_VALUE", // required
|
|
70
|
+
* ContentRedactionOutput: "redacted" || "redacted_and_unredacted",
|
|
71
|
+
* OutputEncryptionKMSKeyId: "STRING_VALUE",
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* },
|
|
75
|
+
* VocabularyFilterName: "STRING_VALUE",
|
|
76
|
+
* VocabularyFilterMethod: "remove" || "mask" || "tag",
|
|
77
|
+
* LanguageModelName: "STRING_VALUE",
|
|
78
|
+
* EnablePartialResultsStabilization: true || false,
|
|
79
|
+
* PartialResultsStability: "high" || "medium" || "low",
|
|
80
|
+
* ContentIdentificationType: "PII",
|
|
81
|
+
* ContentRedactionType: "PII",
|
|
82
|
+
* PiiEntityTypes: "STRING_VALUE",
|
|
83
|
+
* };
|
|
50
84
|
* const command = new StartCallAnalyticsStreamTranscriptionCommand(input);
|
|
51
85
|
* const response = await client.send(command);
|
|
52
86
|
* ```
|
|
@@ -49,6 +49,38 @@ export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedic
|
|
|
49
49
|
* import { TranscribeStreamingClient, StartMedicalStreamTranscriptionCommand } from "@aws-sdk/client-transcribe-streaming"; // ES Modules import
|
|
50
50
|
* // const { TranscribeStreamingClient, StartMedicalStreamTranscriptionCommand } = require("@aws-sdk/client-transcribe-streaming"); // CommonJS import
|
|
51
51
|
* const client = new TranscribeStreamingClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "hi-IN" || "th-TH", // required
|
|
54
|
+
* MediaSampleRateHertz: Number("int"), // required
|
|
55
|
+
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
56
|
+
* VocabularyName: "STRING_VALUE",
|
|
57
|
+
* Specialty: "PRIMARYCARE" || "CARDIOLOGY" || "NEUROLOGY" || "ONCOLOGY" || "RADIOLOGY" || "UROLOGY", // required
|
|
58
|
+
* Type: "CONVERSATION" || "DICTATION", // required
|
|
59
|
+
* ShowSpeakerLabel: true || false,
|
|
60
|
+
* SessionId: "STRING_VALUE",
|
|
61
|
+
* AudioStream: { // Union: only one key present
|
|
62
|
+
* AudioEvent: {
|
|
63
|
+
* AudioChunk: "BLOB_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* ConfigurationEvent: {
|
|
66
|
+
* ChannelDefinitions: [
|
|
67
|
+
* {
|
|
68
|
+
* ChannelId: Number("int"), // required
|
|
69
|
+
* ParticipantRole: "AGENT" || "CUSTOMER", // required
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* PostCallAnalyticsSettings: {
|
|
73
|
+
* OutputLocation: "STRING_VALUE", // required
|
|
74
|
+
* DataAccessRoleArn: "STRING_VALUE", // required
|
|
75
|
+
* ContentRedactionOutput: "redacted" || "redacted_and_unredacted",
|
|
76
|
+
* OutputEncryptionKMSKeyId: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* EnableChannelIdentification: true || false,
|
|
81
|
+
* NumberOfChannels: Number("int"),
|
|
82
|
+
* ContentIdentificationType: "PHI",
|
|
83
|
+
* };
|
|
52
84
|
* const command = new StartMedicalStreamTranscriptionCommand(input);
|
|
53
85
|
* const response = await client.send(command);
|
|
54
86
|
* ```
|
|
@@ -46,6 +46,48 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
|
|
|
46
46
|
* import { TranscribeStreamingClient, StartStreamTranscriptionCommand } from "@aws-sdk/client-transcribe-streaming"; // ES Modules import
|
|
47
47
|
* // const { TranscribeStreamingClient, StartStreamTranscriptionCommand } = require("@aws-sdk/client-transcribe-streaming"); // CommonJS import
|
|
48
48
|
* const client = new TranscribeStreamingClient(config);
|
|
49
|
+
* const input = {
|
|
50
|
+
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "hi-IN" || "th-TH",
|
|
51
|
+
* MediaSampleRateHertz: Number("int"), // required
|
|
52
|
+
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
53
|
+
* VocabularyName: "STRING_VALUE",
|
|
54
|
+
* SessionId: "STRING_VALUE",
|
|
55
|
+
* AudioStream: { // Union: only one key present
|
|
56
|
+
* AudioEvent: {
|
|
57
|
+
* AudioChunk: "BLOB_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ConfigurationEvent: {
|
|
60
|
+
* ChannelDefinitions: [
|
|
61
|
+
* {
|
|
62
|
+
* ChannelId: Number("int"), // required
|
|
63
|
+
* ParticipantRole: "AGENT" || "CUSTOMER", // required
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* PostCallAnalyticsSettings: {
|
|
67
|
+
* OutputLocation: "STRING_VALUE", // required
|
|
68
|
+
* DataAccessRoleArn: "STRING_VALUE", // required
|
|
69
|
+
* ContentRedactionOutput: "redacted" || "redacted_and_unredacted",
|
|
70
|
+
* OutputEncryptionKMSKeyId: "STRING_VALUE",
|
|
71
|
+
* },
|
|
72
|
+
* },
|
|
73
|
+
* },
|
|
74
|
+
* VocabularyFilterName: "STRING_VALUE",
|
|
75
|
+
* VocabularyFilterMethod: "remove" || "mask" || "tag",
|
|
76
|
+
* ShowSpeakerLabel: true || false,
|
|
77
|
+
* EnableChannelIdentification: true || false,
|
|
78
|
+
* NumberOfChannels: Number("int"),
|
|
79
|
+
* EnablePartialResultsStabilization: true || false,
|
|
80
|
+
* PartialResultsStability: "high" || "medium" || "low",
|
|
81
|
+
* ContentIdentificationType: "PII",
|
|
82
|
+
* ContentRedactionType: "PII",
|
|
83
|
+
* PiiEntityTypes: "STRING_VALUE",
|
|
84
|
+
* LanguageModelName: "STRING_VALUE",
|
|
85
|
+
* IdentifyLanguage: true || false,
|
|
86
|
+
* LanguageOptions: "STRING_VALUE",
|
|
87
|
+
* PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR" || "ja-JP" || "ko-KR" || "zh-CN" || "hi-IN" || "th-TH",
|
|
88
|
+
* VocabularyNames: "STRING_VALUE",
|
|
89
|
+
* VocabularyFilterNames: "STRING_VALUE",
|
|
90
|
+
* };
|
|
49
91
|
* const command = new StartStreamTranscriptionCommand(input);
|
|
50
92
|
* const response = await client.send(command);
|
|
51
93
|
* ```
|
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.
|
|
4
|
+
"version": "3.300.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,29 +22,29 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
-
"@aws-sdk/config-resolver": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
26
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
28
28
|
"@aws-sdk/eventstream-handler-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/eventstream-serde-browser": "3.296.0",
|
|
30
30
|
"@aws-sdk/eventstream-serde-config-resolver": "3.296.0",
|
|
31
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
31
|
+
"@aws-sdk/eventstream-serde-node": "3.299.0",
|
|
32
32
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
33
33
|
"@aws-sdk/hash-node": "3.296.0",
|
|
34
34
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
35
35
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
36
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
36
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
37
37
|
"@aws-sdk/middleware-eventstream": "3.296.0",
|
|
38
38
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
40
40
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
41
|
-
"@aws-sdk/middleware-retry": "3.
|
|
42
|
-
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.
|
|
41
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
42
|
+
"@aws-sdk/middleware-sdk-transcribe-streaming": "3.299.0",
|
|
43
43
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
44
|
-
"@aws-sdk/middleware-signing": "3.
|
|
44
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
45
45
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
46
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
47
|
-
"@aws-sdk/node-config-provider": "3.
|
|
46
|
+
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
47
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
48
48
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
49
49
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
50
50
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -54,11 +54,11 @@
|
|
|
54
54
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
55
55
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
56
56
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
57
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
57
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
58
58
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
59
59
|
"@aws-sdk/util-retry": "3.296.0",
|
|
60
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
61
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
60
|
+
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
61
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
62
62
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
63
63
|
"tslib": "^2.5.0"
|
|
64
64
|
},
|