@aws-sdk/client-comprehend 3.987.0 → 3.988.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 +104 -3215
- package/dist-cjs/models/ComprehendServiceException.js +12 -0
- package/dist-cjs/models/errors.js +248 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +2528 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +118 -112
- package/dist-types/schemas/schemas_0.d.ts +24 -17
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -17
- package/package.json +13 -13
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultComprehendHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2017-11-27",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.comprehend",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2017-11-27",
|
|
30
32
|
serviceTarget: "Comprehend_20171127",
|
|
31
33
|
},
|
|
@@ -81,7 +81,7 @@ const _CT = "CreationTime";
|
|
|
81
81
|
const _CTA = "CreationTimeAfter";
|
|
82
82
|
const _CTB = "CreationTimeBefore";
|
|
83
83
|
const _Co = "Count";
|
|
84
|
-
const _D = "
|
|
84
|
+
const _D = "Detail";
|
|
85
85
|
const _DA = "DatasetArn";
|
|
86
86
|
const _DAML = "DatasetAugmentedManifestsList";
|
|
87
87
|
const _DAMLI = "DatasetAugmentedManifestsListItem";
|
|
@@ -220,7 +220,7 @@ const _DTSDJRe = "DescribeTargetedSentimentDetectionJobResponse";
|
|
|
220
220
|
const _DTSR = "DetectTargetedSentimentRequest";
|
|
221
221
|
const _DTSRe = "DetectTargetedSentimentResponse";
|
|
222
222
|
const _DTa = "DatasetType";
|
|
223
|
-
const _De = "
|
|
223
|
+
const _De = "Description";
|
|
224
224
|
const _Do = "Documents";
|
|
225
225
|
const _E = "Entities";
|
|
226
226
|
const _EA = "EndpointArn";
|
|
@@ -452,7 +452,7 @@ const _Po = "Polygon";
|
|
|
452
452
|
const _Poi = "Point";
|
|
453
453
|
const _Pos = "Positive";
|
|
454
454
|
const _Pr = "Precision";
|
|
455
|
-
const _R = "
|
|
455
|
+
const _R = "Reason";
|
|
456
456
|
const _RA = "ResourceArn";
|
|
457
457
|
const _RC = "RedactionConfig";
|
|
458
458
|
const _RIUE = "ResourceInUseException";
|
|
@@ -464,8 +464,8 @@ const _RN = "RecognizerName";
|
|
|
464
464
|
const _RNFE = "ResourceNotFoundException";
|
|
465
465
|
const _RP = "ResourcePolicy";
|
|
466
466
|
const _RUE = "ResourceUnavailableException";
|
|
467
|
-
const _Re = "
|
|
468
|
-
const
|
|
467
|
+
const _Re = "Relationships";
|
|
468
|
+
const _Rec = "Recall";
|
|
469
469
|
const _S = "Split";
|
|
470
470
|
const _SDCJ = "StartDocumentClassificationJob";
|
|
471
471
|
const _SDCJR = "StartDocumentClassificationJobRequest";
|
|
@@ -602,12 +602,116 @@ const _Y = "Y";
|
|
|
602
602
|
const _c = "client";
|
|
603
603
|
const _e = "error";
|
|
604
604
|
const _hE = "httpError";
|
|
605
|
-
const _s = "
|
|
606
|
-
const
|
|
605
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.comprehend";
|
|
606
|
+
const _se = "server";
|
|
607
607
|
const n0 = "com.amazonaws.comprehend";
|
|
608
608
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
609
609
|
import { ComprehendServiceException } from "../models/ComprehendServiceException";
|
|
610
610
|
import { BatchSizeLimitExceededException, ConcurrentModificationException, InternalServerException, InvalidFilterException, InvalidRequestException, JobNotFoundException, KmsKeyValidationException, ResourceInUseException, ResourceLimitExceededException, ResourceNotFoundException, ResourceUnavailableException, TextSizeLimitExceededException, TooManyRequestsException, TooManyTagKeysException, TooManyTagsException, UnsupportedLanguageException, } from "../models/errors";
|
|
611
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
612
|
+
export var ComprehendServiceException$ = [-3, _s, "ComprehendServiceException", 0, [], []];
|
|
613
|
+
_s_registry.registerError(ComprehendServiceException$, ComprehendServiceException);
|
|
614
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
615
|
+
export var BatchSizeLimitExceededException$ = [-3, n0, _BSLEE,
|
|
616
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
617
|
+
[_M],
|
|
618
|
+
[0]
|
|
619
|
+
];
|
|
620
|
+
n0_registry.registerError(BatchSizeLimitExceededException$, BatchSizeLimitExceededException);
|
|
621
|
+
export var ConcurrentModificationException$ = [-3, n0, _CME,
|
|
622
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
623
|
+
[_M],
|
|
624
|
+
[0]
|
|
625
|
+
];
|
|
626
|
+
n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
627
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
628
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
629
|
+
[_M],
|
|
630
|
+
[0]
|
|
631
|
+
];
|
|
632
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
633
|
+
export var InvalidFilterException$ = [-3, n0, _IFE,
|
|
634
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
635
|
+
[_M],
|
|
636
|
+
[0]
|
|
637
|
+
];
|
|
638
|
+
n0_registry.registerError(InvalidFilterException$, InvalidFilterException);
|
|
639
|
+
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
640
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
641
|
+
[_M, _R, _D],
|
|
642
|
+
[0, 0, () => InvalidRequestDetail$]
|
|
643
|
+
];
|
|
644
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
645
|
+
export var JobNotFoundException$ = [-3, n0, _JNFE,
|
|
646
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
647
|
+
[_M],
|
|
648
|
+
[0]
|
|
649
|
+
];
|
|
650
|
+
n0_registry.registerError(JobNotFoundException$, JobNotFoundException);
|
|
651
|
+
export var KmsKeyValidationException$ = [-3, n0, _KKVE,
|
|
652
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
653
|
+
[_M],
|
|
654
|
+
[0]
|
|
655
|
+
];
|
|
656
|
+
n0_registry.registerError(KmsKeyValidationException$, KmsKeyValidationException);
|
|
657
|
+
export var ResourceInUseException$ = [-3, n0, _RIUE,
|
|
658
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
659
|
+
[_M],
|
|
660
|
+
[0]
|
|
661
|
+
];
|
|
662
|
+
n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
|
|
663
|
+
export var ResourceLimitExceededException$ = [-3, n0, _RLEE,
|
|
664
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
665
|
+
[_M],
|
|
666
|
+
[0]
|
|
667
|
+
];
|
|
668
|
+
n0_registry.registerError(ResourceLimitExceededException$, ResourceLimitExceededException);
|
|
669
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
670
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
671
|
+
[_M],
|
|
672
|
+
[0]
|
|
673
|
+
];
|
|
674
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
675
|
+
export var ResourceUnavailableException$ = [-3, n0, _RUE,
|
|
676
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
677
|
+
[_M],
|
|
678
|
+
[0]
|
|
679
|
+
];
|
|
680
|
+
n0_registry.registerError(ResourceUnavailableException$, ResourceUnavailableException);
|
|
681
|
+
export var TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
|
|
682
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
683
|
+
[_M],
|
|
684
|
+
[0]
|
|
685
|
+
];
|
|
686
|
+
n0_registry.registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);
|
|
687
|
+
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
688
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
689
|
+
[_M],
|
|
690
|
+
[0]
|
|
691
|
+
];
|
|
692
|
+
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
693
|
+
export var TooManyTagKeysException$ = [-3, n0, _TMTKE,
|
|
694
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
695
|
+
[_M],
|
|
696
|
+
[0]
|
|
697
|
+
];
|
|
698
|
+
n0_registry.registerError(TooManyTagKeysException$, TooManyTagKeysException);
|
|
699
|
+
export var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
700
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
701
|
+
[_M],
|
|
702
|
+
[0]
|
|
703
|
+
];
|
|
704
|
+
n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
|
|
705
|
+
export var UnsupportedLanguageException$ = [-3, n0, _ULE,
|
|
706
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
707
|
+
[_M],
|
|
708
|
+
[0]
|
|
709
|
+
];
|
|
710
|
+
n0_registry.registerError(UnsupportedLanguageException$, UnsupportedLanguageException);
|
|
711
|
+
export const errorTypeRegistries = [
|
|
712
|
+
_s_registry,
|
|
713
|
+
n0_registry,
|
|
714
|
+
];
|
|
611
715
|
var CustomerInputString = [0, n0, _CIS, 8, 0];
|
|
612
716
|
export var AugmentedManifestsListItem$ = [3, n0, _AMLI,
|
|
613
717
|
0,
|
|
@@ -709,15 +813,9 @@ export var BatchItemError$ = [3, n0, _BIE,
|
|
|
709
813
|
[_I, _EC, _EM],
|
|
710
814
|
[1, 0, 0]
|
|
711
815
|
];
|
|
712
|
-
export var BatchSizeLimitExceededException$ = [-3, n0, _BSLEE,
|
|
713
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
714
|
-
[_M],
|
|
715
|
-
[0]
|
|
716
|
-
];
|
|
717
|
-
TypeRegistry.for(n0).registerError(BatchSizeLimitExceededException$, BatchSizeLimitExceededException);
|
|
718
816
|
export var Block$ = [3, n0, _B,
|
|
719
817
|
0,
|
|
720
|
-
[_Id, _BT, _T, _P, _G,
|
|
818
|
+
[_Id, _BT, _T, _P, _G, _Re],
|
|
721
819
|
[0, 0, 0, 1, () => Geometry$, () => ListOfRelationships]
|
|
722
820
|
];
|
|
723
821
|
export var BlockReference$ = [3, n0, _BR,
|
|
@@ -737,7 +835,7 @@ export var ChildBlock$ = [3, n0, _CBh,
|
|
|
737
835
|
];
|
|
738
836
|
export var ClassifierEvaluationMetrics$ = [3, n0, _CEM,
|
|
739
837
|
0,
|
|
740
|
-
[_A, _Pr,
|
|
838
|
+
[_A, _Pr, _Rec, _FS, _MP, _MR, _MFS, _HL],
|
|
741
839
|
[1, 1, 1, 1, 1, 1, 1, 1]
|
|
742
840
|
];
|
|
743
841
|
export var ClassifierMetadata$ = [3, n0, _CM,
|
|
@@ -755,12 +853,6 @@ export var ClassifyDocumentResponse$ = [3, n0, _CDRl,
|
|
|
755
853
|
[_C, _La, _DM, _DT, _Er, _Wa],
|
|
756
854
|
[() => ListOfClasses, () => ListOfLabels, () => DocumentMetadata$, () => ListOfDocumentType, () => ListOfErrors, () => ListOfWarnings]
|
|
757
855
|
];
|
|
758
|
-
export var ConcurrentModificationException$ = [-3, n0, _CME,
|
|
759
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
760
|
-
[_M],
|
|
761
|
-
[0]
|
|
762
|
-
];
|
|
763
|
-
TypeRegistry.for(n0).registerError(ConcurrentModificationException$, ConcurrentModificationException);
|
|
764
856
|
export var ContainsPiiEntitiesRequest$ = [3, n0, _CPER,
|
|
765
857
|
0,
|
|
766
858
|
[_T, _LC],
|
|
@@ -773,7 +865,7 @@ export var ContainsPiiEntitiesResponse$ = [3, n0, _CPERo,
|
|
|
773
865
|
];
|
|
774
866
|
export var CreateDatasetRequest$ = [3, n0, _CDRr,
|
|
775
867
|
0,
|
|
776
|
-
[_FA, _DN, _IDC, _DTa,
|
|
868
|
+
[_FA, _DN, _IDC, _DTa, _De, _CRT, _Ta],
|
|
777
869
|
[0, 0, () => DatasetInputDataConfig$, 0, 0, [0, 4], () => TagList], 3
|
|
778
870
|
];
|
|
779
871
|
export var CreateDatasetResponse$ = [3, n0, _CDRre,
|
|
@@ -868,7 +960,7 @@ export var DatasetInputDataConfig$ = [3, n0, _DIDC,
|
|
|
868
960
|
];
|
|
869
961
|
export var DatasetProperties$ = [3, n0, _DP,
|
|
870
962
|
0,
|
|
871
|
-
[_DA, _DN, _DTa, _DSU,
|
|
963
|
+
[_DA, _DN, _DTa, _DSU, _De, _St, _M, _NOD, _CT, _ET],
|
|
872
964
|
[0, 0, 0, 0, 0, 0, 0, 1, 4, 4]
|
|
873
965
|
];
|
|
874
966
|
export var DeleteDocumentClassifierRequest$ = [3, n0, _DDCR,
|
|
@@ -1298,7 +1390,7 @@ export var EntityRecognizerEntityList$ = [3, n0, _EREL,
|
|
|
1298
1390
|
];
|
|
1299
1391
|
export var EntityRecognizerEvaluationMetrics$ = [3, n0, _EREM,
|
|
1300
1392
|
0,
|
|
1301
|
-
[_Pr,
|
|
1393
|
+
[_Pr, _Rec, _FS],
|
|
1302
1394
|
[1, 1, 1]
|
|
1303
1395
|
];
|
|
1304
1396
|
export var EntityRecognizerFilter$ = [3, n0, _ERF,
|
|
@@ -1338,7 +1430,7 @@ export var EntityRecognizerSummary$ = [3, n0, _ERS,
|
|
|
1338
1430
|
];
|
|
1339
1431
|
export var EntityTypesEvaluationMetrics$ = [3, n0, _ETEM,
|
|
1340
1432
|
0,
|
|
1341
|
-
[_Pr,
|
|
1433
|
+
[_Pr, _Rec, _FS],
|
|
1342
1434
|
[1, 1, 1]
|
|
1343
1435
|
];
|
|
1344
1436
|
export var EntityTypesListItem$ = [3, n0, _ETLI,
|
|
@@ -1416,35 +1508,11 @@ export var InputDataConfig$ = [3, n0, _IDC,
|
|
|
1416
1508
|
[_SU, _IF, _DRC],
|
|
1417
1509
|
[0, 0, () => DocumentReaderConfig$], 1
|
|
1418
1510
|
];
|
|
1419
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
1420
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
1421
|
-
[_M],
|
|
1422
|
-
[0]
|
|
1423
|
-
];
|
|
1424
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
1425
|
-
export var InvalidFilterException$ = [-3, n0, _IFE,
|
|
1426
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1427
|
-
[_M],
|
|
1428
|
-
[0]
|
|
1429
|
-
];
|
|
1430
|
-
TypeRegistry.for(n0).registerError(InvalidFilterException$, InvalidFilterException);
|
|
1431
1511
|
export var InvalidRequestDetail$ = [3, n0, _IRD,
|
|
1432
1512
|
0,
|
|
1433
|
-
[
|
|
1513
|
+
[_R],
|
|
1434
1514
|
[0]
|
|
1435
1515
|
];
|
|
1436
|
-
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
1437
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1438
|
-
[_M, _Rea, _De],
|
|
1439
|
-
[0, 0, () => InvalidRequestDetail$]
|
|
1440
|
-
];
|
|
1441
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
1442
|
-
export var JobNotFoundException$ = [-3, n0, _JNFE,
|
|
1443
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
1444
|
-
[_M],
|
|
1445
|
-
[0]
|
|
1446
|
-
];
|
|
1447
|
-
TypeRegistry.for(n0).registerError(JobNotFoundException$, JobNotFoundException);
|
|
1448
1516
|
export var KeyPhrase$ = [3, n0, _KPe,
|
|
1449
1517
|
0,
|
|
1450
1518
|
[_Sc, _T, _BO, _EO],
|
|
@@ -1460,12 +1528,6 @@ export var KeyPhrasesDetectionJobProperties$ = [3, n0, _KPDJP,
|
|
|
1460
1528
|
[_JI, _JA, _JN, _JS, _M, _STu, _ET, _IDC, _ODC, _LC, _DARA, _VKKI, _VC],
|
|
1461
1529
|
[0, 0, 0, 0, 0, 4, 4, () => InputDataConfig$, () => OutputDataConfig$, 0, 0, 0, () => VpcConfig$]
|
|
1462
1530
|
];
|
|
1463
|
-
export var KmsKeyValidationException$ = [-3, n0, _KKVE,
|
|
1464
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1465
|
-
[_M],
|
|
1466
|
-
[0]
|
|
1467
|
-
];
|
|
1468
|
-
TypeRegistry.for(n0).registerError(KmsKeyValidationException$, KmsKeyValidationException);
|
|
1469
1531
|
export var ListDatasetsRequest$ = [3, n0, _LDR,
|
|
1470
1532
|
0,
|
|
1471
1533
|
[_FA, _F, _NT, _MRa],
|
|
@@ -1706,30 +1768,6 @@ export var RelationshipsListItem$ = [3, n0, _RLI,
|
|
|
1706
1768
|
[_Ids, _Ty],
|
|
1707
1769
|
[64 | 0, 0]
|
|
1708
1770
|
];
|
|
1709
|
-
export var ResourceInUseException$ = [-3, n0, _RIUE,
|
|
1710
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1711
|
-
[_M],
|
|
1712
|
-
[0]
|
|
1713
|
-
];
|
|
1714
|
-
TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
|
|
1715
|
-
export var ResourceLimitExceededException$ = [-3, n0, _RLEE,
|
|
1716
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1717
|
-
[_M],
|
|
1718
|
-
[0]
|
|
1719
|
-
];
|
|
1720
|
-
TypeRegistry.for(n0).registerError(ResourceLimitExceededException$, ResourceLimitExceededException);
|
|
1721
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
1722
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
1723
|
-
[_M],
|
|
1724
|
-
[0]
|
|
1725
|
-
];
|
|
1726
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
1727
|
-
export var ResourceUnavailableException$ = [-3, n0, _RUE,
|
|
1728
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
1729
|
-
[_M],
|
|
1730
|
-
[0]
|
|
1731
|
-
];
|
|
1732
|
-
TypeRegistry.for(n0).registerError(ResourceUnavailableException$, ResourceUnavailableException);
|
|
1733
1771
|
export var SentimentDetectionJobFilter$ = [3, n0, _SDJF,
|
|
1734
1772
|
0,
|
|
1735
1773
|
[_JN, _JS, _STB, _STA],
|
|
@@ -1985,30 +2023,6 @@ export var TextSegment$ = [3, n0, _TSe,
|
|
|
1985
2023
|
[_T],
|
|
1986
2024
|
[[() => CustomerInputString, 0]], 1
|
|
1987
2025
|
];
|
|
1988
|
-
export var TextSizeLimitExceededException$ = [-3, n0, _TSLEE,
|
|
1989
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
1990
|
-
[_M],
|
|
1991
|
-
[0]
|
|
1992
|
-
];
|
|
1993
|
-
TypeRegistry.for(n0).registerError(TextSizeLimitExceededException$, TextSizeLimitExceededException);
|
|
1994
|
-
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
1995
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
1996
|
-
[_M],
|
|
1997
|
-
[0]
|
|
1998
|
-
];
|
|
1999
|
-
TypeRegistry.for(n0).registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
2000
|
-
export var TooManyTagKeysException$ = [-3, n0, _TMTKE,
|
|
2001
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
2002
|
-
[_M],
|
|
2003
|
-
[0]
|
|
2004
|
-
];
|
|
2005
|
-
TypeRegistry.for(n0).registerError(TooManyTagKeysException$, TooManyTagKeysException);
|
|
2006
|
-
export var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
2007
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
2008
|
-
[_M],
|
|
2009
|
-
[0]
|
|
2010
|
-
];
|
|
2011
|
-
TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
|
|
2012
2026
|
export var TopicsDetectionJobFilter$ = [3, n0, _TDJF,
|
|
2013
2027
|
0,
|
|
2014
2028
|
[_JN, _JS, _STB, _STA],
|
|
@@ -2029,12 +2043,6 @@ export var ToxicLabels$ = [3, n0, _TLo,
|
|
|
2029
2043
|
[_La, _Tox],
|
|
2030
2044
|
[() => ListOfToxicContent, 1]
|
|
2031
2045
|
];
|
|
2032
|
-
export var UnsupportedLanguageException$ = [-3, n0, _ULE,
|
|
2033
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
2034
|
-
[_M],
|
|
2035
|
-
[0]
|
|
2036
|
-
];
|
|
2037
|
-
TypeRegistry.for(n0).registerError(UnsupportedLanguageException$, UnsupportedLanguageException);
|
|
2038
2046
|
export var UntagResourceRequest$ = [3, n0, _URR,
|
|
2039
2047
|
0,
|
|
2040
2048
|
[_RA, _TK],
|
|
@@ -2080,8 +2088,6 @@ export var WarningsListItem$ = [3, n0, _WLI,
|
|
|
2080
2088
|
[_P, _WC, _WM],
|
|
2081
2089
|
[1, 0, 0]
|
|
2082
2090
|
];
|
|
2083
|
-
export var ComprehendServiceException$ = [-3, _sm, "ComprehendServiceException", 0, [], []];
|
|
2084
|
-
TypeRegistry.for(_sm).registerError(ComprehendServiceException$, ComprehendServiceException);
|
|
2085
2091
|
var AttributeNamesList = 64 | 0;
|
|
2086
2092
|
var BatchItemErrorList = [1, n0, _BIEL,
|
|
2087
2093
|
0, () => BatchItemError$
|
|
@@ -1,4 +1,28 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var ComprehendServiceException$: StaticErrorSchema;
|
|
4
|
+
export declare var BatchSizeLimitExceededException$: StaticErrorSchema;
|
|
5
|
+
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
6
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
7
|
+
export declare var InvalidFilterException$: StaticErrorSchema;
|
|
8
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
9
|
+
export declare var JobNotFoundException$: StaticErrorSchema;
|
|
10
|
+
export declare var KmsKeyValidationException$: StaticErrorSchema;
|
|
11
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
12
|
+
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
13
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare var ResourceUnavailableException$: StaticErrorSchema;
|
|
15
|
+
export declare var TextSizeLimitExceededException$: StaticErrorSchema;
|
|
16
|
+
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
17
|
+
export declare var TooManyTagKeysException$: StaticErrorSchema;
|
|
18
|
+
export declare var TooManyTagsException$: StaticErrorSchema;
|
|
19
|
+
export declare var UnsupportedLanguageException$: StaticErrorSchema;
|
|
20
|
+
/**
|
|
21
|
+
* TypeRegistry instances containing modeled errors.
|
|
22
|
+
* @internal
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
2
26
|
export declare var AugmentedManifestsListItem$: StaticStructureSchema;
|
|
3
27
|
export declare var BatchDetectDominantLanguageItemResult$: StaticStructureSchema;
|
|
4
28
|
export declare var BatchDetectDominantLanguageRequest$: StaticStructureSchema;
|
|
@@ -19,7 +43,6 @@ export declare var BatchDetectTargetedSentimentItemResult$: StaticStructureSchem
|
|
|
19
43
|
export declare var BatchDetectTargetedSentimentRequest$: StaticStructureSchema;
|
|
20
44
|
export declare var BatchDetectTargetedSentimentResponse$: StaticStructureSchema;
|
|
21
45
|
export declare var BatchItemError$: StaticStructureSchema;
|
|
22
|
-
export declare var BatchSizeLimitExceededException$: StaticErrorSchema;
|
|
23
46
|
export declare var Block$: StaticStructureSchema;
|
|
24
47
|
export declare var BlockReference$: StaticStructureSchema;
|
|
25
48
|
export declare var BoundingBox$: StaticStructureSchema;
|
|
@@ -28,7 +51,6 @@ export declare var ClassifierEvaluationMetrics$: StaticStructureSchema;
|
|
|
28
51
|
export declare var ClassifierMetadata$: StaticStructureSchema;
|
|
29
52
|
export declare var ClassifyDocumentRequest$: StaticStructureSchema;
|
|
30
53
|
export declare var ClassifyDocumentResponse$: StaticStructureSchema;
|
|
31
|
-
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
32
54
|
export declare var ContainsPiiEntitiesRequest$: StaticStructureSchema;
|
|
33
55
|
export declare var ContainsPiiEntitiesResponse$: StaticStructureSchema;
|
|
34
56
|
export declare var CreateDatasetRequest$: StaticStructureSchema;
|
|
@@ -160,15 +182,10 @@ export declare var Geometry$: StaticStructureSchema;
|
|
|
160
182
|
export declare var ImportModelRequest$: StaticStructureSchema;
|
|
161
183
|
export declare var ImportModelResponse$: StaticStructureSchema;
|
|
162
184
|
export declare var InputDataConfig$: StaticStructureSchema;
|
|
163
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
164
|
-
export declare var InvalidFilterException$: StaticErrorSchema;
|
|
165
185
|
export declare var InvalidRequestDetail$: StaticStructureSchema;
|
|
166
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
167
|
-
export declare var JobNotFoundException$: StaticErrorSchema;
|
|
168
186
|
export declare var KeyPhrase$: StaticStructureSchema;
|
|
169
187
|
export declare var KeyPhrasesDetectionJobFilter$: StaticStructureSchema;
|
|
170
188
|
export declare var KeyPhrasesDetectionJobProperties$: StaticStructureSchema;
|
|
171
|
-
export declare var KmsKeyValidationException$: StaticErrorSchema;
|
|
172
189
|
export declare var ListDatasetsRequest$: StaticStructureSchema;
|
|
173
190
|
export declare var ListDatasetsResponse$: StaticStructureSchema;
|
|
174
191
|
export declare var ListDocumentClassificationJobsRequest$: StaticStructureSchema;
|
|
@@ -217,10 +234,6 @@ export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
|
217
234
|
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
218
235
|
export declare var RedactionConfig$: StaticStructureSchema;
|
|
219
236
|
export declare var RelationshipsListItem$: StaticStructureSchema;
|
|
220
|
-
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
221
|
-
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
222
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
223
|
-
export declare var ResourceUnavailableException$: StaticErrorSchema;
|
|
224
237
|
export declare var SentimentDetectionJobFilter$: StaticStructureSchema;
|
|
225
238
|
export declare var SentimentDetectionJobProperties$: StaticStructureSchema;
|
|
226
239
|
export declare var SentimentScore$: StaticStructureSchema;
|
|
@@ -272,15 +285,10 @@ export declare var TargetedSentimentEntity$: StaticStructureSchema;
|
|
|
272
285
|
export declare var TargetedSentimentMention$: StaticStructureSchema;
|
|
273
286
|
export declare var TaskConfig$: StaticStructureSchema;
|
|
274
287
|
export declare var TextSegment$: StaticStructureSchema;
|
|
275
|
-
export declare var TextSizeLimitExceededException$: StaticErrorSchema;
|
|
276
|
-
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
277
|
-
export declare var TooManyTagKeysException$: StaticErrorSchema;
|
|
278
|
-
export declare var TooManyTagsException$: StaticErrorSchema;
|
|
279
288
|
export declare var TopicsDetectionJobFilter$: StaticStructureSchema;
|
|
280
289
|
export declare var TopicsDetectionJobProperties$: StaticStructureSchema;
|
|
281
290
|
export declare var ToxicContent$: StaticStructureSchema;
|
|
282
291
|
export declare var ToxicLabels$: StaticStructureSchema;
|
|
283
|
-
export declare var UnsupportedLanguageException$: StaticErrorSchema;
|
|
284
292
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
285
293
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
286
294
|
export declare var UpdateDataSecurityConfig$: StaticStructureSchema;
|
|
@@ -290,7 +298,6 @@ export declare var UpdateFlywheelRequest$: StaticStructureSchema;
|
|
|
290
298
|
export declare var UpdateFlywheelResponse$: StaticStructureSchema;
|
|
291
299
|
export declare var VpcConfig$: StaticStructureSchema;
|
|
292
300
|
export declare var WarningsListItem$: StaticStructureSchema;
|
|
293
|
-
export declare var ComprehendServiceException$: StaticErrorSchema;
|
|
294
301
|
export declare var BatchDetectDominantLanguage$: StaticOperationSchema;
|
|
295
302
|
export declare var BatchDetectEntities$: StaticOperationSchema;
|
|
296
303
|
export declare var BatchDetectKeyPhrases$: StaticOperationSchema;
|
|
@@ -1,8 +1,27 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var ComprehendServiceException$: StaticErrorSchema;
|
|
8
|
+
export declare var BatchSizeLimitExceededException$: StaticErrorSchema;
|
|
9
|
+
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
|
+
export declare var InvalidFilterException$: StaticErrorSchema;
|
|
12
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
13
|
+
export declare var JobNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare var KmsKeyValidationException$: StaticErrorSchema;
|
|
15
|
+
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
16
|
+
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
17
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
18
|
+
export declare var ResourceUnavailableException$: StaticErrorSchema;
|
|
19
|
+
export declare var TextSizeLimitExceededException$: StaticErrorSchema;
|
|
20
|
+
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
21
|
+
export declare var TooManyTagKeysException$: StaticErrorSchema;
|
|
22
|
+
export declare var TooManyTagsException$: StaticErrorSchema;
|
|
23
|
+
export declare var UnsupportedLanguageException$: StaticErrorSchema;
|
|
24
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
6
25
|
export declare var AugmentedManifestsListItem$: StaticStructureSchema;
|
|
7
26
|
export declare var BatchDetectDominantLanguageItemResult$: StaticStructureSchema;
|
|
8
27
|
export declare var BatchDetectDominantLanguageRequest$: StaticStructureSchema;
|
|
@@ -23,7 +42,6 @@ export declare var BatchDetectTargetedSentimentItemResult$: StaticStructureSchem
|
|
|
23
42
|
export declare var BatchDetectTargetedSentimentRequest$: StaticStructureSchema;
|
|
24
43
|
export declare var BatchDetectTargetedSentimentResponse$: StaticStructureSchema;
|
|
25
44
|
export declare var BatchItemError$: StaticStructureSchema;
|
|
26
|
-
export declare var BatchSizeLimitExceededException$: StaticErrorSchema;
|
|
27
45
|
export declare var Block$: StaticStructureSchema;
|
|
28
46
|
export declare var BlockReference$: StaticStructureSchema;
|
|
29
47
|
export declare var BoundingBox$: StaticStructureSchema;
|
|
@@ -32,7 +50,6 @@ export declare var ClassifierEvaluationMetrics$: StaticStructureSchema;
|
|
|
32
50
|
export declare var ClassifierMetadata$: StaticStructureSchema;
|
|
33
51
|
export declare var ClassifyDocumentRequest$: StaticStructureSchema;
|
|
34
52
|
export declare var ClassifyDocumentResponse$: StaticStructureSchema;
|
|
35
|
-
export declare var ConcurrentModificationException$: StaticErrorSchema;
|
|
36
53
|
export declare var ContainsPiiEntitiesRequest$: StaticStructureSchema;
|
|
37
54
|
export declare var ContainsPiiEntitiesResponse$: StaticStructureSchema;
|
|
38
55
|
export declare var CreateDatasetRequest$: StaticStructureSchema;
|
|
@@ -164,15 +181,10 @@ export declare var Geometry$: StaticStructureSchema;
|
|
|
164
181
|
export declare var ImportModelRequest$: StaticStructureSchema;
|
|
165
182
|
export declare var ImportModelResponse$: StaticStructureSchema;
|
|
166
183
|
export declare var InputDataConfig$: StaticStructureSchema;
|
|
167
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
168
|
-
export declare var InvalidFilterException$: StaticErrorSchema;
|
|
169
184
|
export declare var InvalidRequestDetail$: StaticStructureSchema;
|
|
170
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
171
|
-
export declare var JobNotFoundException$: StaticErrorSchema;
|
|
172
185
|
export declare var KeyPhrase$: StaticStructureSchema;
|
|
173
186
|
export declare var KeyPhrasesDetectionJobFilter$: StaticStructureSchema;
|
|
174
187
|
export declare var KeyPhrasesDetectionJobProperties$: StaticStructureSchema;
|
|
175
|
-
export declare var KmsKeyValidationException$: StaticErrorSchema;
|
|
176
188
|
export declare var ListDatasetsRequest$: StaticStructureSchema;
|
|
177
189
|
export declare var ListDatasetsResponse$: StaticStructureSchema;
|
|
178
190
|
export declare var ListDocumentClassificationJobsRequest$: StaticStructureSchema;
|
|
@@ -221,10 +233,6 @@ export declare var PutResourcePolicyRequest$: StaticStructureSchema;
|
|
|
221
233
|
export declare var PutResourcePolicyResponse$: StaticStructureSchema;
|
|
222
234
|
export declare var RedactionConfig$: StaticStructureSchema;
|
|
223
235
|
export declare var RelationshipsListItem$: StaticStructureSchema;
|
|
224
|
-
export declare var ResourceInUseException$: StaticErrorSchema;
|
|
225
|
-
export declare var ResourceLimitExceededException$: StaticErrorSchema;
|
|
226
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
227
|
-
export declare var ResourceUnavailableException$: StaticErrorSchema;
|
|
228
236
|
export declare var SentimentDetectionJobFilter$: StaticStructureSchema;
|
|
229
237
|
export declare var SentimentDetectionJobProperties$: StaticStructureSchema;
|
|
230
238
|
export declare var SentimentScore$: StaticStructureSchema;
|
|
@@ -276,15 +284,10 @@ export declare var TargetedSentimentEntity$: StaticStructureSchema;
|
|
|
276
284
|
export declare var TargetedSentimentMention$: StaticStructureSchema;
|
|
277
285
|
export declare var TaskConfig$: StaticStructureSchema;
|
|
278
286
|
export declare var TextSegment$: StaticStructureSchema;
|
|
279
|
-
export declare var TextSizeLimitExceededException$: StaticErrorSchema;
|
|
280
|
-
export declare var TooManyRequestsException$: StaticErrorSchema;
|
|
281
|
-
export declare var TooManyTagKeysException$: StaticErrorSchema;
|
|
282
|
-
export declare var TooManyTagsException$: StaticErrorSchema;
|
|
283
287
|
export declare var TopicsDetectionJobFilter$: StaticStructureSchema;
|
|
284
288
|
export declare var TopicsDetectionJobProperties$: StaticStructureSchema;
|
|
285
289
|
export declare var ToxicContent$: StaticStructureSchema;
|
|
286
290
|
export declare var ToxicLabels$: StaticStructureSchema;
|
|
287
|
-
export declare var UnsupportedLanguageException$: StaticErrorSchema;
|
|
288
291
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
289
292
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
290
293
|
export declare var UpdateDataSecurityConfig$: StaticStructureSchema;
|
|
@@ -294,7 +297,6 @@ export declare var UpdateFlywheelRequest$: StaticStructureSchema;
|
|
|
294
297
|
export declare var UpdateFlywheelResponse$: StaticStructureSchema;
|
|
295
298
|
export declare var VpcConfig$: StaticStructureSchema;
|
|
296
299
|
export declare var WarningsListItem$: StaticStructureSchema;
|
|
297
|
-
export declare var ComprehendServiceException$: StaticErrorSchema;
|
|
298
300
|
export declare var BatchDetectDominantLanguage$: StaticOperationSchema;
|
|
299
301
|
export declare var BatchDetectEntities$: StaticOperationSchema;
|
|
300
302
|
export declare var BatchDetectKeyPhrases$: StaticOperationSchema;
|
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.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-comprehend",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|