@aws-sdk/client-transcribe 3.30.0 → 3.34.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 +41 -0
- package/dist/cjs/TranscribeClient.js +13 -13
- package/dist/cjs/TranscribeClient.js.map +1 -1
- package/dist/cjs/commands/CreateCallAnalyticsCategoryCommand.js +3 -3
- package/dist/cjs/commands/CreateCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/cjs/commands/CreateLanguageModelCommand.js +3 -3
- package/dist/cjs/commands/CreateLanguageModelCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMedicalVocabularyCommand.js +3 -3
- package/dist/cjs/commands/CreateMedicalVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateVocabularyCommand.js +3 -3
- package/dist/cjs/commands/CreateVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/CreateVocabularyFilterCommand.js +3 -3
- package/dist/cjs/commands/CreateVocabularyFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCallAnalyticsCategoryCommand.js +3 -3
- package/dist/cjs/commands/DeleteCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteCallAnalyticsJobCommand.js +3 -3
- package/dist/cjs/commands/DeleteCallAnalyticsJobCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteLanguageModelCommand.js +3 -3
- package/dist/cjs/commands/DeleteLanguageModelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMedicalTranscriptionJobCommand.js +3 -3
- package/dist/cjs/commands/DeleteMedicalTranscriptionJobCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMedicalVocabularyCommand.js +3 -3
- package/dist/cjs/commands/DeleteMedicalVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTranscriptionJobCommand.js +3 -3
- package/dist/cjs/commands/DeleteTranscriptionJobCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteVocabularyCommand.js +3 -3
- package/dist/cjs/commands/DeleteVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteVocabularyFilterCommand.js +3 -3
- package/dist/cjs/commands/DeleteVocabularyFilterCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLanguageModelCommand.js +3 -3
- package/dist/cjs/commands/DescribeLanguageModelCommand.js.map +1 -1
- package/dist/cjs/commands/GetCallAnalyticsCategoryCommand.js +3 -3
- package/dist/cjs/commands/GetCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/cjs/commands/GetCallAnalyticsJobCommand.js +3 -3
- package/dist/cjs/commands/GetCallAnalyticsJobCommand.js.map +1 -1
- package/dist/cjs/commands/GetMedicalTranscriptionJobCommand.js +3 -3
- package/dist/cjs/commands/GetMedicalTranscriptionJobCommand.js.map +1 -1
- package/dist/cjs/commands/GetMedicalVocabularyCommand.js +3 -3
- package/dist/cjs/commands/GetMedicalVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/GetTranscriptionJobCommand.js +3 -3
- package/dist/cjs/commands/GetTranscriptionJobCommand.js.map +1 -1
- package/dist/cjs/commands/GetVocabularyCommand.js +3 -3
- package/dist/cjs/commands/GetVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/GetVocabularyFilterCommand.js +3 -3
- package/dist/cjs/commands/GetVocabularyFilterCommand.js.map +1 -1
- package/dist/cjs/commands/ListCallAnalyticsCategoriesCommand.js +3 -3
- package/dist/cjs/commands/ListCallAnalyticsCategoriesCommand.js.map +1 -1
- package/dist/cjs/commands/ListCallAnalyticsJobsCommand.js +3 -3
- package/dist/cjs/commands/ListCallAnalyticsJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListLanguageModelsCommand.js +3 -3
- package/dist/cjs/commands/ListLanguageModelsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMedicalTranscriptionJobsCommand.js +3 -3
- package/dist/cjs/commands/ListMedicalTranscriptionJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListMedicalVocabulariesCommand.js +3 -3
- package/dist/cjs/commands/ListMedicalVocabulariesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListTranscriptionJobsCommand.js +3 -3
- package/dist/cjs/commands/ListTranscriptionJobsCommand.js.map +1 -1
- package/dist/cjs/commands/ListVocabulariesCommand.js +3 -3
- package/dist/cjs/commands/ListVocabulariesCommand.js.map +1 -1
- package/dist/cjs/commands/ListVocabularyFiltersCommand.js +3 -3
- package/dist/cjs/commands/ListVocabularyFiltersCommand.js.map +1 -1
- package/dist/cjs/commands/StartCallAnalyticsJobCommand.js +3 -3
- package/dist/cjs/commands/StartCallAnalyticsJobCommand.js.map +1 -1
- package/dist/cjs/commands/StartMedicalTranscriptionJobCommand.js +3 -3
- package/dist/cjs/commands/StartMedicalTranscriptionJobCommand.js.map +1 -1
- package/dist/cjs/commands/StartTranscriptionJobCommand.js +3 -3
- package/dist/cjs/commands/StartTranscriptionJobCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateCallAnalyticsCategoryCommand.js +3 -3
- package/dist/cjs/commands/UpdateCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMedicalVocabularyCommand.js +3 -3
- package/dist/cjs/commands/UpdateMedicalVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateVocabularyCommand.js +3 -3
- package/dist/cjs/commands/UpdateVocabularyCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateVocabularyFilterCommand.js +3 -3
- package/dist/cjs/commands/UpdateVocabularyFilterCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +51 -51
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +25 -2
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +39 -39
- package/dist/cjs/protocols/Aws_json1_1.js +270 -200
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/Transcribe.js +1 -4
- package/dist/es/Transcribe.js.map +1 -1
- package/dist/es/TranscribeClient.js +1 -9
- package/dist/es/TranscribeClient.js.map +1 -1
- package/dist/es/commands/CreateCallAnalyticsCategoryCommand.js +2 -31
- package/dist/es/commands/CreateCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/es/commands/CreateLanguageModelCommand.js +2 -28
- package/dist/es/commands/CreateLanguageModelCommand.js.map +1 -1
- package/dist/es/commands/CreateMedicalVocabularyCommand.js +2 -27
- package/dist/es/commands/CreateMedicalVocabularyCommand.js.map +1 -1
- package/dist/es/commands/CreateVocabularyCommand.js +2 -28
- package/dist/es/commands/CreateVocabularyCommand.js.map +1 -1
- package/dist/es/commands/CreateVocabularyFilterCommand.js +2 -28
- package/dist/es/commands/CreateVocabularyFilterCommand.js.map +1 -1
- package/dist/es/commands/DeleteCallAnalyticsCategoryCommand.js +2 -27
- package/dist/es/commands/DeleteCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/es/commands/DeleteCallAnalyticsJobCommand.js +2 -27
- package/dist/es/commands/DeleteCallAnalyticsJobCommand.js.map +1 -1
- package/dist/es/commands/DeleteLanguageModelCommand.js +2 -27
- package/dist/es/commands/DeleteLanguageModelCommand.js.map +1 -1
- package/dist/es/commands/DeleteMedicalTranscriptionJobCommand.js +2 -27
- package/dist/es/commands/DeleteMedicalTranscriptionJobCommand.js.map +1 -1
- package/dist/es/commands/DeleteMedicalVocabularyCommand.js +2 -27
- package/dist/es/commands/DeleteMedicalVocabularyCommand.js.map +1 -1
- package/dist/es/commands/DeleteTranscriptionJobCommand.js +2 -28
- package/dist/es/commands/DeleteTranscriptionJobCommand.js.map +1 -1
- package/dist/es/commands/DeleteVocabularyCommand.js +2 -27
- package/dist/es/commands/DeleteVocabularyCommand.js.map +1 -1
- package/dist/es/commands/DeleteVocabularyFilterCommand.js +2 -27
- package/dist/es/commands/DeleteVocabularyFilterCommand.js.map +1 -1
- package/dist/es/commands/DescribeLanguageModelCommand.js +2 -31
- package/dist/es/commands/DescribeLanguageModelCommand.js.map +1 -1
- package/dist/es/commands/GetCallAnalyticsCategoryCommand.js +2 -27
- package/dist/es/commands/GetCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/es/commands/GetCallAnalyticsJobCommand.js +2 -31
- package/dist/es/commands/GetCallAnalyticsJobCommand.js.map +1 -1
- package/dist/es/commands/GetMedicalTranscriptionJobCommand.js +2 -29
- package/dist/es/commands/GetMedicalTranscriptionJobCommand.js.map +1 -1
- package/dist/es/commands/GetMedicalVocabularyCommand.js +2 -27
- package/dist/es/commands/GetMedicalVocabularyCommand.js.map +1 -1
- package/dist/es/commands/GetTranscriptionJobCommand.js +2 -30
- package/dist/es/commands/GetTranscriptionJobCommand.js.map +1 -1
- package/dist/es/commands/GetVocabularyCommand.js +2 -27
- package/dist/es/commands/GetVocabularyCommand.js.map +1 -1
- package/dist/es/commands/GetVocabularyFilterCommand.js +2 -27
- package/dist/es/commands/GetVocabularyFilterCommand.js.map +1 -1
- package/dist/es/commands/ListCallAnalyticsCategoriesCommand.js +2 -29
- package/dist/es/commands/ListCallAnalyticsCategoriesCommand.js.map +1 -1
- package/dist/es/commands/ListCallAnalyticsJobsCommand.js +2 -27
- package/dist/es/commands/ListCallAnalyticsJobsCommand.js.map +1 -1
- package/dist/es/commands/ListLanguageModelsCommand.js +2 -29
- package/dist/es/commands/ListLanguageModelsCommand.js.map +1 -1
- package/dist/es/commands/ListMedicalTranscriptionJobsCommand.js +2 -27
- package/dist/es/commands/ListMedicalTranscriptionJobsCommand.js.map +1 -1
- package/dist/es/commands/ListMedicalVocabulariesCommand.js +2 -28
- package/dist/es/commands/ListMedicalVocabulariesCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/ListTranscriptionJobsCommand.js +2 -27
- package/dist/es/commands/ListTranscriptionJobsCommand.js.map +1 -1
- package/dist/es/commands/ListVocabulariesCommand.js +2 -28
- package/dist/es/commands/ListVocabulariesCommand.js.map +1 -1
- package/dist/es/commands/ListVocabularyFiltersCommand.js +2 -27
- package/dist/es/commands/ListVocabularyFiltersCommand.js.map +1 -1
- package/dist/es/commands/StartCallAnalyticsJobCommand.js +2 -31
- package/dist/es/commands/StartCallAnalyticsJobCommand.js.map +1 -1
- package/dist/es/commands/StartMedicalTranscriptionJobCommand.js +2 -27
- package/dist/es/commands/StartMedicalTranscriptionJobCommand.js.map +1 -1
- package/dist/es/commands/StartTranscriptionJobCommand.js +2 -27
- package/dist/es/commands/StartTranscriptionJobCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -27
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateCallAnalyticsCategoryCommand.js +2 -28
- package/dist/es/commands/UpdateCallAnalyticsCategoryCommand.js.map +1 -1
- package/dist/es/commands/UpdateMedicalVocabularyCommand.js +2 -29
- package/dist/es/commands/UpdateMedicalVocabularyCommand.js.map +1 -1
- package/dist/es/commands/UpdateVocabularyCommand.js +2 -28
- package/dist/es/commands/UpdateVocabularyCommand.js.map +1 -1
- package/dist/es/commands/UpdateVocabularyFilterCommand.js +2 -27
- package/dist/es/commands/UpdateVocabularyFilterCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +13 -318
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/ListCallAnalyticsCategoriesPaginator.js +16 -28
- package/dist/es/pagination/ListCallAnalyticsCategoriesPaginator.js.map +1 -1
- package/dist/es/pagination/ListCallAnalyticsJobsPaginator.js +16 -28
- package/dist/es/pagination/ListCallAnalyticsJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListLanguageModelsPaginator.js +16 -28
- package/dist/es/pagination/ListLanguageModelsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMedicalTranscriptionJobsPaginator.js +16 -28
- package/dist/es/pagination/ListMedicalTranscriptionJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMedicalVocabulariesPaginator.js +16 -28
- package/dist/es/pagination/ListMedicalVocabulariesPaginator.js.map +1 -1
- package/dist/es/pagination/ListTranscriptionJobsPaginator.js +16 -28
- package/dist/es/pagination/ListTranscriptionJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListVocabulariesPaginator.js +16 -28
- package/dist/es/pagination/ListVocabulariesPaginator.js.map +1 -1
- package/dist/es/pagination/ListVocabularyFiltersPaginator.js +16 -28
- package/dist/es/pagination/ListVocabularyFiltersPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +980 -921
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/types/models/models_0.d.ts +63 -2
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/models/models_0.d.ts +63 -2
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/models/models_0.ts +73 -2
- package/package.json +39 -39
- package/protocols/Aws_json1_1.ts +123 -34
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3375,6 +3375,17 @@ const serializeAws_json1_1JobExecutionSettings = (input, context) => {
|
|
|
3375
3375
|
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
3376
3376
|
};
|
|
3377
3377
|
};
|
|
3378
|
+
const serializeAws_json1_1KMSEncryptionContextMap = (input, context) => {
|
|
3379
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3380
|
+
if (value === null) {
|
|
3381
|
+
return acc;
|
|
3382
|
+
}
|
|
3383
|
+
return {
|
|
3384
|
+
...acc,
|
|
3385
|
+
[key]: value,
|
|
3386
|
+
};
|
|
3387
|
+
}, {});
|
|
3388
|
+
};
|
|
3378
3389
|
const serializeAws_json1_1LanguageOptions = (input, context) => {
|
|
3379
3390
|
return input
|
|
3380
3391
|
.filter((e) => e != null)
|
|
@@ -3606,6 +3617,10 @@ const serializeAws_json1_1StartMedicalTranscriptionJobRequest = (input, context)
|
|
|
3606
3617
|
return {
|
|
3607
3618
|
...(input.ContentIdentificationType !== undefined &&
|
|
3608
3619
|
input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
3620
|
+
...(input.KMSEncryptionContext !== undefined &&
|
|
3621
|
+
input.KMSEncryptionContext !== null && {
|
|
3622
|
+
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
3623
|
+
}),
|
|
3609
3624
|
...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
|
|
3610
3625
|
...(input.Media !== undefined &&
|
|
3611
3626
|
input.Media !== null && { Media: serializeAws_json1_1Media(input.Media, context) }),
|
|
@@ -3640,6 +3655,10 @@ const serializeAws_json1_1StartTranscriptionJobRequest = (input, context) => {
|
|
|
3640
3655
|
input.JobExecutionSettings !== null && {
|
|
3641
3656
|
JobExecutionSettings: serializeAws_json1_1JobExecutionSettings(input.JobExecutionSettings, context),
|
|
3642
3657
|
}),
|
|
3658
|
+
...(input.KMSEncryptionContext !== undefined &&
|
|
3659
|
+
input.KMSEncryptionContext !== null && {
|
|
3660
|
+
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
3661
|
+
}),
|
|
3643
3662
|
...(input.LanguageCode !== undefined && input.LanguageCode !== null && { LanguageCode: input.LanguageCode }),
|
|
3644
3663
|
...(input.LanguageOptions !== undefined &&
|
|
3645
3664
|
input.LanguageOptions !== null && {
|
|
@@ -3661,6 +3680,8 @@ const serializeAws_json1_1StartTranscriptionJobRequest = (input, context) => {
|
|
|
3661
3680
|
...(input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey }),
|
|
3662
3681
|
...(input.Settings !== undefined &&
|
|
3663
3682
|
input.Settings !== null && { Settings: serializeAws_json1_1Settings(input.Settings, context) }),
|
|
3683
|
+
...(input.Subtitles !== undefined &&
|
|
3684
|
+
input.Subtitles !== null && { Subtitles: serializeAws_json1_1Subtitles(input.Subtitles, context) }),
|
|
3664
3685
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
3665
3686
|
...(input.TranscriptionJobName !== undefined &&
|
|
3666
3687
|
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
@@ -3676,6 +3697,22 @@ const serializeAws_json1_1StringTargetList = (input, context) => {
|
|
|
3676
3697
|
return entry;
|
|
3677
3698
|
});
|
|
3678
3699
|
};
|
|
3700
|
+
const serializeAws_json1_1SubtitleFormats = (input, context) => {
|
|
3701
|
+
return input
|
|
3702
|
+
.filter((e) => e != null)
|
|
3703
|
+
.map((entry) => {
|
|
3704
|
+
if (entry === null) {
|
|
3705
|
+
return null;
|
|
3706
|
+
}
|
|
3707
|
+
return entry;
|
|
3708
|
+
});
|
|
3709
|
+
};
|
|
3710
|
+
const serializeAws_json1_1Subtitles = (input, context) => {
|
|
3711
|
+
return {
|
|
3712
|
+
...(input.Formats !== undefined &&
|
|
3713
|
+
input.Formats !== null && { Formats: serializeAws_json1_1SubtitleFormats(input.Formats, context) }),
|
|
3714
|
+
};
|
|
3715
|
+
};
|
|
3679
3716
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
3680
3717
|
return {
|
|
3681
3718
|
...(input.Key !== undefined && input.Key !== null && { Key: input.Key }),
|
|
@@ -3783,44 +3820,44 @@ const serializeAws_json1_1Words = (input, context) => {
|
|
|
3783
3820
|
};
|
|
3784
3821
|
const deserializeAws_json1_1AbsoluteTimeRange = (output, context) => {
|
|
3785
3822
|
return {
|
|
3786
|
-
EndTime:
|
|
3787
|
-
First:
|
|
3788
|
-
Last:
|
|
3789
|
-
StartTime:
|
|
3823
|
+
EndTime: smithy_client_1.expectLong(output.EndTime),
|
|
3824
|
+
First: smithy_client_1.expectLong(output.First),
|
|
3825
|
+
Last: smithy_client_1.expectLong(output.Last),
|
|
3826
|
+
StartTime: smithy_client_1.expectLong(output.StartTime),
|
|
3790
3827
|
};
|
|
3791
3828
|
};
|
|
3792
3829
|
const deserializeAws_json1_1BadRequestException = (output, context) => {
|
|
3793
3830
|
return {
|
|
3794
|
-
Message:
|
|
3831
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3795
3832
|
};
|
|
3796
3833
|
};
|
|
3797
3834
|
const deserializeAws_json1_1CallAnalyticsJob = (output, context) => {
|
|
3798
3835
|
return {
|
|
3799
|
-
CallAnalyticsJobName:
|
|
3800
|
-
CallAnalyticsJobStatus:
|
|
3836
|
+
CallAnalyticsJobName: smithy_client_1.expectString(output.CallAnalyticsJobName),
|
|
3837
|
+
CallAnalyticsJobStatus: smithy_client_1.expectString(output.CallAnalyticsJobStatus),
|
|
3801
3838
|
ChannelDefinitions: output.ChannelDefinitions !== undefined && output.ChannelDefinitions !== null
|
|
3802
3839
|
? deserializeAws_json1_1ChannelDefinitions(output.ChannelDefinitions, context)
|
|
3803
3840
|
: undefined,
|
|
3804
3841
|
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
3805
|
-
?
|
|
3842
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
3806
3843
|
: undefined,
|
|
3807
3844
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3808
|
-
?
|
|
3845
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3809
3846
|
: undefined,
|
|
3810
|
-
DataAccessRoleArn:
|
|
3811
|
-
FailureReason:
|
|
3812
|
-
IdentifiedLanguageScore:
|
|
3813
|
-
LanguageCode:
|
|
3847
|
+
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
3848
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
3849
|
+
IdentifiedLanguageScore: smithy_client_1.limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
3850
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
3814
3851
|
Media: output.Media !== undefined && output.Media !== null
|
|
3815
3852
|
? deserializeAws_json1_1Media(output.Media, context)
|
|
3816
3853
|
: undefined,
|
|
3817
|
-
MediaFormat:
|
|
3818
|
-
MediaSampleRateHertz:
|
|
3854
|
+
MediaFormat: smithy_client_1.expectString(output.MediaFormat),
|
|
3855
|
+
MediaSampleRateHertz: smithy_client_1.expectInt32(output.MediaSampleRateHertz),
|
|
3819
3856
|
Settings: output.Settings !== undefined && output.Settings !== null
|
|
3820
3857
|
? deserializeAws_json1_1CallAnalyticsJobSettings(output.Settings, context)
|
|
3821
3858
|
: undefined,
|
|
3822
3859
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3823
|
-
?
|
|
3860
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
3824
3861
|
: undefined,
|
|
3825
3862
|
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
3826
3863
|
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
@@ -3832,13 +3869,13 @@ const deserializeAws_json1_1CallAnalyticsJobSettings = (output, context) => {
|
|
|
3832
3869
|
ContentRedaction: output.ContentRedaction !== undefined && output.ContentRedaction !== null
|
|
3833
3870
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
3834
3871
|
: undefined,
|
|
3835
|
-
LanguageModelName:
|
|
3872
|
+
LanguageModelName: smithy_client_1.expectString(output.LanguageModelName),
|
|
3836
3873
|
LanguageOptions: output.LanguageOptions !== undefined && output.LanguageOptions !== null
|
|
3837
3874
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
3838
3875
|
: undefined,
|
|
3839
|
-
VocabularyFilterMethod:
|
|
3840
|
-
VocabularyFilterName:
|
|
3841
|
-
VocabularyName:
|
|
3876
|
+
VocabularyFilterMethod: smithy_client_1.expectString(output.VocabularyFilterMethod),
|
|
3877
|
+
VocabularyFilterName: smithy_client_1.expectString(output.VocabularyFilterName),
|
|
3878
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
3842
3879
|
};
|
|
3843
3880
|
};
|
|
3844
3881
|
const deserializeAws_json1_1CallAnalyticsJobSummaries = (output, context) => {
|
|
@@ -3853,29 +3890,29 @@ const deserializeAws_json1_1CallAnalyticsJobSummaries = (output, context) => {
|
|
|
3853
3890
|
};
|
|
3854
3891
|
const deserializeAws_json1_1CallAnalyticsJobSummary = (output, context) => {
|
|
3855
3892
|
return {
|
|
3856
|
-
CallAnalyticsJobName:
|
|
3857
|
-
CallAnalyticsJobStatus:
|
|
3893
|
+
CallAnalyticsJobName: smithy_client_1.expectString(output.CallAnalyticsJobName),
|
|
3894
|
+
CallAnalyticsJobStatus: smithy_client_1.expectString(output.CallAnalyticsJobStatus),
|
|
3858
3895
|
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
3859
|
-
?
|
|
3896
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
3860
3897
|
: undefined,
|
|
3861
3898
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
3862
|
-
?
|
|
3899
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
3863
3900
|
: undefined,
|
|
3864
|
-
FailureReason:
|
|
3865
|
-
LanguageCode:
|
|
3901
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
3902
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
3866
3903
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3867
|
-
?
|
|
3904
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
3868
3905
|
: undefined,
|
|
3869
3906
|
};
|
|
3870
3907
|
};
|
|
3871
3908
|
const deserializeAws_json1_1CategoryProperties = (output, context) => {
|
|
3872
3909
|
return {
|
|
3873
|
-
CategoryName:
|
|
3910
|
+
CategoryName: smithy_client_1.expectString(output.CategoryName),
|
|
3874
3911
|
CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
|
|
3875
|
-
?
|
|
3912
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTime)))
|
|
3876
3913
|
: undefined,
|
|
3877
3914
|
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
3878
|
-
?
|
|
3915
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdateTime)))
|
|
3879
3916
|
: undefined,
|
|
3880
3917
|
Rules: output.Rules !== undefined && output.Rules !== null
|
|
3881
3918
|
? deserializeAws_json1_1RuleList(output.Rules, context)
|
|
@@ -3894,8 +3931,8 @@ const deserializeAws_json1_1CategoryPropertiesList = (output, context) => {
|
|
|
3894
3931
|
};
|
|
3895
3932
|
const deserializeAws_json1_1ChannelDefinition = (output, context) => {
|
|
3896
3933
|
return {
|
|
3897
|
-
ChannelId:
|
|
3898
|
-
ParticipantRole:
|
|
3934
|
+
ChannelId: smithy_client_1.expectInt32(output.ChannelId),
|
|
3935
|
+
ParticipantRole: smithy_client_1.expectString(output.ParticipantRole),
|
|
3899
3936
|
};
|
|
3900
3937
|
};
|
|
3901
3938
|
const deserializeAws_json1_1ChannelDefinitions = (output, context) => {
|
|
@@ -3910,13 +3947,13 @@ const deserializeAws_json1_1ChannelDefinitions = (output, context) => {
|
|
|
3910
3947
|
};
|
|
3911
3948
|
const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
3912
3949
|
return {
|
|
3913
|
-
Message:
|
|
3950
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
3914
3951
|
};
|
|
3915
3952
|
};
|
|
3916
3953
|
const deserializeAws_json1_1ContentRedaction = (output, context) => {
|
|
3917
3954
|
return {
|
|
3918
|
-
RedactionOutput:
|
|
3919
|
-
RedactionType:
|
|
3955
|
+
RedactionOutput: smithy_client_1.expectString(output.RedactionOutput),
|
|
3956
|
+
RedactionType: smithy_client_1.expectString(output.RedactionType),
|
|
3920
3957
|
};
|
|
3921
3958
|
};
|
|
3922
3959
|
const deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = (output, context) => {
|
|
@@ -3928,44 +3965,44 @@ const deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = (output, conte
|
|
|
3928
3965
|
};
|
|
3929
3966
|
const deserializeAws_json1_1CreateLanguageModelResponse = (output, context) => {
|
|
3930
3967
|
return {
|
|
3931
|
-
BaseModelName:
|
|
3968
|
+
BaseModelName: smithy_client_1.expectString(output.BaseModelName),
|
|
3932
3969
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
3933
3970
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3934
3971
|
: undefined,
|
|
3935
|
-
LanguageCode:
|
|
3936
|
-
ModelName:
|
|
3937
|
-
ModelStatus:
|
|
3972
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
3973
|
+
ModelName: smithy_client_1.expectString(output.ModelName),
|
|
3974
|
+
ModelStatus: smithy_client_1.expectString(output.ModelStatus),
|
|
3938
3975
|
};
|
|
3939
3976
|
};
|
|
3940
3977
|
const deserializeAws_json1_1CreateMedicalVocabularyResponse = (output, context) => {
|
|
3941
3978
|
return {
|
|
3942
|
-
FailureReason:
|
|
3943
|
-
LanguageCode:
|
|
3979
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
3980
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
3944
3981
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3945
|
-
?
|
|
3982
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
3946
3983
|
: undefined,
|
|
3947
|
-
VocabularyName:
|
|
3948
|
-
VocabularyState:
|
|
3984
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
3985
|
+
VocabularyState: smithy_client_1.expectString(output.VocabularyState),
|
|
3949
3986
|
};
|
|
3950
3987
|
};
|
|
3951
3988
|
const deserializeAws_json1_1CreateVocabularyFilterResponse = (output, context) => {
|
|
3952
3989
|
return {
|
|
3953
|
-
LanguageCode:
|
|
3990
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
3954
3991
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3955
|
-
?
|
|
3992
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
3956
3993
|
: undefined,
|
|
3957
|
-
VocabularyFilterName:
|
|
3994
|
+
VocabularyFilterName: smithy_client_1.expectString(output.VocabularyFilterName),
|
|
3958
3995
|
};
|
|
3959
3996
|
};
|
|
3960
3997
|
const deserializeAws_json1_1CreateVocabularyResponse = (output, context) => {
|
|
3961
3998
|
return {
|
|
3962
|
-
FailureReason:
|
|
3963
|
-
LanguageCode:
|
|
3999
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4000
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
3964
4001
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
3965
|
-
?
|
|
4002
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
3966
4003
|
: undefined,
|
|
3967
|
-
VocabularyName:
|
|
3968
|
-
VocabularyState:
|
|
4004
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4005
|
+
VocabularyState: smithy_client_1.expectString(output.VocabularyState),
|
|
3969
4006
|
};
|
|
3970
4007
|
};
|
|
3971
4008
|
const deserializeAws_json1_1DeleteCallAnalyticsCategoryResponse = (output, context) => {
|
|
@@ -4004,14 +4041,14 @@ const deserializeAws_json1_1GetMedicalTranscriptionJobResponse = (output, contex
|
|
|
4004
4041
|
};
|
|
4005
4042
|
const deserializeAws_json1_1GetMedicalVocabularyResponse = (output, context) => {
|
|
4006
4043
|
return {
|
|
4007
|
-
DownloadUri:
|
|
4008
|
-
FailureReason:
|
|
4009
|
-
LanguageCode:
|
|
4044
|
+
DownloadUri: smithy_client_1.expectString(output.DownloadUri),
|
|
4045
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4046
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4010
4047
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4011
|
-
?
|
|
4048
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4012
4049
|
: undefined,
|
|
4013
|
-
VocabularyName:
|
|
4014
|
-
VocabularyState:
|
|
4050
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4051
|
+
VocabularyState: smithy_client_1.expectString(output.VocabularyState),
|
|
4015
4052
|
};
|
|
4016
4053
|
};
|
|
4017
4054
|
const deserializeAws_json1_1GetTranscriptionJobResponse = (output, context) => {
|
|
@@ -4023,36 +4060,36 @@ const deserializeAws_json1_1GetTranscriptionJobResponse = (output, context) => {
|
|
|
4023
4060
|
};
|
|
4024
4061
|
const deserializeAws_json1_1GetVocabularyFilterResponse = (output, context) => {
|
|
4025
4062
|
return {
|
|
4026
|
-
DownloadUri:
|
|
4027
|
-
LanguageCode:
|
|
4063
|
+
DownloadUri: smithy_client_1.expectString(output.DownloadUri),
|
|
4064
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4028
4065
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4029
|
-
?
|
|
4066
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4030
4067
|
: undefined,
|
|
4031
|
-
VocabularyFilterName:
|
|
4068
|
+
VocabularyFilterName: smithy_client_1.expectString(output.VocabularyFilterName),
|
|
4032
4069
|
};
|
|
4033
4070
|
};
|
|
4034
4071
|
const deserializeAws_json1_1GetVocabularyResponse = (output, context) => {
|
|
4035
4072
|
return {
|
|
4036
|
-
DownloadUri:
|
|
4037
|
-
FailureReason:
|
|
4038
|
-
LanguageCode:
|
|
4073
|
+
DownloadUri: smithy_client_1.expectString(output.DownloadUri),
|
|
4074
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4075
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4039
4076
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4040
|
-
?
|
|
4077
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4041
4078
|
: undefined,
|
|
4042
|
-
VocabularyName:
|
|
4043
|
-
VocabularyState:
|
|
4079
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4080
|
+
VocabularyState: smithy_client_1.expectString(output.VocabularyState),
|
|
4044
4081
|
};
|
|
4045
4082
|
};
|
|
4046
4083
|
const deserializeAws_json1_1InputDataConfig = (output, context) => {
|
|
4047
4084
|
return {
|
|
4048
|
-
DataAccessRoleArn:
|
|
4049
|
-
S3Uri:
|
|
4050
|
-
TuningDataS3Uri:
|
|
4085
|
+
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
4086
|
+
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
4087
|
+
TuningDataS3Uri: smithy_client_1.expectString(output.TuningDataS3Uri),
|
|
4051
4088
|
};
|
|
4052
4089
|
};
|
|
4053
4090
|
const deserializeAws_json1_1InternalFailureException = (output, context) => {
|
|
4054
4091
|
return {
|
|
4055
|
-
Message:
|
|
4092
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
4056
4093
|
};
|
|
4057
4094
|
};
|
|
4058
4095
|
const deserializeAws_json1_1InterruptionFilter = (output, context) => {
|
|
@@ -4060,37 +4097,37 @@ const deserializeAws_json1_1InterruptionFilter = (output, context) => {
|
|
|
4060
4097
|
AbsoluteTimeRange: output.AbsoluteTimeRange !== undefined && output.AbsoluteTimeRange !== null
|
|
4061
4098
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
4062
4099
|
: undefined,
|
|
4063
|
-
Negate:
|
|
4064
|
-
ParticipantRole:
|
|
4100
|
+
Negate: smithy_client_1.expectBoolean(output.Negate),
|
|
4101
|
+
ParticipantRole: smithy_client_1.expectString(output.ParticipantRole),
|
|
4065
4102
|
RelativeTimeRange: output.RelativeTimeRange !== undefined && output.RelativeTimeRange !== null
|
|
4066
4103
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
4067
4104
|
: undefined,
|
|
4068
|
-
Threshold:
|
|
4105
|
+
Threshold: smithy_client_1.expectLong(output.Threshold),
|
|
4069
4106
|
};
|
|
4070
4107
|
};
|
|
4071
4108
|
const deserializeAws_json1_1JobExecutionSettings = (output, context) => {
|
|
4072
4109
|
return {
|
|
4073
|
-
AllowDeferredExecution:
|
|
4074
|
-
DataAccessRoleArn:
|
|
4110
|
+
AllowDeferredExecution: smithy_client_1.expectBoolean(output.AllowDeferredExecution),
|
|
4111
|
+
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
4075
4112
|
};
|
|
4076
4113
|
};
|
|
4077
4114
|
const deserializeAws_json1_1LanguageModel = (output, context) => {
|
|
4078
4115
|
return {
|
|
4079
|
-
BaseModelName:
|
|
4116
|
+
BaseModelName: smithy_client_1.expectString(output.BaseModelName),
|
|
4080
4117
|
CreateTime: output.CreateTime !== undefined && output.CreateTime !== null
|
|
4081
|
-
?
|
|
4118
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreateTime)))
|
|
4082
4119
|
: undefined,
|
|
4083
|
-
FailureReason:
|
|
4120
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4084
4121
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
4085
4122
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
4086
4123
|
: undefined,
|
|
4087
|
-
LanguageCode:
|
|
4124
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4088
4125
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4089
|
-
?
|
|
4126
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4090
4127
|
: undefined,
|
|
4091
|
-
ModelName:
|
|
4092
|
-
ModelStatus:
|
|
4093
|
-
UpgradeAvailability:
|
|
4128
|
+
ModelName: smithy_client_1.expectString(output.ModelName),
|
|
4129
|
+
ModelStatus: smithy_client_1.expectString(output.ModelStatus),
|
|
4130
|
+
UpgradeAvailability: smithy_client_1.expectBoolean(output.UpgradeAvailability),
|
|
4094
4131
|
};
|
|
4095
4132
|
};
|
|
4096
4133
|
const deserializeAws_json1_1LanguageOptions = (output, context) => {
|
|
@@ -4100,12 +4137,12 @@ const deserializeAws_json1_1LanguageOptions = (output, context) => {
|
|
|
4100
4137
|
if (entry === null) {
|
|
4101
4138
|
return null;
|
|
4102
4139
|
}
|
|
4103
|
-
return
|
|
4140
|
+
return smithy_client_1.expectString(entry);
|
|
4104
4141
|
});
|
|
4105
4142
|
};
|
|
4106
4143
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
4107
4144
|
return {
|
|
4108
|
-
Message:
|
|
4145
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
4109
4146
|
};
|
|
4110
4147
|
};
|
|
4111
4148
|
const deserializeAws_json1_1ListCallAnalyticsCategoriesResponse = (output, context) => {
|
|
@@ -4113,7 +4150,7 @@ const deserializeAws_json1_1ListCallAnalyticsCategoriesResponse = (output, conte
|
|
|
4113
4150
|
Categories: output.Categories !== undefined && output.Categories !== null
|
|
4114
4151
|
? deserializeAws_json1_1CategoryPropertiesList(output.Categories, context)
|
|
4115
4152
|
: undefined,
|
|
4116
|
-
NextToken:
|
|
4153
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4117
4154
|
};
|
|
4118
4155
|
};
|
|
4119
4156
|
const deserializeAws_json1_1ListCallAnalyticsJobsResponse = (output, context) => {
|
|
@@ -4121,8 +4158,8 @@ const deserializeAws_json1_1ListCallAnalyticsJobsResponse = (output, context) =>
|
|
|
4121
4158
|
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries !== undefined && output.CallAnalyticsJobSummaries !== null
|
|
4122
4159
|
? deserializeAws_json1_1CallAnalyticsJobSummaries(output.CallAnalyticsJobSummaries, context)
|
|
4123
4160
|
: undefined,
|
|
4124
|
-
NextToken:
|
|
4125
|
-
Status:
|
|
4161
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4162
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
4126
4163
|
};
|
|
4127
4164
|
};
|
|
4128
4165
|
const deserializeAws_json1_1ListLanguageModelsResponse = (output, context) => {
|
|
@@ -4130,7 +4167,7 @@ const deserializeAws_json1_1ListLanguageModelsResponse = (output, context) => {
|
|
|
4130
4167
|
Models: output.Models !== undefined && output.Models !== null
|
|
4131
4168
|
? deserializeAws_json1_1Models(output.Models, context)
|
|
4132
4169
|
: undefined,
|
|
4133
|
-
NextToken:
|
|
4170
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4134
4171
|
};
|
|
4135
4172
|
};
|
|
4136
4173
|
const deserializeAws_json1_1ListMedicalTranscriptionJobsResponse = (output, context) => {
|
|
@@ -4138,14 +4175,14 @@ const deserializeAws_json1_1ListMedicalTranscriptionJobsResponse = (output, cont
|
|
|
4138
4175
|
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries !== undefined && output.MedicalTranscriptionJobSummaries !== null
|
|
4139
4176
|
? deserializeAws_json1_1MedicalTranscriptionJobSummaries(output.MedicalTranscriptionJobSummaries, context)
|
|
4140
4177
|
: undefined,
|
|
4141
|
-
NextToken:
|
|
4142
|
-
Status:
|
|
4178
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4179
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
4143
4180
|
};
|
|
4144
4181
|
};
|
|
4145
4182
|
const deserializeAws_json1_1ListMedicalVocabulariesResponse = (output, context) => {
|
|
4146
4183
|
return {
|
|
4147
|
-
NextToken:
|
|
4148
|
-
Status:
|
|
4184
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4185
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
4149
4186
|
Vocabularies: output.Vocabularies !== undefined && output.Vocabularies !== null
|
|
4150
4187
|
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
4151
4188
|
: undefined,
|
|
@@ -4153,7 +4190,7 @@ const deserializeAws_json1_1ListMedicalVocabulariesResponse = (output, context)
|
|
|
4153
4190
|
};
|
|
4154
4191
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
4155
4192
|
return {
|
|
4156
|
-
ResourceArn:
|
|
4193
|
+
ResourceArn: smithy_client_1.expectString(output.ResourceArn),
|
|
4157
4194
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4158
4195
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
4159
4196
|
: undefined,
|
|
@@ -4161,8 +4198,8 @@ const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
|
4161
4198
|
};
|
|
4162
4199
|
const deserializeAws_json1_1ListTranscriptionJobsResponse = (output, context) => {
|
|
4163
4200
|
return {
|
|
4164
|
-
NextToken:
|
|
4165
|
-
Status:
|
|
4201
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4202
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
4166
4203
|
TranscriptionJobSummaries: output.TranscriptionJobSummaries !== undefined && output.TranscriptionJobSummaries !== null
|
|
4167
4204
|
? deserializeAws_json1_1TranscriptionJobSummaries(output.TranscriptionJobSummaries, context)
|
|
4168
4205
|
: undefined,
|
|
@@ -4170,8 +4207,8 @@ const deserializeAws_json1_1ListTranscriptionJobsResponse = (output, context) =>
|
|
|
4170
4207
|
};
|
|
4171
4208
|
const deserializeAws_json1_1ListVocabulariesResponse = (output, context) => {
|
|
4172
4209
|
return {
|
|
4173
|
-
NextToken:
|
|
4174
|
-
Status:
|
|
4210
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4211
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
4175
4212
|
Vocabularies: output.Vocabularies !== undefined && output.Vocabularies !== null
|
|
4176
4213
|
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
4177
4214
|
: undefined,
|
|
@@ -4179,7 +4216,7 @@ const deserializeAws_json1_1ListVocabulariesResponse = (output, context) => {
|
|
|
4179
4216
|
};
|
|
4180
4217
|
const deserializeAws_json1_1ListVocabularyFiltersResponse = (output, context) => {
|
|
4181
4218
|
return {
|
|
4182
|
-
NextToken:
|
|
4219
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
4183
4220
|
VocabularyFilters: output.VocabularyFilters !== undefined && output.VocabularyFilters !== null
|
|
4184
4221
|
? deserializeAws_json1_1VocabularyFilters(output.VocabularyFilters, context)
|
|
4185
4222
|
: undefined,
|
|
@@ -4187,38 +4224,38 @@ const deserializeAws_json1_1ListVocabularyFiltersResponse = (output, context) =>
|
|
|
4187
4224
|
};
|
|
4188
4225
|
const deserializeAws_json1_1Media = (output, context) => {
|
|
4189
4226
|
return {
|
|
4190
|
-
MediaFileUri:
|
|
4191
|
-
RedactedMediaFileUri:
|
|
4227
|
+
MediaFileUri: smithy_client_1.expectString(output.MediaFileUri),
|
|
4228
|
+
RedactedMediaFileUri: smithy_client_1.expectString(output.RedactedMediaFileUri),
|
|
4192
4229
|
};
|
|
4193
4230
|
};
|
|
4194
4231
|
const deserializeAws_json1_1MedicalTranscript = (output, context) => {
|
|
4195
4232
|
return {
|
|
4196
|
-
TranscriptFileUri:
|
|
4233
|
+
TranscriptFileUri: smithy_client_1.expectString(output.TranscriptFileUri),
|
|
4197
4234
|
};
|
|
4198
4235
|
};
|
|
4199
4236
|
const deserializeAws_json1_1MedicalTranscriptionJob = (output, context) => {
|
|
4200
4237
|
return {
|
|
4201
4238
|
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
4202
|
-
?
|
|
4239
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
4203
4240
|
: undefined,
|
|
4204
|
-
ContentIdentificationType:
|
|
4241
|
+
ContentIdentificationType: smithy_client_1.expectString(output.ContentIdentificationType),
|
|
4205
4242
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
4206
|
-
?
|
|
4243
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
4207
4244
|
: undefined,
|
|
4208
|
-
FailureReason:
|
|
4209
|
-
LanguageCode:
|
|
4245
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4246
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4210
4247
|
Media: output.Media !== undefined && output.Media !== null
|
|
4211
4248
|
? deserializeAws_json1_1Media(output.Media, context)
|
|
4212
4249
|
: undefined,
|
|
4213
|
-
MediaFormat:
|
|
4214
|
-
MediaSampleRateHertz:
|
|
4215
|
-
MedicalTranscriptionJobName:
|
|
4250
|
+
MediaFormat: smithy_client_1.expectString(output.MediaFormat),
|
|
4251
|
+
MediaSampleRateHertz: smithy_client_1.expectInt32(output.MediaSampleRateHertz),
|
|
4252
|
+
MedicalTranscriptionJobName: smithy_client_1.expectString(output.MedicalTranscriptionJobName),
|
|
4216
4253
|
Settings: output.Settings !== undefined && output.Settings !== null
|
|
4217
4254
|
? deserializeAws_json1_1MedicalTranscriptionSetting(output.Settings, context)
|
|
4218
4255
|
: undefined,
|
|
4219
|
-
Specialty:
|
|
4256
|
+
Specialty: smithy_client_1.expectString(output.Specialty),
|
|
4220
4257
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4221
|
-
?
|
|
4258
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
4222
4259
|
: undefined,
|
|
4223
4260
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4224
4261
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
@@ -4226,8 +4263,8 @@ const deserializeAws_json1_1MedicalTranscriptionJob = (output, context) => {
|
|
|
4226
4263
|
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
4227
4264
|
? deserializeAws_json1_1MedicalTranscript(output.Transcript, context)
|
|
4228
4265
|
: undefined,
|
|
4229
|
-
TranscriptionJobStatus:
|
|
4230
|
-
Type:
|
|
4266
|
+
TranscriptionJobStatus: smithy_client_1.expectString(output.TranscriptionJobStatus),
|
|
4267
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
4231
4268
|
};
|
|
4232
4269
|
};
|
|
4233
4270
|
const deserializeAws_json1_1MedicalTranscriptionJobSummaries = (output, context) => {
|
|
@@ -4243,32 +4280,32 @@ const deserializeAws_json1_1MedicalTranscriptionJobSummaries = (output, context)
|
|
|
4243
4280
|
const deserializeAws_json1_1MedicalTranscriptionJobSummary = (output, context) => {
|
|
4244
4281
|
return {
|
|
4245
4282
|
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
4246
|
-
?
|
|
4283
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
4247
4284
|
: undefined,
|
|
4248
|
-
ContentIdentificationType:
|
|
4285
|
+
ContentIdentificationType: smithy_client_1.expectString(output.ContentIdentificationType),
|
|
4249
4286
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
4250
|
-
?
|
|
4287
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
4251
4288
|
: undefined,
|
|
4252
|
-
FailureReason:
|
|
4253
|
-
LanguageCode:
|
|
4254
|
-
MedicalTranscriptionJobName:
|
|
4255
|
-
OutputLocationType:
|
|
4256
|
-
Specialty:
|
|
4289
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4290
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4291
|
+
MedicalTranscriptionJobName: smithy_client_1.expectString(output.MedicalTranscriptionJobName),
|
|
4292
|
+
OutputLocationType: smithy_client_1.expectString(output.OutputLocationType),
|
|
4293
|
+
Specialty: smithy_client_1.expectString(output.Specialty),
|
|
4257
4294
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4258
|
-
?
|
|
4295
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
4259
4296
|
: undefined,
|
|
4260
|
-
TranscriptionJobStatus:
|
|
4261
|
-
Type:
|
|
4297
|
+
TranscriptionJobStatus: smithy_client_1.expectString(output.TranscriptionJobStatus),
|
|
4298
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
4262
4299
|
};
|
|
4263
4300
|
};
|
|
4264
4301
|
const deserializeAws_json1_1MedicalTranscriptionSetting = (output, context) => {
|
|
4265
4302
|
return {
|
|
4266
|
-
ChannelIdentification:
|
|
4267
|
-
MaxAlternatives:
|
|
4268
|
-
MaxSpeakerLabels:
|
|
4269
|
-
ShowAlternatives:
|
|
4270
|
-
ShowSpeakerLabels:
|
|
4271
|
-
VocabularyName:
|
|
4303
|
+
ChannelIdentification: smithy_client_1.expectBoolean(output.ChannelIdentification),
|
|
4304
|
+
MaxAlternatives: smithy_client_1.expectInt32(output.MaxAlternatives),
|
|
4305
|
+
MaxSpeakerLabels: smithy_client_1.expectInt32(output.MaxSpeakerLabels),
|
|
4306
|
+
ShowAlternatives: smithy_client_1.expectBoolean(output.ShowAlternatives),
|
|
4307
|
+
ShowSpeakerLabels: smithy_client_1.expectBoolean(output.ShowSpeakerLabels),
|
|
4308
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4272
4309
|
};
|
|
4273
4310
|
};
|
|
4274
4311
|
const deserializeAws_json1_1Models = (output, context) => {
|
|
@@ -4283,7 +4320,7 @@ const deserializeAws_json1_1Models = (output, context) => {
|
|
|
4283
4320
|
};
|
|
4284
4321
|
const deserializeAws_json1_1ModelSettings = (output, context) => {
|
|
4285
4322
|
return {
|
|
4286
|
-
LanguageModelName:
|
|
4323
|
+
LanguageModelName: smithy_client_1.expectString(output.LanguageModelName),
|
|
4287
4324
|
};
|
|
4288
4325
|
};
|
|
4289
4326
|
const deserializeAws_json1_1NonTalkTimeFilter = (output, context) => {
|
|
@@ -4291,24 +4328,24 @@ const deserializeAws_json1_1NonTalkTimeFilter = (output, context) => {
|
|
|
4291
4328
|
AbsoluteTimeRange: output.AbsoluteTimeRange !== undefined && output.AbsoluteTimeRange !== null
|
|
4292
4329
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
4293
4330
|
: undefined,
|
|
4294
|
-
Negate:
|
|
4331
|
+
Negate: smithy_client_1.expectBoolean(output.Negate),
|
|
4295
4332
|
RelativeTimeRange: output.RelativeTimeRange !== undefined && output.RelativeTimeRange !== null
|
|
4296
4333
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
4297
4334
|
: undefined,
|
|
4298
|
-
Threshold:
|
|
4335
|
+
Threshold: smithy_client_1.expectLong(output.Threshold),
|
|
4299
4336
|
};
|
|
4300
4337
|
};
|
|
4301
4338
|
const deserializeAws_json1_1NotFoundException = (output, context) => {
|
|
4302
4339
|
return {
|
|
4303
|
-
Message:
|
|
4340
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
4304
4341
|
};
|
|
4305
4342
|
};
|
|
4306
4343
|
const deserializeAws_json1_1RelativeTimeRange = (output, context) => {
|
|
4307
4344
|
return {
|
|
4308
|
-
EndPercentage:
|
|
4309
|
-
First:
|
|
4310
|
-
Last:
|
|
4311
|
-
StartPercentage:
|
|
4345
|
+
EndPercentage: smithy_client_1.expectInt32(output.EndPercentage),
|
|
4346
|
+
First: smithy_client_1.expectInt32(output.First),
|
|
4347
|
+
Last: smithy_client_1.expectInt32(output.Last),
|
|
4348
|
+
StartPercentage: smithy_client_1.expectInt32(output.StartPercentage),
|
|
4312
4349
|
};
|
|
4313
4350
|
};
|
|
4314
4351
|
const deserializeAws_json1_1Rule = (output, context) => {
|
|
@@ -4341,7 +4378,7 @@ const deserializeAws_json1_1RuleList = (output, context) => {
|
|
|
4341
4378
|
if (entry === null) {
|
|
4342
4379
|
return null;
|
|
4343
4380
|
}
|
|
4344
|
-
return deserializeAws_json1_1Rule(entry, context);
|
|
4381
|
+
return deserializeAws_json1_1Rule(smithy_client_1.expectUnion(entry), context);
|
|
4345
4382
|
});
|
|
4346
4383
|
};
|
|
4347
4384
|
const deserializeAws_json1_1SentimentFilter = (output, context) => {
|
|
@@ -4349,8 +4386,8 @@ const deserializeAws_json1_1SentimentFilter = (output, context) => {
|
|
|
4349
4386
|
AbsoluteTimeRange: output.AbsoluteTimeRange !== undefined && output.AbsoluteTimeRange !== null
|
|
4350
4387
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
4351
4388
|
: undefined,
|
|
4352
|
-
Negate:
|
|
4353
|
-
ParticipantRole:
|
|
4389
|
+
Negate: smithy_client_1.expectBoolean(output.Negate),
|
|
4390
|
+
ParticipantRole: smithy_client_1.expectString(output.ParticipantRole),
|
|
4354
4391
|
RelativeTimeRange: output.RelativeTimeRange !== undefined && output.RelativeTimeRange !== null
|
|
4355
4392
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
4356
4393
|
: undefined,
|
|
@@ -4366,19 +4403,19 @@ const deserializeAws_json1_1SentimentValueList = (output, context) => {
|
|
|
4366
4403
|
if (entry === null) {
|
|
4367
4404
|
return null;
|
|
4368
4405
|
}
|
|
4369
|
-
return
|
|
4406
|
+
return smithy_client_1.expectString(entry);
|
|
4370
4407
|
});
|
|
4371
4408
|
};
|
|
4372
4409
|
const deserializeAws_json1_1Settings = (output, context) => {
|
|
4373
4410
|
return {
|
|
4374
|
-
ChannelIdentification:
|
|
4375
|
-
MaxAlternatives:
|
|
4376
|
-
MaxSpeakerLabels:
|
|
4377
|
-
ShowAlternatives:
|
|
4378
|
-
ShowSpeakerLabels:
|
|
4379
|
-
VocabularyFilterMethod:
|
|
4380
|
-
VocabularyFilterName:
|
|
4381
|
-
VocabularyName:
|
|
4411
|
+
ChannelIdentification: smithy_client_1.expectBoolean(output.ChannelIdentification),
|
|
4412
|
+
MaxAlternatives: smithy_client_1.expectInt32(output.MaxAlternatives),
|
|
4413
|
+
MaxSpeakerLabels: smithy_client_1.expectInt32(output.MaxSpeakerLabels),
|
|
4414
|
+
ShowAlternatives: smithy_client_1.expectBoolean(output.ShowAlternatives),
|
|
4415
|
+
ShowSpeakerLabels: smithy_client_1.expectBoolean(output.ShowSpeakerLabels),
|
|
4416
|
+
VocabularyFilterMethod: smithy_client_1.expectString(output.VocabularyFilterMethod),
|
|
4417
|
+
VocabularyFilterName: smithy_client_1.expectString(output.VocabularyFilterName),
|
|
4418
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4382
4419
|
};
|
|
4383
4420
|
};
|
|
4384
4421
|
const deserializeAws_json1_1StartCallAnalyticsJobResponse = (output, context) => {
|
|
@@ -4409,13 +4446,43 @@ const deserializeAws_json1_1StringTargetList = (output, context) => {
|
|
|
4409
4446
|
if (entry === null) {
|
|
4410
4447
|
return null;
|
|
4411
4448
|
}
|
|
4412
|
-
return
|
|
4449
|
+
return smithy_client_1.expectString(entry);
|
|
4450
|
+
});
|
|
4451
|
+
};
|
|
4452
|
+
const deserializeAws_json1_1SubtitleFileUris = (output, context) => {
|
|
4453
|
+
return (output || [])
|
|
4454
|
+
.filter((e) => e != null)
|
|
4455
|
+
.map((entry) => {
|
|
4456
|
+
if (entry === null) {
|
|
4457
|
+
return null;
|
|
4458
|
+
}
|
|
4459
|
+
return smithy_client_1.expectString(entry);
|
|
4460
|
+
});
|
|
4461
|
+
};
|
|
4462
|
+
const deserializeAws_json1_1SubtitleFormats = (output, context) => {
|
|
4463
|
+
return (output || [])
|
|
4464
|
+
.filter((e) => e != null)
|
|
4465
|
+
.map((entry) => {
|
|
4466
|
+
if (entry === null) {
|
|
4467
|
+
return null;
|
|
4468
|
+
}
|
|
4469
|
+
return smithy_client_1.expectString(entry);
|
|
4413
4470
|
});
|
|
4414
4471
|
};
|
|
4472
|
+
const deserializeAws_json1_1SubtitlesOutput = (output, context) => {
|
|
4473
|
+
return {
|
|
4474
|
+
Formats: output.Formats !== undefined && output.Formats !== null
|
|
4475
|
+
? deserializeAws_json1_1SubtitleFormats(output.Formats, context)
|
|
4476
|
+
: undefined,
|
|
4477
|
+
SubtitleFileUris: output.SubtitleFileUris !== undefined && output.SubtitleFileUris !== null
|
|
4478
|
+
? deserializeAws_json1_1SubtitleFileUris(output.SubtitleFileUris, context)
|
|
4479
|
+
: undefined,
|
|
4480
|
+
};
|
|
4481
|
+
};
|
|
4415
4482
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
4416
4483
|
return {
|
|
4417
|
-
Key:
|
|
4418
|
-
Value:
|
|
4484
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
4485
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
4419
4486
|
};
|
|
4420
4487
|
};
|
|
4421
4488
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -4433,8 +4500,8 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
4433
4500
|
};
|
|
4434
4501
|
const deserializeAws_json1_1Transcript = (output, context) => {
|
|
4435
4502
|
return {
|
|
4436
|
-
RedactedTranscriptFileUri:
|
|
4437
|
-
TranscriptFileUri:
|
|
4503
|
+
RedactedTranscriptFileUri: smithy_client_1.expectString(output.RedactedTranscriptFileUri),
|
|
4504
|
+
TranscriptFileUri: smithy_client_1.expectString(output.TranscriptFileUri),
|
|
4438
4505
|
};
|
|
4439
4506
|
};
|
|
4440
4507
|
const deserializeAws_json1_1TranscriptFilter = (output, context) => {
|
|
@@ -4442,43 +4509,43 @@ const deserializeAws_json1_1TranscriptFilter = (output, context) => {
|
|
|
4442
4509
|
AbsoluteTimeRange: output.AbsoluteTimeRange !== undefined && output.AbsoluteTimeRange !== null
|
|
4443
4510
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
4444
4511
|
: undefined,
|
|
4445
|
-
Negate:
|
|
4446
|
-
ParticipantRole:
|
|
4512
|
+
Negate: smithy_client_1.expectBoolean(output.Negate),
|
|
4513
|
+
ParticipantRole: smithy_client_1.expectString(output.ParticipantRole),
|
|
4447
4514
|
RelativeTimeRange: output.RelativeTimeRange !== undefined && output.RelativeTimeRange !== null
|
|
4448
4515
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
4449
4516
|
: undefined,
|
|
4450
4517
|
Targets: output.Targets !== undefined && output.Targets !== null
|
|
4451
4518
|
? deserializeAws_json1_1StringTargetList(output.Targets, context)
|
|
4452
4519
|
: undefined,
|
|
4453
|
-
TranscriptFilterType:
|
|
4520
|
+
TranscriptFilterType: smithy_client_1.expectString(output.TranscriptFilterType),
|
|
4454
4521
|
};
|
|
4455
4522
|
};
|
|
4456
4523
|
const deserializeAws_json1_1TranscriptionJob = (output, context) => {
|
|
4457
4524
|
return {
|
|
4458
4525
|
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
4459
|
-
?
|
|
4526
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
4460
4527
|
: undefined,
|
|
4461
4528
|
ContentRedaction: output.ContentRedaction !== undefined && output.ContentRedaction !== null
|
|
4462
4529
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
4463
4530
|
: undefined,
|
|
4464
4531
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
4465
|
-
?
|
|
4532
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
4466
4533
|
: undefined,
|
|
4467
|
-
FailureReason:
|
|
4468
|
-
IdentifiedLanguageScore:
|
|
4469
|
-
IdentifyLanguage:
|
|
4534
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4535
|
+
IdentifiedLanguageScore: smithy_client_1.limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
4536
|
+
IdentifyLanguage: smithy_client_1.expectBoolean(output.IdentifyLanguage),
|
|
4470
4537
|
JobExecutionSettings: output.JobExecutionSettings !== undefined && output.JobExecutionSettings !== null
|
|
4471
4538
|
? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
|
|
4472
4539
|
: undefined,
|
|
4473
|
-
LanguageCode:
|
|
4540
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4474
4541
|
LanguageOptions: output.LanguageOptions !== undefined && output.LanguageOptions !== null
|
|
4475
4542
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
4476
4543
|
: undefined,
|
|
4477
4544
|
Media: output.Media !== undefined && output.Media !== null
|
|
4478
4545
|
? deserializeAws_json1_1Media(output.Media, context)
|
|
4479
4546
|
: undefined,
|
|
4480
|
-
MediaFormat:
|
|
4481
|
-
MediaSampleRateHertz:
|
|
4547
|
+
MediaFormat: smithy_client_1.expectString(output.MediaFormat),
|
|
4548
|
+
MediaSampleRateHertz: smithy_client_1.expectInt32(output.MediaSampleRateHertz),
|
|
4482
4549
|
ModelSettings: output.ModelSettings !== undefined && output.ModelSettings !== null
|
|
4483
4550
|
? deserializeAws_json1_1ModelSettings(output.ModelSettings, context)
|
|
4484
4551
|
: undefined,
|
|
@@ -4486,7 +4553,10 @@ const deserializeAws_json1_1TranscriptionJob = (output, context) => {
|
|
|
4486
4553
|
? deserializeAws_json1_1Settings(output.Settings, context)
|
|
4487
4554
|
: undefined,
|
|
4488
4555
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4489
|
-
?
|
|
4556
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
4557
|
+
: undefined,
|
|
4558
|
+
Subtitles: output.Subtitles !== undefined && output.Subtitles !== null
|
|
4559
|
+
? deserializeAws_json1_1SubtitlesOutput(output.Subtitles, context)
|
|
4490
4560
|
: undefined,
|
|
4491
4561
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4492
4562
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
@@ -4494,8 +4564,8 @@ const deserializeAws_json1_1TranscriptionJob = (output, context) => {
|
|
|
4494
4564
|
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
4495
4565
|
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
4496
4566
|
: undefined,
|
|
4497
|
-
TranscriptionJobName:
|
|
4498
|
-
TranscriptionJobStatus:
|
|
4567
|
+
TranscriptionJobName: smithy_client_1.expectString(output.TranscriptionJobName),
|
|
4568
|
+
TranscriptionJobStatus: smithy_client_1.expectString(output.TranscriptionJobStatus),
|
|
4499
4569
|
};
|
|
4500
4570
|
};
|
|
4501
4571
|
const deserializeAws_json1_1TranscriptionJobSummaries = (output, context) => {
|
|
@@ -4511,27 +4581,27 @@ const deserializeAws_json1_1TranscriptionJobSummaries = (output, context) => {
|
|
|
4511
4581
|
const deserializeAws_json1_1TranscriptionJobSummary = (output, context) => {
|
|
4512
4582
|
return {
|
|
4513
4583
|
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
4514
|
-
?
|
|
4584
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
4515
4585
|
: undefined,
|
|
4516
4586
|
ContentRedaction: output.ContentRedaction !== undefined && output.ContentRedaction !== null
|
|
4517
4587
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
4518
4588
|
: undefined,
|
|
4519
4589
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
4520
|
-
?
|
|
4590
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
4521
4591
|
: undefined,
|
|
4522
|
-
FailureReason:
|
|
4523
|
-
IdentifiedLanguageScore:
|
|
4524
|
-
IdentifyLanguage:
|
|
4525
|
-
LanguageCode:
|
|
4592
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
4593
|
+
IdentifiedLanguageScore: smithy_client_1.limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
4594
|
+
IdentifyLanguage: smithy_client_1.expectBoolean(output.IdentifyLanguage),
|
|
4595
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4526
4596
|
ModelSettings: output.ModelSettings !== undefined && output.ModelSettings !== null
|
|
4527
4597
|
? deserializeAws_json1_1ModelSettings(output.ModelSettings, context)
|
|
4528
4598
|
: undefined,
|
|
4529
|
-
OutputLocationType:
|
|
4599
|
+
OutputLocationType: smithy_client_1.expectString(output.OutputLocationType),
|
|
4530
4600
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4531
|
-
?
|
|
4601
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
4532
4602
|
: undefined,
|
|
4533
|
-
TranscriptionJobName:
|
|
4534
|
-
TranscriptionJobStatus:
|
|
4603
|
+
TranscriptionJobName: smithy_client_1.expectString(output.TranscriptionJobName),
|
|
4604
|
+
TranscriptionJobStatus: smithy_client_1.expectString(output.TranscriptionJobStatus),
|
|
4535
4605
|
};
|
|
4536
4606
|
};
|
|
4537
4607
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -4546,31 +4616,31 @@ const deserializeAws_json1_1UpdateCallAnalyticsCategoryResponse = (output, conte
|
|
|
4546
4616
|
};
|
|
4547
4617
|
const deserializeAws_json1_1UpdateMedicalVocabularyResponse = (output, context) => {
|
|
4548
4618
|
return {
|
|
4549
|
-
LanguageCode:
|
|
4619
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4550
4620
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4551
|
-
?
|
|
4621
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4552
4622
|
: undefined,
|
|
4553
|
-
VocabularyName:
|
|
4554
|
-
VocabularyState:
|
|
4623
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4624
|
+
VocabularyState: smithy_client_1.expectString(output.VocabularyState),
|
|
4555
4625
|
};
|
|
4556
4626
|
};
|
|
4557
4627
|
const deserializeAws_json1_1UpdateVocabularyFilterResponse = (output, context) => {
|
|
4558
4628
|
return {
|
|
4559
|
-
LanguageCode:
|
|
4629
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4560
4630
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4561
|
-
?
|
|
4631
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4562
4632
|
: undefined,
|
|
4563
|
-
VocabularyFilterName:
|
|
4633
|
+
VocabularyFilterName: smithy_client_1.expectString(output.VocabularyFilterName),
|
|
4564
4634
|
};
|
|
4565
4635
|
};
|
|
4566
4636
|
const deserializeAws_json1_1UpdateVocabularyResponse = (output, context) => {
|
|
4567
4637
|
return {
|
|
4568
|
-
LanguageCode:
|
|
4638
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4569
4639
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4570
|
-
?
|
|
4640
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4571
4641
|
: undefined,
|
|
4572
|
-
VocabularyName:
|
|
4573
|
-
VocabularyState:
|
|
4642
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4643
|
+
VocabularyState: smithy_client_1.expectString(output.VocabularyState),
|
|
4574
4644
|
};
|
|
4575
4645
|
};
|
|
4576
4646
|
const deserializeAws_json1_1Vocabularies = (output, context) => {
|
|
@@ -4585,11 +4655,11 @@ const deserializeAws_json1_1Vocabularies = (output, context) => {
|
|
|
4585
4655
|
};
|
|
4586
4656
|
const deserializeAws_json1_1VocabularyFilterInfo = (output, context) => {
|
|
4587
4657
|
return {
|
|
4588
|
-
LanguageCode:
|
|
4658
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4589
4659
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4590
|
-
?
|
|
4660
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4591
4661
|
: undefined,
|
|
4592
|
-
VocabularyFilterName:
|
|
4662
|
+
VocabularyFilterName: smithy_client_1.expectString(output.VocabularyFilterName),
|
|
4593
4663
|
};
|
|
4594
4664
|
};
|
|
4595
4665
|
const deserializeAws_json1_1VocabularyFilters = (output, context) => {
|
|
@@ -4604,12 +4674,12 @@ const deserializeAws_json1_1VocabularyFilters = (output, context) => {
|
|
|
4604
4674
|
};
|
|
4605
4675
|
const deserializeAws_json1_1VocabularyInfo = (output, context) => {
|
|
4606
4676
|
return {
|
|
4607
|
-
LanguageCode:
|
|
4677
|
+
LanguageCode: smithy_client_1.expectString(output.LanguageCode),
|
|
4608
4678
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
4609
|
-
?
|
|
4679
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
4610
4680
|
: undefined,
|
|
4611
|
-
VocabularyName:
|
|
4612
|
-
VocabularyState:
|
|
4681
|
+
VocabularyName: smithy_client_1.expectString(output.VocabularyName),
|
|
4682
|
+
VocabularyState: smithy_client_1.expectString(output.VocabularyState),
|
|
4613
4683
|
};
|
|
4614
4684
|
};
|
|
4615
4685
|
const deserializeMetadata = (output) => {
|