@aws-sdk/client-transcribe 3.99.0 → 3.105.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.
- package/CHANGELOG.md +30 -0
- package/README.md +24 -1
- package/dist-cjs/TranscribeClient.js +2 -0
- package/dist-cjs/models/models_0.js +8 -2
- package/dist-cjs/protocols/Aws_json1_1.js +27 -0
- package/dist-es/TranscribeClient.js +2 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +28 -2
- package/dist-types/Transcribe.d.ts +359 -109
- package/dist-types/TranscribeClient.d.ts +24 -1
- package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +25 -7
- package/dist-types/commands/CreateLanguageModelCommand.d.ts +18 -5
- package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +10 -8
- package/dist-types/commands/CreateVocabularyCommand.d.ts +8 -5
- package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +9 -3
- package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +3 -2
- package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +2 -2
- package/dist-types/commands/DeleteLanguageModelCommand.d.ts +3 -2
- package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +3 -3
- package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +2 -1
- package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +2 -3
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +3 -2
- package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +3 -2
- package/dist-types/commands/DescribeLanguageModelCommand.d.ts +7 -5
- package/dist-types/commands/GetCallAnalyticsCategoryCommand.d.ts +3 -1
- package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +11 -6
- package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +8 -4
- package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +7 -1
- package/dist-types/commands/GetTranscriptionJobCommand.d.ts +10 -5
- package/dist-types/commands/GetVocabularyCommand.d.ts +7 -1
- package/dist-types/commands/GetVocabularyFilterCommand.d.ts +7 -1
- package/dist-types/commands/ListCallAnalyticsCategoriesCommand.d.ts +3 -4
- package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +4 -1
- package/dist-types/commands/ListLanguageModelsCommand.d.ts +4 -4
- package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +4 -2
- package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +4 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -1
- package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +4 -1
- package/dist-types/commands/ListVocabulariesCommand.d.ts +4 -2
- package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +4 -1
- package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +48 -6
- package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +49 -1
- package/dist-types/commands/StartTranscriptionJobCommand.d.ts +35 -1
- package/dist-types/commands/TagResourceCommand.d.ts +3 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -1
- package/dist-types/commands/UpdateCallAnalyticsCategoryCommand.d.ts +4 -3
- package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +3 -4
- package/dist-types/commands/UpdateVocabularyCommand.d.ts +2 -3
- package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +3 -1
- package/dist-types/models/models_0.d.ts +2011 -1203
- package/dist-types/ts3.4/models/models_0.d.ts +27 -16
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.102.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.101.0...v3.102.0) (2022-05-31)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **client-transcribe:** Amazon Transcribe now supports automatic language identification for multi-lingual audio in batch mode. ([2c3c3cd](https://github.com/aws/aws-sdk-js-v3/commit/2c3c3cd1eb5556b1580d920f104531eef560aa7b))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-transcribe
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.99.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.98.0...v3.99.0) (2022-05-25)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-transcribe
|
package/README.md
CHANGED
|
@@ -9,7 +9,30 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Transcribe Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>
|
|
12
|
+
<p>Amazon Transcribe offers three main types of batch transcription:
|
|
13
|
+
<b>Standard</b>, <b>Medical</b>, and
|
|
14
|
+
<b>Call Analytics</b>.</p>
|
|
15
|
+
<ul>
|
|
16
|
+
<li>
|
|
17
|
+
<p>
|
|
18
|
+
<b>Standard transcriptions</b> are the most common
|
|
19
|
+
option. Refer to for details.</p>
|
|
20
|
+
</li>
|
|
21
|
+
<li>
|
|
22
|
+
<p>
|
|
23
|
+
<b>Medical transcriptions</b> are tailored to medical
|
|
24
|
+
professionals and incorporate medical terms. A common use case for this service is
|
|
25
|
+
transcribing doctor-patient dialogue into after-visit notes. Refer to
|
|
26
|
+
for details.</p>
|
|
27
|
+
</li>
|
|
28
|
+
<li>
|
|
29
|
+
<p>
|
|
30
|
+
<b>Call Analytics transcriptions</b> are designed for use
|
|
31
|
+
with call center audio on two different channels; if you're looking for insight into customer
|
|
32
|
+
service calls, use this option. Refer to for
|
|
33
|
+
details.</p>
|
|
34
|
+
</li>
|
|
35
|
+
</ul>
|
|
13
36
|
|
|
14
37
|
## Installing
|
|
15
38
|
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class TranscribeClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteCallAnalyticsJobRequest = exports.NotFoundException = exports.DeleteCallAnalyticsCategoryResponse = exports.DeleteCallAnalyticsCategoryRequest = exports.CreateVocabularyFilterResponse = exports.CreateVocabularyFilterRequest = exports.CreateVocabularyResponse = exports.CreateVocabularyRequest = exports.CreateMedicalVocabularyResponse = exports.VocabularyState = exports.CreateMedicalVocabularyRequest = exports.CreateLanguageModelResponse = exports.ModelStatus = exports.CreateLanguageModelRequest = exports.Tag = exports.InputDataConfig = exports.LimitExceededException = exports.InternalFailureException = exports.CreateCallAnalyticsCategoryResponse = exports.CreateCallAnalyticsCategoryRequest = exports.ConflictException = exports.CLMLanguageCode = exports.CategoryProperties = exports.Rule = exports.TranscriptFilter = exports.TranscriptFilterType = exports.SentimentFilter = exports.SentimentValue = exports.NonTalkTimeFilter = exports.InterruptionFilter = exports.RelativeTimeRange = exports.CallAnalyticsJobSummary = exports.CallAnalyticsJob = exports.Transcript = exports.CallAnalyticsJobSettings = exports.VocabularyFilterMethod = exports.LanguageIdSettings = exports.ContentRedaction = exports.RedactionType = exports.RedactionOutput = exports.PiiEntityType = exports.MediaFormat = exports.Media = exports.LanguageCode = exports.ChannelDefinition = exports.ParticipantRole = exports.CallAnalyticsJobStatus = exports.BaseModelName = exports.BadRequestException = exports.AbsoluteTimeRange = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateVocabularyFilterResponse = exports.UpdateVocabularyFilterRequest = exports.UpdateVocabularyResponse = exports.UpdateVocabularyRequest = exports.UpdateMedicalVocabularyResponse = exports.UpdateMedicalVocabularyRequest = exports.UpdateCallAnalyticsCategoryResponse = exports.UpdateCallAnalyticsCategoryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartTranscriptionJobResponse = exports.StartTranscriptionJobRequest = exports.Subtitles = exports.StartMedicalTranscriptionJobResponse = exports.StartMedicalTranscriptionJobRequest = exports.StartCallAnalyticsJobResponse = exports.StartCallAnalyticsJobRequest = exports.ListVocabularyFiltersResponse = exports.VocabularyFilterInfo = exports.ListVocabularyFiltersRequest = exports.ListVocabulariesResponse = exports.ListVocabulariesRequest = exports.ListTranscriptionJobsResponse = exports.TranscriptionJobSummary = exports.ListTranscriptionJobsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = void 0;
|
|
4
|
+
exports.VocabularyInfo = exports.ListMedicalVocabulariesRequest = exports.ListMedicalTranscriptionJobsResponse = exports.MedicalTranscriptionJobSummary = exports.OutputLocationType = exports.ListMedicalTranscriptionJobsRequest = exports.ListLanguageModelsResponse = exports.ListLanguageModelsRequest = exports.ListCallAnalyticsJobsResponse = exports.ListCallAnalyticsJobsRequest = exports.ListCallAnalyticsCategoriesResponse = exports.ListCallAnalyticsCategoriesRequest = exports.GetVocabularyFilterResponse = exports.GetVocabularyFilterRequest = exports.GetVocabularyResponse = exports.GetVocabularyRequest = exports.GetTranscriptionJobResponse = exports.TranscriptionJob = exports.SubtitlesOutput = exports.SubtitleFormat = exports.Settings = exports.ModelSettings = exports.LanguageCodeItem = exports.JobExecutionSettings = exports.GetTranscriptionJobRequest = exports.GetMedicalVocabularyResponse = exports.GetMedicalVocabularyRequest = exports.GetMedicalTranscriptionJobResponse = exports.MedicalTranscriptionJob = exports.Type = exports.TranscriptionJobStatus = exports.MedicalTranscript = exports.Specialty = exports.MedicalTranscriptionSetting = exports.MedicalContentIdentificationType = exports.GetMedicalTranscriptionJobRequest = exports.GetCallAnalyticsJobResponse = exports.GetCallAnalyticsJobRequest = exports.GetCallAnalyticsCategoryResponse = exports.GetCallAnalyticsCategoryRequest = exports.DescribeLanguageModelResponse = exports.LanguageModel = exports.DescribeLanguageModelRequest = exports.DeleteVocabularyFilterRequest = exports.DeleteVocabularyRequest = exports.DeleteTranscriptionJobRequest = exports.DeleteMedicalVocabularyRequest = exports.DeleteMedicalTranscriptionJobRequest = exports.DeleteLanguageModelRequest = exports.DeleteCallAnalyticsJobResponse = void 0;
|
|
5
|
+
exports.UpdateVocabularyFilterResponse = exports.UpdateVocabularyFilterRequest = exports.UpdateVocabularyResponse = exports.UpdateVocabularyRequest = exports.UpdateMedicalVocabularyResponse = exports.UpdateMedicalVocabularyRequest = exports.UpdateCallAnalyticsCategoryResponse = exports.UpdateCallAnalyticsCategoryRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartTranscriptionJobResponse = exports.StartTranscriptionJobRequest = exports.Subtitles = exports.StartMedicalTranscriptionJobResponse = exports.StartMedicalTranscriptionJobRequest = exports.StartCallAnalyticsJobResponse = exports.StartCallAnalyticsJobRequest = exports.ListVocabularyFiltersResponse = exports.VocabularyFilterInfo = exports.ListVocabularyFiltersRequest = exports.ListVocabulariesResponse = exports.ListVocabulariesRequest = exports.ListTranscriptionJobsResponse = exports.TranscriptionJobSummary = exports.ListTranscriptionJobsRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListMedicalVocabulariesResponse = void 0;
|
|
6
6
|
const TranscribeServiceException_1 = require("./TranscribeServiceException");
|
|
7
7
|
var AbsoluteTimeRange;
|
|
8
8
|
(function (AbsoluteTimeRange) {
|
|
@@ -577,6 +577,12 @@ var JobExecutionSettings;
|
|
|
577
577
|
...obj,
|
|
578
578
|
});
|
|
579
579
|
})(JobExecutionSettings = exports.JobExecutionSettings || (exports.JobExecutionSettings = {}));
|
|
580
|
+
var LanguageCodeItem;
|
|
581
|
+
(function (LanguageCodeItem) {
|
|
582
|
+
LanguageCodeItem.filterSensitiveLog = (obj) => ({
|
|
583
|
+
...obj,
|
|
584
|
+
});
|
|
585
|
+
})(LanguageCodeItem = exports.LanguageCodeItem || (exports.LanguageCodeItem = {}));
|
|
580
586
|
var ModelSettings;
|
|
581
587
|
(function (ModelSettings) {
|
|
582
588
|
ModelSettings.filterSensitiveLog = (obj) => ({
|
|
@@ -2702,6 +2702,8 @@ const serializeAws_json1_1StartTranscriptionJobRequest = (input, context) => {
|
|
|
2702
2702
|
}),
|
|
2703
2703
|
...(input.IdentifyLanguage !== undefined &&
|
|
2704
2704
|
input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage }),
|
|
2705
|
+
...(input.IdentifyMultipleLanguages !== undefined &&
|
|
2706
|
+
input.IdentifyMultipleLanguages !== null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages }),
|
|
2705
2707
|
...(input.JobExecutionSettings !== undefined &&
|
|
2706
2708
|
input.JobExecutionSettings !== null && {
|
|
2707
2709
|
JobExecutionSettings: serializeAws_json1_1JobExecutionSettings(input.JobExecutionSettings, context),
|
|
@@ -3177,6 +3179,23 @@ const deserializeAws_json1_1JobExecutionSettings = (output, context) => {
|
|
|
3177
3179
|
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
3178
3180
|
};
|
|
3179
3181
|
};
|
|
3182
|
+
const deserializeAws_json1_1LanguageCodeItem = (output, context) => {
|
|
3183
|
+
return {
|
|
3184
|
+
DurationInSeconds: (0, smithy_client_1.limitedParseFloat32)(output.DurationInSeconds),
|
|
3185
|
+
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3186
|
+
};
|
|
3187
|
+
};
|
|
3188
|
+
const deserializeAws_json1_1LanguageCodeList = (output, context) => {
|
|
3189
|
+
const retVal = (output || [])
|
|
3190
|
+
.filter((e) => e != null)
|
|
3191
|
+
.map((entry) => {
|
|
3192
|
+
if (entry === null) {
|
|
3193
|
+
return null;
|
|
3194
|
+
}
|
|
3195
|
+
return deserializeAws_json1_1LanguageCodeItem(entry, context);
|
|
3196
|
+
});
|
|
3197
|
+
return retVal;
|
|
3198
|
+
};
|
|
3180
3199
|
const deserializeAws_json1_1LanguageIdSettings = (output, context) => {
|
|
3181
3200
|
return {
|
|
3182
3201
|
LanguageModelName: (0, smithy_client_1.expectString)(output.LanguageModelName),
|
|
@@ -3639,10 +3658,14 @@ const deserializeAws_json1_1TranscriptionJob = (output, context) => {
|
|
|
3639
3658
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3640
3659
|
IdentifiedLanguageScore: (0, smithy_client_1.limitedParseFloat32)(output.IdentifiedLanguageScore),
|
|
3641
3660
|
IdentifyLanguage: (0, smithy_client_1.expectBoolean)(output.IdentifyLanguage),
|
|
3661
|
+
IdentifyMultipleLanguages: (0, smithy_client_1.expectBoolean)(output.IdentifyMultipleLanguages),
|
|
3642
3662
|
JobExecutionSettings: output.JobExecutionSettings !== undefined && output.JobExecutionSettings !== null
|
|
3643
3663
|
? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
|
|
3644
3664
|
: undefined,
|
|
3645
3665
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3666
|
+
LanguageCodes: output.LanguageCodes !== undefined && output.LanguageCodes !== null
|
|
3667
|
+
? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context)
|
|
3668
|
+
: undefined,
|
|
3646
3669
|
LanguageIdSettings: output.LanguageIdSettings !== undefined && output.LanguageIdSettings !== null
|
|
3647
3670
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
3648
3671
|
: undefined,
|
|
@@ -3701,7 +3724,11 @@ const deserializeAws_json1_1TranscriptionJobSummary = (output, context) => {
|
|
|
3701
3724
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3702
3725
|
IdentifiedLanguageScore: (0, smithy_client_1.limitedParseFloat32)(output.IdentifiedLanguageScore),
|
|
3703
3726
|
IdentifyLanguage: (0, smithy_client_1.expectBoolean)(output.IdentifyLanguage),
|
|
3727
|
+
IdentifyMultipleLanguages: (0, smithy_client_1.expectBoolean)(output.IdentifyMultipleLanguages),
|
|
3704
3728
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3729
|
+
LanguageCodes: output.LanguageCodes !== undefined && output.LanguageCodes !== null
|
|
3730
|
+
? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context)
|
|
3731
|
+
: undefined,
|
|
3705
3732
|
ModelSettings: output.ModelSettings !== undefined && output.ModelSettings !== null
|
|
3706
3733
|
? deserializeAws_json1_1ModelSettings(output.ModelSettings, context)
|
|
3707
3734
|
: undefined,
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var TranscribeClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -459,6 +459,10 @@ export var JobExecutionSettings;
|
|
|
459
459
|
(function (JobExecutionSettings) {
|
|
460
460
|
JobExecutionSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
461
|
})(JobExecutionSettings || (JobExecutionSettings = {}));
|
|
462
|
+
export var LanguageCodeItem;
|
|
463
|
+
(function (LanguageCodeItem) {
|
|
464
|
+
LanguageCodeItem.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
+
})(LanguageCodeItem || (LanguageCodeItem = {}));
|
|
462
466
|
export var ModelSettings;
|
|
463
467
|
(function (ModelSettings) {
|
|
464
468
|
ModelSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -3209,11 +3209,12 @@ var serializeAws_json1_1StartMedicalTranscriptionJobRequest = function (input, c
|
|
|
3209
3209
|
})), (input.Specialty !== undefined && input.Specialty !== null && { Specialty: input.Specialty })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Type !== undefined && input.Type !== null && { Type: input.Type }));
|
|
3210
3210
|
};
|
|
3211
3211
|
var serializeAws_json1_1StartTranscriptionJobRequest = function (input, context) {
|
|
3212
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction !== undefined &&
|
|
3212
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction !== undefined &&
|
|
3213
3213
|
input.ContentRedaction !== null && {
|
|
3214
3214
|
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
3215
3215
|
})), (input.IdentifyLanguage !== undefined &&
|
|
3216
|
-
input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage })), (input.
|
|
3216
|
+
input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage })), (input.IdentifyMultipleLanguages !== undefined &&
|
|
3217
|
+
input.IdentifyMultipleLanguages !== null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages })), (input.JobExecutionSettings !== undefined &&
|
|
3217
3218
|
input.JobExecutionSettings !== null && {
|
|
3218
3219
|
JobExecutionSettings: serializeAws_json1_1JobExecutionSettings(input.JobExecutionSettings, context),
|
|
3219
3220
|
})), (input.KMSEncryptionContext !== undefined &&
|
|
@@ -3637,6 +3638,23 @@ var deserializeAws_json1_1JobExecutionSettings = function (output, context) {
|
|
|
3637
3638
|
DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
|
|
3638
3639
|
};
|
|
3639
3640
|
};
|
|
3641
|
+
var deserializeAws_json1_1LanguageCodeItem = function (output, context) {
|
|
3642
|
+
return {
|
|
3643
|
+
DurationInSeconds: __limitedParseFloat32(output.DurationInSeconds),
|
|
3644
|
+
LanguageCode: __expectString(output.LanguageCode),
|
|
3645
|
+
};
|
|
3646
|
+
};
|
|
3647
|
+
var deserializeAws_json1_1LanguageCodeList = function (output, context) {
|
|
3648
|
+
var retVal = (output || [])
|
|
3649
|
+
.filter(function (e) { return e != null; })
|
|
3650
|
+
.map(function (entry) {
|
|
3651
|
+
if (entry === null) {
|
|
3652
|
+
return null;
|
|
3653
|
+
}
|
|
3654
|
+
return deserializeAws_json1_1LanguageCodeItem(entry, context);
|
|
3655
|
+
});
|
|
3656
|
+
return retVal;
|
|
3657
|
+
};
|
|
3640
3658
|
var deserializeAws_json1_1LanguageIdSettings = function (output, context) {
|
|
3641
3659
|
return {
|
|
3642
3660
|
LanguageModelName: __expectString(output.LanguageModelName),
|
|
@@ -4098,10 +4116,14 @@ var deserializeAws_json1_1TranscriptionJob = function (output, context) {
|
|
|
4098
4116
|
FailureReason: __expectString(output.FailureReason),
|
|
4099
4117
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
4100
4118
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
4119
|
+
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
4101
4120
|
JobExecutionSettings: output.JobExecutionSettings !== undefined && output.JobExecutionSettings !== null
|
|
4102
4121
|
? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
|
|
4103
4122
|
: undefined,
|
|
4104
4123
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4124
|
+
LanguageCodes: output.LanguageCodes !== undefined && output.LanguageCodes !== null
|
|
4125
|
+
? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context)
|
|
4126
|
+
: undefined,
|
|
4105
4127
|
LanguageIdSettings: output.LanguageIdSettings !== undefined && output.LanguageIdSettings !== null
|
|
4106
4128
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
4107
4129
|
: undefined,
|
|
@@ -4160,7 +4182,11 @@ var deserializeAws_json1_1TranscriptionJobSummary = function (output, context) {
|
|
|
4160
4182
|
FailureReason: __expectString(output.FailureReason),
|
|
4161
4183
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
4162
4184
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
4185
|
+
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
4163
4186
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4187
|
+
LanguageCodes: output.LanguageCodes !== undefined && output.LanguageCodes !== null
|
|
4188
|
+
? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context)
|
|
4189
|
+
: undefined,
|
|
4164
4190
|
ModelSettings: output.ModelSettings !== undefined && output.ModelSettings !== null
|
|
4165
4191
|
? deserializeAws_json1_1ModelSettings(output.ModelSettings, context)
|
|
4166
4192
|
: undefined,
|