@aws-sdk/client-transcribe-streaming 3.215.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 +4 -4
@@ -1,10 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TranscribeStreaming = void 0;
4
+ const StartCallAnalyticsStreamTranscriptionCommand_1 = require("./commands/StartCallAnalyticsStreamTranscriptionCommand");
4
5
  const StartMedicalStreamTranscriptionCommand_1 = require("./commands/StartMedicalStreamTranscriptionCommand");
5
6
  const StartStreamTranscriptionCommand_1 = require("./commands/StartStreamTranscriptionCommand");
6
7
  const TranscribeStreamingClient_1 = require("./TranscribeStreamingClient");
7
8
  class TranscribeStreaming extends TranscribeStreamingClient_1.TranscribeStreamingClient {
9
+ startCallAnalyticsStreamTranscription(args, optionsOrCb, cb) {
10
+ const command = new StartCallAnalyticsStreamTranscriptionCommand_1.StartCallAnalyticsStreamTranscriptionCommand(args);
11
+ if (typeof optionsOrCb === "function") {
12
+ this.send(command, optionsOrCb);
13
+ }
14
+ else if (typeof cb === "function") {
15
+ if (typeof optionsOrCb !== "object")
16
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
17
+ this.send(command, optionsOrCb || {}, cb);
18
+ }
19
+ else {
20
+ return this.send(command, optionsOrCb);
21
+ }
22
+ }
8
23
  startMedicalStreamTranscription(args, optionsOrCb, cb) {
9
24
  const command = new StartMedicalStreamTranscriptionCommand_1.StartMedicalStreamTranscriptionCommand(args);
10
25
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StartCallAnalyticsStreamTranscriptionCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_eventstream_1 = require("@aws-sdk/middleware-eventstream");
6
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
8
+ const models_0_1 = require("../models/models_0");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class StartCallAnalyticsStreamTranscriptionCommand extends smithy_client_1.Command {
11
+ constructor(input) {
12
+ super();
13
+ this.input = input;
14
+ }
15
+ static getEndpointParameterInstructions() {
16
+ return {
17
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
18
+ Endpoint: { type: "builtInParams", name: "endpoint" },
19
+ Region: { type: "builtInParams", name: "region" },
20
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
21
+ };
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartCallAnalyticsStreamTranscriptionCommand.getEndpointParameterInstructions()));
26
+ this.middlewareStack.use((0, middleware_eventstream_1.getEventStreamPlugin)(configuration));
27
+ const stack = clientStack.concat(this.middlewareStack);
28
+ const { logger } = configuration;
29
+ const clientName = "TranscribeStreamingClient";
30
+ const commandName = "StartCallAnalyticsStreamTranscriptionCommand";
31
+ const handlerExecutionContext = {
32
+ logger,
33
+ clientName,
34
+ commandName,
35
+ inputFilterSensitiveLog: models_0_1.StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog,
36
+ outputFilterSensitiveLog: models_0_1.StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog,
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return (0, Aws_restJson1_1.serializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand)(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return (0, Aws_restJson1_1.deserializeAws_restJson1StartCallAnalyticsStreamTranscriptionCommand)(output, context);
46
+ }
47
+ }
48
+ exports.StartCallAnalyticsStreamTranscriptionCommand = StartCallAnalyticsStreamTranscriptionCommand;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./StartCallAnalyticsStreamTranscriptionCommand"), exports);
4
5
  tslib_1.__exportStar(require("./StartMedicalStreamTranscriptionCommand"), exports);
5
6
  tslib_1.__exportStar(require("./StartStreamTranscriptionCommand"), exports);
@@ -277,12 +277,12 @@ exports.ruleSet = {
277
277
  {
278
278
  ref: "Region",
279
279
  },
280
- "transcribestreaming-us-west-2",
280
+ "transcribestreaming-us-east-2",
281
281
  ],
282
282
  },
283
283
  ],
