@aws-sdk/client-comprehend 3.245.0 → 3.252.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.
|
@@ -4375,8 +4375,12 @@ const serializeAws_json1_1DocumentClassificationJobFilter = (input, context) =>
|
|
|
4375
4375
|
return {
|
|
4376
4376
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4377
4377
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4378
|
-
...(input.SubmitTimeAfter != null && {
|
|
4379
|
-
|
|
4378
|
+
...(input.SubmitTimeAfter != null && {
|
|
4379
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4380
|
+
}),
|
|
4381
|
+
...(input.SubmitTimeBefore != null && {
|
|
4382
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4383
|
+
}),
|
|
4380
4384
|
};
|
|
4381
4385
|
};
|
|
4382
4386
|
const serializeAws_json1_1DocumentClassifierAugmentedManifestsList = (input, context) => {
|
|
@@ -4390,8 +4394,12 @@ const serializeAws_json1_1DocumentClassifierFilter = (input, context) => {
|
|
|
4390
4394
|
return {
|
|
4391
4395
|
...(input.DocumentClassifierName != null && { DocumentClassifierName: input.DocumentClassifierName }),
|
|
4392
4396
|
...(input.Status != null && { Status: input.Status }),
|
|
4393
|
-
...(input.SubmitTimeAfter != null && {
|
|
4394
|
-
|
|
4397
|
+
...(input.SubmitTimeAfter != null && {
|
|
4398
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4399
|
+
}),
|
|
4400
|
+
...(input.SubmitTimeBefore != null && {
|
|
4401
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4402
|
+
}),
|
|
4395
4403
|
};
|
|
4396
4404
|
};
|
|
4397
4405
|
const serializeAws_json1_1DocumentClassifierInputDataConfig = (input, context) => {
|
|
@@ -4424,15 +4432,21 @@ const serializeAws_json1_1DominantLanguageDetectionJobFilter = (input, context)
|
|
|
4424
4432
|
return {
|
|
4425
4433
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4426
4434
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4427
|
-
...(input.SubmitTimeAfter != null && {
|
|
4428
|
-
|
|
4435
|
+
...(input.SubmitTimeAfter != null && {
|
|
4436
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4437
|
+
}),
|
|
4438
|
+
...(input.SubmitTimeBefore != null && {
|
|
4439
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4440
|
+
}),
|
|
4429
4441
|
};
|
|
4430
4442
|
};
|
|
4431
4443
|
const serializeAws_json1_1EndpointFilter = (input, context) => {
|
|
4432
4444
|
return {
|
|
4433
|
-
...(input.CreationTimeAfter != null && {
|
|
4445
|
+
...(input.CreationTimeAfter != null && {
|
|
4446
|
+
CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000).toString(),
|
|
4447
|
+
}),
|
|
4434
4448
|
...(input.CreationTimeBefore != null && {
|
|
4435
|
-
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
4449
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000).toString(),
|
|
4436
4450
|
}),
|
|
4437
4451
|
...(input.ModelArn != null && { ModelArn: input.ModelArn }),
|
|
4438
4452
|
...(input.Status != null && { Status: input.Status }),
|
|
@@ -4442,8 +4456,12 @@ const serializeAws_json1_1EntitiesDetectionJobFilter = (input, context) => {
|
|
|
4442
4456
|
return {
|
|
4443
4457
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4444
4458
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4445
|
-
...(input.SubmitTimeAfter != null && {
|
|
4446
|
-
|
|
4459
|
+
...(input.SubmitTimeAfter != null && {
|
|
4460
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4461
|
+
}),
|
|
4462
|
+
...(input.SubmitTimeBefore != null && {
|
|
4463
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4464
|
+
}),
|
|
4447
4465
|
};
|
|
4448
4466
|
};
|
|
4449
4467
|
const serializeAws_json1_1EntityRecognizerAnnotations = (input, context) => {
|
|
@@ -4475,8 +4493,12 @@ const serializeAws_json1_1EntityRecognizerFilter = (input, context) => {
|
|
|
4475
4493
|
return {
|
|
4476
4494
|
...(input.RecognizerName != null && { RecognizerName: input.RecognizerName }),
|
|
4477
4495
|
...(input.Status != null && { Status: input.Status }),
|
|
4478
|
-
...(input.SubmitTimeAfter != null && {
|
|
4479
|
-
|
|
4496
|
+
...(input.SubmitTimeAfter != null && {
|
|
4497
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4498
|
+
}),
|
|
4499
|
+
...(input.SubmitTimeBefore != null && {
|
|
4500
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4501
|
+
}),
|
|
4480
4502
|
};
|
|
4481
4503
|
};
|
|
4482
4504
|
const serializeAws_json1_1EntityRecognizerInputDataConfig = (input, context) => {
|
|
@@ -4513,8 +4535,12 @@ const serializeAws_json1_1EventsDetectionJobFilter = (input, context) => {
|
|
|
4513
4535
|
return {
|
|
4514
4536
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4515
4537
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4516
|
-
...(input.SubmitTimeAfter != null && {
|
|
4517
|
-
|
|
4538
|
+
...(input.SubmitTimeAfter != null && {
|
|
4539
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4540
|
+
}),
|
|
4541
|
+
...(input.SubmitTimeBefore != null && {
|
|
4542
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4543
|
+
}),
|
|
4518
4544
|
};
|
|
4519
4545
|
};
|
|
4520
4546
|
const serializeAws_json1_1ImportModelRequest = (input, context) => {
|
|
@@ -4540,8 +4566,12 @@ const serializeAws_json1_1KeyPhrasesDetectionJobFilter = (input, context) => {
|
|
|
4540
4566
|
return {
|
|
4541
4567
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4542
4568
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4543
|
-
...(input.SubmitTimeAfter != null && {
|
|
4544
|
-
|
|
4569
|
+
...(input.SubmitTimeAfter != null && {
|
|
4570
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4571
|
+
}),
|
|
4572
|
+
...(input.SubmitTimeBefore != null && {
|
|
4573
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4574
|
+
}),
|
|
4545
4575
|
};
|
|
4546
4576
|
};
|
|
4547
4577
|
const serializeAws_json1_1ListDocumentClassificationJobsRequest = (input, context) => {
|
|
@@ -4673,8 +4703,12 @@ const serializeAws_json1_1PiiEntitiesDetectionJobFilter = (input, context) => {
|
|
|
4673
4703
|
return {
|
|
4674
4704
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4675
4705
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4676
|
-
...(input.SubmitTimeAfter != null && {
|
|
4677
|
-
|
|
4706
|
+
...(input.SubmitTimeAfter != null && {
|
|
4707
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4708
|
+
}),
|
|
4709
|
+
...(input.SubmitTimeBefore != null && {
|
|
4710
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4711
|
+
}),
|
|
4678
4712
|
};
|
|
4679
4713
|
};
|
|
4680
4714
|
const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
|
|
@@ -4704,8 +4738,12 @@ const serializeAws_json1_1SentimentDetectionJobFilter = (input, context) => {
|
|
|
4704
4738
|
return {
|
|
4705
4739
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4706
4740
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4707
|
-
...(input.SubmitTimeAfter != null && {
|
|
4708
|
-
|
|
4741
|
+
...(input.SubmitTimeAfter != null && {
|
|
4742
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4743
|
+
}),
|
|
4744
|
+
...(input.SubmitTimeBefore != null && {
|
|
4745
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4746
|
+
}),
|
|
4709
4747
|
};
|
|
4710
4748
|
};
|
|
4711
4749
|
const serializeAws_json1_1StartDocumentClassificationJobRequest = (input, context) => {
|
|
@@ -4946,8 +4984,12 @@ const serializeAws_json1_1TargetedSentimentDetectionJobFilter = (input, context)
|
|
|
4946
4984
|
return {
|
|
4947
4985
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4948
4986
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4949
|
-
...(input.SubmitTimeAfter != null && {
|
|
4950
|
-
|
|
4987
|
+
...(input.SubmitTimeAfter != null && {
|
|
4988
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4989
|
+
}),
|
|
4990
|
+
...(input.SubmitTimeBefore != null && {
|
|
4991
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4992
|
+
}),
|
|
4951
4993
|
};
|
|
4952
4994
|
};
|
|
4953
4995
|
const serializeAws_json1_1TargetEventTypes = (input, context) => {
|
|
@@ -4961,8 +5003,12 @@ const serializeAws_json1_1TopicsDetectionJobFilter = (input, context) => {
|
|
|
4961
5003
|
return {
|
|
4962
5004
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4963
5005
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4964
|
-
...(input.SubmitTimeAfter != null && {
|
|
4965
|
-
|
|
5006
|
+
...(input.SubmitTimeAfter != null && {
|
|
5007
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
5008
|
+
}),
|
|
5009
|
+
...(input.SubmitTimeBefore != null && {
|
|
5010
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
5011
|
+
}),
|
|
4966
5012
|
};
|
|
4967
5013
|
};
|
|
4968
5014
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
@@ -4224,8 +4224,12 @@ const serializeAws_json1_1DocumentClassificationJobFilter = (input, context) =>
|
|
|
4224
4224
|
return {
|
|
4225
4225
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4226
4226
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4227
|
-
...(input.SubmitTimeAfter != null && {
|
|
4228
|
-
|
|
4227
|
+
...(input.SubmitTimeAfter != null && {
|
|
4228
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4229
|
+
}),
|
|
4230
|
+
...(input.SubmitTimeBefore != null && {
|
|
4231
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4232
|
+
}),
|
|
4229
4233
|
};
|
|
4230
4234
|
};
|
|
4231
4235
|
const serializeAws_json1_1DocumentClassifierAugmentedManifestsList = (input, context) => {
|
|
@@ -4239,8 +4243,12 @@ const serializeAws_json1_1DocumentClassifierFilter = (input, context) => {
|
|
|
4239
4243
|
return {
|
|
4240
4244
|
...(input.DocumentClassifierName != null && { DocumentClassifierName: input.DocumentClassifierName }),
|
|
4241
4245
|
...(input.Status != null && { Status: input.Status }),
|
|
4242
|
-
...(input.SubmitTimeAfter != null && {
|
|
4243
|
-
|
|
4246
|
+
...(input.SubmitTimeAfter != null && {
|
|
4247
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4248
|
+
}),
|
|
4249
|
+
...(input.SubmitTimeBefore != null && {
|
|
4250
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4251
|
+
}),
|
|
4244
4252
|
};
|
|
4245
4253
|
};
|
|
4246
4254
|
const serializeAws_json1_1DocumentClassifierInputDataConfig = (input, context) => {
|
|
@@ -4273,15 +4281,21 @@ const serializeAws_json1_1DominantLanguageDetectionJobFilter = (input, context)
|
|
|
4273
4281
|
return {
|
|
4274
4282
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4275
4283
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4276
|
-
...(input.SubmitTimeAfter != null && {
|
|
4277
|
-
|
|
4284
|
+
...(input.SubmitTimeAfter != null && {
|
|
4285
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4286
|
+
}),
|
|
4287
|
+
...(input.SubmitTimeBefore != null && {
|
|
4288
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4289
|
+
}),
|
|
4278
4290
|
};
|
|
4279
4291
|
};
|
|
4280
4292
|
const serializeAws_json1_1EndpointFilter = (input, context) => {
|
|
4281
4293
|
return {
|
|
4282
|
-
...(input.CreationTimeAfter != null && {
|
|
4294
|
+
...(input.CreationTimeAfter != null && {
|
|
4295
|
+
CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000).toString(),
|
|
4296
|
+
}),
|
|
4283
4297
|
...(input.CreationTimeBefore != null && {
|
|
4284
|
-
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
4298
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000).toString(),
|
|
4285
4299
|
}),
|
|
4286
4300
|
...(input.ModelArn != null && { ModelArn: input.ModelArn }),
|
|
4287
4301
|
...(input.Status != null && { Status: input.Status }),
|
|
@@ -4291,8 +4305,12 @@ const serializeAws_json1_1EntitiesDetectionJobFilter = (input, context) => {
|
|
|
4291
4305
|
return {
|
|
4292
4306
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4293
4307
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4294
|
-
...(input.SubmitTimeAfter != null && {
|
|
4295
|
-
|
|
4308
|
+
...(input.SubmitTimeAfter != null && {
|
|
4309
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4310
|
+
}),
|
|
4311
|
+
...(input.SubmitTimeBefore != null && {
|
|
4312
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4313
|
+
}),
|
|
4296
4314
|
};
|
|
4297
4315
|
};
|
|
4298
4316
|
const serializeAws_json1_1EntityRecognizerAnnotations = (input, context) => {
|
|
@@ -4324,8 +4342,12 @@ const serializeAws_json1_1EntityRecognizerFilter = (input, context) => {
|
|
|
4324
4342
|
return {
|
|
4325
4343
|
...(input.RecognizerName != null && { RecognizerName: input.RecognizerName }),
|
|
4326
4344
|
...(input.Status != null && { Status: input.Status }),
|
|
4327
|
-
...(input.SubmitTimeAfter != null && {
|
|
4328
|
-
|
|
4345
|
+
...(input.SubmitTimeAfter != null && {
|
|
4346
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4347
|
+
}),
|
|
4348
|
+
...(input.SubmitTimeBefore != null && {
|
|
4349
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4350
|
+
}),
|
|
4329
4351
|
};
|
|
4330
4352
|
};
|
|
4331
4353
|
const serializeAws_json1_1EntityRecognizerInputDataConfig = (input, context) => {
|
|
@@ -4362,8 +4384,12 @@ const serializeAws_json1_1EventsDetectionJobFilter = (input, context) => {
|
|
|
4362
4384
|
return {
|
|
4363
4385
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4364
4386
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4365
|
-
...(input.SubmitTimeAfter != null && {
|
|
4366
|
-
|
|
4387
|
+
...(input.SubmitTimeAfter != null && {
|
|
4388
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4389
|
+
}),
|
|
4390
|
+
...(input.SubmitTimeBefore != null && {
|
|
4391
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4392
|
+
}),
|
|
4367
4393
|
};
|
|
4368
4394
|
};
|
|
4369
4395
|
const serializeAws_json1_1ImportModelRequest = (input, context) => {
|
|
@@ -4389,8 +4415,12 @@ const serializeAws_json1_1KeyPhrasesDetectionJobFilter = (input, context) => {
|
|
|
4389
4415
|
return {
|
|
4390
4416
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4391
4417
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4392
|
-
...(input.SubmitTimeAfter != null && {
|
|
4393
|
-
|
|
4418
|
+
...(input.SubmitTimeAfter != null && {
|
|
4419
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4420
|
+
}),
|
|
4421
|
+
...(input.SubmitTimeBefore != null && {
|
|
4422
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4423
|
+
}),
|
|
4394
4424
|
};
|
|
4395
4425
|
};
|
|
4396
4426
|
const serializeAws_json1_1ListDocumentClassificationJobsRequest = (input, context) => {
|
|
@@ -4522,8 +4552,12 @@ const serializeAws_json1_1PiiEntitiesDetectionJobFilter = (input, context) => {
|
|
|
4522
4552
|
return {
|
|
4523
4553
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4524
4554
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4525
|
-
...(input.SubmitTimeAfter != null && {
|
|
4526
|
-
|
|
4555
|
+
...(input.SubmitTimeAfter != null && {
|
|
4556
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4557
|
+
}),
|
|
4558
|
+
...(input.SubmitTimeBefore != null && {
|
|
4559
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4560
|
+
}),
|
|
4527
4561
|
};
|
|
4528
4562
|
};
|
|
4529
4563
|
const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
|
|
@@ -4553,8 +4587,12 @@ const serializeAws_json1_1SentimentDetectionJobFilter = (input, context) => {
|
|
|
4553
4587
|
return {
|
|
4554
4588
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4555
4589
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4556
|
-
...(input.SubmitTimeAfter != null && {
|
|
4557
|
-
|
|
4590
|
+
...(input.SubmitTimeAfter != null && {
|
|
4591
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4592
|
+
}),
|
|
4593
|
+
...(input.SubmitTimeBefore != null && {
|
|
4594
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4595
|
+
}),
|
|
4558
4596
|
};
|
|
4559
4597
|
};
|
|
4560
4598
|
const serializeAws_json1_1StartDocumentClassificationJobRequest = (input, context) => {
|
|
@@ -4795,8 +4833,12 @@ const serializeAws_json1_1TargetedSentimentDetectionJobFilter = (input, context)
|
|
|
4795
4833
|
return {
|
|
4796
4834
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4797
4835
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4798
|
-
...(input.SubmitTimeAfter != null && {
|
|
4799
|
-
|
|
4836
|
+
...(input.SubmitTimeAfter != null && {
|
|
4837
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4838
|
+
}),
|
|
4839
|
+
...(input.SubmitTimeBefore != null && {
|
|
4840
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4841
|
+
}),
|
|
4800
4842
|
};
|
|
4801
4843
|
};
|
|
4802
4844
|
const serializeAws_json1_1TargetEventTypes = (input, context) => {
|
|
@@ -4810,8 +4852,12 @@ const serializeAws_json1_1TopicsDetectionJobFilter = (input, context) => {
|
|
|
4810
4852
|
return {
|
|
4811
4853
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4812
4854
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4813
|
-
...(input.SubmitTimeAfter != null && {
|
|
4814
|
-
|
|
4855
|
+
...(input.SubmitTimeAfter != null && {
|
|
4856
|
+
SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000).toString(),
|
|
4857
|
+
}),
|
|
4858
|
+
...(input.SubmitTimeBefore != null && {
|
|
4859
|
+
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4860
|
+
}),
|
|
4815
4861
|
};
|
|
4816
4862
|
};
|
|
4817
4863
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-comprehend",
|
|
3
3
|
"description": "AWS SDK for JavaScript Comprehend Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo comprehend"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|