@aws-sdk/client-comprehend 3.252.0 → 3.256.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,12 +4375,8 @@ 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
|
-
|
|
4380
|
-
}),
|
|
4381
|
-
...(input.SubmitTimeBefore != null && {
|
|
4382
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4383
|
-
}),
|
|
4378
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4379
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4384
4380
|
};
|
|
4385
4381
|
};
|
|
4386
4382
|
const serializeAws_json1_1DocumentClassifierAugmentedManifestsList = (input, context) => {
|
|
@@ -4394,12 +4390,8 @@ const serializeAws_json1_1DocumentClassifierFilter = (input, context) => {
|
|
|
4394
4390
|
return {
|
|
4395
4391
|
...(input.DocumentClassifierName != null && { DocumentClassifierName: input.DocumentClassifierName }),
|
|
4396
4392
|
...(input.Status != null && { Status: input.Status }),
|
|
4397
|
-
...(input.SubmitTimeAfter != null && {
|
|
4398
|
-
|
|
4399
|
-
}),
|
|
4400
|
-
...(input.SubmitTimeBefore != null && {
|
|
4401
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4402
|
-
}),
|
|
4393
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4394
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4403
4395
|
};
|
|
4404
4396
|
};
|
|
4405
4397
|
const serializeAws_json1_1DocumentClassifierInputDataConfig = (input, context) => {
|
|
@@ -4432,21 +4424,15 @@ const serializeAws_json1_1DominantLanguageDetectionJobFilter = (input, context)
|
|
|
4432
4424
|
return {
|
|
4433
4425
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4434
4426
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4435
|
-
...(input.SubmitTimeAfter != null && {
|
|
4436
|
-
|
|
4437
|
-
}),
|
|
4438
|
-
...(input.SubmitTimeBefore != null && {
|
|
4439
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4440
|
-
}),
|
|
4427
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4428
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4441
4429
|
};
|
|
4442
4430
|
};
|
|
4443
4431
|
const serializeAws_json1_1EndpointFilter = (input, context) => {
|
|
4444
4432
|
return {
|
|
4445
|
-
...(input.CreationTimeAfter != null && {
|
|
4446
|
-
CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000).toString(),
|
|
4447
|
-
}),
|
|
4433
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
4448
4434
|
...(input.CreationTimeBefore != null && {
|
|
4449
|
-
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000)
|
|
4435
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
4450
4436
|
}),
|
|
4451
4437
|
...(input.ModelArn != null && { ModelArn: input.ModelArn }),
|
|
4452
4438
|
...(input.Status != null && { Status: input.Status }),
|
|
@@ -4456,12 +4442,8 @@ const serializeAws_json1_1EntitiesDetectionJobFilter = (input, context) => {
|
|
|
4456
4442
|
return {
|
|
4457
4443
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4458
4444
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4459
|
-
...(input.SubmitTimeAfter != null && {
|
|
4460
|
-
|
|
4461
|
-
}),
|
|
4462
|
-
...(input.SubmitTimeBefore != null && {
|
|
4463
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4464
|
-
}),
|
|
4445
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4446
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4465
4447
|
};
|
|
4466
4448
|
};
|
|
4467
4449
|
const serializeAws_json1_1EntityRecognizerAnnotations = (input, context) => {
|
|
@@ -4493,12 +4475,8 @@ const serializeAws_json1_1EntityRecognizerFilter = (input, context) => {
|
|
|
4493
4475
|
return {
|
|
4494
4476
|
...(input.RecognizerName != null && { RecognizerName: input.RecognizerName }),
|
|
4495
4477
|
...(input.Status != null && { Status: input.Status }),
|
|
4496
|
-
...(input.SubmitTimeAfter != null && {
|
|
4497
|
-
|
|
4498
|
-
}),
|
|
4499
|
-
...(input.SubmitTimeBefore != null && {
|
|
4500
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4501
|
-
}),
|
|
4478
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4479
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4502
4480
|
};
|
|
4503
4481
|
};
|
|
4504
4482
|
const serializeAws_json1_1EntityRecognizerInputDataConfig = (input, context) => {
|
|
@@ -4535,12 +4513,8 @@ const serializeAws_json1_1EventsDetectionJobFilter = (input, context) => {
|
|
|
4535
4513
|
return {
|
|
4536
4514
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4537
4515
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4538
|
-
...(input.SubmitTimeAfter != null && {
|
|
4539
|
-
|
|
4540
|
-
}),
|
|
4541
|
-
...(input.SubmitTimeBefore != null && {
|
|
4542
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4543
|
-
}),
|
|
4516
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4517
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4544
4518
|
};
|
|
4545
4519
|
};
|
|
4546
4520
|
const serializeAws_json1_1ImportModelRequest = (input, context) => {
|
|
@@ -4566,12 +4540,8 @@ const serializeAws_json1_1KeyPhrasesDetectionJobFilter = (input, context) => {
|
|
|
4566
4540
|
return {
|
|
4567
4541
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4568
4542
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4569
|
-
...(input.SubmitTimeAfter != null && {
|
|
4570
|
-
|
|
4571
|
-
}),
|
|
4572
|
-
...(input.SubmitTimeBefore != null && {
|
|
4573
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4574
|
-
}),
|
|
4543
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4544
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4575
4545
|
};
|
|
4576
4546
|
};
|
|
4577
4547
|
const serializeAws_json1_1ListDocumentClassificationJobsRequest = (input, context) => {
|
|
@@ -4703,12 +4673,8 @@ const serializeAws_json1_1PiiEntitiesDetectionJobFilter = (input, context) => {
|
|
|
4703
4673
|
return {
|
|
4704
4674
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4705
4675
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4706
|
-
...(input.SubmitTimeAfter != null && {
|
|
4707
|
-
|
|
4708
|
-
}),
|
|
4709
|
-
...(input.SubmitTimeBefore != null && {
|
|
4710
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4711
|
-
}),
|
|
4676
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4677
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4712
4678
|
};
|
|
4713
4679
|
};
|
|
4714
4680
|
const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
|
|
@@ -4738,12 +4704,8 @@ const serializeAws_json1_1SentimentDetectionJobFilter = (input, context) => {
|
|
|
4738
4704
|
return {
|
|
4739
4705
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4740
4706
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4741
|
-
...(input.SubmitTimeAfter != null && {
|
|
4742
|
-
|
|
4743
|
-
}),
|
|
4744
|
-
...(input.SubmitTimeBefore != null && {
|
|
4745
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4746
|
-
}),
|
|
4707
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4708
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4747
4709
|
};
|
|
4748
4710
|
};
|
|
4749
4711
|
const serializeAws_json1_1StartDocumentClassificationJobRequest = (input, context) => {
|
|
@@ -4984,12 +4946,8 @@ const serializeAws_json1_1TargetedSentimentDetectionJobFilter = (input, context)
|
|
|
4984
4946
|
return {
|
|
4985
4947
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4986
4948
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4987
|
-
...(input.SubmitTimeAfter != null && {
|
|
4988
|
-
|
|
4989
|
-
}),
|
|
4990
|
-
...(input.SubmitTimeBefore != null && {
|
|
4991
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4992
|
-
}),
|
|
4949
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4950
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4993
4951
|
};
|
|
4994
4952
|
};
|
|
4995
4953
|
const serializeAws_json1_1TargetEventTypes = (input, context) => {
|
|
@@ -5003,12 +4961,8 @@ const serializeAws_json1_1TopicsDetectionJobFilter = (input, context) => {
|
|
|
5003
4961
|
return {
|
|
5004
4962
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
5005
4963
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
5006
|
-
...(input.SubmitTimeAfter != null && {
|
|
5007
|
-
|
|
5008
|
-
}),
|
|
5009
|
-
...(input.SubmitTimeBefore != null && {
|
|
5010
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
5011
|
-
}),
|
|
4964
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4965
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
5012
4966
|
};
|
|
5013
4967
|
};
|
|
5014
4968
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
@@ -4224,12 +4224,8 @@ 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
|
-
|
|
4229
|
-
}),
|
|
4230
|
-
...(input.SubmitTimeBefore != null && {
|
|
4231
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4232
|
-
}),
|
|
4227
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4228
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4233
4229
|
};
|
|
4234
4230
|
};
|
|
4235
4231
|
const serializeAws_json1_1DocumentClassifierAugmentedManifestsList = (input, context) => {
|
|
@@ -4243,12 +4239,8 @@ const serializeAws_json1_1DocumentClassifierFilter = (input, context) => {
|
|
|
4243
4239
|
return {
|
|
4244
4240
|
...(input.DocumentClassifierName != null && { DocumentClassifierName: input.DocumentClassifierName }),
|
|
4245
4241
|
...(input.Status != null && { Status: input.Status }),
|
|
4246
|
-
...(input.SubmitTimeAfter != null && {
|
|
4247
|
-
|
|
4248
|
-
}),
|
|
4249
|
-
...(input.SubmitTimeBefore != null && {
|
|
4250
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4251
|
-
}),
|
|
4242
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4243
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4252
4244
|
};
|
|
4253
4245
|
};
|
|
4254
4246
|
const serializeAws_json1_1DocumentClassifierInputDataConfig = (input, context) => {
|
|
@@ -4281,21 +4273,15 @@ const serializeAws_json1_1DominantLanguageDetectionJobFilter = (input, context)
|
|
|
4281
4273
|
return {
|
|
4282
4274
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4283
4275
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4284
|
-
...(input.SubmitTimeAfter != null && {
|
|
4285
|
-
|
|
4286
|
-
}),
|
|
4287
|
-
...(input.SubmitTimeBefore != null && {
|
|
4288
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4289
|
-
}),
|
|
4276
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4277
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4290
4278
|
};
|
|
4291
4279
|
};
|
|
4292
4280
|
const serializeAws_json1_1EndpointFilter = (input, context) => {
|
|
4293
4281
|
return {
|
|
4294
|
-
...(input.CreationTimeAfter != null && {
|
|
4295
|
-
CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000).toString(),
|
|
4296
|
-
}),
|
|
4282
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
4297
4283
|
...(input.CreationTimeBefore != null && {
|
|
4298
|
-
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000)
|
|
4284
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
4299
4285
|
}),
|
|
4300
4286
|
...(input.ModelArn != null && { ModelArn: input.ModelArn }),
|
|
4301
4287
|
...(input.Status != null && { Status: input.Status }),
|
|
@@ -4305,12 +4291,8 @@ const serializeAws_json1_1EntitiesDetectionJobFilter = (input, context) => {
|
|
|
4305
4291
|
return {
|
|
4306
4292
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4307
4293
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4308
|
-
...(input.SubmitTimeAfter != null && {
|
|
4309
|
-
|
|
4310
|
-
}),
|
|
4311
|
-
...(input.SubmitTimeBefore != null && {
|
|
4312
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4313
|
-
}),
|
|
4294
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4295
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4314
4296
|
};
|
|
4315
4297
|
};
|
|
4316
4298
|
const serializeAws_json1_1EntityRecognizerAnnotations = (input, context) => {
|
|
@@ -4342,12 +4324,8 @@ const serializeAws_json1_1EntityRecognizerFilter = (input, context) => {
|
|
|
4342
4324
|
return {
|
|
4343
4325
|
...(input.RecognizerName != null && { RecognizerName: input.RecognizerName }),
|
|
4344
4326
|
...(input.Status != null && { Status: input.Status }),
|
|
4345
|
-
...(input.SubmitTimeAfter != null && {
|
|
4346
|
-
|
|
4347
|
-
}),
|
|
4348
|
-
...(input.SubmitTimeBefore != null && {
|
|
4349
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4350
|
-
}),
|
|
4327
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4328
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4351
4329
|
};
|
|
4352
4330
|
};
|
|
4353
4331
|
const serializeAws_json1_1EntityRecognizerInputDataConfig = (input, context) => {
|
|
@@ -4384,12 +4362,8 @@ const serializeAws_json1_1EventsDetectionJobFilter = (input, context) => {
|
|
|
4384
4362
|
return {
|
|
4385
4363
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4386
4364
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4387
|
-
...(input.SubmitTimeAfter != null && {
|
|
4388
|
-
|
|
4389
|
-
}),
|
|
4390
|
-
...(input.SubmitTimeBefore != null && {
|
|
4391
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4392
|
-
}),
|
|
4365
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4366
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4393
4367
|
};
|
|
4394
4368
|
};
|
|
4395
4369
|
const serializeAws_json1_1ImportModelRequest = (input, context) => {
|
|
@@ -4415,12 +4389,8 @@ const serializeAws_json1_1KeyPhrasesDetectionJobFilter = (input, context) => {
|
|
|
4415
4389
|
return {
|
|
4416
4390
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4417
4391
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4418
|
-
...(input.SubmitTimeAfter != null && {
|
|
4419
|
-
|
|
4420
|
-
}),
|
|
4421
|
-
...(input.SubmitTimeBefore != null && {
|
|
4422
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4423
|
-
}),
|
|
4392
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4393
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4424
4394
|
};
|
|
4425
4395
|
};
|
|
4426
4396
|
const serializeAws_json1_1ListDocumentClassificationJobsRequest = (input, context) => {
|
|
@@ -4552,12 +4522,8 @@ const serializeAws_json1_1PiiEntitiesDetectionJobFilter = (input, context) => {
|
|
|
4552
4522
|
return {
|
|
4553
4523
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4554
4524
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4555
|
-
...(input.SubmitTimeAfter != null && {
|
|
4556
|
-
|
|
4557
|
-
}),
|
|
4558
|
-
...(input.SubmitTimeBefore != null && {
|
|
4559
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4560
|
-
}),
|
|
4525
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4526
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4561
4527
|
};
|
|
4562
4528
|
};
|
|
4563
4529
|
const serializeAws_json1_1PutResourcePolicyRequest = (input, context) => {
|
|
@@ -4587,12 +4553,8 @@ const serializeAws_json1_1SentimentDetectionJobFilter = (input, context) => {
|
|
|
4587
4553
|
return {
|
|
4588
4554
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4589
4555
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4590
|
-
...(input.SubmitTimeAfter != null && {
|
|
4591
|
-
|
|
4592
|
-
}),
|
|
4593
|
-
...(input.SubmitTimeBefore != null && {
|
|
4594
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4595
|
-
}),
|
|
4556
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4557
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4596
4558
|
};
|
|
4597
4559
|
};
|
|
4598
4560
|
const serializeAws_json1_1StartDocumentClassificationJobRequest = (input, context) => {
|
|
@@ -4833,12 +4795,8 @@ const serializeAws_json1_1TargetedSentimentDetectionJobFilter = (input, context)
|
|
|
4833
4795
|
return {
|
|
4834
4796
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4835
4797
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4836
|
-
...(input.SubmitTimeAfter != null && {
|
|
4837
|
-
|
|
4838
|
-
}),
|
|
4839
|
-
...(input.SubmitTimeBefore != null && {
|
|
4840
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4841
|
-
}),
|
|
4798
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4799
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4842
4800
|
};
|
|
4843
4801
|
};
|
|
4844
4802
|
const serializeAws_json1_1TargetEventTypes = (input, context) => {
|
|
@@ -4852,12 +4810,8 @@ const serializeAws_json1_1TopicsDetectionJobFilter = (input, context) => {
|
|
|
4852
4810
|
return {
|
|
4853
4811
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
4854
4812
|
...(input.JobStatus != null && { JobStatus: input.JobStatus }),
|
|
4855
|
-
...(input.SubmitTimeAfter != null && {
|
|
4856
|
-
|
|
4857
|
-
}),
|
|
4858
|
-
...(input.SubmitTimeBefore != null && {
|
|
4859
|
-
SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000).toString(),
|
|
4860
|
-
}),
|
|
4813
|
+
...(input.SubmitTimeAfter != null && { SubmitTimeAfter: Math.round(input.SubmitTimeAfter.getTime() / 1000) }),
|
|
4814
|
+
...(input.SubmitTimeBefore != null && { SubmitTimeBefore: Math.round(input.SubmitTimeBefore.getTime() / 1000) }),
|
|
4861
4815
|
};
|
|
4862
4816
|
};
|
|
4863
4817
|
const serializeAws_json1_1UntagResourceRequest = (input, context) => {
|
|
@@ -5,8 +5,8 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { BatchDetectDominantLanguageCommandInput, BatchDetectDominantLanguageCommandOutput } from "./commands/BatchDetectDominantLanguageCommand";
|
|
11
11
|
import { BatchDetectEntitiesCommandInput, BatchDetectEntitiesCommandOutput } from "./commands/BatchDetectEntitiesCommand";
|
|
12
12
|
import { BatchDetectKeyPhrasesCommandInput, BatchDetectKeyPhrasesCommandOutput } from "./commands/BatchDetectKeyPhrasesCommand";
|
|
@@ -89,11 +89,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
89
89
|
*/
|
|
90
90
|
requestHandler?: __HttpHandler;
|
|
91
91
|
/**
|
|
92
|
-
* A constructor for a class implementing the {@link
|
|
92
|
+
* A constructor for a class implementing the {@link __Checksum} interface
|
|
93
93
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
94
94
|
* @internal
|
|
95
95
|
*/
|
|
96
|
-
sha256?: __HashConstructor;
|
|
96
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
97
97
|
/**
|
|
98
98
|
* The function that will be used to convert strings into HTTP endpoints.
|
|
99
99
|
* @internal
|
|
@@ -179,9 +179,9 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
179
179
|
*/
|
|
180
180
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
181
181
|
/**
|
|
182
|
-
* The {@link
|
|
182
|
+
* The {@link __DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
183
183
|
*/
|
|
184
|
-
defaultsMode?:
|
|
184
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
185
185
|
}
|
|
186
186
|
declare type ComprehendClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
187
187
|
/**
|
|
@@ -25,12 +25,13 @@ import {
|
|
|
25
25
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
26
|
import {
|
|
27
27
|
Client as __Client,
|
|
28
|
-
DefaultsMode,
|
|
28
|
+
DefaultsMode as __DefaultsMode,
|
|
29
29
|
SmithyConfiguration as __SmithyConfiguration,
|
|
30
30
|
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
31
31
|
} from "@aws-sdk/smithy-client";
|
|
32
32
|
import {
|
|
33
33
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
34
35
|
Credentials as __Credentials,
|
|
35
36
|
Decoder as __Decoder,
|
|
36
37
|
Encoder as __Encoder,
|
|
@@ -491,7 +492,7 @@ export declare type ServiceOutputTypes =
|
|
|
491
492
|
export interface ClientDefaults
|
|
492
493
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
493
494
|
requestHandler?: __HttpHandler;
|
|
494
|
-
sha256?: __HashConstructor;
|
|
495
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
495
496
|
urlParser?: __UrlParser;
|
|
496
497
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
497
498
|
streamCollector?: __StreamCollector;
|
|
@@ -510,7 +511,7 @@ export interface ClientDefaults
|
|
|
510
511
|
region?: string | __Provider<string>;
|
|
511
512
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
512
513
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
513
|
-
defaultsMode?:
|
|
514
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
514
515
|
}
|
|
515
516
|
declare type ComprehendClientConfigType = Partial<
|
|
516
517
|
__SmithyConfiguration<__HttpHandlerOptions>
|
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.256.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",
|
|
@@ -18,39 +18,39 @@
|
|
|
18
18
|
"module": "./dist-es/index.js",
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@aws-crypto/sha256-browser": "
|
|
22
|
-
"@aws-crypto/sha256-js": "
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.256.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.254.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.256.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.254.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.254.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.254.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.254.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.254.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.254.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.254.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.254.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.254.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.254.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.254.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.254.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.254.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.254.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.254.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.254.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.254.0",
|
|
43
|
+
"@aws-sdk/types": "3.254.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.254.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.254.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.254.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.254.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.254.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.254.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.254.0",
|
|
54
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
55
55
|
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
56
56
|
"tslib": "^2.3.1",
|