@aws-sdk/client-comprehend 3.92.0 → 3.96.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/CHANGELOG.md +27 -0
- package/dist-cjs/models/models_0.js +14 -0
- package/dist-es/models/models_0.js +14 -0
- package/dist-types/Comprehend.d.ts +12 -7
- package/dist-types/commands/CreateEndpointCommand.d.ts +2 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +2 -1
- package/dist-types/commands/ListEndpointsCommand.d.ts +2 -1
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +31 -16
- package/dist-types/ts3.4/models/models_0.d.ts +15 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.96.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.95.0...v3.96.0) (2022-05-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-comprehend:** Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs. ([598f334](https://github.com/aws/aws-sdk-js-v3/commit/598f334cf84fd67910d5f558c983ca989d20afcc))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.95.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.94.0...v3.95.0) (2022-05-19)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.94.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.93.0...v3.94.0) (2022-05-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.92.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.91.0...v3.92.0) (2022-05-16)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-comprehend
|
|
@@ -360,13 +360,21 @@ var PiiEntityType;
|
|
|
360
360
|
PiiEntityType["AWS_SECRET_KEY"] = "AWS_SECRET_KEY";
|
|
361
361
|
PiiEntityType["BANK_ACCOUNT_NUMBER"] = "BANK_ACCOUNT_NUMBER";
|
|
362
362
|
PiiEntityType["BANK_ROUTING"] = "BANK_ROUTING";
|
|
363
|
+
PiiEntityType["CA_HEALTH_NUMBER"] = "CA_HEALTH_NUMBER";
|
|
364
|
+
PiiEntityType["CA_SOCIAL_INSURANCE_NUMBER"] = "CA_SOCIAL_INSURANCE_NUMBER";
|
|
363
365
|
PiiEntityType["CREDIT_DEBIT_CVV"] = "CREDIT_DEBIT_CVV";
|
|
364
366
|
PiiEntityType["CREDIT_DEBIT_EXPIRY"] = "CREDIT_DEBIT_EXPIRY";
|
|
365
367
|
PiiEntityType["CREDIT_DEBIT_NUMBER"] = "CREDIT_DEBIT_NUMBER";
|
|
366
368
|
PiiEntityType["DATE_TIME"] = "DATE_TIME";
|
|
367
369
|
PiiEntityType["DRIVER_ID"] = "DRIVER_ID";
|
|
368
370
|
PiiEntityType["EMAIL"] = "EMAIL";
|
|
371
|
+
PiiEntityType["INTERNATIONAL_BANK_ACCOUNT_NUMBER"] = "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
372
|
+
PiiEntityType["IN_AADHAAR"] = "IN_AADHAAR";
|
|
373
|
+
PiiEntityType["IN_NREGA"] = "IN_NREGA";
|
|
374
|
+
PiiEntityType["IN_PERMANENT_ACCOUNT_NUMBER"] = "IN_PERMANENT_ACCOUNT_NUMBER";
|
|
375
|
+
PiiEntityType["IN_VOTER_NUMBER"] = "IN_VOTER_NUMBER";
|
|
369
376
|
PiiEntityType["IP_ADDRESS"] = "IP_ADDRESS";
|
|
377
|
+
PiiEntityType["LICENSE_PLATE"] = "LICENSE_PLATE";
|
|
370
378
|
PiiEntityType["MAC_ADDRESS"] = "MAC_ADDRESS";
|
|
371
379
|
PiiEntityType["NAME"] = "NAME";
|
|
372
380
|
PiiEntityType["PASSPORT_NUMBER"] = "PASSPORT_NUMBER";
|
|
@@ -374,8 +382,14 @@ var PiiEntityType;
|
|
|
374
382
|
PiiEntityType["PHONE"] = "PHONE";
|
|
375
383
|
PiiEntityType["PIN"] = "PIN";
|
|
376
384
|
PiiEntityType["SSN"] = "SSN";
|
|
385
|
+
PiiEntityType["SWIFT_CODE"] = "SWIFT_CODE";
|
|
386
|
+
PiiEntityType["UK_NATIONAL_HEALTH_SERVICE_NUMBER"] = "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
387
|
+
PiiEntityType["UK_NATIONAL_INSURANCE_NUMBER"] = "UK_NATIONAL_INSURANCE_NUMBER";
|
|
388
|
+
PiiEntityType["UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"] = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
377
389
|
PiiEntityType["URL"] = "URL";
|
|
378
390
|
PiiEntityType["USERNAME"] = "USERNAME";
|
|
391
|
+
PiiEntityType["US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"] = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
392
|
+
PiiEntityType["VEHICLE_IDENTIFICATION_NUMBER"] = "VEHICLE_IDENTIFICATION_NUMBER";
|
|
379
393
|
})(PiiEntityType = exports.PiiEntityType || (exports.PiiEntityType = {}));
|
|
380
394
|
var EntityLabel;
|
|
381
395
|
(function (EntityLabel) {
|
|
@@ -282,13 +282,21 @@ export var PiiEntityType;
|
|
|
282
282
|
PiiEntityType["AWS_SECRET_KEY"] = "AWS_SECRET_KEY";
|
|
283
283
|
PiiEntityType["BANK_ACCOUNT_NUMBER"] = "BANK_ACCOUNT_NUMBER";
|
|
284
284
|
PiiEntityType["BANK_ROUTING"] = "BANK_ROUTING";
|
|
285
|
+
PiiEntityType["CA_HEALTH_NUMBER"] = "CA_HEALTH_NUMBER";
|
|
286
|
+
PiiEntityType["CA_SOCIAL_INSURANCE_NUMBER"] = "CA_SOCIAL_INSURANCE_NUMBER";
|
|
285
287
|
PiiEntityType["CREDIT_DEBIT_CVV"] = "CREDIT_DEBIT_CVV";
|
|
286
288
|
PiiEntityType["CREDIT_DEBIT_EXPIRY"] = "CREDIT_DEBIT_EXPIRY";
|
|
287
289
|
PiiEntityType["CREDIT_DEBIT_NUMBER"] = "CREDIT_DEBIT_NUMBER";
|
|
288
290
|
PiiEntityType["DATE_TIME"] = "DATE_TIME";
|
|
289
291
|
PiiEntityType["DRIVER_ID"] = "DRIVER_ID";
|
|
290
292
|
PiiEntityType["EMAIL"] = "EMAIL";
|
|
293
|
+
PiiEntityType["INTERNATIONAL_BANK_ACCOUNT_NUMBER"] = "INTERNATIONAL_BANK_ACCOUNT_NUMBER";
|
|
294
|
+
PiiEntityType["IN_AADHAAR"] = "IN_AADHAAR";
|
|
295
|
+
PiiEntityType["IN_NREGA"] = "IN_NREGA";
|
|
296
|
+
PiiEntityType["IN_PERMANENT_ACCOUNT_NUMBER"] = "IN_PERMANENT_ACCOUNT_NUMBER";
|
|
297
|
+
PiiEntityType["IN_VOTER_NUMBER"] = "IN_VOTER_NUMBER";
|
|
291
298
|
PiiEntityType["IP_ADDRESS"] = "IP_ADDRESS";
|
|
299
|
+
PiiEntityType["LICENSE_PLATE"] = "LICENSE_PLATE";
|
|
292
300
|
PiiEntityType["MAC_ADDRESS"] = "MAC_ADDRESS";
|
|
293
301
|
PiiEntityType["NAME"] = "NAME";
|
|
294
302
|
PiiEntityType["PASSPORT_NUMBER"] = "PASSPORT_NUMBER";
|
|
@@ -296,8 +304,14 @@ export var PiiEntityType;
|
|
|
296
304
|
PiiEntityType["PHONE"] = "PHONE";
|
|
297
305
|
PiiEntityType["PIN"] = "PIN";
|
|
298
306
|
PiiEntityType["SSN"] = "SSN";
|
|
307
|
+
PiiEntityType["SWIFT_CODE"] = "SWIFT_CODE";
|
|
308
|
+
PiiEntityType["UK_NATIONAL_HEALTH_SERVICE_NUMBER"] = "UK_NATIONAL_HEALTH_SERVICE_NUMBER";
|
|
309
|
+
PiiEntityType["UK_NATIONAL_INSURANCE_NUMBER"] = "UK_NATIONAL_INSURANCE_NUMBER";
|
|
310
|
+
PiiEntityType["UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER"] = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER";
|
|
299
311
|
PiiEntityType["URL"] = "URL";
|
|
300
312
|
PiiEntityType["USERNAME"] = "USERNAME";
|
|
313
|
+
PiiEntityType["US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER"] = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER";
|
|
314
|
+
PiiEntityType["VEHICLE_IDENTIFICATION_NUMBER"] = "VEHICLE_IDENTIFICATION_NUMBER";
|
|
301
315
|
})(PiiEntityType || (PiiEntityType = {}));
|
|
302
316
|
export var EntityLabel;
|
|
303
317
|
(function (EntityLabel) {
|
|
@@ -141,7 +141,8 @@ export declare class Comprehend extends ComprehendClient {
|
|
|
141
141
|
createDocumentClassifier(args: CreateDocumentClassifierCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDocumentClassifierCommandOutput) => void): void;
|
|
142
142
|
/**
|
|
143
143
|
* <p>Creates a model-specific endpoint for synchronous inference for a previously trained
|
|
144
|
-
* custom model
|
|
144
|
+
* custom model
|
|
145
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
145
146
|
*/
|
|
146
147
|
createEndpoint(args: CreateEndpointCommandInput, options?: __HttpHandlerOptions): Promise<CreateEndpointCommandOutput>;
|
|
147
148
|
createEndpoint(args: CreateEndpointCommandInput, cb: (err: any, data?: CreateEndpointCommandOutput) => void): void;
|
|
@@ -168,7 +169,8 @@ export declare class Comprehend extends ComprehendClient {
|
|
|
168
169
|
deleteDocumentClassifier(args: DeleteDocumentClassifierCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentClassifierCommandOutput) => void): void;
|
|
169
170
|
/**
|
|
170
171
|
* <p>Deletes a model-specific endpoint for a previously-trained custom model. All endpoints
|
|
171
|
-
* must be deleted in order for the model to be deleted
|
|
172
|
+
* must be deleted in order for the model to be deleted.
|
|
173
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
172
174
|
*/
|
|
173
175
|
deleteEndpoint(args: DeleteEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEndpointCommandOutput>;
|
|
174
176
|
deleteEndpoint(args: DeleteEndpointCommandInput, cb: (err: any, data?: DeleteEndpointCommandOutput) => void): void;
|
|
@@ -213,7 +215,8 @@ export declare class Comprehend extends ComprehendClient {
|
|
|
213
215
|
describeDominantLanguageDetectionJob(args: DescribeDominantLanguageDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDominantLanguageDetectionJobCommandOutput) => void): void;
|
|
214
216
|
/**
|
|
215
217
|
* <p>Gets the properties associated with a specific endpoint. Use this operation to get the
|
|
216
|
-
* status of an endpoint
|
|
218
|
+
* status of an endpoint.
|
|
219
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
217
220
|
*/
|
|
218
221
|
describeEndpoint(args: DescribeEndpointCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointCommandOutput>;
|
|
219
222
|
describeEndpoint(args: DescribeEndpointCommandInput, cb: (err: any, data?: DescribeEndpointCommandOutput) => void): void;
|
|
@@ -357,7 +360,8 @@ export declare class Comprehend extends ComprehendClient {
|
|
|
357
360
|
listDominantLanguageDetectionJobs(args: ListDominantLanguageDetectionJobsCommandInput, cb: (err: any, data?: ListDominantLanguageDetectionJobsCommandOutput) => void): void;
|
|
358
361
|
listDominantLanguageDetectionJobs(args: ListDominantLanguageDetectionJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDominantLanguageDetectionJobsCommandOutput) => void): void;
|
|
359
362
|
/**
|
|
360
|
-
* <p>Gets a list of all existing endpoints that you've created
|
|
363
|
+
* <p>Gets a list of all existing endpoints that you've created.
|
|
364
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
361
365
|
*/
|
|
362
366
|
listEndpoints(args: ListEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<ListEndpointsCommandOutput>;
|
|
363
367
|
listEndpoints(args: ListEndpointsCommandInput, cb: (err: any, data?: ListEndpointsCommandOutput) => void): void;
|
|
@@ -562,7 +566,7 @@ export declare class Comprehend extends ComprehendClient {
|
|
|
562
566
|
stopPiiEntitiesDetectionJob(args: StopPiiEntitiesDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopPiiEntitiesDetectionJobCommandOutput) => void): void;
|
|
563
567
|
/**
|
|
564
568
|
* <p>Stops a sentiment detection job in progress.</p>
|
|
565
|
-
* <p>If the job state is <code>IN_PROGRESS</code
|
|
569
|
+
* <p>If the job state is <code>IN_PROGRESS</code>, the job is marked for termination and put
|
|
566
570
|
* into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
|
|
567
571
|
* is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the
|
|
568
572
|
* <code>STOPPED</code> state.</p>
|
|
@@ -577,7 +581,7 @@ export declare class Comprehend extends ComprehendClient {
|
|
|
577
581
|
stopSentimentDetectionJob(args: StopSentimentDetectionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSentimentDetectionJobCommandOutput) => void): void;
|
|
578
582
|
/**
|
|
579
583
|
* <p>Stops a targeted sentiment detection job in progress.</p>
|
|
580
|
-
* <p>If the job state is <code>IN_PROGRESS</code
|
|
584
|
+
* <p>If the job state is <code>IN_PROGRESS</code>, the job is marked for termination and put
|
|
581
585
|
* into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
|
|
582
586
|
* is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the
|
|
583
587
|
* <code>STOPPED</code> state.</p>
|
|
@@ -628,7 +632,8 @@ export declare class Comprehend extends ComprehendClient {
|
|
|
628
632
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
629
633
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
630
634
|
/**
|
|
631
|
-
* <p>Updates information about the specified endpoint
|
|
635
|
+
* <p>Updates information about the specified endpoint.
|
|
636
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
632
637
|
*/
|
|
633
638
|
updateEndpoint(args: UpdateEndpointCommandInput, options?: __HttpHandlerOptions): Promise<UpdateEndpointCommandOutput>;
|
|
634
639
|
updateEndpoint(args: UpdateEndpointCommandInput, cb: (err: any, data?: UpdateEndpointCommandOutput) => void): void;
|
|
@@ -8,7 +8,8 @@ export interface CreateEndpointCommandOutput extends CreateEndpointResponse, __M
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Creates a model-specific endpoint for synchronous inference for a previously trained
|
|
11
|
-
* custom model
|
|
11
|
+
* custom model
|
|
12
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -8,7 +8,8 @@ export interface DeleteEndpointCommandOutput extends DeleteEndpointResponse, __M
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes a model-specific endpoint for a previously-trained custom model. All endpoints
|
|
11
|
-
* must be deleted in order for the model to be deleted
|
|
11
|
+
* must be deleted in order for the model to be deleted.
|
|
12
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -8,7 +8,8 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointResponse,
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Gets the properties associated with a specific endpoint. Use this operation to get the
|
|
11
|
-
* status of an endpoint
|
|
11
|
+
* status of an endpoint.
|
|
12
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
12
13
|
* @example
|
|
13
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
15
|
* ```javascript
|
|
@@ -7,7 +7,8 @@ export interface ListEndpointsCommandInput extends ListEndpointsRequest {
|
|
|
7
7
|
export interface ListEndpointsCommandOutput extends ListEndpointsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Gets a list of all existing endpoints that you've created
|
|
10
|
+
* <p>Gets a list of all existing endpoints that you've created.
|
|
11
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface StopSentimentDetectionJobCommandOutput extends StopSentimentDet
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Stops a sentiment detection job in progress.</p>
|
|
11
|
-
* <p>If the job state is <code>IN_PROGRESS</code
|
|
11
|
+
* <p>If the job state is <code>IN_PROGRESS</code>, the job is marked for termination and put
|
|
12
12
|
* into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
|
|
13
13
|
* is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the
|
|
14
14
|
* <code>STOPPED</code> state.</p>
|
|
@@ -8,7 +8,7 @@ export interface StopTargetedSentimentDetectionJobCommandOutput extends StopTarg
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Stops a targeted sentiment detection job in progress.</p>
|
|
11
|
-
* <p>If the job state is <code>IN_PROGRESS</code
|
|
11
|
+
* <p>If the job state is <code>IN_PROGRESS</code>, the job is marked for termination and put
|
|
12
12
|
* into the <code>STOP_REQUESTED</code> state. If the job completes before it can be stopped, it
|
|
13
13
|
* is put into the <code>COMPLETED</code> state; otherwise the job is be stopped and put into the
|
|
14
14
|
* <code>STOPPED</code> state.</p>
|
|
@@ -7,7 +7,8 @@ export interface UpdateEndpointCommandInput extends UpdateEndpointRequest {
|
|
|
7
7
|
export interface UpdateEndpointCommandOutput extends UpdateEndpointResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Updates information about the specified endpoint
|
|
10
|
+
* <p>Updates information about the specified endpoint.
|
|
11
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
11
12
|
* @example
|
|
12
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
14
|
* ```javascript
|
|
@@ -372,7 +372,7 @@ export declare class UnsupportedLanguageException extends __BaseException {
|
|
|
372
372
|
export interface BatchDetectKeyPhrasesRequest {
|
|
373
373
|
/**
|
|
374
374
|
* <p>A list containing the text of the input documents. The list can contain a maximum of 25
|
|
375
|
-
* documents. Each document must contain fewer
|
|
375
|
+
* documents. Each document must contain fewer than 5,000 bytes of UTF-8 encoded
|
|
376
376
|
* characters.</p>
|
|
377
377
|
*/
|
|
378
378
|
TextList: string[] | undefined;
|
|
@@ -819,7 +819,7 @@ export interface ClassifyDocumentRequest {
|
|
|
819
819
|
*/
|
|
820
820
|
Text: string | undefined;
|
|
821
821
|
/**
|
|
822
|
-
* <p>The Amazon Resource Number (ARN) of the endpoint
|
|
822
|
+
* <p>The Amazon Resource Number (ARN) of the endpoint. For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
823
823
|
*/
|
|
824
824
|
EndpointArn: string | undefined;
|
|
825
825
|
}
|
|
@@ -909,7 +909,7 @@ export interface ContainsPiiEntitiesRequest {
|
|
|
909
909
|
*/
|
|
910
910
|
Text: string | undefined;
|
|
911
911
|
/**
|
|
912
|
-
* <p>The language of the input documents.</p>
|
|
912
|
+
* <p>The language of the input documents. Currently, English is the only valid language.</p>
|
|
913
913
|
*/
|
|
914
914
|
LanguageCode: LanguageCode | string | undefined;
|
|
915
915
|
}
|
|
@@ -927,13 +927,21 @@ export declare enum PiiEntityType {
|
|
|
927
927
|
AWS_SECRET_KEY = "AWS_SECRET_KEY",
|
|
928
928
|
BANK_ACCOUNT_NUMBER = "BANK_ACCOUNT_NUMBER",
|
|
929
929
|
BANK_ROUTING = "BANK_ROUTING",
|
|
930
|
+
CA_HEALTH_NUMBER = "CA_HEALTH_NUMBER",
|
|
931
|
+
CA_SOCIAL_INSURANCE_NUMBER = "CA_SOCIAL_INSURANCE_NUMBER",
|
|
930
932
|
CREDIT_DEBIT_CVV = "CREDIT_DEBIT_CVV",
|
|
931
933
|
CREDIT_DEBIT_EXPIRY = "CREDIT_DEBIT_EXPIRY",
|
|
932
934
|
CREDIT_DEBIT_NUMBER = "CREDIT_DEBIT_NUMBER",
|
|
933
935
|
DATE_TIME = "DATE_TIME",
|
|
934
936
|
DRIVER_ID = "DRIVER_ID",
|
|
935
937
|
EMAIL = "EMAIL",
|
|
938
|
+
INTERNATIONAL_BANK_ACCOUNT_NUMBER = "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
|
|
939
|
+
IN_AADHAAR = "IN_AADHAAR",
|
|
940
|
+
IN_NREGA = "IN_NREGA",
|
|
941
|
+
IN_PERMANENT_ACCOUNT_NUMBER = "IN_PERMANENT_ACCOUNT_NUMBER",
|
|
942
|
+
IN_VOTER_NUMBER = "IN_VOTER_NUMBER",
|
|
936
943
|
IP_ADDRESS = "IP_ADDRESS",
|
|
944
|
+
LICENSE_PLATE = "LICENSE_PLATE",
|
|
937
945
|
MAC_ADDRESS = "MAC_ADDRESS",
|
|
938
946
|
NAME = "NAME",
|
|
939
947
|
PASSPORT_NUMBER = "PASSPORT_NUMBER",
|
|
@@ -941,8 +949,14 @@ export declare enum PiiEntityType {
|
|
|
941
949
|
PHONE = "PHONE",
|
|
942
950
|
PIN = "PIN",
|
|
943
951
|
SSN = "SSN",
|
|
952
|
+
SWIFT_CODE = "SWIFT_CODE",
|
|
953
|
+
UK_NATIONAL_HEALTH_SERVICE_NUMBER = "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
|
|
954
|
+
UK_NATIONAL_INSURANCE_NUMBER = "UK_NATIONAL_INSURANCE_NUMBER",
|
|
955
|
+
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
|
|
944
956
|
URL = "URL",
|
|
945
|
-
USERNAME = "USERNAME"
|
|
957
|
+
USERNAME = "USERNAME",
|
|
958
|
+
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
|
|
959
|
+
VEHICLE_IDENTIFICATION_NUMBER = "VEHICLE_IDENTIFICATION_NUMBER"
|
|
946
960
|
}
|
|
947
961
|
/**
|
|
948
962
|
* <p>Specifies one of the label or labels that categorize the personally identifiable
|
|
@@ -984,7 +998,7 @@ export declare enum DocumentClassifierDataFormat {
|
|
|
984
998
|
}
|
|
985
999
|
/**
|
|
986
1000
|
* <p>The input properties for training a document classifier. </p>
|
|
987
|
-
* <p>For more information on how the input file is formatted, see <a>
|
|
1001
|
+
* <p>For more information on how the input file is formatted, see <a>prep-classifier-data</a>. </p>
|
|
988
1002
|
*/
|
|
989
1003
|
export interface DocumentClassifierInputDataConfig {
|
|
990
1004
|
/**
|
|
@@ -1645,7 +1659,7 @@ export interface CreateEntityRecognizerRequest {
|
|
|
1645
1659
|
/**
|
|
1646
1660
|
* <p>Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
|
|
1647
1661
|
* the resources you are using for your custom entity recognizer. For more information, see
|
|
1648
|
-
*
|
|
1662
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
1649
1663
|
* VPC</a>. </p>
|
|
1650
1664
|
*/
|
|
1651
1665
|
VpcConfig?: VpcConfig;
|
|
@@ -2043,7 +2057,7 @@ export interface DocumentClassificationJobProperties {
|
|
|
2043
2057
|
VolumeKmsKeyId?: string;
|
|
2044
2058
|
/**
|
|
2045
2059
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the
|
|
2046
|
-
* resources you are using for your document classification job. For more information, see <a href="https://docs.aws.amazon.com/
|
|
2060
|
+
* resources you are using for your document classification job. For more information, see <a href="https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
2047
2061
|
* VPC</a>. </p>
|
|
2048
2062
|
*/
|
|
2049
2063
|
VpcConfig?: VpcConfig;
|
|
@@ -2182,7 +2196,7 @@ export interface DocumentClassifierProperties {
|
|
|
2182
2196
|
VolumeKmsKeyId?: string;
|
|
2183
2197
|
/**
|
|
2184
2198
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the
|
|
2185
|
-
* resources you are using for your custom classifier. For more information, see <a href="https://docs.aws.amazon.com/
|
|
2199
|
+
* resources you are using for your custom classifier. For more information, see <a href="https://docs.aws.amazon.com/vppc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
2186
2200
|
* VPC</a>. </p>
|
|
2187
2201
|
*/
|
|
2188
2202
|
VpcConfig?: VpcConfig;
|
|
@@ -2326,7 +2340,7 @@ export interface DominantLanguageDetectionJobProperties {
|
|
|
2326
2340
|
/**
|
|
2327
2341
|
* <p> Configuration parameters for a private Virtual Private Cloud (VPC) containing the
|
|
2328
2342
|
* resources you are using for your dominant language detection job. For more information, see
|
|
2329
|
-
*
|
|
2343
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
2330
2344
|
* VPC</a>. </p>
|
|
2331
2345
|
*/
|
|
2332
2346
|
VpcConfig?: VpcConfig;
|
|
@@ -2370,7 +2384,8 @@ export declare enum EndpointStatus {
|
|
|
2370
2384
|
UPDATING = "UPDATING"
|
|
2371
2385
|
}
|
|
2372
2386
|
/**
|
|
2373
|
-
* <p>Specifies information about the specified endpoint
|
|
2387
|
+
* <p>Specifies information about the specified endpoint.
|
|
2388
|
+
* For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
2374
2389
|
*/
|
|
2375
2390
|
export interface EndpointProperties {
|
|
2376
2391
|
/**
|
|
@@ -3615,6 +3630,7 @@ export interface DetectEntitiesRequest {
|
|
|
3615
3630
|
* model instead of the default model that is used by Amazon Comprehend.</p>
|
|
3616
3631
|
* <p>If you specify an endpoint, Amazon Comprehend uses the language of your custom model, and
|
|
3617
3632
|
* it ignores any language code that you provide in your request.</p>
|
|
3633
|
+
* <p>For information about endpoints, see <a href="https://docs.aws.amazon.com/comprehend/latest/dg/manage-endpoints.html">Managing endpoints</a>.</p>
|
|
3618
3634
|
*/
|
|
3619
3635
|
EndpointArn?: string;
|
|
3620
3636
|
}
|
|
@@ -3681,7 +3697,7 @@ export interface DetectPiiEntitiesRequest {
|
|
|
3681
3697
|
*/
|
|
3682
3698
|
Text: string | undefined;
|
|
3683
3699
|
/**
|
|
3684
|
-
* <p>The language of the input documents.</p>
|
|
3700
|
+
* <p>The language of the input documents. Currently, English is the only valid language.</p>
|
|
3685
3701
|
*/
|
|
3686
3702
|
LanguageCode: LanguageCode | string | undefined;
|
|
3687
3703
|
}
|
|
@@ -4977,7 +4993,7 @@ export interface StartDocumentClassificationJobRequest {
|
|
|
4977
4993
|
/**
|
|
4978
4994
|
* <p>Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
|
|
4979
4995
|
* the resources you are using for your document classification job. For more information, see
|
|
4980
|
-
*
|
|
4996
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
4981
4997
|
* VPC</a>. </p>
|
|
4982
4998
|
*/
|
|
4983
4999
|
VpcConfig?: VpcConfig;
|
|
@@ -5393,7 +5409,7 @@ export interface StartKeyPhrasesDetectionJobRequest {
|
|
|
5393
5409
|
/**
|
|
5394
5410
|
* <p> Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
|
|
5395
5411
|
* the resources you are using for your key phrases detection job. For more information, see
|
|
5396
|
-
*
|
|
5412
|
+
* <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
5397
5413
|
* VPC</a>. </p>
|
|
5398
5414
|
*/
|
|
5399
5415
|
VpcConfig?: VpcConfig;
|
|
@@ -5485,7 +5501,7 @@ export interface StartPiiEntitiesDetectionJobRequest {
|
|
|
5485
5501
|
*/
|
|
5486
5502
|
JobName?: string;
|
|
5487
5503
|
/**
|
|
5488
|
-
* <p>The language of the input documents.</p>
|
|
5504
|
+
* <p>The language of the input documents. Currently, English is the only valid language.</p>
|
|
5489
5505
|
*/
|
|
5490
5506
|
LanguageCode: LanguageCode | string | undefined;
|
|
5491
5507
|
/**
|
|
@@ -5662,8 +5678,7 @@ export interface StartTargetedSentimentDetectionJobRequest {
|
|
|
5662
5678
|
*/
|
|
5663
5679
|
JobName?: string;
|
|
5664
5680
|
/**
|
|
5665
|
-
* <p>The language of the input documents.
|
|
5666
|
-
* supported by Amazon Comprehend. All documents must be in the same language.</p>
|
|
5681
|
+
* <p>The language of the input documents. Currently, English is the only valid language.</p>
|
|
5667
5682
|
*/
|
|
5668
5683
|
LanguageCode: LanguageCode | string | undefined;
|
|
5669
5684
|
/**
|
|
@@ -486,13 +486,21 @@ export declare enum PiiEntityType {
|
|
|
486
486
|
AWS_SECRET_KEY = "AWS_SECRET_KEY",
|
|
487
487
|
BANK_ACCOUNT_NUMBER = "BANK_ACCOUNT_NUMBER",
|
|
488
488
|
BANK_ROUTING = "BANK_ROUTING",
|
|
489
|
+
CA_HEALTH_NUMBER = "CA_HEALTH_NUMBER",
|
|
490
|
+
CA_SOCIAL_INSURANCE_NUMBER = "CA_SOCIAL_INSURANCE_NUMBER",
|
|
489
491
|
CREDIT_DEBIT_CVV = "CREDIT_DEBIT_CVV",
|
|
490
492
|
CREDIT_DEBIT_EXPIRY = "CREDIT_DEBIT_EXPIRY",
|
|
491
493
|
CREDIT_DEBIT_NUMBER = "CREDIT_DEBIT_NUMBER",
|
|
492
494
|
DATE_TIME = "DATE_TIME",
|
|
493
495
|
DRIVER_ID = "DRIVER_ID",
|
|
494
496
|
EMAIL = "EMAIL",
|
|
497
|
+
INTERNATIONAL_BANK_ACCOUNT_NUMBER = "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
|
|
498
|
+
IN_AADHAAR = "IN_AADHAAR",
|
|
499
|
+
IN_NREGA = "IN_NREGA",
|
|
500
|
+
IN_PERMANENT_ACCOUNT_NUMBER = "IN_PERMANENT_ACCOUNT_NUMBER",
|
|
501
|
+
IN_VOTER_NUMBER = "IN_VOTER_NUMBER",
|
|
495
502
|
IP_ADDRESS = "IP_ADDRESS",
|
|
503
|
+
LICENSE_PLATE = "LICENSE_PLATE",
|
|
496
504
|
MAC_ADDRESS = "MAC_ADDRESS",
|
|
497
505
|
NAME = "NAME",
|
|
498
506
|
PASSPORT_NUMBER = "PASSPORT_NUMBER",
|
|
@@ -500,8 +508,14 @@ export declare enum PiiEntityType {
|
|
|
500
508
|
PHONE = "PHONE",
|
|
501
509
|
PIN = "PIN",
|
|
502
510
|
SSN = "SSN",
|
|
511
|
+
SWIFT_CODE = "SWIFT_CODE",
|
|
512
|
+
UK_NATIONAL_HEALTH_SERVICE_NUMBER = "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
|
|
513
|
+
UK_NATIONAL_INSURANCE_NUMBER = "UK_NATIONAL_INSURANCE_NUMBER",
|
|
514
|
+
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER = "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
|
|
503
515
|
URL = "URL",
|
|
504
|
-
USERNAME = "USERNAME"
|
|
516
|
+
USERNAME = "USERNAME",
|
|
517
|
+
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER = "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
|
|
518
|
+
VEHICLE_IDENTIFICATION_NUMBER = "VEHICLE_IDENTIFICATION_NUMBER"
|
|
505
519
|
}
|
|
506
520
|
|
|
507
521
|
export interface EntityLabel {
|
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.96.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.95.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.95.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@aws-sdk/middleware-stack": "3.78.0",
|
|
34
34
|
"@aws-sdk/middleware-user-agent": "3.78.0",
|
|
35
35
|
"@aws-sdk/node-config-provider": "3.80.0",
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.94.0",
|
|
37
37
|
"@aws-sdk/protocol-http": "3.78.0",
|
|
38
38
|
"@aws-sdk/smithy-client": "3.85.0",
|
|
39
39
|
"@aws-sdk/types": "3.78.0",
|