@aws-sdk/client-comprehend 3.321.1 → 3.326.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-types/commands/BatchDetectDominantLanguageCommand.d.ts +23 -0
- package/dist-types/commands/BatchDetectEntitiesCommand.d.ts +40 -0
- package/dist-types/commands/BatchDetectKeyPhrasesCommand.d.ts +25 -0
- package/dist-types/commands/BatchDetectSentimentCommand.d.ts +24 -0
- package/dist-types/commands/BatchDetectSyntaxCommand.d.ts +29 -0
- package/dist-types/commands/BatchDetectTargetedSentimentCommand.d.ts +43 -0
- package/dist-types/commands/ClassifyDocumentCommand.d.ts +48 -0
- package/dist-types/commands/ContainsPiiEntitiesCommand.d.ts +11 -0
- package/dist-types/commands/CreateDatasetCommand.d.ts +6 -0
- package/dist-types/commands/CreateDocumentClassifierCommand.d.ts +6 -0
- package/dist-types/commands/CreateEndpointCommand.d.ts +7 -0
- package/dist-types/commands/CreateEntityRecognizerCommand.d.ts +6 -0
- package/dist-types/commands/CreateFlywheelCommand.d.ts +7 -0
- package/dist-types/commands/DeleteDocumentClassifierCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEndpointCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEntityRecognizerCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFlywheelCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDatasetCommand.d.ts +17 -0
- package/dist-types/commands/DescribeDocumentClassificationJobCommand.d.ts +41 -0
- package/dist-types/commands/DescribeDocumentClassifierCommand.d.ts +80 -0
- package/dist-types/commands/DescribeDominantLanguageDetectionJobCommand.d.ts +39 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +19 -0
- package/dist-types/commands/DescribeEntitiesDetectionJobCommand.d.ts +42 -0
- package/dist-types/commands/DescribeEntityRecognizerCommand.d.ts +84 -0
- package/dist-types/commands/DescribeEventsDetectionJobCommand.d.ts +34 -0
- package/dist-types/commands/DescribeFlywheelCommand.d.ts +46 -0
- package/dist-types/commands/DescribeFlywheelIterationCommand.d.ts +28 -0
- package/dist-types/commands/DescribeKeyPhrasesDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DescribePiiEntitiesDetectionJobCommand.d.ts +39 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +9 -0
- package/dist-types/commands/DescribeSentimentDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DescribeTargetedSentimentDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DescribeTopicsDetectionJobCommand.d.ts +40 -0
- package/dist-types/commands/DetectDominantLanguageCommand.d.ts +11 -0
- package/dist-types/commands/DetectEntitiesCommand.d.ts +80 -0
- package/dist-types/commands/DetectKeyPhrasesCommand.d.ts +13 -0
- package/dist-types/commands/DetectPiiEntitiesCommand.d.ts +13 -0
- package/dist-types/commands/DetectSentimentCommand.d.ts +12 -0
- package/dist-types/commands/DetectSyntaxCommand.d.ts +17 -0
- package/dist-types/commands/DetectTargetedSentimentCommand.d.ts +31 -0
- package/dist-types/commands/ImportModelCommand.d.ts +6 -0
- package/dist-types/commands/ListDatasetsCommand.d.ts +20 -0
- package/dist-types/commands/ListDocumentClassificationJobsCommand.d.ts +44 -0
- package/dist-types/commands/ListDocumentClassifierSummariesCommand.d.ts +15 -0
- package/dist-types/commands/ListDocumentClassifiersCommand.d.ts +83 -0
- package/dist-types/commands/ListDominantLanguageDetectionJobsCommand.d.ts +42 -0
- package/dist-types/commands/ListEndpointsCommand.d.ts +22 -0
- package/dist-types/commands/ListEntitiesDetectionJobsCommand.d.ts +45 -0
- package/dist-types/commands/ListEntityRecognizerSummariesCommand.d.ts +15 -0
- package/dist-types/commands/ListEntityRecognizersCommand.d.ts +87 -0
- package/dist-types/commands/ListEventsDetectionJobsCommand.d.ts +37 -0
- package/dist-types/commands/ListFlywheelIterationHistoryCommand.d.ts +31 -0
- package/dist-types/commands/ListFlywheelsCommand.d.ts +19 -0
- package/dist-types/commands/ListKeyPhrasesDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/ListPiiEntitiesDetectionJobsCommand.d.ts +42 -0
- package/dist-types/commands/ListSentimentDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -0
- package/dist-types/commands/ListTargetedSentimentDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/ListTopicsDetectionJobsCommand.d.ts +43 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -0
- package/dist-types/commands/StartDocumentClassificationJobCommand.d.ts +9 -0
- package/dist-types/commands/StartDominantLanguageDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartEntitiesDetectionJobCommand.d.ts +9 -0
- package/dist-types/commands/StartEventsDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartFlywheelIterationCommand.d.ts +7 -0
- package/dist-types/commands/StartKeyPhrasesDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartPiiEntitiesDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartSentimentDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartTargetedSentimentDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StartTopicsDetectionJobCommand.d.ts +8 -0
- package/dist-types/commands/StopDominantLanguageDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +7 -0
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +4 -0
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +6 -0
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +46 -0
- package/package.json +16 -16
|
@@ -31,6 +31,84 @@ export interface DescribeDocumentClassifierCommandOutput extends DescribeDocumen
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeDocumentClassifierCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeDocumentClassifierResponse
|
|
35
|
+
* // DocumentClassifierProperties: { // DocumentClassifierProperties
|
|
36
|
+
* // DocumentClassifierArn: "STRING_VALUE",
|
|
37
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
|
|
38
|
+
* // Status: "SUBMITTED" || "TRAINING" || "DELETING" || "STOP_REQUESTED" || "STOPPED" || "IN_ERROR" || "TRAINED" || "TRAINED_WITH_WARNING",
|
|
39
|
+
* // Message: "STRING_VALUE",
|
|
40
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
41
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
42
|
+
* // TrainingStartTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // TrainingEndTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // InputDataConfig: { // DocumentClassifierInputDataConfig
|
|
45
|
+
* // DataFormat: "COMPREHEND_CSV" || "AUGMENTED_MANIFEST",
|
|
46
|
+
* // S3Uri: "STRING_VALUE",
|
|
47
|
+
* // TestS3Uri: "STRING_VALUE",
|
|
48
|
+
* // LabelDelimiter: "STRING_VALUE",
|
|
49
|
+
* // AugmentedManifests: [ // DocumentClassifierAugmentedManifestsList
|
|
50
|
+
* // { // AugmentedManifestsListItem
|
|
51
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
52
|
+
* // Split: "TRAIN" || "TEST",
|
|
53
|
+
* // AttributeNames: [ // AttributeNamesList // required
|
|
54
|
+
* // "STRING_VALUE",
|
|
55
|
+
* // ],
|
|
56
|
+
* // AnnotationDataS3Uri: "STRING_VALUE",
|
|
57
|
+
* // SourceDocumentsS3Uri: "STRING_VALUE",
|
|
58
|
+
* // DocumentType: "PLAIN_TEXT_DOCUMENT" || "SEMI_STRUCTURED_DOCUMENT",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // DocumentType: "PLAIN_TEXT_DOCUMENT" || "SEMI_STRUCTURED_DOCUMENT",
|
|
62
|
+
* // Documents: { // DocumentClassifierDocuments
|
|
63
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
64
|
+
* // TestS3Uri: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // DocumentReaderConfig: { // DocumentReaderConfig
|
|
67
|
+
* // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
|
|
68
|
+
* // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
|
|
69
|
+
* // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
|
|
70
|
+
* // "TABLES" || "FORMS",
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // OutputDataConfig: { // DocumentClassifierOutputDataConfig
|
|
75
|
+
* // S3Uri: "STRING_VALUE",
|
|
76
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
77
|
+
* // FlywheelStatsS3Prefix: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // ClassifierMetadata: { // ClassifierMetadata
|
|
80
|
+
* // NumberOfLabels: Number("int"),
|
|
81
|
+
* // NumberOfTrainedDocuments: Number("int"),
|
|
82
|
+
* // NumberOfTestDocuments: Number("int"),
|
|
83
|
+
* // EvaluationMetrics: { // ClassifierEvaluationMetrics
|
|
84
|
+
* // Accuracy: Number("double"),
|
|
85
|
+
* // Precision: Number("double"),
|
|
86
|
+
* // Recall: Number("double"),
|
|
87
|
+
* // F1Score: Number("double"),
|
|
88
|
+
* // MicroPrecision: Number("double"),
|
|
89
|
+
* // MicroRecall: Number("double"),
|
|
90
|
+
* // MicroF1Score: Number("double"),
|
|
91
|
+
* // HammingLoss: Number("double"),
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
95
|
+
* // VolumeKmsKeyId: "STRING_VALUE",
|
|
96
|
+
* // VpcConfig: { // VpcConfig
|
|
97
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
98
|
+
* // "STRING_VALUE",
|
|
99
|
+
* // ],
|
|
100
|
+
* // Subnets: [ // Subnets // required
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // },
|
|
104
|
+
* // Mode: "MULTI_CLASS" || "MULTI_LABEL",
|
|
105
|
+
* // ModelKmsKeyId: "STRING_VALUE",
|
|
106
|
+
* // VersionName: "STRING_VALUE",
|
|
107
|
+
* // SourceModelArn: "STRING_VALUE",
|
|
108
|
+
* // FlywheelArn: "STRING_VALUE",
|
|
109
|
+
* // },
|
|
110
|
+
* // };
|
|
111
|
+
*
|
|
34
112
|
* ```
|
|
35
113
|
*
|
|
36
114
|
* @param DescribeDocumentClassifierCommandInput - {@link DescribeDocumentClassifierCommandInput}
|
|
@@ -51,6 +129,8 @@ export interface DescribeDocumentClassifierCommandOutput extends DescribeDocumen
|
|
|
51
129
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
52
130
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
53
131
|
*
|
|
132
|
+
* @throws {@link ComprehendServiceException}
|
|
133
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
54
134
|
*
|
|
55
135
|
*/
|
|
56
136
|
export declare class DescribeDocumentClassifierCommand extends $Command<DescribeDocumentClassifierCommandInput, DescribeDocumentClassifierCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -32,6 +32,43 @@ export interface DescribeDominantLanguageDetectionJobCommandOutput extends Descr
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeDominantLanguageDetectionJobCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeDominantLanguageDetectionJobResponse
|
|
36
|
+
* // DominantLanguageDetectionJobProperties: { // DominantLanguageDetectionJobProperties
|
|
37
|
+
* // JobId: "STRING_VALUE",
|
|
38
|
+
* // JobArn: "STRING_VALUE",
|
|
39
|
+
* // JobName: "STRING_VALUE",
|
|
40
|
+
* // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
|
|
41
|
+
* // Message: "STRING_VALUE",
|
|
42
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // InputDataConfig: { // InputDataConfig
|
|
45
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
46
|
+
* // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
|
|
47
|
+
* // DocumentReaderConfig: { // DocumentReaderConfig
|
|
48
|
+
* // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
|
|
49
|
+
* // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
|
|
50
|
+
* // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
|
|
51
|
+
* // "TABLES" || "FORMS",
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // OutputDataConfig: { // OutputDataConfig
|
|
56
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
57
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
60
|
+
* // VolumeKmsKeyId: "STRING_VALUE",
|
|
61
|
+
* // VpcConfig: { // VpcConfig
|
|
62
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // Subnets: [ // Subnets // required
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
35
72
|
* ```
|
|
36
73
|
*
|
|
37
74
|
* @param DescribeDominantLanguageDetectionJobCommandInput - {@link DescribeDominantLanguageDetectionJobCommandInput}
|
|
@@ -52,6 +89,8 @@ export interface DescribeDominantLanguageDetectionJobCommandOutput extends Descr
|
|
|
52
89
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
53
90
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
54
91
|
*
|
|
92
|
+
* @throws {@link ComprehendServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
55
94
|
*
|
|
56
95
|
*/
|
|
57
96
|
export declare class DescribeDominantLanguageDetectionJobCommand extends $Command<DescribeDominantLanguageDetectionJobCommandInput, DescribeDominantLanguageDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -33,6 +33,23 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointResponse,
|
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DescribeEndpointCommand(input);
|
|
35
35
|
* const response = await client.send(command);
|
|
36
|
+
* // { // DescribeEndpointResponse
|
|
37
|
+
* // EndpointProperties: { // EndpointProperties
|
|
38
|
+
* // EndpointArn: "STRING_VALUE",
|
|
39
|
+
* // Status: "CREATING" || "DELETING" || "FAILED" || "IN_SERVICE" || "UPDATING",
|
|
40
|
+
* // Message: "STRING_VALUE",
|
|
41
|
+
* // ModelArn: "STRING_VALUE",
|
|
42
|
+
* // DesiredModelArn: "STRING_VALUE",
|
|
43
|
+
* // DesiredInferenceUnits: Number("int"),
|
|
44
|
+
* // CurrentInferenceUnits: Number("int"),
|
|
45
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
48
|
+
* // DesiredDataAccessRoleArn: "STRING_VALUE",
|
|
49
|
+
* // FlywheelArn: "STRING_VALUE",
|
|
50
|
+
* // },
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
36
53
|
* ```
|
|
37
54
|
*
|
|
38
55
|
* @param DescribeEndpointCommandInput - {@link DescribeEndpointCommandInput}
|
|
@@ -53,6 +70,8 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointResponse,
|
|
|
53
70
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
54
71
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
55
72
|
*
|
|
73
|
+
* @throws {@link ComprehendServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
56
75
|
*
|
|
57
76
|
*/
|
|
58
77
|
export declare class DescribeEndpointCommand extends $Command<DescribeEndpointCommandInput, DescribeEndpointCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -32,6 +32,46 @@ export interface DescribeEntitiesDetectionJobCommandOutput extends DescribeEntit
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeEntitiesDetectionJobCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeEntitiesDetectionJobResponse
|
|
36
|
+
* // EntitiesDetectionJobProperties: { // EntitiesDetectionJobProperties
|
|
37
|
+
* // JobId: "STRING_VALUE",
|
|
38
|
+
* // JobArn: "STRING_VALUE",
|
|
39
|
+
* // JobName: "STRING_VALUE",
|
|
40
|
+
* // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
|
|
41
|
+
* // Message: "STRING_VALUE",
|
|
42
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // EntityRecognizerArn: "STRING_VALUE",
|
|
45
|
+
* // InputDataConfig: { // InputDataConfig
|
|
46
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
47
|
+
* // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
|
|
48
|
+
* // DocumentReaderConfig: { // DocumentReaderConfig
|
|
49
|
+
* // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
|
|
50
|
+
* // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
|
|
51
|
+
* // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
|
|
52
|
+
* // "TABLES" || "FORMS",
|
|
53
|
+
* // ],
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // OutputDataConfig: { // OutputDataConfig
|
|
57
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
58
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
|
|
61
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
62
|
+
* // VolumeKmsKeyId: "STRING_VALUE",
|
|
63
|
+
* // VpcConfig: { // VpcConfig
|
|
64
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // Subnets: [ // Subnets // required
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // },
|
|
71
|
+
* // FlywheelArn: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
35
75
|
* ```
|
|
36
76
|
*
|
|
37
77
|
* @param DescribeEntitiesDetectionJobCommandInput - {@link DescribeEntitiesDetectionJobCommandInput}
|
|
@@ -52,6 +92,8 @@ export interface DescribeEntitiesDetectionJobCommandOutput extends DescribeEntit
|
|
|
52
92
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
53
93
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
54
94
|
*
|
|
95
|
+
* @throws {@link ComprehendServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
55
97
|
*
|
|
56
98
|
*/
|
|
57
99
|
export declare class DescribeEntitiesDetectionJobCommand extends $Command<DescribeEntitiesDetectionJobCommandInput, DescribeEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -32,6 +32,88 @@ export interface DescribeEntityRecognizerCommandOutput extends DescribeEntityRec
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeEntityRecognizerCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeEntityRecognizerResponse
|
|
36
|
+
* // EntityRecognizerProperties: { // EntityRecognizerProperties
|
|
37
|
+
* // EntityRecognizerArn: "STRING_VALUE",
|
|
38
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
|
|
39
|
+
* // Status: "SUBMITTED" || "TRAINING" || "DELETING" || "STOP_REQUESTED" || "STOPPED" || "IN_ERROR" || "TRAINED" || "TRAINED_WITH_WARNING",
|
|
40
|
+
* // Message: "STRING_VALUE",
|
|
41
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
42
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // TrainingStartTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // TrainingEndTime: new Date("TIMESTAMP"),
|
|
45
|
+
* // InputDataConfig: { // EntityRecognizerInputDataConfig
|
|
46
|
+
* // DataFormat: "COMPREHEND_CSV" || "AUGMENTED_MANIFEST",
|
|
47
|
+
* // EntityTypes: [ // EntityTypesList // required
|
|
48
|
+
* // { // EntityTypesListItem
|
|
49
|
+
* // Type: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // Documents: { // EntityRecognizerDocuments
|
|
53
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
54
|
+
* // TestS3Uri: "STRING_VALUE",
|
|
55
|
+
* // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
|
|
56
|
+
* // },
|
|
57
|
+
* // Annotations: { // EntityRecognizerAnnotations
|
|
58
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
59
|
+
* // TestS3Uri: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // EntityList: { // EntityRecognizerEntityList
|
|
62
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
63
|
+
* // },
|
|
64
|
+
* // AugmentedManifests: [ // EntityRecognizerAugmentedManifestsList
|
|
65
|
+
* // { // AugmentedManifestsListItem
|
|
66
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
67
|
+
* // Split: "TRAIN" || "TEST",
|
|
68
|
+
* // AttributeNames: [ // AttributeNamesList // required
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
71
|
+
* // AnnotationDataS3Uri: "STRING_VALUE",
|
|
72
|
+
* // SourceDocumentsS3Uri: "STRING_VALUE",
|
|
73
|
+
* // DocumentType: "PLAIN_TEXT_DOCUMENT" || "SEMI_STRUCTURED_DOCUMENT",
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // RecognizerMetadata: { // EntityRecognizerMetadata
|
|
78
|
+
* // NumberOfTrainedDocuments: Number("int"),
|
|
79
|
+
* // NumberOfTestDocuments: Number("int"),
|
|
80
|
+
* // EvaluationMetrics: { // EntityRecognizerEvaluationMetrics
|
|
81
|
+
* // Precision: Number("double"),
|
|
82
|
+
* // Recall: Number("double"),
|
|
83
|
+
* // F1Score: Number("double"),
|
|
84
|
+
* // },
|
|
85
|
+
* // EntityTypes: [ // EntityRecognizerMetadataEntityTypesList
|
|
86
|
+
* // { // EntityRecognizerMetadataEntityTypesListItem
|
|
87
|
+
* // Type: "STRING_VALUE",
|
|
88
|
+
* // EvaluationMetrics: { // EntityTypesEvaluationMetrics
|
|
89
|
+
* // Precision: Number("double"),
|
|
90
|
+
* // Recall: Number("double"),
|
|
91
|
+
* // F1Score: Number("double"),
|
|
92
|
+
* // },
|
|
93
|
+
* // NumberOfTrainMentions: Number("int"),
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
98
|
+
* // VolumeKmsKeyId: "STRING_VALUE",
|
|
99
|
+
* // VpcConfig: { // VpcConfig
|
|
100
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // Subnets: [ // Subnets // required
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // ModelKmsKeyId: "STRING_VALUE",
|
|
108
|
+
* // VersionName: "STRING_VALUE",
|
|
109
|
+
* // SourceModelArn: "STRING_VALUE",
|
|
110
|
+
* // FlywheelArn: "STRING_VALUE",
|
|
111
|
+
* // OutputDataConfig: { // EntityRecognizerOutputDataConfig
|
|
112
|
+
* // FlywheelStatsS3Prefix: "STRING_VALUE",
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // };
|
|
116
|
+
*
|
|
35
117
|
* ```
|
|
36
118
|
*
|
|
37
119
|
* @param DescribeEntityRecognizerCommandInput - {@link DescribeEntityRecognizerCommandInput}
|
|
@@ -52,6 +134,8 @@ export interface DescribeEntityRecognizerCommandOutput extends DescribeEntityRec
|
|
|
52
134
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
53
135
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
54
136
|
*
|
|
137
|
+
* @throws {@link ComprehendServiceException}
|
|
138
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
55
139
|
*
|
|
56
140
|
*/
|
|
57
141
|
export declare class DescribeEntityRecognizerCommand extends $Command<DescribeEntityRecognizerCommandInput, DescribeEntityRecognizerCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -31,6 +31,38 @@ export interface DescribeEventsDetectionJobCommandOutput extends DescribeEventsD
|
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DescribeEventsDetectionJobCommand(input);
|
|
33
33
|
* const response = await client.send(command);
|
|
34
|
+
* // { // DescribeEventsDetectionJobResponse
|
|
35
|
+
* // EventsDetectionJobProperties: { // EventsDetectionJobProperties
|
|
36
|
+
* // JobId: "STRING_VALUE",
|
|
37
|
+
* // JobArn: "STRING_VALUE",
|
|
38
|
+
* // JobName: "STRING_VALUE",
|
|
39
|
+
* // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
|
|
40
|
+
* // Message: "STRING_VALUE",
|
|
41
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
42
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // InputDataConfig: { // InputDataConfig
|
|
44
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
45
|
+
* // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
|
|
46
|
+
* // DocumentReaderConfig: { // DocumentReaderConfig
|
|
47
|
+
* // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
|
|
48
|
+
* // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
|
|
49
|
+
* // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
|
|
50
|
+
* // "TABLES" || "FORMS",
|
|
51
|
+
* // ],
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // OutputDataConfig: { // OutputDataConfig
|
|
55
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
56
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
|
|
59
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
60
|
+
* // TargetEventTypes: [ // TargetEventTypes
|
|
61
|
+
* // "STRING_VALUE",
|
|
62
|
+
* // ],
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
34
66
|
* ```
|
|
35
67
|
*
|
|
36
68
|
* @param DescribeEventsDetectionJobCommandInput - {@link DescribeEventsDetectionJobCommandInput}
|
|
@@ -51,6 +83,8 @@ export interface DescribeEventsDetectionJobCommandOutput extends DescribeEventsD
|
|
|
51
83
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
52
84
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
53
85
|
*
|
|
86
|
+
* @throws {@link ComprehendServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
54
88
|
*
|
|
55
89
|
*/
|
|
56
90
|
export declare class DescribeEventsDetectionJobCommand extends $Command<DescribeEventsDetectionJobCommandInput, DescribeEventsDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -32,6 +32,50 @@ export interface DescribeFlywheelCommandOutput extends DescribeFlywheelResponse,
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeFlywheelCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeFlywheelResponse
|
|
36
|
+
* // FlywheelProperties: { // FlywheelProperties
|
|
37
|
+
* // FlywheelArn: "STRING_VALUE",
|
|
38
|
+
* // ActiveModelArn: "STRING_VALUE",
|
|
39
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
40
|
+
* // TaskConfig: { // TaskConfig
|
|
41
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW", // required
|
|
42
|
+
* // DocumentClassificationConfig: { // DocumentClassificationConfig
|
|
43
|
+
* // Mode: "MULTI_CLASS" || "MULTI_LABEL", // required
|
|
44
|
+
* // Labels: [ // LabelsList
|
|
45
|
+
* // "STRING_VALUE",
|
|
46
|
+
* // ],
|
|
47
|
+
* // },
|
|
48
|
+
* // EntityRecognitionConfig: { // EntityRecognitionConfig
|
|
49
|
+
* // EntityTypes: [ // EntityTypesList // required
|
|
50
|
+
* // { // EntityTypesListItem
|
|
51
|
+
* // Type: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // DataLakeS3Uri: "STRING_VALUE",
|
|
57
|
+
* // DataSecurityConfig: { // DataSecurityConfig
|
|
58
|
+
* // ModelKmsKeyId: "STRING_VALUE",
|
|
59
|
+
* // VolumeKmsKeyId: "STRING_VALUE",
|
|
60
|
+
* // DataLakeKmsKeyId: "STRING_VALUE",
|
|
61
|
+
* // VpcConfig: { // VpcConfig
|
|
62
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // Subnets: [ // Subnets // required
|
|
66
|
+
* // "STRING_VALUE",
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED",
|
|
71
|
+
* // ModelType: "DOCUMENT_CLASSIFIER" || "ENTITY_RECOGNIZER",
|
|
72
|
+
* // Message: "STRING_VALUE",
|
|
73
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
74
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
75
|
+
* // LatestFlywheelIteration: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
35
79
|
* ```
|
|
36
80
|
*
|
|
37
81
|
* @param DescribeFlywheelCommandInput - {@link DescribeFlywheelCommandInput}
|
|
@@ -52,6 +96,8 @@ export interface DescribeFlywheelCommandOutput extends DescribeFlywheelResponse,
|
|
|
52
96
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
53
97
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
54
98
|
*
|
|
99
|
+
* @throws {@link ComprehendServiceException}
|
|
100
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
55
101
|
*
|
|
56
102
|
*/
|
|
57
103
|
export declare class DescribeFlywheelCommand extends $Command<DescribeFlywheelCommandInput, DescribeFlywheelCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -34,6 +34,32 @@ export interface DescribeFlywheelIterationCommandOutput extends DescribeFlywheel
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new DescribeFlywheelIterationCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // DescribeFlywheelIterationResponse
|
|
38
|
+
* // FlywheelIterationProperties: { // FlywheelIterationProperties
|
|
39
|
+
* // FlywheelArn: "STRING_VALUE",
|
|
40
|
+
* // FlywheelIterationId: "STRING_VALUE",
|
|
41
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
42
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // Status: "TRAINING" || "EVALUATING" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
|
|
44
|
+
* // Message: "STRING_VALUE",
|
|
45
|
+
* // EvaluatedModelArn: "STRING_VALUE",
|
|
46
|
+
* // EvaluatedModelMetrics: { // FlywheelModelEvaluationMetrics
|
|
47
|
+
* // AverageF1Score: Number("double"),
|
|
48
|
+
* // AveragePrecision: Number("double"),
|
|
49
|
+
* // AverageRecall: Number("double"),
|
|
50
|
+
* // AverageAccuracy: Number("double"),
|
|
51
|
+
* // },
|
|
52
|
+
* // TrainedModelArn: "STRING_VALUE",
|
|
53
|
+
* // TrainedModelMetrics: {
|
|
54
|
+
* // AverageF1Score: Number("double"),
|
|
55
|
+
* // AveragePrecision: Number("double"),
|
|
56
|
+
* // AverageRecall: Number("double"),
|
|
57
|
+
* // AverageAccuracy: Number("double"),
|
|
58
|
+
* // },
|
|
59
|
+
* // EvaluationManifestS3Prefix: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
37
63
|
* ```
|
|
38
64
|
*
|
|
39
65
|
* @param DescribeFlywheelIterationCommandInput - {@link DescribeFlywheelIterationCommandInput}
|
|
@@ -54,6 +80,8 @@ export interface DescribeFlywheelIterationCommandOutput extends DescribeFlywheel
|
|
|
54
80
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
55
81
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
56
82
|
*
|
|
83
|
+
* @throws {@link ComprehendServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
57
85
|
*
|
|
58
86
|
*/
|
|
59
87
|
export declare class DescribeFlywheelIterationCommand extends $Command<DescribeFlywheelIterationCommandInput, DescribeFlywheelIterationCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -32,6 +32,44 @@ export interface DescribeKeyPhrasesDetectionJobCommandOutput extends DescribeKey
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeKeyPhrasesDetectionJobCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeKeyPhrasesDetectionJobResponse
|
|
36
|
+
* // KeyPhrasesDetectionJobProperties: { // KeyPhrasesDetectionJobProperties
|
|
37
|
+
* // JobId: "STRING_VALUE",
|
|
38
|
+
* // JobArn: "STRING_VALUE",
|
|
39
|
+
* // JobName: "STRING_VALUE",
|
|
40
|
+
* // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
|
|
41
|
+
* // Message: "STRING_VALUE",
|
|
42
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // InputDataConfig: { // InputDataConfig
|
|
45
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
46
|
+
* // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
|
|
47
|
+
* // DocumentReaderConfig: { // DocumentReaderConfig
|
|
48
|
+
* // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
|
|
49
|
+
* // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
|
|
50
|
+
* // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
|
|
51
|
+
* // "TABLES" || "FORMS",
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // OutputDataConfig: { // OutputDataConfig
|
|
56
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
57
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
|
|
60
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
61
|
+
* // VolumeKmsKeyId: "STRING_VALUE",
|
|
62
|
+
* // VpcConfig: { // VpcConfig
|
|
63
|
+
* // SecurityGroupIds: [ // SecurityGroupIds // required
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // Subnets: [ // Subnets // required
|
|
67
|
+
* // "STRING_VALUE",
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
35
73
|
* ```
|
|
36
74
|
*
|
|
37
75
|
* @param DescribeKeyPhrasesDetectionJobCommandInput - {@link DescribeKeyPhrasesDetectionJobCommandInput}
|
|
@@ -52,6 +90,8 @@ export interface DescribeKeyPhrasesDetectionJobCommandOutput extends DescribeKey
|
|
|
52
90
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
53
91
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
54
92
|
*
|
|
93
|
+
* @throws {@link ComprehendServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
55
95
|
*
|
|
56
96
|
*/
|
|
57
97
|
export declare class DescribeKeyPhrasesDetectionJobCommand extends $Command<DescribeKeyPhrasesDetectionJobCommandInput, DescribeKeyPhrasesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -32,6 +32,43 @@ export interface DescribePiiEntitiesDetectionJobCommandOutput extends DescribePi
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribePiiEntitiesDetectionJobCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribePiiEntitiesDetectionJobResponse
|
|
36
|
+
* // PiiEntitiesDetectionJobProperties: { // PiiEntitiesDetectionJobProperties
|
|
37
|
+
* // JobId: "STRING_VALUE",
|
|
38
|
+
* // JobArn: "STRING_VALUE",
|
|
39
|
+
* // JobName: "STRING_VALUE",
|
|
40
|
+
* // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
|
|
41
|
+
* // Message: "STRING_VALUE",
|
|
42
|
+
* // SubmitTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // InputDataConfig: { // InputDataConfig
|
|
45
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
46
|
+
* // InputFormat: "ONE_DOC_PER_FILE" || "ONE_DOC_PER_LINE",
|
|
47
|
+
* // DocumentReaderConfig: { // DocumentReaderConfig
|
|
48
|
+
* // DocumentReadAction: "TEXTRACT_DETECT_DOCUMENT_TEXT" || "TEXTRACT_ANALYZE_DOCUMENT", // required
|
|
49
|
+
* // DocumentReadMode: "SERVICE_DEFAULT" || "FORCE_DOCUMENT_READ_ACTION",
|
|
50
|
+
* // FeatureTypes: [ // ListOfDocumentReadFeatureTypes
|
|
51
|
+
* // "TABLES" || "FORMS",
|
|
52
|
+
* // ],
|
|
53
|
+
* // },
|
|
54
|
+
* // },
|
|
55
|
+
* // OutputDataConfig: { // PiiOutputDataConfig
|
|
56
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
57
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // RedactionConfig: { // RedactionConfig
|
|
60
|
+
* // PiiEntityTypes: [ // ListOfPiiEntityTypes
|
|
61
|
+
* // "BANK_ACCOUNT_NUMBER" || "BANK_ROUTING" || "CREDIT_DEBIT_NUMBER" || "CREDIT_DEBIT_CVV" || "CREDIT_DEBIT_EXPIRY" || "PIN" || "EMAIL" || "ADDRESS" || "NAME" || "PHONE" || "SSN" || "DATE_TIME" || "PASSPORT_NUMBER" || "DRIVER_ID" || "URL" || "AGE" || "USERNAME" || "PASSWORD" || "AWS_ACCESS_KEY" || "AWS_SECRET_KEY" || "IP_ADDRESS" || "MAC_ADDRESS" || "ALL" || "LICENSE_PLATE" || "VEHICLE_IDENTIFICATION_NUMBER" || "UK_NATIONAL_INSURANCE_NUMBER" || "CA_SOCIAL_INSURANCE_NUMBER" || "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" || "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" || "IN_PERMANENT_ACCOUNT_NUMBER" || "IN_NREGA" || "INTERNATIONAL_BANK_ACCOUNT_NUMBER" || "SWIFT_CODE" || "UK_NATIONAL_HEALTH_SERVICE_NUMBER" || "CA_HEALTH_NUMBER" || "IN_AADHAAR" || "IN_VOTER_NUMBER",
|
|
62
|
+
* // ],
|
|
63
|
+
* // MaskMode: "MASK" || "REPLACE_WITH_PII_ENTITY_TYPE",
|
|
64
|
+
* // MaskCharacter: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // LanguageCode: "en" || "es" || "fr" || "de" || "it" || "pt" || "ar" || "hi" || "ja" || "ko" || "zh" || "zh-TW",
|
|
67
|
+
* // DataAccessRoleArn: "STRING_VALUE",
|
|
68
|
+
* // Mode: "ONLY_REDACTION" || "ONLY_OFFSETS",
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
35
72
|
* ```
|
|
36
73
|
*
|
|
37
74
|
* @param DescribePiiEntitiesDetectionJobCommandInput - {@link DescribePiiEntitiesDetectionJobCommandInput}
|
|
@@ -52,6 +89,8 @@ export interface DescribePiiEntitiesDetectionJobCommandOutput extends DescribePi
|
|
|
52
89
|
* @throws {@link TooManyRequestsException} (client fault)
|
|
53
90
|
* <p>The number of requests exceeds the limit. Resubmit your request later.</p>
|
|
54
91
|
*
|
|
92
|
+
* @throws {@link ComprehendServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
55
94
|
*
|
|
56
95
|
*/
|
|
57
96
|
export declare class DescribePiiEntitiesDetectionJobCommand extends $Command<DescribePiiEntitiesDetectionJobCommandInput, DescribePiiEntitiesDetectionJobCommandOutput, ComprehendClientResolvedConfig> {
|
|
@@ -32,6 +32,13 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DescribeResourcePolicyCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // DescribeResourcePolicyResponse
|
|
36
|
+
* // ResourcePolicy: "STRING_VALUE",
|
|
37
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
38
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
39
|
+
* // PolicyRevisionId: "STRING_VALUE",
|
|
40
|
+
* // };
|
|
41
|
+
*
|
|
35
42
|
* ```
|
|
36
43
|
*
|
|
37
44
|
* @param DescribeResourcePolicyCommandInput - {@link DescribeResourcePolicyCommandInput}
|
|
@@ -49,6 +56,8 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
|
|
|
49
56
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
50
57
|
* <p>The specified resource ARN was not found. Check the ARN and try your request again.</p>
|
|
51
58
|
*
|
|
59
|
+
* @throws {@link ComprehendServiceException}
|
|
60
|
+
* <p>Base exception class for all service exceptions from Comprehend service.</p>
|
|
52
61
|
*
|
|
53
62
|
*/
|
|
54
63
|
export declare class DescribeResourcePolicyCommand extends $Command<DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput, ComprehendClientResolvedConfig> {
|