@aws-sdk/client-comprehend 3.54.0 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/ComprehendClient.js +13 -13
- package/dist-cjs/commands/BatchDetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/BatchDetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ClassifyDocumentCommand.js +3 -3
- package/dist-cjs/commands/ContainsPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/CreateDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/CreateEndpointCommand.js +3 -3
- package/dist-cjs/commands/CreateEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DeleteEndpointCommand.js +3 -3
- package/dist-cjs/commands/DeleteEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/DescribeDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribePiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/DetectDominantLanguageCommand.js +3 -3
- package/dist-cjs/commands/DetectEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectKeyPhrasesCommand.js +3 -3
- package/dist-cjs/commands/DetectPiiEntitiesCommand.js +3 -3
- package/dist-cjs/commands/DetectSentimentCommand.js +3 -3
- package/dist-cjs/commands/DetectSyntaxCommand.js +3 -3
- package/dist-cjs/commands/ImportModelCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassificationJobsCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifierSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListDocumentClassifiersCommand.js +3 -3
- package/dist-cjs/commands/ListDominantLanguageDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizerSummariesCommand.js +3 -3
- package/dist-cjs/commands/ListEntityRecognizersCommand.js +3 -3
- package/dist-cjs/commands/ListEventsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListKeyPhrasesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListPiiEntitiesDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListSentimentDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTargetedSentimentDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListTopicsDetectionJobsCommand.js +3 -3
- package/dist-cjs/commands/PutResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/StartDocumentClassificationJobCommand.js +3 -3
- package/dist-cjs/commands/StartDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StartTopicsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopDominantLanguageDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopEventsDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopKeyPhrasesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopPiiEntitiesDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopTargetedSentimentDetectionJobCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingDocumentClassifierCommand.js +3 -3
- package/dist-cjs/commands/StopTrainingEntityRecognizerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateEndpointCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +417 -417
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Comprehend.js +71 -71
- package/dist-es/pagination/ListDocumentClassificationJobsPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifierSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListDocumentClassifiersPaginator.js +4 -4
- package/dist-es/pagination/ListDominantLanguageDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntitiesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizerSummariesPaginator.js +4 -4
- package/dist-es/pagination/ListEntityRecognizersPaginator.js +4 -4
- package/dist-es/pagination/ListEventsDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListKeyPhrasesDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListSentimentDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListTargetedSentimentDetectionJobsPaginator.js +4 -4
- package/dist-es/pagination/ListTopicsDetectionJobsPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/dist-es/Comprehend.js
CHANGED
|
@@ -83,7 +83,7 @@ var Comprehend = (function (_super) {
|
|
|
83
83
|
}
|
|
84
84
|
else if (typeof cb === "function") {
|
|
85
85
|
if (typeof optionsOrCb !== "object")
|
|
86
|
-
throw new Error("Expect http options but get "
|
|
86
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
87
87
|
this.send(command, optionsOrCb || {}, cb);
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
@@ -97,7 +97,7 @@ var Comprehend = (function (_super) {
|
|
|
97
97
|
}
|
|
98
98
|
else if (typeof cb === "function") {
|
|
99
99
|
if (typeof optionsOrCb !== "object")
|
|
100
|
-
throw new Error("Expect http options but get "
|
|
100
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
101
101
|
this.send(command, optionsOrCb || {}, cb);
|
|
102
102
|
}
|
|
103
103
|
else {
|
|
@@ -111,7 +111,7 @@ var Comprehend = (function (_super) {
|
|
|
111
111
|
}
|
|
112
112
|
else if (typeof cb === "function") {
|
|
113
113
|
if (typeof optionsOrCb !== "object")
|
|
114
|
-
throw new Error("Expect http options but get "
|
|
114
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
115
115
|
this.send(command, optionsOrCb || {}, cb);
|
|
116
116
|
}
|
|
117
117
|
else {
|
|
@@ -125,7 +125,7 @@ var Comprehend = (function (_super) {
|
|
|
125
125
|
}
|
|
126
126
|
else if (typeof cb === "function") {
|
|
127
127
|
if (typeof optionsOrCb !== "object")
|
|
128
|
-
throw new Error("Expect http options but get "
|
|
128
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
129
129
|
this.send(command, optionsOrCb || {}, cb);
|
|
130
130
|
}
|
|
131
131
|
else {
|
|
@@ -139,7 +139,7 @@ var Comprehend = (function (_super) {
|
|
|
139
139
|
}
|
|
140
140
|
else if (typeof cb === "function") {
|
|
141
141
|
if (typeof optionsOrCb !== "object")
|
|
142
|
-
throw new Error("Expect http options but get "
|
|
142
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
143
143
|
this.send(command, optionsOrCb || {}, cb);
|
|
144
144
|
}
|
|
145
145
|
else {
|
|
@@ -153,7 +153,7 @@ var Comprehend = (function (_super) {
|
|
|
153
153
|
}
|
|
154
154
|
else if (typeof cb === "function") {
|
|
155
155
|
if (typeof optionsOrCb !== "object")
|
|
156
|
-
throw new Error("Expect http options but get "
|
|
156
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
157
157
|
this.send(command, optionsOrCb || {}, cb);
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
@@ -167,7 +167,7 @@ var Comprehend = (function (_super) {
|
|
|
167
167
|
}
|
|
168
168
|
else if (typeof cb === "function") {
|
|
169
169
|
if (typeof optionsOrCb !== "object")
|
|
170
|
-
throw new Error("Expect http options but get "
|
|
170
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
171
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
172
172
|
}
|
|
173
173
|
else {
|
|
@@ -181,7 +181,7 @@ var Comprehend = (function (_super) {
|
|
|
181
181
|
}
|
|
182
182
|
else if (typeof cb === "function") {
|
|
183
183
|
if (typeof optionsOrCb !== "object")
|
|
184
|
-
throw new Error("Expect http options but get "
|
|
184
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
185
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
186
186
|
}
|
|
187
187
|
else {
|
|
@@ -195,7 +195,7 @@ var Comprehend = (function (_super) {
|
|
|
195
195
|
}
|
|
196
196
|
else if (typeof cb === "function") {
|
|
197
197
|
if (typeof optionsOrCb !== "object")
|
|
198
|
-
throw new Error("Expect http options but get "
|
|
198
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
199
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
200
200
|
}
|
|
201
201
|
else {
|
|
@@ -209,7 +209,7 @@ var Comprehend = (function (_super) {
|
|
|
209
209
|
}
|
|
210
210
|
else if (typeof cb === "function") {
|
|
211
211
|
if (typeof optionsOrCb !== "object")
|
|
212
|
-
throw new Error("Expect http options but get "
|
|
212
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
213
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
214
214
|
}
|
|
215
215
|
else {
|
|
@@ -223,7 +223,7 @@ var Comprehend = (function (_super) {
|
|
|
223
223
|
}
|
|
224
224
|
else if (typeof cb === "function") {
|
|
225
225
|
if (typeof optionsOrCb !== "object")
|
|
226
|
-
throw new Error("Expect http options but get "
|
|
226
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
227
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
228
228
|
}
|
|
229
229
|
else {
|
|
@@ -237,7 +237,7 @@ var Comprehend = (function (_super) {
|
|
|
237
237
|
}
|
|
238
238
|
else if (typeof cb === "function") {
|
|
239
239
|
if (typeof optionsOrCb !== "object")
|
|
240
|
-
throw new Error("Expect http options but get "
|
|
240
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
241
241
|
this.send(command, optionsOrCb || {}, cb);
|
|
242
242
|
}
|
|
243
243
|
else {
|
|
@@ -251,7 +251,7 @@ var Comprehend = (function (_super) {
|
|
|
251
251
|
}
|
|
252
252
|
else if (typeof cb === "function") {
|
|
253
253
|
if (typeof optionsOrCb !== "object")
|
|
254
|
-
throw new Error("Expect http options but get "
|
|
254
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
255
255
|
this.send(command, optionsOrCb || {}, cb);
|
|
256
256
|
}
|
|
257
257
|
else {
|
|
@@ -265,7 +265,7 @@ var Comprehend = (function (_super) {
|
|
|
265
265
|
}
|
|
266
266
|
else if (typeof cb === "function") {
|
|
267
267
|
if (typeof optionsOrCb !== "object")
|
|
268
|
-
throw new Error("Expect http options but get "
|
|
268
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
269
269
|
this.send(command, optionsOrCb || {}, cb);
|
|
270
270
|
}
|
|
271
271
|
else {
|
|
@@ -279,7 +279,7 @@ var Comprehend = (function (_super) {
|
|
|
279
279
|
}
|
|
280
280
|
else if (typeof cb === "function") {
|
|
281
281
|
if (typeof optionsOrCb !== "object")
|
|
282
|
-
throw new Error("Expect http options but get "
|
|
282
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
283
283
|
this.send(command, optionsOrCb || {}, cb);
|
|
284
284
|
}
|
|
285
285
|
else {
|
|
@@ -293,7 +293,7 @@ var Comprehend = (function (_super) {
|
|
|
293
293
|
}
|
|
294
294
|
else if (typeof cb === "function") {
|
|
295
295
|
if (typeof optionsOrCb !== "object")
|
|
296
|
-
throw new Error("Expect http options but get "
|
|
296
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
297
297
|
this.send(command, optionsOrCb || {}, cb);
|
|
298
298
|
}
|
|
299
299
|
else {
|
|
@@ -307,7 +307,7 @@ var Comprehend = (function (_super) {
|
|
|
307
307
|
}
|
|
308
308
|
else if (typeof cb === "function") {
|
|
309
309
|
if (typeof optionsOrCb !== "object")
|
|
310
|
-
throw new Error("Expect http options but get "
|
|
310
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
311
311
|
this.send(command, optionsOrCb || {}, cb);
|
|
312
312
|
}
|
|
313
313
|
else {
|
|
@@ -321,7 +321,7 @@ var Comprehend = (function (_super) {
|
|
|
321
321
|
}
|
|
322
322
|
else if (typeof cb === "function") {
|
|
323
323
|
if (typeof optionsOrCb !== "object")
|
|
324
|
-
throw new Error("Expect http options but get "
|
|
324
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
325
325
|
this.send(command, optionsOrCb || {}, cb);
|
|
326
326
|
}
|
|
327
327
|
else {
|
|
@@ -335,7 +335,7 @@ var Comprehend = (function (_super) {
|
|
|
335
335
|
}
|
|
336
336
|
else if (typeof cb === "function") {
|
|
337
337
|
if (typeof optionsOrCb !== "object")
|
|
338
|
-
throw new Error("Expect http options but get "
|
|
338
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
339
339
|
this.send(command, optionsOrCb || {}, cb);
|
|
340
340
|
}
|
|
341
341
|
else {
|
|
@@ -349,7 +349,7 @@ var Comprehend = (function (_super) {
|
|
|
349
349
|
}
|
|
350
350
|
else if (typeof cb === "function") {
|
|
351
351
|
if (typeof optionsOrCb !== "object")
|
|
352
|
-
throw new Error("Expect http options but get "
|
|
352
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
353
353
|
this.send(command, optionsOrCb || {}, cb);
|
|
354
354
|
}
|
|
355
355
|
else {
|
|
@@ -363,7 +363,7 @@ var Comprehend = (function (_super) {
|
|
|
363
363
|
}
|
|
364
364
|
else if (typeof cb === "function") {
|
|
365
365
|
if (typeof optionsOrCb !== "object")
|
|
366
|
-
throw new Error("Expect http options but get "
|
|
366
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
367
367
|
this.send(command, optionsOrCb || {}, cb);
|
|
368
368
|
}
|
|
369
369
|
else {
|
|
@@ -377,7 +377,7 @@ var Comprehend = (function (_super) {
|
|
|
377
377
|
}
|
|
378
378
|
else if (typeof cb === "function") {
|
|
379
379
|
if (typeof optionsOrCb !== "object")
|
|
380
|
-
throw new Error("Expect http options but get "
|
|
380
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
381
381
|
this.send(command, optionsOrCb || {}, cb);
|
|
382
382
|
}
|
|
383
383
|
else {
|
|
@@ -391,7 +391,7 @@ var Comprehend = (function (_super) {
|
|
|
391
391
|
}
|
|
392
392
|
else if (typeof cb === "function") {
|
|
393
393
|
if (typeof optionsOrCb !== "object")
|
|
394
|
-
throw new Error("Expect http options but get "
|
|
394
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
395
395
|
this.send(command, optionsOrCb || {}, cb);
|
|
396
396
|
}
|
|
397
397
|
else {
|
|
@@ -405,7 +405,7 @@ var Comprehend = (function (_super) {
|
|
|
405
405
|
}
|
|
406
406
|
else if (typeof cb === "function") {
|
|
407
407
|
if (typeof optionsOrCb !== "object")
|
|
408
|
-
throw new Error("Expect http options but get "
|
|
408
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
409
409
|
this.send(command, optionsOrCb || {}, cb);
|
|
410
410
|
}
|
|
411
411
|
else {
|
|
@@ -419,7 +419,7 @@ var Comprehend = (function (_super) {
|
|
|
419
419
|
}
|
|
420
420
|
else if (typeof cb === "function") {
|
|
421
421
|
if (typeof optionsOrCb !== "object")
|
|
422
|
-
throw new Error("Expect http options but get "
|
|
422
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
423
423
|
this.send(command, optionsOrCb || {}, cb);
|
|
424
424
|
}
|
|
425
425
|
else {
|
|
@@ -433,7 +433,7 @@ var Comprehend = (function (_super) {
|
|
|
433
433
|
}
|
|
434
434
|
else if (typeof cb === "function") {
|
|
435
435
|
if (typeof optionsOrCb !== "object")
|
|
436
|
-
throw new Error("Expect http options but get "
|
|
436
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
437
437
|
this.send(command, optionsOrCb || {}, cb);
|
|
438
438
|
}
|
|
439
439
|
else {
|
|
@@ -447,7 +447,7 @@ var Comprehend = (function (_super) {
|
|
|
447
447
|
}
|
|
448
448
|
else if (typeof cb === "function") {
|
|
449
449
|
if (typeof optionsOrCb !== "object")
|
|
450
|
-
throw new Error("Expect http options but get "
|
|
450
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
451
451
|
this.send(command, optionsOrCb || {}, cb);
|
|
452
452
|
}
|
|
453
453
|
else {
|
|
@@ -461,7 +461,7 @@ var Comprehend = (function (_super) {
|
|
|
461
461
|
}
|
|
462
462
|
else if (typeof cb === "function") {
|
|
463
463
|
if (typeof optionsOrCb !== "object")
|
|
464
|
-
throw new Error("Expect http options but get "
|
|
464
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
465
465
|
this.send(command, optionsOrCb || {}, cb);
|
|
466
466
|
}
|
|
467
467
|
else {
|
|
@@ -475,7 +475,7 @@ var Comprehend = (function (_super) {
|
|
|
475
475
|
}
|
|
476
476
|
else if (typeof cb === "function") {
|
|
477
477
|
if (typeof optionsOrCb !== "object")
|
|
478
|
-
throw new Error("Expect http options but get "
|
|
478
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
479
479
|
this.send(command, optionsOrCb || {}, cb);
|
|
480
480
|
}
|
|
481
481
|
else {
|
|
@@ -489,7 +489,7 @@ var Comprehend = (function (_super) {
|
|
|
489
489
|
}
|
|
490
490
|
else if (typeof cb === "function") {
|
|
491
491
|
if (typeof optionsOrCb !== "object")
|
|
492
|
-
throw new Error("Expect http options but get "
|
|
492
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
493
493
|
this.send(command, optionsOrCb || {}, cb);
|
|
494
494
|
}
|
|
495
495
|
else {
|
|
@@ -503,7 +503,7 @@ var Comprehend = (function (_super) {
|
|
|
503
503
|
}
|
|
504
504
|
else if (typeof cb === "function") {
|
|
505
505
|
if (typeof optionsOrCb !== "object")
|
|
506
|
-
throw new Error("Expect http options but get "
|
|
506
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
507
507
|
this.send(command, optionsOrCb || {}, cb);
|
|
508
508
|
}
|
|
509
509
|
else {
|
|
@@ -517,7 +517,7 @@ var Comprehend = (function (_super) {
|
|
|
517
517
|
}
|
|
518
518
|
else if (typeof cb === "function") {
|
|
519
519
|
if (typeof optionsOrCb !== "object")
|
|
520
|
-
throw new Error("Expect http options but get "
|
|
520
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
521
521
|
this.send(command, optionsOrCb || {}, cb);
|
|
522
522
|
}
|
|
523
523
|
else {
|
|
@@ -531,7 +531,7 @@ var Comprehend = (function (_super) {
|
|
|
531
531
|
}
|
|
532
532
|
else if (typeof cb === "function") {
|
|
533
533
|
if (typeof optionsOrCb !== "object")
|
|
534
|
-
throw new Error("Expect http options but get "
|
|
534
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
535
535
|
this.send(command, optionsOrCb || {}, cb);
|
|
536
536
|
}
|
|
537
537
|
else {
|
|
@@ -545,7 +545,7 @@ var Comprehend = (function (_super) {
|
|
|
545
545
|
}
|
|
546
546
|
else if (typeof cb === "function") {
|
|
547
547
|
if (typeof optionsOrCb !== "object")
|
|
548
|
-
throw new Error("Expect http options but get "
|
|
548
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
549
549
|
this.send(command, optionsOrCb || {}, cb);
|
|
550
550
|
}
|
|
551
551
|
else {
|
|
@@ -559,7 +559,7 @@ var Comprehend = (function (_super) {
|
|
|
559
559
|
}
|
|
560
560
|
else if (typeof cb === "function") {
|
|
561
561
|
if (typeof optionsOrCb !== "object")
|
|
562
|
-
throw new Error("Expect http options but get "
|
|
562
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
563
563
|
this.send(command, optionsOrCb || {}, cb);
|
|
564
564
|
}
|
|
565
565
|
else {
|
|
@@ -573,7 +573,7 @@ var Comprehend = (function (_super) {
|
|
|
573
573
|
}
|
|
574
574
|
else if (typeof cb === "function") {
|
|
575
575
|
if (typeof optionsOrCb !== "object")
|
|
576
|
-
throw new Error("Expect http options but get "
|
|
576
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
577
577
|
this.send(command, optionsOrCb || {}, cb);
|
|
578
578
|
}
|
|
579
579
|
else {
|
|
@@ -587,7 +587,7 @@ var Comprehend = (function (_super) {
|
|
|
587
587
|
}
|
|
588
588
|
else if (typeof cb === "function") {
|
|
589
589
|
if (typeof optionsOrCb !== "object")
|
|
590
|
-
throw new Error("Expect http options but get "
|
|
590
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
591
591
|
this.send(command, optionsOrCb || {}, cb);
|
|
592
592
|
}
|
|
593
593
|
else {
|
|
@@ -601,7 +601,7 @@ var Comprehend = (function (_super) {
|
|
|
601
601
|
}
|
|
602
602
|
else if (typeof cb === "function") {
|
|
603
603
|
if (typeof optionsOrCb !== "object")
|
|
604
|
-
throw new Error("Expect http options but get "
|
|
604
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
605
605
|
this.send(command, optionsOrCb || {}, cb);
|
|
606
606
|
}
|
|
607
607
|
else {
|
|
@@ -615,7 +615,7 @@ var Comprehend = (function (_super) {
|
|
|
615
615
|
}
|
|
616
616
|
else if (typeof cb === "function") {
|
|
617
617
|
if (typeof optionsOrCb !== "object")
|
|
618
|
-
throw new Error("Expect http options but get "
|
|
618
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
619
619
|
this.send(command, optionsOrCb || {}, cb);
|
|
620
620
|
}
|
|
621
621
|
else {
|
|
@@ -629,7 +629,7 @@ var Comprehend = (function (_super) {
|
|
|
629
629
|
}
|
|
630
630
|
else if (typeof cb === "function") {
|
|
631
631
|
if (typeof optionsOrCb !== "object")
|
|
632
|
-
throw new Error("Expect http options but get "
|
|
632
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
633
633
|
this.send(command, optionsOrCb || {}, cb);
|
|
634
634
|
}
|
|
635
635
|
else {
|
|
@@ -643,7 +643,7 @@ var Comprehend = (function (_super) {
|
|
|
643
643
|
}
|
|
644
644
|
else if (typeof cb === "function") {
|
|
645
645
|
if (typeof optionsOrCb !== "object")
|
|
646
|
-
throw new Error("Expect http options but get "
|
|
646
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
647
647
|
this.send(command, optionsOrCb || {}, cb);
|
|
648
648
|
}
|
|
649
649
|
else {
|
|
@@ -657,7 +657,7 @@ var Comprehend = (function (_super) {
|
|
|
657
657
|
}
|
|
658
658
|
else if (typeof cb === "function") {
|
|
659
659
|
if (typeof optionsOrCb !== "object")
|
|
660
|
-
throw new Error("Expect http options but get "
|
|
660
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
661
661
|
this.send(command, optionsOrCb || {}, cb);
|
|
662
662
|
}
|
|
663
663
|
else {
|
|
@@ -671,7 +671,7 @@ var Comprehend = (function (_super) {
|
|
|
671
671
|
}
|
|
672
672
|
else if (typeof cb === "function") {
|
|
673
673
|
if (typeof optionsOrCb !== "object")
|
|
674
|
-
throw new Error("Expect http options but get "
|
|
674
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
675
675
|
this.send(command, optionsOrCb || {}, cb);
|
|
676
676
|
}
|
|
677
677
|
else {
|
|
@@ -685,7 +685,7 @@ var Comprehend = (function (_super) {
|
|
|
685
685
|
}
|
|
686
686
|
else if (typeof cb === "function") {
|
|
687
687
|
if (typeof optionsOrCb !== "object")
|
|
688
|
-
throw new Error("Expect http options but get "
|
|
688
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
689
689
|
this.send(command, optionsOrCb || {}, cb);
|
|
690
690
|
}
|
|
691
691
|
else {
|
|
@@ -699,7 +699,7 @@ var Comprehend = (function (_super) {
|
|
|
699
699
|
}
|
|
700
700
|
else if (typeof cb === "function") {
|
|
701
701
|
if (typeof optionsOrCb !== "object")
|
|
702
|
-
throw new Error("Expect http options but get "
|
|
702
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
703
703
|
this.send(command, optionsOrCb || {}, cb);
|
|
704
704
|
}
|
|
705
705
|
else {
|
|
@@ -713,7 +713,7 @@ var Comprehend = (function (_super) {
|
|
|
713
713
|
}
|
|
714
714
|
else if (typeof cb === "function") {
|
|
715
715
|
if (typeof optionsOrCb !== "object")
|
|
716
|
-
throw new Error("Expect http options but get "
|
|
716
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
717
717
|
this.send(command, optionsOrCb || {}, cb);
|
|
718
718
|
}
|
|
719
719
|
else {
|
|
@@ -727,7 +727,7 @@ var Comprehend = (function (_super) {
|
|
|
727
727
|
}
|
|
728
728
|
else if (typeof cb === "function") {
|
|
729
729
|
if (typeof optionsOrCb !== "object")
|
|
730
|
-
throw new Error("Expect http options but get "
|
|
730
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
731
731
|
this.send(command, optionsOrCb || {}, cb);
|
|
732
732
|
}
|
|
733
733
|
else {
|
|
@@ -741,7 +741,7 @@ var Comprehend = (function (_super) {
|
|
|
741
741
|
}
|
|
742
742
|
else if (typeof cb === "function") {
|
|
743
743
|
if (typeof optionsOrCb !== "object")
|
|
744
|
-
throw new Error("Expect http options but get "
|
|
744
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
745
745
|
this.send(command, optionsOrCb || {}, cb);
|
|
746
746
|
}
|
|
747
747
|
else {
|
|
@@ -755,7 +755,7 @@ var Comprehend = (function (_super) {
|
|
|
755
755
|
}
|
|
756
756
|
else if (typeof cb === "function") {
|
|
757
757
|
if (typeof optionsOrCb !== "object")
|
|
758
|
-
throw new Error("Expect http options but get "
|
|
758
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
759
759
|
this.send(command, optionsOrCb || {}, cb);
|
|
760
760
|
}
|
|
761
761
|
else {
|
|
@@ -769,7 +769,7 @@ var Comprehend = (function (_super) {
|
|
|
769
769
|
}
|
|
770
770
|
else if (typeof cb === "function") {
|
|
771
771
|
if (typeof optionsOrCb !== "object")
|
|
772
|
-
throw new Error("Expect http options but get "
|
|
772
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
773
773
|
this.send(command, optionsOrCb || {}, cb);
|
|
774
774
|
}
|
|
775
775
|
else {
|
|
@@ -783,7 +783,7 @@ var Comprehend = (function (_super) {
|
|
|
783
783
|
}
|
|
784
784
|
else if (typeof cb === "function") {
|
|
785
785
|
if (typeof optionsOrCb !== "object")
|
|
786
|
-
throw new Error("Expect http options but get "
|
|
786
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
787
787
|
this.send(command, optionsOrCb || {}, cb);
|
|
788
788
|
}
|
|
789
789
|
else {
|
|
@@ -797,7 +797,7 @@ var Comprehend = (function (_super) {
|
|
|
797
797
|
}
|
|
798
798
|
else if (typeof cb === "function") {
|
|
799
799
|
if (typeof optionsOrCb !== "object")
|
|
800
|
-
throw new Error("Expect http options but get "
|
|
800
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
801
801
|
this.send(command, optionsOrCb || {}, cb);
|
|
802
802
|
}
|
|
803
803
|
else {
|
|
@@ -811,7 +811,7 @@ var Comprehend = (function (_super) {
|
|
|
811
811
|
}
|
|
812
812
|
else if (typeof cb === "function") {
|
|
813
813
|
if (typeof optionsOrCb !== "object")
|
|
814
|
-
throw new Error("Expect http options but get "
|
|
814
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
815
815
|
this.send(command, optionsOrCb || {}, cb);
|
|
816
816
|
}
|
|
817
817
|
else {
|
|
@@ -825,7 +825,7 @@ var Comprehend = (function (_super) {
|
|
|
825
825
|
}
|
|
826
826
|
else if (typeof cb === "function") {
|
|
827
827
|
if (typeof optionsOrCb !== "object")
|
|
828
|
-
throw new Error("Expect http options but get "
|
|
828
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
829
829
|
this.send(command, optionsOrCb || {}, cb);
|
|
830
830
|
}
|
|
831
831
|
else {
|
|
@@ -839,7 +839,7 @@ var Comprehend = (function (_super) {
|
|
|
839
839
|
}
|
|
840
840
|
else if (typeof cb === "function") {
|
|
841
841
|
if (typeof optionsOrCb !== "object")
|
|
842
|
-
throw new Error("Expect http options but get "
|
|
842
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
843
843
|
this.send(command, optionsOrCb || {}, cb);
|
|
844
844
|
}
|
|
845
845
|
else {
|
|
@@ -853,7 +853,7 @@ var Comprehend = (function (_super) {
|
|
|
853
853
|
}
|
|
854
854
|
else if (typeof cb === "function") {
|
|
855
855
|
if (typeof optionsOrCb !== "object")
|
|
856
|
-
throw new Error("Expect http options but get "
|
|
856
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
857
857
|
this.send(command, optionsOrCb || {}, cb);
|
|
858
858
|
}
|
|
859
859
|
else {
|
|
@@ -867,7 +867,7 @@ var Comprehend = (function (_super) {
|
|
|
867
867
|
}
|
|
868
868
|
else if (typeof cb === "function") {
|
|
869
869
|
if (typeof optionsOrCb !== "object")
|
|
870
|
-
throw new Error("Expect http options but get "
|
|
870
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
871
871
|
this.send(command, optionsOrCb || {}, cb);
|
|
872
872
|
}
|
|
873
873
|
else {
|
|
@@ -881,7 +881,7 @@ var Comprehend = (function (_super) {
|
|
|
881
881
|
}
|
|
882
882
|
else if (typeof cb === "function") {
|
|
883
883
|
if (typeof optionsOrCb !== "object")
|
|
884
|
-
throw new Error("Expect http options but get "
|
|
884
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
885
885
|
this.send(command, optionsOrCb || {}, cb);
|
|
886
886
|
}
|
|
887
887
|
else {
|
|
@@ -895,7 +895,7 @@ var Comprehend = (function (_super) {
|
|
|
895
895
|
}
|
|
896
896
|
else if (typeof cb === "function") {
|
|
897
897
|
if (typeof optionsOrCb !== "object")
|
|
898
|
-
throw new Error("Expect http options but get "
|
|
898
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
899
899
|
this.send(command, optionsOrCb || {}, cb);
|
|
900
900
|
}
|
|
901
901
|
else {
|
|
@@ -909,7 +909,7 @@ var Comprehend = (function (_super) {
|
|
|
909
909
|
}
|
|
910
910
|
else if (typeof cb === "function") {
|
|
911
911
|
if (typeof optionsOrCb !== "object")
|
|
912
|
-
throw new Error("Expect http options but get "
|
|
912
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
913
913
|
this.send(command, optionsOrCb || {}, cb);
|
|
914
914
|
}
|
|
915
915
|
else {
|
|
@@ -923,7 +923,7 @@ var Comprehend = (function (_super) {
|
|
|
923
923
|
}
|
|
924
924
|
else if (typeof cb === "function") {
|
|
925
925
|
if (typeof optionsOrCb !== "object")
|
|
926
|
-
throw new Error("Expect http options but get "
|
|
926
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
927
927
|
this.send(command, optionsOrCb || {}, cb);
|
|
928
928
|
}
|
|
929
929
|
else {
|
|
@@ -937,7 +937,7 @@ var Comprehend = (function (_super) {
|
|
|
937
937
|
}
|
|
938
938
|
else if (typeof cb === "function") {
|
|
939
939
|
if (typeof optionsOrCb !== "object")
|
|
940
|
-
throw new Error("Expect http options but get "
|
|
940
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
941
941
|
this.send(command, optionsOrCb || {}, cb);
|
|
942
942
|
}
|
|
943
943
|
else {
|
|
@@ -951,7 +951,7 @@ var Comprehend = (function (_super) {
|
|
|
951
951
|
}
|
|
952
952
|
else if (typeof cb === "function") {
|
|
953
953
|
if (typeof optionsOrCb !== "object")
|
|
954
|
-
throw new Error("Expect http options but get "
|
|
954
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
955
955
|
this.send(command, optionsOrCb || {}, cb);
|
|
956
956
|
}
|
|
957
957
|
else {
|
|
@@ -965,7 +965,7 @@ var Comprehend = (function (_super) {
|
|
|
965
965
|
}
|
|
966
966
|
else if (typeof cb === "function") {
|
|
967
967
|
if (typeof optionsOrCb !== "object")
|
|
968
|
-
throw new Error("Expect http options but get "
|
|
968
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
969
969
|
this.send(command, optionsOrCb || {}, cb);
|
|
970
970
|
}
|
|
971
971
|
else {
|
|
@@ -979,7 +979,7 @@ var Comprehend = (function (_super) {
|
|
|
979
979
|
}
|
|
980
980
|
else if (typeof cb === "function") {
|
|
981
981
|
if (typeof optionsOrCb !== "object")
|
|
982
|
-
throw new Error("Expect http options but get "
|
|
982
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
983
983
|
this.send(command, optionsOrCb || {}, cb);
|
|
984
984
|
}
|
|
985
985
|
else {
|
|
@@ -993,7 +993,7 @@ var Comprehend = (function (_super) {
|
|
|
993
993
|
}
|
|
994
994
|
else if (typeof cb === "function") {
|
|
995
995
|
if (typeof optionsOrCb !== "object")
|
|
996
|
-
throw new Error("Expect http options but get "
|
|
996
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
997
997
|
this.send(command, optionsOrCb || {}, cb);
|
|
998
998
|
}
|
|
999
999
|
else {
|
|
@@ -1007,7 +1007,7 @@ var Comprehend = (function (_super) {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
else if (typeof cb === "function") {
|
|
1009
1009
|
if (typeof optionsOrCb !== "object")
|
|
1010
|
-
throw new Error("Expect http options but get "
|
|
1010
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1011
1011
|
this.send(command, optionsOrCb || {}, cb);
|
|
1012
1012
|
}
|
|
1013
1013
|
else {
|
|
@@ -1021,7 +1021,7 @@ var Comprehend = (function (_super) {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
else if (typeof cb === "function") {
|
|
1023
1023
|
if (typeof optionsOrCb !== "object")
|
|
1024
|
-
throw new Error("Expect http options but get "
|
|
1024
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1025
1025
|
this.send(command, optionsOrCb || {}, cb);
|
|
1026
1026
|
}
|
|
1027
1027
|
else {
|
|
@@ -1035,7 +1035,7 @@ var Comprehend = (function (_super) {
|
|
|
1035
1035
|
}
|
|
1036
1036
|
else if (typeof cb === "function") {
|
|
1037
1037
|
if (typeof optionsOrCb !== "object")
|
|
1038
|
-
throw new Error("Expect http options but get "
|
|
1038
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1039
1039
|
this.send(command, optionsOrCb || {}, cb);
|
|
1040
1040
|
}
|
|
1041
1041
|
else {
|
|
@@ -1049,7 +1049,7 @@ var Comprehend = (function (_super) {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
else if (typeof cb === "function") {
|
|
1051
1051
|
if (typeof optionsOrCb !== "object")
|
|
1052
|
-
throw new Error("Expect http options but get "
|
|
1052
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1053
1053
|
this.send(command, optionsOrCb || {}, cb);
|
|
1054
1054
|
}
|
|
1055
1055
|
else {
|
|
@@ -1063,7 +1063,7 @@ var Comprehend = (function (_super) {
|
|
|
1063
1063
|
}
|
|
1064
1064
|
else if (typeof cb === "function") {
|
|
1065
1065
|
if (typeof optionsOrCb !== "object")
|
|
1066
|
-
throw new Error("Expect http options but get "
|
|
1066
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
1067
1067
|
this.send(command, optionsOrCb || {}, cb);
|
|
1068
1068
|
}
|
|
1069
1069
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassificationJobsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDocumentClassificationJobsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listDocumentClassificationJobs.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listDocumentClassificationJobs.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListDocumentClassificationJobs(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Comprehend)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof ComprehendClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|