@aws-sdk/client-comprehend 3.934.0 → 3.936.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +281 -281
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +267 -0
- package/dist-es/models/errors.js +229 -0
- package/dist-es/models/models_0.js +1 -468
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/StopEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopEventsDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopKeyPhrasesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPiiEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFlywheelCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +555 -0
- package/dist-types/models/errors.d.ts +230 -0
- package/dist-types/models/models_0.d.ts +352 -757
- package/dist-types/ts3.4/commands/StopEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEventsDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopKeyPhrasesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPiiEntitiesDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTargetedSentimentDetectionJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingDocumentClassifierCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingEntityRecognizerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFlywheelCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +326 -0
- package/dist-types/ts3.4/models/errors.d.ts +140 -0
- package/dist-types/ts3.4/models/models_0.d.ts +121 -445
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -29
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -380
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -106
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.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-comprehend",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
2
|
-
export class ConcurrentModificationException extends __BaseException {
|
|
3
|
-
name = "ConcurrentModificationException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
Message;
|
|
6
|
-
constructor(opts) {
|
|
7
|
-
super({
|
|
8
|
-
name: "ConcurrentModificationException",
|
|
9
|
-
$fault: "client",
|
|
10
|
-
...opts,
|
|
11
|
-
});
|
|
12
|
-
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
13
|
-
this.Message = opts.Message;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
export class TooManyTagKeysException extends __BaseException {
|
|
17
|
-
name = "TooManyTagKeysException";
|
|
18
|
-
$fault = "client";
|
|
19
|
-
Message;
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "TooManyTagKeysException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
Object.setPrototypeOf(this, TooManyTagKeysException.prototype);
|
|
27
|
-
this.Message = opts.Message;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,380 +0,0 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
3
|
-
import { FlywheelProperties, JobStatus, Tag, VpcConfig } from "./models_0";
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface StopEntitiesDetectionJobRequest {
|
|
8
|
-
/**
|
|
9
|
-
* <p>The identifier of the entities detection job to stop.</p>
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
JobId: string | undefined;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export interface StopEntitiesDetectionJobResponse {
|
|
18
|
-
/**
|
|
19
|
-
* <p>The identifier of the entities detection job to stop.</p>
|
|
20
|
-
* @public
|
|
21
|
-
*/
|
|
22
|
-
JobId?: string | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or
|
|
25
|
-
* <code>STOPPED</code> if the job was previously stopped with the
|
|
26
|
-
* <code>StopEntitiesDetectionJob</code> operation.</p>
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
JobStatus?: JobStatus | undefined;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
export interface StopEventsDetectionJobRequest {
|
|
35
|
-
/**
|
|
36
|
-
* <p>The identifier of the events detection job to stop.</p>
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
JobId: string | undefined;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
export interface StopEventsDetectionJobResponse {
|
|
45
|
-
/**
|
|
46
|
-
* <p>The identifier of the events detection job to stop.</p>
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
JobId?: string | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* <p>The status of the events detection job.</p>
|
|
52
|
-
* @public
|
|
53
|
-
*/
|
|
54
|
-
JobStatus?: JobStatus | undefined;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* @public
|
|
58
|
-
*/
|
|
59
|
-
export interface StopKeyPhrasesDetectionJobRequest {
|
|
60
|
-
/**
|
|
61
|
-
* <p>The identifier of the key phrases detection job to stop.</p>
|
|
62
|
-
* @public
|
|
63
|
-
*/
|
|
64
|
-
JobId: string | undefined;
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export interface StopKeyPhrasesDetectionJobResponse {
|
|
70
|
-
/**
|
|
71
|
-
* <p>The identifier of the key phrases detection job to stop.</p>
|
|
72
|
-
* @public
|
|
73
|
-
*/
|
|
74
|
-
JobId?: string | undefined;
|
|
75
|
-
/**
|
|
76
|
-
* <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or
|
|
77
|
-
* <code>STOPPED</code> if the job was previously stopped with the
|
|
78
|
-
* <code>StopKeyPhrasesDetectionJob</code> operation.</p>
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
JobStatus?: JobStatus | undefined;
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
export interface StopPiiEntitiesDetectionJobRequest {
|
|
87
|
-
/**
|
|
88
|
-
* <p>The identifier of the PII entities detection job to stop.</p>
|
|
89
|
-
* @public
|
|
90
|
-
*/
|
|
91
|
-
JobId: string | undefined;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* @public
|
|
95
|
-
*/
|
|
96
|
-
export interface StopPiiEntitiesDetectionJobResponse {
|
|
97
|
-
/**
|
|
98
|
-
* <p>The identifier of the PII entities detection job to stop.</p>
|
|
99
|
-
* @public
|
|
100
|
-
*/
|
|
101
|
-
JobId?: string | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* <p>The status of the PII entities detection job.</p>
|
|
104
|
-
* @public
|
|
105
|
-
*/
|
|
106
|
-
JobStatus?: JobStatus | undefined;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* @public
|
|
110
|
-
*/
|
|
111
|
-
export interface StopSentimentDetectionJobRequest {
|
|
112
|
-
/**
|
|
113
|
-
* <p>The identifier of the sentiment detection job to stop.</p>
|
|
114
|
-
* @public
|
|
115
|
-
*/
|
|
116
|
-
JobId: string | undefined;
|
|
117
|
-
}
|
|
118
|
-
/**
|
|
119
|
-
* @public
|
|
120
|
-
*/
|
|
121
|
-
export interface StopSentimentDetectionJobResponse {
|
|
122
|
-
/**
|
|
123
|
-
* <p>The identifier of the sentiment detection job to stop.</p>
|
|
124
|
-
* @public
|
|
125
|
-
*/
|
|
126
|
-
JobId?: string | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or
|
|
129
|
-
* <code>STOPPED</code> if the job was previously stopped with the
|
|
130
|
-
* <code>StopSentimentDetectionJob</code> operation.</p>
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
JobStatus?: JobStatus | undefined;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
*/
|
|
138
|
-
export interface StopTargetedSentimentDetectionJobRequest {
|
|
139
|
-
/**
|
|
140
|
-
* <p>The identifier of the targeted sentiment detection job to stop.</p>
|
|
141
|
-
* @public
|
|
142
|
-
*/
|
|
143
|
-
JobId: string | undefined;
|
|
144
|
-
}
|
|
145
|
-
/**
|
|
146
|
-
* @public
|
|
147
|
-
*/
|
|
148
|
-
export interface StopTargetedSentimentDetectionJobResponse {
|
|
149
|
-
/**
|
|
150
|
-
* <p>The identifier of the targeted sentiment detection job to stop.</p>
|
|
151
|
-
* @public
|
|
152
|
-
*/
|
|
153
|
-
JobId?: string | undefined;
|
|
154
|
-
/**
|
|
155
|
-
* <p>Either <code>STOP_REQUESTED</code> if the job is currently running, or
|
|
156
|
-
* <code>STOPPED</code> if the job was previously stopped with the
|
|
157
|
-
* <code>StopSentimentDetectionJob</code> operation.</p>
|
|
158
|
-
* @public
|
|
159
|
-
*/
|
|
160
|
-
JobStatus?: JobStatus | undefined;
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
export interface StopTrainingDocumentClassifierRequest {
|
|
166
|
-
/**
|
|
167
|
-
* <p>The Amazon Resource Name (ARN) that identifies the document classifier currently being
|
|
168
|
-
* trained.</p>
|
|
169
|
-
* @public
|
|
170
|
-
*/
|
|
171
|
-
DocumentClassifierArn: string | undefined;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* @public
|
|
175
|
-
*/
|
|
176
|
-
export interface StopTrainingDocumentClassifierResponse {
|
|
177
|
-
}
|
|
178
|
-
/**
|
|
179
|
-
* @public
|
|
180
|
-
*/
|
|
181
|
-
export interface StopTrainingEntityRecognizerRequest {
|
|
182
|
-
/**
|
|
183
|
-
* <p>The Amazon Resource Name (ARN) that identifies the entity recognizer currently being
|
|
184
|
-
* trained.</p>
|
|
185
|
-
* @public
|
|
186
|
-
*/
|
|
187
|
-
EntityRecognizerArn: string | undefined;
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* @public
|
|
191
|
-
*/
|
|
192
|
-
export interface StopTrainingEntityRecognizerResponse {
|
|
193
|
-
}
|
|
194
|
-
/**
|
|
195
|
-
* <p>Concurrent modification of the tags associated with an Amazon Comprehend resource is not
|
|
196
|
-
* supported. </p>
|
|
197
|
-
* @public
|
|
198
|
-
*/
|
|
199
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
200
|
-
readonly name: "ConcurrentModificationException";
|
|
201
|
-
readonly $fault: "client";
|
|
202
|
-
Message?: string | undefined;
|
|
203
|
-
/**
|
|
204
|
-
* @internal
|
|
205
|
-
*/
|
|
206
|
-
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* @public
|
|
210
|
-
*/
|
|
211
|
-
export interface TagResourceRequest {
|
|
212
|
-
/**
|
|
213
|
-
* <p>The Amazon Resource Name (ARN) of the given Amazon Comprehend resource to which you want
|
|
214
|
-
* to associate the tags. </p>
|
|
215
|
-
* @public
|
|
216
|
-
*/
|
|
217
|
-
ResourceArn: string | undefined;
|
|
218
|
-
/**
|
|
219
|
-
* <p>Tags being associated with a specific Amazon Comprehend resource. There can be a maximum
|
|
220
|
-
* of 50 tags (both existing and pending) associated with a specific resource. </p>
|
|
221
|
-
* @public
|
|
222
|
-
*/
|
|
223
|
-
Tags: Tag[] | undefined;
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
228
|
-
export interface TagResourceResponse {
|
|
229
|
-
}
|
|
230
|
-
/**
|
|
231
|
-
* <p>The request contains more tag keys than can be associated with a resource (50 tag keys per
|
|
232
|
-
* resource).</p>
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
export declare class TooManyTagKeysException extends __BaseException {
|
|
236
|
-
readonly name: "TooManyTagKeysException";
|
|
237
|
-
readonly $fault: "client";
|
|
238
|
-
Message?: string | undefined;
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
constructor(opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>);
|
|
243
|
-
}
|
|
244
|
-
/**
|
|
245
|
-
* @public
|
|
246
|
-
*/
|
|
247
|
-
export interface UntagResourceRequest {
|
|
248
|
-
/**
|
|
249
|
-
* <p> The Amazon Resource Name (ARN) of the given Amazon Comprehend resource from which you
|
|
250
|
-
* want to remove the tags. </p>
|
|
251
|
-
* @public
|
|
252
|
-
*/
|
|
253
|
-
ResourceArn: string | undefined;
|
|
254
|
-
/**
|
|
255
|
-
* <p>The initial part of a key-value pair that forms a tag being removed from a given resource.
|
|
256
|
-
* For example, a tag with "Sales" as the key might be added to a resource to indicate its use by
|
|
257
|
-
* the sales department. Keys must be unique and cannot be duplicated for a particular resource.
|
|
258
|
-
* </p>
|
|
259
|
-
* @public
|
|
260
|
-
*/
|
|
261
|
-
TagKeys: string[] | undefined;
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* @public
|
|
265
|
-
*/
|
|
266
|
-
export interface UntagResourceResponse {
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* @public
|
|
270
|
-
*/
|
|
271
|
-
export interface UpdateEndpointRequest {
|
|
272
|
-
/**
|
|
273
|
-
* <p>The Amazon Resource Number (ARN) of the endpoint being updated.</p>
|
|
274
|
-
* @public
|
|
275
|
-
*/
|
|
276
|
-
EndpointArn: string | undefined;
|
|
277
|
-
/**
|
|
278
|
-
* <p>The ARN of the new model to use when updating an existing endpoint.</p>
|
|
279
|
-
* @public
|
|
280
|
-
*/
|
|
281
|
-
DesiredModelArn?: string | undefined;
|
|
282
|
-
/**
|
|
283
|
-
* <p> The desired number of inference units to be used by the model using this endpoint.
|
|
284
|
-
*
|
|
285
|
-
* Each inference unit represents of a throughput of 100 characters per second.</p>
|
|
286
|
-
* @public
|
|
287
|
-
*/
|
|
288
|
-
DesiredInferenceUnits?: number | undefined;
|
|
289
|
-
/**
|
|
290
|
-
* <p>Data access role ARN to use in case the new model is encrypted with a customer CMK.</p>
|
|
291
|
-
* @public
|
|
292
|
-
*/
|
|
293
|
-
DesiredDataAccessRoleArn?: string | undefined;
|
|
294
|
-
/**
|
|
295
|
-
* <p>The Amazon Resource Number (ARN) of the flywheel</p>
|
|
296
|
-
* @public
|
|
297
|
-
*/
|
|
298
|
-
FlywheelArn?: string | undefined;
|
|
299
|
-
}
|
|
300
|
-
/**
|
|
301
|
-
* @public
|
|
302
|
-
*/
|
|
303
|
-
export interface UpdateEndpointResponse {
|
|
304
|
-
/**
|
|
305
|
-
* <p>The Amazon Resource Number (ARN) of the new model.</p>
|
|
306
|
-
* @public
|
|
307
|
-
*/
|
|
308
|
-
DesiredModelArn?: string | undefined;
|
|
309
|
-
}
|
|
310
|
-
/**
|
|
311
|
-
* <p>Data security configuration.</p>
|
|
312
|
-
* @public
|
|
313
|
-
*/
|
|
314
|
-
export interface UpdateDataSecurityConfig {
|
|
315
|
-
/**
|
|
316
|
-
* <p>ID for the KMS key that Amazon Comprehend uses to encrypt
|
|
317
|
-
* trained custom models. The ModelKmsKeyId can be either of the following formats:</p>
|
|
318
|
-
* <ul>
|
|
319
|
-
* <li>
|
|
320
|
-
* <p>KMS Key ID: <code>"1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
321
|
-
* </p>
|
|
322
|
-
* </li>
|
|
323
|
-
* <li>
|
|
324
|
-
* <p>Amazon Resource Name (ARN) of a KMS Key:
|
|
325
|
-
* <code>"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"</code>
|
|
326
|
-
* </p>
|
|
327
|
-
* </li>
|
|
328
|
-
* </ul>
|
|
329
|
-
* @public
|
|
330
|
-
*/
|
|
331
|
-
ModelKmsKeyId?: string | undefined;
|
|
332
|
-
/**
|
|
333
|
-
* <p>ID for the KMS key that Amazon Comprehend uses to encrypt the volume.</p>
|
|
334
|
-
* @public
|
|
335
|
-
*/
|
|
336
|
-
VolumeKmsKeyId?: string | undefined;
|
|
337
|
-
/**
|
|
338
|
-
* <p> Configuration parameters for an optional private Virtual Private Cloud (VPC) containing
|
|
339
|
-
* the resources you are using for the job. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon
|
|
340
|
-
* VPC</a>. </p>
|
|
341
|
-
* @public
|
|
342
|
-
*/
|
|
343
|
-
VpcConfig?: VpcConfig | undefined;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* @public
|
|
347
|
-
*/
|
|
348
|
-
export interface UpdateFlywheelRequest {
|
|
349
|
-
/**
|
|
350
|
-
* <p>The Amazon Resource Number (ARN) of the flywheel to update.</p>
|
|
351
|
-
* @public
|
|
352
|
-
*/
|
|
353
|
-
FlywheelArn: string | undefined;
|
|
354
|
-
/**
|
|
355
|
-
* <p>The Amazon Resource Number (ARN) of the active model version.</p>
|
|
356
|
-
* @public
|
|
357
|
-
*/
|
|
358
|
-
ActiveModelArn?: string | undefined;
|
|
359
|
-
/**
|
|
360
|
-
* <p>The Amazon Resource Name (ARN) of the IAM role that
|
|
361
|
-
* grants Amazon Comprehend permission to access the flywheel data.</p>
|
|
362
|
-
* @public
|
|
363
|
-
*/
|
|
364
|
-
DataAccessRoleArn?: string | undefined;
|
|
365
|
-
/**
|
|
366
|
-
* <p>Flywheel data security configuration.</p>
|
|
367
|
-
* @public
|
|
368
|
-
*/
|
|
369
|
-
DataSecurityConfig?: UpdateDataSecurityConfig | undefined;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* @public
|
|
373
|
-
*/
|
|
374
|
-
export interface UpdateFlywheelResponse {
|
|
375
|
-
/**
|
|
376
|
-
* <p>The flywheel properties.</p>
|
|
377
|
-
* @public
|
|
378
|
-
*/
|
|
379
|
-
FlywheelProperties?: FlywheelProperties | undefined;
|
|
380
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { ComprehendServiceException as __BaseException } from "./ComprehendServiceException";
|
|
3
|
-
import { FlywheelProperties, JobStatus, Tag, VpcConfig } from "./models_0";
|
|
4
|
-
export interface StopEntitiesDetectionJobRequest {
|
|
5
|
-
JobId: string | undefined;
|
|
6
|
-
}
|
|
7
|
-
export interface StopEntitiesDetectionJobResponse {
|
|
8
|
-
JobId?: string | undefined;
|
|
9
|
-
JobStatus?: JobStatus | undefined;
|
|
10
|
-
}
|
|
11
|
-
export interface StopEventsDetectionJobRequest {
|
|
12
|
-
JobId: string | undefined;
|
|
13
|
-
}
|
|
14
|
-
export interface StopEventsDetectionJobResponse {
|
|
15
|
-
JobId?: string | undefined;
|
|
16
|
-
JobStatus?: JobStatus | undefined;
|
|
17
|
-
}
|
|
18
|
-
export interface StopKeyPhrasesDetectionJobRequest {
|
|
19
|
-
JobId: string | undefined;
|
|
20
|
-
}
|
|
21
|
-
export interface StopKeyPhrasesDetectionJobResponse {
|
|
22
|
-
JobId?: string | undefined;
|
|
23
|
-
JobStatus?: JobStatus | undefined;
|
|
24
|
-
}
|
|
25
|
-
export interface StopPiiEntitiesDetectionJobRequest {
|
|
26
|
-
JobId: string | undefined;
|
|
27
|
-
}
|
|
28
|
-
export interface StopPiiEntitiesDetectionJobResponse {
|
|
29
|
-
JobId?: string | undefined;
|
|
30
|
-
JobStatus?: JobStatus | undefined;
|
|
31
|
-
}
|
|
32
|
-
export interface StopSentimentDetectionJobRequest {
|
|
33
|
-
JobId: string | undefined;
|
|
34
|
-
}
|
|
35
|
-
export interface StopSentimentDetectionJobResponse {
|
|
36
|
-
JobId?: string | undefined;
|
|
37
|
-
JobStatus?: JobStatus | undefined;
|
|
38
|
-
}
|
|
39
|
-
export interface StopTargetedSentimentDetectionJobRequest {
|
|
40
|
-
JobId: string | undefined;
|
|
41
|
-
}
|
|
42
|
-
export interface StopTargetedSentimentDetectionJobResponse {
|
|
43
|
-
JobId?: string | undefined;
|
|
44
|
-
JobStatus?: JobStatus | undefined;
|
|
45
|
-
}
|
|
46
|
-
export interface StopTrainingDocumentClassifierRequest {
|
|
47
|
-
DocumentClassifierArn: string | undefined;
|
|
48
|
-
}
|
|
49
|
-
export interface StopTrainingDocumentClassifierResponse {}
|
|
50
|
-
export interface StopTrainingEntityRecognizerRequest {
|
|
51
|
-
EntityRecognizerArn: string | undefined;
|
|
52
|
-
}
|
|
53
|
-
export interface StopTrainingEntityRecognizerResponse {}
|
|
54
|
-
export declare class ConcurrentModificationException extends __BaseException {
|
|
55
|
-
readonly name: "ConcurrentModificationException";
|
|
56
|
-
readonly $fault: "client";
|
|
57
|
-
Message?: string | undefined;
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<
|
|
60
|
-
ConcurrentModificationException,
|
|
61
|
-
__BaseException
|
|
62
|
-
>
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
export interface TagResourceRequest {
|
|
66
|
-
ResourceArn: string | undefined;
|
|
67
|
-
Tags: Tag[] | undefined;
|
|
68
|
-
}
|
|
69
|
-
export interface TagResourceResponse {}
|
|
70
|
-
export declare class TooManyTagKeysException extends __BaseException {
|
|
71
|
-
readonly name: "TooManyTagKeysException";
|
|
72
|
-
readonly $fault: "client";
|
|
73
|
-
Message?: string | undefined;
|
|
74
|
-
constructor(
|
|
75
|
-
opts: __ExceptionOptionType<TooManyTagKeysException, __BaseException>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
export interface UntagResourceRequest {
|
|
79
|
-
ResourceArn: string | undefined;
|
|
80
|
-
TagKeys: string[] | undefined;
|
|
81
|
-
}
|
|
82
|
-
export interface UntagResourceResponse {}
|
|
83
|
-
export interface UpdateEndpointRequest {
|
|
84
|
-
EndpointArn: string | undefined;
|
|
85
|
-
DesiredModelArn?: string | undefined;
|
|
86
|
-
DesiredInferenceUnits?: number | undefined;
|
|
87
|
-
DesiredDataAccessRoleArn?: string | undefined;
|
|
88
|
-
FlywheelArn?: string | undefined;
|
|
89
|
-
}
|
|
90
|
-
export interface UpdateEndpointResponse {
|
|
91
|
-
DesiredModelArn?: string | undefined;
|
|
92
|
-
}
|
|
93
|
-
export interface UpdateDataSecurityConfig {
|
|
94
|
-
ModelKmsKeyId?: string | undefined;
|
|
95
|
-
VolumeKmsKeyId?: string | undefined;
|
|
96
|
-
VpcConfig?: VpcConfig | undefined;
|
|
97
|
-
}
|
|
98
|
-
export interface UpdateFlywheelRequest {
|
|
99
|
-
FlywheelArn: string | undefined;
|
|
100
|
-
ActiveModelArn?: string | undefined;
|
|
101
|
-
DataAccessRoleArn?: string | undefined;
|
|
102
|
-
DataSecurityConfig?: UpdateDataSecurityConfig | undefined;
|
|
103
|
-
}
|
|
104
|
-
export interface UpdateFlywheelResponse {
|
|
105
|
-
FlywheelProperties?: FlywheelProperties | undefined;
|
|
106
|
-
}
|