284
284
  endpoint: {
285
- url: "https://transcribestreaming-fips.us-west-2.amazonaws.com",
285
+ url: "https://transcribestreaming-fips.us-east-2.amazonaws.com",
286
286
  properties: {},
287
287
  headers: {},
288
288
  },
@@ -296,12 +296,12 @@ exports.ruleSet = {
296
296
  {
297
297
  ref: "Region",
298
298
  },
299
- "transcribestreaming-us-east-2",
299
+ "transcribestreaming-us-west-2",
300
300
  ],
301
301
  },
302
302
  ],
303
303
  endpoint: {
304
- url: "https://transcribestreaming-fips.us-east-2.amazonaws.com",
304
+ url: "https://transcribestreaming-fips.us-west-2.amazonaws.com",
305
305
  properties: {},
306
306
  headers: {},
307
307
  },
@@ -1,17 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StartStreamTranscriptionResponseFilterSensitiveLog = exports.TranscriptResultStreamFilterSensitiveLog = exports.TranscriptEventFilterSensitiveLog = exports.TranscriptFilterSensitiveLog = exports.StartStreamTranscriptionRequestFilterSensitiveLog = exports.StartMedicalStreamTranscriptionResponseFilterSensitiveLog = exports.StartMedicalStreamTranscriptionRequestFilterSensitiveLog = exports.ResultFilterSensitiveLog = exports.MedicalTranscriptResultStreamFilterSensitiveLog = exports.MedicalTranscriptEventFilterSensitiveLog = exports.MedicalTranscriptFilterSensitiveLog = exports.MedicalResultFilterSensitiveLog = exports.MedicalAlternativeFilterSensitiveLog = exports.MedicalItemFilterSensitiveLog = exports.MedicalEntityFilterSensitiveLog = exports.LanguageWithScoreFilterSensitiveLog = exports.AudioStreamFilterSensitiveLog = exports.AudioEventFilterSensitiveLog = exports.AlternativeFilterSensitiveLog = exports.ItemFilterSensitiveLog = exports.EntityFilterSensitiveLog = exports.TranscriptResultStream = exports.VocabularyFilterMethod = exports.Type = exports.Specialty = exports.PartialResultsStability = exports.MedicalTranscriptResultStream = exports.ServiceUnavailableException = exports.MedicalContentIdentificationType = exports.MediaEncoding = exports.LimitExceededException = exports.LanguageCode = exports.InternalFailureException = exports.ContentRedactionType = exports.ContentIdentificationType = exports.ConflictException = exports.BadRequestException = exports.AudioStream = exports.ItemType = void 0;
3
+ exports.StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = exports.ResultFilterSensitiveLog = exports.MedicalTranscriptResultStreamFilterSensitiveLog = exports.MedicalTranscriptEventFilterSensitiveLog = exports.MedicalTranscriptFilterSensitiveLog = exports.MedicalResultFilterSensitiveLog = exports.MedicalAlternativeFilterSensitiveLog = exports.MedicalItemFilterSensitiveLog = exports.MedicalEntityFilterSensitiveLog = exports.LanguageWithScoreFilterSensitiveLog = exports.CallAnalyticsTranscriptResultStreamFilterSensitiveLog = exports.UtteranceEventFilterSensitiveLog = exports.IssueDetectedFilterSensitiveLog = exports.CharacterOffsetsFilterSensitiveLog = exports.CategoryEventFilterSensitiveLog = exports.PointsOfInterestFilterSensitiveLog = exports.TimestampRangeFilterSensitiveLog = exports.CallAnalyticsItemFilterSensitiveLog = exports.CallAnalyticsEntityFilterSensitiveLog = exports.AudioStreamFilterSensitiveLog = exports.ConfigurationEventFilterSensitiveLog = exports.PostCallAnalyticsSettingsFilterSensitiveLog = exports.ChannelDefinitionFilterSensitiveLog = exports.AudioEventFilterSensitiveLog = exports.AlternativeFilterSensitiveLog = exports.ItemFilterSensitiveLog = exports.EntityFilterSensitiveLog = exports.TranscriptResultStream = exports.Type = exports.VocabularyFilterMethod = exports.Specialty = exports.PartialResultsStability = exports.MedicalTranscriptResultStream = exports.MedicalContentIdentificationType = exports.MediaEncoding = exports.LanguageCode = exports.ContentRedactionType = exports.ContentIdentificationType = exports.CallAnalyticsTranscriptResultStream = exports.Sentiment = exports.ServiceUnavailableException = exports.LimitExceededException = exports.InternalFailureException = exports.ConflictException = exports.CallAnalyticsLanguageCode = exports.BadRequestException = exports.AudioStream = exports.ContentRedactionOutput = exports.ParticipantRole = exports.ItemType = void 0;
4
+ exports.StartStreamTranscriptionResponseFilterSensitiveLog = exports.TranscriptResultStreamFilterSensitiveLog = exports.TranscriptEventFilterSensitiveLog = exports.TranscriptFilterSensitiveLog = exports.StartStreamTranscriptionRequestFilterSensitiveLog = exports.StartMedicalStreamTranscriptionResponseFilterSensitiveLog = exports.StartMedicalStreamTranscriptionRequestFilterSensitiveLog = exports.StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog = void 0;
4
5
  const TranscribeStreamingServiceException_1 = require("./TranscribeStreamingServiceException");
