@aws-sdk/client-comprehend 3.934.0 → 3.935.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 +281 -281
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +267 -0
- package/dist-es/models/errors.js +229 -0
- package/dist-es/models/models_0.js +1 -468
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +555 -0
- package/dist-types/models/errors.d.ts +230 -0
- package/dist-types/models/models_0.d.ts +352 -757
- package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +326 -0
- package/dist-types/ts3.4/models/errors.d.ts +140 -0
- package/dist-types/ts3.4/models/models_0.d.ts +121 -445
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -29
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -380
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -106
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopEntitiesDetectionJobRequest,
|
|
10
10
|
StopEntitiesDetectionJobResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopEntitiesDetectionJobCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopKeyPhrasesDetectionJobRequest,
|
|
10
10
|
StopKeyPhrasesDetectionJobResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopKeyPhrasesDetectionJobCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopPiiEntitiesDetectionJobRequest,
|
|
10
10
|
StopPiiEntitiesDetectionJobResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopPiiEntitiesDetectionJobCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopSentimentDetectionJobRequest,
|
|
10
10
|
StopSentimentDetectionJobResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopSentimentDetectionJobCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopTargetedSentimentDetectionJobRequest,
|
|
10
10
|
StopTargetedSentimentDetectionJobResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopTargetedSentimentDetectionJobCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopTrainingDocumentClassifierRequest,
|
|
10
10
|
StopTrainingDocumentClassifierResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopTrainingDocumentClassifierCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
StopTrainingEntityRecognizerRequest,
|
|
10
10
|
StopTrainingEntityRecognizerResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface StopTrainingEntityRecognizerCommandInput
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ComprehendClient";
|
|
8
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
8
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
9
9
|
export { __MetadataBearer };
|
|
10
10
|
export { $Command };
|
|
11
11
|
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UntagResourceRequest,
|
|
10
10
|
UntagResourceResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UpdateEndpointRequest,
|
|
10
10
|
UpdateEndpointResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {}
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
UpdateFlywheelRequest,
|
|
10
10
|
UpdateFlywheelResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_0";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface UpdateFlywheelCommandInput extends UpdateFlywheelRequest {}
|
|
@@ -5,5 +5,7 @@ export { RuntimeExtension } from "./runtimeExtensions";
|
|
|
5
5
|
export { ComprehendExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./pagination";
|
|
8
|
-
export * from "./models";
|
|
8
|
+
export * from "./models/enums";
|
|
9
|
+
export * from "./models/errors";
|
|
10
|
+
export * from "./models/models_0";
|
|
9
11
|
export { ComprehendServiceException } from "./models/ComprehendServiceException";
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
export declare const AugmentedManifestsDocumentTypeFormat: {
|
|
2
|
+
readonly PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT";
|
|
3
|
+
readonly SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT";
|
|
4
|
+
};
|
|
5
|
+
export type AugmentedManifestsDocumentTypeFormat =
|
|
6
|
+
(typeof AugmentedManifestsDocumentTypeFormat)[keyof typeof AugmentedManifestsDocumentTypeFormat];
|
|
7
|
+
export declare const Split: {
|
|
8
|
+
readonly TEST: "TEST";
|
|
9
|
+
readonly TRAIN: "TRAIN";
|
|
10
|
+
};
|
|
11
|
+
export type Split = (typeof Split)[keyof typeof Split];
|
|
12
|
+
export declare const InvalidRequestDetailReason: {
|
|
13
|
+
readonly DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED";
|
|
14
|
+
readonly PAGE_LIMIT_EXCEEDED: "PAGE_LIMIT_EXCEEDED";
|
|
15
|
+
readonly TEXTRACT_ACCESS_DENIED: "TEXTRACT_ACCESS_DENIED";
|
|
16
|
+
readonly UNSUPPORTED_DOC_TYPE: "UNSUPPORTED_DOC_TYPE";
|
|
17
|
+
};
|
|
18
|
+
export type InvalidRequestDetailReason =
|
|
19
|
+
(typeof InvalidRequestDetailReason)[keyof typeof InvalidRequestDetailReason];
|
|
20
|
+
export declare const InvalidRequestReason: {
|
|
21
|
+
readonly INVALID_DOCUMENT: "INVALID_DOCUMENT";
|
|
22
|
+
};
|
|
23
|
+
export type InvalidRequestReason =
|
|
24
|
+
(typeof InvalidRequestReason)[keyof typeof InvalidRequestReason];
|
|
25
|
+
export declare const LanguageCode: {
|
|
26
|
+
readonly AR: "ar";
|
|
27
|
+
readonly DE: "de";
|
|
28
|
+
readonly EN: "en";
|
|
29
|
+
readonly ES: "es";
|
|
30
|
+
readonly FR: "fr";
|
|
31
|
+
readonly HI: "hi";
|
|
32
|
+
readonly IT: "it";
|
|
33
|
+
readonly JA: "ja";
|
|
34
|
+
readonly KO: "ko";
|
|
35
|
+
readonly PT: "pt";
|
|
36
|
+
readonly ZH: "zh";
|
|
37
|
+
readonly ZH_TW: "zh-TW";
|
|
38
|
+
};
|
|
39
|
+
export type LanguageCode = (typeof LanguageCode)[keyof typeof LanguageCode];
|
|
40
|
+
export declare const EntityType: {
|
|
41
|
+
readonly COMMERCIAL_ITEM: "COMMERCIAL_ITEM";
|
|
42
|
+
readonly DATE: "DATE";
|
|
43
|
+
readonly EVENT: "EVENT";
|
|
44
|
+
readonly LOCATION: "LOCATION";
|
|
45
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
46
|
+
readonly OTHER: "OTHER";
|
|
47
|
+
readonly PERSON: "PERSON";
|
|
48
|
+
readonly QUANTITY: "QUANTITY";
|
|
49
|
+
readonly TITLE: "TITLE";
|
|
50
|
+
};
|
|
51
|
+
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
52
|
+
export declare const SentimentType: {
|
|
53
|
+
readonly MIXED: "MIXED";
|
|
54
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
55
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
56
|
+
readonly POSITIVE: "POSITIVE";
|
|
57
|
+
};
|
|
58
|
+
export type SentimentType = (typeof SentimentType)[keyof typeof SentimentType];
|
|
59
|
+
export declare const SyntaxLanguageCode: {
|
|
60
|
+
readonly DE: "de";
|
|
61
|
+
readonly EN: "en";
|
|
62
|
+
readonly ES: "es";
|
|
63
|
+
readonly FR: "fr";
|
|
64
|
+
readonly IT: "it";
|
|
65
|
+
readonly PT: "pt";
|
|
66
|
+
};
|
|
67
|
+
export type SyntaxLanguageCode =
|
|
68
|
+
(typeof SyntaxLanguageCode)[keyof typeof SyntaxLanguageCode];
|
|
69
|
+
export declare const PartOfSpeechTagType: {
|
|
70
|
+
readonly ADJ: "ADJ";
|
|
71
|
+
readonly ADP: "ADP";
|
|
72
|
+
readonly ADV: "ADV";
|
|
73
|
+
readonly AUX: "AUX";
|
|
74
|
+
readonly CCONJ: "CCONJ";
|
|
75
|
+
readonly CONJ: "CONJ";
|
|
76
|
+
readonly DET: "DET";
|
|
77
|
+
readonly INTJ: "INTJ";
|
|
78
|
+
readonly NOUN: "NOUN";
|
|
79
|
+
readonly NUM: "NUM";
|
|
80
|
+
readonly O: "O";
|
|
81
|
+
readonly PART: "PART";
|
|
82
|
+
readonly PRON: "PRON";
|
|
83
|
+
readonly PROPN: "PROPN";
|
|
84
|
+
readonly PUNCT: "PUNCT";
|
|
85
|
+
readonly SCONJ: "SCONJ";
|
|
86
|
+
readonly SYM: "SYM";
|
|
87
|
+
readonly VERB: "VERB";
|
|
88
|
+
};
|
|
89
|
+
export type PartOfSpeechTagType =
|
|
90
|
+
(typeof PartOfSpeechTagType)[keyof typeof PartOfSpeechTagType];
|
|
91
|
+
export declare const TargetedSentimentEntityType: {
|
|
92
|
+
readonly ATTRIBUTE: "ATTRIBUTE";
|
|
93
|
+
readonly BOOK: "BOOK";
|
|
94
|
+
readonly BRAND: "BRAND";
|
|
95
|
+
readonly COMMERCIAL_ITEM: "COMMERCIAL_ITEM";
|
|
96
|
+
readonly DATE: "DATE";
|
|
97
|
+
readonly EVENT: "EVENT";
|
|
98
|
+
readonly FACILITY: "FACILITY";
|
|
99
|
+
readonly GAME: "GAME";
|
|
100
|
+
readonly LOCATION: "LOCATION";
|
|
101
|
+
readonly MOVIE: "MOVIE";
|
|
102
|
+
readonly MUSIC: "MUSIC";
|
|
103
|
+
readonly ORGANIZATION: "ORGANIZATION";
|
|
104
|
+
readonly OTHER: "OTHER";
|
|
105
|
+
readonly PERSON: "PERSON";
|
|
106
|
+
readonly PERSONAL_TITLE: "PERSONAL_TITLE";
|
|
107
|
+
readonly QUANTITY: "QUANTITY";
|
|
108
|
+
readonly SOFTWARE: "SOFTWARE";
|
|
109
|
+
};
|
|
110
|
+
export type TargetedSentimentEntityType =
|
|
111
|
+
(typeof TargetedSentimentEntityType)[keyof typeof TargetedSentimentEntityType];
|
|
112
|
+
export declare const BlockType: {
|
|
113
|
+
readonly LINE: "LINE";
|
|
114
|
+
readonly WORD: "WORD";
|
|
115
|
+
};
|
|
116
|
+
export type BlockType = (typeof BlockType)[keyof typeof BlockType];
|
|
117
|
+
export declare const RelationshipType: {
|
|
118
|
+
readonly CHILD: "CHILD";
|
|
119
|
+
};
|
|
120
|
+
export type RelationshipType =
|
|
121
|
+
(typeof RelationshipType)[keyof typeof RelationshipType];
|
|
122
|
+
export declare const DocumentReadAction: {
|
|
123
|
+
readonly TEXTRACT_ANALYZE_DOCUMENT: "TEXTRACT_ANALYZE_DOCUMENT";
|
|
124
|
+
readonly TEXTRACT_DETECT_DOCUMENT_TEXT: "TEXTRACT_DETECT_DOCUMENT_TEXT";
|
|
125
|
+
};
|
|
126
|
+
export type DocumentReadAction =
|
|
127
|
+
(typeof DocumentReadAction)[keyof typeof DocumentReadAction];
|
|
128
|
+
export declare const DocumentReadMode: {
|
|
129
|
+
readonly FORCE_DOCUMENT_READ_ACTION: "FORCE_DOCUMENT_READ_ACTION";
|
|
130
|
+
readonly SERVICE_DEFAULT: "SERVICE_DEFAULT";
|
|
131
|
+
};
|
|
132
|
+
export type DocumentReadMode =
|
|
133
|
+
(typeof DocumentReadMode)[keyof typeof DocumentReadMode];
|
|
134
|
+
export declare const DocumentReadFeatureTypes: {
|
|
135
|
+
readonly FORMS: "FORMS";
|
|
136
|
+
readonly TABLES: "TABLES";
|
|
137
|
+
};
|
|
138
|
+
export type DocumentReadFeatureTypes =
|
|
139
|
+
(typeof DocumentReadFeatureTypes)[keyof typeof DocumentReadFeatureTypes];
|
|
140
|
+
export declare const DocumentType: {
|
|
141
|
+
readonly IMAGE: "IMAGE";
|
|
142
|
+
readonly MS_WORD: "MS_WORD";
|
|
143
|
+
readonly NATIVE_PDF: "NATIVE_PDF";
|
|
144
|
+
readonly PLAIN_TEXT: "PLAIN_TEXT";
|
|
145
|
+
readonly SCANNED_PDF: "SCANNED_PDF";
|
|
146
|
+
readonly TEXTRACT_ANALYZE_DOCUMENT_JSON: "TEXTRACT_ANALYZE_DOCUMENT_JSON";
|
|
147
|
+
readonly TEXTRACT_DETECT_DOCUMENT_TEXT_JSON: "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON";
|
|
148
|
+
};
|
|
149
|
+
export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
150
|
+
export declare const PageBasedErrorCode: {
|
|
151
|
+
readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
|
|
152
|
+
readonly PAGE_CHARACTERS_EXCEEDED: "PAGE_CHARACTERS_EXCEEDED";
|
|
153
|
+
readonly PAGE_SIZE_EXCEEDED: "PAGE_SIZE_EXCEEDED";
|
|
154
|
+
readonly TEXTRACT_BAD_PAGE: "TEXTRACT_BAD_PAGE";
|
|
155
|
+
readonly TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED: "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED";
|
|
156
|
+
};
|
|
157
|
+
export type PageBasedErrorCode =
|
|
158
|
+
(typeof PageBasedErrorCode)[keyof typeof PageBasedErrorCode];
|
|
159
|
+
export declare const PageBasedWarningCode: {
|
|
160
|
+
readonly INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL: "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL";
|
|
161
|
+
readonly INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL: "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL";
|
|
162
|
+
};
|
|
163
|
+
export type PageBasedWarningCode =
|
|
164
|
+
(typeof PageBasedWarningCode)[keyof typeof PageBasedWarningCode];
|
|
165
|
+
export declare const PiiEntityType: {
|
|
166
|
+
readonly ADDRESS: "ADDRESS";
|
|
167
|
+
readonly AGE: "AGE";
|
|
168
|
+
readonly ALL: "ALL";
|
|
169
|
+
readonly AWS_ACCESS_KEY: "AWS_ACCESS_KEY";
|
|
170
|
+
readonly AWS_SECRET_KEY: "AWS_SECRET_KEY";
|
|
171
|
+
readonly BANK_ACCOUNT_NUMBER: "BANK_ACCOUNT_NUMBER";
|
|
172
|
+
readonly BANK_ROUTING: "BANK_ROUTING";
|
|
173
|
+
readonly CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER";
|
|
174
|
+
readonly CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER";
|
|
175
|
+
readonly CREDIT_DEBIT_CVV: "CREDIT_DEBIT_CVV";
|
|
176
|
+
readonly CREDIT_DEBIT_EXPIRY: "CREDIT_DEBIT_EXPIRY";
|
|
177
|
+
readonly CREDIT_DEBIT_NUMBER: "CREDIT_DEBIT_NUMBER";
|
|
178
|
+
readonly DATE_TIME: "DATE_TIME";
|
|
179
|
+
readonly DRIVER_ID: "DRIVER_ID";
|
|
180
|
+
readonly EMAIL: "EMAIL";
|
|
181
|
+
readonly INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
182
|
+
readonly IN_AADHAAR: "IN_AADHAAR";
|
|
183
|
+
readonly IN_NREGA: "IN_NREGA";
|
|
184
|
+
readonly IN_PERMANENT_ACCOUNT_NUMBER: "IN_PERMANENT_ACCOUNT_NUMBER";
|
|
185
|
+
readonly IN_VOTER_NUMBER: "IN_VOTER_NUMBER";
|
|
186
|
+
readonly IP_ADDRESS: "IP_ADDRESS";
|
|
187
|
+
readonly LICENSE_PLATE: "LICENSE_PLATE";
|
|
188
|
+
readonly MAC_ADDRESS: "MAC_ADDRESS";
|
|
189
|
+
readonly NAME: "NAME";
|
|
190
|
+
readonly PASSPORT_NUMBER: "PASSPORT_NUMBER";
|
|
191
|
+
readonly PASSWORD: "PASSWORD";
|
|
192
|
+
readonly PHONE: "PHONE";
|
|
193
|
+
readonly PIN: "PIN";
|
|
194
|
+
readonly SSN: "SSN";
|
|
195
|
+
readonly SWIFT_CODE: "SWIFT_CODE";
|
|
196
|
+
readonly UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
197
|
+
readonly UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER";
|
|
198
|
+
readonly UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
199
|
+
readonly URL: "URL";
|
|
200
|
+
readonly USERNAME: "USERNAME";
|
|
201
|
+
readonly US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
202
|
+
readonly VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER";
|
|
203
|
+
};
|
|
204
|
+
export type PiiEntityType = (typeof PiiEntityType)[keyof typeof PiiEntityType];
|
|
205
|
+
export declare const DatasetType: {
|
|
206
|
+
readonly TEST: "TEST";
|
|
207
|
+
readonly TRAIN: "TRAIN";
|
|
208
|
+
};
|
|
209
|
+
export type DatasetType = (typeof DatasetType)[keyof typeof DatasetType];
|
|
210
|
+
export declare const DatasetDataFormat: {
|
|
211
|
+
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
212
|
+
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
213
|
+
};
|
|
214
|
+
export type DatasetDataFormat =
|
|
215
|
+
(typeof DatasetDataFormat)[keyof typeof DatasetDataFormat];
|
|
216
|
+
export declare const InputFormat: {
|
|
217
|
+
readonly ONE_DOC_PER_FILE: "ONE_DOC_PER_FILE";
|
|
218
|
+
readonly ONE_DOC_PER_LINE: "ONE_DOC_PER_LINE";
|
|
219
|
+
};
|
|
220
|
+
export type InputFormat = (typeof InputFormat)[keyof typeof InputFormat];
|
|
221
|
+
export declare const DocumentClassifierDataFormat: {
|
|
222
|
+
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
223
|
+
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
224
|
+
};
|
|
225
|
+
export type DocumentClassifierDataFormat =
|
|
226
|
+
(typeof DocumentClassifierDataFormat)[keyof typeof DocumentClassifierDataFormat];
|
|
227
|
+
export declare const DocumentClassifierDocumentTypeFormat: {
|
|
228
|
+
readonly PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT";
|
|
229
|
+
readonly SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT";
|
|
230
|
+
};
|
|
231
|
+
export type DocumentClassifierDocumentTypeFormat =
|
|
232
|
+
(typeof DocumentClassifierDocumentTypeFormat)[keyof typeof DocumentClassifierDocumentTypeFormat];
|
|
233
|
+
export declare const DocumentClassifierMode: {
|
|
234
|
+
readonly MULTI_CLASS: "MULTI_CLASS";
|
|
235
|
+
readonly MULTI_LABEL: "MULTI_LABEL";
|
|
236
|
+
};
|
|
237
|
+
export type DocumentClassifierMode =
|
|
238
|
+
(typeof DocumentClassifierMode)[keyof typeof DocumentClassifierMode];
|
|
239
|
+
export declare const EntityRecognizerDataFormat: {
|
|
240
|
+
readonly AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST";
|
|
241
|
+
readonly COMPREHEND_CSV: "COMPREHEND_CSV";
|
|
242
|
+
};
|
|
243
|
+
export type EntityRecognizerDataFormat =
|
|
244
|
+
(typeof EntityRecognizerDataFormat)[keyof typeof EntityRecognizerDataFormat];
|
|
245
|
+
export declare const ModelType: {
|
|
246
|
+
readonly DOCUMENT_CLASSIFIER: "DOCUMENT_CLASSIFIER";
|
|
247
|
+
readonly ENTITY_RECOGNIZER: "ENTITY_RECOGNIZER";
|
|
248
|
+
};
|
|
249
|
+
export type ModelType = (typeof ModelType)[keyof typeof ModelType];
|
|
250
|
+
export declare const DatasetStatus: {
|
|
251
|
+
readonly COMPLETED: "COMPLETED";
|
|
252
|
+
readonly CREATING: "CREATING";
|
|
253
|
+
readonly FAILED: "FAILED";
|
|
254
|
+
};
|
|
255
|
+
export type DatasetStatus = (typeof DatasetStatus)[keyof typeof DatasetStatus];
|
|
256
|
+
export declare const JobStatus: {
|
|
257
|
+
readonly COMPLETED: "COMPLETED";
|
|
258
|
+
readonly FAILED: "FAILED";
|
|
259
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
260
|
+
readonly STOPPED: "STOPPED";
|
|
261
|
+
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
262
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
263
|
+
};
|
|
264
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
265
|
+
export declare const ModelStatus: {
|
|
266
|
+
readonly DELETING: "DELETING";
|
|
267
|
+
readonly IN_ERROR: "IN_ERROR";
|
|
268
|
+
readonly STOPPED: "STOPPED";
|
|
269
|
+
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
270
|
+
readonly SUBMITTED: "SUBMITTED";
|
|
271
|
+
readonly TRAINED: "TRAINED";
|
|
272
|
+
readonly TRAINED_WITH_WARNING: "TRAINED_WITH_WARNING";
|
|
273
|
+
readonly TRAINING: "TRAINING";
|
|
274
|
+
};
|
|
275
|
+
export type ModelStatus = (typeof ModelStatus)[keyof typeof ModelStatus];
|
|
276
|
+
export declare const EndpointStatus: {
|
|
277
|
+
readonly CREATING: "CREATING";
|
|
278
|
+
readonly DELETING: "DELETING";
|
|
279
|
+
readonly FAILED: "FAILED";
|
|
280
|
+
readonly IN_SERVICE: "IN_SERVICE";
|
|
281
|
+
readonly UPDATING: "UPDATING";
|
|
282
|
+
};
|
|
283
|
+
export type EndpointStatus =
|
|
284
|
+
(typeof EndpointStatus)[keyof typeof EndpointStatus];
|
|
285
|
+
export declare const FlywheelStatus: {
|
|
286
|
+
readonly ACTIVE: "ACTIVE";
|
|
287
|
+
readonly CREATING: "CREATING";
|
|
288
|
+
readonly DELETING: "DELETING";
|
|
289
|
+
readonly FAILED: "FAILED";
|
|
290
|
+
readonly UPDATING: "UPDATING";
|
|
291
|
+
};
|
|
292
|
+
export type FlywheelStatus =
|
|
293
|
+
(typeof FlywheelStatus)[keyof typeof FlywheelStatus];
|
|
294
|
+
export declare const FlywheelIterationStatus: {
|
|
295
|
+
readonly COMPLETED: "COMPLETED";
|
|
296
|
+
readonly EVALUATING: "EVALUATING";
|
|
297
|
+
readonly FAILED: "FAILED";
|
|
298
|
+
readonly STOPPED: "STOPPED";
|
|
299
|
+
readonly STOP_REQUESTED: "STOP_REQUESTED";
|
|
300
|
+
readonly TRAINING: "TRAINING";
|
|
301
|
+
};
|
|
302
|
+
export type FlywheelIterationStatus =
|
|
303
|
+
(typeof FlywheelIterationStatus)[keyof typeof FlywheelIterationStatus];
|
|
304
|
+
export declare const PiiEntitiesDetectionMode: {
|
|
305
|
+
readonly ONLY_OFFSETS: "ONLY_OFFSETS";
|
|
306
|
+
readonly ONLY_REDACTION: "ONLY_REDACTION";
|
|
307
|
+
};
|
|
308
|
+
export type PiiEntitiesDetectionMode =
|
|
309
|
+
(typeof PiiEntitiesDetectionMode)[keyof typeof PiiEntitiesDetectionMode];
|
|
310
|
+
export declare const PiiEntitiesDetectionMaskMode: {
|
|
311
|
+
readonly MASK: "MASK";
|
|
312
|
+
readonly REPLACE_WITH_PII_ENTITY_TYPE: "REPLACE_WITH_PII_ENTITY_TYPE";
|
|
313
|
+
};
|
|
314
|
+
export type PiiEntitiesDetectionMaskMode =
|
|
315
|
+
(typeof PiiEntitiesDetectionMaskMode)[keyof typeof PiiEntitiesDetectionMaskMode];
|
|
316
|
+
export declare const ToxicContentType: {
|
|
317
|
+
readonly GRAPHIC: "GRAPHIC";
|
|
318
|
+
readonly HARASSMENT_OR_ABUSE: "HARASSMENT_OR_ABUSE";
|
|
319
|
+
readonly HATE_SPEECH: "HATE_SPEECH";
|
|
320
|
+
readonly INSULT: "INSULT";
|
|
321
|
+
readonly PROFANITY: "PROFANITY";
|
|
322
|
+
readonly SEXUAL: "SEXUAL";
|
|
323
|
+
readonly VIOLENCE_OR_THREAT: "VIOLENCE_OR_THREAT";
|
|
324
|
+
};
|
|
325
|
+
export type ToxicContentType =
|
|
326
|
+
(typeof ToxicContentType)[keyof typeof ToxicContentType];
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
3
|
+
import { InvalidRequestReason } from "./enums";
|
|
4
|
+
import { InvalidRequestDetail } from "./models_0";
|
|
5
|
+
export declare class BatchSizeLimitExceededException extends __BaseException {
|
|
6
|
+
readonly name: "BatchSizeLimitExceededException";
|
|
7
|
+
readonly $fault: "client";
|
|
8
|
+
Message?: string | undefined;
|
|
9
|
+
constructor(
|
|
10
|
+
opts: __ExceptionOptionType<
|
|
11
|
+
BatchSizeLimitExceededException,
|
|
12
|
+
__BaseException
|
|
13
|
+
>
|
|
14
|
+
);
|
|
15
|
+
}
|
|
16
|
+
export declare class InternalServerException extends __BaseException {
|
|
17
|
+
readonly name: "InternalServerException";
|
|
18
|
+
readonly $fault: "server";
|
|
19
|
+
Message?: string | undefined;
|
|
20
|
+
constructor(
|
|
21
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
25
|
+
readonly name: "InvalidRequestException";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
Message?: string | undefined;
|
|
28
|
+
Reason?: InvalidRequestReason | undefined;
|
|
29
|
+
Detail?: InvalidRequestDetail | undefined;
|
|
30
|
+
constructor(
|
|
31
|
+
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
export declare class TextSizeLimitExceededException extends __BaseException {
|
|
35
|
+
readonly name: "TextSizeLimitExceededException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
Message?: string | undefined;
|
|
38
|
+
constructor(
|
|
39
|
+
opts: __ExceptionOptionType<TextSizeLimitExceededException, __BaseException>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
export declare class UnsupportedLanguageException extends __BaseException {
|
|
43
|
+
readonly name: "UnsupportedLanguageException";
|
|
44
|
+
readonly $fault: "client";
|
|
45
|
+
Message?: string | undefined;
|
|
46
|
+
constructor(
|
|
47
|
+
opts: __ExceptionOptionType<UnsupportedLanguageException, __BaseException>
|
|
48
|
+
);
|
|
49
|
+
}
|
|
50
|
+
export declare class ResourceUnavailableException extends __BaseException {
|
|
51
|
+
readonly name: "ResourceUnavailableException";
|
|
52
|
+
readonly $fault: "client";
|
|
53
|
+
Message?: string | undefined;
|
|
54
|
+
constructor(
|
|
55
|
+
opts: __ExceptionOptionType<ResourceUnavailableException, __BaseException>
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
export declare class ResourceInUseException extends __BaseException {
|
|
59
|
+
readonly name: "ResourceInUseException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
Message?: string | undefined;
|
|
62
|
+
constructor(
|
|
63
|
+
opts: __ExceptionOptionType<ResourceInUseException, __BaseException>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
export declare class ResourceLimitExceededException extends __BaseException {
|
|
67
|
+
readonly name: "ResourceLimitExceededException";
|
|
68
|
+
readonly $fault: "client";
|
|
69
|
+
Message?: string | undefined;
|
|
70
|
+
constructor(
|
|
71
|
+
opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
75
|
+
readonly name: "ResourceNotFoundException";
|
|
76
|
+
readonly $fault: "client";
|
|
77
|
+
Message?: string | undefined;
|
|
78
|
+
constructor(
|
|
79
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
83
|
+
readonly name: "TooManyRequestsException";
|
|
84
|
+
readonly $fault: "client";
|
|
85
|
+
Message?: string | undefined;
|
|
86
|
+
constructor(
|
|
87
|
+
opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
export declare class TooManyTagsException extends __BaseException {
|
|
91
|
+
readonly name: "TooManyTagsException";
|
|
92
|
+
readonly $fault: "client";
|
|
93
|
+
Message?: string | undefined;
|
|
94
|
+
constructor(
|
|
95
|
+
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
export declare class KmsKeyValidationException extends __BaseException {
|
|
99
|
+
readonly name: "KmsKeyValidationException";
|
|
100
|
+
readonly $fault: "client";
|
|
101
|
+
Message?: string | undefined;
|
|
102
|
+
constructor(
|
|
103
|
+
opts: __ExceptionOptionType<KmsKeyValidationException, __BaseException>
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
export declare class JobNotFoundException extends __BaseException {
|
|
107
|
+
readonly name: "JobNotFoundException";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
Message?: string | undefined;
|
|
110
|
+
constructor(
|
|
111
|
+
opts: __ExceptionOptionType<JobNotFoundException, __BaseException>
|
|
112
|
+
);
|
|
113
|
+
}
|
|
114
|
+
export declare class InvalidFilterException extends __BaseException {
|
|
115
|
+
readonly name: "InvalidFilterException";
|
|
116
|
+
readonly $fault: "client";
|
|
117
|
+
Message?: string | undefined;
|
|
118
|
+
constructor(
|
|
119
|
+
opts: __ExceptionOptionType<InvalidFilterException, __BaseException>
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
123
|
+
readonly name: "ConcurrentModificationException";
|
|
124
|
+
readonly $fault: "client";
|
|
125
|
+
Message?: string | undefined;
|
|
126
|
+
constructor(
|
|
127
|
+
opts: __ExceptionOptionType<
|
|
128
|
+
ConcurrentModificationException,
|
|
129
|
+
__BaseException
|
|
130
|
+
>
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
export declare class TooManyTagKeysException extends __BaseException {
|
|
134
|
+
readonly name: "TooManyTagKeysException";
|
|
135
|
+
readonly $fault: "client";
|
|
136
|
+
Message?: string | undefined;
|
|
137
|
+
constructor(
|
|
138
|
+
opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>
|
|
139
|
+
);
|
|
140
|
+
}
|