@aws-sdk/client-transcribe 3.121.0 → 3.127.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 +8 -0
- package/dist-cjs/protocols/Aws_json1_1.js +291 -470
- package/dist-es/protocols/Aws_json1_1.js +178 -357
- package/package.json +26 -26
|
@@ -2198,41 +2198,33 @@ const deserializeAws_json1_1NotFoundExceptionResponse = async (parsedOutput, con
|
|
|
2198
2198
|
};
|
|
2199
2199
|
const serializeAws_json1_1AbsoluteTimeRange = (input, context) => {
|
|
2200
2200
|
return {
|
|
2201
|
-
...(input.EndTime
|
|
2202
|
-
...(input.First
|
|
2203
|
-
...(input.Last
|
|
2204
|
-
...(input.StartTime
|
|
2201
|
+
...(input.EndTime != null && { EndTime: input.EndTime }),
|
|
2202
|
+
...(input.First != null && { First: input.First }),
|
|
2203
|
+
...(input.Last != null && { Last: input.Last }),
|
|
2204
|
+
...(input.StartTime != null && { StartTime: input.StartTime }),
|
|
2205
2205
|
};
|
|
2206
2206
|
};
|
|
2207
2207
|
const serializeAws_json1_1CallAnalyticsJobSettings = (input, context) => {
|
|
2208
2208
|
return {
|
|
2209
|
-
...(input.ContentRedaction
|
|
2210
|
-
input.ContentRedaction !== null && {
|
|
2209
|
+
...(input.ContentRedaction != null && {
|
|
2211
2210
|
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
2212
2211
|
}),
|
|
2213
|
-
...(input.LanguageIdSettings
|
|
2214
|
-
input.LanguageIdSettings !== null && {
|
|
2212
|
+
...(input.LanguageIdSettings != null && {
|
|
2215
2213
|
LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
2216
2214
|
}),
|
|
2217
|
-
...(input.LanguageModelName
|
|
2218
|
-
|
|
2219
|
-
...(input.LanguageOptions !== undefined &&
|
|
2220
|
-
input.LanguageOptions !== null && {
|
|
2215
|
+
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
2216
|
+
...(input.LanguageOptions != null && {
|
|
2221
2217
|
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
2222
2218
|
}),
|
|
2223
|
-
...(input.VocabularyFilterMethod
|
|
2224
|
-
|
|
2225
|
-
...(input.
|
|
2226
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2227
|
-
...(input.VocabularyName !== undefined &&
|
|
2228
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2219
|
+
...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
2220
|
+
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2221
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2229
2222
|
};
|
|
2230
2223
|
};
|
|
2231
2224
|
const serializeAws_json1_1ChannelDefinition = (input, context) => {
|
|
2232
2225
|
return {
|
|
2233
|
-
...(input.ChannelId
|
|
2234
|
-
...(input.ParticipantRole
|
|
2235
|
-
input.ParticipantRole !== null && { ParticipantRole: input.ParticipantRole }),
|
|
2226
|
+
...(input.ChannelId != null && { ChannelId: input.ChannelId }),
|
|
2227
|
+
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2236
2228
|
};
|
|
2237
2229
|
};
|
|
2238
2230
|
const serializeAws_json1_1ChannelDefinitions = (input, context) => {
|
|
@@ -2247,191 +2239,164 @@ const serializeAws_json1_1ChannelDefinitions = (input, context) => {
|
|
|
2247
2239
|
};
|
|
2248
2240
|
const serializeAws_json1_1ContentRedaction = (input, context) => {
|
|
2249
2241
|
return {
|
|
2250
|
-
...(input.PiiEntityTypes
|
|
2251
|
-
input.PiiEntityTypes !== null && {
|
|
2242
|
+
...(input.PiiEntityTypes != null && {
|
|
2252
2243
|
PiiEntityTypes: serializeAws_json1_1PiiEntityTypes(input.PiiEntityTypes, context),
|
|
2253
2244
|
}),
|
|
2254
|
-
...(input.RedactionOutput
|
|
2255
|
-
|
|
2256
|
-
...(input.RedactionType !== undefined && input.RedactionType !== null && { RedactionType: input.RedactionType }),
|
|
2245
|
+
...(input.RedactionOutput != null && { RedactionOutput: input.RedactionOutput }),
|
|
2246
|
+
...(input.RedactionType != null && { RedactionType: input.RedactionType }),
|
|
2257
2247
|
};
|
|
2258
2248
|
};
|
|
2259
2249
|
const serializeAws_json1_1CreateCallAnalyticsCategoryRequest = (input, context) => {
|
|
2260
2250
|
return {
|
|
2261
|
-
...(input.CategoryName
|
|
2262
|
-
...(input.Rules
|
|
2263
|
-
input.Rules !== null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }),
|
|
2251
|
+
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2252
|
+
...(input.Rules != null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }),
|
|
2264
2253
|
};
|
|
2265
2254
|
};
|
|
2266
2255
|
const serializeAws_json1_1CreateLanguageModelRequest = (input, context) => {
|
|
2267
2256
|
return {
|
|
2268
|
-
...(input.BaseModelName
|
|
2269
|
-
...(input.InputDataConfig
|
|
2270
|
-
input.InputDataConfig !== null && {
|
|
2257
|
+
...(input.BaseModelName != null && { BaseModelName: input.BaseModelName }),
|
|
2258
|
+
...(input.InputDataConfig != null && {
|
|
2271
2259
|
InputDataConfig: serializeAws_json1_1InputDataConfig(input.InputDataConfig, context),
|
|
2272
2260
|
}),
|
|
2273
|
-
...(input.LanguageCode
|
|
2274
|
-
...(input.ModelName
|
|
2275
|
-
...(input.Tags
|
|
2261
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2262
|
+
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2263
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2276
2264
|
};
|
|
2277
2265
|
};
|
|
2278
2266
|
const serializeAws_json1_1CreateMedicalVocabularyRequest = (input, context) => {
|
|
2279
2267
|
return {
|
|
2280
|
-
...(input.LanguageCode
|
|
2281
|
-
...(input.Tags
|
|
2282
|
-
...(input.VocabularyFileUri
|
|
2283
|
-
|
|
2284
|
-
...(input.VocabularyName !== undefined &&
|
|
2285
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2268
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2269
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2270
|
+
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2271
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2286
2272
|
};
|
|
2287
2273
|
};
|
|
2288
2274
|
const serializeAws_json1_1CreateVocabularyFilterRequest = (input, context) => {
|
|
2289
2275
|
return {
|
|
2290
|
-
...(input.LanguageCode
|
|
2291
|
-
...(input.Tags
|
|
2292
|
-
...(input.VocabularyFilterFileUri
|
|
2293
|
-
|
|
2294
|
-
...(input.
|
|
2295
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2296
|
-
...(input.Words !== undefined &&
|
|
2297
|
-
input.Words !== null && { Words: serializeAws_json1_1Words(input.Words, context) }),
|
|
2276
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2277
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2278
|
+
...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
|
|
2279
|
+
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2280
|
+
...(input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }),
|
|
2298
2281
|
};
|
|
2299
2282
|
};
|
|
2300
2283
|
const serializeAws_json1_1CreateVocabularyRequest = (input, context) => {
|
|
2301
2284
|
return {
|
|
2302
|
-
...(input.LanguageCode
|
|
2303
|
-
...(input.Phrases
|
|
2304
|
-
|
|
2305
|
-
...(input.
|
|
2306
|
-
...(input.
|
|
2307
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2308
|
-
...(input.VocabularyName !== undefined &&
|
|
2309
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2285
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2286
|
+
...(input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) }),
|
|
2287
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2288
|
+
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2289
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2310
2290
|
};
|
|
2311
2291
|
};
|
|
2312
2292
|
const serializeAws_json1_1DeleteCallAnalyticsCategoryRequest = (input, context) => {
|
|
2313
2293
|
return {
|
|
2314
|
-
...(input.CategoryName
|
|
2294
|
+
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2315
2295
|
};
|
|
2316
2296
|
};
|
|
2317
2297
|
const serializeAws_json1_1DeleteCallAnalyticsJobRequest = (input, context) => {
|
|
2318
2298
|
return {
|
|
2319
|
-
...(input.CallAnalyticsJobName
|
|
2320
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2299
|
+
...(input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2321
2300
|
};
|
|
2322
2301
|
};
|
|
2323
2302
|
const serializeAws_json1_1DeleteLanguageModelRequest = (input, context) => {
|
|
2324
2303
|
return {
|
|
2325
|
-
...(input.ModelName
|
|
2304
|
+
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2326
2305
|
};
|
|
2327
2306
|
};
|
|
2328
2307
|
const serializeAws_json1_1DeleteMedicalTranscriptionJobRequest = (input, context) => {
|
|
2329
2308
|
return {
|
|
2330
|
-
...(input.MedicalTranscriptionJobName
|
|
2331
|
-
|
|
2309
|
+
...(input.MedicalTranscriptionJobName != null && {
|
|
2310
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2311
|
+
}),
|
|
2332
2312
|
};
|
|
2333
2313
|
};
|
|
2334
2314
|
const serializeAws_json1_1DeleteMedicalVocabularyRequest = (input, context) => {
|
|
2335
2315
|
return {
|
|
2336
|
-
...(input.VocabularyName
|
|
2337
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2316
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2338
2317
|
};
|
|
2339
2318
|
};
|
|
2340
2319
|
const serializeAws_json1_1DeleteTranscriptionJobRequest = (input, context) => {
|
|
2341
2320
|
return {
|
|
2342
|
-
...(input.TranscriptionJobName
|
|
2343
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2321
|
+
...(input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2344
2322
|
};
|
|
2345
2323
|
};
|
|
2346
2324
|
const serializeAws_json1_1DeleteVocabularyFilterRequest = (input, context) => {
|
|
2347
2325
|
return {
|
|
2348
|
-
...(input.VocabularyFilterName
|
|
2349
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2326
|
+
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2350
2327
|
};
|
|
2351
2328
|
};
|
|
2352
2329
|
const serializeAws_json1_1DeleteVocabularyRequest = (input, context) => {
|
|
2353
2330
|
return {
|
|
2354
|
-
...(input.VocabularyName
|
|
2355
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2331
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2356
2332
|
};
|
|
2357
2333
|
};
|
|
2358
2334
|
const serializeAws_json1_1DescribeLanguageModelRequest = (input, context) => {
|
|
2359
2335
|
return {
|
|
2360
|
-
...(input.ModelName
|
|
2336
|
+
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2361
2337
|
};
|
|
2362
2338
|
};
|
|
2363
2339
|
const serializeAws_json1_1GetCallAnalyticsCategoryRequest = (input, context) => {
|
|
2364
2340
|
return {
|
|
2365
|
-
...(input.CategoryName
|
|
2341
|
+
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2366
2342
|
};
|
|
2367
2343
|
};
|
|
2368
2344
|
const serializeAws_json1_1GetCallAnalyticsJobRequest = (input, context) => {
|
|
2369
2345
|
return {
|
|
2370
|
-
...(input.CallAnalyticsJobName
|
|
2371
|
-
input.CallAnalyticsJobName !== null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2346
|
+
...(input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2372
2347
|
};
|
|
2373
2348
|
};
|
|
2374
2349
|
const serializeAws_json1_1GetMedicalTranscriptionJobRequest = (input, context) => {
|
|
2375
2350
|
return {
|
|
2376
|
-
...(input.MedicalTranscriptionJobName
|
|
2377
|
-
|
|
2351
|
+
...(input.MedicalTranscriptionJobName != null && {
|
|
2352
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2353
|
+
}),
|
|
2378
2354
|
};
|
|
2379
2355
|
};
|
|
2380
2356
|
const serializeAws_json1_1GetMedicalVocabularyRequest = (input, context) => {
|
|
2381
2357
|
return {
|
|
2382
|
-
...(input.VocabularyName
|
|
2383
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2358
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2384
2359
|
};
|
|
2385
2360
|
};
|
|
2386
2361
|
const serializeAws_json1_1GetTranscriptionJobRequest = (input, context) => {
|
|
2387
2362
|
return {
|
|
2388
|
-
...(input.TranscriptionJobName
|
|
2389
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2363
|
+
...(input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2390
2364
|
};
|
|
2391
2365
|
};
|
|
2392
2366
|
const serializeAws_json1_1GetVocabularyFilterRequest = (input, context) => {
|
|
2393
2367
|
return {
|
|
2394
|
-
...(input.VocabularyFilterName
|
|
2395
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2368
|
+
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2396
2369
|
};
|
|
2397
2370
|
};
|
|
2398
2371
|
const serializeAws_json1_1GetVocabularyRequest = (input, context) => {
|
|
2399
2372
|
return {
|
|
2400
|
-
...(input.VocabularyName
|
|
2401
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2373
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2402
2374
|
};
|
|
2403
2375
|
};
|
|
2404
2376
|
const serializeAws_json1_1InputDataConfig = (input, context) => {
|
|
2405
2377
|
return {
|
|
2406
|
-
...(input.DataAccessRoleArn
|
|
2407
|
-
|
|
2408
|
-
...(input.
|
|
2409
|
-
...(input.TuningDataS3Uri !== undefined &&
|
|
2410
|
-
input.TuningDataS3Uri !== null && { TuningDataS3Uri: input.TuningDataS3Uri }),
|
|
2378
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2379
|
+
...(input.S3Uri != null && { S3Uri: input.S3Uri }),
|
|
2380
|
+
...(input.TuningDataS3Uri != null && { TuningDataS3Uri: input.TuningDataS3Uri }),
|
|
2411
2381
|
};
|
|
2412
2382
|
};
|
|
2413
2383
|
const serializeAws_json1_1InterruptionFilter = (input, context) => {
|
|
2414
2384
|
return {
|
|
2415
|
-
...(input.AbsoluteTimeRange
|
|
2416
|
-
input.AbsoluteTimeRange !== null && {
|
|
2385
|
+
...(input.AbsoluteTimeRange != null && {
|
|
2417
2386
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2418
2387
|
}),
|
|
2419
|
-
...(input.Negate
|
|
2420
|
-
...(input.ParticipantRole
|
|
2421
|
-
|
|
2422
|
-
...(input.RelativeTimeRange !== undefined &&
|
|
2423
|
-
input.RelativeTimeRange !== null && {
|
|
2388
|
+
...(input.Negate != null && { Negate: input.Negate }),
|
|
2389
|
+
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2390
|
+
...(input.RelativeTimeRange != null && {
|
|
2424
2391
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2425
2392
|
}),
|
|
2426
|
-
...(input.Threshold
|
|
2393
|
+
...(input.Threshold != null && { Threshold: input.Threshold }),
|
|
2427
2394
|
};
|
|
2428
2395
|
};
|
|
2429
2396
|
const serializeAws_json1_1JobExecutionSettings = (input, context) => {
|
|
2430
2397
|
return {
|
|
2431
|
-
...(input.AllowDeferredExecution
|
|
2432
|
-
|
|
2433
|
-
...(input.DataAccessRoleArn !== undefined &&
|
|
2434
|
-
input.DataAccessRoleArn !== null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2398
|
+
...(input.AllowDeferredExecution != null && { AllowDeferredExecution: input.AllowDeferredExecution }),
|
|
2399
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2435
2400
|
};
|
|
2436
2401
|
};
|
|
2437
2402
|
const serializeAws_json1_1KMSEncryptionContextMap = (input, context) => {
|
|
@@ -2447,12 +2412,9 @@ const serializeAws_json1_1KMSEncryptionContextMap = (input, context) => {
|
|
|
2447
2412
|
};
|
|
2448
2413
|
const serializeAws_json1_1LanguageIdSettings = (input, context) => {
|
|
2449
2414
|
return {
|
|
2450
|
-
...(input.LanguageModelName
|
|
2451
|
-
|
|
2452
|
-
...(input.
|
|
2453
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2454
|
-
...(input.VocabularyName !== undefined &&
|
|
2455
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2415
|
+
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
2416
|
+
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2417
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2456
2418
|
};
|
|
2457
2419
|
};
|
|
2458
2420
|
const serializeAws_json1_1LanguageIdSettingsMap = (input, context) => {
|
|
@@ -2478,114 +2440,101 @@ const serializeAws_json1_1LanguageOptions = (input, context) => {
|
|
|
2478
2440
|
};
|
|
2479
2441
|
const serializeAws_json1_1ListCallAnalyticsCategoriesRequest = (input, context) => {
|
|
2480
2442
|
return {
|
|
2481
|
-
...(input.MaxResults
|
|
2482
|
-
...(input.NextToken
|
|
2443
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2444
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2483
2445
|
};
|
|
2484
2446
|
};
|
|
2485
2447
|
const serializeAws_json1_1ListCallAnalyticsJobsRequest = (input, context) => {
|
|
2486
2448
|
return {
|
|
2487
|
-
...(input.JobNameContains
|
|
2488
|
-
|
|
2489
|
-
...(input.
|
|
2490
|
-
...(input.
|
|
2491
|
-
...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
|
|
2449
|
+
...(input.JobNameContains != null && { JobNameContains: input.JobNameContains }),
|
|
2450
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2451
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2452
|
+
...(input.Status != null && { Status: input.Status }),
|
|
2492
2453
|
};
|
|
2493
2454
|
};
|
|
2494
2455
|
const serializeAws_json1_1ListLanguageModelsRequest = (input, context) => {
|
|
2495
2456
|
return {
|
|
2496
|
-
...(input.MaxResults
|
|
2497
|
-
...(input.NameContains
|
|
2498
|
-
...(input.NextToken
|
|
2499
|
-
...(input.StatusEquals
|
|
2457
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2458
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
2459
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2460
|
+
...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
|
|
2500
2461
|
};
|
|
2501
2462
|
};
|
|
2502
2463
|
const serializeAws_json1_1ListMedicalTranscriptionJobsRequest = (input, context) => {
|
|
2503
2464
|
return {
|
|
2504
|
-
...(input.JobNameContains
|
|
2505
|
-
|
|
2506
|
-
...(input.
|
|
2507
|
-
...(input.
|
|
2508
|
-
...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
|
|
2465
|
+
...(input.JobNameContains != null && { JobNameContains: input.JobNameContains }),
|
|
2466
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2467
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2468
|
+
...(input.Status != null && { Status: input.Status }),
|
|
2509
2469
|
};
|
|
2510
2470
|
};
|
|
2511
2471
|
const serializeAws_json1_1ListMedicalVocabulariesRequest = (input, context) => {
|
|
2512
2472
|
return {
|
|
2513
|
-
...(input.MaxResults
|
|
2514
|
-
...(input.NameContains
|
|
2515
|
-
...(input.NextToken
|
|
2516
|
-
...(input.StateEquals
|
|
2473
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2474
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
2475
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2476
|
+
...(input.StateEquals != null && { StateEquals: input.StateEquals }),
|
|
2517
2477
|
};
|
|
2518
2478
|
};
|
|
2519
2479
|
const serializeAws_json1_1ListTagsForResourceRequest = (input, context) => {
|
|
2520
2480
|
return {
|
|
2521
|
-
...(input.ResourceArn
|
|
2481
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2522
2482
|
};
|
|
2523
2483
|
};
|
|
2524
2484
|
const serializeAws_json1_1ListTranscriptionJobsRequest = (input, context) => {
|
|
2525
2485
|
return {
|
|
2526
|
-
...(input.JobNameContains
|
|
2527
|
-
|
|
2528
|
-
...(input.
|
|
2529
|
-
...(input.
|
|
2530
|
-
...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
|
|
2486
|
+
...(input.JobNameContains != null && { JobNameContains: input.JobNameContains }),
|
|
2487
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2488
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2489
|
+
...(input.Status != null && { Status: input.Status }),
|
|
2531
2490
|
};
|
|
2532
2491
|
};
|
|
2533
2492
|
const serializeAws_json1_1ListVocabulariesRequest = (input, context) => {
|
|
2534
2493
|
return {
|
|
2535
|
-
...(input.MaxResults
|
|
2536
|
-
...(input.NameContains
|
|
2537
|
-
...(input.NextToken
|
|
2538
|
-
...(input.StateEquals
|
|
2494
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2495
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
2496
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2497
|
+
...(input.StateEquals != null && { StateEquals: input.StateEquals }),
|
|
2539
2498
|
};
|
|
2540
2499
|
};
|
|
2541
2500
|
const serializeAws_json1_1ListVocabularyFiltersRequest = (input, context) => {
|
|
2542
2501
|
return {
|
|
2543
|
-
...(input.MaxResults
|
|
2544
|
-
...(input.NameContains
|
|
2545
|
-
...(input.NextToken
|
|
2502
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2503
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
2504
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2546
2505
|
};
|
|
2547
2506
|
};
|
|
2548
2507
|
const serializeAws_json1_1Media = (input, context) => {
|
|
2549
2508
|
return {
|
|
2550
|
-
...(input.MediaFileUri
|
|
2551
|
-
...(input.RedactedMediaFileUri
|
|
2552
|
-
input.RedactedMediaFileUri !== null && { RedactedMediaFileUri: input.RedactedMediaFileUri }),
|
|
2509
|
+
...(input.MediaFileUri != null && { MediaFileUri: input.MediaFileUri }),
|
|
2510
|
+
...(input.RedactedMediaFileUri != null && { RedactedMediaFileUri: input.RedactedMediaFileUri }),
|
|
2553
2511
|
};
|
|
2554
2512
|
};
|
|
2555
2513
|
const serializeAws_json1_1MedicalTranscriptionSetting = (input, context) => {
|
|
2556
2514
|
return {
|
|
2557
|
-
...(input.ChannelIdentification
|
|
2558
|
-
|
|
2559
|
-
...(input.
|
|
2560
|
-
|
|
2561
|
-
...(input.
|
|
2562
|
-
|
|
2563
|
-
...(input.ShowAlternatives !== undefined &&
|
|
2564
|
-
input.ShowAlternatives !== null && { ShowAlternatives: input.ShowAlternatives }),
|
|
2565
|
-
...(input.ShowSpeakerLabels !== undefined &&
|
|
2566
|
-
input.ShowSpeakerLabels !== null && { ShowSpeakerLabels: input.ShowSpeakerLabels }),
|
|
2567
|
-
...(input.VocabularyName !== undefined &&
|
|
2568
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2515
|
+
...(input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification }),
|
|
2516
|
+
...(input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives }),
|
|
2517
|
+
...(input.MaxSpeakerLabels != null && { MaxSpeakerLabels: input.MaxSpeakerLabels }),
|
|
2518
|
+
...(input.ShowAlternatives != null && { ShowAlternatives: input.ShowAlternatives }),
|
|
2519
|
+
...(input.ShowSpeakerLabels != null && { ShowSpeakerLabels: input.ShowSpeakerLabels }),
|
|
2520
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2569
2521
|
};
|
|
2570
2522
|
};
|
|
2571
2523
|
const serializeAws_json1_1ModelSettings = (input, context) => {
|
|
2572
2524
|
return {
|
|
2573
|
-
...(input.LanguageModelName
|
|
2574
|
-
input.LanguageModelName !== null && { LanguageModelName: input.LanguageModelName }),
|
|
2525
|
+
...(input.LanguageModelName != null && { LanguageModelName: input.LanguageModelName }),
|
|
2575
2526
|
};
|
|
2576
2527
|
};
|
|
2577
2528
|
const serializeAws_json1_1NonTalkTimeFilter = (input, context) => {
|
|
2578
2529
|
return {
|
|
2579
|
-
...(input.AbsoluteTimeRange
|
|
2580
|
-
input.AbsoluteTimeRange !== null && {
|
|
2530
|
+
...(input.AbsoluteTimeRange != null && {
|
|
2581
2531
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2582
2532
|
}),
|
|
2583
|
-
...(input.Negate
|
|
2584
|
-
...(input.RelativeTimeRange
|
|
2585
|
-
input.RelativeTimeRange !== null && {
|
|
2533
|
+
...(input.Negate != null && { Negate: input.Negate }),
|
|
2534
|
+
...(input.RelativeTimeRange != null && {
|
|
2586
2535
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2587
2536
|
}),
|
|
2588
|
-
...(input.Threshold
|
|
2537
|
+
...(input.Threshold != null && { Threshold: input.Threshold }),
|
|
2589
2538
|
};
|
|
2590
2539
|
};
|
|
2591
2540
|
const serializeAws_json1_1Phrases = (input, context) => {
|
|
@@ -2610,11 +2559,10 @@ const serializeAws_json1_1PiiEntityTypes = (input, context) => {
|
|
|
2610
2559
|
};
|
|
2611
2560
|
const serializeAws_json1_1RelativeTimeRange = (input, context) => {
|
|
2612
2561
|
return {
|
|
2613
|
-
...(input.EndPercentage
|
|
2614
|
-
...(input.First
|
|
2615
|
-
...(input.Last
|
|
2616
|
-
...(input.StartPercentage
|
|
2617
|
-
input.StartPercentage !== null && { StartPercentage: input.StartPercentage }),
|
|
2562
|
+
...(input.EndPercentage != null && { EndPercentage: input.EndPercentage }),
|
|
2563
|
+
...(input.First != null && { First: input.First }),
|
|
2564
|
+
...(input.Last != null && { Last: input.Last }),
|
|
2565
|
+
...(input.StartPercentage != null && { StartPercentage: input.StartPercentage }),
|
|
2618
2566
|
};
|
|
2619
2567
|
};
|
|
2620
2568
|
const serializeAws_json1_1Rule = (input, context) => {
|
|
@@ -2638,19 +2586,15 @@ const serializeAws_json1_1RuleList = (input, context) => {
|
|
|
2638
2586
|
};
|
|
2639
2587
|
const serializeAws_json1_1SentimentFilter = (input, context) => {
|
|
2640
2588
|
return {
|
|
2641
|
-
...(input.AbsoluteTimeRange
|
|
2642
|
-
input.AbsoluteTimeRange !== null && {
|
|
2589
|
+
...(input.AbsoluteTimeRange != null && {
|
|
2643
2590
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2644
2591
|
}),
|
|
2645
|
-
...(input.Negate
|
|
2646
|
-
...(input.ParticipantRole
|
|
2647
|
-
|
|
2648
|
-
...(input.RelativeTimeRange !== undefined &&
|
|
2649
|
-
input.RelativeTimeRange !== null && {
|
|
2592
|
+
...(input.Negate != null && { Negate: input.Negate }),
|
|
2593
|
+
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2594
|
+
...(input.RelativeTimeRange != null && {
|
|
2650
2595
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2651
2596
|
}),
|
|
2652
|
-
...(input.Sentiments
|
|
2653
|
-
input.Sentiments !== null && { Sentiments: serializeAws_json1_1SentimentValueList(input.Sentiments, context) }),
|
|
2597
|
+
...(input.Sentiments != null && { Sentiments: serializeAws_json1_1SentimentValueList(input.Sentiments, context) }),
|
|
2654
2598
|
};
|
|
2655
2599
|
};
|
|
2656
2600
|
const serializeAws_json1_1SentimentValueList = (input, context) => {
|
|
@@ -2665,122 +2609,86 @@ const serializeAws_json1_1SentimentValueList = (input, context) => {
|
|
|
2665
2609
|
};
|
|
2666
2610
|
const serializeAws_json1_1Settings = (input, context) => {
|
|
2667
2611
|
return {
|
|
2668
|
-
...(input.ChannelIdentification
|
|
2669
|
-
|
|
2670
|
-
...(input.
|
|
2671
|
-
|
|
2672
|
-
...(input.
|
|
2673
|
-
|
|
2674
|
-
...(input.
|
|
2675
|
-
|
|
2676
|
-
...(input.ShowSpeakerLabels !== undefined &&
|
|
2677
|
-
input.ShowSpeakerLabels !== null && { ShowSpeakerLabels: input.ShowSpeakerLabels }),
|
|
2678
|
-
...(input.VocabularyFilterMethod !== undefined &&
|
|
2679
|
-
input.VocabularyFilterMethod !== null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
2680
|
-
...(input.VocabularyFilterName !== undefined &&
|
|
2681
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2682
|
-
...(input.VocabularyName !== undefined &&
|
|
2683
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2612
|
+
...(input.ChannelIdentification != null && { ChannelIdentification: input.ChannelIdentification }),
|
|
2613
|
+
...(input.MaxAlternatives != null && { MaxAlternatives: input.MaxAlternatives }),
|
|
2614
|
+
...(input.MaxSpeakerLabels != null && { MaxSpeakerLabels: input.MaxSpeakerLabels }),
|
|
2615
|
+
...(input.ShowAlternatives != null && { ShowAlternatives: input.ShowAlternatives }),
|
|
2616
|
+
...(input.ShowSpeakerLabels != null && { ShowSpeakerLabels: input.ShowSpeakerLabels }),
|
|
2617
|
+
...(input.VocabularyFilterMethod != null && { VocabularyFilterMethod: input.VocabularyFilterMethod }),
|
|
2618
|
+
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2619
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2684
2620
|
};
|
|
2685
2621
|
};
|
|
2686
2622
|
const serializeAws_json1_1StartCallAnalyticsJobRequest = (input, context) => {
|
|
2687
2623
|
return {
|
|
2688
|
-
...(input.CallAnalyticsJobName
|
|
2689
|
-
|
|
2690
|
-
...(input.ChannelDefinitions !== undefined &&
|
|
2691
|
-
input.ChannelDefinitions !== null && {
|
|
2624
|
+
...(input.CallAnalyticsJobName != null && { CallAnalyticsJobName: input.CallAnalyticsJobName }),
|
|
2625
|
+
...(input.ChannelDefinitions != null && {
|
|
2692
2626
|
ChannelDefinitions: serializeAws_json1_1ChannelDefinitions(input.ChannelDefinitions, context),
|
|
2693
2627
|
}),
|
|
2694
|
-
...(input.DataAccessRoleArn
|
|
2695
|
-
|
|
2696
|
-
...(input.
|
|
2697
|
-
|
|
2698
|
-
...(input.
|
|
2699
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2700
|
-
...(input.OutputLocation !== undefined &&
|
|
2701
|
-
input.OutputLocation !== null && { OutputLocation: input.OutputLocation }),
|
|
2702
|
-
...(input.Settings !== undefined &&
|
|
2703
|
-
input.Settings !== null && { Settings: serializeAws_json1_1CallAnalyticsJobSettings(input.Settings, context) }),
|
|
2628
|
+
...(input.DataAccessRoleArn != null && { DataAccessRoleArn: input.DataAccessRoleArn }),
|
|
2629
|
+
...(input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) }),
|
|
2630
|
+
...(input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2631
|
+
...(input.OutputLocation != null && { OutputLocation: input.OutputLocation }),
|
|
2632
|
+
...(input.Settings != null && { Settings: serializeAws_json1_1CallAnalyticsJobSettings(input.Settings, context) }),
|
|
2704
2633
|
};
|
|
2705
2634
|
};
|
|
2706
2635
|
const serializeAws_json1_1StartMedicalTranscriptionJobRequest = (input, context) => {
|
|
2707
2636
|
return {
|
|
2708
|
-
...(input.ContentIdentificationType
|
|
2709
|
-
|
|
2710
|
-
...(input.KMSEncryptionContext !== undefined &&
|
|
2711
|
-
input.KMSEncryptionContext !== null && {
|
|
2637
|
+
...(input.ContentIdentificationType != null && { ContentIdentificationType: input.ContentIdentificationType }),
|
|
2638
|
+
...(input.KMSEncryptionContext != null && {
|
|
2712
2639
|
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
2713
2640
|
}),
|
|
2714
|
-
...(input.LanguageCode
|
|
2715
|
-
...(input.Media
|
|
2716
|
-
|
|
2717
|
-
...(input.
|
|
2718
|
-
...(input.
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
...(input.
|
|
2723
|
-
|
|
2724
|
-
...(input.
|
|
2725
|
-
input.OutputEncryptionKMSKeyId !== null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2726
|
-
...(input.OutputKey !== undefined && input.OutputKey !== null && { OutputKey: input.OutputKey }),
|
|
2727
|
-
...(input.Settings !== undefined &&
|
|
2728
|
-
input.Settings !== null && {
|
|
2641
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2642
|
+
...(input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) }),
|
|
2643
|
+
...(input.MediaFormat != null && { MediaFormat: input.MediaFormat }),
|
|
2644
|
+
...(input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz }),
|
|
2645
|
+
...(input.MedicalTranscriptionJobName != null && {
|
|
2646
|
+
MedicalTranscriptionJobName: input.MedicalTranscriptionJobName,
|
|
2647
|
+
}),
|
|
2648
|
+
...(input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName }),
|
|
2649
|
+
...(input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2650
|
+
...(input.OutputKey != null && { OutputKey: input.OutputKey }),
|
|
2651
|
+
...(input.Settings != null && {
|
|
2729
2652
|
Settings: serializeAws_json1_1MedicalTranscriptionSetting(input.Settings, context),
|
|
2730
2653
|
}),
|
|
2731
|
-
...(input.Specialty
|
|
2732
|
-
...(input.Tags
|
|
2733
|
-
...(input.Type
|
|
2654
|
+
...(input.Specialty != null && { Specialty: input.Specialty }),
|
|
2655
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2656
|
+
...(input.Type != null && { Type: input.Type }),
|
|
2734
2657
|
};
|
|
2735
2658
|
};
|
|
2736
2659
|
const serializeAws_json1_1StartTranscriptionJobRequest = (input, context) => {
|
|
2737
2660
|
return {
|
|
2738
|
-
...(input.ContentRedaction
|
|
2739
|
-
input.ContentRedaction !== null && {
|
|
2661
|
+
...(input.ContentRedaction != null && {
|
|
2740
2662
|
ContentRedaction: serializeAws_json1_1ContentRedaction(input.ContentRedaction, context),
|
|
2741
2663
|
}),
|
|
2742
|
-
...(input.IdentifyLanguage
|
|
2743
|
-
|
|
2744
|
-
...(input.
|
|
2745
|
-
input.IdentifyMultipleLanguages !== null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages }),
|
|
2746
|
-
...(input.JobExecutionSettings !== undefined &&
|
|
2747
|
-
input.JobExecutionSettings !== null && {
|
|
2664
|
+
...(input.IdentifyLanguage != null && { IdentifyLanguage: input.IdentifyLanguage }),
|
|
2665
|
+
...(input.IdentifyMultipleLanguages != null && { IdentifyMultipleLanguages: input.IdentifyMultipleLanguages }),
|
|
2666
|
+
...(input.JobExecutionSettings != null && {
|
|
2748
2667
|
JobExecutionSettings: serializeAws_json1_1JobExecutionSettings(input.JobExecutionSettings, context),
|
|
2749
2668
|
}),
|
|
2750
|
-
...(input.KMSEncryptionContext
|
|
2751
|
-
input.KMSEncryptionContext !== null && {
|
|
2669
|
+
...(input.KMSEncryptionContext != null && {
|
|
2752
2670
|
KMSEncryptionContext: serializeAws_json1_1KMSEncryptionContextMap(input.KMSEncryptionContext, context),
|
|
2753
2671
|
}),
|
|
2754
|
-
...(input.LanguageCode
|
|
2755
|
-
...(input.LanguageIdSettings
|
|
2756
|
-
input.LanguageIdSettings !== null && {
|
|
2672
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2673
|
+
...(input.LanguageIdSettings != null && {
|
|
2757
2674
|
LanguageIdSettings: serializeAws_json1_1LanguageIdSettingsMap(input.LanguageIdSettings, context),
|
|
2758
2675
|
}),
|
|
2759
|
-
...(input.LanguageOptions
|
|
2760
|
-
input.LanguageOptions !== null && {
|
|
2676
|
+
...(input.LanguageOptions != null && {
|
|
2761
2677
|
LanguageOptions: serializeAws_json1_1LanguageOptions(input.LanguageOptions, context),
|
|
2762
2678
|
}),
|
|
2763
|
-
...(input.Media
|
|
2764
|
-
|
|
2765
|
-
...(input.
|
|
2766
|
-
...(input.
|
|
2767
|
-
input.MediaSampleRateHertz !== null && { MediaSampleRateHertz: input.MediaSampleRateHertz }),
|
|
2768
|
-
...(input.ModelSettings !== undefined &&
|
|
2769
|
-
input.ModelSettings !== null && {
|
|
2679
|
+
...(input.Media != null && { Media: serializeAws_json1_1Media(input.Media, context) }),
|
|
2680
|
+
...(input.MediaFormat != null && { MediaFormat: input.MediaFormat }),
|
|
2681
|
+
...(input.MediaSampleRateHertz != null && { MediaSampleRateHertz: input.MediaSampleRateHertz }),
|
|
2682
|
+
...(input.ModelSettings != null && {
|
|
2770
2683
|
ModelSettings: serializeAws_json1_1ModelSettings(input.ModelSettings, context),
|
|
2771
2684
|
}),
|
|
2772
|
-
...(input.OutputBucketName
|
|
2773
|
-
|
|
2774
|
-
...(input.
|
|
2775
|
-
|
|
2776
|
-
...(input.
|
|
2777
|
-
...(input.
|
|
2778
|
-
|
|
2779
|
-
...(input.Subtitles !== undefined &&
|
|
2780
|
-
input.Subtitles !== null && { Subtitles: serializeAws_json1_1Subtitles(input.Subtitles, context) }),
|
|
2781
|
-
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2782
|
-
...(input.TranscriptionJobName !== undefined &&
|
|
2783
|
-
input.TranscriptionJobName !== null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2685
|
+
...(input.OutputBucketName != null && { OutputBucketName: input.OutputBucketName }),
|
|
2686
|
+
...(input.OutputEncryptionKMSKeyId != null && { OutputEncryptionKMSKeyId: input.OutputEncryptionKMSKeyId }),
|
|
2687
|
+
...(input.OutputKey != null && { OutputKey: input.OutputKey }),
|
|
2688
|
+
...(input.Settings != null && { Settings: serializeAws_json1_1Settings(input.Settings, context) }),
|
|
2689
|
+
...(input.Subtitles != null && { Subtitles: serializeAws_json1_1Subtitles(input.Subtitles, context) }),
|
|
2690
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2691
|
+
...(input.TranscriptionJobName != null && { TranscriptionJobName: input.TranscriptionJobName }),
|
|
2784
2692
|
};
|
|
2785
2693
|
};
|
|
2786
2694
|
const serializeAws_json1_1StringTargetList = (input, context) => {
|
|
@@ -2805,16 +2713,14 @@ const serializeAws_json1_1SubtitleFormats = (input, context) => {
|
|
|
2805
2713
|
};
|
|
2806
2714
|
const serializeAws_json1_1Subtitles = (input, context) => {
|
|
2807
2715
|
return {
|
|
2808
|
-
...(input.Formats
|
|
2809
|
-
|
|
2810
|
-
...(input.OutputStartIndex !== undefined &&
|
|
2811
|
-
input.OutputStartIndex !== null && { OutputStartIndex: input.OutputStartIndex }),
|
|
2716
|
+
...(input.Formats != null && { Formats: serializeAws_json1_1SubtitleFormats(input.Formats, context) }),
|
|
2717
|
+
...(input.OutputStartIndex != null && { OutputStartIndex: input.OutputStartIndex }),
|
|
2812
2718
|
};
|
|
2813
2719
|
};
|
|
2814
2720
|
const serializeAws_json1_1Tag = (input, context) => {
|
|
2815
2721
|
return {
|
|
2816
|
-
...(input.Key
|
|
2817
|
-
...(input.Value
|
|
2722
|
+
...(input.Key != null && { Key: input.Key }),
|
|
2723
|
+
...(input.Value != null && { Value: input.Value }),
|
|
2818
2724
|
};
|
|
2819
2725
|
};
|
|
2820
2726
|
const serializeAws_json1_1TagKeyList = (input, context) => {
|
|
@@ -2839,71 +2745,56 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
2839
2745
|
};
|
|
2840
2746
|
const serializeAws_json1_1TagResourceRequest = (input, context) => {
|
|
2841
2747
|
return {
|
|
2842
|
-
...(input.ResourceArn
|
|
2843
|
-
...(input.Tags
|
|
2748
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2749
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
2844
2750
|
};
|
|
2845
2751
|
};
|
|
2846
2752
|
const serializeAws_json1_1TranscriptFilter = (input, context) => {
|
|
2847
2753
|
return {
|
|
2848
|
-
...(input.AbsoluteTimeRange
|
|
2849
|
-
input.AbsoluteTimeRange !== null && {
|
|
2754
|
+
...(input.AbsoluteTimeRange != null && {
|
|
2850
2755
|
AbsoluteTimeRange: serializeAws_json1_1AbsoluteTimeRange(input.AbsoluteTimeRange, context),
|
|
2851
2756
|
}),
|
|
2852
|
-
...(input.Negate
|
|
2853
|
-
...(input.ParticipantRole
|
|
2854
|
-
|
|
2855
|
-
...(input.RelativeTimeRange !== undefined &&
|
|
2856
|
-
input.RelativeTimeRange !== null && {
|
|
2757
|
+
...(input.Negate != null && { Negate: input.Negate }),
|
|
2758
|
+
...(input.ParticipantRole != null && { ParticipantRole: input.ParticipantRole }),
|
|
2759
|
+
...(input.RelativeTimeRange != null && {
|
|
2857
2760
|
RelativeTimeRange: serializeAws_json1_1RelativeTimeRange(input.RelativeTimeRange, context),
|
|
2858
2761
|
}),
|
|
2859
|
-
...(input.Targets
|
|
2860
|
-
|
|
2861
|
-
...(input.TranscriptFilterType !== undefined &&
|
|
2862
|
-
input.TranscriptFilterType !== null && { TranscriptFilterType: input.TranscriptFilterType }),
|
|
2762
|
+
...(input.Targets != null && { Targets: serializeAws_json1_1StringTargetList(input.Targets, context) }),
|
|
2763
|
+
...(input.TranscriptFilterType != null && { TranscriptFilterType: input.TranscriptFilterType }),
|
|
2863
2764
|
};
|
|
2864
2765
|
};
|
|
2865
2766
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
2866
2767
|
return {
|
|
2867
|
-
...(input.ResourceArn
|
|
2868
|
-
...(input.TagKeys
|
|
2869
|
-
input.TagKeys !== null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
2768
|
+
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2769
|
+
...(input.TagKeys != null && { TagKeys: serializeAws_json1_1TagKeyList(input.TagKeys, context) }),
|
|
2870
2770
|
};
|
|
2871
2771
|
};
|
|
2872
2772
|
const serializeAws_json1_1UpdateCallAnalyticsCategoryRequest = (input, context) => {
|
|
2873
2773
|
return {
|
|
2874
|
-
...(input.CategoryName
|
|
2875
|
-
...(input.Rules
|
|
2876
|
-
input.Rules !== null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }),
|
|
2774
|
+
...(input.CategoryName != null && { CategoryName: input.CategoryName }),
|
|
2775
|
+
...(input.Rules != null && { Rules: serializeAws_json1_1RuleList(input.Rules, context) }),
|
|
2877
2776
|
};
|
|
2878
2777
|
};
|
|
2879
2778
|
const serializeAws_json1_1UpdateMedicalVocabularyRequest = (input, context) => {
|
|
2880
2779
|
return {
|
|
2881
|
-
...(input.LanguageCode
|
|
2882
|
-
...(input.VocabularyFileUri
|
|
2883
|
-
|
|
2884
|
-
...(input.VocabularyName !== undefined &&
|
|
2885
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2780
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2781
|
+
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2782
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2886
2783
|
};
|
|
2887
2784
|
};
|
|
2888
2785
|
const serializeAws_json1_1UpdateVocabularyFilterRequest = (input, context) => {
|
|
2889
2786
|
return {
|
|
2890
|
-
...(input.VocabularyFilterFileUri
|
|
2891
|
-
|
|
2892
|
-
...(input.
|
|
2893
|
-
input.VocabularyFilterName !== null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2894
|
-
...(input.Words !== undefined &&
|
|
2895
|
-
input.Words !== null && { Words: serializeAws_json1_1Words(input.Words, context) }),
|
|
2787
|
+
...(input.VocabularyFilterFileUri != null && { VocabularyFilterFileUri: input.VocabularyFilterFileUri }),
|
|
2788
|
+
...(input.VocabularyFilterName != null && { VocabularyFilterName: input.VocabularyFilterName }),
|
|
2789
|
+
...(input.Words != null && { Words: serializeAws_json1_1Words(input.Words, context) }),
|
|
2896
2790
|
};
|
|
2897
2791
|
};
|
|
2898
2792
|
const serializeAws_json1_1UpdateVocabularyRequest = (input, context) => {
|
|
2899
2793
|
return {
|
|
2900
|
-
...(input.LanguageCode
|
|
2901
|
-
...(input.Phrases
|
|
2902
|
-
|
|
2903
|
-
...(input.
|
|
2904
|
-
input.VocabularyFileUri !== null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2905
|
-
...(input.VocabularyName !== undefined &&
|
|
2906
|
-
input.VocabularyName !== null && { VocabularyName: input.VocabularyName }),
|
|
2794
|
+
...(input.LanguageCode != null && { LanguageCode: input.LanguageCode }),
|
|
2795
|
+
...(input.Phrases != null && { Phrases: serializeAws_json1_1Phrases(input.Phrases, context) }),
|
|
2796
|
+
...(input.VocabularyFileUri != null && { VocabularyFileUri: input.VocabularyFileUri }),
|
|
2797
|
+
...(input.VocabularyName != null && { VocabularyName: input.VocabularyName }),
|
|
2907
2798
|
};
|
|
2908
2799
|
};
|
|
2909
2800
|
const serializeAws_json1_1Words = (input, context) => {
|
|
@@ -2933,45 +2824,37 @@ const deserializeAws_json1_1CallAnalyticsJob = (output, context) => {
|
|
|
2933
2824
|
return {
|
|
2934
2825
|
CallAnalyticsJobName: (0, smithy_client_1.expectString)(output.CallAnalyticsJobName),
|
|
2935
2826
|
CallAnalyticsJobStatus: (0, smithy_client_1.expectString)(output.CallAnalyticsJobStatus),
|
|
2936
|
-
ChannelDefinitions: output.ChannelDefinitions
|
|
2827
|
+
ChannelDefinitions: output.ChannelDefinitions != null
|
|
2937
2828
|
? deserializeAws_json1_1ChannelDefinitions(output.ChannelDefinitions, context)
|
|
2938
2829
|
: undefined,
|
|
2939
|
-
CompletionTime: output.CompletionTime
|
|
2830
|
+
CompletionTime: output.CompletionTime != null
|
|
2940
2831
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
2941
2832
|
: undefined,
|
|
2942
|
-
CreationTime: output.CreationTime
|
|
2833
|
+
CreationTime: output.CreationTime != null
|
|
2943
2834
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2944
2835
|
: undefined,
|
|
2945
2836
|
DataAccessRoleArn: (0, smithy_client_1.expectString)(output.DataAccessRoleArn),
|
|
2946
2837
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
2947
2838
|
IdentifiedLanguageScore: (0, smithy_client_1.limitedParseFloat32)(output.IdentifiedLanguageScore),
|
|
2948
2839
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
2949
|
-
Media: output.Media
|
|
2950
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
2951
|
-
: undefined,
|
|
2840
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
2952
2841
|
MediaFormat: (0, smithy_client_1.expectString)(output.MediaFormat),
|
|
2953
2842
|
MediaSampleRateHertz: (0, smithy_client_1.expectInt32)(output.MediaSampleRateHertz),
|
|
2954
|
-
Settings: output.Settings
|
|
2955
|
-
|
|
2956
|
-
|
|
2957
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2958
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
2959
|
-
: undefined,
|
|
2960
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
2961
|
-
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
2962
|
-
: undefined,
|
|
2843
|
+
Settings: output.Settings != null ? deserializeAws_json1_1CallAnalyticsJobSettings(output.Settings, context) : undefined,
|
|
2844
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
2845
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1Transcript(output.Transcript, context) : undefined,
|
|
2963
2846
|
};
|
|
2964
2847
|
};
|
|
2965
2848
|
const deserializeAws_json1_1CallAnalyticsJobSettings = (output, context) => {
|
|
2966
2849
|
return {
|
|
2967
|
-
ContentRedaction: output.ContentRedaction
|
|
2850
|
+
ContentRedaction: output.ContentRedaction != null
|
|
2968
2851
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
2969
2852
|
: undefined,
|
|
2970
|
-
LanguageIdSettings: output.LanguageIdSettings
|
|
2853
|
+
LanguageIdSettings: output.LanguageIdSettings != null
|
|
2971
2854
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
2972
2855
|
: undefined,
|
|
2973
2856
|
LanguageModelName: (0, smithy_client_1.expectString)(output.LanguageModelName),
|
|
2974
|
-
LanguageOptions: output.LanguageOptions
|
|
2857
|
+
LanguageOptions: output.LanguageOptions != null
|
|
2975
2858
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
2976
2859
|
: undefined,
|
|
2977
2860
|
VocabularyFilterMethod: (0, smithy_client_1.expectString)(output.VocabularyFilterMethod),
|
|
@@ -2994,31 +2877,25 @@ const deserializeAws_json1_1CallAnalyticsJobSummary = (output, context) => {
|
|
|
2994
2877
|
return {
|
|
2995
2878
|
CallAnalyticsJobName: (0, smithy_client_1.expectString)(output.CallAnalyticsJobName),
|
|
2996
2879
|
CallAnalyticsJobStatus: (0, smithy_client_1.expectString)(output.CallAnalyticsJobStatus),
|
|
2997
|
-
CompletionTime: output.CompletionTime
|
|
2880
|
+
CompletionTime: output.CompletionTime != null
|
|
2998
2881
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
2999
2882
|
: undefined,
|
|
3000
|
-
CreationTime: output.CreationTime
|
|
2883
|
+
CreationTime: output.CreationTime != null
|
|
3001
2884
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3002
2885
|
: undefined,
|
|
3003
2886
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3004
2887
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3005
|
-
StartTime: output.StartTime
|
|
3006
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3007
|
-
: undefined,
|
|
2888
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3008
2889
|
};
|
|
3009
2890
|
};
|
|
3010
2891
|
const deserializeAws_json1_1CategoryProperties = (output, context) => {
|
|
3011
2892
|
return {
|
|
3012
2893
|
CategoryName: (0, smithy_client_1.expectString)(output.CategoryName),
|
|
3013
|
-
CreateTime: output.CreateTime
|
|
3014
|
-
|
|
3015
|
-
: undefined,
|
|
3016
|
-
LastUpdateTime: output.LastUpdateTime !== undefined && output.LastUpdateTime !== null
|
|
2894
|
+
CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
|
|
2895
|
+
LastUpdateTime: output.LastUpdateTime != null
|
|
3017
2896
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdateTime)))
|
|
3018
2897
|
: undefined,
|
|
3019
|
-
Rules: output.Rules
|
|
3020
|
-
? deserializeAws_json1_1RuleList(output.Rules, context)
|
|
3021
|
-
: undefined,
|
|
2898
|
+
Rules: output.Rules != null ? deserializeAws_json1_1RuleList(output.Rules, context) : undefined,
|
|
3022
2899
|
};
|
|
3023
2900
|
};
|
|
3024
2901
|
const deserializeAws_json1_1CategoryPropertiesList = (output, context) => {
|
|
@@ -3056,16 +2933,14 @@ const deserializeAws_json1_1ConflictException = (output, context) => {
|
|
|
3056
2933
|
};
|
|
3057
2934
|
const deserializeAws_json1_1ContentRedaction = (output, context) => {
|
|
3058
2935
|
return {
|
|
3059
|
-
PiiEntityTypes: output.PiiEntityTypes
|
|
3060
|
-
? deserializeAws_json1_1PiiEntityTypes(output.PiiEntityTypes, context)
|
|
3061
|
-
: undefined,
|
|
2936
|
+
PiiEntityTypes: output.PiiEntityTypes != null ? deserializeAws_json1_1PiiEntityTypes(output.PiiEntityTypes, context) : undefined,
|
|
3062
2937
|
RedactionOutput: (0, smithy_client_1.expectString)(output.RedactionOutput),
|
|
3063
2938
|
RedactionType: (0, smithy_client_1.expectString)(output.RedactionType),
|
|
3064
2939
|
};
|
|
3065
2940
|
};
|
|
3066
2941
|
const deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = (output, context) => {
|
|
3067
2942
|
return {
|
|
3068
|
-
CategoryProperties: output.CategoryProperties
|
|
2943
|
+
CategoryProperties: output.CategoryProperties != null
|
|
3069
2944
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3070
2945
|
: undefined,
|
|
3071
2946
|
};
|
|
@@ -3073,7 +2948,7 @@ const deserializeAws_json1_1CreateCallAnalyticsCategoryResponse = (output, conte
|
|
|
3073
2948
|
const deserializeAws_json1_1CreateLanguageModelResponse = (output, context) => {
|
|
3074
2949
|
return {
|
|
3075
2950
|
BaseModelName: (0, smithy_client_1.expectString)(output.BaseModelName),
|
|
3076
|
-
InputDataConfig: output.InputDataConfig
|
|
2951
|
+
InputDataConfig: output.InputDataConfig != null
|
|
3077
2952
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3078
2953
|
: undefined,
|
|
3079
2954
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
@@ -3085,7 +2960,7 @@ const deserializeAws_json1_1CreateMedicalVocabularyResponse = (output, context)
|
|
|
3085
2960
|
return {
|
|
3086
2961
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3087
2962
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3088
|
-
LastModifiedTime: output.LastModifiedTime
|
|
2963
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3089
2964
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3090
2965
|
: undefined,
|
|
3091
2966
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
@@ -3095,7 +2970,7 @@ const deserializeAws_json1_1CreateMedicalVocabularyResponse = (output, context)
|
|
|
3095
2970
|
const deserializeAws_json1_1CreateVocabularyFilterResponse = (output, context) => {
|
|
3096
2971
|
return {
|
|
3097
2972
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3098
|
-
LastModifiedTime: output.LastModifiedTime
|
|
2973
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3099
2974
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3100
2975
|
: undefined,
|
|
3101
2976
|
VocabularyFilterName: (0, smithy_client_1.expectString)(output.VocabularyFilterName),
|
|
@@ -3105,7 +2980,7 @@ const deserializeAws_json1_1CreateVocabularyResponse = (output, context) => {
|
|
|
3105
2980
|
return {
|
|
3106
2981
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3107
2982
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3108
|
-
LastModifiedTime: output.LastModifiedTime
|
|
2983
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3109
2984
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3110
2985
|
: undefined,
|
|
3111
2986
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
@@ -3120,28 +2995,26 @@ const deserializeAws_json1_1DeleteCallAnalyticsJobResponse = (output, context) =
|
|
|
3120
2995
|
};
|
|
3121
2996
|
const deserializeAws_json1_1DescribeLanguageModelResponse = (output, context) => {
|
|
3122
2997
|
return {
|
|
3123
|
-
LanguageModel: output.LanguageModel
|
|
3124
|
-
? deserializeAws_json1_1LanguageModel(output.LanguageModel, context)
|
|
3125
|
-
: undefined,
|
|
2998
|
+
LanguageModel: output.LanguageModel != null ? deserializeAws_json1_1LanguageModel(output.LanguageModel, context) : undefined,
|
|
3126
2999
|
};
|
|
3127
3000
|
};
|
|
3128
3001
|
const deserializeAws_json1_1GetCallAnalyticsCategoryResponse = (output, context) => {
|
|
3129
3002
|
return {
|
|
3130
|
-
CategoryProperties: output.CategoryProperties
|
|
3003
|
+
CategoryProperties: output.CategoryProperties != null
|
|
3131
3004
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3132
3005
|
: undefined,
|
|
3133
3006
|
};
|
|
3134
3007
|
};
|
|
3135
3008
|
const deserializeAws_json1_1GetCallAnalyticsJobResponse = (output, context) => {
|
|
3136
3009
|
return {
|
|
3137
|
-
CallAnalyticsJob: output.CallAnalyticsJob
|
|
3010
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
3138
3011
|
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
3139
3012
|
: undefined,
|
|
3140
3013
|
};
|
|
3141
3014
|
};
|
|
3142
3015
|
const deserializeAws_json1_1GetMedicalTranscriptionJobResponse = (output, context) => {
|
|
3143
3016
|
return {
|
|
3144
|
-
MedicalTranscriptionJob: output.MedicalTranscriptionJob
|
|
3017
|
+
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
3145
3018
|
? deserializeAws_json1_1MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
3146
3019
|
: undefined,
|
|
3147
3020
|
};
|
|
@@ -3151,7 +3024,7 @@ const deserializeAws_json1_1GetMedicalVocabularyResponse = (output, context) =>
|
|
|
3151
3024
|
DownloadUri: (0, smithy_client_1.expectString)(output.DownloadUri),
|
|
3152
3025
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3153
3026
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3154
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3027
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3155
3028
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3156
3029
|
: undefined,
|
|
3157
3030
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
@@ -3160,7 +3033,7 @@ const deserializeAws_json1_1GetMedicalVocabularyResponse = (output, context) =>
|
|
|
3160
3033
|
};
|
|
3161
3034
|
const deserializeAws_json1_1GetTranscriptionJobResponse = (output, context) => {
|
|
3162
3035
|
return {
|
|
3163
|
-
TranscriptionJob: output.TranscriptionJob
|
|
3036
|
+
TranscriptionJob: output.TranscriptionJob != null
|
|
3164
3037
|
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
3165
3038
|
: undefined,
|
|
3166
3039
|
};
|
|
@@ -3169,7 +3042,7 @@ const deserializeAws_json1_1GetVocabularyFilterResponse = (output, context) => {
|
|
|
3169
3042
|
return {
|
|
3170
3043
|
DownloadUri: (0, smithy_client_1.expectString)(output.DownloadUri),
|
|
3171
3044
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3172
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3045
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3173
3046
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3174
3047
|
: undefined,
|
|
3175
3048
|
VocabularyFilterName: (0, smithy_client_1.expectString)(output.VocabularyFilterName),
|
|
@@ -3180,7 +3053,7 @@ const deserializeAws_json1_1GetVocabularyResponse = (output, context) => {
|
|
|
3180
3053
|
DownloadUri: (0, smithy_client_1.expectString)(output.DownloadUri),
|
|
3181
3054
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3182
3055
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3183
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3056
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3184
3057
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3185
3058
|
: undefined,
|
|
3186
3059
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
@@ -3201,12 +3074,12 @@ const deserializeAws_json1_1InternalFailureException = (output, context) => {
|
|
|
3201
3074
|
};
|
|
3202
3075
|
const deserializeAws_json1_1InterruptionFilter = (output, context) => {
|
|
3203
3076
|
return {
|
|
3204
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3077
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3205
3078
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3206
3079
|
: undefined,
|
|
3207
3080
|
Negate: (0, smithy_client_1.expectBoolean)(output.Negate),
|
|
3208
3081
|
ParticipantRole: (0, smithy_client_1.expectString)(output.ParticipantRole),
|
|
3209
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3082
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3210
3083
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3211
3084
|
: undefined,
|
|
3212
3085
|
Threshold: (0, smithy_client_1.expectLong)(output.Threshold),
|
|
@@ -3256,15 +3129,13 @@ const deserializeAws_json1_1LanguageIdSettingsMap = (output, context) => {
|
|
|
3256
3129
|
const deserializeAws_json1_1LanguageModel = (output, context) => {
|
|
3257
3130
|
return {
|
|
3258
3131
|
BaseModelName: (0, smithy_client_1.expectString)(output.BaseModelName),
|
|
3259
|
-
CreateTime: output.CreateTime
|
|
3260
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime)))
|
|
3261
|
-
: undefined,
|
|
3132
|
+
CreateTime: output.CreateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreateTime))) : undefined,
|
|
3262
3133
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3263
|
-
InputDataConfig: output.InputDataConfig
|
|
3134
|
+
InputDataConfig: output.InputDataConfig != null
|
|
3264
3135
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
3265
3136
|
: undefined,
|
|
3266
3137
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3267
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3138
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3268
3139
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3269
3140
|
: undefined,
|
|
3270
3141
|
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
@@ -3290,15 +3161,13 @@ const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
|
3290
3161
|
};
|
|
3291
3162
|
const deserializeAws_json1_1ListCallAnalyticsCategoriesResponse = (output, context) => {
|
|
3292
3163
|
return {
|
|
3293
|
-
Categories: output.Categories
|
|
3294
|
-
? deserializeAws_json1_1CategoryPropertiesList(output.Categories, context)
|
|
3295
|
-
: undefined,
|
|
3164
|
+
Categories: output.Categories != null ? deserializeAws_json1_1CategoryPropertiesList(output.Categories, context) : undefined,
|
|
3296
3165
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3297
3166
|
};
|
|
3298
3167
|
};
|
|
3299
3168
|
const deserializeAws_json1_1ListCallAnalyticsJobsResponse = (output, context) => {
|
|
3300
3169
|
return {
|
|
3301
|
-
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries
|
|
3170
|
+
CallAnalyticsJobSummaries: output.CallAnalyticsJobSummaries != null
|
|
3302
3171
|
? deserializeAws_json1_1CallAnalyticsJobSummaries(output.CallAnalyticsJobSummaries, context)
|
|
3303
3172
|
: undefined,
|
|
3304
3173
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -3307,15 +3176,13 @@ const deserializeAws_json1_1ListCallAnalyticsJobsResponse = (output, context) =>
|
|
|
3307
3176
|
};
|
|
3308
3177
|
const deserializeAws_json1_1ListLanguageModelsResponse = (output, context) => {
|
|
3309
3178
|
return {
|
|
3310
|
-
Models: output.Models
|
|
3311
|
-
? deserializeAws_json1_1Models(output.Models, context)
|
|
3312
|
-
: undefined,
|
|
3179
|
+
Models: output.Models != null ? deserializeAws_json1_1Models(output.Models, context) : undefined,
|
|
3313
3180
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3314
3181
|
};
|
|
3315
3182
|
};
|
|
3316
3183
|
const deserializeAws_json1_1ListMedicalTranscriptionJobsResponse = (output, context) => {
|
|
3317
3184
|
return {
|
|
3318
|
-
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries
|
|
3185
|
+
MedicalTranscriptionJobSummaries: output.MedicalTranscriptionJobSummaries != null
|
|
3319
3186
|
? deserializeAws_json1_1MedicalTranscriptionJobSummaries(output.MedicalTranscriptionJobSummaries, context)
|
|
3320
3187
|
: undefined,
|
|
3321
3188
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
@@ -3326,24 +3193,20 @@ const deserializeAws_json1_1ListMedicalVocabulariesResponse = (output, context)
|
|
|
3326
3193
|
return {
|
|
3327
3194
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3328
3195
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3329
|
-
Vocabularies: output.Vocabularies
|
|
3330
|
-
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
3331
|
-
: undefined,
|
|
3196
|
+
Vocabularies: output.Vocabularies != null ? deserializeAws_json1_1Vocabularies(output.Vocabularies, context) : undefined,
|
|
3332
3197
|
};
|
|
3333
3198
|
};
|
|
3334
3199
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
3335
3200
|
return {
|
|
3336
3201
|
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3337
|
-
Tags: output.Tags
|
|
3338
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3339
|
-
: undefined,
|
|
3202
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
3340
3203
|
};
|
|
3341
3204
|
};
|
|
3342
3205
|
const deserializeAws_json1_1ListTranscriptionJobsResponse = (output, context) => {
|
|
3343
3206
|
return {
|
|
3344
3207
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3345
3208
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3346
|
-
TranscriptionJobSummaries: output.TranscriptionJobSummaries
|
|
3209
|
+
TranscriptionJobSummaries: output.TranscriptionJobSummaries != null
|
|
3347
3210
|
? deserializeAws_json1_1TranscriptionJobSummaries(output.TranscriptionJobSummaries, context)
|
|
3348
3211
|
: undefined,
|
|
3349
3212
|
};
|
|
@@ -3352,15 +3215,13 @@ const deserializeAws_json1_1ListVocabulariesResponse = (output, context) => {
|
|
|
3352
3215
|
return {
|
|
3353
3216
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3354
3217
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3355
|
-
Vocabularies: output.Vocabularies
|
|
3356
|
-
? deserializeAws_json1_1Vocabularies(output.Vocabularies, context)
|
|
3357
|
-
: undefined,
|
|
3218
|
+
Vocabularies: output.Vocabularies != null ? deserializeAws_json1_1Vocabularies(output.Vocabularies, context) : undefined,
|
|
3358
3219
|
};
|
|
3359
3220
|
};
|
|
3360
3221
|
const deserializeAws_json1_1ListVocabularyFiltersResponse = (output, context) => {
|
|
3361
3222
|
return {
|
|
3362
3223
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3363
|
-
VocabularyFilters: output.VocabularyFilters
|
|
3224
|
+
VocabularyFilters: output.VocabularyFilters != null
|
|
3364
3225
|
? deserializeAws_json1_1VocabularyFilters(output.VocabularyFilters, context)
|
|
3365
3226
|
: undefined,
|
|
3366
3227
|
};
|
|
@@ -3378,34 +3239,24 @@ const deserializeAws_json1_1MedicalTranscript = (output, context) => {
|
|
|
3378
3239
|
};
|
|
3379
3240
|
const deserializeAws_json1_1MedicalTranscriptionJob = (output, context) => {
|
|
3380
3241
|
return {
|
|
3381
|
-
CompletionTime: output.CompletionTime
|
|
3242
|
+
CompletionTime: output.CompletionTime != null
|
|
3382
3243
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
3383
3244
|
: undefined,
|
|
3384
3245
|
ContentIdentificationType: (0, smithy_client_1.expectString)(output.ContentIdentificationType),
|
|
3385
|
-
CreationTime: output.CreationTime
|
|
3246
|
+
CreationTime: output.CreationTime != null
|
|
3386
3247
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3387
3248
|
: undefined,
|
|
3388
3249
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3389
3250
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3390
|
-
Media: output.Media
|
|
3391
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
3392
|
-
: undefined,
|
|
3251
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
3393
3252
|
MediaFormat: (0, smithy_client_1.expectString)(output.MediaFormat),
|
|
3394
3253
|
MediaSampleRateHertz: (0, smithy_client_1.expectInt32)(output.MediaSampleRateHertz),
|
|
3395
3254
|
MedicalTranscriptionJobName: (0, smithy_client_1.expectString)(output.MedicalTranscriptionJobName),
|
|
3396
|
-
Settings: output.Settings
|
|
3397
|
-
? deserializeAws_json1_1MedicalTranscriptionSetting(output.Settings, context)
|
|
3398
|
-
: undefined,
|
|
3255
|
+
Settings: output.Settings != null ? deserializeAws_json1_1MedicalTranscriptionSetting(output.Settings, context) : undefined,
|
|
3399
3256
|
Specialty: (0, smithy_client_1.expectString)(output.Specialty),
|
|
3400
|
-
StartTime: output.StartTime
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3404
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3405
|
-
: undefined,
|
|
3406
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
3407
|
-
? deserializeAws_json1_1MedicalTranscript(output.Transcript, context)
|
|
3408
|
-
: undefined,
|
|
3257
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3258
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
3259
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1MedicalTranscript(output.Transcript, context) : undefined,
|
|
3409
3260
|
TranscriptionJobStatus: (0, smithy_client_1.expectString)(output.TranscriptionJobStatus),
|
|
3410
3261
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3411
3262
|
};
|
|
@@ -3423,11 +3274,11 @@ const deserializeAws_json1_1MedicalTranscriptionJobSummaries = (output, context)
|
|
|
3423
3274
|
};
|
|
3424
3275
|
const deserializeAws_json1_1MedicalTranscriptionJobSummary = (output, context) => {
|
|
3425
3276
|
return {
|
|
3426
|
-
CompletionTime: output.CompletionTime
|
|
3277
|
+
CompletionTime: output.CompletionTime != null
|
|
3427
3278
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
3428
3279
|
: undefined,
|
|
3429
3280
|
ContentIdentificationType: (0, smithy_client_1.expectString)(output.ContentIdentificationType),
|
|
3430
|
-
CreationTime: output.CreationTime
|
|
3281
|
+
CreationTime: output.CreationTime != null
|
|
3431
3282
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3432
3283
|
: undefined,
|
|
3433
3284
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
@@ -3435,9 +3286,7 @@ const deserializeAws_json1_1MedicalTranscriptionJobSummary = (output, context) =
|
|
|
3435
3286
|
MedicalTranscriptionJobName: (0, smithy_client_1.expectString)(output.MedicalTranscriptionJobName),
|
|
3436
3287
|
OutputLocationType: (0, smithy_client_1.expectString)(output.OutputLocationType),
|
|
3437
3288
|
Specialty: (0, smithy_client_1.expectString)(output.Specialty),
|
|
3438
|
-
StartTime: output.StartTime
|
|
3439
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3440
|
-
: undefined,
|
|
3289
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3441
3290
|
TranscriptionJobStatus: (0, smithy_client_1.expectString)(output.TranscriptionJobStatus),
|
|
3442
3291
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3443
3292
|
};
|
|
@@ -3470,11 +3319,11 @@ const deserializeAws_json1_1ModelSettings = (output, context) => {
|
|
|
3470
3319
|
};
|
|
3471
3320
|
const deserializeAws_json1_1NonTalkTimeFilter = (output, context) => {
|
|
3472
3321
|
return {
|
|
3473
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3322
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3474
3323
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3475
3324
|
: undefined,
|
|
3476
3325
|
Negate: (0, smithy_client_1.expectBoolean)(output.Negate),
|
|
3477
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3326
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3478
3327
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3479
3328
|
: undefined,
|
|
3480
3329
|
Threshold: (0, smithy_client_1.expectLong)(output.Threshold),
|
|
@@ -3540,17 +3389,15 @@ const deserializeAws_json1_1RuleList = (output, context) => {
|
|
|
3540
3389
|
};
|
|
3541
3390
|
const deserializeAws_json1_1SentimentFilter = (output, context) => {
|
|
3542
3391
|
return {
|
|
3543
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3392
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3544
3393
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3545
3394
|
: undefined,
|
|
3546
3395
|
Negate: (0, smithy_client_1.expectBoolean)(output.Negate),
|
|
3547
3396
|
ParticipantRole: (0, smithy_client_1.expectString)(output.ParticipantRole),
|
|
3548
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3397
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3549
3398
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3550
3399
|
: undefined,
|
|
3551
|
-
Sentiments: output.Sentiments
|
|
3552
|
-
? deserializeAws_json1_1SentimentValueList(output.Sentiments, context)
|
|
3553
|
-
: undefined,
|
|
3400
|
+
Sentiments: output.Sentiments != null ? deserializeAws_json1_1SentimentValueList(output.Sentiments, context) : undefined,
|
|
3554
3401
|
};
|
|
3555
3402
|
};
|
|
3556
3403
|
const deserializeAws_json1_1SentimentValueList = (output, context) => {
|
|
@@ -3578,21 +3425,21 @@ const deserializeAws_json1_1Settings = (output, context) => {
|
|
|
3578
3425
|
};
|
|
3579
3426
|
const deserializeAws_json1_1StartCallAnalyticsJobResponse = (output, context) => {
|
|
3580
3427
|
return {
|
|
3581
|
-
CallAnalyticsJob: output.CallAnalyticsJob
|
|
3428
|
+
CallAnalyticsJob: output.CallAnalyticsJob != null
|
|
3582
3429
|
? deserializeAws_json1_1CallAnalyticsJob(output.CallAnalyticsJob, context)
|
|
3583
3430
|
: undefined,
|
|
3584
3431
|
};
|
|
3585
3432
|
};
|
|
3586
3433
|
const deserializeAws_json1_1StartMedicalTranscriptionJobResponse = (output, context) => {
|
|
3587
3434
|
return {
|
|
3588
|
-
MedicalTranscriptionJob: output.MedicalTranscriptionJob
|
|
3435
|
+
MedicalTranscriptionJob: output.MedicalTranscriptionJob != null
|
|
3589
3436
|
? deserializeAws_json1_1MedicalTranscriptionJob(output.MedicalTranscriptionJob, context)
|
|
3590
3437
|
: undefined,
|
|
3591
3438
|
};
|
|
3592
3439
|
};
|
|
3593
3440
|
const deserializeAws_json1_1StartTranscriptionJobResponse = (output, context) => {
|
|
3594
3441
|
return {
|
|
3595
|
-
TranscriptionJob: output.TranscriptionJob
|
|
3442
|
+
TranscriptionJob: output.TranscriptionJob != null
|
|
3596
3443
|
? deserializeAws_json1_1TranscriptionJob(output.TranscriptionJob, context)
|
|
3597
3444
|
: undefined,
|
|
3598
3445
|
};
|
|
@@ -3632,11 +3479,9 @@ const deserializeAws_json1_1SubtitleFormats = (output, context) => {
|
|
|
3632
3479
|
};
|
|
3633
3480
|
const deserializeAws_json1_1SubtitlesOutput = (output, context) => {
|
|
3634
3481
|
return {
|
|
3635
|
-
Formats: output.Formats
|
|
3636
|
-
? deserializeAws_json1_1SubtitleFormats(output.Formats, context)
|
|
3637
|
-
: undefined,
|
|
3482
|
+
Formats: output.Formats != null ? deserializeAws_json1_1SubtitleFormats(output.Formats, context) : undefined,
|
|
3638
3483
|
OutputStartIndex: (0, smithy_client_1.expectInt32)(output.OutputStartIndex),
|
|
3639
|
-
SubtitleFileUris: output.SubtitleFileUris
|
|
3484
|
+
SubtitleFileUris: output.SubtitleFileUris != null
|
|
3640
3485
|
? deserializeAws_json1_1SubtitleFileUris(output.SubtitleFileUris, context)
|
|
3641
3486
|
: undefined,
|
|
3642
3487
|
};
|
|
@@ -3669,71 +3514,53 @@ const deserializeAws_json1_1Transcript = (output, context) => {
|
|
|
3669
3514
|
};
|
|
3670
3515
|
const deserializeAws_json1_1TranscriptFilter = (output, context) => {
|
|
3671
3516
|
return {
|
|
3672
|
-
AbsoluteTimeRange: output.AbsoluteTimeRange
|
|
3517
|
+
AbsoluteTimeRange: output.AbsoluteTimeRange != null
|
|
3673
3518
|
? deserializeAws_json1_1AbsoluteTimeRange(output.AbsoluteTimeRange, context)
|
|
3674
3519
|
: undefined,
|
|
3675
3520
|
Negate: (0, smithy_client_1.expectBoolean)(output.Negate),
|
|
3676
3521
|
ParticipantRole: (0, smithy_client_1.expectString)(output.ParticipantRole),
|
|
3677
|
-
RelativeTimeRange: output.RelativeTimeRange
|
|
3522
|
+
RelativeTimeRange: output.RelativeTimeRange != null
|
|
3678
3523
|
? deserializeAws_json1_1RelativeTimeRange(output.RelativeTimeRange, context)
|
|
3679
3524
|
: undefined,
|
|
3680
|
-
Targets: output.Targets
|
|
3681
|
-
? deserializeAws_json1_1StringTargetList(output.Targets, context)
|
|
3682
|
-
: undefined,
|
|
3525
|
+
Targets: output.Targets != null ? deserializeAws_json1_1StringTargetList(output.Targets, context) : undefined,
|
|
3683
3526
|
TranscriptFilterType: (0, smithy_client_1.expectString)(output.TranscriptFilterType),
|
|
3684
3527
|
};
|
|
3685
3528
|
};
|
|
3686
3529
|
const deserializeAws_json1_1TranscriptionJob = (output, context) => {
|
|
3687
3530
|
return {
|
|
3688
|
-
CompletionTime: output.CompletionTime
|
|
3531
|
+
CompletionTime: output.CompletionTime != null
|
|
3689
3532
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
3690
3533
|
: undefined,
|
|
3691
|
-
ContentRedaction: output.ContentRedaction
|
|
3534
|
+
ContentRedaction: output.ContentRedaction != null
|
|
3692
3535
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
3693
3536
|
: undefined,
|
|
3694
|
-
CreationTime: output.CreationTime
|
|
3537
|
+
CreationTime: output.CreationTime != null
|
|
3695
3538
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3696
3539
|
: undefined,
|
|
3697
3540
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
3698
3541
|
IdentifiedLanguageScore: (0, smithy_client_1.limitedParseFloat32)(output.IdentifiedLanguageScore),
|
|
3699
3542
|
IdentifyLanguage: (0, smithy_client_1.expectBoolean)(output.IdentifyLanguage),
|
|
3700
3543
|
IdentifyMultipleLanguages: (0, smithy_client_1.expectBoolean)(output.IdentifyMultipleLanguages),
|
|
3701
|
-
JobExecutionSettings: output.JobExecutionSettings
|
|
3544
|
+
JobExecutionSettings: output.JobExecutionSettings != null
|
|
3702
3545
|
? deserializeAws_json1_1JobExecutionSettings(output.JobExecutionSettings, context)
|
|
3703
3546
|
: undefined,
|
|
3704
3547
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3705
|
-
LanguageCodes: output.LanguageCodes
|
|
3706
|
-
|
|
3707
|
-
: undefined,
|
|
3708
|
-
LanguageIdSettings: output.LanguageIdSettings !== undefined && output.LanguageIdSettings !== null
|
|
3548
|
+
LanguageCodes: output.LanguageCodes != null ? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
3549
|
+
LanguageIdSettings: output.LanguageIdSettings != null
|
|
3709
3550
|
? deserializeAws_json1_1LanguageIdSettingsMap(output.LanguageIdSettings, context)
|
|
3710
3551
|
: undefined,
|
|
3711
|
-
LanguageOptions: output.LanguageOptions
|
|
3552
|
+
LanguageOptions: output.LanguageOptions != null
|
|
3712
3553
|
? deserializeAws_json1_1LanguageOptions(output.LanguageOptions, context)
|
|
3713
3554
|
: undefined,
|
|
3714
|
-
Media: output.Media
|
|
3715
|
-
? deserializeAws_json1_1Media(output.Media, context)
|
|
3716
|
-
: undefined,
|
|
3555
|
+
Media: output.Media != null ? deserializeAws_json1_1Media(output.Media, context) : undefined,
|
|
3717
3556
|
MediaFormat: (0, smithy_client_1.expectString)(output.MediaFormat),
|
|
3718
3557
|
MediaSampleRateHertz: (0, smithy_client_1.expectInt32)(output.MediaSampleRateHertz),
|
|
3719
|
-
ModelSettings: output.ModelSettings
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3726
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3727
|
-
: undefined,
|
|
3728
|
-
Subtitles: output.Subtitles !== undefined && output.Subtitles !== null
|
|
3729
|
-
? deserializeAws_json1_1SubtitlesOutput(output.Subtitles, context)
|
|
3730
|
-
: undefined,
|
|
3731
|
-
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3732
|
-
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
3733
|
-
: undefined,
|
|
3734
|
-
Transcript: output.Transcript !== undefined && output.Transcript !== null
|
|
3735
|
-
? deserializeAws_json1_1Transcript(output.Transcript, context)
|
|
3736
|
-
: undefined,
|
|
3558
|
+
ModelSettings: output.ModelSettings != null ? deserializeAws_json1_1ModelSettings(output.ModelSettings, context) : undefined,
|
|
3559
|
+
Settings: output.Settings != null ? deserializeAws_json1_1Settings(output.Settings, context) : undefined,
|
|
3560
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3561
|
+
Subtitles: output.Subtitles != null ? deserializeAws_json1_1SubtitlesOutput(output.Subtitles, context) : undefined,
|
|
3562
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
3563
|
+
Transcript: output.Transcript != null ? deserializeAws_json1_1Transcript(output.Transcript, context) : undefined,
|
|
3737
3564
|
TranscriptionJobName: (0, smithy_client_1.expectString)(output.TranscriptionJobName),
|
|
3738
3565
|
TranscriptionJobStatus: (0, smithy_client_1.expectString)(output.TranscriptionJobStatus),
|
|
3739
3566
|
};
|
|
@@ -3751,13 +3578,13 @@ const deserializeAws_json1_1TranscriptionJobSummaries = (output, context) => {
|
|
|
3751
3578
|
};
|
|
3752
3579
|
const deserializeAws_json1_1TranscriptionJobSummary = (output, context) => {
|
|
3753
3580
|
return {
|
|
3754
|
-
CompletionTime: output.CompletionTime
|
|
3581
|
+
CompletionTime: output.CompletionTime != null
|
|
3755
3582
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
3756
3583
|
: undefined,
|
|
3757
|
-
ContentRedaction: output.ContentRedaction
|
|
3584
|
+
ContentRedaction: output.ContentRedaction != null
|
|
3758
3585
|
? deserializeAws_json1_1ContentRedaction(output.ContentRedaction, context)
|
|
3759
3586
|
: undefined,
|
|
3760
|
-
CreationTime: output.CreationTime
|
|
3587
|
+
CreationTime: output.CreationTime != null
|
|
3761
3588
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
3762
3589
|
: undefined,
|
|
3763
3590
|
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
@@ -3765,16 +3592,10 @@ const deserializeAws_json1_1TranscriptionJobSummary = (output, context) => {
|
|
|
3765
3592
|
IdentifyLanguage: (0, smithy_client_1.expectBoolean)(output.IdentifyLanguage),
|
|
3766
3593
|
IdentifyMultipleLanguages: (0, smithy_client_1.expectBoolean)(output.IdentifyMultipleLanguages),
|
|
3767
3594
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3768
|
-
LanguageCodes: output.LanguageCodes
|
|
3769
|
-
|
|
3770
|
-
: undefined,
|
|
3771
|
-
ModelSettings: output.ModelSettings !== undefined && output.ModelSettings !== null
|
|
3772
|
-
? deserializeAws_json1_1ModelSettings(output.ModelSettings, context)
|
|
3773
|
-
: undefined,
|
|
3595
|
+
LanguageCodes: output.LanguageCodes != null ? deserializeAws_json1_1LanguageCodeList(output.LanguageCodes, context) : undefined,
|
|
3596
|
+
ModelSettings: output.ModelSettings != null ? deserializeAws_json1_1ModelSettings(output.ModelSettings, context) : undefined,
|
|
3774
3597
|
OutputLocationType: (0, smithy_client_1.expectString)(output.OutputLocationType),
|
|
3775
|
-
StartTime: output.StartTime
|
|
3776
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3777
|
-
: undefined,
|
|
3598
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3778
3599
|
TranscriptionJobName: (0, smithy_client_1.expectString)(output.TranscriptionJobName),
|
|
3779
3600
|
TranscriptionJobStatus: (0, smithy_client_1.expectString)(output.TranscriptionJobStatus),
|
|
3780
3601
|
};
|
|
@@ -3784,7 +3605,7 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
|
3784
3605
|
};
|
|
3785
3606
|
const deserializeAws_json1_1UpdateCallAnalyticsCategoryResponse = (output, context) => {
|
|
3786
3607
|
return {
|
|
3787
|
-
CategoryProperties: output.CategoryProperties
|
|
3608
|
+
CategoryProperties: output.CategoryProperties != null
|
|
3788
3609
|
? deserializeAws_json1_1CategoryProperties(output.CategoryProperties, context)
|
|
3789
3610
|
: undefined,
|
|
3790
3611
|
};
|
|
@@ -3792,7 +3613,7 @@ const deserializeAws_json1_1UpdateCallAnalyticsCategoryResponse = (output, conte
|
|
|
3792
3613
|
const deserializeAws_json1_1UpdateMedicalVocabularyResponse = (output, context) => {
|
|
3793
3614
|
return {
|
|
3794
3615
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3795
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3616
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3796
3617
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3797
3618
|
: undefined,
|
|
3798
3619
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
@@ -3802,7 +3623,7 @@ const deserializeAws_json1_1UpdateMedicalVocabularyResponse = (output, context)
|
|
|
3802
3623
|
const deserializeAws_json1_1UpdateVocabularyFilterResponse = (output, context) => {
|
|
3803
3624
|
return {
|
|
3804
3625
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3805
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3626
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3806
3627
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3807
3628
|
: undefined,
|
|
3808
3629
|
VocabularyFilterName: (0, smithy_client_1.expectString)(output.VocabularyFilterName),
|
|
@@ -3811,7 +3632,7 @@ const deserializeAws_json1_1UpdateVocabularyFilterResponse = (output, context) =
|
|
|
3811
3632
|
const deserializeAws_json1_1UpdateVocabularyResponse = (output, context) => {
|
|
3812
3633
|
return {
|
|
3813
3634
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3814
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3635
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3815
3636
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3816
3637
|
: undefined,
|
|
3817
3638
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|
|
@@ -3832,7 +3653,7 @@ const deserializeAws_json1_1Vocabularies = (output, context) => {
|
|
|
3832
3653
|
const deserializeAws_json1_1VocabularyFilterInfo = (output, context) => {
|
|
3833
3654
|
return {
|
|
3834
3655
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3835
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3656
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3836
3657
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3837
3658
|
: undefined,
|
|
3838
3659
|
VocabularyFilterName: (0, smithy_client_1.expectString)(output.VocabularyFilterName),
|
|
@@ -3852,7 +3673,7 @@ const deserializeAws_json1_1VocabularyFilters = (output, context) => {
|
|
|
3852
3673
|
const deserializeAws_json1_1VocabularyInfo = (output, context) => {
|
|
3853
3674
|
return {
|
|
3854
3675
|
LanguageCode: (0, smithy_client_1.expectString)(output.LanguageCode),
|
|
3855
|
-
LastModifiedTime: output.LastModifiedTime
|
|
3676
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
3856
3677
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3857
3678
|
: undefined,
|
|
3858
3679
|
VocabularyName: (0, smithy_client_1.expectString)(output.VocabularyName),
|