@aws-sdk/client-transcribe-streaming 3.216.0 → 3.218.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.
Files changed (27) hide show
  1. package/dist-cjs/TranscribeStreaming.js +15 -0
  2. package/dist-cjs/commands/StartCallAnalyticsStreamTranscriptionCommand.js +48 -0
  3. package/dist-cjs/commands/index.js +1 -0
  4. package/dist-cjs/endpoint/ruleset.js +4 -4
  5. package/dist-cjs/models/models_0.js +168 -41
  6. package/dist-cjs/protocols/Aws_restJson1.js +336 -1
  7. package/dist-es/TranscribeStreaming.js +15 -0
  8. package/dist-es/commands/StartCallAnalyticsStreamTranscriptionCommand.js +44 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/endpoint/ruleset.js +4 -4
  11. package/dist-es/models/models_0.js +151 -39
  12. package/dist-es/protocols/Aws_restJson1.js +334 -1
  13. package/dist-types/TranscribeStreaming.d.ts +65 -9
  14. package/dist-types/TranscribeStreamingClient.d.ts +12 -4
  15. package/dist-types/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +58 -0
  16. package/dist-types/commands/StartMedicalStreamTranscriptionCommand.d.ts +18 -0
  17. package/dist-types/commands/StartStreamTranscriptionCommand.d.ts +10 -7
  18. package/dist-types/commands/index.d.ts +1 -0
  19. package/dist-types/models/models_0.d.ts +776 -53
  20. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  21. package/dist-types/ts3.4/TranscribeStreaming.d.ts +23 -0
  22. package/dist-types/ts3.4/TranscribeStreamingClient.d.ts +6 -0
  23. package/dist-types/ts3.4/commands/StartCallAnalyticsStreamTranscriptionCommand.d.ts +41 -0
  24. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +302 -27
  26. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  27. package/package.json +3 -3
@@ -1,8 +1,11 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
2
2
  import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
+ import { StartCallAnalyticsStreamTranscriptionCommandInput, StartCallAnalyticsStreamTranscriptionCommandOutput } from "../commands/StartCallAnalyticsStreamTranscriptionCommand";
3
4
  import { StartMedicalStreamTranscriptionCommandInput, StartMedicalStreamTranscriptionCommandOutput } from "../commands/StartMedicalStreamTranscriptionCommand";
4
5
  import { StartStreamTranscriptionCommandInput, StartStreamTranscriptionCommandOutput } from "../commands/StartStreamTranscriptionCommand";
