@aws-sdk/client-comprehend 3.490.0 → 3.496.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/Comprehend.js +1 -181
- package/dist-cjs/ComprehendClient.js +1 -43
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +1 -29
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +1 -29
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +1 -29
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +1 -29
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +1 -29
- package/dist-cjs/commands/BatchDetectTargetedSentimentCommand.js +1 -29
- package/dist-cjs/commands/ClassifyDocumentCommand.js +1 -29
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +1 -28
- package/dist-cjs/commands/CreateDatasetCommand.js +1 -28
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +1 -28
- package/dist-cjs/commands/CreateEndpointCommand.js +1 -28
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +1 -28
- package/dist-cjs/commands/CreateFlywheelCommand.js +1 -28
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +1 -28
- package/dist-cjs/commands/DeleteEndpointCommand.js +1 -28
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +1 -28
- package/dist-cjs/commands/DeleteFlywheelCommand.js +1 -28
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeDatasetCommand.js +1 -28
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +1 -29
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeEndpointCommand.js +1 -28
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +1 -29
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeFlywheelCommand.js +1 -28
- package/dist-cjs/commands/DescribeFlywheelIterationCommand.js +1 -28
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +1 -29
- package/dist-cjs/commands/DetectEntitiesCommand.js +1 -29
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +1 -29
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +1 -28
- package/dist-cjs/commands/DetectSentimentCommand.js +1 -29
- package/dist-cjs/commands/DetectSyntaxCommand.js +1 -29
- package/dist-cjs/commands/DetectTargetedSentimentCommand.js +1 -29
- package/dist-cjs/commands/DetectToxicContentCommand.js +1 -29
- package/dist-cjs/commands/ImportModelCommand.js +1 -28
- package/dist-cjs/commands/ListDatasetsCommand.js +1 -28
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +1 -28
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +1 -28
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +1 -29
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/ListEndpointsCommand.js +1 -28
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +1 -28
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +1 -29
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/ListFlywheelIterationHistoryCommand.js +1 -28
- package/dist-cjs/commands/ListFlywheelsCommand.js +1 -28
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +1 -28
- package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +1 -28
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StartFlywheelIterationCommand.js +1 -28
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +1 -28
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +1 -28
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateEndpointCommand.js +1 -28
- package/dist-cjs/commands/UpdateFlywheelCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -88
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +8685 -11
- package/dist-cjs/models/ComprehendServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -5
- package/dist-cjs/models/models_0.js +1 -644
- package/dist-cjs/models/models_1.js +1 -32
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListDatasetsPaginator.js +1 -7
- package/dist-cjs/pagination/ListDocumentClassificationJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListDocumentClassifierSummariesPaginator.js +1 -7
- package/dist-cjs/pagination/ListDocumentClassifiersPaginator.js +1 -7
- package/dist-cjs/pagination/ListDominantLanguageDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEndpointsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEntitiesDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListEntityRecognizerSummariesPaginator.js +1 -7
- package/dist-cjs/pagination/ListEntityRecognizersPaginator.js +1 -7
- package/dist-cjs/pagination/ListEventsDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListFlywheelIterationHistoryPaginator.js +1 -7
- package/dist-cjs/pagination/ListFlywheelsPaginator.js +1 -7
- package/dist-cjs/pagination/ListKeyPhrasesDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPiiEntitiesDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSentimentDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTargetedSentimentDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/ListTopicsDetectionJobsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -21
- package/dist-cjs/protocols/Aws_json1_1.js +1 -6099
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ComprehendServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class ComprehendServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, ComprehendServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.ComprehendServiceException = ComprehendServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,644 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvalidFilterException = exports.ToxicContentType = exports.PiiEntitiesDetectionMaskMode = exports.PiiEntitiesDetectionMode = exports.FlywheelIterationStatus = exports.FlywheelStatus = exports.EndpointStatus = exports.ModelStatus = exports.JobNotFoundException = exports.JobStatus = exports.DatasetStatus = exports.ModelType = exports.EntityRecognizerDataFormat = exports.KmsKeyValidationException = exports.DocumentClassifierMode = exports.DocumentClassifierDocumentTypeFormat = exports.DocumentClassifierDataFormat = exports.TooManyTagsException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.ResourceLimitExceededException = exports.ResourceInUseException = exports.InputFormat = exports.DatasetDataFormat = exports.DatasetType = exports.PiiEntityType = exports.ResourceUnavailableException = exports.PageBasedWarningCode = exports.PageBasedErrorCode = exports.DocumentType = exports.DocumentReadFeatureTypes = exports.DocumentReadMode = exports.DocumentReadAction = exports.RelationshipType = exports.BlockType = exports.TargetedSentimentEntityType = exports.PartOfSpeechTagType = exports.SyntaxLanguageCode = exports.SentimentType = exports.UnsupportedLanguageException = exports.EntityType = exports.LanguageCode = exports.TextSizeLimitExceededException = exports.InvalidRequestException = exports.InvalidRequestReason = exports.InvalidRequestDetailReason = exports.InternalServerException = exports.BatchSizeLimitExceededException = exports.Split = exports.AugmentedManifestsDocumentTypeFormat = void 0;
|
|
4
|
-
exports.ListEntityRecognizersResponseFilterSensitiveLog = exports.ListDocumentClassifiersResponseFilterSensitiveLog = exports.DetectToxicContentRequestFilterSensitiveLog = exports.TextSegmentFilterSensitiveLog = exports.DetectTargetedSentimentResponseFilterSensitiveLog = exports.DetectTargetedSentimentRequestFilterSensitiveLog = exports.DetectSyntaxResponseFilterSensitiveLog = exports.DetectSyntaxRequestFilterSensitiveLog = exports.DetectSentimentResponseFilterSensitiveLog = exports.DetectSentimentRequestFilterSensitiveLog = exports.DetectKeyPhrasesResponseFilterSensitiveLog = exports.DetectKeyPhrasesRequestFilterSensitiveLog = exports.DetectEntitiesResponseFilterSensitiveLog = exports.DetectEntitiesRequestFilterSensitiveLog = exports.DetectDominantLanguageResponseFilterSensitiveLog = exports.DetectDominantLanguageRequestFilterSensitiveLog = exports.DescribeEntityRecognizerResponseFilterSensitiveLog = exports.EntityRecognizerPropertiesFilterSensitiveLog = exports.EntityRecognizerMetadataFilterSensitiveLog = exports.DescribeDocumentClassifierResponseFilterSensitiveLog = exports.DocumentClassifierPropertiesFilterSensitiveLog = exports.ClassifyDocumentResponseFilterSensitiveLog = exports.ClassifyDocumentRequestFilterSensitiveLog = exports.ClassifierMetadataFilterSensitiveLog = exports.BatchDetectTargetedSentimentResponseFilterSensitiveLog = exports.BatchDetectTargetedSentimentRequestFilterSensitiveLog = exports.BatchDetectSyntaxResponseFilterSensitiveLog = exports.BatchDetectSyntaxRequestFilterSensitiveLog = exports.BatchDetectSentimentResponseFilterSensitiveLog = exports.BatchDetectSentimentRequestFilterSensitiveLog = exports.BatchDetectKeyPhrasesResponseFilterSensitiveLog = exports.BatchDetectKeyPhrasesRequestFilterSensitiveLog = exports.BatchDetectEntitiesResponseFilterSensitiveLog = exports.BatchDetectEntitiesRequestFilterSensitiveLog = exports.BatchDetectDominantLanguageResponseFilterSensitiveLog = exports.BatchDetectDominantLanguageRequestFilterSensitiveLog = void 0;
|
|
5
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
-
const ComprehendServiceException_1 = require("./ComprehendServiceException");
|
|
7
|
-
exports.AugmentedManifestsDocumentTypeFormat = {
|
|
8
|
-
PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT",
|
|
9
|
-
SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT",
|
|
10
|
-
};
|
|
11
|
-
exports.Split = {
|
|
12
|
-
TEST: "TEST",
|
|
13
|
-
TRAIN: "TRAIN",
|
|
14
|
-
};
|
|
15
|
-
class BatchSizeLimitExceededException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
16
|
-
constructor(opts) {
|
|
17
|
-
super({
|
|
18
|
-
name: "BatchSizeLimitExceededException",
|
|
19
|
-
$fault: "client",
|
|
20
|
-
...opts,
|
|
21
|
-
});
|
|
22
|
-
this.name = "BatchSizeLimitExceededException";
|
|
23
|
-
this.$fault = "client";
|
|
24
|
-
Object.setPrototypeOf(this, BatchSizeLimitExceededException.prototype);
|
|
25
|
-
this.Message = opts.Message;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.BatchSizeLimitExceededException = BatchSizeLimitExceededException;
|
|
29
|
-
class InternalServerException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
30
|
-
constructor(opts) {
|
|
31
|
-
super({
|
|
32
|
-
name: "InternalServerException",
|
|
33
|
-
$fault: "server",
|
|
34
|
-
...opts,
|
|
35
|
-
});
|
|
36
|
-
this.name = "InternalServerException";
|
|
37
|
-
this.$fault = "server";
|
|
38
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
39
|
-
this.Message = opts.Message;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.InternalServerException = InternalServerException;
|
|
43
|
-
exports.InvalidRequestDetailReason = {
|
|
44
|
-
DOCUMENT_SIZE_EXCEEDED: "DOCUMENT_SIZE_EXCEEDED",
|
|
45
|
-
PAGE_LIMIT_EXCEEDED: "PAGE_LIMIT_EXCEEDED",
|
|
46
|
-
TEXTRACT_ACCESS_DENIED: "TEXTRACT_ACCESS_DENIED",
|
|
47
|
-
UNSUPPORTED_DOC_TYPE: "UNSUPPORTED_DOC_TYPE",
|
|
48
|
-
};
|
|
49
|
-
exports.InvalidRequestReason = {
|
|
50
|
-
INVALID_DOCUMENT: "INVALID_DOCUMENT",
|
|
51
|
-
};
|
|
52
|
-
class InvalidRequestException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "InvalidRequestException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
this.name = "InvalidRequestException";
|
|
60
|
-
this.$fault = "client";
|
|
61
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
62
|
-
this.Message = opts.Message;
|
|
63
|
-
this.Reason = opts.Reason;
|
|
64
|
-
this.Detail = opts.Detail;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.InvalidRequestException = InvalidRequestException;
|
|
68
|
-
class TextSizeLimitExceededException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
69
|
-
constructor(opts) {
|
|
70
|
-
super({
|
|
71
|
-
name: "TextSizeLimitExceededException",
|
|
72
|
-
$fault: "client",
|
|
73
|
-
...opts,
|
|
74
|
-
});
|
|
75
|
-
this.name = "TextSizeLimitExceededException";
|
|
76
|
-
this.$fault = "client";
|
|
77
|
-
Object.setPrototypeOf(this, TextSizeLimitExceededException.prototype);
|
|
78
|
-
this.Message = opts.Message;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
exports.TextSizeLimitExceededException = TextSizeLimitExceededException;
|
|
82
|
-
exports.LanguageCode = {
|
|
83
|
-
AR: "ar",
|
|
84
|
-
DE: "de",
|
|
85
|
-
EN: "en",
|
|
86
|
-
ES: "es",
|
|
87
|
-
FR: "fr",
|
|
88
|
-
HI: "hi",
|
|
89
|
-
IT: "it",
|
|
90
|
-
JA: "ja",
|
|
91
|
-
KO: "ko",
|
|
92
|
-
PT: "pt",
|
|
93
|
-
ZH: "zh",
|
|
94
|
-
ZH_TW: "zh-TW",
|
|
95
|
-
};
|
|
96
|
-
exports.EntityType = {
|
|
97
|
-
COMMERCIAL_ITEM: "COMMERCIAL_ITEM",
|
|
98
|
-
DATE: "DATE",
|
|
99
|
-
EVENT: "EVENT",
|
|
100
|
-
LOCATION: "LOCATION",
|
|
101
|
-
ORGANIZATION: "ORGANIZATION",
|
|
102
|
-
OTHER: "OTHER",
|
|
103
|
-
PERSON: "PERSON",
|
|
104
|
-
QUANTITY: "QUANTITY",
|
|
105
|
-
TITLE: "TITLE",
|
|
106
|
-
};
|
|
107
|
-
class UnsupportedLanguageException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
108
|
-
constructor(opts) {
|
|
109
|
-
super({
|
|
110
|
-
name: "UnsupportedLanguageException",
|
|
111
|
-
$fault: "client",
|
|
112
|
-
...opts,
|
|
113
|
-
});
|
|
114
|
-
this.name = "UnsupportedLanguageException";
|
|
115
|
-
this.$fault = "client";
|
|
116
|
-
Object.setPrototypeOf(this, UnsupportedLanguageException.prototype);
|
|
117
|
-
this.Message = opts.Message;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
exports.UnsupportedLanguageException = UnsupportedLanguageException;
|
|
121
|
-
exports.SentimentType = {
|
|
122
|
-
MIXED: "MIXED",
|
|
123
|
-
NEGATIVE: "NEGATIVE",
|
|
124
|
-
NEUTRAL: "NEUTRAL",
|
|
125
|
-
POSITIVE: "POSITIVE",
|
|
126
|
-
};
|
|
127
|
-
exports.SyntaxLanguageCode = {
|
|
128
|
-
DE: "de",
|
|
129
|
-
EN: "en",
|
|
130
|
-
ES: "es",
|
|
131
|
-
FR: "fr",
|
|
132
|
-
IT: "it",
|
|
133
|
-
PT: "pt",
|
|
134
|
-
};
|
|
135
|
-
exports.PartOfSpeechTagType = {
|
|
136
|
-
ADJ: "ADJ",
|
|
137
|
-
ADP: "ADP",
|
|
138
|
-
ADV: "ADV",
|
|
139
|
-
AUX: "AUX",
|
|
140
|
-
CCONJ: "CCONJ",
|
|
141
|
-
CONJ: "CONJ",
|
|
142
|
-
DET: "DET",
|
|
143
|
-
INTJ: "INTJ",
|
|
144
|
-
NOUN: "NOUN",
|
|
145
|
-
NUM: "NUM",
|
|
146
|
-
O: "O",
|
|
147
|
-
PART: "PART",
|
|
148
|
-
PRON: "PRON",
|
|
149
|
-
PROPN: "PROPN",
|
|
150
|
-
PUNCT: "PUNCT",
|
|
151
|
-
SCONJ: "SCONJ",
|
|
152
|
-
SYM: "SYM",
|
|
153
|
-
VERB: "VERB",
|
|
154
|
-
};
|
|
155
|
-
exports.TargetedSentimentEntityType = {
|
|
156
|
-
ATTRIBUTE: "ATTRIBUTE",
|
|
157
|
-
BOOK: "BOOK",
|
|
158
|
-
BRAND: "BRAND",
|
|
159
|
-
COMMERCIAL_ITEM: "COMMERCIAL_ITEM",
|
|
160
|
-
DATE: "DATE",
|
|
161
|
-
EVENT: "EVENT",
|
|
162
|
-
FACILITY: "FACILITY",
|
|
163
|
-
GAME: "GAME",
|
|
164
|
-
LOCATION: "LOCATION",
|
|
165
|
-
MOVIE: "MOVIE",
|
|
166
|
-
MUSIC: "MUSIC",
|
|
167
|
-
ORGANIZATION: "ORGANIZATION",
|
|
168
|
-
OTHER: "OTHER",
|
|
169
|
-
PERSON: "PERSON",
|
|
170
|
-
PERSONAL_TITLE: "PERSONAL_TITLE",
|
|
171
|
-
QUANTITY: "QUANTITY",
|
|
172
|
-
SOFTWARE: "SOFTWARE",
|
|
173
|
-
};
|
|
174
|
-
exports.BlockType = {
|
|
175
|
-
LINE: "LINE",
|
|
176
|
-
WORD: "WORD",
|
|
177
|
-
};
|
|
178
|
-
exports.RelationshipType = {
|
|
179
|
-
CHILD: "CHILD",
|
|
180
|
-
};
|
|
181
|
-
exports.DocumentReadAction = {
|
|
182
|
-
TEXTRACT_ANALYZE_DOCUMENT: "TEXTRACT_ANALYZE_DOCUMENT",
|
|
183
|
-
TEXTRACT_DETECT_DOCUMENT_TEXT: "TEXTRACT_DETECT_DOCUMENT_TEXT",
|
|
184
|
-
};
|
|
185
|
-
exports.DocumentReadMode = {
|
|
186
|
-
FORCE_DOCUMENT_READ_ACTION: "FORCE_DOCUMENT_READ_ACTION",
|
|
187
|
-
SERVICE_DEFAULT: "SERVICE_DEFAULT",
|
|
188
|
-
};
|
|
189
|
-
exports.DocumentReadFeatureTypes = {
|
|
190
|
-
FORMS: "FORMS",
|
|
191
|
-
TABLES: "TABLES",
|
|
192
|
-
};
|
|
193
|
-
exports.DocumentType = {
|
|
194
|
-
IMAGE: "IMAGE",
|
|
195
|
-
MS_WORD: "MS_WORD",
|
|
196
|
-
NATIVE_PDF: "NATIVE_PDF",
|
|
197
|
-
PLAIN_TEXT: "PLAIN_TEXT",
|
|
198
|
-
SCANNED_PDF: "SCANNED_PDF",
|
|
199
|
-
TEXTRACT_ANALYZE_DOCUMENT_JSON: "TEXTRACT_ANALYZE_DOCUMENT_JSON",
|
|
200
|
-
TEXTRACT_DETECT_DOCUMENT_TEXT_JSON: "TEXTRACT_DETECT_DOCUMENT_TEXT_JSON",
|
|
201
|
-
};
|
|
202
|
-
exports.PageBasedErrorCode = {
|
|
203
|
-
INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR",
|
|
204
|
-
PAGE_CHARACTERS_EXCEEDED: "PAGE_CHARACTERS_EXCEEDED",
|
|
205
|
-
PAGE_SIZE_EXCEEDED: "PAGE_SIZE_EXCEEDED",
|
|
206
|
-
TEXTRACT_BAD_PAGE: "TEXTRACT_BAD_PAGE",
|
|
207
|
-
TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED: "TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED",
|
|
208
|
-
};
|
|
209
|
-
exports.PageBasedWarningCode = {
|
|
210
|
-
INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL: "INFERENCING_NATIVE_DOCUMENT_WITH_PLAINTEXT_TRAINED_MODEL",
|
|
211
|
-
INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL: "INFERENCING_PLAINTEXT_WITH_NATIVE_TRAINED_MODEL",
|
|
212
|
-
};
|
|
213
|
-
class ResourceUnavailableException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
214
|
-
constructor(opts) {
|
|
215
|
-
super({
|
|
216
|
-
name: "ResourceUnavailableException",
|
|
217
|
-
$fault: "client",
|
|
218
|
-
...opts,
|
|
219
|
-
});
|
|
220
|
-
this.name = "ResourceUnavailableException";
|
|
221
|
-
this.$fault = "client";
|
|
222
|
-
Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
|
|
223
|
-
this.Message = opts.Message;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
exports.ResourceUnavailableException = ResourceUnavailableException;
|
|
227
|
-
exports.PiiEntityType = {
|
|
228
|
-
ADDRESS: "ADDRESS",
|
|
229
|
-
AGE: "AGE",
|
|
230
|
-
ALL: "ALL",
|
|
231
|
-
AWS_ACCESS_KEY: "AWS_ACCESS_KEY",
|
|
232
|
-
AWS_SECRET_KEY: "AWS_SECRET_KEY",
|
|
233
|
-
BANK_ACCOUNT_NUMBER: "BANK_ACCOUNT_NUMBER",
|
|
234
|
-
BANK_ROUTING: "BANK_ROUTING",
|
|
235
|
-
CA_HEALTH_NUMBER: "CA_HEALTH_NUMBER",
|
|
236
|
-
CA_SOCIAL_INSURANCE_NUMBER: "CA_SOCIAL_INSURANCE_NUMBER",
|
|
237
|
-
CREDIT_DEBIT_CVV: "CREDIT_DEBIT_CVV",
|
|
238
|
-
CREDIT_DEBIT_EXPIRY: "CREDIT_DEBIT_EXPIRY",
|
|
239
|
-
CREDIT_DEBIT_NUMBER: "CREDIT_DEBIT_NUMBER",
|
|
240
|
-
DATE_TIME: "DATE_TIME",
|
|
241
|
-
DRIVER_ID: "DRIVER_ID",
|
|
242
|
-
EMAIL: "EMAIL",
|
|
243
|
-
INTERNATIONAL_BANK_ACCOUNT_NUMBER: "INTERNATIONAL_BANK_ACCOUNT_NUMBER",
|
|
244
|
-
IN_AADHAAR: "IN_AADHAAR",
|
|
245
|
-
IN_NREGA: "IN_NREGA",
|
|
246
|
-
IN_PERMANENT_ACCOUNT_NUMBER: "IN_PERMANENT_ACCOUNT_NUMBER",
|
|
247
|
-
IN_VOTER_NUMBER: "IN_VOTER_NUMBER",
|
|
248
|
-
IP_ADDRESS: "IP_ADDRESS",
|
|
249
|
-
LICENSE_PLATE: "LICENSE_PLATE",
|
|
250
|
-
MAC_ADDRESS: "MAC_ADDRESS",
|
|
251
|
-
NAME: "NAME",
|
|
252
|
-
PASSPORT_NUMBER: "PASSPORT_NUMBER",
|
|
253
|
-
PASSWORD: "PASSWORD",
|
|
254
|
-
PHONE: "PHONE",
|
|
255
|
-
PIN: "PIN",
|
|
256
|
-
SSN: "SSN",
|
|
257
|
-
SWIFT_CODE: "SWIFT_CODE",
|
|
258
|
-
UK_NATIONAL_HEALTH_SERVICE_NUMBER: "UK_NATIONAL_HEALTH_SERVICE_NUMBER",
|
|
259
|
-
UK_NATIONAL_INSURANCE_NUMBER: "UK_NATIONAL_INSURANCE_NUMBER",
|
|
260
|
-
UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER: "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER",
|
|
261
|
-
URL: "URL",
|
|
262
|
-
USERNAME: "USERNAME",
|
|
263
|
-
US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER: "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER",
|
|
264
|
-
VEHICLE_IDENTIFICATION_NUMBER: "VEHICLE_IDENTIFICATION_NUMBER",
|
|
265
|
-
};
|
|
266
|
-
exports.DatasetType = {
|
|
267
|
-
TEST: "TEST",
|
|
268
|
-
TRAIN: "TRAIN",
|
|
269
|
-
};
|
|
270
|
-
exports.DatasetDataFormat = {
|
|
271
|
-
AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST",
|
|
272
|
-
COMPREHEND_CSV: "COMPREHEND_CSV",
|
|
273
|
-
};
|
|
274
|
-
exports.InputFormat = {
|
|
275
|
-
ONE_DOC_PER_FILE: "ONE_DOC_PER_FILE",
|
|
276
|
-
ONE_DOC_PER_LINE: "ONE_DOC_PER_LINE",
|
|
277
|
-
};
|
|
278
|
-
class ResourceInUseException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
279
|
-
constructor(opts) {
|
|
280
|
-
super({
|
|
281
|
-
name: "ResourceInUseException",
|
|
282
|
-
$fault: "client",
|
|
283
|
-
...opts,
|
|
284
|
-
});
|
|
285
|
-
this.name = "ResourceInUseException";
|
|
286
|
-
this.$fault = "client";
|
|
287
|
-
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
288
|
-
this.Message = opts.Message;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
exports.ResourceInUseException = ResourceInUseException;
|
|
292
|
-
class ResourceLimitExceededException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
293
|
-
constructor(opts) {
|
|
294
|
-
super({
|
|
295
|
-
name: "ResourceLimitExceededException",
|
|
296
|
-
$fault: "client",
|
|
297
|
-
...opts,
|
|
298
|
-
});
|
|
299
|
-
this.name = "ResourceLimitExceededException";
|
|
300
|
-
this.$fault = "client";
|
|
301
|
-
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
302
|
-
this.Message = opts.Message;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
306
|
-
class ResourceNotFoundException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
307
|
-
constructor(opts) {
|
|
308
|
-
super({
|
|
309
|
-
name: "ResourceNotFoundException",
|
|
310
|
-
$fault: "client",
|
|
311
|
-
...opts,
|
|
312
|
-
});
|
|
313
|
-
this.name = "ResourceNotFoundException";
|
|
314
|
-
this.$fault = "client";
|
|
315
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
316
|
-
this.Message = opts.Message;
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
320
|
-
class TooManyRequestsException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
321
|
-
constructor(opts) {
|
|
322
|
-
super({
|
|
323
|
-
name: "TooManyRequestsException",
|
|
324
|
-
$fault: "client",
|
|
325
|
-
...opts,
|
|
326
|
-
});
|
|
327
|
-
this.name = "TooManyRequestsException";
|
|
328
|
-
this.$fault = "client";
|
|
329
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
330
|
-
this.Message = opts.Message;
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
334
|
-
class TooManyTagsException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
335
|
-
constructor(opts) {
|
|
336
|
-
super({
|
|
337
|
-
name: "TooManyTagsException",
|
|
338
|
-
$fault: "client",
|
|
339
|
-
...opts,
|
|
340
|
-
});
|
|
341
|
-
this.name = "TooManyTagsException";
|
|
342
|
-
this.$fault = "client";
|
|
343
|
-
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
344
|
-
this.Message = opts.Message;
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
exports.TooManyTagsException = TooManyTagsException;
|
|
348
|
-
exports.DocumentClassifierDataFormat = {
|
|
349
|
-
AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST",
|
|
350
|
-
COMPREHEND_CSV: "COMPREHEND_CSV",
|
|
351
|
-
};
|
|
352
|
-
exports.DocumentClassifierDocumentTypeFormat = {
|
|
353
|
-
PLAIN_TEXT_DOCUMENT: "PLAIN_TEXT_DOCUMENT",
|
|
354
|
-
SEMI_STRUCTURED_DOCUMENT: "SEMI_STRUCTURED_DOCUMENT",
|
|
355
|
-
};
|
|
356
|
-
exports.DocumentClassifierMode = {
|
|
357
|
-
MULTI_CLASS: "MULTI_CLASS",
|
|
358
|
-
MULTI_LABEL: "MULTI_LABEL",
|
|
359
|
-
};
|
|
360
|
-
class KmsKeyValidationException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
361
|
-
constructor(opts) {
|
|
362
|
-
super({
|
|
363
|
-
name: "KmsKeyValidationException",
|
|
364
|
-
$fault: "client",
|
|
365
|
-
...opts,
|
|
366
|
-
});
|
|
367
|
-
this.name = "KmsKeyValidationException";
|
|
368
|
-
this.$fault = "client";
|
|
369
|
-
Object.setPrototypeOf(this, KmsKeyValidationException.prototype);
|
|
370
|
-
this.Message = opts.Message;
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
exports.KmsKeyValidationException = KmsKeyValidationException;
|
|
374
|
-
exports.EntityRecognizerDataFormat = {
|
|
375
|
-
AUGMENTED_MANIFEST: "AUGMENTED_MANIFEST",
|
|
376
|
-
COMPREHEND_CSV: "COMPREHEND_CSV",
|
|
377
|
-
};
|
|
378
|
-
exports.ModelType = {
|
|
379
|
-
DOCUMENT_CLASSIFIER: "DOCUMENT_CLASSIFIER",
|
|
380
|
-
ENTITY_RECOGNIZER: "ENTITY_RECOGNIZER",
|
|
381
|
-
};
|
|
382
|
-
exports.DatasetStatus = {
|
|
383
|
-
COMPLETED: "COMPLETED",
|
|
384
|
-
CREATING: "CREATING",
|
|
385
|
-
FAILED: "FAILED",
|
|
386
|
-
};
|
|
387
|
-
exports.JobStatus = {
|
|
388
|
-
COMPLETED: "COMPLETED",
|
|
389
|
-
FAILED: "FAILED",
|
|
390
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
391
|
-
STOPPED: "STOPPED",
|
|
392
|
-
STOP_REQUESTED: "STOP_REQUESTED",
|
|
393
|
-
SUBMITTED: "SUBMITTED",
|
|
394
|
-
};
|
|
395
|
-
class JobNotFoundException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
396
|
-
constructor(opts) {
|
|
397
|
-
super({
|
|
398
|
-
name: "JobNotFoundException",
|
|
399
|
-
$fault: "client",
|
|
400
|
-
...opts,
|
|
401
|
-
});
|
|
402
|
-
this.name = "JobNotFoundException";
|
|
403
|
-
this.$fault = "client";
|
|
404
|
-
Object.setPrototypeOf(this, JobNotFoundException.prototype);
|
|
405
|
-
this.Message = opts.Message;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
exports.JobNotFoundException = JobNotFoundException;
|
|
409
|
-
exports.ModelStatus = {
|
|
410
|
-
DELETING: "DELETING",
|
|
411
|
-
IN_ERROR: "IN_ERROR",
|
|
412
|
-
STOPPED: "STOPPED",
|
|
413
|
-
STOP_REQUESTED: "STOP_REQUESTED",
|
|
414
|
-
SUBMITTED: "SUBMITTED",
|
|
415
|
-
TRAINED: "TRAINED",
|
|
416
|
-
TRAINED_WITH_WARNING: "TRAINED_WITH_WARNING",
|
|
417
|
-
TRAINING: "TRAINING",
|
|
418
|
-
};
|
|
419
|
-
exports.EndpointStatus = {
|
|
420
|
-
CREATING: "CREATING",
|
|
421
|
-
DELETING: "DELETING",
|
|
422
|
-
FAILED: "FAILED",
|
|
423
|
-
IN_SERVICE: "IN_SERVICE",
|
|
424
|
-
UPDATING: "UPDATING",
|
|
425
|
-
};
|
|
426
|
-
exports.FlywheelStatus = {
|
|
427
|
-
ACTIVE: "ACTIVE",
|
|
428
|
-
CREATING: "CREATING",
|
|
429
|
-
DELETING: "DELETING",
|
|
430
|
-
FAILED: "FAILED",
|
|
431
|
-
UPDATING: "UPDATING",
|
|
432
|
-
};
|
|
433
|
-
exports.FlywheelIterationStatus = {
|
|
434
|
-
COMPLETED: "COMPLETED",
|
|
435
|
-
EVALUATING: "EVALUATING",
|
|
436
|
-
FAILED: "FAILED",
|
|
437
|
-
STOPPED: "STOPPED",
|
|
438
|
-
STOP_REQUESTED: "STOP_REQUESTED",
|
|
439
|
-
TRAINING: "TRAINING",
|
|
440
|
-
};
|
|
441
|
-
exports.PiiEntitiesDetectionMode = {
|
|
442
|
-
ONLY_OFFSETS: "ONLY_OFFSETS",
|
|
443
|
-
ONLY_REDACTION: "ONLY_REDACTION",
|
|
444
|
-
};
|
|
445
|
-
exports.PiiEntitiesDetectionMaskMode = {
|
|
446
|
-
MASK: "MASK",
|
|
447
|
-
REPLACE_WITH_PII_ENTITY_TYPE: "REPLACE_WITH_PII_ENTITY_TYPE",
|
|
448
|
-
};
|
|
449
|
-
exports.ToxicContentType = {
|
|
450
|
-
GRAPHIC: "GRAPHIC",
|
|
451
|
-
HARASSMENT_OR_ABUSE: "HARASSMENT_OR_ABUSE",
|
|
452
|
-
HATE_SPEECH: "HATE_SPEECH",
|
|
453
|
-
INSULT: "INSULT",
|
|
454
|
-
PROFANITY: "PROFANITY",
|
|
455
|
-
SEXUAL: "SEXUAL",
|
|
456
|
-
VIOLENCE_OR_THREAT: "VIOLENCE_OR_THREAT",
|
|
457
|
-
};
|
|
458
|
-
class InvalidFilterException extends ComprehendServiceException_1.ComprehendServiceException {
|
|
459
|
-
constructor(opts) {
|
|
460
|
-
super({
|
|
461
|
-
name: "InvalidFilterException",
|
|
462
|
-
$fault: "client",
|
|
463
|
-
...opts,
|
|
464
|
-
});
|
|
465
|
-
this.name = "InvalidFilterException";
|
|
466
|
-
this.$fault = "client";
|
|
467
|
-
Object.setPrototypeOf(this, InvalidFilterException.prototype);
|
|
468
|
-
this.Message = opts.Message;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
exports.InvalidFilterException = InvalidFilterException;
|
|
472
|
-
const BatchDetectDominantLanguageRequestFilterSensitiveLog = (obj) => ({
|
|
473
|
-
...obj,
|
|
474
|
-
...(obj.TextList && { TextList: smithy_client_1.SENSITIVE_STRING }),
|
|
475
|
-
});
|
|
476
|
-
exports.BatchDetectDominantLanguageRequestFilterSensitiveLog = BatchDetectDominantLanguageRequestFilterSensitiveLog;
|
|
477
|
-
const BatchDetectDominantLanguageResponseFilterSensitiveLog = (obj) => ({
|
|
478
|
-
...obj,
|
|
479
|
-
});
|
|
480
|
-
exports.BatchDetectDominantLanguageResponseFilterSensitiveLog = BatchDetectDominantLanguageResponseFilterSensitiveLog;
|
|
481
|
-
const BatchDetectEntitiesRequestFilterSensitiveLog = (obj) => ({
|
|
482
|
-
...obj,
|
|
483
|
-
...(obj.TextList && { TextList: smithy_client_1.SENSITIVE_STRING }),
|
|
484
|
-
});
|
|
485
|
-
exports.BatchDetectEntitiesRequestFilterSensitiveLog = BatchDetectEntitiesRequestFilterSensitiveLog;
|
|
486
|
-
const BatchDetectEntitiesResponseFilterSensitiveLog = (obj) => ({
|
|
487
|
-
...obj,
|
|
488
|
-
});
|
|
489
|
-
exports.BatchDetectEntitiesResponseFilterSensitiveLog = BatchDetectEntitiesResponseFilterSensitiveLog;
|
|
490
|
-
const BatchDetectKeyPhrasesRequestFilterSensitiveLog = (obj) => ({
|
|
491
|
-
...obj,
|
|
492
|
-
...(obj.TextList && { TextList: smithy_client_1.SENSITIVE_STRING }),
|
|
493
|
-
});
|
|
494
|
-
exports.BatchDetectKeyPhrasesRequestFilterSensitiveLog = BatchDetectKeyPhrasesRequestFilterSensitiveLog;
|
|
495
|
-
const BatchDetectKeyPhrasesResponseFilterSensitiveLog = (obj) => ({
|
|
496
|
-
...obj,
|
|
497
|
-
});
|
|
498
|
-
exports.BatchDetectKeyPhrasesResponseFilterSensitiveLog = BatchDetectKeyPhrasesResponseFilterSensitiveLog;
|
|
499
|
-
const BatchDetectSentimentRequestFilterSensitiveLog = (obj) => ({
|
|
500
|
-
...obj,
|
|
501
|
-
...(obj.TextList && { TextList: smithy_client_1.SENSITIVE_STRING }),
|
|
502
|
-
});
|
|
503
|
-
exports.BatchDetectSentimentRequestFilterSensitiveLog = BatchDetectSentimentRequestFilterSensitiveLog;
|
|
504
|
-
const BatchDetectSentimentResponseFilterSensitiveLog = (obj) => ({
|
|
505
|
-
...obj,
|
|
506
|
-
});
|
|
507
|
-
exports.BatchDetectSentimentResponseFilterSensitiveLog = BatchDetectSentimentResponseFilterSensitiveLog;
|
|
508
|
-
const BatchDetectSyntaxRequestFilterSensitiveLog = (obj) => ({
|
|
509
|
-
...obj,
|
|
510
|
-
...(obj.TextList && { TextList: smithy_client_1.SENSITIVE_STRING }),
|
|
511
|
-
});
|
|
512
|
-
exports.BatchDetectSyntaxRequestFilterSensitiveLog = BatchDetectSyntaxRequestFilterSensitiveLog;
|
|
513
|
-
const BatchDetectSyntaxResponseFilterSensitiveLog = (obj) => ({
|
|
514
|
-
...obj,
|
|
515
|
-
});
|
|
516
|
-
exports.BatchDetectSyntaxResponseFilterSensitiveLog = BatchDetectSyntaxResponseFilterSensitiveLog;
|
|
517
|
-
const BatchDetectTargetedSentimentRequestFilterSensitiveLog = (obj) => ({
|
|
518
|
-
...obj,
|
|
519
|
-
...(obj.TextList && { TextList: smithy_client_1.SENSITIVE_STRING }),
|
|
520
|
-
});
|
|
521
|
-
exports.BatchDetectTargetedSentimentRequestFilterSensitiveLog = BatchDetectTargetedSentimentRequestFilterSensitiveLog;
|
|
522
|
-
const BatchDetectTargetedSentimentResponseFilterSensitiveLog = (obj) => ({
|
|
523
|
-
...obj,
|
|
524
|
-
});
|
|
525
|
-
exports.BatchDetectTargetedSentimentResponseFilterSensitiveLog = BatchDetectTargetedSentimentResponseFilterSensitiveLog;
|
|
526
|
-
const ClassifierMetadataFilterSensitiveLog = (obj) => ({
|
|
527
|
-
...obj,
|
|
528
|
-
});
|
|
529
|
-
exports.ClassifierMetadataFilterSensitiveLog = ClassifierMetadataFilterSensitiveLog;
|
|
530
|
-
const ClassifyDocumentRequestFilterSensitiveLog = (obj) => ({
|
|
531
|
-
...obj,
|
|
532
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
533
|
-
});
|
|
534
|
-
exports.ClassifyDocumentRequestFilterSensitiveLog = ClassifyDocumentRequestFilterSensitiveLog;
|
|
535
|
-
const ClassifyDocumentResponseFilterSensitiveLog = (obj) => ({
|
|
536
|
-
...obj,
|
|
537
|
-
});
|
|
538
|
-
exports.ClassifyDocumentResponseFilterSensitiveLog = ClassifyDocumentResponseFilterSensitiveLog;
|
|
539
|
-
const DocumentClassifierPropertiesFilterSensitiveLog = (obj) => ({
|
|
540
|
-
...obj,
|
|
541
|
-
...(obj.ClassifierMetadata && { ClassifierMetadata: smithy_client_1.SENSITIVE_STRING }),
|
|
542
|
-
});
|
|
543
|
-
exports.DocumentClassifierPropertiesFilterSensitiveLog = DocumentClassifierPropertiesFilterSensitiveLog;
|
|
544
|
-
const DescribeDocumentClassifierResponseFilterSensitiveLog = (obj) => ({
|
|
545
|
-
...obj,
|
|
546
|
-
...(obj.DocumentClassifierProperties && {
|
|
547
|
-
DocumentClassifierProperties: (0, exports.DocumentClassifierPropertiesFilterSensitiveLog)(obj.DocumentClassifierProperties),
|
|
548
|
-
}),
|
|
549
|
-
});
|
|
550
|
-
exports.DescribeDocumentClassifierResponseFilterSensitiveLog = DescribeDocumentClassifierResponseFilterSensitiveLog;
|
|
551
|
-
const EntityRecognizerMetadataFilterSensitiveLog = (obj) => ({
|
|
552
|
-
...obj,
|
|
553
|
-
});
|
|
554
|
-
exports.EntityRecognizerMetadataFilterSensitiveLog = EntityRecognizerMetadataFilterSensitiveLog;
|
|
555
|
-
const EntityRecognizerPropertiesFilterSensitiveLog = (obj) => ({
|
|
556
|
-
...obj,
|
|
557
|
-
...(obj.RecognizerMetadata && { RecognizerMetadata: smithy_client_1.SENSITIVE_STRING }),
|
|
558
|
-
});
|
|
559
|
-
exports.EntityRecognizerPropertiesFilterSensitiveLog = EntityRecognizerPropertiesFilterSensitiveLog;
|
|
560
|
-
const DescribeEntityRecognizerResponseFilterSensitiveLog = (obj) => ({
|
|
561
|
-
...obj,
|
|
562
|
-
...(obj.EntityRecognizerProperties && {
|
|
563
|
-
EntityRecognizerProperties: (0, exports.EntityRecognizerPropertiesFilterSensitiveLog)(obj.EntityRecognizerProperties),
|
|
564
|
-
}),
|
|
565
|
-
});
|
|
566
|
-
exports.DescribeEntityRecognizerResponseFilterSensitiveLog = DescribeEntityRecognizerResponseFilterSensitiveLog;
|
|
567
|
-
const DetectDominantLanguageRequestFilterSensitiveLog = (obj) => ({
|
|
568
|
-
...obj,
|
|
569
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
570
|
-
});
|
|
571
|
-
exports.DetectDominantLanguageRequestFilterSensitiveLog = DetectDominantLanguageRequestFilterSensitiveLog;
|
|
572
|
-
const DetectDominantLanguageResponseFilterSensitiveLog = (obj) => ({
|
|
573
|
-
...obj,
|
|
574
|
-
});
|
|
575
|
-
exports.DetectDominantLanguageResponseFilterSensitiveLog = DetectDominantLanguageResponseFilterSensitiveLog;
|
|
576
|
-
const DetectEntitiesRequestFilterSensitiveLog = (obj) => ({
|
|
577
|
-
...obj,
|
|
578
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
579
|
-
});
|
|
580
|
-
exports.DetectEntitiesRequestFilterSensitiveLog = DetectEntitiesRequestFilterSensitiveLog;
|
|
581
|
-
const DetectEntitiesResponseFilterSensitiveLog = (obj) => ({
|
|
582
|
-
...obj,
|
|
583
|
-
});
|
|
584
|
-
exports.DetectEntitiesResponseFilterSensitiveLog = DetectEntitiesResponseFilterSensitiveLog;
|
|
585
|
-
const DetectKeyPhrasesRequestFilterSensitiveLog = (obj) => ({
|
|
586
|
-
...obj,
|
|
587
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
588
|
-
});
|
|
589
|
-
exports.DetectKeyPhrasesRequestFilterSensitiveLog = DetectKeyPhrasesRequestFilterSensitiveLog;
|
|
590
|
-
const DetectKeyPhrasesResponseFilterSensitiveLog = (obj) => ({
|
|
591
|
-
...obj,
|
|
592
|
-
});
|
|
593
|
-
exports.DetectKeyPhrasesResponseFilterSensitiveLog = DetectKeyPhrasesResponseFilterSensitiveLog;
|
|
594
|
-
const DetectSentimentRequestFilterSensitiveLog = (obj) => ({
|
|
595
|
-
...obj,
|
|
596
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
597
|
-
});
|
|
598
|
-
exports.DetectSentimentRequestFilterSensitiveLog = DetectSentimentRequestFilterSensitiveLog;
|
|
599
|
-
const DetectSentimentResponseFilterSensitiveLog = (obj) => ({
|
|
600
|
-
...obj,
|
|
601
|
-
});
|
|
602
|
-
exports.DetectSentimentResponseFilterSensitiveLog = DetectSentimentResponseFilterSensitiveLog;
|
|
603
|
-
const DetectSyntaxRequestFilterSensitiveLog = (obj) => ({
|
|
604
|
-
...obj,
|
|
605
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
606
|
-
});
|
|
607
|
-
exports.DetectSyntaxRequestFilterSensitiveLog = DetectSyntaxRequestFilterSensitiveLog;
|
|
608
|
-
const DetectSyntaxResponseFilterSensitiveLog = (obj) => ({
|
|
609
|
-
...obj,
|
|
610
|
-
});
|
|
611
|
-
exports.DetectSyntaxResponseFilterSensitiveLog = DetectSyntaxResponseFilterSensitiveLog;
|
|
612
|
-
const DetectTargetedSentimentRequestFilterSensitiveLog = (obj) => ({
|
|
613
|
-
...obj,
|
|
614
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
615
|
-
});
|
|
616
|
-
exports.DetectTargetedSentimentRequestFilterSensitiveLog = DetectTargetedSentimentRequestFilterSensitiveLog;
|
|
617
|
-
const DetectTargetedSentimentResponseFilterSensitiveLog = (obj) => ({
|
|
618
|
-
...obj,
|
|
619
|
-
});
|
|
620
|
-
exports.DetectTargetedSentimentResponseFilterSensitiveLog = DetectTargetedSentimentResponseFilterSensitiveLog;
|
|
621
|
-
const TextSegmentFilterSensitiveLog = (obj) => ({
|
|
622
|
-
...obj,
|
|
623
|
-
...(obj.Text && { Text: smithy_client_1.SENSITIVE_STRING }),
|
|
624
|
-
});
|
|
625
|
-
exports.TextSegmentFilterSensitiveLog = TextSegmentFilterSensitiveLog;
|
|
626
|
-
const DetectToxicContentRequestFilterSensitiveLog = (obj) => ({
|
|
627
|
-
...obj,
|
|
628
|
-
...(obj.TextSegments && { TextSegments: smithy_client_1.SENSITIVE_STRING }),
|
|
629
|
-
});
|
|
630
|
-
exports.DetectToxicContentRequestFilterSensitiveLog = DetectToxicContentRequestFilterSensitiveLog;
|
|
631
|
-
const ListDocumentClassifiersResponseFilterSensitiveLog = (obj) => ({
|
|
632
|
-
...obj,
|
|
633
|
-
...(obj.DocumentClassifierPropertiesList && {
|
|
634
|
-
DocumentClassifierPropertiesList: obj.DocumentClassifierPropertiesList.map((item) => (0, exports.DocumentClassifierPropertiesFilterSensitiveLog)(item)),
|
|
635
|
-
}),
|
|
636
|
-
});
|
|
637
|
-
exports.ListDocumentClassifiersResponseFilterSensitiveLog = ListDocumentClassifiersResponseFilterSensitiveLog;
|
|
638
|
-
const ListEntityRecognizersResponseFilterSensitiveLog = (obj) => ({
|
|
639
|
-
...obj,
|
|
640
|
-
...(obj.EntityRecognizerPropertiesList && {
|
|
641
|
-
EntityRecognizerPropertiesList: obj.EntityRecognizerPropertiesList.map((item) => (0, exports.EntityRecognizerPropertiesFilterSensitiveLog)(item)),
|
|
642
|
-
}),
|
|
643
|
-
});
|
|
644
|
-
exports.ListEntityRecognizersResponseFilterSensitiveLog = ListEntityRecognizersResponseFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|