@aws-sdk/client-transcribe-streaming 3.325.0 → 3.326.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.
@@ -83,6 +83,93 @@ export interface StartCallAnalyticsStreamTranscriptionCommandOutput extends Star
83
83
  * };
84
84
  * const command = new StartCallAnalyticsStreamTranscriptionCommand(input);
85
85
  * const response = await client.send(command);
86
+ * // { // StartCallAnalyticsStreamTranscriptionResponse
87
+ * // RequestId: "STRING_VALUE",
88
+ * // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
89
+ * // MediaSampleRateHertz: Number("int"),
90
+ * // MediaEncoding: "pcm" || "ogg-opus" || "flac",
91
+ * // VocabularyName: "STRING_VALUE",
92
+ * // SessionId: "STRING_VALUE",
93
+ * // CallAnalyticsTranscriptResultStream: { // CallAnalyticsTranscriptResultStream Union: only one key present
94
+ * // UtteranceEvent: { // UtteranceEvent
95
+ * // UtteranceId: "STRING_VALUE",
96
+ * // IsPartial: true || false,
97
+ * // ParticipantRole: "AGENT" || "CUSTOMER",
98
+ * // BeginOffsetMillis: Number("long"),
99
+ * // EndOffsetMillis: Number("long"),
100
+ * // Transcript: "STRING_VALUE",
101
+ * // Items: [ // CallAnalyticsItemList
102
+ * // { // CallAnalyticsItem
103
+ * // BeginOffsetMillis: Number("long"),
104
+ * // EndOffsetMillis: Number("long"),
105
+ * // Type: "pronunciation" || "punctuation",
106
+ * // Content: "STRING_VALUE",
107
+ * // Confidence: Number("double"),
108
+ * // VocabularyFilterMatch: true || false,
109
+ * // Stable: true || false,
110
+ * // },
111
+ * // ],
112
+ * // Entities: [ // CallAnalyticsEntityList
113
+ * // { // CallAnalyticsEntity
114
+ * // BeginOffsetMillis: Number("long"),
115
+ * // EndOffsetMillis: Number("long"),
116
+ * // Category: "STRING_VALUE",
117
+ * // Type: "STRING_VALUE",
118
+ * // Content: "STRING_VALUE",
119
+ * // Confidence: Number("double"),
120
+ * // },
121
+ * // ],
122
+ * // Sentiment: "POSITIVE" || "NEGATIVE" || "MIXED" || "NEUTRAL",
123
+ * // IssuesDetected: [ // IssuesDetected
124
+ * // { // IssueDetected
125
+ * // CharacterOffsets: { // CharacterOffsets
126
+ * // Begin: Number("int"),
127
+ * // End: Number("int"),
128
+ * // },
129
+ * // },
130
+ * // ],
131
+ * // },
132
+ * // CategoryEvent: { // CategoryEvent
133
+ * // MatchedCategories: [ // StringList
134
+ * // "STRING_VALUE",
135
+ * // ],
136
+ * // MatchedDetails: { // MatchedCategoryDetails
137
+ * // "<keys>": { // PointsOfInterest
138
+ * // TimestampRanges: [ // TimestampRanges
139
+ * // { // TimestampRange
140
+ * // BeginOffsetMillis: Number("long"),
141
+ * // EndOffsetMillis: Number("long"),
142
+ * // },
143
+ * // ],
144
+ * // },
145
+ * // },
146
+ * // },
147
+ * // BadRequestException: { // BadRequestException
148
+ * // Message: "STRING_VALUE",
149
+ * // },
150
+ * // LimitExceededException: { // LimitExceededException
151
+ * // Message: "STRING_VALUE",
152
+ * // },
153
+ * // InternalFailureException: { // InternalFailureException
154
+ * // Message: "STRING_VALUE",
155
+ * // },
156
+ * // ConflictException: { // ConflictException
157
+ * // Message: "STRING_VALUE",
158
+ * // },
159
+ * // ServiceUnavailableException: { // ServiceUnavailableException
160
+ * // Message: "STRING_VALUE",
161
+ * // },
162
+ * // },
163
+ * // VocabularyFilterName: "STRING_VALUE",
164
+ * // VocabularyFilterMethod: "remove" || "mask" || "tag",
165
+ * // LanguageModelName: "STRING_VALUE",
166
+ * // EnablePartialResultsStabilization: true || false,
167
+ * // PartialResultsStability: "high" || "medium" || "low",
168
+ * // ContentIdentificationType: "PII",
169
+ * // ContentRedactionType: "PII",
170
+ * // PiiEntityTypes: "STRING_VALUE",
171
+ * // };
172
+ *
86
173
  * ```
87
174
  *
88
175
  * @param StartCallAnalyticsStreamTranscriptionCommandInput - {@link StartCallAnalyticsStreamTranscriptionCommandInput}
@@ -111,6 +198,8 @@ export interface StartCallAnalyticsStreamTranscriptionCommandOutput extends Star
111
198
  * @throws {@link ServiceUnavailableException} (server fault)
112
199
  * <p>The service is currently unavailable. Try your request later.</p>
113
200
  *
201
+ * @throws {@link TranscribeStreamingServiceException}
202
+ * <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
114
203
  *
115
204
  */
116
205
  export declare class StartCallAnalyticsStreamTranscriptionCommand extends $Command<StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig> {
@@ -83,6 +83,75 @@ export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedic
83
83
  * };
84
84
  * const command = new StartMedicalStreamTranscriptionCommand(input);
85
85
  * const response = await client.send(command);
86
+ * // { // StartMedicalStreamTranscriptionResponse
87
+ * // RequestId: "STRING_VALUE",
88
+ * // 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",
89
+ * // MediaSampleRateHertz: Number("int"),
90
+ * // MediaEncoding: "pcm" || "ogg-opus" || "flac",
91
+ * // VocabularyName: "STRING_VALUE",
92
+ * // Specialty: "PRIMARYCARE" || "CARDIOLOGY" || "NEUROLOGY" || "ONCOLOGY" || "RADIOLOGY" || "UROLOGY",
93
+ * // Type: "CONVERSATION" || "DICTATION",
94
+ * // ShowSpeakerLabel: true || false,
95
+ * // SessionId: "STRING_VALUE",
96
+ * // TranscriptResultStream: { // MedicalTranscriptResultStream Union: only one key present
97
+ * // TranscriptEvent: { // MedicalTranscriptEvent
98
+ * // Transcript: { // MedicalTranscript
99
+ * // Results: [ // MedicalResultList
100
+ * // { // MedicalResult
101
+ * // ResultId: "STRING_VALUE",
102
+ * // StartTime: Number("double"),
103
+ * // EndTime: Number("double"),
104
+ * // IsPartial: true || false,
105
+ * // Alternatives: [ // MedicalAlternativeList
106
+ * // { // MedicalAlternative
107
+ * // Transcript: "STRING_VALUE",
108
+ * // Items: [ // MedicalItemList
109
+ * // { // MedicalItem
110
+ * // StartTime: Number("double"),
111
+ * // EndTime: Number("double"),
112
+ * // Type: "pronunciation" || "punctuation",
113
+ * // Content: "STRING_VALUE",
114
+ * // Confidence: Number("double"),
115
+ * // Speaker: "STRING_VALUE",
116
+ * // },
117
+ * // ],
118
+ * // Entities: [ // MedicalEntityList
119
+ * // { // MedicalEntity
120
+ * // StartTime: Number("double"),
121
+ * // EndTime: Number("double"),
122
+ * // Category: "STRING_VALUE",
123
+ * // Content: "STRING_VALUE",
124
+ * // Confidence: Number("double"),
125
+ * // },
126
+ * // ],
127
+ * // },
128
+ * // ],
129
+ * // ChannelId: "STRING_VALUE",
130
+ * // },
131
+ * // ],
132
+ * // },
133
+ * // },
134
+ * // BadRequestException: { // BadRequestException
135
+ * // Message: "STRING_VALUE",
136
+ * // },
137
+ * // LimitExceededException: { // LimitExceededException
138
+ * // Message: "STRING_VALUE",
139
+ * // },
140
+ * // InternalFailureException: { // InternalFailureException
141
+ * // Message: "STRING_VALUE",
142
+ * // },
143
+ * // ConflictException: { // ConflictException
144
+ * // Message: "STRING_VALUE",
145
+ * // },
146
+ * // ServiceUnavailableException: { // ServiceUnavailableException
147
+ * // Message: "STRING_VALUE",
148
+ * // },
149
+ * // },
150
+ * // EnableChannelIdentification: true || false,
151
+ * // NumberOfChannels: Number("int"),
152
+ * // ContentIdentificationType: "PHI",
153
+ * // };
154
+ *
86
155
  * ```
