@aws-sdk/client-transcribe-streaming 3.300.0 → 3.301.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,24 +47,24 @@ 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 = {
|
|
50
|
+
* const input = { // StartCallAnalyticsStreamTranscriptionRequest
|
|
51
51
|
* LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR", // required
|
|
52
52
|
* MediaSampleRateHertz: Number("int"), // required
|
|
53
53
|
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
54
54
|
* VocabularyName: "STRING_VALUE",
|
|
55
55
|
* SessionId: "STRING_VALUE",
|
|
56
|
-
* AudioStream: { // Union: only one key present
|
|
57
|
-
* AudioEvent: {
|
|
56
|
+
* AudioStream: { // AudioStream Union: only one key present
|
|
57
|
+
* AudioEvent: { // AudioEvent
|
|
58
58
|
* AudioChunk: "BLOB_VALUE",
|
|
59
59
|
* },
|
|
60
|
-
* ConfigurationEvent: {
|
|
61
|
-
* ChannelDefinitions: [
|
|
62
|
-
* {
|
|
60
|
+
* ConfigurationEvent: { // ConfigurationEvent
|
|
61
|
+
* ChannelDefinitions: [ // ChannelDefinitions
|
|
62
|
+
* { // ChannelDefinition
|
|
63
63
|
* ChannelId: Number("int"), // required
|
|
64
64
|
* ParticipantRole: "AGENT" || "CUSTOMER", // required
|
|
65
65
|
* },
|
|
66
66
|
* ],
|
|
67
|
-
* PostCallAnalyticsSettings: {
|
|
67
|
+
* PostCallAnalyticsSettings: { // PostCallAnalyticsSettings
|
|
68
68
|
* OutputLocation: "STRING_VALUE", // required
|
|
69
69
|
* DataAccessRoleArn: "STRING_VALUE", // required
|
|
70
70
|
* ContentRedactionOutput: "redacted" || "redacted_and_unredacted",
|
|
@@ -49,7 +49,7 @@ 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 = {
|
|
52
|
+
* const input = { // StartMedicalStreamTranscriptionRequest
|
|
53
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
54
|
* MediaSampleRateHertz: Number("int"), // required
|
|
55
55
|
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
@@ -58,18 +58,18 @@ export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedic
|
|
|
58
58
|
* Type: "CONVERSATION" || "DICTATION", // required
|
|
59
59
|
* ShowSpeakerLabel: true || false,
|
|
60
60
|
* SessionId: "STRING_VALUE",
|
|
61
|
-
* AudioStream: { // Union: only one key present
|
|
62
|
-
* AudioEvent: {
|
|
61
|
+
* AudioStream: { // AudioStream Union: only one key present
|
|
62
|
+
* AudioEvent: { // AudioEvent
|
|
63
63
|
* AudioChunk: "BLOB_VALUE",
|
|
64
64
|
* },
|
|
65
|
-
* ConfigurationEvent: {
|
|
66
|
-
* ChannelDefinitions: [
|
|
67
|
-
* {
|
|
65
|
+
* ConfigurationEvent: { // ConfigurationEvent
|
|
66
|
+
* ChannelDefinitions: [ // ChannelDefinitions
|
|
67
|
+
* { // ChannelDefinition
|
|
68
68
|
* ChannelId: Number("int"), // required
|
|
69
69
|
* ParticipantRole: "AGENT" || "CUSTOMER", // required
|
|
70
70
|
* },
|
|
71
71
|
* ],
|
|
72
|
-
* PostCallAnalyticsSettings: {
|
|
72
|
+
* PostCallAnalyticsSettings: { // PostCallAnalyticsSettings
|
|
73
73
|
* OutputLocation: "STRING_VALUE", // required
|
|
74
74
|
* DataAccessRoleArn: "STRING_VALUE", // required
|
|
75
75
|
* ContentRedactionOutput: "redacted" || "redacted_and_unredacted",
|
|
@@ -46,24 +46,24 @@ 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 = {
|
|
49
|
+
* const input = { // StartStreamTranscriptionRequest
|
|
50
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
51
|
* MediaSampleRateHertz: Number("int"), // required
|
|
52
52
|
* MediaEncoding: "pcm" || "ogg-opus" || "flac", // required
|
|
53
53
|
* VocabularyName: "STRING_VALUE",
|
|
54
54
|
* SessionId: "STRING_VALUE",
|
|
55
|
-
* AudioStream: { // Union: only one key present
|
|
56
|
-
* AudioEvent: {
|
|
55
|
+
* AudioStream: { // AudioStream Union: only one key present
|
|
56
|
+
* AudioEvent: { // AudioEvent
|
|
57
57
|
* AudioChunk: "BLOB_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* ConfigurationEvent: {
|
|
60
|
-
* ChannelDefinitions: [
|
|
61
|
-
* {
|
|
59
|
+
* ConfigurationEvent: { // ConfigurationEvent
|
|
60
|
+
* ChannelDefinitions: [ // ChannelDefinitions
|
|
61
|
+
* { // ChannelDefinition
|
|
62
62
|
* ChannelId: Number("int"), // required
|
|
63
63
|
* ParticipantRole: "AGENT" || "CUSTOMER", // required
|
|
64
64
|
* },
|
|
65
65
|
* ],
|
|
66
|
-
* PostCallAnalyticsSettings: {
|
|
66
|
+
* PostCallAnalyticsSettings: { // PostCallAnalyticsSettings
|
|
67
67
|
* OutputLocation: "STRING_VALUE", // required
|
|
68
68
|
* DataAccessRoleArn: "STRING_VALUE", // required
|
|
69
69
|
* ContentRedactionOutput: "redacted" || "redacted_and_unredacted",
|
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.301.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,9 +22,9 @@
|
|
|
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.
|
|
25
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.300.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.301.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",
|