6
+ export declare const serializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand: (input: StartCallAnalyticsStreamTranscriptionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
5
7
  export declare const serializeAws_restJson1StartMedicalStreamTranscriptionCommand: (input: StartMedicalStreamTranscriptionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
6
8
  export declare const serializeAws_restJson1StartStreamTranscriptionCommand: (input: StartStreamTranscriptionCommandInput, context: __SerdeContext & __EventStreamSerdeContext) => Promise<__HttpRequest>;
9
+ export declare const deserializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
7
10
  export declare const deserializeAws_restJson1StartMedicalStreamTranscriptionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartMedicalStreamTranscriptionCommandOutput>;
8
11
  export declare const deserializeAws_restJson1StartStreamTranscriptionCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise<StartStreamTranscriptionCommandOutput>;
@@ -1,4 +1,8 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import {
3
+ StartCallAnalyticsStreamTranscriptionCommandInput,
4
+ StartCallAnalyticsStreamTranscriptionCommandOutput,
5
+ } from "./commands/StartCallAnalyticsStreamTranscriptionCommand";
2
6
  import {
3
7
  StartMedicalStreamTranscriptionCommandInput,
4
8
  StartMedicalStreamTranscriptionCommandOutput,
@@ -9,6 +13,25 @@ import {
9
13
  } from "./commands/StartStreamTranscriptionCommand";
10
14
  import { TranscribeStreamingClient } from "./TranscribeStreamingClient";
11
15
  export declare class TranscribeStreaming extends TranscribeStreamingClient {
16
+ startCallAnalyticsStreamTranscription(
17
+ args: StartCallAnalyticsStreamTranscriptionCommandInput,
18
+ options?: __HttpHandlerOptions
19
+ ): Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
20
+ startCallAnalyticsStreamTranscription(
21
+ args: StartCallAnalyticsStreamTranscriptionCommandInput,
22
+ cb: (
23
+ err: any,
24
+ data?: StartCallAnalyticsStreamTranscriptionCommandOutput
25
+ ) => void
26
+ ): void;
27
+ startCallAnalyticsStreamTranscription(
28
+ args: StartCallAnalyticsStreamTranscriptionCommandInput,
29
+ options: __HttpHandlerOptions,
30
+ cb: (
31
+ err: any,
32
+ data?: StartCallAnalyticsStreamTranscriptionCommandOutput
33
+ ) => void
34
+ ): void;
12
35
  startMedicalStreamTranscription(
13
36
  args: StartMedicalStreamTranscriptionCommandInput,
14
37
  options?: __HttpHandlerOptions
@@ -57,6 +57,10 @@ import {
57
57
  UrlParser as __UrlParser,
58
58
  UserAgent as __UserAgent,
59
59
  } from "@aws-sdk/types";
60
+ import {
61
+ StartCallAnalyticsStreamTranscriptionCommandInput,
62
+ StartCallAnalyticsStreamTranscriptionCommandOutput,
63
+ } from "./commands/StartCallAnalyticsStreamTranscriptionCommand";
60
64
  import {
61
65
  StartMedicalStreamTranscriptionCommandInput,
62
66
  StartMedicalStreamTranscriptionCommandOutput,
@@ -71,9 +75,11 @@ import {
71
75
  EndpointParameters,
72
76
  } from "./endpoint/EndpointParameters";
73
77
  export declare type ServiceInputTypes =
78
+ | StartCallAnalyticsStreamTranscriptionCommandInput
74
79
  | StartMedicalStreamTranscriptionCommandInput
75
80
  | StartStreamTranscriptionCommandInput;
76
81
  export declare type ServiceOutputTypes =
82
+ | StartCallAnalyticsStreamTranscriptionCommandOutput
77
83
  | StartMedicalStreamTranscriptionCommandOutput
78
84
  | StartStreamTranscriptionCommandOutput;
79
85
  export interface ClientDefaults
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ StartCallAnalyticsStreamTranscriptionRequest,
11
+ StartCallAnalyticsStreamTranscriptionResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ TranscribeStreamingClientResolvedConfig,
17
+ } from "../TranscribeStreamingClient";
18
+ export interface StartCallAnalyticsStreamTranscriptionCommandInput
19
+ extends StartCallAnalyticsStreamTranscriptionRequest {}
20
+ export interface StartCallAnalyticsStreamTranscriptionCommandOutput
21
+ extends StartCallAnalyticsStreamTranscriptionResponse,
22
+ __MetadataBearer {}
23
+ export declare class StartCallAnalyticsStreamTranscriptionCommand extends $Command<
24
+ StartCallAnalyticsStreamTranscriptionCommandInput,
25
+ StartCallAnalyticsStreamTranscriptionCommandOutput,
26
+ TranscribeStreamingClientResolvedConfig
27
+ > {
28
+ readonly input: StartCallAnalyticsStreamTranscriptionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: StartCallAnalyticsStreamTranscriptionCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: TranscribeStreamingClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ StartCallAnalyticsStreamTranscriptionCommandInput,
37
+ StartCallAnalyticsStreamTranscriptionCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,2 +1,3 @@
1
+ export * from "./StartCallAnalyticsStreamTranscriptionCommand";
1
2
  export * from "./StartMedicalStreamTranscriptionCommand";
2
3
  export * from "./StartStreamTranscriptionCommand";
@@ -30,20 +30,51 @@ export interface Alternative {
30
30
  export interface AudioEvent {
31
31
  AudioChunk?: Uint8Array;
32
32
  }
33
+ export declare enum ParticipantRole {
34
+ AGENT = "AGENT",
35
+ CUSTOMER = "CUSTOMER",
36
+ }
37
+ export interface ChannelDefinition {
38
+ ChannelId: number | undefined;
39
+ ParticipantRole: ParticipantRole | string | undefined;
40
+ }
41
+ export declare enum ContentRedactionOutput {
42
+ REDACTED = "redacted",
43
+ REDACTED_AND_UNREDACTED = "redacted_and_unredacted",
44
+ }
45
+ export interface PostCallAnalyticsSettings {
46
+ OutputLocation: string | undefined;
47
+ DataAccessRoleArn: string | undefined;
48
+ ContentRedactionOutput?: ContentRedactionOutput | string;
49
+ OutputEncryptionKMSKeyId?: string;
50
+ }
51
+ export interface ConfigurationEvent {
52
+ ChannelDefinitions?: ChannelDefinition[];
53
+ PostCallAnalyticsSettings?: PostCallAnalyticsSettings;
54
+ }
33
55
  export declare type AudioStream =
34
56
  | AudioStream.AudioEventMember
57
+ | AudioStream.ConfigurationEventMember
35
58
  | AudioStream.$UnknownMember;
36
59
  export declare namespace AudioStream {
37
60
  interface AudioEventMember {
38
61
  AudioEvent: AudioEvent;
62
+ ConfigurationEvent?: never;
63
+ $unknown?: never;
64
+ }
65
+ interface ConfigurationEventMember {
66
+ AudioEvent?: never;
67
+ ConfigurationEvent: ConfigurationEvent;
39
68
  $unknown?: never;
40
69
  }
41
70
  interface $UnknownMember {
42
71
  AudioEvent?: never;
72
+ ConfigurationEvent?: never;
43
73
  $unknown: [string, any];
44
74
  }
45
75
  interface Visitor<T> {
46
76
  AudioEvent: (value: AudioEvent) => T;
77
+ ConfigurationEvent: (value: ConfigurationEvent) => T;
47
78
  _: (name: string, value: any) => T;
48
79
  }
49
80
  const visit: <T>(value: AudioStream, visitor: Visitor<T>) => T;
@@ -56,18 +87,51 @@ export declare class BadRequestException extends __BaseException {
56
87
  opts: __ExceptionOptionType<BadRequestException, __BaseException>
57
88
  );
58
89
  }
90
+ export interface CallAnalyticsEntity {
91
+ BeginOffsetMillis?: number;
92
+ EndOffsetMillis?: number;
93
+ Category?: string;
94
+ Type?: string;
95
+ Content?: string;
96
+ Confidence?: number;
97
+ }
98
+ export interface CallAnalyticsItem {
99
+ BeginOffsetMillis?: number;
100
+ EndOffsetMillis?: number;
101
+ Type?: ItemType | string;
102
+ Content?: string;
103
+ Confidence?: number;
104
+ VocabularyFilterMatch?: boolean;
105
+ Stable?: boolean;
106
+ }
107
+ export declare enum CallAnalyticsLanguageCode {
108
+ DE_DE = "de-DE",
109
+ EN_AU = "en-AU",
110
+ EN_GB = "en-GB",
111
+ EN_US = "en-US",
112
+ ES_US = "es-US",
113
+ FR_CA = "fr-CA",
114
+ FR_FR = "fr-FR",
115
+ IT_IT = "it-IT",
116
+ PT_BR = "pt-BR",
117
+ }
118
+ export interface TimestampRange {
119
+ BeginOffsetMillis?: number;
120
+ EndOffsetMillis?: number;
121
+ }
122
+ export interface PointsOfInterest {
123
+ TimestampRanges?: TimestampRange[];
124
+ }
125
+ export interface CategoryEvent {
126
+ MatchedCategories?: string[];
127
+ MatchedDetails?: Record<string, PointsOfInterest>;
128
+ }
59
129
  export declare class ConflictException extends __BaseException {
60
130
  readonly name: "ConflictException";
61
131
  readonly $fault: "client";
62
132
  Message?: string;
63
133
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
64
134
  }
65
- export declare enum ContentIdentificationType {
66
- PII = "PII",
67
- }
68
- export declare enum ContentRedactionType {
69
- PII = "PII",
70
- }
71
135
  export declare class InternalFailureException extends __BaseException {
72
136
  readonly name: "InternalFailureException";
73
137
  readonly $fault: "server";
@@ -76,6 +140,158 @@ export declare class InternalFailureException extends __BaseException {
76
140
  opts: __ExceptionOptionType<InternalFailureException, __BaseException>
77
141
  );
78
142
  }
143
+ export declare class LimitExceededException extends __BaseException {
144
+ readonly name: "LimitExceededException";
145
+ readonly $fault: "client";
146
+ Message?: string;
147
+ constructor(
148
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
149
+ );
150
+ }
151
+ export declare class ServiceUnavailableException extends __BaseException {
152
+ readonly name: "ServiceUnavailableException";
153
+ readonly $fault: "server";
154
+ Message?: string;
155
+ constructor(
156
+ opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
157
+ );
158
+ }
159
+ export interface CharacterOffsets {
160
+ Begin?: number;
161
+ End?: number;
162
+ }
163
+ export interface IssueDetected {
164
+ CharacterOffsets?: CharacterOffsets;
165
+ }
166
+ export declare enum Sentiment {
167
+ MIXED = "MIXED",
168
+ NEGATIVE = "NEGATIVE",
169
+ NEUTRAL = "NEUTRAL",
170
+ POSITIVE = "POSITIVE",
171
+ }
172
+ export interface UtteranceEvent {
173
+ UtteranceId?: string;
174
+ IsPartial?: boolean;
175
+ ParticipantRole?: ParticipantRole | string;
176
+ BeginOffsetMillis?: number;
177
+ EndOffsetMillis?: number;
178
+ Transcript?: string;
179
+ Items?: CallAnalyticsItem[];
180
+ Entities?: CallAnalyticsEntity[];
181
+ Sentiment?: Sentiment | string;
182
+ IssuesDetected?: IssueDetected[];
183
+ }
184
+ export declare type CallAnalyticsTranscriptResultStream =
185
+ | CallAnalyticsTranscriptResultStream.BadRequestExceptionMember
186
+ | CallAnalyticsTranscriptResultStream.CategoryEventMember
187
+ | CallAnalyticsTranscriptResultStream.ConflictExceptionMember
188
+ | CallAnalyticsTranscriptResultStream.InternalFailureExceptionMember
189
+ | CallAnalyticsTranscriptResultStream.LimitExceededExceptionMember
190
+ | CallAnalyticsTranscriptResultStream.ServiceUnavailableExceptionMember
191
+ | CallAnalyticsTranscriptResultStream.UtteranceEventMember
192
+ | CallAnalyticsTranscriptResultStream.$UnknownMember;
193
+ export declare namespace CallAnalyticsTranscriptResultStream {
194
+ interface UtteranceEventMember {
195
+ UtteranceEvent: UtteranceEvent;
196
+ CategoryEvent?: never;
197
+ BadRequestException?: never;
198
+ LimitExceededException?: never;
199
+ InternalFailureException?: never;
200
+ ConflictException?: never;
201
+ ServiceUnavailableException?: never;
202
+ $unknown?: never;
203
+ }
204
+ interface CategoryEventMember {
205
+ UtteranceEvent?: never;
206
+ CategoryEvent: CategoryEvent;
207
+ BadRequestException?: never;
208
+ LimitExceededException?: never;
209
+ InternalFailureException?: never;
210
+ ConflictException?: never;
211
+ ServiceUnavailableException?: never;
212
+ $unknown?: never;
213
+ }
214
+ interface BadRequestExceptionMember {
215
+ UtteranceEvent?: never;
216
+ CategoryEvent?: never;
217
+ BadRequestException: BadRequestException;
218
+ LimitExceededException?: never;
219
+ InternalFailureException?: never;
220
+ ConflictException?: never;
221
+ ServiceUnavailableException?: never;
222
+ $unknown?: never;
223
+ }
224
+ interface LimitExceededExceptionMember {
225
+ UtteranceEvent?: never;
226
+ CategoryEvent?: never;
227
+ BadRequestException?: never;
228
+ LimitExceededException: LimitExceededException;
229
+ InternalFailureException?: never;
230
+ ConflictException?: never;
231
+ ServiceUnavailableException?: never;
232
+ $unknown?: never;
233
+ }
234
+ interface InternalFailureExceptionMember {
235
+ UtteranceEvent?: never;
236
+ CategoryEvent?: never;
237
+ BadRequestException?: never;
238
+ LimitExceededException?: never;
239
+ InternalFailureException: InternalFailureException;
240
+ ConflictException?: never;
241
+ ServiceUnavailableException?: never;
242
+ $unknown?: never;
243
+ }
244
+ interface ConflictExceptionMember {
245
+ UtteranceEvent?: never;
246
+ CategoryEvent?: never;
247
+ BadRequestException?: never;
248
+ LimitExceededException?: never;
249
+ InternalFailureException?: never;
250
+ ConflictException: ConflictException;
251
+ ServiceUnavailableException?: never;
252
+ $unknown?: never;
253
+ }
254
+ interface ServiceUnavailableExceptionMember {
255
+ UtteranceEvent?: never;
256
+ CategoryEvent?: never;
257
+ BadRequestException?: never;
258
+ LimitExceededException?: never;
259
+ InternalFailureException?: never;
260
+ ConflictException?: never;
261
+ ServiceUnavailableException: ServiceUnavailableException;
262
+ $unknown?: never;
263
+ }
264
+ interface $UnknownMember {
265
+ UtteranceEvent?: never;
266
+ CategoryEvent?: never;
267
+ BadRequestException?: never;
268
+ LimitExceededException?: never;
269
+ InternalFailureException?: never;
270
+ ConflictException?: never;
271
+ ServiceUnavailableException?: never;
272
+ $unknown: [string, any];
273
+ }
274
+ interface Visitor<T> {
275
+ UtteranceEvent: (value: UtteranceEvent) => T;
276
+ CategoryEvent: (value: CategoryEvent) => T;
277
+ BadRequestException: (value: BadRequestException) => T;
278
+ LimitExceededException: (value: LimitExceededException) => T;
279
+ InternalFailureException: (value: InternalFailureException) => T;
280
+ ConflictException: (value: ConflictException) => T;
281
+ ServiceUnavailableException: (value: ServiceUnavailableException) => T;
282
+ _: (name: string, value: any) => T;
283
+ }
284
+ const visit: <T>(
285
+ value: CallAnalyticsTranscriptResultStream,
286
+ visitor: Visitor<T>
287
+ ) => T;
288
+ }
289
+ export declare enum ContentIdentificationType {
290
+ PII = "PII",
291
+ }
292
+ export declare enum ContentRedactionType {
293
+ PII = "PII",
294
+ }
79
295
  export declare enum LanguageCode {
80
296
  DE_DE = "de-DE",
81
297
  EN_AU = "en-AU",
@@ -96,14 +312,6 @@ export interface LanguageWithScore {
96
312
  LanguageCode?: LanguageCode | string;
97
313
  Score?: number;
98
314
  }
99
- export declare class LimitExceededException extends __BaseException {
100
- readonly name: "LimitExceededException";
101
- readonly $fault: "client";
102
- Message?: string;
103
- constructor(
104
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
105
- );
106
- }
107
315
  export declare enum MediaEncoding {
108
316
  FLAC = "flac",
109
317
  OGG_OPUS = "ogg-opus",
@@ -146,14 +354,6 @@ export interface MedicalTranscript {
146
354
  export interface MedicalTranscriptEvent {
147
355
  Transcript?: MedicalTranscript;
148
356
  }
149
- export declare class ServiceUnavailableException extends __BaseException {
150
- readonly name: "ServiceUnavailableException";
151
- readonly $fault: "server";
152
- Message?: string;
153
- constructor(
154
- opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
155
- );
156
- }
157
357
  export declare type MedicalTranscriptResultStream =
158
358
  | MedicalTranscriptResultStream.BadRequestExceptionMember
159
359
  | MedicalTranscriptResultStream.ConflictExceptionMember
@@ -263,6 +463,44 @@ export declare enum Specialty {
263
463
  RADIOLOGY = "RADIOLOGY",
264
464
  UROLOGY = "UROLOGY",
265
465
  }
466
+ export declare enum VocabularyFilterMethod {
467
+ MASK = "mask",
468
+ REMOVE = "remove",
469
+ TAG = "tag",
470
+ }
471
+ export interface StartCallAnalyticsStreamTranscriptionRequest {
472
+ LanguageCode: CallAnalyticsLanguageCode | string | undefined;
473
+ MediaSampleRateHertz: number | undefined;
474
+ MediaEncoding: MediaEncoding | string | undefined;
475
+ VocabularyName?: string;
476
+ SessionId?: string;
477
+ AudioStream: AsyncIterable<AudioStream> | undefined;
478
+ VocabularyFilterName?: string;
479
+ VocabularyFilterMethod?: VocabularyFilterMethod | string;
480
+ LanguageModelName?: string;
481
+ EnablePartialResultsStabilization?: boolean;
482
+ PartialResultsStability?: PartialResultsStability | string;
483
+ ContentIdentificationType?: ContentIdentificationType | string;
484
+ ContentRedactionType?: ContentRedactionType | string;
485
+ PiiEntityTypes?: string;
486
+ }
487
+ export interface StartCallAnalyticsStreamTranscriptionResponse {
488
+ RequestId?: string;
489
+ LanguageCode?: CallAnalyticsLanguageCode | string;
490
+ MediaSampleRateHertz?: number;
491
+ MediaEncoding?: MediaEncoding | string;
492
+ VocabularyName?: string;
493
+ SessionId?: string;
494
+ CallAnalyticsTranscriptResultStream?: AsyncIterable<CallAnalyticsTranscriptResultStream>;
495
+ VocabularyFilterName?: string;
496
+ VocabularyFilterMethod?: VocabularyFilterMethod | string;
497
+ LanguageModelName?: string;
498
+ EnablePartialResultsStabilization?: boolean;
499
+ PartialResultsStability?: PartialResultsStability | string;
500
+ ContentIdentificationType?: ContentIdentificationType | string;
501
+ ContentRedactionType?: ContentRedactionType | string;
502
+ PiiEntityTypes?: string;
503
+ }
266
504
  export declare enum Type {
267
505
  CONVERSATION = "CONVERSATION",
268
506
  DICTATION = "DICTATION",
@@ -296,11 +534,6 @@ export interface StartMedicalStreamTranscriptionResponse {
296
534
  NumberOfChannels?: number;
297
535
  ContentIdentificationType?: MedicalContentIdentificationType | string;
298
536
  }
299
- export declare enum VocabularyFilterMethod {
300
- MASK = "mask",
301
- REMOVE = "remove",
302
- TAG = "tag",
303
- }
304
537
  export interface StartStreamTranscriptionRequest {
305
538
  LanguageCode?: LanguageCode | string;
306
539
  MediaSampleRateHertz: number | undefined;
@@ -443,7 +676,43 @@ export declare const EntityFilterSensitiveLog: (obj: Entity) => any;
443
676
  export declare const ItemFilterSensitiveLog: (obj: Item) => any;
444
677
  export declare const AlternativeFilterSensitiveLog: (obj: Alternative) => any;
445
678
  export declare const AudioEventFilterSensitiveLog: (obj: AudioEvent) => any;
679
+ export declare const ChannelDefinitionFilterSensitiveLog: (
680
+ obj: ChannelDefinition
681
+ ) => any;
682
+ export declare const PostCallAnalyticsSettingsFilterSensitiveLog: (
683
+ obj: PostCallAnalyticsSettings
684
+ ) => any;
685
+ export declare const ConfigurationEventFilterSensitiveLog: (
686
+ obj: ConfigurationEvent
687
+ ) => any;
446
688
  export declare const AudioStreamFilterSensitiveLog: (obj: AudioStream) => any;
689
+ export declare const CallAnalyticsEntityFilterSensitiveLog: (
690
+ obj: CallAnalyticsEntity
691
+ ) => any;
692
+ export declare const CallAnalyticsItemFilterSensitiveLog: (
693
+ obj: CallAnalyticsItem
694
+ ) => any;
695
+ export declare const TimestampRangeFilterSensitiveLog: (
696
+ obj: TimestampRange
697
+ ) => any;
698
+ export declare const PointsOfInterestFilterSensitiveLog: (
699
+ obj: PointsOfInterest
700
+ ) => any;
701
+ export declare const CategoryEventFilterSensitiveLog: (
702
+ obj: CategoryEvent
703
+ ) => any;
704
+ export declare const CharacterOffsetsFilterSensitiveLog: (
705
+ obj: CharacterOffsets
706
+ ) => any;
707
+ export declare const IssueDetectedFilterSensitiveLog: (
708
+ obj: IssueDetected
709
+ ) => any;
710
+ export declare const UtteranceEventFilterSensitiveLog: (
711
+ obj: UtteranceEvent
712
+ ) => any;
713
+ export declare const CallAnalyticsTranscriptResultStreamFilterSensitiveLog: (
714
+ obj: CallAnalyticsTranscriptResultStream
715
+ ) => any;
447
716
  export declare const LanguageWithScoreFilterSensitiveLog: (
448
717
  obj: LanguageWithScore
449
718
  ) => any;
@@ -467,6 +736,12 @@ export declare const MedicalTranscriptResultStreamFilterSensitiveLog: (
467
736
  obj: MedicalTranscriptResultStream
468
737
  ) => any;
469
738
  export declare const ResultFilterSensitiveLog: (obj: Result) => any;
739
+ export declare const StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog: (
740
+ obj: StartCallAnalyticsStreamTranscriptionRequest
741
+ ) => any;
742
+ export declare const StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog: (
743
+ obj: StartCallAnalyticsStreamTranscriptionResponse
744
+ ) => any;
470
745
  export declare const StartMedicalStreamTranscriptionRequestFilterSensitiveLog: (
471
746
  obj: StartMedicalStreamTranscriptionRequest
472
747
  ) => any;
@@ -6,6 +6,10 @@ import {
6
6
  EventStreamSerdeContext as __EventStreamSerdeContext,
7
7
  SerdeContext as __SerdeContext,
8
8
  } from "@aws-sdk/types";
9
+ import {
10
+ StartCallAnalyticsStreamTranscriptionCommandInput,
11
+ StartCallAnalyticsStreamTranscriptionCommandOutput,
12
+ } from "../commands/StartCallAnalyticsStreamTranscriptionCommand";
9
13
  import {
10
14
  StartMedicalStreamTranscriptionCommandInput,
11
15
  StartMedicalStreamTranscriptionCommandOutput,
@@ -14,6 +18,10 @@ import {
14
18
  StartStreamTranscriptionCommandInput,
15
19
  StartStreamTranscriptionCommandOutput,
16
20
  } from "../commands/StartStreamTranscriptionCommand";
21
+ export declare const serializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand: (
22
+ input: StartCallAnalyticsStreamTranscriptionCommandInput,
23
+ context: __SerdeContext & __EventStreamSerdeContext
24
+ ) => Promise<__HttpRequest>;
17
25
  export declare const serializeAws_restJson1StartMedicalStreamTranscriptionCommand: (
18
26
  input: StartMedicalStreamTranscriptionCommandInput,
19
27
  context: __SerdeContext & __EventStreamSerdeContext
@@ -22,6 +30,10 @@ export declare const serializeAws_restJson1StartStreamTranscriptionCommand: (
22
30
  input: StartStreamTranscriptionCommandInput,
23
31
  context: __SerdeContext & __EventStreamSerdeContext
24
32
  ) => Promise<__HttpRequest>;
33
+ export declare const deserializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand: (
34
+ output: __HttpResponse,
35
+ context: __SerdeContext & __EventStreamSerdeContext
36
+ ) => Promise<StartCallAnalyticsStreamTranscriptionCommandOutput>;
25
37
  export declare const deserializeAws_restJson1StartMedicalStreamTranscriptionCommand: (
26
38
  output: __HttpResponse,
27
39
  context: __SerdeContext & __EventStreamSerdeContext
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.216.0",
4
+ "version": "3.218.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",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.216.0",
23
+ "@aws-sdk/client-sts": "3.218.0",
24
24
  "@aws-sdk/config-resolver": "3.215.0",
25
- "@aws-sdk/credential-provider-node": "3.216.0",
25
+ "@aws-sdk/credential-provider-node": "3.218.0",
26
26
  "@aws-sdk/eventstream-handler-node": "3.215.0",
27
27
  "@aws-sdk/eventstream-serde-browser": "3.215.0",
28
28
  "@aws-sdk/eventstream-serde-config-resolver": "3.215.0",