@aws-sdk/client-transcribe-streaming 3.135.0 → 3.141.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.
@@ -15,10 +15,6 @@ export interface Entity {
15
15
 
16
16
  Confidence?: number;
17
17
  }
18
- export declare namespace Entity {
19
-
20
- const filterSensitiveLog: (obj: Entity) => any;
21
- }
22
18
  export declare enum ItemType {
23
19
  PRONUNCIATION = "pronunciation",
24
20
  PUNCTUATION = "punctuation"
@@ -42,10 +38,6 @@ export interface Item {
42
38
 
43
39
  Stable?: boolean;
44
40
  }
45
- export declare namespace Item {
46
-
47
- const filterSensitiveLog: (obj: Item) => any;
48
- }
49
41
 
50
42
  export interface Alternative {
51
43
 
@@ -55,19 +47,11 @@ export interface Alternative {
55
47
 
56
48
  Entities?: Entity[];
57
49
  }
58
- export declare namespace Alternative {
59
-
60
- const filterSensitiveLog: (obj: Alternative) => any;
61
- }
62
50
 
63
51
  export interface AudioEvent {
64
52
 
65
53
  AudioChunk?: Uint8Array;
66
54
  }
67
- export declare namespace AudioEvent {
68
-
69
- const filterSensitiveLog: (obj: AudioEvent) => any;
70
- }
71
55
 
72
56
  export declare type AudioStream = AudioStream.AudioEventMember | AudioStream.$UnknownMember;
73
57
  export declare namespace AudioStream {
@@ -88,8 +72,6 @@ export declare namespace AudioStream {
88
72
  _: (name: string, value: any) => T;
89
73
  }
90
74
  const visit: <T>(value: AudioStream, visitor: Visitor<T>) => T;
91
-
92
- const filterSensitiveLog: (obj: AudioStream) => any;
93
75
  }
94
76
 
95
77
  export declare class BadRequestException extends __BaseException {
@@ -142,10 +124,6 @@ export interface LanguageWithScore {
142
124
 
143
125
  Score?: number;
144
126
  }
145
- export declare namespace LanguageWithScore {
146
-
147
- const filterSensitiveLog: (obj: LanguageWithScore) => any;
148
- }
149
127
 
150
128
  export declare class LimitExceededException extends __BaseException {
151
129
  readonly name: "LimitExceededException";
@@ -172,10 +150,6 @@ export interface MedicalEntity {
172
150
 
173
151
  Confidence?: number;
174
152
  }
175
- export declare namespace MedicalEntity {
176
-
177
- const filterSensitiveLog: (obj: MedicalEntity) => any;
178
- }
179
153
 
180
154
  export interface MedicalItem {
181
155
 
@@ -191,10 +165,6 @@ export interface MedicalItem {
191
165
 
192
166
  Speaker?: string;
193
167
  }
194
- export declare namespace MedicalItem {
195
-
196
- const filterSensitiveLog: (obj: MedicalItem) => any;
197
- }
198
168
 
199
169
  export interface MedicalAlternative {
200
170
 
@@ -204,10 +174,6 @@ export interface MedicalAlternative {
204
174
 
205
175
  Entities?: MedicalEntity[];
206
176
  }
207
- export declare namespace MedicalAlternative {
208
-
209
- const filterSensitiveLog: (obj: MedicalAlternative) => any;
210
- }
211
177
  export declare enum MedicalContentIdentificationType {
212
178
  PHI = "PHI"
213
179
  }
@@ -226,28 +192,16 @@ export interface MedicalResult {
226
192
 
227
193
  ChannelId?: string;
228
194
  }
229
- export declare namespace MedicalResult {
230
-
231
- const filterSensitiveLog: (obj: MedicalResult) => any;
232
- }
233
195
 
234
196
  export interface MedicalTranscript {
235
197
 
236
198
  Results?: MedicalResult[];
237
199
  }
238
- export declare namespace MedicalTranscript {
239
-
240
- const filterSensitiveLog: (obj: MedicalTranscript) => any;
241
- }
242
200
 
243
201
  export interface MedicalTranscriptEvent {
244
202
 
245
203
  Transcript?: MedicalTranscript;
246
204
  }
247
- export declare namespace MedicalTranscriptEvent {
248
-
249
- const filterSensitiveLog: (obj: MedicalTranscriptEvent) => any;
250
- }
251
205
 
252
206
  export declare class ServiceUnavailableException extends __BaseException {
253
207
  readonly name: "ServiceUnavailableException";
@@ -341,8 +295,6 @@ export declare namespace MedicalTranscriptResultStream {
341
295
  _: (name: string, value: any) => T;
342
296
  }
343
297
  const visit: <T>(value: MedicalTranscriptResultStream, visitor: Visitor<T>) => T;
344
-
345
- const filterSensitiveLog: (obj: MedicalTranscriptResultStream) => any;
346
298
  }
347
299
  export declare enum PartialResultsStability {
348
300
  HIGH = "high",
@@ -368,10 +320,6 @@ export interface Result {
368
320
 
369
321
  LanguageIdentification?: LanguageWithScore[];
370
322
  }
371
- export declare namespace Result {
372
-
373
- const filterSensitiveLog: (obj: Result) => any;
374
- }
375
323
  export declare enum Specialty {
376
324
  CARDIOLOGY = "CARDIOLOGY",
377
325
  NEUROLOGY = "NEUROLOGY",
@@ -410,10 +358,6 @@ export interface StartMedicalStreamTranscriptionRequest {
410
358
 
411
359
  ContentIdentificationType?: MedicalContentIdentificationType | string;
412
360
  }
413
- export declare namespace StartMedicalStreamTranscriptionRequest {
414
-
415
- const filterSensitiveLog: (obj: StartMedicalStreamTranscriptionRequest) => any;
416
- }
417
361
  export interface StartMedicalStreamTranscriptionResponse {
418
362
 
419
363
  RequestId?: string;
@@ -442,10 +386,6 @@ export interface StartMedicalStreamTranscriptionResponse {
442
386
 
443
387
  ContentIdentificationType?: MedicalContentIdentificationType | string;
444
388
  }
445
- export declare namespace StartMedicalStreamTranscriptionResponse {
446
-
447
- const filterSensitiveLog: (obj: StartMedicalStreamTranscriptionResponse) => any;
448
- }
449
389
  export declare enum VocabularyFilterMethod {
450
390
  MASK = "mask",
451
391
  REMOVE = "remove",
@@ -497,28 +437,16 @@ export interface StartStreamTranscriptionRequest {
497
437
 
498
438
  VocabularyFilterNames?: string;
499
439
  }
500
- export declare namespace StartStreamTranscriptionRequest {
501
-
502
- const filterSensitiveLog: (obj: StartStreamTranscriptionRequest) => any;
503
- }
504
440
 
505
441
  export interface Transcript {
506
442
 
507
443
  Results?: Result[];
508
444
  }
509
- export declare namespace Transcript {
510
-
511
- const filterSensitiveLog: (obj: Transcript) => any;
512
- }
513
445
 
514
446
  export interface TranscriptEvent {
515
447
 
516
448
  Transcript?: Transcript;
517
449
  }
518
- export declare namespace TranscriptEvent {
519
-
520
- const filterSensitiveLog: (obj: TranscriptEvent) => any;
521
- }
522
450
 
523
451
  export declare type TranscriptResultStream = TranscriptResultStream.BadRequestExceptionMember | TranscriptResultStream.ConflictExceptionMember | TranscriptResultStream.InternalFailureExceptionMember | TranscriptResultStream.LimitExceededExceptionMember | TranscriptResultStream.ServiceUnavailableExceptionMember | TranscriptResultStream.TranscriptEventMember | TranscriptResultStream.$UnknownMember;
524
452
  export declare namespace TranscriptResultStream {
@@ -604,8 +532,6 @@ export declare namespace TranscriptResultStream {
604
532
  _: (name: string, value: any) => T;
605
533
  }
606
534
  const visit: <T>(value: TranscriptResultStream, visitor: Visitor<T>) => T;
607
-
608
- const filterSensitiveLog: (obj: TranscriptResultStream) => any;
609
535
  }
610
536
  export interface StartStreamTranscriptionResponse {
611
537
 
@@ -655,7 +581,45 @@ export interface StartStreamTranscriptionResponse {
655
581
 
656
582
  VocabularyFilterNames?: string;
657
583
  }
658
- export declare namespace StartStreamTranscriptionResponse {
659
-
660
- const filterSensitiveLog: (obj: StartStreamTranscriptionResponse) => any;
661
- }
584
+
585
+ export declare const EntityFilterSensitiveLog: (obj: Entity) => any;
586
+
587
+ export declare const ItemFilterSensitiveLog: (obj: Item) => any;
588
+
589
+ export declare const AlternativeFilterSensitiveLog: (obj: Alternative) => any;
590
+
591
+ export declare const AudioEventFilterSensitiveLog: (obj: AudioEvent) => any;
592
+
593
+ export declare const AudioStreamFilterSensitiveLog: (obj: AudioStream) => any;
594
+
595
+ export declare const LanguageWithScoreFilterSensitiveLog: (obj: LanguageWithScore) => any;
596
+
597
+ export declare const MedicalEntityFilterSensitiveLog: (obj: MedicalEntity) => any;
598
+
599
+ export declare const MedicalItemFilterSensitiveLog: (obj: MedicalItem) => any;
600
+
601
+ export declare const MedicalAlternativeFilterSensitiveLog: (obj: MedicalAlternative) => any;
602
+
603
+ export declare const MedicalResultFilterSensitiveLog: (obj: MedicalResult) => any;
604
+
605
+ export declare const MedicalTranscriptFilterSensitiveLog: (obj: MedicalTranscript) => any;
606
+
607
+ export declare const MedicalTranscriptEventFilterSensitiveLog: (obj: MedicalTranscriptEvent) => any;
608
+
609
+ export declare const MedicalTranscriptResultStreamFilterSensitiveLog: (obj: MedicalTranscriptResultStream) => any;
610
+
611
+ export declare const ResultFilterSensitiveLog: (obj: Result) => any;
612
+
613
+ export declare const StartMedicalStreamTranscriptionRequestFilterSensitiveLog: (obj: StartMedicalStreamTranscriptionRequest) => any;
614
+
615
+ export declare const StartMedicalStreamTranscriptionResponseFilterSensitiveLog: (obj: StartMedicalStreamTranscriptionResponse) => any;
616
+
617
+ export declare const StartStreamTranscriptionRequestFilterSensitiveLog: (obj: StartStreamTranscriptionRequest) => any;
618
+
619
+ export declare const TranscriptFilterSensitiveLog: (obj: Transcript) => any;
620
+
621
+ export declare const TranscriptEventFilterSensitiveLog: (obj: TranscriptEvent) => any;
622
+
623
+ export declare const TranscriptResultStreamFilterSensitiveLog: (obj: TranscriptResultStream) => any;
624
+
625
+ export declare const StartStreamTranscriptionResponseFilterSensitiveLog: (obj: StartStreamTranscriptionResponse) => any;
@@ -1,4 +1,4 @@
1
- import { NodeHttp2Handler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttp2Handler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig) => {
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: TranscribeStreamingClientConfig)
13
13
  eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
15
15
  region: string | import("@aws-sdk/types").Provider<string>;
16
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttp2Handler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
17
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
18
18
  sha256: import("@aws-sdk/types").HashConstructor;
19
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
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.135.0",
4
+ "version": "3.141.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",
@@ -19,9 +19,9 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.131.0",
22
+ "@aws-sdk/client-sts": "3.141.0",
23
23
  "@aws-sdk/config-resolver": "3.130.0",
24
- "@aws-sdk/credential-provider-node": "3.131.0",
24
+ "@aws-sdk/credential-provider-node": "3.141.0",
25
25
  "@aws-sdk/eventstream-handler-node": "3.127.0",
26
26
  "@aws-sdk/eventstream-serde-browser": "3.127.0",
27
27
  "@aws-sdk/eventstream-serde-config-resolver": "3.127.0",
@@ -43,15 +43,15 @@
43
43
  "@aws-sdk/node-config-provider": "3.127.0",
44
44
  "@aws-sdk/node-http-handler": "3.127.0",
45
45
  "@aws-sdk/protocol-http": "3.127.0",
46
- "@aws-sdk/smithy-client": "3.127.0",
46
+ "@aws-sdk/smithy-client": "3.137.0",
47
47
  "@aws-sdk/types": "3.127.0",
48
48
  "@aws-sdk/url-parser": "3.127.0",
49
49
  "@aws-sdk/util-base64-browser": "3.109.0",
50
50
  "@aws-sdk/util-base64-node": "3.55.0",
51
51
  "@aws-sdk/util-body-length-browser": "3.55.0",
52
52
  "@aws-sdk/util-body-length-node": "3.55.0",
53
- "@aws-sdk/util-defaults-mode-browser": "3.127.0",
54
- "@aws-sdk/util-defaults-mode-node": "3.130.0",
53
+ "@aws-sdk/util-defaults-mode-browser": "3.137.0",
54
+ "@aws-sdk/util-defaults-mode-node": "3.137.0",
55
55
  "@aws-sdk/util-user-agent-browser": "3.127.0",
56
56
  "@aws-sdk/util-user-agent-node": "3.127.0",
57
57
  "@aws-sdk/util-utf8-browser": "3.109.0",