@aws-sdk/client-textract 3.721.0 → 3.723.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 +276 -175
- package/dist-es/TextractClient.js +1 -0
- package/dist-es/models/models_0.js +75 -36
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -180,7 +180,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
180
180
|
}, "resolveRuntimeExtensions");
|
|
181
181
|
|
|
182
182
|
// src/TextractClient.ts
|
|
183
|
-
var
|
|
183
|
+
var TextractClient = class extends import_smithy_client.Client {
|
|
184
|
+
static {
|
|
185
|
+
__name(this, "TextractClient");
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* The resolved configuration of TextractClient class. This is resolved and normalized from the {@link TextractClientConfig | constructor configuration interface}.
|
|
189
|
+
*/
|
|
190
|
+
config;
|
|
184
191
|
constructor(...[configuration]) {
|
|
185
192
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
186
193
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -190,7 +197,7 @@ var _TextractClient = class _TextractClient extends import_smithy_client.Client
|
|
|
190
197
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
191
198
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
192
199
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
193
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
200
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
194
201
|
super(_config_8);
|
|
195
202
|
this.config = _config_8;
|
|
196
203
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -218,8 +225,6 @@ var _TextractClient = class _TextractClient extends import_smithy_client.Client
|
|
|
218
225
|
super.destroy();
|
|
219
226
|
}
|
|
220
227
|
};
|
|
221
|
-
__name(_TextractClient, "TextractClient");
|
|
222
|
-
var TextractClient = _TextractClient;
|
|
223
228
|
|
|
224
229
|
// src/Textract.ts
|
|
225
230
|
|
|
@@ -237,7 +242,10 @@ var import_uuid = require("uuid");
|
|
|
237
242
|
|
|
238
243
|
// src/models/TextractServiceException.ts
|
|
239
244
|
|
|
240
|
-
var
|
|
245
|
+
var TextractServiceException = class _TextractServiceException extends import_smithy_client.ServiceException {
|
|
246
|
+
static {
|
|
247
|
+
__name(this, "TextractServiceException");
|
|
248
|
+
}
|
|
241
249
|
/**
|
|
242
250
|
* @internal
|
|
243
251
|
*/
|
|
@@ -246,11 +254,16 @@ var _TextractServiceException = class _TextractServiceException extends import_s
|
|
|
246
254
|
Object.setPrototypeOf(this, _TextractServiceException.prototype);
|
|
247
255
|
}
|
|
248
256
|
};
|
|
249
|
-
__name(_TextractServiceException, "TextractServiceException");
|
|
250
|
-
var TextractServiceException = _TextractServiceException;
|
|
251
257
|
|
|
252
258
|
// src/models/models_0.ts
|
|
253
|
-
var
|
|
259
|
+
var AccessDeniedException = class _AccessDeniedException extends TextractServiceException {
|
|
260
|
+
static {
|
|
261
|
+
__name(this, "AccessDeniedException");
|
|
262
|
+
}
|
|
263
|
+
name = "AccessDeniedException";
|
|
264
|
+
$fault = "client";
|
|
265
|
+
Message;
|
|
266
|
+
Code;
|
|
254
267
|
/**
|
|
255
268
|
* @internal
|
|
256
269
|
*/
|
|
@@ -260,15 +273,11 @@ var _AccessDeniedException = class _AccessDeniedException extends TextractServic
|
|
|
260
273
|
$fault: "client",
|
|
261
274
|
...opts
|
|
262
275
|
});
|
|
263
|
-
this.name = "AccessDeniedException";
|
|
264
|
-
this.$fault = "client";
|
|
265
276
|
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
266
277
|
this.Message = opts.Message;
|
|
267
278
|
this.Code = opts.Code;
|
|
268
279
|
}
|
|
269
280
|
};
|
|
270
|
-
__name(_AccessDeniedException, "AccessDeniedException");
|
|
271
|
-
var AccessDeniedException = _AccessDeniedException;
|
|
272
281
|
var FeatureType = {
|
|
273
282
|
FORMS: "FORMS",
|
|
274
283
|
LAYOUT: "LAYOUT",
|
|
@@ -343,7 +352,14 @@ var TextType = {
|
|
|
343
352
|
HANDWRITING: "HANDWRITING",
|
|
344
353
|
PRINTED: "PRINTED"
|
|
345
354
|
};
|
|
346
|
-
var
|
|
355
|
+
var BadDocumentException = class _BadDocumentException extends TextractServiceException {
|
|
356
|
+
static {
|
|
357
|
+
__name(this, "BadDocumentException");
|
|
358
|
+
}
|
|
359
|
+
name = "BadDocumentException";
|
|
360
|
+
$fault = "client";
|
|
361
|
+
Message;
|
|
362
|
+
Code;
|
|
347
363
|
/**
|
|
348
364
|
* @internal
|
|
349
365
|
*/
|
|
@@ -353,16 +369,19 @@ var _BadDocumentException = class _BadDocumentException extends TextractServiceE
|
|
|
353
369
|
$fault: "client",
|
|
354
370
|
...opts
|
|
355
371
|
});
|
|
356
|
-
this.name = "BadDocumentException";
|
|
357
|
-
this.$fault = "client";
|
|
358
372
|
Object.setPrototypeOf(this, _BadDocumentException.prototype);
|
|
359
373
|
this.Message = opts.Message;
|
|
360
374
|
this.Code = opts.Code;
|
|
361
375
|
}
|
|
362
376
|
};
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
377
|
+
var DocumentTooLargeException = class _DocumentTooLargeException extends TextractServiceException {
|
|
378
|
+
static {
|
|
379
|
+
__name(this, "DocumentTooLargeException");
|
|
380
|
+
}
|
|
381
|
+
name = "DocumentTooLargeException";
|
|
382
|
+
$fault = "client";
|
|
383
|
+
Message;
|
|
384
|
+
Code;
|
|
366
385
|
/**
|
|
367
386
|
* @internal
|
|
368
387
|
*/
|
|
@@ -372,16 +391,34 @@ var _DocumentTooLargeException = class _DocumentTooLargeException extends Textra
|
|
|
372
391
|
$fault: "client",
|
|
373
392
|
...opts
|
|
374
393
|
});
|
|
375
|
-
this.name = "DocumentTooLargeException";
|
|
376
|
-
this.$fault = "client";
|
|
377
394
|
Object.setPrototypeOf(this, _DocumentTooLargeException.prototype);
|
|
378
395
|
this.Message = opts.Message;
|
|
379
396
|
this.Code = opts.Code;
|
|
380
397
|
}
|
|
381
398
|
};
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
399
|
+
var HumanLoopQuotaExceededException = class _HumanLoopQuotaExceededException extends TextractServiceException {
|
|
400
|
+
static {
|
|
401
|
+
__name(this, "HumanLoopQuotaExceededException");
|
|
402
|
+
}
|
|
403
|
+
name = "HumanLoopQuotaExceededException";
|
|
404
|
+
$fault = "client";
|
|
405
|
+
/**
|
|
406
|
+
* <p>The resource type.</p>
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
ResourceType;
|
|
410
|
+
/**
|
|
411
|
+
* <p>The quota code.</p>
|
|
412
|
+
* @public
|
|
413
|
+
*/
|
|
414
|
+
QuotaCode;
|
|
415
|
+
/**
|
|
416
|
+
* <p>The service code.</p>
|
|
417
|
+
* @public
|
|
418
|
+
*/
|
|
419
|
+
ServiceCode;
|
|
420
|
+
Message;
|
|
421
|
+
Code;
|
|
385
422
|
/**
|
|
386
423
|
* @internal
|
|
387
424
|
*/
|
|
@@ -391,8 +428,6 @@ var _HumanLoopQuotaExceededException = class _HumanLoopQuotaExceededException ex
|
|
|
391
428
|
$fault: "client",
|
|
392
429
|
...opts
|
|
393
430
|
});
|
|
394
|
-
this.name = "HumanLoopQuotaExceededException";
|
|
395
|
-
this.$fault = "client";
|
|
396
431
|
Object.setPrototypeOf(this, _HumanLoopQuotaExceededException.prototype);
|
|
397
432
|
this.ResourceType = opts.ResourceType;
|
|
398
433
|
this.QuotaCode = opts.QuotaCode;
|
|
@@ -401,9 +436,14 @@ var _HumanLoopQuotaExceededException = class _HumanLoopQuotaExceededException ex
|
|
|
401
436
|
this.Code = opts.Code;
|
|
402
437
|
}
|
|
403
438
|
};
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
439
|
+
var InternalServerError = class _InternalServerError extends TextractServiceException {
|
|
440
|
+
static {
|
|
441
|
+
__name(this, "InternalServerError");
|
|
442
|
+
}
|
|
443
|
+
name = "InternalServerError";
|
|
444
|
+
$fault = "server";
|
|
445
|
+
Message;
|
|
446
|
+
Code;
|
|
407
447
|
/**
|
|
408
448
|
* @internal
|
|
409
449
|
*/
|
|
@@ -413,16 +453,19 @@ var _InternalServerError = class _InternalServerError extends TextractServiceExc
|
|
|
413
453
|
$fault: "server",
|
|
414
454
|
...opts
|
|
415
455
|
});
|
|
416
|
-
this.name = "InternalServerError";
|
|
417
|
-
this.$fault = "server";
|
|
418
456
|
Object.setPrototypeOf(this, _InternalServerError.prototype);
|
|
419
457
|
this.Message = opts.Message;
|
|
420
458
|
this.Code = opts.Code;
|
|
421
459
|
}
|
|
422
460
|
};
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
461
|
+
var InvalidParameterException = class _InvalidParameterException extends TextractServiceException {
|
|
462
|
+
static {
|
|
463
|
+
__name(this, "InvalidParameterException");
|
|
464
|
+
}
|
|
465
|
+
name = "InvalidParameterException";
|
|
466
|
+
$fault = "client";
|
|
467
|
+
Message;
|
|
468
|
+
Code;
|
|
426
469
|
/**
|
|
427
470
|
* @internal
|
|
428
471
|
*/
|
|
@@ -432,16 +475,19 @@ var _InvalidParameterException = class _InvalidParameterException extends Textra
|
|
|
432
475
|
$fault: "client",
|
|
433
476
|
...opts
|
|
434
477
|
});
|
|
435
|
-
this.name = "InvalidParameterException";
|
|
436
|
-
this.$fault = "client";
|
|
437
478
|
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
438
479
|
this.Message = opts.Message;
|
|
439
480
|
this.Code = opts.Code;
|
|
440
481
|
}
|
|
441
482
|
};
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
483
|
+
var InvalidS3ObjectException = class _InvalidS3ObjectException extends TextractServiceException {
|
|
484
|
+
static {
|
|
485
|
+
__name(this, "InvalidS3ObjectException");
|
|
486
|
+
}
|
|
487
|
+
name = "InvalidS3ObjectException";
|
|
488
|
+
$fault = "client";
|
|
489
|
+
Message;
|
|
490
|
+
Code;
|
|
445
491
|
/**
|
|
446
492
|
* @internal
|
|
447
493
|
*/
|
|
@@ -451,16 +497,19 @@ var _InvalidS3ObjectException = class _InvalidS3ObjectException extends Textract
|
|
|
451
497
|
$fault: "client",
|
|
452
498
|
...opts
|
|
453
499
|
});
|
|
454
|
-
this.name = "InvalidS3ObjectException";
|
|
455
|
-
this.$fault = "client";
|
|
456
500
|
Object.setPrototypeOf(this, _InvalidS3ObjectException.prototype);
|
|
457
501
|
this.Message = opts.Message;
|
|
458
502
|
this.Code = opts.Code;
|
|
459
503
|
}
|
|
460
504
|
};
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
505
|
+
var ProvisionedThroughputExceededException = class _ProvisionedThroughputExceededException extends TextractServiceException {
|
|
506
|
+
static {
|
|
507
|
+
__name(this, "ProvisionedThroughputExceededException");
|
|
508
|
+
}
|
|
509
|
+
name = "ProvisionedThroughputExceededException";
|
|
510
|
+
$fault = "client";
|
|
511
|
+
Message;
|
|
512
|
+
Code;
|
|
464
513
|
/**
|
|
465
514
|
* @internal
|
|
466
515
|
*/
|
|
@@ -470,16 +519,19 @@ var _ProvisionedThroughputExceededException = class _ProvisionedThroughputExceed
|
|
|
470
519
|
$fault: "client",
|
|
471
520
|
...opts
|
|
472
521
|
});
|
|
473
|
-
this.name = "ProvisionedThroughputExceededException";
|
|
474
|
-
this.$fault = "client";
|
|
475
522
|
Object.setPrototypeOf(this, _ProvisionedThroughputExceededException.prototype);
|
|
476
523
|
this.Message = opts.Message;
|
|
477
524
|
this.Code = opts.Code;
|
|
478
525
|
}
|
|
479
526
|
};
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
527
|
+
var ThrottlingException = class _ThrottlingException extends TextractServiceException {
|
|
528
|
+
static {
|
|
529
|
+
__name(this, "ThrottlingException");
|
|
530
|
+
}
|
|
531
|
+
name = "ThrottlingException";
|
|
532
|
+
$fault = "server";
|
|
533
|
+
Message;
|
|
534
|
+
Code;
|
|
483
535
|
/**
|
|
484
536
|
* @internal
|
|
485
537
|
*/
|
|
@@ -489,16 +541,19 @@ var _ThrottlingException = class _ThrottlingException extends TextractServiceExc
|
|
|
489
541
|
$fault: "server",
|
|
490
542
|
...opts
|
|
491
543
|
});
|
|
492
|
-
this.name = "ThrottlingException";
|
|
493
|
-
this.$fault = "server";
|
|
494
544
|
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
495
545
|
this.Message = opts.Message;
|
|
496
546
|
this.Code = opts.Code;
|
|
497
547
|
}
|
|
498
548
|
};
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
549
|
+
var UnsupportedDocumentException = class _UnsupportedDocumentException extends TextractServiceException {
|
|
550
|
+
static {
|
|
551
|
+
__name(this, "UnsupportedDocumentException");
|
|
552
|
+
}
|
|
553
|
+
name = "UnsupportedDocumentException";
|
|
554
|
+
$fault = "client";
|
|
555
|
+
Message;
|
|
556
|
+
Code;
|
|
502
557
|
/**
|
|
503
558
|
* @internal
|
|
504
559
|
*/
|
|
@@ -508,15 +563,11 @@ var _UnsupportedDocumentException = class _UnsupportedDocumentException extends
|
|
|
508
563
|
$fault: "client",
|
|
509
564
|
...opts
|
|
510
565
|
});
|
|
511
|
-
this.name = "UnsupportedDocumentException";
|
|
512
|
-
this.$fault = "client";
|
|
513
566
|
Object.setPrototypeOf(this, _UnsupportedDocumentException.prototype);
|
|
514
567
|
this.Message = opts.Message;
|
|
515
568
|
this.Code = opts.Code;
|
|
516
569
|
}
|
|
517
570
|
};
|
|
518
|
-
__name(_UnsupportedDocumentException, "UnsupportedDocumentException");
|
|
519
|
-
var UnsupportedDocumentException = _UnsupportedDocumentException;
|
|
520
571
|
var ValueType = {
|
|
521
572
|
DATE: "DATE"
|
|
522
573
|
};
|
|
@@ -524,7 +575,14 @@ var AutoUpdate = {
|
|
|
524
575
|
DISABLED: "DISABLED",
|
|
525
576
|
ENABLED: "ENABLED"
|
|
526
577
|
};
|
|
527
|
-
var
|
|
578
|
+
var ConflictException = class _ConflictException extends TextractServiceException {
|
|
579
|
+
static {
|
|
580
|
+
__name(this, "ConflictException");
|
|
581
|
+
}
|
|
582
|
+
name = "ConflictException";
|
|
583
|
+
$fault = "client";
|
|
584
|
+
Message;
|
|
585
|
+
Code;
|
|
528
586
|
/**
|
|
529
587
|
* @internal
|
|
530
588
|
*/
|
|
@@ -534,16 +592,19 @@ var _ConflictException = class _ConflictException extends TextractServiceExcepti
|
|
|
534
592
|
$fault: "client",
|
|
535
593
|
...opts
|
|
536
594
|
});
|
|
537
|
-
this.name = "ConflictException";
|
|
538
|
-
this.$fault = "client";
|
|
539
595
|
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
540
596
|
this.Message = opts.Message;
|
|
541
597
|
this.Code = opts.Code;
|
|
542
598
|
}
|
|
543
599
|
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
600
|
+
var IdempotentParameterMismatchException = class _IdempotentParameterMismatchException extends TextractServiceException {
|
|
601
|
+
static {
|
|
602
|
+
__name(this, "IdempotentParameterMismatchException");
|
|
603
|
+
}
|
|
604
|
+
name = "IdempotentParameterMismatchException";
|
|
605
|
+
$fault = "client";
|
|
606
|
+
Message;
|
|
607
|
+
Code;
|
|
547
608
|
/**
|
|
548
609
|
* @internal
|
|
549
610
|
*/
|
|
@@ -553,16 +614,19 @@ var _IdempotentParameterMismatchException = class _IdempotentParameterMismatchEx
|
|
|
553
614
|
$fault: "client",
|
|
554
615
|
...opts
|
|
555
616
|
});
|
|
556
|
-
this.name = "IdempotentParameterMismatchException";
|
|
557
|
-
this.$fault = "client";
|
|
558
617
|
Object.setPrototypeOf(this, _IdempotentParameterMismatchException.prototype);
|
|
559
618
|
this.Message = opts.Message;
|
|
560
619
|
this.Code = opts.Code;
|
|
561
620
|
}
|
|
562
621
|
};
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
622
|
+
var LimitExceededException = class _LimitExceededException extends TextractServiceException {
|
|
623
|
+
static {
|
|
624
|
+
__name(this, "LimitExceededException");
|
|
625
|
+
}
|
|
626
|
+
name = "LimitExceededException";
|
|
627
|
+
$fault = "client";
|
|
628
|
+
Message;
|
|
629
|
+
Code;
|
|
566
630
|
/**
|
|
567
631
|
* @internal
|
|
568
632
|
*/
|
|
@@ -572,16 +636,19 @@ var _LimitExceededException = class _LimitExceededException extends TextractServ
|
|
|
572
636
|
$fault: "client",
|
|
573
637
|
...opts
|
|
574
638
|
});
|
|
575
|
-
this.name = "LimitExceededException";
|
|
576
|
-
this.$fault = "client";
|
|
577
639
|
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
578
640
|
this.Message = opts.Message;
|
|
579
641
|
this.Code = opts.Code;
|
|
580
642
|
}
|
|
581
643
|
};
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
644
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends TextractServiceException {
|
|
645
|
+
static {
|
|
646
|
+
__name(this, "ServiceQuotaExceededException");
|
|
647
|
+
}
|
|
648
|
+
name = "ServiceQuotaExceededException";
|
|
649
|
+
$fault = "client";
|
|
650
|
+
Message;
|
|
651
|
+
Code;
|
|
585
652
|
/**
|
|
586
653
|
* @internal
|
|
587
654
|
*/
|
|
@@ -591,16 +658,19 @@ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extend
|
|
|
591
658
|
$fault: "client",
|
|
592
659
|
...opts
|
|
593
660
|
});
|
|
594
|
-
this.name = "ServiceQuotaExceededException";
|
|
595
|
-
this.$fault = "client";
|
|
596
661
|
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
597
662
|
this.Message = opts.Message;
|
|
598
663
|
this.Code = opts.Code;
|
|
599
664
|
}
|
|
600
665
|
};
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
666
|
+
var ValidationException = class _ValidationException extends TextractServiceException {
|
|
667
|
+
static {
|
|
668
|
+
__name(this, "ValidationException");
|
|
669
|
+
}
|
|
670
|
+
name = "ValidationException";
|
|
671
|
+
$fault = "client";
|
|
672
|
+
Message;
|
|
673
|
+
Code;
|
|
604
674
|
/**
|
|
605
675
|
* @internal
|
|
606
676
|
*/
|
|
@@ -610,16 +680,19 @@ var _ValidationException = class _ValidationException extends TextractServiceExc
|
|
|
610
680
|
$fault: "client",
|
|
611
681
|
...opts
|
|
612
682
|
});
|
|
613
|
-
this.name = "ValidationException";
|
|
614
|
-
this.$fault = "client";
|
|
615
683
|
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
616
684
|
this.Message = opts.Message;
|
|
617
685
|
this.Code = opts.Code;
|
|
618
686
|
}
|
|
619
687
|
};
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
688
|
+
var InvalidKMSKeyException = class _InvalidKMSKeyException extends TextractServiceException {
|
|
689
|
+
static {
|
|
690
|
+
__name(this, "InvalidKMSKeyException");
|
|
691
|
+
}
|
|
692
|
+
name = "InvalidKMSKeyException";
|
|
693
|
+
$fault = "client";
|
|
694
|
+
Message;
|
|
695
|
+
Code;
|
|
623
696
|
/**
|
|
624
697
|
* @internal
|
|
625
698
|
*/
|
|
@@ -629,16 +702,19 @@ var _InvalidKMSKeyException = class _InvalidKMSKeyException extends TextractServ
|
|
|
629
702
|
$fault: "client",
|
|
630
703
|
...opts
|
|
631
704
|
});
|
|
632
|
-
this.name = "InvalidKMSKeyException";
|
|
633
|
-
this.$fault = "client";
|
|
634
705
|
Object.setPrototypeOf(this, _InvalidKMSKeyException.prototype);
|
|
635
706
|
this.Message = opts.Message;
|
|
636
707
|
this.Code = opts.Code;
|
|
637
708
|
}
|
|
638
709
|
};
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
710
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends TextractServiceException {
|
|
711
|
+
static {
|
|
712
|
+
__name(this, "ResourceNotFoundException");
|
|
713
|
+
}
|
|
714
|
+
name = "ResourceNotFoundException";
|
|
715
|
+
$fault = "client";
|
|
716
|
+
Message;
|
|
717
|
+
Code;
|
|
642
718
|
/**
|
|
643
719
|
* @internal
|
|
644
720
|
*/
|
|
@@ -648,22 +724,25 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Textra
|
|
|
648
724
|
$fault: "client",
|
|
649
725
|
...opts
|
|
650
726
|
});
|
|
651
|
-
this.name = "ResourceNotFoundException";
|
|
652
|
-
this.$fault = "client";
|
|
653
727
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
654
728
|
this.Message = opts.Message;
|
|
655
729
|
this.Code = opts.Code;
|
|
656
730
|
}
|
|
657
731
|
};
|
|
658
|
-
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
659
|
-
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
660
732
|
var JobStatus = {
|
|
661
733
|
FAILED: "FAILED",
|
|
662
734
|
IN_PROGRESS: "IN_PROGRESS",
|
|
663
735
|
PARTIAL_SUCCESS: "PARTIAL_SUCCESS",
|
|
664
736
|
SUCCEEDED: "SUCCEEDED"
|
|
665
737
|
};
|
|
666
|
-
var
|
|
738
|
+
var InvalidJobIdException = class _InvalidJobIdException extends TextractServiceException {
|
|
739
|
+
static {
|
|
740
|
+
__name(this, "InvalidJobIdException");
|
|
741
|
+
}
|
|
742
|
+
name = "InvalidJobIdException";
|
|
743
|
+
$fault = "client";
|
|
744
|
+
Message;
|
|
745
|
+
Code;
|
|
667
746
|
/**
|
|
668
747
|
* @internal
|
|
669
748
|
*/
|
|
@@ -673,15 +752,11 @@ var _InvalidJobIdException = class _InvalidJobIdException extends TextractServic
|
|
|
673
752
|
$fault: "client",
|
|
674
753
|
...opts
|
|
675
754
|
});
|
|
676
|
-
this.name = "InvalidJobIdException";
|
|
677
|
-
this.$fault = "client";
|
|
678
755
|
Object.setPrototypeOf(this, _InvalidJobIdException.prototype);
|
|
679
756
|
this.Message = opts.Message;
|
|
680
757
|
this.Code = opts.Code;
|
|
681
758
|
}
|
|
682
759
|
};
|
|
683
|
-
__name(_InvalidJobIdException, "InvalidJobIdException");
|
|
684
|
-
var InvalidJobIdException = _InvalidJobIdException;
|
|
685
760
|
|
|
686
761
|
// src/protocols/Aws_json1_1.ts
|
|
687
762
|
var se_AnalyzeDocumentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -1918,351 +1993,376 @@ function sharedHeaders(operation) {
|
|
|
1918
1993
|
__name(sharedHeaders, "sharedHeaders");
|
|
1919
1994
|
|
|
1920
1995
|
// src/commands/AnalyzeDocumentCommand.ts
|
|
1921
|
-
var
|
|
1996
|
+
var AnalyzeDocumentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1922
1997
|
return [
|
|
1923
1998
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1924
1999
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1925
2000
|
];
|
|
1926
2001
|
}).s("Textract", "AnalyzeDocument", {}).n("TextractClient", "AnalyzeDocumentCommand").f(void 0, void 0).ser(se_AnalyzeDocumentCommand).de(de_AnalyzeDocumentCommand).build() {
|
|
2002
|
+
static {
|
|
2003
|
+
__name(this, "AnalyzeDocumentCommand");
|
|
2004
|
+
}
|
|
1927
2005
|
};
|
|
1928
|
-
__name(_AnalyzeDocumentCommand, "AnalyzeDocumentCommand");
|
|
1929
|
-
var AnalyzeDocumentCommand = _AnalyzeDocumentCommand;
|
|
1930
2006
|
|
|
1931
2007
|
// src/commands/AnalyzeExpenseCommand.ts
|
|
1932
2008
|
|
|
1933
2009
|
|
|
1934
2010
|
|
|
1935
|
-
var
|
|
2011
|
+
var AnalyzeExpenseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1936
2012
|
return [
|
|
1937
2013
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1938
2014
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1939
2015
|
];
|
|
1940
2016
|
}).s("Textract", "AnalyzeExpense", {}).n("TextractClient", "AnalyzeExpenseCommand").f(void 0, void 0).ser(se_AnalyzeExpenseCommand).de(de_AnalyzeExpenseCommand).build() {
|
|
2017
|
+
static {
|
|
2018
|
+
__name(this, "AnalyzeExpenseCommand");
|
|
2019
|
+
}
|
|
1941
2020
|
};
|
|
1942
|
-
__name(_AnalyzeExpenseCommand, "AnalyzeExpenseCommand");
|
|
1943
|
-
var AnalyzeExpenseCommand = _AnalyzeExpenseCommand;
|
|
1944
2021
|
|
|
1945
2022
|
// src/commands/AnalyzeIDCommand.ts
|
|
1946
2023
|
|
|
1947
2024
|
|
|
1948
2025
|
|
|
1949
|
-
var
|
|
2026
|
+
var AnalyzeIDCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1950
2027
|
return [
|
|
1951
2028
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1952
2029
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1953
2030
|
];
|
|
1954
2031
|
}).s("Textract", "AnalyzeID", {}).n("TextractClient", "AnalyzeIDCommand").f(void 0, void 0).ser(se_AnalyzeIDCommand).de(de_AnalyzeIDCommand).build() {
|
|
2032
|
+
static {
|
|
2033
|
+
__name(this, "AnalyzeIDCommand");
|
|
2034
|
+
}
|
|
1955
2035
|
};
|
|
1956
|
-
__name(_AnalyzeIDCommand, "AnalyzeIDCommand");
|
|
1957
|
-
var AnalyzeIDCommand = _AnalyzeIDCommand;
|
|
1958
2036
|
|
|
1959
2037
|
// src/commands/CreateAdapterCommand.ts
|
|
1960
2038
|
|
|
1961
2039
|
|
|
1962
2040
|
|
|
1963
|
-
var
|
|
2041
|
+
var CreateAdapterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1964
2042
|
return [
|
|
1965
2043
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1966
2044
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1967
2045
|
];
|
|
1968
2046
|
}).s("Textract", "CreateAdapter", {}).n("TextractClient", "CreateAdapterCommand").f(void 0, void 0).ser(se_CreateAdapterCommand).de(de_CreateAdapterCommand).build() {
|
|
2047
|
+
static {
|
|
2048
|
+
__name(this, "CreateAdapterCommand");
|
|
2049
|
+
}
|
|
1969
2050
|
};
|
|
1970
|
-
__name(_CreateAdapterCommand, "CreateAdapterCommand");
|
|
1971
|
-
var CreateAdapterCommand = _CreateAdapterCommand;
|
|
1972
2051
|
|
|
1973
2052
|
// src/commands/CreateAdapterVersionCommand.ts
|
|
1974
2053
|
|
|
1975
2054
|
|
|
1976
2055
|
|
|
1977
|
-
var
|
|
2056
|
+
var CreateAdapterVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1978
2057
|
return [
|
|
1979
2058
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1980
2059
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1981
2060
|
];
|
|
1982
2061
|
}).s("Textract", "CreateAdapterVersion", {}).n("TextractClient", "CreateAdapterVersionCommand").f(void 0, void 0).ser(se_CreateAdapterVersionCommand).de(de_CreateAdapterVersionCommand).build() {
|
|
2062
|
+
static {
|
|
2063
|
+
__name(this, "CreateAdapterVersionCommand");
|
|
2064
|
+
}
|
|
1983
2065
|
};
|
|
1984
|
-
__name(_CreateAdapterVersionCommand, "CreateAdapterVersionCommand");
|
|
1985
|
-
var CreateAdapterVersionCommand = _CreateAdapterVersionCommand;
|
|
1986
2066
|
|
|
1987
2067
|
// src/commands/DeleteAdapterCommand.ts
|
|
1988
2068
|
|
|
1989
2069
|
|
|
1990
2070
|
|
|
1991
|
-
var
|
|
2071
|
+
var DeleteAdapterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1992
2072
|
return [
|
|
1993
2073
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1994
2074
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1995
2075
|
];
|
|
1996
2076
|
}).s("Textract", "DeleteAdapter", {}).n("TextractClient", "DeleteAdapterCommand").f(void 0, void 0).ser(se_DeleteAdapterCommand).de(de_DeleteAdapterCommand).build() {
|
|
2077
|
+
static {
|
|
2078
|
+
__name(this, "DeleteAdapterCommand");
|
|
2079
|
+
}
|
|
1997
2080
|
};
|
|
1998
|
-
__name(_DeleteAdapterCommand, "DeleteAdapterCommand");
|
|
1999
|
-
var DeleteAdapterCommand = _DeleteAdapterCommand;
|
|
2000
2081
|
|
|
2001
2082
|
// src/commands/DeleteAdapterVersionCommand.ts
|
|
2002
2083
|
|
|
2003
2084
|
|
|
2004
2085
|
|
|
2005
|
-
var
|
|
2086
|
+
var DeleteAdapterVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2006
2087
|
return [
|
|
2007
2088
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2008
2089
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2009
2090
|
];
|
|
2010
2091
|
}).s("Textract", "DeleteAdapterVersion", {}).n("TextractClient", "DeleteAdapterVersionCommand").f(void 0, void 0).ser(se_DeleteAdapterVersionCommand).de(de_DeleteAdapterVersionCommand).build() {
|
|
2092
|
+
static {
|
|
2093
|
+
__name(this, "DeleteAdapterVersionCommand");
|
|
2094
|
+
}
|
|
2011
2095
|
};
|
|
2012
|
-
__name(_DeleteAdapterVersionCommand, "DeleteAdapterVersionCommand");
|
|
2013
|
-
var DeleteAdapterVersionCommand = _DeleteAdapterVersionCommand;
|
|
2014
2096
|
|
|
2015
2097
|
// src/commands/DetectDocumentTextCommand.ts
|
|
2016
2098
|
|
|
2017
2099
|
|
|
2018
2100
|
|
|
2019
|
-
var
|
|
2101
|
+
var DetectDocumentTextCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2020
2102
|
return [
|
|
2021
2103
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2022
2104
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2023
2105
|
];
|
|
2024
2106
|
}).s("Textract", "DetectDocumentText", {}).n("TextractClient", "DetectDocumentTextCommand").f(void 0, void 0).ser(se_DetectDocumentTextCommand).de(de_DetectDocumentTextCommand).build() {
|
|
2107
|
+
static {
|
|
2108
|
+
__name(this, "DetectDocumentTextCommand");
|
|
2109
|
+
}
|
|
2025
2110
|
};
|
|
2026
|
-
__name(_DetectDocumentTextCommand, "DetectDocumentTextCommand");
|
|
2027
|
-
var DetectDocumentTextCommand = _DetectDocumentTextCommand;
|
|
2028
2111
|
|
|
2029
2112
|
// src/commands/GetAdapterCommand.ts
|
|
2030
2113
|
|
|
2031
2114
|
|
|
2032
2115
|
|
|
2033
|
-
var
|
|
2116
|
+
var GetAdapterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2034
2117
|
return [
|
|
2035
2118
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2036
2119
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2037
2120
|
];
|
|
2038
2121
|
}).s("Textract", "GetAdapter", {}).n("TextractClient", "GetAdapterCommand").f(void 0, void 0).ser(se_GetAdapterCommand).de(de_GetAdapterCommand).build() {
|
|
2122
|
+
static {
|
|
2123
|
+
__name(this, "GetAdapterCommand");
|
|
2124
|
+
}
|
|
2039
2125
|
};
|
|
2040
|
-
__name(_GetAdapterCommand, "GetAdapterCommand");
|
|
2041
|
-
var GetAdapterCommand = _GetAdapterCommand;
|
|
2042
2126
|
|
|
2043
2127
|
// src/commands/GetAdapterVersionCommand.ts
|
|
2044
2128
|
|
|
2045
2129
|
|
|
2046
2130
|
|
|
2047
|
-
var
|
|
2131
|
+
var GetAdapterVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2048
2132
|
return [
|
|
2049
2133
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2050
2134
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2051
2135
|
];
|
|
2052
2136
|
}).s("Textract", "GetAdapterVersion", {}).n("TextractClient", "GetAdapterVersionCommand").f(void 0, void 0).ser(se_GetAdapterVersionCommand).de(de_GetAdapterVersionCommand).build() {
|
|
2137
|
+
static {
|
|
2138
|
+
__name(this, "GetAdapterVersionCommand");
|
|
2139
|
+
}
|
|
2053
2140
|
};
|
|
2054
|
-
__name(_GetAdapterVersionCommand, "GetAdapterVersionCommand");
|
|
2055
|
-
var GetAdapterVersionCommand = _GetAdapterVersionCommand;
|
|
2056
2141
|
|
|
2057
2142
|
// src/commands/GetDocumentAnalysisCommand.ts
|
|
2058
2143
|
|
|
2059
2144
|
|
|
2060
2145
|
|
|
2061
|
-
var
|
|
2146
|
+
var GetDocumentAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2062
2147
|
return [
|
|
2063
2148
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2064
2149
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2065
2150
|
];
|
|
2066
2151
|
}).s("Textract", "GetDocumentAnalysis", {}).n("TextractClient", "GetDocumentAnalysisCommand").f(void 0, void 0).ser(se_GetDocumentAnalysisCommand).de(de_GetDocumentAnalysisCommand).build() {
|
|
2152
|
+
static {
|
|
2153
|
+
__name(this, "GetDocumentAnalysisCommand");
|
|
2154
|
+
}
|
|
2067
2155
|
};
|
|
2068
|
-
__name(_GetDocumentAnalysisCommand, "GetDocumentAnalysisCommand");
|
|
2069
|
-
var GetDocumentAnalysisCommand = _GetDocumentAnalysisCommand;
|
|
2070
2156
|
|
|
2071
2157
|
// src/commands/GetDocumentTextDetectionCommand.ts
|
|
2072
2158
|
|
|
2073
2159
|
|
|
2074
2160
|
|
|
2075
|
-
var
|
|
2161
|
+
var GetDocumentTextDetectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2076
2162
|
return [
|
|
2077
2163
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2078
2164
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2079
2165
|
];
|
|
2080
2166
|
}).s("Textract", "GetDocumentTextDetection", {}).n("TextractClient", "GetDocumentTextDetectionCommand").f(void 0, void 0).ser(se_GetDocumentTextDetectionCommand).de(de_GetDocumentTextDetectionCommand).build() {
|
|
2167
|
+
static {
|
|
2168
|
+
__name(this, "GetDocumentTextDetectionCommand");
|
|
2169
|
+
}
|
|
2081
2170
|
};
|
|
2082
|
-
__name(_GetDocumentTextDetectionCommand, "GetDocumentTextDetectionCommand");
|
|
2083
|
-
var GetDocumentTextDetectionCommand = _GetDocumentTextDetectionCommand;
|
|
2084
2171
|
|
|
2085
2172
|
// src/commands/GetExpenseAnalysisCommand.ts
|
|
2086
2173
|
|
|
2087
2174
|
|
|
2088
2175
|
|
|
2089
|
-
var
|
|
2176
|
+
var GetExpenseAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2090
2177
|
return [
|
|
2091
2178
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2092
2179
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2093
2180
|
];
|
|
2094
2181
|
}).s("Textract", "GetExpenseAnalysis", {}).n("TextractClient", "GetExpenseAnalysisCommand").f(void 0, void 0).ser(se_GetExpenseAnalysisCommand).de(de_GetExpenseAnalysisCommand).build() {
|
|
2182
|
+
static {
|
|
2183
|
+
__name(this, "GetExpenseAnalysisCommand");
|
|
2184
|
+
}
|
|
2095
2185
|
};
|
|
2096
|
-
__name(_GetExpenseAnalysisCommand, "GetExpenseAnalysisCommand");
|
|
2097
|
-
var GetExpenseAnalysisCommand = _GetExpenseAnalysisCommand;
|
|
2098
2186
|
|
|
2099
2187
|
// src/commands/GetLendingAnalysisCommand.ts
|
|
2100
2188
|
|
|
2101
2189
|
|
|
2102
2190
|
|
|
2103
|
-
var
|
|
2191
|
+
var GetLendingAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2104
2192
|
return [
|
|
2105
2193
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2106
2194
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2107
2195
|
];
|
|
2108
2196
|
}).s("Textract", "GetLendingAnalysis", {}).n("TextractClient", "GetLendingAnalysisCommand").f(void 0, void 0).ser(se_GetLendingAnalysisCommand).de(de_GetLendingAnalysisCommand).build() {
|
|
2197
|
+
static {
|
|
2198
|
+
__name(this, "GetLendingAnalysisCommand");
|
|
2199
|
+
}
|
|
2109
2200
|
};
|
|
2110
|
-
__name(_GetLendingAnalysisCommand, "GetLendingAnalysisCommand");
|
|
2111
|
-
var GetLendingAnalysisCommand = _GetLendingAnalysisCommand;
|
|
2112
2201
|
|
|
2113
2202
|
// src/commands/GetLendingAnalysisSummaryCommand.ts
|
|
2114
2203
|
|
|
2115
2204
|
|
|
2116
2205
|
|
|
2117
|
-
var
|
|
2206
|
+
var GetLendingAnalysisSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2118
2207
|
return [
|
|
2119
2208
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2120
2209
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2121
2210
|
];
|
|
2122
2211
|
}).s("Textract", "GetLendingAnalysisSummary", {}).n("TextractClient", "GetLendingAnalysisSummaryCommand").f(void 0, void 0).ser(se_GetLendingAnalysisSummaryCommand).de(de_GetLendingAnalysisSummaryCommand).build() {
|
|
2212
|
+
static {
|
|
2213
|
+
__name(this, "GetLendingAnalysisSummaryCommand");
|
|
2214
|
+
}
|
|
2123
2215
|
};
|
|
2124
|
-
__name(_GetLendingAnalysisSummaryCommand, "GetLendingAnalysisSummaryCommand");
|
|
2125
|
-
var GetLendingAnalysisSummaryCommand = _GetLendingAnalysisSummaryCommand;
|
|
2126
2216
|
|
|
2127
2217
|
// src/commands/ListAdaptersCommand.ts
|
|
2128
2218
|
|
|
2129
2219
|
|
|
2130
2220
|
|
|
2131
|
-
var
|
|
2221
|
+
var ListAdaptersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2132
2222
|
return [
|
|
2133
2223
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2134
2224
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2135
2225
|
];
|
|
2136
2226
|
}).s("Textract", "ListAdapters", {}).n("TextractClient", "ListAdaptersCommand").f(void 0, void 0).ser(se_ListAdaptersCommand).de(de_ListAdaptersCommand).build() {
|
|
2227
|
+
static {
|
|
2228
|
+
__name(this, "ListAdaptersCommand");
|
|
2229
|
+
}
|
|
2137
2230
|
};
|
|
2138
|
-
__name(_ListAdaptersCommand, "ListAdaptersCommand");
|
|
2139
|
-
var ListAdaptersCommand = _ListAdaptersCommand;
|
|
2140
2231
|
|
|
2141
2232
|
// src/commands/ListAdapterVersionsCommand.ts
|
|
2142
2233
|
|
|
2143
2234
|
|
|
2144
2235
|
|
|
2145
|
-
var
|
|
2236
|
+
var ListAdapterVersionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2146
2237
|
return [
|
|
2147
2238
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2148
2239
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2149
2240
|
];
|
|
2150
2241
|
}).s("Textract", "ListAdapterVersions", {}).n("TextractClient", "ListAdapterVersionsCommand").f(void 0, void 0).ser(se_ListAdapterVersionsCommand).de(de_ListAdapterVersionsCommand).build() {
|
|
2242
|
+
static {
|
|
2243
|
+
__name(this, "ListAdapterVersionsCommand");
|
|
2244
|
+
}
|
|
2151
2245
|
};
|
|
2152
|
-
__name(_ListAdapterVersionsCommand, "ListAdapterVersionsCommand");
|
|
2153
|
-
var ListAdapterVersionsCommand = _ListAdapterVersionsCommand;
|
|
2154
2246
|
|
|
2155
2247
|
// src/commands/ListTagsForResourceCommand.ts
|
|
2156
2248
|
|
|
2157
2249
|
|
|
2158
2250
|
|
|
2159
|
-
var
|
|
2251
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2160
2252
|
return [
|
|
2161
2253
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2162
2254
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2163
2255
|
];
|
|
2164
2256
|
}).s("Textract", "ListTagsForResource", {}).n("TextractClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2257
|
+
static {
|
|
2258
|
+
__name(this, "ListTagsForResourceCommand");
|
|
2259
|
+
}
|
|
2165
2260
|
};
|
|
2166
|
-
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
2167
|
-
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
2168
2261
|
|
|
2169
2262
|
// src/commands/StartDocumentAnalysisCommand.ts
|
|
2170
2263
|
|
|
2171
2264
|
|
|
2172
2265
|
|
|
2173
|
-
var
|
|
2266
|
+
var StartDocumentAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2174
2267
|
return [
|
|
2175
2268
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2176
2269
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2177
2270
|
];
|
|
2178
2271
|
}).s("Textract", "StartDocumentAnalysis", {}).n("TextractClient", "StartDocumentAnalysisCommand").f(void 0, void 0).ser(se_StartDocumentAnalysisCommand).de(de_StartDocumentAnalysisCommand).build() {
|
|
2272
|
+
static {
|
|
2273
|
+
__name(this, "StartDocumentAnalysisCommand");
|
|
2274
|
+
}
|
|
2179
2275
|
};
|
|
2180
|
-
__name(_StartDocumentAnalysisCommand, "StartDocumentAnalysisCommand");
|
|
2181
|
-
var StartDocumentAnalysisCommand = _StartDocumentAnalysisCommand;
|
|
2182
2276
|
|
|
2183
2277
|
// src/commands/StartDocumentTextDetectionCommand.ts
|
|
2184
2278
|
|
|
2185
2279
|
|
|
2186
2280
|
|
|
2187
|
-
var
|
|
2281
|
+
var StartDocumentTextDetectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2188
2282
|
return [
|
|
2189
2283
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2190
2284
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2191
2285
|
];
|
|
2192
2286
|
}).s("Textract", "StartDocumentTextDetection", {}).n("TextractClient", "StartDocumentTextDetectionCommand").f(void 0, void 0).ser(se_StartDocumentTextDetectionCommand).de(de_StartDocumentTextDetectionCommand).build() {
|
|
2287
|
+
static {
|
|
2288
|
+
__name(this, "StartDocumentTextDetectionCommand");
|
|
2289
|
+
}
|
|
2193
2290
|
};
|
|
2194
|
-
__name(_StartDocumentTextDetectionCommand, "StartDocumentTextDetectionCommand");
|
|
2195
|
-
var StartDocumentTextDetectionCommand = _StartDocumentTextDetectionCommand;
|
|
2196
2291
|
|
|
2197
2292
|
// src/commands/StartExpenseAnalysisCommand.ts
|
|
2198
2293
|
|
|
2199
2294
|
|
|
2200
2295
|
|
|
2201
|
-
var
|
|
2296
|
+
var StartExpenseAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2202
2297
|
return [
|
|
2203
2298
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2204
2299
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2205
2300
|
];
|
|
2206
2301
|
}).s("Textract", "StartExpenseAnalysis", {}).n("TextractClient", "StartExpenseAnalysisCommand").f(void 0, void 0).ser(se_StartExpenseAnalysisCommand).de(de_StartExpenseAnalysisCommand).build() {
|
|
2302
|
+
static {
|
|
2303
|
+
__name(this, "StartExpenseAnalysisCommand");
|
|
2304
|
+
}
|
|
2207
2305
|
};
|
|
2208
|
-
__name(_StartExpenseAnalysisCommand, "StartExpenseAnalysisCommand");
|
|
2209
|
-
var StartExpenseAnalysisCommand = _StartExpenseAnalysisCommand;
|
|
2210
2306
|
|
|
2211
2307
|
// src/commands/StartLendingAnalysisCommand.ts
|
|
2212
2308
|
|
|
2213
2309
|
|
|
2214
2310
|
|
|
2215
|
-
var
|
|
2311
|
+
var StartLendingAnalysisCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2216
2312
|
return [
|
|
2217
2313
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2218
2314
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2219
2315
|
];
|
|
2220
2316
|
}).s("Textract", "StartLendingAnalysis", {}).n("TextractClient", "StartLendingAnalysisCommand").f(void 0, void 0).ser(se_StartLendingAnalysisCommand).de(de_StartLendingAnalysisCommand).build() {
|
|
2317
|
+
static {
|
|
2318
|
+
__name(this, "StartLendingAnalysisCommand");
|
|
2319
|
+
}
|
|
2221
2320
|
};
|
|
2222
|
-
__name(_StartLendingAnalysisCommand, "StartLendingAnalysisCommand");
|
|
2223
|
-
var StartLendingAnalysisCommand = _StartLendingAnalysisCommand;
|
|
2224
2321
|
|
|
2225
2322
|
// src/commands/TagResourceCommand.ts
|
|
2226
2323
|
|
|
2227
2324
|
|
|
2228
2325
|
|
|
2229
|
-
var
|
|
2326
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2230
2327
|
return [
|
|
2231
2328
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2232
2329
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2233
2330
|
];
|
|
2234
2331
|
}).s("Textract", "TagResource", {}).n("TextractClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2332
|
+
static {
|
|
2333
|
+
__name(this, "TagResourceCommand");
|
|
2334
|
+
}
|
|
2235
2335
|
};
|
|
2236
|
-
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2237
|
-
var TagResourceCommand = _TagResourceCommand;
|
|
2238
2336
|
|
|
2239
2337
|
// src/commands/UntagResourceCommand.ts
|
|
2240
2338
|
|
|
2241
2339
|
|
|
2242
2340
|
|
|
2243
|
-
var
|
|
2341
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2244
2342
|
return [
|
|
2245
2343
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2246
2344
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2247
2345
|
];
|
|
2248
2346
|
}).s("Textract", "UntagResource", {}).n("TextractClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2347
|
+
static {
|
|
2348
|
+
__name(this, "UntagResourceCommand");
|
|
2349
|
+
}
|
|
2249
2350
|
};
|
|
2250
|
-
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2251
|
-
var UntagResourceCommand = _UntagResourceCommand;
|
|
2252
2351
|
|
|
2253
2352
|
// src/commands/UpdateAdapterCommand.ts
|
|
2254
2353
|
|
|
2255
2354
|
|
|
2256
2355
|
|
|
2257
|
-
var
|
|
2356
|
+
var UpdateAdapterCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2258
2357
|
return [
|
|
2259
2358
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2260
2359
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2261
2360
|
];
|
|
2262
2361
|
}).s("Textract", "UpdateAdapter", {}).n("TextractClient", "UpdateAdapterCommand").f(void 0, void 0).ser(se_UpdateAdapterCommand).de(de_UpdateAdapterCommand).build() {
|
|
2362
|
+
static {
|
|
2363
|
+
__name(this, "UpdateAdapterCommand");
|
|
2364
|
+
}
|
|
2263
2365
|
};
|
|
2264
|
-
__name(_UpdateAdapterCommand, "UpdateAdapterCommand");
|
|
2265
|
-
var UpdateAdapterCommand = _UpdateAdapterCommand;
|
|
2266
2366
|
|
|
2267
2367
|
// src/Textract.ts
|
|
2268
2368
|
var commands = {
|
|
@@ -2292,10 +2392,11 @@ var commands = {
|
|
|
2292
2392
|
UntagResourceCommand,
|
|
2293
2393
|
UpdateAdapterCommand
|
|
2294
2394
|
};
|
|
2295
|
-
var
|
|
2395
|
+
var Textract = class extends TextractClient {
|
|
2396
|
+
static {
|
|
2397
|
+
__name(this, "Textract");
|
|
2398
|
+
}
|
|
2296
2399
|
};
|
|
2297
|
-
__name(_Textract, "Textract");
|
|
2298
|
-
var Textract = _Textract;
|
|
2299
2400
|
(0, import_smithy_client.createAggregatedClient)(commands, Textract);
|
|
2300
2401
|
|
|
2301
2402
|
// src/pagination/ListAdapterVersionsPaginator.ts
|