@aws-sdk/client-transcribe 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_json1_1.js +294 -470
- package/dist-es/protocols/Aws_json1_1.js +181 -357
- package/package.json +26 -26
|
@@ -2907,27 +2907,19 @@ var deserializeAws_json1_1NotFoundExceptionResponse = function (parsedOutput, co
|
|
|
2907
2907
|
});
|
|
2908
2908
|
}); };
|
|
2909
2909
|
var serializeAws_json1_1AbsoluteTimeRange = function (input, context) {
|
|
2910
|
-
return __assign(__assign(__assign(__assign({}, (input.EndTime
|
|
2910
|
+
return __assign(__assign(__assign(__assign({}, (input.EndTime != null && { EndTime: input.EndTime })), (input.First != null && { First: input.First })), (input.Last != null && { Last: input.Last })), (input.StartTime != null && { StartTime: input.StartTime }));
|
|
2911
2911
|
};
|
|
2912
2912
|
var serializeAws_json1_1CallAnalyticsJobSettings = function (input, context) {
|
|
2913
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction
|
|
2914
|
-
input.ContentRedaction !== null && {
|
|
2913
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction != null && {
|
|
2915
2914
|
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
2916
|
-
})), (input.LanguageIdSettings
|
|
2917
|
-
input.LanguageIdSettings !== null && {
|
|
2915
|
+
})), (input.LanguageIdSettings != null && {
|
|
2918
2916
|
LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
2919
|
-
})), (input.LanguageModelName
|
|
2920
|
-
input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName })), (input.LanguageOptions !== undefined &&
|
|
2921
|
-
input.LanguageOptions !== null && {
|
|
2917
|
+
})), (input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName })), (input.LanguageOptions != null && {
|
|
2922
2918
|
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
2923
|
-
})), (input.VocabularyFilterMethod
|
|
2924
|
-
input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName !== undefined &&
|
|
2925
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
|
|
2926
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2919
|
+
})), (input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2927
2920
|
};
|
|
2928
2921
|
var serializeAws_json1_1ChannelDefinition = function (input, context) {
|
|
2929
|
-
return __assign(__assign({}, (input.ChannelId
|
|
2930
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole }));
|
|
2922
|
+
return __assign(__assign({}, (input.ChannelId != null && { ChannelId: input.ChannelId })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }));
|
|
2931
2923
|
};
|
|
2932
2924
|
var serializeAws_json1_1ChannelDefinitions = function (input, context) {
|
|
2933
2925
|
return input
|
|
@@ -2940,118 +2932,91 @@ var serializeAws_json1_1ChannelDefinitions = function (input, context) {
|
|
|
2940
2932
|
});
|
|
2941
2933
|
};
|
|
2942
2934
|
var serializeAws_json1_1ContentRedaction = function (input, context) {
|
|
2943
|
-
return __assign(__assign(__assign({}, (input.PiiEntityTypes
|
|
2944
|
-
input.PiiEntityTypes !== null && {
|
|
2935
|
+
return __assign(__assign(__assign({}, (input.PiiEntityTypes != null && {
|
|
2945
2936
|
PiiEntityTypes: serializeAws_json1_1PiiEntityTypes(input.PiiEntityTypes, context),
|
|
2946
|
-
})), (input.RedactionOutput
|
|
2947
|
-
input.RedactionOutput !== null && { RedactionOutput: input.RedactionOutput })), (input.RedactionType !== undefined && input.RedactionType !== null && { RedactionType: input.RedactionType }));
|
|
2937
|
+
})), (input.RedactionOutput != null && { RedactionOutput: input.RedactionOutput })), (input.RedactionType != null && { RedactionType: input.RedactionType }));
|
|
2948
2938
|
};
|
|
2949
2939
|
var serializeAws_json1_1CreateCallAnalyticsCategoryRequest = function (input, context) {
|
|
2950
|
-
return __assign(__assign({}, (input.CategoryName
|
|
2951
|
-
input.Rules !== null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
2940
|
+
return __assign(__assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName })), (input.Rules != null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
2952
2941
|
};
|
|
2953
2942
|
var serializeAws_json1_1CreateLanguageModelRequest = function (input, context) {
|
|
2954
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.BaseModelName
|
|
2955
|
-
input.InputDataConfig !== null && {
|
|
2943
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.BaseModelName != null && { BaseModelName: input.BaseModelName })), (input.InputDataConfig != null && {
|
|
2956
2944
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
2957
|
-
})), (input.LanguageCode
|
|
2945
|
+
})), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.ModelName != null && { ModelName: input.ModelName })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
2958
2946
|
};
|
|
2959
2947
|
var serializeAws_json1_1CreateMedicalVocabularyRequest = function (input, context) {
|
|
2960
|
-
return __assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
2961
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
2962
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2948
|
+
return __assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2963
2949
|
};
|
|
2964
2950
|
var serializeAws_json1_1CreateVocabularyFilterRequest = function (input, context) {
|
|
2965
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
2966
|
-
input.VocabularyFilterFileUri !== null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName !== undefined &&
|
|
2967
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words !== undefined &&
|
|
2968
|
-
input.Words !== null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
2951
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
2969
2952
|
};
|
|
2970
2953
|
var serializeAws_json1_1CreateVocabularyRequest = function (input, context) {
|
|
2971
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
2972
|
-
input.Phrases !== null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFileUri !== undefined &&
|
|
2973
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
2974
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2954
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2975
2955
|
};
|
|
2976
2956
|
var serializeAws_json1_1DeleteCallAnalyticsCategoryRequest = function (input, context) {
|
|
2977
|
-
return __assign({}, (input.CategoryName
|
|
2957
|
+
return __assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName }));
|
|
2978
2958
|
};
|
|
2979
2959
|
var serializeAws_json1_1DeleteCallAnalyticsJobRequest = function (input, context) {
|
|
2980
|
-
return __assign({}, (input.CallAnalyticsJobName
|
|
2981
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
2960
|
+
return __assign({}, (input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
2982
2961
|
};
|
|
2983
2962
|
var serializeAws_json1_1DeleteLanguageModelRequest = function (input, context) {
|
|
2984
|
-
return __assign({}, (input.ModelName
|
|
2963
|
+
return __assign({}, (input.ModelName != null && { ModelName: input.ModelName }));
|
|
2985
2964
|
};
|
|
2986
2965
|
var serializeAws_json1_1DeleteMedicalTranscriptionJobRequest = function (input, context) {
|
|
2987
|
-
return __assign({}, (input.MedicalTranscriptionJobName
|
|
2988
|
-
|
|
2966
|
+
return __assign({}, (input.MedicalTranscriptionJobName != null && {
|
|
2967
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2968
|
+
}));
|
|
2989
2969
|
};
|
|
2990
2970
|
var serializeAws_json1_1DeleteMedicalVocabularyRequest = function (input, context) {
|
|
2991
|
-
return __assign({}, (input.VocabularyName
|
|
2992
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2971
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
2993
2972
|
};
|
|
2994
2973
|
var serializeAws_json1_1DeleteTranscriptionJobRequest = function (input, context) {
|
|
2995
|
-
return __assign({}, (input.TranscriptionJobName
|
|
2996
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
2974
|
+
return __assign({}, (input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
2997
2975
|
};
|
|
2998
2976
|
var serializeAws_json1_1DeleteVocabularyFilterRequest = function (input, context) {
|
|
2999
|
-
return __assign({}, (input.VocabularyFilterName
|
|
3000
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
2977
|
+
return __assign({}, (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
3001
2978
|
};
|
|
3002
2979
|
var serializeAws_json1_1DeleteVocabularyRequest = function (input, context) {
|
|
3003
|
-
return __assign({}, (input.VocabularyName
|
|
3004
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2980
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3005
2981
|
};
|
|
3006
2982
|
var serializeAws_json1_1DescribeLanguageModelRequest = function (input, context) {
|
|
3007
|
-
return __assign({}, (input.ModelName
|
|
2983
|
+
return __assign({}, (input.ModelName != null && { ModelName: input.ModelName }));
|
|
3008
2984
|
};
|
|
3009
2985
|
var serializeAws_json1_1GetCallAnalyticsCategoryRequest = function (input, context) {
|
|
3010
|
-
return __assign({}, (input.CategoryName
|
|
2986
|
+
return __assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName }));
|
|
3011
2987
|
};
|
|
3012
2988
|
var serializeAws_json1_1GetCallAnalyticsJobRequest = function (input, context) {
|
|
3013
|
-
return __assign({}, (input.CallAnalyticsJobName
|
|
3014
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
2989
|
+
return __assign({}, (input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }));
|
|
3015
2990
|
};
|
|
3016
2991
|
var serializeAws_json1_1GetMedicalTranscriptionJobRequest = function (input, context) {
|
|
3017
|
-
return __assign({}, (input.MedicalTranscriptionJobName
|
|
3018
|
-
|
|
2992
|
+
return __assign({}, (input.MedicalTranscriptionJobName != null && {
|
|
2993
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2994
|
+
}));
|
|
3019
2995
|
};
|
|
3020
2996
|
var serializeAws_json1_1GetMedicalVocabularyRequest = function (input, context) {
|
|
3021
|
-
return __assign({}, (input.VocabularyName
|
|
3022
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
2997
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3023
2998
|
};
|
|
3024
2999
|
var serializeAws_json1_1GetTranscriptionJobRequest = function (input, context) {
|
|
3025
|
-
return __assign({}, (input.TranscriptionJobName
|
|
3026
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
3000
|
+
return __assign({}, (input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
3027
3001
|
};
|
|
3028
3002
|
var serializeAws_json1_1GetVocabularyFilterRequest = function (input, context) {
|
|
3029
|
-
return __assign({}, (input.VocabularyFilterName
|
|
3030
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
3003
|
+
return __assign({}, (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }));
|
|
3031
3004
|
};
|
|
3032
3005
|
var serializeAws_json1_1GetVocabularyRequest = function (input, context) {
|
|
3033
|
-
return __assign({}, (input.VocabularyName
|
|
3034
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3006
|
+
return __assign({}, (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3035
3007
|
};
|
|
3036
3008
|
var serializeAws_json1_1InputDataConfig = function (input, context) {
|
|
3037
|
-
return __assign(__assign(__assign({}, (input.DataAccessRoleArn
|
|
3038
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.S3Uri !== undefined && input.S3Uri !== null && { S3Uri: input.S3Uri })), (input.TuningDataS3Uri !== undefined &&
|
|
3039
|
-
input.TuningDataS3Uri !== null && { TuningDataS3Uri: input.TuningDataS3Uri }));
|
|
3009
|
+
return __assign(__assign(__assign({}, (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.S3Uri != null && { S3Uri: input.S3Uri })), (input.TuningDataS3Uri != null && { TuningDataS3Uri: input.TuningDataS3Uri }));
|
|
3040
3010
|
};
|
|
3041
3011
|
var serializeAws_json1_1InterruptionFilter = function (input, context) {
|
|
3042
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3043
|
-
input.AbsoluteTimeRange !== null && {
|
|
3012
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3044
3013
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3045
|
-
})), (input.Negate
|
|
3046
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange !== undefined &&
|
|
3047
|
-
input.RelativeTimeRange !== null && {
|
|
3014
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange != null && {
|
|
3048
3015
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3049
|
-
})), (input.Threshold
|
|
3016
|
+
})), (input.Threshold != null && { Threshold: input.Threshold }));
|
|
3050
3017
|
};
|
|
3051
3018
|
var serializeAws_json1_1JobExecutionSettings = function (input, context) {
|
|
3052
|
-
return __assign(__assign({}, (input.AllowDeferredExecution
|
|
3053
|
-
input.AllowDeferredExecution !== null && { AllowDeferredExecution: input.AllowDeferredExecution })), (input.DataAccessRoleArn !== undefined &&
|
|
3054
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }));
|
|
3019
|
+
return __assign(__assign({}, (input.AllowDeferredExecution != null && { AllowDeferredExecution: input.AllowDeferredExecution })), (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }));
|
|
3055
3020
|
};
|
|
3056
3021
|
var serializeAws_json1_1KMSEncryptionContextMap = function (input, context) {
|
|
3057
3022
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3064,10 +3029,7 @@ var serializeAws_json1_1KMSEncryptionContextMap = function (input, context) {
|
|
|
3064
3029
|
}, {});
|
|
3065
3030
|
};
|
|
3066
3031
|
var serializeAws_json1_1LanguageIdSettings = function (input, context) {
|
|
3067
|
-
return __assign(__assign(__assign({}, (input.LanguageModelName
|
|
3068
|
-
input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName })), (input.VocabularyFilterName !== undefined &&
|
|
3069
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
|
|
3070
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3032
|
+
return __assign(__assign(__assign({}, (input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3071
3033
|
};
|
|
3072
3034
|
var serializeAws_json1_1LanguageIdSettingsMap = function (input, context) {
|
|
3073
3035
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -3090,60 +3052,47 @@ var serializeAws_json1_1LanguageOptions = function (input, context) {
|
|
|
3090
3052
|
});
|
|
3091
3053
|
};
|
|
3092
3054
|
var serializeAws_json1_1ListCallAnalyticsCategoriesRequest = function (input, context) {
|
|
3093
|
-
return __assign(__assign({}, (input.MaxResults
|
|
3055
|
+
return __assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3094
3056
|
};
|
|
3095
3057
|
var serializeAws_json1_1ListCallAnalyticsJobsRequest = function (input, context) {
|
|
3096
|
-
return __assign(__assign(__assign(__assign({}, (input.JobNameContains
|
|
3097
|
-
input.JobNameContains !== null && { JobNameContains: input.JobNameContains })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
3058
|
+
return __assign(__assign(__assign(__assign({}, (input.JobNameContains != null && { JobNameContains: input.JobNameContains })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Status != null && { Status: input.Status }));
|
|
3098
3059
|
};
|
|
3099
3060
|
var serializeAws_json1_1ListLanguageModelsRequest = function (input, context) {
|
|
3100
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
3061
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StatusEquals != null && { StatusEquals: input.StatusEquals }));
|
|
3101
3062
|
};
|
|
3102
3063
|
var serializeAws_json1_1ListMedicalTranscriptionJobsRequest = function (input, context) {
|
|
3103
|
-
return __assign(__assign(__assign(__assign({}, (input.JobNameContains
|
|
3104
|
-
input.JobNameContains !== null && { JobNameContains: input.JobNameContains })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
3064
|
+
return __assign(__assign(__assign(__assign({}, (input.JobNameContains != null && { JobNameContains: input.JobNameContains })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Status != null && { Status: input.Status }));
|
|
3105
3065
|
};
|
|
3106
3066
|
var serializeAws_json1_1ListMedicalVocabulariesRequest = function (input, context) {
|
|
3107
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
3067
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StateEquals != null && { StateEquals: input.StateEquals }));
|
|
3108
3068
|
};
|
|
3109
3069
|
var serializeAws_json1_1ListTagsForResourceRequest = function (input, context) {
|
|
3110
|
-
return __assign({}, (input.ResourceArn
|
|
3070
|
+
return __assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn }));
|
|
3111
3071
|
};
|
|
3112
3072
|
var serializeAws_json1_1ListTranscriptionJobsRequest = function (input, context) {
|
|
3113
|
-
return __assign(__assign(__assign(__assign({}, (input.JobNameContains
|
|
3114
|
-
input.JobNameContains !== null && { JobNameContains: input.JobNameContains })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
3073
|
+
return __assign(__assign(__assign(__assign({}, (input.JobNameContains != null && { JobNameContains: input.JobNameContains })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.Status != null && { Status: input.Status }));
|
|
3115
3074
|
};
|
|
3116
3075
|
var serializeAws_json1_1ListVocabulariesRequest = function (input, context) {
|
|
3117
|
-
return __assign(__assign(__assign(__assign({}, (input.MaxResults
|
|
3076
|
+
return __assign(__assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StateEquals != null && { StateEquals: input.StateEquals }));
|
|
3118
3077
|
};
|
|
3119
3078
|
var serializeAws_json1_1ListVocabularyFiltersRequest = function (input, context) {
|
|
3120
|
-
return __assign(__assign(__assign({}, (input.MaxResults
|
|
3079
|
+
return __assign(__assign(__assign({}, (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NameContains != null && { NameContains: input.NameContains })), (input.NextToken != null && { NextToken: input.NextToken }));
|
|
3121
3080
|
};
|
|
3122
3081
|
var serializeAws_json1_1Media = function (input, context) {
|
|
3123
|
-
return __assign(__assign({}, (input.MediaFileUri
|
|
3124
|
-
input.RedactedMediaFileUri !== null && { RedactedMediaFileUri: input.RedactedMediaFileUri }));
|
|
3082
|
+
return __assign(__assign({}, (input.MediaFileUri != null && { MediaFileUri: input.MediaFileUri })), (input.RedactedMediaFileUri != null && { RedactedMediaFileUri: input.RedactedMediaFileUri }));
|
|
3125
3083
|
};
|
|
3126
3084
|
var serializeAws_json1_1MedicalTranscriptionSetting = function (input, context) {
|
|
3127
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification
|
|
3128
|
-
input.ChannelIdentification !== null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives !== undefined &&
|
|
3129
|
-
input.MaxAlternatives !== null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels !== undefined &&
|
|
3130
|
-
input.MaxSpeakerLabels !== null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives !== undefined &&
|
|
3131
|
-
input.ShowAlternatives !== null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels !== undefined &&
|
|
3132
|
-
input.ShowSpeakerLabels !== null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyName !== undefined &&
|
|
3133
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3085
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels != null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives != null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels != null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3134
3086
|
};
|
|
3135
3087
|
var serializeAws_json1_1ModelSettings = function (input, context) {
|
|
3136
|
-
return __assign({}, (input.LanguageModelName
|
|
3137
|
-
input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }));
|
|
3088
|
+
return __assign({}, (input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }));
|
|
3138
3089
|
};
|
|
3139
3090
|
var serializeAws_json1_1NonTalkTimeFilter = function (input, context) {
|
|
3140
|
-
return __assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3141
|
-
input.AbsoluteTimeRange !== null && {
|
|
3091
|
+
return __assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3142
3092
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3143
|
-
})), (input.Negate
|
|
3144
|
-
input.RelativeTimeRange !== null && {
|
|
3093
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.RelativeTimeRange != null && {
|
|
3145
3094
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3146
|
-
})), (input.Threshold
|
|
3095
|
+
})), (input.Threshold != null && { Threshold: input.Threshold }));
|
|
3147
3096
|
};
|
|
3148
3097
|
var serializeAws_json1_1Phrases = function (input, context) {
|
|
3149
3098
|
return input
|
|
@@ -3166,8 +3115,7 @@ var serializeAws_json1_1PiiEntityTypes = function (input, context) {
|
|
|
3166
3115
|
});
|
|
3167
3116
|
};
|
|
3168
3117
|
var serializeAws_json1_1RelativeTimeRange = function (input, context) {
|
|
3169
|
-
return __assign(__assign(__assign(__assign({}, (input.EndPercentage
|
|
3170
|
-
input.StartPercentage !== null && { StartPercentage: input.StartPercentage }));
|
|
3118
|
+
return __assign(__assign(__assign(__assign({}, (input.EndPercentage != null && { EndPercentage: input.EndPercentage })), (input.First != null && { First: input.First })), (input.Last != null && { Last: input.Last })), (input.StartPercentage != null && { StartPercentage: input.StartPercentage }));
|
|
3171
3119
|
};
|
|
3172
3120
|
var serializeAws_json1_1Rule = function (input, context) {
|
|
3173
3121
|
return Rule.visit(input, {
|
|
@@ -3189,15 +3137,11 @@ var serializeAws_json1_1RuleList = function (input, context) {
|
|
|
3189
3137
|
});
|
|
3190
3138
|
};
|
|
3191
3139
|
var serializeAws_json1_1SentimentFilter = function (input, context) {
|
|
3192
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3193
|
-
input.AbsoluteTimeRange !== null && {
|
|
3140
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3194
3141
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3195
|
-
})), (input.Negate
|
|
3196
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange !== undefined &&
|
|
3197
|
-
input.RelativeTimeRange !== null && {
|
|
3142
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange != null && {
|
|
3198
3143
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3199
|
-
})), (input.Sentiments
|
|
3200
|
-
input.Sentiments !== null && { Sentiments: serializeAws_json1_1SentimentValueList(input.Sentiments, context) }));
|
|
3144
|
+
})), (input.Sentiments != null && { Sentiments: serializeAws_json1_1SentimentValueList(input.Sentiments, context) }));
|
|
3201
3145
|
};
|
|
3202
3146
|
var serializeAws_json1_1SentimentValueList = function (input, context) {
|
|
3203
3147
|
return input
|
|
@@ -3210,72 +3154,36 @@ var serializeAws_json1_1SentimentValueList = function (input, context) {
|
|
|
3210
3154
|
});
|
|
3211
3155
|
};
|
|
3212
3156
|
var serializeAws_json1_1Settings = function (input, context) {
|
|
3213
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification
|
|
3214
|
-
input.ChannelIdentification !== null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives !== undefined &&
|
|
3215
|
-
input.MaxAlternatives !== null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels !== undefined &&
|
|
3216
|
-
input.MaxSpeakerLabels !== null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives !== undefined &&
|
|
3217
|
-
input.ShowAlternatives !== null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels !== undefined &&
|
|
3218
|
-
input.ShowSpeakerLabels !== null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyFilterMethod !== undefined &&
|
|
3219
|
-
input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName !== undefined &&
|
|
3220
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName !== undefined &&
|
|
3221
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3157
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification })), (input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives })), (input.MaxSpeakerLabels != null && { MaxSpeakerLabels: input.MaxSpeakerLabels })), (input.ShowAlternatives != null && { ShowAlternatives: input.ShowAlternatives })), (input.ShowSpeakerLabels != null && { ShowSpeakerLabels: input.ShowSpeakerLabels })), (input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3222
3158
|
};
|
|
3223
3159
|
var serializeAws_json1_1StartCallAnalyticsJobRequest = function (input, context) {
|
|
3224
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CallAnalyticsJobName
|
|
3225
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName })), (input.ChannelDefinitions !== undefined &&
|
|
3226
|
-
input.ChannelDefinitions !== null && {
|
|
3160
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName })), (input.ChannelDefinitions != null && {
|
|
3227
3161
|
ChannelDefinitions: serializeAws_json1_1ChannelDefinitions(input.ChannelDefinitions, context),
|
|
3228
|
-
})), (input.DataAccessRoleArn
|
|
3229
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.Media !== undefined &&
|
|
3230
|
-
input.Media !== null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.OutputEncryptionKMSKeyId !== undefined &&
|
|
3231
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputLocation !== undefined &&
|
|
3232
|
-
input.OutputLocation !== null && { OutputLocation: input.OutputLocation })), (input.Settings !== undefined &&
|
|
3233
|
-
input.Settings !== null && { Settings: serializeAws_json1_1CallAnalyticsJobSettings(input.Settings, context) }));
|
|
3162
|
+
})), (input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn })), (input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputLocation != null && { OutputLocation: input.OutputLocation })), (input.Settings != null && { Settings: serializeAws_json1_1CallAnalyticsJobSettings(input.Settings, context) }));
|
|
3234
3163
|
};
|
|
3235
3164
|
var serializeAws_json1_1StartMedicalTranscriptionJobRequest = function (input, context) {
|
|
3236
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType
|
|
3237
|
-
input.ContentIdentificationType !== null && { ContentIdentificationType: input.ContentIdentificationType })), (input.KMSEncryptionContext !== undefined &&
|
|
3238
|
-
input.KMSEncryptionContext !== null && {
|
|
3165
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType })), (input.KMSEncryptionContext != null && {
|
|
3239
3166
|
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
3240
|
-
})), (input.LanguageCode
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
input.MedicalTranscriptionJobName !== null && { MedicalTranscriptionJobName: input.MedicalTranscriptionJobName })), (input.OutputBucketName !== undefined &&
|
|
3244
|
-
input.OutputBucketName !== null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId !== undefined &&
|
|
3245
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey })), (input.Settings !== undefined &&
|
|
3246
|
-
input.Settings !== null && {
|
|
3167
|
+
})), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.MediaFormat != null && { MediaFormat: input.MediaFormat })), (input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz })), (input.MedicalTranscriptionJobName != null && {
|
|
3168
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
3169
|
+
})), (input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey != null && { OutputKey: input.OutputKey })), (input.Settings != null && {
|
|
3247
3170
|
Settings: serializeAws_json1_1MedicalTranscriptionSetting(input.Settings, context),
|
|
3248
|
-
})), (input.Specialty
|
|
3171
|
+
})), (input.Specialty != null && { Specialty: input.Specialty })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Type != null && { Type: input.Type }));
|
|
3249
3172
|
};
|
|
3250
3173
|
var serializeAws_json1_1StartTranscriptionJobRequest = function (input, context) {
|
|
3251
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction
|
|
3252
|
-
input.ContentRedaction !== null && {
|
|
3174
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContentRedaction != null && {
|
|
3253
3175
|
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
3254
|
-
})), (input.IdentifyLanguage
|
|
3255
|
-
input.IdentifyLanguage !== null && { IdentifyLanguage: input.IdentifyLanguage })), (input.IdentifyMultipleLanguages !== undefined &&
|
|
3256
|
-
input.IdentifyMultipleLanguages !== null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages })), (input.JobExecutionSettings !== undefined &&
|
|
3257
|
-
input.JobExecutionSettings !== null && {
|
|
3176
|
+
})), (input.IdentifyLanguage != null && { IdentifyLanguage: input.IdentifyLanguage })), (input.IdentifyMultipleLanguages != null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages })), (input.JobExecutionSettings != null && {
|
|
3258
3177
|
JobExecutionSettings: serializeAws_json1_1JobExecutionSettings(input.JobExecutionSettings, context),
|
|
3259
|
-
})), (input.KMSEncryptionContext
|
|
3260
|
-
input.KMSEncryptionContext !== null && {
|
|
3178
|
+
})), (input.KMSEncryptionContext != null && {
|
|
3261
3179
|
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
3262
|
-
})), (input.LanguageCode
|
|
3263
|
-
input.LanguageIdSettings !== null && {
|
|
3180
|
+
})), (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.LanguageIdSettings != null && {
|
|
3264
3181
|
LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
3265
|
-
})), (input.LanguageOptions
|
|
3266
|
-
input.LanguageOptions !== null && {
|
|
3182
|
+
})), (input.LanguageOptions != null && {
|
|
3267
3183
|
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
3268
|
-
})), (input.Media
|
|
3269
|
-
input.Media !== null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.MediaFormat !== undefined && input.MediaFormat !== null && { MediaFormat: input.MediaFormat })), (input.MediaSampleRateHertz !== undefined &&
|
|
3270
|
-
input.MediaSampleRateHertz !== null && { MediaSampleRateHertz: input.MediaSampleRateHertz })), (input.ModelSettings !== undefined &&
|
|
3271
|
-
input.ModelSettings !== null && {
|
|
3184
|
+
})), (input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) })), (input.MediaFormat != null && { MediaFormat: input.MediaFormat })), (input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz })), (input.ModelSettings != null && {
|
|
3272
3185
|
ModelSettings: serializeAws_json1_1ModelSettings(input.ModelSettings, context),
|
|
3273
|
-
})), (input.OutputBucketName
|
|
3274
|
-
input.OutputBucketName !== null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId !== undefined &&
|
|
3275
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey })), (input.Settings !== undefined &&
|
|
3276
|
-
input.Settings !== null && { Settings: serializeAws_json1_1Settings(input.Settings, context) })), (input.Subtitles !== undefined &&
|
|
3277
|
-
input.Subtitles !== null && { Subtitles: serializeAws_json1_1Subtitles(input.Subtitles, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TranscriptionJobName !== undefined &&
|
|
3278
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
3186
|
+
})), (input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName })), (input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId })), (input.OutputKey != null && { OutputKey: input.OutputKey })), (input.Settings != null && { Settings: serializeAws_json1_1Settings(input.Settings, context) })), (input.Subtitles != null && { Subtitles: serializeAws_json1_1Subtitles(input.Subtitles, context) })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }));
|
|
3279
3187
|
};
|
|
3280
3188
|
var serializeAws_json1_1StringTargetList = function (input, context) {
|
|
3281
3189
|
return input
|
|
@@ -3298,12 +3206,10 @@ var serializeAws_json1_1SubtitleFormats = function (input, context) {
|
|
|
3298
3206
|
});
|
|
3299
3207
|
};
|
|
3300
3208
|
var serializeAws_json1_1Subtitles = function (input, context) {
|
|
3301
|
-
return __assign(__assign({}, (input.Formats
|
|
3302
|
-
input.Formats !== null && { Formats: serializeAws_json1_1SubtitleFormats(input.Formats, context) })), (input.OutputStartIndex !== undefined &&
|
|
3303
|
-
input.OutputStartIndex !== null && { OutputStartIndex: input.OutputStartIndex }));
|
|
3209
|
+
return __assign(__assign({}, (input.Formats != null && { Formats: serializeAws_json1_1SubtitleFormats(input.Formats, context) })), (input.OutputStartIndex != null && { OutputStartIndex: input.OutputStartIndex }));
|
|
3304
3210
|
};
|
|
3305
3211
|
var serializeAws_json1_1Tag = function (input, context) {
|
|
3306
|
-
return __assign(__assign({}, (input.Key
|
|
3212
|
+
return __assign(__assign({}, (input.Key != null && { Key: input.Key })), (input.Value != null && { Value: input.Value }));
|
|
3307
3213
|
};
|
|
3308
3214
|
var serializeAws_json1_1TagKeyList = function (input, context) {
|
|
3309
3215
|
return input
|
|
@@ -3326,44 +3232,29 @@ var serializeAws_json1_1TagList = function (input, context) {
|
|
|
3326
3232
|
});
|
|
3327
3233
|
};
|
|
3328
3234
|
var serializeAws_json1_1TagResourceRequest = function (input, context) {
|
|
3329
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3235
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
3330
3236
|
};
|
|
3331
3237
|
var serializeAws_json1_1TranscriptFilter = function (input, context) {
|
|
3332
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange
|
|
3333
|
-
input.AbsoluteTimeRange !== null && {
|
|
3238
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AbsoluteTimeRange != null && {
|
|
3334
3239
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
3335
|
-
})), (input.Negate
|
|
3336
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange !== undefined &&
|
|
3337
|
-
input.RelativeTimeRange !== null && {
|
|
3240
|
+
})), (input.Negate != null && { Negate: input.Negate })), (input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole })), (input.RelativeTimeRange != null && {
|
|
3338
3241
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
3339
|
-
})), (input.Targets
|
|
3340
|
-
input.Targets !== null && { Targets: serializeAws_json1_1StringTargetList(input.Targets, context) })), (input.TranscriptFilterType !== undefined &&
|
|
3341
|
-
input.TranscriptFilterType !== null && { TranscriptFilterType: input.TranscriptFilterType }));
|
|
3242
|
+
})), (input.Targets != null && { Targets: serializeAws_json1_1StringTargetList(input.Targets, context) })), (input.TranscriptFilterType != null && { TranscriptFilterType: input.TranscriptFilterType }));
|
|
3342
3243
|
};
|
|
3343
3244
|
var serializeAws_json1_1UntagResourceRequest = function (input, context) {
|
|
3344
|
-
return __assign(__assign({}, (input.ResourceArn
|
|
3345
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
3245
|
+
return __assign(__assign({}, (input.ResourceArn != null && { ResourceArn: input.ResourceArn })), (input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }));
|
|
3346
3246
|
};
|
|
3347
3247
|
var serializeAws_json1_1UpdateCallAnalyticsCategoryRequest = function (input, context) {
|
|
3348
|
-
return __assign(__assign({}, (input.CategoryName
|
|
3349
|
-
input.Rules !== null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
3248
|
+
return __assign(__assign({}, (input.CategoryName != null && { CategoryName: input.CategoryName })), (input.Rules != null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }));
|
|
3350
3249
|
};
|
|
3351
3250
|
var serializeAws_json1_1UpdateMedicalVocabularyRequest = function (input, context) {
|
|
3352
|
-
return __assign(__assign(__assign({}, (input.LanguageCode
|
|
3353
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
3354
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3251
|
+
return __assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3355
3252
|
};
|
|
3356
3253
|
var serializeAws_json1_1UpdateVocabularyFilterRequest = function (input, context) {
|
|
3357
|
-
return __assign(__assign(__assign({}, (input.VocabularyFilterFileUri
|
|
3358
|
-
input.VocabularyFilterFileUri !== null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName !== undefined &&
|
|
3359
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words !== undefined &&
|
|
3360
|
-
input.Words !== null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
3254
|
+
return __assign(__assign(__assign({}, (input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri })), (input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName })), (input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }));
|
|
3361
3255
|
};
|
|
3362
3256
|
var serializeAws_json1_1UpdateVocabularyRequest = function (input, context) {
|
|
3363
|
-
return __assign(__assign(__assign(__assign({}, (input.LanguageCode
|
|
3364
|
-
input.Phrases !== null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.VocabularyFileUri !== undefined &&
|
|
3365
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName !== undefined &&
|
|
3366
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }));
|
|
3257
|
+
return __assign(__assign(__assign(__assign({}, (input.LanguageCode != null && { LanguageCode: input.LanguageCode })), (input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) })), (input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri })), (input.VocabularyName != null && { VocabularyName: input.VocabularyName }));
|
|
3367
3258
|
};
|
|
3368
3259
|
var serializeAws_json1_1Words = function (input, context) {
|
|
3369
3260
|
return input
|
|
@@ -3392,45 +3283,37 @@ var deserializeAws_json1_1CallAnalyticsJob = function (output, context) {
|
|
|
3392
3283
|
return {
|
|
3393
3284
|
CallAnalyticsJobName: __expectString(output.CallAnalyticsJobName),
|
|
3394
3285
|
CallAnalyticsJobStatus: __expectString(output.CallAnalyticsJobStatus),
|
|
3395
|
-
ChannelDefinitions: output.ChannelDefinitions
|
|
3286
|
+
ChannelDefinitions: output.ChannelDefinitions != null
|
|
3396
3287
|
? deserializeAws_json1_1ChannelDefinitions(output.ChannelDefinitions, context)
|
|
3397
3288
|
: undefined,
|
|
3398
|
-
CompletionTime: output.CompletionTime
|
|
3289
|
+
CompletionTime: output.CompletionTime != null
|
|
3399
3290
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3400
3291
|
: undefined,
|
|
3401
|
-
CreationTime: output.CreationTime
|
|
3292
|
+
CreationTime: output.CreationTime != null
|
|
3402
3293
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3403
3294
|
: undefined,
|
|
3404
3295
|
DataAccessRoleArn: __expectString(output.DataAccessRoleArn),
|
|
3405
3296
|
FailureReason: __expectString(output.FailureReason),
|
|
3406
3297
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
3407
3298
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3408
|
-
Media: output.Media
|
|
3409
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
3410
|
-
: undefined,
|
|
3299
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
3411
3300
|
MediaFormat: __expectString(output.MediaFormat),
|
|
3412
3301
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
3413
|
-
Settings: output.Settings
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3417
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3418
|
-
: undefined,
|
|
3419
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
3420
|
-
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
3421
|
-
: undefined,
|
|
3302
|
+
Settings: output.Settings != null ? deserializeAws_json1_1CallAnalyticsJobSettings(output.Settings, context) : undefined,
|
|
3303
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3304
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1Transcript(output.Transcript, context) : undefined,
|
|
3422
3305
|
};
|
|
3423
3306
|
};
|
|
3424
3307
|
var deserializeAws_json1_1CallAnalyticsJobSettings = function (output, context) {
|
|
3425
3308
|
return {
|
|
3426
|
-
ContentRedaction: output.ContentRedaction
|
|
3309
|
+
ContentRedaction: output.ContentRedaction != null
|
|
3427
3310
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
3428
3311
|
: undefined,
|
|
3429
|
-
LanguageIdSettings: output.LanguageIdSettings
|
|
3312
|
+
LanguageIdSettings: output.LanguageIdSettings != null
|
|
3430
3313
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
3431
3314
|
: undefined,
|
|
3432
3315
|
LanguageModelName: __expectString(output.LanguageModelName),
|
|
3433
|
-
LanguageOptions: output.LanguageOptions
|
|
3316
|
+
LanguageOptions: output.LanguageOptions != null
|
|
3434
3317
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
3435
3318
|
: undefined,
|
|
3436
3319
|
VocabularyFilterMethod: __expectString(output.VocabularyFilterMethod),
|
|
@@ -3453,31 +3336,25 @@ var deserializeAws_json1_1CallAnalyticsJobSummary = function (output, context) {
|
|
|
3453
3336
|
return {
|
|
3454
3337
|
CallAnalyticsJobName: __expectString(output.CallAnalyticsJobName),
|
|
3455
3338
|
CallAnalyticsJobStatus: __expectString(output.CallAnalyticsJobStatus),
|
|
3456
|
-
CompletionTime: output.CompletionTime
|
|
3339
|
+
CompletionTime: output.CompletionTime != null
|
|
3457
3340
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3458
3341
|
: undefined,
|
|
3459
|
-
CreationTime: output.CreationTime
|
|
3342
|
+
CreationTime: output.CreationTime != null
|
|
3460
3343
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3461
3344
|
: undefined,
|
|
3462
3345
|
FailureReason: __expectString(output.FailureReason),
|
|
3463
3346
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3464
|
-
StartTime: output.StartTime
|
|
3465
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3466
|
-
: undefined,
|
|
3347
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3467
3348
|
};
|
|
3468
3349
|
};
|
|
3469
3350
|
var deserializeAws_json1_1CategoryProperties = function (output, context) {
|
|
3470
3351
|
return {
|
|
3471
3352
|
CategoryName: __expectString(output.CategoryName),
|
|
3472
|
-
CreateTime: output.CreateTime
|
|
3473
|
-
|
|
3474
|
-
: undefined,
|
|
3475
|
-
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
3353
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
3354
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
3476
3355
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdateTime)))
|
|
3477
3356
|
: undefined,
|
|
3478
|
-
Rules: output.Rules
|
|
3479
|
-
? deserializeAws_json1_1RuleList(output.Rules, context)
|
|
3480
|
-
: undefined,
|
|
3357
|
+
Rules: output.Rules != null ? deserializeAws_json1_1RuleList(output.Rules, context) : undefined,
|
|
3481
3358
|
};
|
|
3482
3359
|
};
|
|
3483
3360
|
var deserializeAws_json1_1CategoryPropertiesList = function (output, context) {
|
|
@@ -3515,16 +3392,14 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
|
|
|
3515
3392
|
};
|
|
3516
3393
|
var deserializeAws_json1_1ContentRedaction = function (output, context) {
|
|
3517
3394
|
return {
|
|
3518
|
-
PiiEntityTypes: output.PiiEntityTypes
|
|
3519
|
-
? deserializeAws_json1_1PiiEntityTypes(output.PiiEntityTypes, context)
|
|
3520
|
-
: undefined,
|
|
3395
|
+
PiiEntityTypes: output.PiiEntityTypes != null ? deserializeAws_json1_1PiiEntityTypes(output.PiiEntityTypes, context) : undefined,
|
|
3521
3396
|
RedactionOutput: __expectString(output.RedactionOutput),
|
|
3522
3397
|
RedactionType: __expectString(output.RedactionType),
|
|
3523
3398
|
};
|
|
3524
3399
|
};
|
|
3525
3400
|
var deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = function (output, context) {
|
|
3526
3401
|
return {
|
|
3527
|
-
CategoryProperties: output.CategoryProperties
|
|
3402
|
+
CategoryProperties: output.CategoryProperties != null
|
|
3528
3403
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3529
3404
|
: undefined,
|
|
3530
3405
|
};
|
|
@@ -3532,7 +3407,7 @@ var deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = function (output
|
|
|
3532
3407
|
var deserializeAws_json1_1CreateLanguageModelResponse = function (output, context) {
|
|
3533
3408
|
return {
|
|
3534
3409
|
BaseModelName: __expectString(output.BaseModelName),
|
|
3535
|
-
InputDataConfig: output.InputDataConfig
|
|
3410
|
+
InputDataConfig: output.InputDataConfig != null
|
|
3536
3411
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3537
3412
|
: undefined,
|
|
3538
3413
|
LanguageCode: __expectString(output.LanguageCode),
|
|
@@ -3544,7 +3419,7 @@ var deserializeAws_json1_1CreateMedicalVocabularyResponse = function (output, co
|
|
|
3544
3419
|
return {
|
|
3545
3420
|
FailureReason: __expectString(output.FailureReason),
|
|
3546
3421
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3547
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3422
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3548
3423
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3549
3424
|
: undefined,
|
|
3550
3425
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3554,7 +3429,7 @@ var deserializeAws_json1_1CreateMedicalVocabularyResponse = function (output, co
|
|
|
3554
3429
|
var deserializeAws_json1_1CreateVocabularyFilterResponse = function (output, context) {
|
|
3555
3430
|
return {
|
|
3556
3431
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3557
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3432
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3558
3433
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3559
3434
|
: undefined,
|
|
3560
3435
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -3564,7 +3439,7 @@ var deserializeAws_json1_1CreateVocabularyResponse = function (output, context)
|
|
|
3564
3439
|
return {
|
|
3565
3440
|
FailureReason: __expectString(output.FailureReason),
|
|
3566
3441
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3567
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3442
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3568
3443
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3569
3444
|
: undefined,
|
|
3570
3445
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3579,28 +3454,26 @@ var deserializeAws_json1_1DeleteCallAnalyticsJobResponse = function (output, con
|
|
|
3579
3454
|
};
|
|
3580
3455
|
var deserializeAws_json1_1DescribeLanguageModelResponse = function (output, context) {
|
|
3581
3456
|
return {
|
|
3582
|
-
LanguageModel: output.LanguageModel
|
|
3583
|
-
? deserializeAws_json1_1LanguageModel(output.LanguageModel, context)
|
|
3584
|
-
: undefined,
|
|
3457
|
+
LanguageModel: output.LanguageModel != null ? deserializeAws_json1_1LanguageModel(output.LanguageModel, context) : undefined,
|
|
3585
3458
|
};
|
|
3586
3459
|
};
|
|
3587
3460
|
var deserializeAws_json1_1GetCallAnalyticsCategoryResponse = function (output, context) {
|
|
3588
3461
|
return {
|
|
3589
|
-
CategoryProperties: output.CategoryProperties
|
|
3462
|
+
CategoryProperties: output.CategoryProperties != null
|
|
3590
3463
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3591
3464
|
: undefined,
|
|
3592
3465
|
};
|
|
3593
3466
|
};
|
|
3594
3467
|
var deserializeAws_json1_1GetCallAnalyticsJobResponse = function (output, context) {
|
|
3595
3468
|
return {
|
|
3596
|
-
CallAnalyticsJob: output.CallAnalyticsJob
|
|
3469
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
3597
3470
|
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
3598
3471
|
: undefined,
|
|
3599
3472
|
};
|
|
3600
3473
|
};
|
|
3601
3474
|
var deserializeAws_json1_1GetMedicalTranscriptionJobResponse = function (output, context) {
|
|
3602
3475
|
return {
|
|
3603
|
-
MedicalTranscriptionJob: output.MedicalTranscriptionJob
|
|
3476
|
+
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
3604
3477
|
? deserializeAws_json1_1MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
3605
3478
|
: undefined,
|
|
3606
3479
|
};
|
|
@@ -3610,7 +3483,7 @@ var deserializeAws_json1_1GetMedicalVocabularyResponse = function (output, conte
|
|
|
3610
3483
|
DownloadUri: __expectString(output.DownloadUri),
|
|
3611
3484
|
FailureReason: __expectString(output.FailureReason),
|
|
3612
3485
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3613
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3486
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3614
3487
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3615
3488
|
: undefined,
|
|
3616
3489
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3619,7 +3492,7 @@ var deserializeAws_json1_1GetMedicalVocabularyResponse = function (output, conte
|
|
|
3619
3492
|
};
|
|
3620
3493
|
var deserializeAws_json1_1GetTranscriptionJobResponse = function (output, context) {
|
|
3621
3494
|
return {
|
|
3622
|
-
TranscriptionJob: output.TranscriptionJob
|
|
3495
|
+
TranscriptionJob: output.TranscriptionJob != null
|
|
3623
3496
|
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
3624
3497
|
: undefined,
|
|
3625
3498
|
};
|
|
@@ -3628,7 +3501,7 @@ var deserializeAws_json1_1GetVocabularyFilterResponse = function (output, contex
|
|
|
3628
3501
|
return {
|
|
3629
3502
|
DownloadUri: __expectString(output.DownloadUri),
|
|
3630
3503
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3631
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3504
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3632
3505
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3633
3506
|
: undefined,
|
|
3634
3507
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -3639,7 +3512,7 @@ var deserializeAws_json1_1GetVocabularyResponse = function (output, context) {
|
|
|
3639
3512
|
DownloadUri: __expectString(output.DownloadUri),
|
|
3640
3513
|
FailureReason: __expectString(output.FailureReason),
|
|
3641
3514
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3642
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3515
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3643
3516
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3644
3517
|
: undefined,
|
|
3645
3518
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -3660,12 +3533,12 @@ var deserializeAws_json1_1InternalFailureException = function (output, context)
|
|
|
3660
3533
|
};
|
|
3661
3534
|
var deserializeAws_json1_1InterruptionFilter = function (output, context) {
|
|
3662
3535
|
return {
|
|
3663
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3536
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3664
3537
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3665
3538
|
: undefined,
|
|
3666
3539
|
Negate: __expectBoolean(output.Negate),
|
|
3667
3540
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
3668
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3541
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3669
3542
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3670
3543
|
: undefined,
|
|
3671
3544
|
Threshold: __expectLong(output.Threshold),
|
|
@@ -3714,15 +3587,13 @@ var deserializeAws_json1_1LanguageIdSettingsMap = function (output, context) {
|
|
|
3714
3587
|
var deserializeAws_json1_1LanguageModel = function (output, context) {
|
|
3715
3588
|
return {
|
|
3716
3589
|
BaseModelName: __expectString(output.BaseModelName),
|
|
3717
|
-
CreateTime: output.CreateTime
|
|
3718
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime)))
|
|
3719
|
-
: undefined,
|
|
3590
|
+
CreateTime: output.CreateTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreateTime))) : undefined,
|
|
3720
3591
|
FailureReason: __expectString(output.FailureReason),
|
|
3721
|
-
InputDataConfig: output.InputDataConfig
|
|
3592
|
+
InputDataConfig: output.InputDataConfig != null
|
|
3722
3593
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3723
3594
|
: undefined,
|
|
3724
3595
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3725
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3596
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3726
3597
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
3727
3598
|
: undefined,
|
|
3728
3599
|
ModelName: __expectString(output.ModelName),
|
|
@@ -3748,15 +3619,13 @@ var deserializeAws_json1_1LimitExceededException = function (output, context) {
|
|
|
3748
3619
|
};
|
|
3749
3620
|
var deserializeAws_json1_1ListCallAnalyticsCategoriesResponse = function (output, context) {
|
|
3750
3621
|
return {
|
|
3751
|
-
Categories: output.Categories
|
|
3752
|
-
? deserializeAws_json1_1CategoryPropertiesList(output.Categories, context)
|
|
3753
|
-
: undefined,
|
|
3622
|
+
Categories: output.Categories != null ? deserializeAws_json1_1CategoryPropertiesList(output.Categories, context) : undefined,
|
|
3754
3623
|
NextToken: __expectString(output.NextToken),
|
|
3755
3624
|
};
|
|
3756
3625
|
};
|
|
3757
3626
|
var deserializeAws_json1_1ListCallAnalyticsJobsResponse = function (output, context) {
|
|
3758
3627
|
return {
|
|
3759
|
-
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries
|
|
3628
|
+
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries != null
|
|
3760
3629
|
? deserializeAws_json1_1CallAnalyticsJobSummaries(output.CallAnalyticsJobSummaries, context)
|
|
3761
3630
|
: undefined,
|
|
3762
3631
|
NextToken: __expectString(output.NextToken),
|
|
@@ -3765,15 +3634,13 @@ var deserializeAws_json1_1ListCallAnalyticsJobsResponse = function (output, cont
|
|
|
3765
3634
|
};
|
|
3766
3635
|
var deserializeAws_json1_1ListLanguageModelsResponse = function (output, context) {
|
|
3767
3636
|
return {
|
|
3768
|
-
Models: output.Models
|
|
3769
|
-
? deserializeAws_json1_1Models(output.Models, context)
|
|
3770
|
-
: undefined,
|
|
3637
|
+
Models: output.Models != null ? deserializeAws_json1_1Models(output.Models, context) : undefined,
|
|
3771
3638
|
NextToken: __expectString(output.NextToken),
|
|
3772
3639
|
};
|
|
3773
3640
|
};
|
|
3774
3641
|
var deserializeAws_json1_1ListMedicalTranscriptionJobsResponse = function (output, context) {
|
|
3775
3642
|
return {
|
|
3776
|
-
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries
|
|
3643
|
+
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries != null
|
|
3777
3644
|
? deserializeAws_json1_1MedicalTranscriptionJobSummaries(output.MedicalTranscriptionJobSummaries, context)
|
|
3778
3645
|
: undefined,
|
|
3779
3646
|
NextToken: __expectString(output.NextToken),
|
|
@@ -3784,24 +3651,20 @@ var deserializeAws_json1_1ListMedicalVocabulariesResponse = function (output, co
|
|
|
3784
3651
|
return {
|
|
3785
3652
|
NextToken: __expectString(output.NextToken),
|
|
3786
3653
|
Status: __expectString(output.Status),
|
|
3787
|
-
Vocabularies: output.Vocabularies
|
|
3788
|
-
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
3789
|
-
: undefined,
|
|
3654
|
+
Vocabularies: output.Vocabularies != null ? deserializeAws_json1_1Vocabularies(output.Vocabularies, context) : undefined,
|
|
3790
3655
|
};
|
|
3791
3656
|
};
|
|
3792
3657
|
var deserializeAws_json1_1ListTagsForResourceResponse = function (output, context) {
|
|
3793
3658
|
return {
|
|
3794
3659
|
ResourceArn: __expectString(output.ResourceArn),
|
|
3795
|
-
Tags: output.Tags
|
|
3796
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3797
|
-
: undefined,
|
|
3660
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
3798
3661
|
};
|
|
3799
3662
|
};
|
|
3800
3663
|
var deserializeAws_json1_1ListTranscriptionJobsResponse = function (output, context) {
|
|
3801
3664
|
return {
|
|
3802
3665
|
NextToken: __expectString(output.NextToken),
|
|
3803
3666
|
Status: __expectString(output.Status),
|
|
3804
|
-
TranscriptionJobSummaries: output.TranscriptionJobSummaries
|
|
3667
|
+
TranscriptionJobSummaries: output.TranscriptionJobSummaries != null
|
|
3805
3668
|
? deserializeAws_json1_1TranscriptionJobSummaries(output.TranscriptionJobSummaries, context)
|
|
3806
3669
|
: undefined,
|
|
3807
3670
|
};
|
|
@@ -3810,15 +3673,13 @@ var deserializeAws_json1_1ListVocabulariesResponse = function (output, context)
|
|
|
3810
3673
|
return {
|
|
3811
3674
|
NextToken: __expectString(output.NextToken),
|
|
3812
3675
|
Status: __expectString(output.Status),
|
|
3813
|
-
Vocabularies: output.Vocabularies
|
|
3814
|
-
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
3815
|
-
: undefined,
|
|
3676
|
+
Vocabularies: output.Vocabularies != null ? deserializeAws_json1_1Vocabularies(output.Vocabularies, context) : undefined,
|
|
3816
3677
|
};
|
|
3817
3678
|
};
|
|
3818
3679
|
var deserializeAws_json1_1ListVocabularyFiltersResponse = function (output, context) {
|
|
3819
3680
|
return {
|
|
3820
3681
|
NextToken: __expectString(output.NextToken),
|
|
3821
|
-
VocabularyFilters: output.VocabularyFilters
|
|
3682
|
+
VocabularyFilters: output.VocabularyFilters != null
|
|
3822
3683
|
? deserializeAws_json1_1VocabularyFilters(output.VocabularyFilters, context)
|
|
3823
3684
|
: undefined,
|
|
3824
3685
|
};
|
|
@@ -3836,34 +3697,24 @@ var deserializeAws_json1_1MedicalTranscript = function (output, context) {
|
|
|
3836
3697
|
};
|
|
3837
3698
|
var deserializeAws_json1_1MedicalTranscriptionJob = function (output, context) {
|
|
3838
3699
|
return {
|
|
3839
|
-
CompletionTime: output.CompletionTime
|
|
3700
|
+
CompletionTime: output.CompletionTime != null
|
|
3840
3701
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3841
3702
|
: undefined,
|
|
3842
3703
|
ContentIdentificationType: __expectString(output.ContentIdentificationType),
|
|
3843
|
-
CreationTime: output.CreationTime
|
|
3704
|
+
CreationTime: output.CreationTime != null
|
|
3844
3705
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3845
3706
|
: undefined,
|
|
3846
3707
|
FailureReason: __expectString(output.FailureReason),
|
|
3847
3708
|
LanguageCode: __expectString(output.LanguageCode),
|
|
3848
|
-
Media: output.Media
|
|
3849
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
3850
|
-
: undefined,
|
|
3709
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
3851
3710
|
MediaFormat: __expectString(output.MediaFormat),
|
|
3852
3711
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
3853
3712
|
MedicalTranscriptionJobName: __expectString(output.MedicalTranscriptionJobName),
|
|
3854
|
-
Settings: output.Settings
|
|
3855
|
-
? deserializeAws_json1_1MedicalTranscriptionSetting(output.Settings, context)
|
|
3856
|
-
: undefined,
|
|
3713
|
+
Settings: output.Settings != null ? deserializeAws_json1_1MedicalTranscriptionSetting(output.Settings, context) : undefined,
|
|
3857
3714
|
Specialty: __expectString(output.Specialty),
|
|
3858
|
-
StartTime: output.StartTime
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3862
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3863
|
-
: undefined,
|
|
3864
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
3865
|
-
? deserializeAws_json1_1MedicalTranscript(output.Transcript, context)
|
|
3866
|
-
: undefined,
|
|
3715
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3716
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
3717
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1MedicalTranscript(output.Transcript, context) : undefined,
|
|
3867
3718
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
3868
3719
|
Type: __expectString(output.Type),
|
|
3869
3720
|
};
|
|
@@ -3881,11 +3732,11 @@ var deserializeAws_json1_1MedicalTranscriptionJobSummaries = function (output, c
|
|
|
3881
3732
|
};
|
|
3882
3733
|
var deserializeAws_json1_1MedicalTranscriptionJobSummary = function (output, context) {
|
|
3883
3734
|
return {
|
|
3884
|
-
CompletionTime: output.CompletionTime
|
|
3735
|
+
CompletionTime: output.CompletionTime != null
|
|
3885
3736
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
3886
3737
|
: undefined,
|
|
3887
3738
|
ContentIdentificationType: __expectString(output.ContentIdentificationType),
|
|
3888
|
-
CreationTime: output.CreationTime
|
|
3739
|
+
CreationTime: output.CreationTime != null
|
|
3889
3740
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
3890
3741
|
: undefined,
|
|
3891
3742
|
FailureReason: __expectString(output.FailureReason),
|
|
@@ -3893,9 +3744,7 @@ var deserializeAws_json1_1MedicalTranscriptionJobSummary = function (output, con
|
|
|
3893
3744
|
MedicalTranscriptionJobName: __expectString(output.MedicalTranscriptionJobName),
|
|
3894
3745
|
OutputLocationType: __expectString(output.OutputLocationType),
|
|
3895
3746
|
Specialty: __expectString(output.Specialty),
|
|
3896
|
-
StartTime: output.StartTime
|
|
3897
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
3898
|
-
: undefined,
|
|
3747
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
3899
3748
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
3900
3749
|
Type: __expectString(output.Type),
|
|
3901
3750
|
};
|
|
@@ -3928,11 +3777,11 @@ var deserializeAws_json1_1ModelSettings = function (output, context) {
|
|
|
3928
3777
|
};
|
|
3929
3778
|
var deserializeAws_json1_1NonTalkTimeFilter = function (output, context) {
|
|
3930
3779
|
return {
|
|
3931
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3780
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3932
3781
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3933
3782
|
: undefined,
|
|
3934
3783
|
Negate: __expectBoolean(output.Negate),
|
|
3935
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3784
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3936
3785
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3937
3786
|
: undefined,
|
|
3938
3787
|
Threshold: __expectLong(output.Threshold),
|
|
@@ -3998,17 +3847,15 @@ var deserializeAws_json1_1RuleList = function (output, context) {
|
|
|
3998
3847
|
};
|
|
3999
3848
|
var deserializeAws_json1_1SentimentFilter = function (output, context) {
|
|
4000
3849
|
return {
|
|
4001
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3850
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
4002
3851
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
4003
3852
|
: undefined,
|
|
4004
3853
|
Negate: __expectBoolean(output.Negate),
|
|
4005
3854
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
4006
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3855
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
4007
3856
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
4008
3857
|
: undefined,
|
|
4009
|
-
Sentiments: output.Sentiments
|
|
4010
|
-
? deserializeAws_json1_1SentimentValueList(output.Sentiments, context)
|
|
4011
|
-
: undefined,
|
|
3858
|
+
Sentiments: output.Sentiments != null ? deserializeAws_json1_1SentimentValueList(output.Sentiments, context) : undefined,
|
|
4012
3859
|
};
|
|
4013
3860
|
};
|
|
4014
3861
|
var deserializeAws_json1_1SentimentValueList = function (output, context) {
|
|
@@ -4036,21 +3883,21 @@ var deserializeAws_json1_1Settings = function (output, context) {
|
|
|
4036
3883
|
};
|
|
4037
3884
|
var deserializeAws_json1_1StartCallAnalyticsJobResponse = function (output, context) {
|
|
4038
3885
|
return {
|
|
4039
|
-
CallAnalyticsJob: output.CallAnalyticsJob
|
|
3886
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
4040
3887
|
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
4041
3888
|
: undefined,
|
|
4042
3889
|
};
|
|
4043
3890
|
};
|
|
4044
3891
|
var deserializeAws_json1_1StartMedicalTranscriptionJobResponse = function (output, context) {
|
|
4045
3892
|
return {
|
|
4046
|
-
MedicalTranscriptionJob: output.MedicalTranscriptionJob
|
|
3893
|
+
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
4047
3894
|
? deserializeAws_json1_1MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
4048
3895
|
: undefined,
|
|
4049
3896
|
};
|
|
4050
3897
|
};
|
|
4051
3898
|
var deserializeAws_json1_1StartTranscriptionJobResponse = function (output, context) {
|
|
4052
3899
|
return {
|
|
4053
|
-
TranscriptionJob: output.TranscriptionJob
|
|
3900
|
+
TranscriptionJob: output.TranscriptionJob != null
|
|
4054
3901
|
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
4055
3902
|
: undefined,
|
|
4056
3903
|
};
|
|
@@ -4090,11 +3937,9 @@ var deserializeAws_json1_1SubtitleFormats = function (output, context) {
|
|
|
4090
3937
|
};
|
|
4091
3938
|
var deserializeAws_json1_1SubtitlesOutput = function (output, context) {
|
|
4092
3939
|
return {
|
|
4093
|
-
Formats: output.Formats
|
|
4094
|
-
? deserializeAws_json1_1SubtitleFormats(output.Formats, context)
|
|
4095
|
-
: undefined,
|
|
3940
|
+
Formats: output.Formats != null ? deserializeAws_json1_1SubtitleFormats(output.Formats, context) : undefined,
|
|
4096
3941
|
OutputStartIndex: __expectInt32(output.OutputStartIndex),
|
|
4097
|
-
SubtitleFileUris: output.SubtitleFileUris
|
|
3942
|
+
SubtitleFileUris: output.SubtitleFileUris != null
|
|
4098
3943
|
? deserializeAws_json1_1SubtitleFileUris(output.SubtitleFileUris, context)
|
|
4099
3944
|
: undefined,
|
|
4100
3945
|
};
|
|
@@ -4127,71 +3972,53 @@ var deserializeAws_json1_1Transcript = function (output, context) {
|
|
|
4127
3972
|
};
|
|
4128
3973
|
var deserializeAws_json1_1TranscriptFilter = function (output, context) {
|
|
4129
3974
|
return {
|
|
4130
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3975
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
4131
3976
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
4132
3977
|
: undefined,
|
|
4133
3978
|
Negate: __expectBoolean(output.Negate),
|
|
4134
3979
|
ParticipantRole: __expectString(output.ParticipantRole),
|
|
4135
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3980
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
4136
3981
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
4137
3982
|
: undefined,
|
|
4138
|
-
Targets: output.Targets
|
|
4139
|
-
? deserializeAws_json1_1StringTargetList(output.Targets, context)
|
|
4140
|
-
: undefined,
|
|
3983
|
+
Targets: output.Targets != null ? deserializeAws_json1_1StringTargetList(output.Targets, context) : undefined,
|
|
4141
3984
|
TranscriptFilterType: __expectString(output.TranscriptFilterType),
|
|
4142
3985
|
};
|
|
4143
3986
|
};
|
|
4144
3987
|
var deserializeAws_json1_1TranscriptionJob = function (output, context) {
|
|
4145
3988
|
return {
|
|
4146
|
-
CompletionTime: output.CompletionTime
|
|
3989
|
+
CompletionTime: output.CompletionTime != null
|
|
4147
3990
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
4148
3991
|
: undefined,
|
|
4149
|
-
ContentRedaction: output.ContentRedaction
|
|
3992
|
+
ContentRedaction: output.ContentRedaction != null
|
|
4150
3993
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
4151
3994
|
: undefined,
|
|
4152
|
-
CreationTime: output.CreationTime
|
|
3995
|
+
CreationTime: output.CreationTime != null
|
|
4153
3996
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4154
3997
|
: undefined,
|
|
4155
3998
|
FailureReason: __expectString(output.FailureReason),
|
|
4156
3999
|
IdentifiedLanguageScore: __limitedParseFloat32(output.IdentifiedLanguageScore),
|
|
4157
4000
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
4158
4001
|
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
4159
|
-
JobExecutionSettings: output.JobExecutionSettings
|
|
4002
|
+
JobExecutionSettings: output.JobExecutionSettings != null
|
|
4160
4003
|
? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
|
|
4161
4004
|
: undefined,
|
|
4162
4005
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4163
|
-
LanguageCodes: output.LanguageCodes
|
|
4164
|
-
|
|
4165
|
-
: undefined,
|
|
4166
|
-
LanguageIdSettings: output.LanguageIdSettings !== undefined && output.LanguageIdSettings !== null
|
|
4006
|
+
LanguageCodes: output.LanguageCodes != null ? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
4007
|
+
LanguageIdSettings: output.LanguageIdSettings != null
|
|
4167
4008
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
4168
4009
|
: undefined,
|
|
4169
|
-
LanguageOptions: output.LanguageOptions
|
|
4010
|
+
LanguageOptions: output.LanguageOptions != null
|
|
4170
4011
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
4171
4012
|
: undefined,
|
|
4172
|
-
Media: output.Media
|
|
4173
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
4174
|
-
: undefined,
|
|
4013
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
4175
4014
|
MediaFormat: __expectString(output.MediaFormat),
|
|
4176
4015
|
MediaSampleRateHertz: __expectInt32(output.MediaSampleRateHertz),
|
|
4177
|
-
ModelSettings: output.ModelSettings
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
4184
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
4185
|
-
: undefined,
|
|
4186
|
-
Subtitles: output.Subtitles !== undefined && output.Subtitles !== null
|
|
4187
|
-
? deserializeAws_json1_1SubtitlesOutput(output.Subtitles, context)
|
|
4188
|
-
: undefined,
|
|
4189
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4190
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
4191
|
-
: undefined,
|
|
4192
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
4193
|
-
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
4194
|
-
: undefined,
|
|
4016
|
+
ModelSettings: output.ModelSettings != null ? deserializeAws_json1_1ModelSettings(output.ModelSettings, context) : undefined,
|
|
4017
|
+
Settings: output.Settings != null ? deserializeAws_json1_1Settings(output.Settings, context) : undefined,
|
|
4018
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4019
|
+
Subtitles: output.Subtitles != null ? deserializeAws_json1_1SubtitlesOutput(output.Subtitles, context) : undefined,
|
|
4020
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
4021
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1Transcript(output.Transcript, context) : undefined,
|
|
4195
4022
|
TranscriptionJobName: __expectString(output.TranscriptionJobName),
|
|
4196
4023
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
4197
4024
|
};
|
|
@@ -4209,13 +4036,13 @@ var deserializeAws_json1_1TranscriptionJobSummaries = function (output, context)
|
|
|
4209
4036
|
};
|
|
4210
4037
|
var deserializeAws_json1_1TranscriptionJobSummary = function (output, context) {
|
|
4211
4038
|
return {
|
|
4212
|
-
CompletionTime: output.CompletionTime
|
|
4039
|
+
CompletionTime: output.CompletionTime != null
|
|
4213
4040
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
4214
4041
|
: undefined,
|
|
4215
|
-
ContentRedaction: output.ContentRedaction
|
|
4042
|
+
ContentRedaction: output.ContentRedaction != null
|
|
4216
4043
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
4217
4044
|
: undefined,
|
|
4218
|
-
CreationTime: output.CreationTime
|
|
4045
|
+
CreationTime: output.CreationTime != null
|
|
4219
4046
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
4220
4047
|
: undefined,
|
|
4221
4048
|
FailureReason: __expectString(output.FailureReason),
|
|
@@ -4223,16 +4050,10 @@ var deserializeAws_json1_1TranscriptionJobSummary = function (output, context) {
|
|
|
4223
4050
|
IdentifyLanguage: __expectBoolean(output.IdentifyLanguage),
|
|
4224
4051
|
IdentifyMultipleLanguages: __expectBoolean(output.IdentifyMultipleLanguages),
|
|
4225
4052
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4226
|
-
LanguageCodes: output.LanguageCodes
|
|
4227
|
-
|
|
4228
|
-
: undefined,
|
|
4229
|
-
ModelSettings: output.ModelSettings !== undefined && output.ModelSettings !== null
|
|
4230
|
-
? deserializeAws_json1_1ModelSettings(output.ModelSettings, context)
|
|
4231
|
-
: undefined,
|
|
4053
|
+
LanguageCodes: output.LanguageCodes != null ? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
4054
|
+
ModelSettings: output.ModelSettings != null ? deserializeAws_json1_1ModelSettings(output.ModelSettings, context) : undefined,
|
|
4232
4055
|
OutputLocationType: __expectString(output.OutputLocationType),
|
|
4233
|
-
StartTime: output.StartTime
|
|
4234
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
4235
|
-
: undefined,
|
|
4056
|
+
StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
|
|
4236
4057
|
TranscriptionJobName: __expectString(output.TranscriptionJobName),
|
|
4237
4058
|
TranscriptionJobStatus: __expectString(output.TranscriptionJobStatus),
|
|
4238
4059
|
};
|
|
@@ -4242,7 +4063,7 @@ var deserializeAws_json1_1UntagResourceResponse = function (output, context) {
|
|
|
4242
4063
|
};
|
|
4243
4064
|
var deserializeAws_json1_1UpdateCallAnalyticsCategoryResponse = function (output, context) {
|
|
4244
4065
|
return {
|
|
4245
|
-
CategoryProperties: output.CategoryProperties
|
|
4066
|
+
CategoryProperties: output.CategoryProperties != null
|
|
4246
4067
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
4247
4068
|
: undefined,
|
|
4248
4069
|
};
|
|
@@ -4250,7 +4071,7 @@ var deserializeAws_json1_1UpdateCallAnalyticsCategoryResponse = function (output
|
|
|
4250
4071
|
var deserializeAws_json1_1UpdateMedicalVocabularyResponse = function (output, context) {
|
|
4251
4072
|
return {
|
|
4252
4073
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4253
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4074
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4254
4075
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4255
4076
|
: undefined,
|
|
4256
4077
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -4260,7 +4081,7 @@ var deserializeAws_json1_1UpdateMedicalVocabularyResponse = function (output, co
|
|
|
4260
4081
|
var deserializeAws_json1_1UpdateVocabularyFilterResponse = function (output, context) {
|
|
4261
4082
|
return {
|
|
4262
4083
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4263
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4084
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4264
4085
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4265
4086
|
: undefined,
|
|
4266
4087
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -4269,7 +4090,7 @@ var deserializeAws_json1_1UpdateVocabularyFilterResponse = function (output, con
|
|
|
4269
4090
|
var deserializeAws_json1_1UpdateVocabularyResponse = function (output, context) {
|
|
4270
4091
|
return {
|
|
4271
4092
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4272
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4093
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4273
4094
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4274
4095
|
: undefined,
|
|
4275
4096
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -4290,7 +4111,7 @@ var deserializeAws_json1_1Vocabularies = function (output, context) {
|
|
|
4290
4111
|
var deserializeAws_json1_1VocabularyFilterInfo = function (output, context) {
|
|
4291
4112
|
return {
|
|
4292
4113
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4293
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4114
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4294
4115
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4295
4116
|
: undefined,
|
|
4296
4117
|
VocabularyFilterName: __expectString(output.VocabularyFilterName),
|
|
@@ -4310,7 +4131,7 @@ var deserializeAws_json1_1VocabularyFilters = function (output, context) {
|
|
|
4310
4131
|
var deserializeAws_json1_1VocabularyInfo = function (output, context) {
|
|
4311
4132
|
return {
|
|
4312
4133
|
LanguageCode: __expectString(output.LanguageCode),
|
|
4313
|
-
LastModifiedTime: output.LastModifiedTime
|
|
4134
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
4314
4135
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
4315
4136
|
: undefined,
|
|
4316
4137
|
VocabularyName: __expectString(output.VocabularyName),
|
|
@@ -4373,6 +4194,9 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
4373
4194
|
var findKey = function (object, key) { return Object.keys(object).find(function (k) { return k.toLowerCase() === key.toLowerCase(); }); };
|
|
4374
4195
|
var sanitizeErrorCode = function (rawValue) {
|
|
4375
4196
|
var cleanValue = rawValue;
|
|
4197
|
+
if (typeof cleanValue === "number") {
|
|
4198
|
+
cleanValue = cleanValue.toString();
|
|
4199
|
+
}
|
|
4376
4200
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4377
4201
|
cleanValue = cleanValue.split(":")[0];
|
|
4378
4202
|
}
|