5
6
  var ItemType;
6
7
  (function (ItemType) {
7
8
  ItemType["PRONUNCIATION"] = "pronunciation";
8
9
  ItemType["PUNCTUATION"] = "punctuation";
9
10
  })(ItemType = exports.ItemType || (exports.ItemType = {}));
11
+ var ParticipantRole;
12
+ (function (ParticipantRole) {
13
+ ParticipantRole["AGENT"] = "AGENT";
14
+ ParticipantRole["CUSTOMER"] = "CUSTOMER";
15
+ })(ParticipantRole = exports.ParticipantRole || (exports.ParticipantRole = {}));
16
+ var ContentRedactionOutput;
17
+ (function (ContentRedactionOutput) {
18
+ ContentRedactionOutput["REDACTED"] = "redacted";
19
+ ContentRedactionOutput["REDACTED_AND_UNREDACTED"] = "redacted_and_unredacted";
20
+ })(ContentRedactionOutput = exports.ContentRedactionOutput || (exports.ContentRedactionOutput = {}));
10
21
  var AudioStream;
11
22
  (function (AudioStream) {
12
23
  AudioStream.visit = (value, visitor) => {
13
24
  if (value.AudioEvent !== undefined)
14
25
  return visitor.AudioEvent(value.AudioEvent);
26
+ if (value.ConfigurationEvent !== undefined)
27
+ return visitor.ConfigurationEvent(value.ConfigurationEvent);
15
28
  return visitor._(value.$unknown[0], value.$unknown[1]);
16
29
  };
17
30
  })(AudioStream = exports.AudioStream || (exports.AudioStream = {}));
@@ -29,6 +42,18 @@ class BadRequestException extends TranscribeStreamingServiceException_1.Transcri
29
42
  }
30
43
  }
31
44
  exports.BadRequestException = BadRequestException;
45
+ var CallAnalyticsLanguageCode;
46
+ (function (CallAnalyticsLanguageCode) {
47
+ CallAnalyticsLanguageCode["DE_DE"] = "de-DE";
48
+ CallAnalyticsLanguageCode["EN_AU"] = "en-AU";
49
+ CallAnalyticsLanguageCode["EN_GB"] = "en-GB";
50
+ CallAnalyticsLanguageCode["EN_US"] = "en-US";
51
+ CallAnalyticsLanguageCode["ES_US"] = "es-US";
52
+ CallAnalyticsLanguageCode["FR_CA"] = "fr-CA";
53
+ CallAnalyticsLanguageCode["FR_FR"] = "fr-FR";
54
+ CallAnalyticsLanguageCode["IT_IT"] = "it-IT";
55
+ CallAnalyticsLanguageCode["PT_BR"] = "pt-BR";
56
+ })(CallAnalyticsLanguageCode = exports.CallAnalyticsLanguageCode || (exports.CallAnalyticsLanguageCode = {}));
32
57
  class ConflictException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