87
156
  *
88
157
  * @param StartMedicalStreamTranscriptionCommandInput - {@link StartMedicalStreamTranscriptionCommandInput}
@@ -111,6 +180,8 @@ export interface StartMedicalStreamTranscriptionCommandOutput extends StartMedic
111
180
  * @throws {@link ServiceUnavailableException} (server fault)
112
181
  * <p>The service is currently unavailable. Try your request later.</p>
113
182
  *
183
+ * @throws {@link TranscribeStreamingServiceException}
184
+ * <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
114
185
  *
115
186
  */
116
187
  export declare class StartMedicalStreamTranscriptionCommand extends $Command<StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig> {
@@ -90,6 +90,95 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
90
90
  * };
91
91
  * const command = new StartStreamTranscriptionCommand(input);
92
92
  * const response = await client.send(command);
93
+ * // { // StartStreamTranscriptionResponse
94
+ * // RequestId: "STRING_VALUE",
95
+ * // 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",
96
+ * // MediaSampleRateHertz: Number("int"),
97
+ * // MediaEncoding: "pcm" || "ogg-opus" || "flac",
98
+ * // VocabularyName: "STRING_VALUE",
99
+ * // SessionId: "STRING_VALUE",
100
+ * // TranscriptResultStream: { // TranscriptResultStream Union: only one key present
101
+ * // TranscriptEvent: { // TranscriptEvent
102
+ * // Transcript: { // Transcript
103
+ * // Results: [ // ResultList
104
+ * // { // Result
105
+ * // ResultId: "STRING_VALUE",
106
+ * // StartTime: Number("double"),
107
+ * // EndTime: Number("double"),
108
+ * // IsPartial: true || false,
109
+ * // Alternatives: [ // AlternativeList
110
+ * // { // Alternative
111
+ * // Transcript: "STRING_VALUE",
112
+ * // Items: [ // ItemList
113
+ * // { // Item
114
+ * // StartTime: Number("double"),
115
+ * // EndTime: Number("double"),
116
+ * // Type: "pronunciation" || "punctuation",
117
+ * // Content: "STRING_VALUE",
118
+ * // VocabularyFilterMatch: true || false,
119
+ * // Speaker: "STRING_VALUE",
120
+ * // Confidence: Number("double"),
121
+ * // Stable: true || false,
122
+ * // },
123
+ * // ],
124
+ * // Entities: [ // EntityList
125
+ * // { // Entity
126
+ * // StartTime: Number("double"),
127
+ * // EndTime: Number("double"),
128
+ * // Category: "STRING_VALUE",
129
+ * // Type: "STRING_VALUE",
130
+ * // Content: "STRING_VALUE",
131
+ * // Confidence: Number("double"),
132
+ * // },
133
+ * // ],
134
+ * // },
135
+ * // ],
136
+ * // ChannelId: "STRING_VALUE",
137
+ * // 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",
138
+ * // LanguageIdentification: [ // LanguageIdentification
139
+ * // { // LanguageWithScore
140
+ * // 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",
141
+ * // Score: Number("double"),
142
+ * // },
143
+ * // ],
144
+ * // },
145
+ * // ],
146
+ * // },
147
+ * // },
148
+ * // BadRequestException: { // BadRequestException
149
+ * // Message: "STRING_VALUE",
150
+ * // },
151
+ * // LimitExceededException: { // LimitExceededException
152
+ * // Message: "STRING_VALUE",
153
+ * // },
154
+ * // InternalFailureException: { // InternalFailureException
155
+ * // Message: "STRING_VALUE",
156
+ * // },
157
+ * // ConflictException: { // ConflictException
158
+ * // Message: "STRING_VALUE",
159
+ * // },
160
+ * // ServiceUnavailableException: { // ServiceUnavailableException
161
+ * // Message: "STRING_VALUE",
162
+ * // },
163
+ * // },
164
+ * // VocabularyFilterName: "STRING_VALUE",
165
+ * // VocabularyFilterMethod: "remove" || "mask" || "tag",
166
+ * // ShowSpeakerLabel: true || false,
167
+ * // EnableChannelIdentification: true || false,
168
+ * // NumberOfChannels: Number("int"),
169
+ * // EnablePartialResultsStabilization: true || false,
170
+ * // PartialResultsStability: "high" || "medium" || "low",
171
+ * // ContentIdentificationType: "PII",
172
+ * // ContentRedactionType: "PII",
173
+ * // PiiEntityTypes: "STRING_VALUE",
174
+ * // LanguageModelName: "STRING_VALUE",
175
+ * // IdentifyLanguage: true || false,
176
+ * // LanguageOptions: "STRING_VALUE",
177
+ * // 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",
178
+ * // VocabularyNames: "STRING_VALUE",
179
+ * // VocabularyFilterNames: "STRING_VALUE",
180
+ * // };
181
+ *
93
182
  * ```
94
183
  *
95
184
  * @param StartStreamTranscriptionCommandInput - {@link StartStreamTranscriptionCommandInput}
@@ -118,6 +207,8 @@ export interface StartStreamTranscriptionCommandOutput extends StartStreamTransc
118
207
  * @throws {@link ServiceUnavailableException} (server fault)
119
208
  * <p>The service is currently unavailable. Try your request later.</p>
120
209
  *
210
+ * @throws {@link TranscribeStreamingServiceException}
211
+ * <p>Base exception class for all service exceptions from TranscribeStreaming service.</p>
121
212
  *
122
213
  */
123
214
  export declare class StartStreamTranscriptionCommand extends $Command<StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput, TranscribeStreamingClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.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.325.0",
25
+ "@aws-sdk/client-sts": "3.326.0",
26
26
  "@aws-sdk/config-resolver": "3.310.0",
27
- "@aws-sdk/credential-provider-node": "3.325.0",
27
+ "@aws-sdk/credential-provider-node": "3.326.0",
28
28
  "@aws-sdk/eventstream-handler-node": "3.310.0",
29
29
  "@aws-sdk/eventstream-serde-browser": "3.310.0",
30
30
  "@aws-sdk/eventstream-serde-config-resolver": "3.310.0",
@@ -34,12 +34,12 @@
34
34
  "@aws-sdk/invalid-dependency": "3.310.0",
35
35
  "@aws-sdk/middleware-content-length": "3.325.0",
36
36
  "@aws-sdk/middleware-endpoint": "3.325.0",
37
- "@aws-sdk/middleware-eventstream": "3.325.0",
37
+ "@aws-sdk/middleware-eventstream": "3.326.0",
38
38
  "@aws-sdk/middleware-host-header": "3.325.0",
39
39
  "@aws-sdk/middleware-logger": "3.325.0",
40
40
  "@aws-sdk/middleware-recursion-detection": "3.325.0",
41
41
  "@aws-sdk/middleware-retry": "3.325.0",
42
- "@aws-sdk/middleware-sdk-transcribe-streaming": "3.325.0",
42
+ "@aws-sdk/middleware-sdk-transcribe-streaming": "3.326.0",
43
43
  "@aws-sdk/middleware-serde": "3.325.0",
44
44
  "@aws-sdk/middleware-signing": "3.325.0",
45
45
  "@aws-sdk/middleware-stack": "3.325.0",