@aws-sdk/client-kendra-ranking 3.504.0 → 3.507.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/dist-cjs/index.js +17 -268
- package/dist-es/protocols/Aws_json1_0.js +16 -267
- package/package.json +3 -3
package/dist-cjs/index.js
CHANGED
|
@@ -368,7 +368,7 @@ var se_UpdateRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (input,
|
|
|
368
368
|
}, "se_UpdateRescoreExecutionPlanCommand");
|
|
369
369
|
var de_CreateRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
370
370
|
if (output.statusCode >= 300) {
|
|
371
|
-
return
|
|
371
|
+
return de_CommandError(output, context);
|
|
372
372
|
}
|
|
373
373
|
const data = await parseBody(output.body, context);
|
|
374
374
|
let contents = {};
|
|
@@ -379,43 +379,9 @@ var de_CreateRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (output,
|
|
|
379
379
|
};
|
|
380
380
|
return response;
|
|
381
381
|
}, "de_CreateRescoreExecutionPlanCommand");
|
|
382
|
-
var de_CreateRescoreExecutionPlanCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
383
|
-
const parsedOutput = {
|
|
384
|
-
...output,
|
|
385
|
-
body: await parseErrorBody(output.body, context)
|
|
386
|
-
};
|
|
387
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
388
|
-
switch (errorCode) {
|
|
389
|
-
case "AccessDeniedException":
|
|
390
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
391
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
392
|
-
case "ConflictException":
|
|
393
|
-
case "com.amazonaws.kendraranking#ConflictException":
|
|
394
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
395
|
-
case "InternalServerException":
|
|
396
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
397
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
398
|
-
case "ServiceQuotaExceededException":
|
|
399
|
-
case "com.amazonaws.kendraranking#ServiceQuotaExceededException":
|
|
400
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
401
|
-
case "ThrottlingException":
|
|
402
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
403
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
404
|
-
case "ValidationException":
|
|
405
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
406
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
407
|
-
default:
|
|
408
|
-
const parsedBody = parsedOutput.body;
|
|
409
|
-
return throwDefaultError({
|
|
410
|
-
output,
|
|
411
|
-
parsedBody,
|
|
412
|
-
errorCode
|
|
413
|
-
});
|
|
414
|
-
}
|
|
415
|
-
}, "de_CreateRescoreExecutionPlanCommandError");
|
|
416
382
|
var de_DeleteRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
417
383
|
if (output.statusCode >= 300) {
|
|
418
|
-
return
|
|
384
|
+
return de_CommandError(output, context);
|
|
419
385
|
}
|
|
420
386
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
421
387
|
const response = {
|
|
@@ -423,43 +389,9 @@ var de_DeleteRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (output,
|
|
|
423
389
|
};
|
|
424
390
|
return response;
|
|
425
391
|
}, "de_DeleteRescoreExecutionPlanCommand");
|
|
426
|
-
var de_DeleteRescoreExecutionPlanCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
427
|
-
const parsedOutput = {
|
|
428
|
-
...output,
|
|
429
|
-
body: await parseErrorBody(output.body, context)
|
|
430
|
-
};
|
|
431
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
432
|
-
switch (errorCode) {
|
|
433
|
-
case "AccessDeniedException":
|
|
434
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
435
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
436
|
-
case "ConflictException":
|
|
437
|
-
case "com.amazonaws.kendraranking#ConflictException":
|
|
438
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
439
|
-
case "InternalServerException":
|
|
440
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
441
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
442
|
-
case "ResourceNotFoundException":
|
|
443
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
444
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
445
|
-
case "ThrottlingException":
|
|
446
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
447
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
448
|
-
case "ValidationException":
|
|
449
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
450
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
451
|
-
default:
|
|
452
|
-
const parsedBody = parsedOutput.body;
|
|
453
|
-
return throwDefaultError({
|
|
454
|
-
output,
|
|
455
|
-
parsedBody,
|
|
456
|
-
errorCode
|
|
457
|
-
});
|
|
458
|
-
}
|
|
459
|
-
}, "de_DeleteRescoreExecutionPlanCommandError");
|
|
460
392
|
var de_DescribeRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
461
393
|
if (output.statusCode >= 300) {
|
|
462
|
-
return
|
|
394
|
+
return de_CommandError(output, context);
|
|
463
395
|
}
|
|
464
396
|
const data = await parseBody(output.body, context);
|
|
465
397
|
let contents = {};
|
|
@@ -470,40 +402,9 @@ var de_DescribeRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
470
402
|
};
|
|
471
403
|
return response;
|
|
472
404
|
}, "de_DescribeRescoreExecutionPlanCommand");
|
|
473
|
-
var de_DescribeRescoreExecutionPlanCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
474
|
-
const parsedOutput = {
|
|
475
|
-
...output,
|
|
476
|
-
body: await parseErrorBody(output.body, context)
|
|
477
|
-
};
|
|
478
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
479
|
-
switch (errorCode) {
|
|
480
|
-
case "AccessDeniedException":
|
|
481
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
482
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
483
|
-
case "InternalServerException":
|
|
484
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
485
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
486
|
-
case "ResourceNotFoundException":
|
|
487
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
488
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
489
|
-
case "ThrottlingException":
|
|
490
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
491
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
492
|
-
case "ValidationException":
|
|
493
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
494
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
495
|
-
default:
|
|
496
|
-
const parsedBody = parsedOutput.body;
|
|
497
|
-
return throwDefaultError({
|
|
498
|
-
output,
|
|
499
|
-
parsedBody,
|
|
500
|
-
errorCode
|
|
501
|
-
});
|
|
502
|
-
}
|
|
503
|
-
}, "de_DescribeRescoreExecutionPlanCommandError");
|
|
504
405
|
var de_ListRescoreExecutionPlansCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
505
406
|
if (output.statusCode >= 300) {
|
|
506
|
-
return
|
|
407
|
+
return de_CommandError(output, context);
|
|
507
408
|
}
|
|
508
409
|
const data = await parseBody(output.body, context);
|
|
509
410
|
let contents = {};
|
|
@@ -514,37 +415,9 @@ var de_ListRescoreExecutionPlansCommand = /* @__PURE__ */ __name(async (output,
|
|
|
514
415
|
};
|
|
515
416
|
return response;
|
|
516
417
|
}, "de_ListRescoreExecutionPlansCommand");
|
|
517
|
-
var de_ListRescoreExecutionPlansCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
518
|
-
const parsedOutput = {
|
|
519
|
-
...output,
|
|
520
|
-
body: await parseErrorBody(output.body, context)
|
|
521
|
-
};
|
|
522
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
523
|
-
switch (errorCode) {
|
|
524
|
-
case "AccessDeniedException":
|
|
525
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
526
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
527
|
-
case "InternalServerException":
|
|
528
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
529
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
530
|
-
case "ThrottlingException":
|
|
531
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
532
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
533
|
-
case "ValidationException":
|
|
534
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
535
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
536
|
-
default:
|
|
537
|
-
const parsedBody = parsedOutput.body;
|
|
538
|
-
return throwDefaultError({
|
|
539
|
-
output,
|
|
540
|
-
parsedBody,
|
|
541
|
-
errorCode
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
}, "de_ListRescoreExecutionPlansCommandError");
|
|
545
418
|
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
546
419
|
if (output.statusCode >= 300) {
|
|
547
|
-
return
|
|
420
|
+
return de_CommandError(output, context);
|
|
548
421
|
}
|
|
549
422
|
const data = await parseBody(output.body, context);
|
|
550
423
|
let contents = {};
|
|
@@ -555,40 +428,9 @@ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
555
428
|
};
|
|
556
429
|
return response;
|
|
557
430
|
}, "de_ListTagsForResourceCommand");
|
|
558
|
-
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
559
|
-
const parsedOutput = {
|
|
560
|
-
...output,
|
|
561
|
-
body: await parseErrorBody(output.body, context)
|
|
562
|
-
};
|
|
563
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
564
|
-
switch (errorCode) {
|
|
565
|
-
case "AccessDeniedException":
|
|
566
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
567
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
568
|
-
case "InternalServerException":
|
|
569
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
570
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
571
|
-
case "ResourceUnavailableException":
|
|
572
|
-
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
573
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
574
|
-
case "ThrottlingException":
|
|
575
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
576
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
577
|
-
case "ValidationException":
|
|
578
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
579
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
580
|
-
default:
|
|
581
|
-
const parsedBody = parsedOutput.body;
|
|
582
|
-
return throwDefaultError({
|
|
583
|
-
output,
|
|
584
|
-
parsedBody,
|
|
585
|
-
errorCode
|
|
586
|
-
});
|
|
587
|
-
}
|
|
588
|
-
}, "de_ListTagsForResourceCommandError");
|
|
589
431
|
var de_RescoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
590
432
|
if (output.statusCode >= 300) {
|
|
591
|
-
return
|
|
433
|
+
return de_CommandError(output, context);
|
|
592
434
|
}
|
|
593
435
|
const data = await parseBody(output.body, context);
|
|
594
436
|
let contents = {};
|
|
@@ -599,43 +441,9 @@ var de_RescoreCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
599
441
|
};
|
|
600
442
|
return response;
|
|
601
443
|
}, "de_RescoreCommand");
|
|
602
|
-
var de_RescoreCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
603
|
-
const parsedOutput = {
|
|
604
|
-
...output,
|
|
605
|
-
body: await parseErrorBody(output.body, context)
|
|
606
|
-
};
|
|
607
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
608
|
-
switch (errorCode) {
|
|
609
|
-
case "AccessDeniedException":
|
|
610
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
611
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
612
|
-
case "ConflictException":
|
|
613
|
-
case "com.amazonaws.kendraranking#ConflictException":
|
|
614
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
615
|
-
case "InternalServerException":
|
|
616
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
617
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
618
|
-
case "ResourceNotFoundException":
|
|
619
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
620
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
621
|
-
case "ThrottlingException":
|
|
622
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
623
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
624
|
-
case "ValidationException":
|
|
625
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
626
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
627
|
-
default:
|
|
628
|
-
const parsedBody = parsedOutput.body;
|
|
629
|
-
return throwDefaultError({
|
|
630
|
-
output,
|
|
631
|
-
parsedBody,
|
|
632
|
-
errorCode
|
|
633
|
-
});
|
|
634
|
-
}
|
|
635
|
-
}, "de_RescoreCommandError");
|
|
636
444
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
637
445
|
if (output.statusCode >= 300) {
|
|
638
|
-
return
|
|
446
|
+
return de_CommandError(output, context);
|
|
639
447
|
}
|
|
640
448
|
const data = await parseBody(output.body, context);
|
|
641
449
|
let contents = {};
|
|
@@ -646,40 +454,9 @@ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
646
454
|
};
|
|
647
455
|
return response;
|
|
648
456
|
}, "de_TagResourceCommand");
|
|
649
|
-
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
650
|
-
const parsedOutput = {
|
|
651
|
-
...output,
|
|
652
|
-
body: await parseErrorBody(output.body, context)
|
|
653
|
-
};
|
|
654
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
655
|
-
switch (errorCode) {
|
|
656
|
-
case "AccessDeniedException":
|
|
657
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
658
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
659
|
-
case "InternalServerException":
|
|
660
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
661
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
662
|
-
case "ResourceUnavailableException":
|
|
663
|
-
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
664
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
665
|
-
case "ThrottlingException":
|
|
666
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
667
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
668
|
-
case "ValidationException":
|
|
669
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
670
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
671
|
-
default:
|
|
672
|
-
const parsedBody = parsedOutput.body;
|
|
673
|
-
return throwDefaultError({
|
|
674
|
-
output,
|
|
675
|
-
parsedBody,
|
|
676
|
-
errorCode
|
|
677
|
-
});
|
|
678
|
-
}
|
|
679
|
-
}, "de_TagResourceCommandError");
|
|
680
457
|
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
681
458
|
if (output.statusCode >= 300) {
|
|
682
|
-
return
|
|
459
|
+
return de_CommandError(output, context);
|
|
683
460
|
}
|
|
684
461
|
const data = await parseBody(output.body, context);
|
|
685
462
|
let contents = {};
|
|
@@ -690,40 +467,9 @@ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
690
467
|
};
|
|
691
468
|
return response;
|
|
692
469
|
}, "de_UntagResourceCommand");
|
|
693
|
-
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
694
|
-
const parsedOutput = {
|
|
695
|
-
...output,
|
|
696
|
-
body: await parseErrorBody(output.body, context)
|
|
697
|
-
};
|
|
698
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
699
|
-
switch (errorCode) {
|
|
700
|
-
case "AccessDeniedException":
|
|
701
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
702
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
703
|
-
case "InternalServerException":
|
|
704
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
705
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
706
|
-
case "ResourceUnavailableException":
|
|
707
|
-
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
708
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
709
|
-
case "ThrottlingException":
|
|
710
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
711
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
712
|
-
case "ValidationException":
|
|
713
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
714
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
715
|
-
default:
|
|
716
|
-
const parsedBody = parsedOutput.body;
|
|
717
|
-
return throwDefaultError({
|
|
718
|
-
output,
|
|
719
|
-
parsedBody,
|
|
720
|
-
errorCode
|
|
721
|
-
});
|
|
722
|
-
}
|
|
723
|
-
}, "de_UntagResourceCommandError");
|
|
724
470
|
var de_UpdateRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
725
471
|
if (output.statusCode >= 300) {
|
|
726
|
-
return
|
|
472
|
+
return de_CommandError(output, context);
|
|
727
473
|
}
|
|
728
474
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
729
475
|
const response = {
|
|
@@ -731,7 +477,7 @@ var de_UpdateRescoreExecutionPlanCommand = /* @__PURE__ */ __name(async (output,
|
|
|
731
477
|
};
|
|
732
478
|
return response;
|
|
733
479
|
}, "de_UpdateRescoreExecutionPlanCommand");
|
|
734
|
-
var
|
|
480
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
735
481
|
const parsedOutput = {
|
|
736
482
|
...output,
|
|
737
483
|
body: await parseErrorBody(output.body, context)
|
|
@@ -747,9 +493,6 @@ var de_UpdateRescoreExecutionPlanCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
747
493
|
case "InternalServerException":
|
|
748
494
|
case "com.amazonaws.kendraranking#InternalServerException":
|
|
749
495
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
750
|
-
case "ResourceNotFoundException":
|
|
751
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
752
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
753
496
|
case "ServiceQuotaExceededException":
|
|
754
497
|
case "com.amazonaws.kendraranking#ServiceQuotaExceededException":
|
|
755
498
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
@@ -759,6 +502,12 @@ var de_UpdateRescoreExecutionPlanCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
759
502
|
case "ValidationException":
|
|
760
503
|
case "com.amazonaws.kendraranking#ValidationException":
|
|
761
504
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
505
|
+
case "ResourceNotFoundException":
|
|
506
|
+
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
507
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
508
|
+
case "ResourceUnavailableException":
|
|
509
|
+
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
510
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
762
511
|
default:
|
|
763
512
|
const parsedBody = parsedOutput.body;
|
|
764
513
|
return throwDefaultError({
|
|
@@ -767,7 +516,7 @@ var de_UpdateRescoreExecutionPlanCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
767
516
|
errorCode
|
|
768
517
|
});
|
|
769
518
|
}
|
|
770
|
-
}, "
|
|
519
|
+
}, "de_CommandError");
|
|
771
520
|
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
772
521
|
const body = parsedOutput.body;
|
|
773
522
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -59,7 +59,7 @@ export const se_UpdateRescoreExecutionPlanCommand = async (input, context) => {
|
|
|
59
59
|
};
|
|
60
60
|
export const de_CreateRescoreExecutionPlanCommand = async (output, context) => {
|
|
61
61
|
if (output.statusCode >= 300) {
|
|
62
|
-
return
|
|
62
|
+
return de_CommandError(output, context);
|
|
63
63
|
}
|
|
64
64
|
const data = await parseBody(output.body, context);
|
|
65
65
|
let contents = {};
|
|
@@ -70,43 +70,9 @@ export const de_CreateRescoreExecutionPlanCommand = async (output, context) => {
|
|
|
70
70
|
};
|
|
71
71
|
return response;
|
|
72
72
|
};
|
|
73
|
-
const de_CreateRescoreExecutionPlanCommandError = async (output, context) => {
|
|
74
|
-
const parsedOutput = {
|
|
75
|
-
...output,
|
|
76
|
-
body: await parseErrorBody(output.body, context),
|
|
77
|
-
};
|
|
78
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
79
|
-
switch (errorCode) {
|
|
80
|
-
case "AccessDeniedException":
|
|
81
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
82
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
83
|
-
case "ConflictException":
|
|
84
|
-
case "com.amazonaws.kendraranking#ConflictException":
|
|
85
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
86
|
-
case "InternalServerException":
|
|
87
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
88
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
89
|
-
case "ServiceQuotaExceededException":
|
|
90
|
-
case "com.amazonaws.kendraranking#ServiceQuotaExceededException":
|
|
91
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
92
|
-
case "ThrottlingException":
|
|
93
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
94
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
95
|
-
case "ValidationException":
|
|
96
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
97
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
98
|
-
default:
|
|
99
|
-
const parsedBody = parsedOutput.body;
|
|
100
|
-
return throwDefaultError({
|
|
101
|
-
output,
|
|
102
|
-
parsedBody,
|
|
103
|
-
errorCode,
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
73
|
export const de_DeleteRescoreExecutionPlanCommand = async (output, context) => {
|
|
108
74
|
if (output.statusCode >= 300) {
|
|
109
|
-
return
|
|
75
|
+
return de_CommandError(output, context);
|
|
110
76
|
}
|
|
111
77
|
await collectBody(output.body, context);
|
|
112
78
|
const response = {
|
|
@@ -114,43 +80,9 @@ export const de_DeleteRescoreExecutionPlanCommand = async (output, context) => {
|
|
|
114
80
|
};
|
|
115
81
|
return response;
|
|
116
82
|
};
|
|
117
|
-
const de_DeleteRescoreExecutionPlanCommandError = async (output, context) => {
|
|
118
|
-
const parsedOutput = {
|
|
119
|
-
...output,
|
|
120
|
-
body: await parseErrorBody(output.body, context),
|
|
121
|
-
};
|
|
122
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
123
|
-
switch (errorCode) {
|
|
124
|
-
case "AccessDeniedException":
|
|
125
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
126
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
127
|
-
case "ConflictException":
|
|
128
|
-
case "com.amazonaws.kendraranking#ConflictException":
|
|
129
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
130
|
-
case "InternalServerException":
|
|
131
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
132
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
133
|
-
case "ResourceNotFoundException":
|
|
134
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
135
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
136
|
-
case "ThrottlingException":
|
|
137
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
138
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
139
|
-
case "ValidationException":
|
|
140
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
141
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
142
|
-
default:
|
|
143
|
-
const parsedBody = parsedOutput.body;
|
|
144
|
-
return throwDefaultError({
|
|
145
|
-
output,
|
|
146
|
-
parsedBody,
|
|
147
|
-
errorCode,
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
};
|
|
151
83
|
export const de_DescribeRescoreExecutionPlanCommand = async (output, context) => {
|
|
152
84
|
if (output.statusCode >= 300) {
|
|
153
|
-
return
|
|
85
|
+
return de_CommandError(output, context);
|
|
154
86
|
}
|
|
155
87
|
const data = await parseBody(output.body, context);
|
|
156
88
|
let contents = {};
|
|
@@ -161,40 +93,9 @@ export const de_DescribeRescoreExecutionPlanCommand = async (output, context) =>
|
|
|
161
93
|
};
|
|
162
94
|
return response;
|
|
163
95
|
};
|
|
164
|
-
const de_DescribeRescoreExecutionPlanCommandError = async (output, context) => {
|
|
165
|
-
const parsedOutput = {
|
|
166
|
-
...output,
|
|
167
|
-
body: await parseErrorBody(output.body, context),
|
|
168
|
-
};
|
|
169
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
170
|
-
switch (errorCode) {
|
|
171
|
-
case "AccessDeniedException":
|
|
172
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
173
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
174
|
-
case "InternalServerException":
|
|
175
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
176
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
177
|
-
case "ResourceNotFoundException":
|
|
178
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
179
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
180
|
-
case "ThrottlingException":
|
|
181
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
182
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
183
|
-
case "ValidationException":
|
|
184
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
185
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
186
|
-
default:
|
|
187
|
-
const parsedBody = parsedOutput.body;
|
|
188
|
-
return throwDefaultError({
|
|
189
|
-
output,
|
|
190
|
-
parsedBody,
|
|
191
|
-
errorCode,
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
|
-
};
|
|
195
96
|
export const de_ListRescoreExecutionPlansCommand = async (output, context) => {
|
|
196
97
|
if (output.statusCode >= 300) {
|
|
197
|
-
return
|
|
98
|
+
return de_CommandError(output, context);
|
|
198
99
|
}
|
|
199
100
|
const data = await parseBody(output.body, context);
|
|
200
101
|
let contents = {};
|
|
@@ -205,37 +106,9 @@ export const de_ListRescoreExecutionPlansCommand = async (output, context) => {
|
|
|
205
106
|
};
|
|
206
107
|
return response;
|
|
207
108
|
};
|
|
208
|
-
const de_ListRescoreExecutionPlansCommandError = async (output, context) => {
|
|
209
|
-
const parsedOutput = {
|
|
210
|
-
...output,
|
|
211
|
-
body: await parseErrorBody(output.body, context),
|
|
212
|
-
};
|
|
213
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
214
|
-
switch (errorCode) {
|
|
215
|
-
case "AccessDeniedException":
|
|
216
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
217
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
218
|
-
case "InternalServerException":
|
|
219
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
220
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
221
|
-
case "ThrottlingException":
|
|
222
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
223
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
224
|
-
case "ValidationException":
|
|
225
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
226
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
227
|
-
default:
|
|
228
|
-
const parsedBody = parsedOutput.body;
|
|
229
|
-
return throwDefaultError({
|
|
230
|
-
output,
|
|
231
|
-
parsedBody,
|
|
232
|
-
errorCode,
|
|
233
|
-
});
|
|
234
|
-
}
|
|
235
|
-
};
|
|
236
109
|
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
237
110
|
if (output.statusCode >= 300) {
|
|
238
|
-
return
|
|
111
|
+
return de_CommandError(output, context);
|
|
239
112
|
}
|
|
240
113
|
const data = await parseBody(output.body, context);
|
|
241
114
|
let contents = {};
|
|
@@ -246,40 +119,9 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
246
119
|
};
|
|
247
120
|
return response;
|
|
248
121
|
};
|
|
249
|
-
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
250
|
-
const parsedOutput = {
|
|
251
|
-
...output,
|
|
252
|
-
body: await parseErrorBody(output.body, context),
|
|
253
|
-
};
|
|
254
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
255
|
-
switch (errorCode) {
|
|
256
|
-
case "AccessDeniedException":
|
|
257
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
258
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
259
|
-
case "InternalServerException":
|
|
260
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
261
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
262
|
-
case "ResourceUnavailableException":
|
|
263
|
-
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
264
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
265
|
-
case "ThrottlingException":
|
|
266
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
267
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
268
|
-
case "ValidationException":
|
|
269
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
270
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
271
|
-
default:
|
|
272
|
-
const parsedBody = parsedOutput.body;
|
|
273
|
-
return throwDefaultError({
|
|
274
|
-
output,
|
|
275
|
-
parsedBody,
|
|
276
|
-
errorCode,
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
};
|
|
280
122
|
export const de_RescoreCommand = async (output, context) => {
|
|
281
123
|
if (output.statusCode >= 300) {
|
|
282
|
-
return
|
|
124
|
+
return de_CommandError(output, context);
|
|
283
125
|
}
|
|
284
126
|
const data = await parseBody(output.body, context);
|
|
285
127
|
let contents = {};
|
|
@@ -290,43 +132,9 @@ export const de_RescoreCommand = async (output, context) => {
|
|
|
290
132
|
};
|
|
291
133
|
return response;
|
|
292
134
|
};
|
|
293
|
-
const de_RescoreCommandError = async (output, context) => {
|
|
294
|
-
const parsedOutput = {
|
|
295
|
-
...output,
|
|
296
|
-
body: await parseErrorBody(output.body, context),
|
|
297
|
-
};
|
|
298
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
299
|
-
switch (errorCode) {
|
|
300
|
-
case "AccessDeniedException":
|
|
301
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
302
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
303
|
-
case "ConflictException":
|
|
304
|
-
case "com.amazonaws.kendraranking#ConflictException":
|
|
305
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
306
|
-
case "InternalServerException":
|
|
307
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
308
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
309
|
-
case "ResourceNotFoundException":
|
|
310
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
311
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
312
|
-
case "ThrottlingException":
|
|
313
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
314
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
315
|
-
case "ValidationException":
|
|
316
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
317
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
318
|
-
default:
|
|
319
|
-
const parsedBody = parsedOutput.body;
|
|
320
|
-
return throwDefaultError({
|
|
321
|
-
output,
|
|
322
|
-
parsedBody,
|
|
323
|
-
errorCode,
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
};
|
|
327
135
|
export const de_TagResourceCommand = async (output, context) => {
|
|
328
136
|
if (output.statusCode >= 300) {
|
|
329
|
-
return
|
|
137
|
+
return de_CommandError(output, context);
|
|
330
138
|
}
|
|
331
139
|
const data = await parseBody(output.body, context);
|
|
332
140
|
let contents = {};
|
|
@@ -337,40 +145,9 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
337
145
|
};
|
|
338
146
|
return response;
|
|
339
147
|
};
|
|
340
|
-
const de_TagResourceCommandError = async (output, context) => {
|
|
341
|
-
const parsedOutput = {
|
|
342
|
-
...output,
|
|
343
|
-
body: await parseErrorBody(output.body, context),
|
|
344
|
-
};
|
|
345
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
346
|
-
switch (errorCode) {
|
|
347
|
-
case "AccessDeniedException":
|
|
348
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
349
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
350
|
-
case "InternalServerException":
|
|
351
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
352
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
353
|
-
case "ResourceUnavailableException":
|
|
354
|
-
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
355
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
356
|
-
case "ThrottlingException":
|
|
357
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
358
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
359
|
-
case "ValidationException":
|
|
360
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
361
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
362
|
-
default:
|
|
363
|
-
const parsedBody = parsedOutput.body;
|
|
364
|
-
return throwDefaultError({
|
|
365
|
-
output,
|
|
366
|
-
parsedBody,
|
|
367
|
-
errorCode,
|
|
368
|
-
});
|
|
369
|
-
}
|
|
370
|
-
};
|
|
371
148
|
export const de_UntagResourceCommand = async (output, context) => {
|
|
372
149
|
if (output.statusCode >= 300) {
|
|
373
|
-
return
|
|
150
|
+
return de_CommandError(output, context);
|
|
374
151
|
}
|
|
375
152
|
const data = await parseBody(output.body, context);
|
|
376
153
|
let contents = {};
|
|
@@ -381,40 +158,9 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
381
158
|
};
|
|
382
159
|
return response;
|
|
383
160
|
};
|
|
384
|
-
const de_UntagResourceCommandError = async (output, context) => {
|
|
385
|
-
const parsedOutput = {
|
|
386
|
-
...output,
|
|
387
|
-
body: await parseErrorBody(output.body, context),
|
|
388
|
-
};
|
|
389
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
390
|
-
switch (errorCode) {
|
|
391
|
-
case "AccessDeniedException":
|
|
392
|
-
case "com.amazonaws.kendraranking#AccessDeniedException":
|
|
393
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
394
|
-
case "InternalServerException":
|
|
395
|
-
case "com.amazonaws.kendraranking#InternalServerException":
|
|
396
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
397
|
-
case "ResourceUnavailableException":
|
|
398
|
-
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
399
|
-
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
400
|
-
case "ThrottlingException":
|
|
401
|
-
case "com.amazonaws.kendraranking#ThrottlingException":
|
|
402
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
403
|
-
case "ValidationException":
|
|
404
|
-
case "com.amazonaws.kendraranking#ValidationException":
|
|
405
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
406
|
-
default:
|
|
407
|
-
const parsedBody = parsedOutput.body;
|
|
408
|
-
return throwDefaultError({
|
|
409
|
-
output,
|
|
410
|
-
parsedBody,
|
|
411
|
-
errorCode,
|
|
412
|
-
});
|
|
413
|
-
}
|
|
414
|
-
};
|
|
415
161
|
export const de_UpdateRescoreExecutionPlanCommand = async (output, context) => {
|
|
416
162
|
if (output.statusCode >= 300) {
|
|
417
|
-
return
|
|
163
|
+
return de_CommandError(output, context);
|
|
418
164
|
}
|
|
419
165
|
await collectBody(output.body, context);
|
|
420
166
|
const response = {
|
|
@@ -422,7 +168,7 @@ export const de_UpdateRescoreExecutionPlanCommand = async (output, context) => {
|
|
|
422
168
|
};
|
|
423
169
|
return response;
|
|
424
170
|
};
|
|
425
|
-
const
|
|
171
|
+
const de_CommandError = async (output, context) => {
|
|
426
172
|
const parsedOutput = {
|
|
427
173
|
...output,
|
|
428
174
|
body: await parseErrorBody(output.body, context),
|
|
@@ -438,9 +184,6 @@ const de_UpdateRescoreExecutionPlanCommandError = async (output, context) => {
|
|
|
438
184
|
case "InternalServerException":
|
|
439
185
|
case "com.amazonaws.kendraranking#InternalServerException":
|
|
440
186
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
441
|
-
case "ResourceNotFoundException":
|
|
442
|
-
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
443
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
444
187
|
case "ServiceQuotaExceededException":
|
|
445
188
|
case "com.amazonaws.kendraranking#ServiceQuotaExceededException":
|
|
446
189
|
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
@@ -450,6 +193,12 @@ const de_UpdateRescoreExecutionPlanCommandError = async (output, context) => {
|
|
|
450
193
|
case "ValidationException":
|
|
451
194
|
case "com.amazonaws.kendraranking#ValidationException":
|
|
452
195
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
196
|
+
case "ResourceNotFoundException":
|
|
197
|
+
case "com.amazonaws.kendraranking#ResourceNotFoundException":
|
|
198
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
199
|
+
case "ResourceUnavailableException":
|
|
200
|
+
case "com.amazonaws.kendraranking#ResourceUnavailableException":
|
|
201
|
+
throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
|
|
453
202
|
default:
|
|
454
203
|
const parsedBody = parsedOutput.body;
|
|
455
204
|
return throwDefaultError({
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kendra-ranking",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kendra Ranking Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.507.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kendra-ranking",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.507.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.507.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.502.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.502.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|