33
58
  constructor(opts) {
34
59
  super({
@@ -43,14 +68,6 @@ class ConflictException extends TranscribeStreamingServiceException_1.Transcribe
43
68
  }
44
69
  }
45
70
  exports.ConflictException = ConflictException;
46
- var ContentIdentificationType;
47
- (function (ContentIdentificationType) {
48
- ContentIdentificationType["PII"] = "PII";
49
- })(ContentIdentificationType = exports.ContentIdentificationType || (exports.ContentIdentificationType = {}));
50
- var ContentRedactionType;
51
- (function (ContentRedactionType) {
52
- ContentRedactionType["PII"] = "PII";
53
- })(ContentRedactionType = exports.ContentRedactionType || (exports.ContentRedactionType = {}));
54
71
  class InternalFailureException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
55
72
  constructor(opts) {
56
73
  super({
@@ -65,23 +82,6 @@ class InternalFailureException extends TranscribeStreamingServiceException_1.Tra
65
82
  }
66
83
  }
67
84
  exports.InternalFailureException = InternalFailureException;
68
- var LanguageCode;
69
- (function (LanguageCode) {
70
- LanguageCode["DE_DE"] = "de-DE";
71
- LanguageCode["EN_AU"] = "en-AU";
72
- LanguageCode["EN_GB"] = "en-GB";
73
- LanguageCode["EN_US"] = "en-US";
74
- LanguageCode["ES_US"] = "es-US";
75
- LanguageCode["FR_CA"] = "fr-CA";
76
- LanguageCode["FR_FR"] = "fr-FR";
77
- LanguageCode["HI_IN"] = "hi-IN";
78
- LanguageCode["IT_IT"] = "it-IT";
79
- LanguageCode["JA_JP"] = "ja-JP";
80
- LanguageCode["KO_KR"] = "ko-KR";
81
- LanguageCode["PT_BR"] = "pt-BR";
82
- LanguageCode["TH_TH"] = "th-TH";
83
- LanguageCode["ZH_CN"] = "zh-CN";
84
- })(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
85
85
  class LimitExceededException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
86
86
  constructor(opts) {
87
87
  super({
@@ -96,16 +96,6 @@ class LimitExceededException extends TranscribeStreamingServiceException_1.Trans
96
96
  }
97
97
  }
98
98
  exports.LimitExceededException = LimitExceededException;
99
- var MediaEncoding;
100
- (function (MediaEncoding) {
101
- MediaEncoding["FLAC"] = "flac";
102
- MediaEncoding["OGG_OPUS"] = "ogg-opus";
103
- MediaEncoding["PCM"] = "pcm";
104
- })(MediaEncoding = exports.MediaEncoding || (exports.MediaEncoding = {}));
105
- var MedicalContentIdentificationType;
106
- (function (MedicalContentIdentificationType) {
107
- MedicalContentIdentificationType["PHI"] = "PHI";
108
- })(MedicalContentIdentificationType = exports.MedicalContentIdentificationType || (exports.MedicalContentIdentificationType = {}));
109
99
  class ServiceUnavailableException extends TranscribeStreamingServiceException_1.TranscribeStreamingServiceException {
110
100
  constructor(opts) {
111
101
  super({
@@ -120,6 +110,68 @@ class ServiceUnavailableException extends TranscribeStreamingServiceException_1.
120
110
  }
121
111
  }
122
112
  exports.ServiceUnavailableException = ServiceUnavailableException;
113
+ var Sentiment;
114
+ (function (Sentiment) {
115
+ Sentiment["MIXED"] = "MIXED";
116
+ Sentiment["NEGATIVE"] = "NEGATIVE";
117
+ Sentiment["NEUTRAL"] = "NEUTRAL";
118
+ Sentiment["POSITIVE"] = "POSITIVE";
119
+ })(Sentiment = exports.Sentiment || (exports.Sentiment = {}));
120
+ var CallAnalyticsTranscriptResultStream;
121
+ (function (CallAnalyticsTranscriptResultStream) {
122
+ CallAnalyticsTranscriptResultStream.visit = (value, visitor) => {
123
+ if (value.UtteranceEvent !== undefined)
124
+ return visitor.UtteranceEvent(value.UtteranceEvent);
125
+ if (value.CategoryEvent !== undefined)
126
+ return visitor.CategoryEvent(value.CategoryEvent);
127
+ if (value.BadRequestException !== undefined)
128
+ return visitor.BadRequestException(value.BadRequestException);
129
+ if (value.LimitExceededException !== undefined)
130
+ return visitor.LimitExceededException(value.LimitExceededException);
131
+ if (value.InternalFailureException !== undefined)
132
+ return visitor.InternalFailureException(value.InternalFailureException);
133
+ if (value.ConflictException !== undefined)
134
+ return visitor.ConflictException(value.ConflictException);
135
+ if (value.ServiceUnavailableException !== undefined)
136
+ return visitor.ServiceUnavailableException(value.ServiceUnavailableException);
137
+ return visitor._(value.$unknown[0], value.$unknown[1]);
138
+ };
139
+ })(CallAnalyticsTranscriptResultStream = exports.CallAnalyticsTranscriptResultStream || (exports.CallAnalyticsTranscriptResultStream = {}));
140
+ var ContentIdentificationType;
141
+ (function (ContentIdentificationType) {
142
+ ContentIdentificationType["PII"] = "PII";
143
+ })(ContentIdentificationType = exports.ContentIdentificationType || (exports.ContentIdentificationType = {}));
144
+ var ContentRedactionType;
145
+ (function (ContentRedactionType) {
146
+ ContentRedactionType["PII"] = "PII";
147
+ })(ContentRedactionType = exports.ContentRedactionType || (exports.ContentRedactionType = {}));
148
+ var LanguageCode;
149
+ (function (LanguageCode) {
150
+ LanguageCode["DE_DE"] = "de-DE";
151
+ LanguageCode["EN_AU"] = "en-AU";
152
+ LanguageCode["EN_GB"] = "en-GB";
153
+ LanguageCode["EN_US"] = "en-US";
154
+ LanguageCode["ES_US"] = "es-US";
155
+ LanguageCode["FR_CA"] = "fr-CA";
156
+ LanguageCode["FR_FR"] = "fr-FR";
157
+ LanguageCode["HI_IN"] = "hi-IN";
158
+ LanguageCode["IT_IT"] = "it-IT";
159
+ LanguageCode["JA_JP"] = "ja-JP";
160
+ LanguageCode["KO_KR"] = "ko-KR";
161
+ LanguageCode["PT_BR"] = "pt-BR";
162
+ LanguageCode["TH_TH"] = "th-TH";
163
+ LanguageCode["ZH_CN"] = "zh-CN";
164
+ })(LanguageCode = exports.LanguageCode || (exports.LanguageCode = {}));
165
+ var MediaEncoding;
166
+ (function (MediaEncoding) {
167
+ MediaEncoding["FLAC"] = "flac";
168
+ MediaEncoding["OGG_OPUS"] = "ogg-opus";
169
+ MediaEncoding["PCM"] = "pcm";
170
+ })(MediaEncoding = exports.MediaEncoding || (exports.MediaEncoding = {}));
171
+ var MedicalContentIdentificationType;
172
+ (function (MedicalContentIdentificationType) {
173
+ MedicalContentIdentificationType["PHI"] = "PHI";
174
+ })(MedicalContentIdentificationType = exports.MedicalContentIdentificationType || (exports.MedicalContentIdentificationType = {}));
123
175
  var MedicalTranscriptResultStream;
124
176
  (function (MedicalTranscriptResultStream) {
125
177
  MedicalTranscriptResultStream.visit = (value, visitor) => {
@@ -153,17 +205,17 @@ var Specialty;
153
205
  Specialty["RADIOLOGY"] = "RADIOLOGY";
154
206
  Specialty["UROLOGY"] = "UROLOGY";
155
207
  })(Specialty = exports.Specialty || (exports.Specialty = {}));
156
- var Type;
157
- (function (Type) {
158
- Type["CONVERSATION"] = "CONVERSATION";
159
- Type["DICTATION"] = "DICTATION";
160
- })(Type = exports.Type || (exports.Type = {}));
161
208
  var VocabularyFilterMethod;
162
209
  (function (VocabularyFilterMethod) {
163
210
  VocabularyFilterMethod["MASK"] = "mask";
164
211
  VocabularyFilterMethod["REMOVE"] = "remove";
165
212
  VocabularyFilterMethod["TAG"] = "tag";
166
213
  })(VocabularyFilterMethod = exports.VocabularyFilterMethod || (exports.VocabularyFilterMethod = {}));
214
+ var Type;
215
+ (function (Type) {
216
+ Type["CONVERSATION"] = "CONVERSATION";
217
+ Type["DICTATION"] = "DICTATION";
218
+ })(Type = exports.Type || (exports.Type = {}));
167
219
  var TranscriptResultStream;
168
220
  (function (TranscriptResultStream) {
169
221
  TranscriptResultStream.visit = (value, visitor) => {
@@ -198,13 +250,78 @@ const AudioEventFilterSensitiveLog = (obj) => ({
198
250
  ...obj,
199
251
  });
200
252
  exports.AudioEventFilterSensitiveLog = AudioEventFilterSensitiveLog;
253
+ const ChannelDefinitionFilterSensitiveLog = (obj) => ({
254
+ ...obj,
255
+ });
256
+ exports.ChannelDefinitionFilterSensitiveLog = ChannelDefinitionFilterSensitiveLog;
257
+ const PostCallAnalyticsSettingsFilterSensitiveLog = (obj) => ({
258
+ ...obj,
259
+ });
260
+ exports.PostCallAnalyticsSettingsFilterSensitiveLog = PostCallAnalyticsSettingsFilterSensitiveLog;
261
+ const ConfigurationEventFilterSensitiveLog = (obj) => ({
262
+ ...obj,
263
+ });
264
+ exports.ConfigurationEventFilterSensitiveLog = ConfigurationEventFilterSensitiveLog;
201
265
  const AudioStreamFilterSensitiveLog = (obj) => {
202
266
  if (obj.AudioEvent !== undefined)
203
267
  return { AudioEvent: (0, exports.AudioEventFilterSensitiveLog)(obj.AudioEvent) };
268
+ if (obj.ConfigurationEvent !== undefined)
269
+ return { ConfigurationEvent: (0, exports.ConfigurationEventFilterSensitiveLog)(obj.ConfigurationEvent) };
204
270
  if (obj.$unknown !== undefined)
205
271
  return { [obj.$unknown[0]]: "UNKNOWN" };
206
272
  };
207
273
  exports.AudioStreamFilterSensitiveLog = AudioStreamFilterSensitiveLog;
274
+ const CallAnalyticsEntityFilterSensitiveLog = (obj) => ({
275
+ ...obj,
276
+ });
277
+ exports.CallAnalyticsEntityFilterSensitiveLog = CallAnalyticsEntityFilterSensitiveLog;
278
+ const CallAnalyticsItemFilterSensitiveLog = (obj) => ({
279
+ ...obj,
280
+ });
281
+ exports.CallAnalyticsItemFilterSensitiveLog = CallAnalyticsItemFilterSensitiveLog;
282
+ const TimestampRangeFilterSensitiveLog = (obj) => ({
283
+ ...obj,
284
+ });
285
+ exports.TimestampRangeFilterSensitiveLog = TimestampRangeFilterSensitiveLog;
286
+ const PointsOfInterestFilterSensitiveLog = (obj) => ({
287
+ ...obj,
288
+ });
289
+ exports.PointsOfInterestFilterSensitiveLog = PointsOfInterestFilterSensitiveLog;
290
+ const CategoryEventFilterSensitiveLog = (obj) => ({
291
+ ...obj,
292
+ });
293
+ exports.CategoryEventFilterSensitiveLog = CategoryEventFilterSensitiveLog;
294
+ const CharacterOffsetsFilterSensitiveLog = (obj) => ({
295
+ ...obj,
296
+ });
297
+ exports.CharacterOffsetsFilterSensitiveLog = CharacterOffsetsFilterSensitiveLog;
298
+ const IssueDetectedFilterSensitiveLog = (obj) => ({
299
+ ...obj,
300
+ });
301
+ exports.IssueDetectedFilterSensitiveLog = IssueDetectedFilterSensitiveLog;
302
+ const UtteranceEventFilterSensitiveLog = (obj) => ({
303
+ ...obj,
304
+ });
305
+ exports.UtteranceEventFilterSensitiveLog = UtteranceEventFilterSensitiveLog;
306
+ const CallAnalyticsTranscriptResultStreamFilterSensitiveLog = (obj) => {
307
+ if (obj.UtteranceEvent !== undefined)
308
+ return { UtteranceEvent: (0, exports.UtteranceEventFilterSensitiveLog)(obj.UtteranceEvent) };
309
+ if (obj.CategoryEvent !== undefined)
310
+ return { CategoryEvent: (0, exports.CategoryEventFilterSensitiveLog)(obj.CategoryEvent) };
311
+ if (obj.BadRequestException !== undefined)
312
+ return { BadRequestException: obj.BadRequestException };
313
+ if (obj.LimitExceededException !== undefined)
314
+ return { LimitExceededException: obj.LimitExceededException };
315
+ if (obj.InternalFailureException !== undefined)
316
+ return { InternalFailureException: obj.InternalFailureException };
317
+ if (obj.ConflictException !== undefined)
318
+ return { ConflictException: obj.ConflictException };
319
+ if (obj.ServiceUnavailableException !== undefined)
320
+ return { ServiceUnavailableException: obj.ServiceUnavailableException };
321
+ if (obj.$unknown !== undefined)
322
+ return { [obj.$unknown[0]]: "UNKNOWN" };
323
+ };
324
+ exports.CallAnalyticsTranscriptResultStreamFilterSensitiveLog = CallAnalyticsTranscriptResultStreamFilterSensitiveLog;
208
325
  const LanguageWithScoreFilterSensitiveLog = (obj) => ({
209
326
  ...obj,
210
327
  });
@@ -254,6 +371,16 @@ const ResultFilterSensitiveLog = (obj) => ({
254
371
  ...obj,
255
372
  });
256
373
  exports.ResultFilterSensitiveLog = ResultFilterSensitiveLog;
374
+ const StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
375
+ ...obj,
376
+ ...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),
377
+ });
378
+ exports.StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog = StartCallAnalyticsStreamTranscriptionRequestFilterSensitiveLog;
379
+ const StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog = (obj) => ({
380
+ ...obj,
381
+ ...(obj.CallAnalyticsTranscriptResultStream && { CallAnalyticsTranscriptResultStream: "STREAMING_CONTENT" }),
382
+ });
383
+ exports.StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog = StartCallAnalyticsStreamTranscriptionResponseFilterSensitiveLog;
257
384
  const StartMedicalStreamTranscriptionRequestFilterSensitiveLog = (obj) => ({
258
385
  ...obj,
259
386
  ...(obj.AudioStream && { AudioStream: "STREAMING_CONTENT" }),