@aws-sdk/client-textract 3.927.0 → 3.929.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 +1196 -1500
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/TextractClient.js +2 -0
- package/dist-es/commands/AnalyzeDocumentCommand.js +3 -9
- package/dist-es/commands/AnalyzeExpenseCommand.js +3 -9
- package/dist-es/commands/AnalyzeIDCommand.js +3 -9
- package/dist-es/commands/CreateAdapterCommand.js +3 -9
- package/dist-es/commands/CreateAdapterVersionCommand.js +3 -9
- package/dist-es/commands/DeleteAdapterCommand.js +3 -9
- package/dist-es/commands/DeleteAdapterVersionCommand.js +3 -9
- package/dist-es/commands/DetectDocumentTextCommand.js +3 -9
- package/dist-es/commands/GetAdapterCommand.js +3 -9
- package/dist-es/commands/GetAdapterVersionCommand.js +3 -9
- package/dist-es/commands/GetDocumentAnalysisCommand.js +3 -9
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +3 -9
- package/dist-es/commands/GetExpenseAnalysisCommand.js +3 -9
- package/dist-es/commands/GetLendingAnalysisCommand.js +3 -9
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +3 -9
- package/dist-es/commands/ListAdapterVersionsCommand.js +3 -9
- package/dist-es/commands/ListAdaptersCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartDocumentAnalysisCommand.js +3 -9
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +3 -9
- package/dist-es/commands/StartExpenseAnalysisCommand.js +3 -9
- package/dist-es/commands/StartLendingAnalysisCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAdapterCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +1104 -0
- package/dist-types/TextractClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +186 -0
- package/dist-types/ts3.4/TextractClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +192 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -1275
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -227
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -305
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class TextractClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class TextractClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class TextractServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let TextractServiceException$1 = class TextractServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, TextractServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends TextractServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends TextractServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
Message;
|
|
@@ -133,7 +132,7 @@ class AccessDeniedException extends TextractServiceException {
|
|
|
133
132
|
this.Message = opts.Message;
|
|
134
133
|
this.Code = opts.Code;
|
|
135
134
|
}
|
|
136
|
-
}
|
|
135
|
+
};
|
|
137
136
|
const FeatureType = {
|
|
138
137
|
FORMS: "FORMS",
|
|
139
138
|
LAYOUT: "LAYOUT",
|
|
@@ -208,7 +207,7 @@ const TextType = {
|
|
|
208
207
|
HANDWRITING: "HANDWRITING",
|
|
209
208
|
PRINTED: "PRINTED",
|
|
210
209
|
};
|
|
211
|
-
class BadDocumentException extends TextractServiceException {
|
|
210
|
+
let BadDocumentException$1 = class BadDocumentException extends TextractServiceException$1 {
|
|
212
211
|
name = "BadDocumentException";
|
|
213
212
|
$fault = "client";
|
|
214
213
|
Message;
|
|
@@ -223,8 +222,8 @@ class BadDocumentException extends TextractServiceException {
|
|
|
223
222
|
this.Message = opts.Message;
|
|
224
223
|
this.Code = opts.Code;
|
|
225
224
|
}
|
|
226
|
-
}
|
|
227
|
-
class DocumentTooLargeException extends TextractServiceException {
|
|
225
|
+
};
|
|
226
|
+
let DocumentTooLargeException$1 = class DocumentTooLargeException extends TextractServiceException$1 {
|
|
228
227
|
name = "DocumentTooLargeException";
|
|
229
228
|
$fault = "client";
|
|
230
229
|
Message;
|
|
@@ -239,8 +238,8 @@ class DocumentTooLargeException extends TextractServiceException {
|
|
|
239
238
|
this.Message = opts.Message;
|
|
240
239
|
this.Code = opts.Code;
|
|
241
240
|
}
|
|
242
|
-
}
|
|
243
|
-
class HumanLoopQuotaExceededException extends TextractServiceException {
|
|
241
|
+
};
|
|
242
|
+
let HumanLoopQuotaExceededException$1 = class HumanLoopQuotaExceededException extends TextractServiceException$1 {
|
|
244
243
|
name = "HumanLoopQuotaExceededException";
|
|
245
244
|
$fault = "client";
|
|
246
245
|
ResourceType;
|
|
@@ -261,8 +260,8 @@ class HumanLoopQuotaExceededException extends TextractServiceException {
|
|
|
261
260
|
this.Message = opts.Message;
|
|
262
261
|
this.Code = opts.Code;
|
|
263
262
|
}
|
|
264
|
-
}
|
|
265
|
-
class InternalServerError extends TextractServiceException {
|
|
263
|
+
};
|
|
264
|
+
let InternalServerError$1 = class InternalServerError extends TextractServiceException$1 {
|
|
266
265
|
name = "InternalServerError";
|
|
267
266
|
$fault = "server";
|
|
268
267
|
Message;
|
|
@@ -277,8 +276,8 @@ class InternalServerError extends TextractServiceException {
|
|
|
277
276
|
this.Message = opts.Message;
|
|
278
277
|
this.Code = opts.Code;
|
|
279
278
|
}
|
|
280
|
-
}
|
|
281
|
-
class InvalidParameterException extends TextractServiceException {
|
|
279
|
+
};
|
|
280
|
+
let InvalidParameterException$1 = class InvalidParameterException extends TextractServiceException$1 {
|
|
282
281
|
name = "InvalidParameterException";
|
|
283
282
|
$fault = "client";
|
|
284
283
|
Message;
|
|
@@ -293,8 +292,8 @@ class InvalidParameterException extends TextractServiceException {
|
|
|
293
292
|
this.Message = opts.Message;
|
|
294
293
|
this.Code = opts.Code;
|
|
295
294
|
}
|
|
296
|
-
}
|
|
297
|
-
class InvalidS3ObjectException extends TextractServiceException {
|
|
295
|
+
};
|
|
296
|
+
let InvalidS3ObjectException$1 = class InvalidS3ObjectException extends TextractServiceException$1 {
|
|
298
297
|
name = "InvalidS3ObjectException";
|
|
299
298
|
$fault = "client";
|
|
300
299
|
Message;
|
|
@@ -309,8 +308,8 @@ class InvalidS3ObjectException extends TextractServiceException {
|
|
|
309
308
|
this.Message = opts.Message;
|
|
310
309
|
this.Code = opts.Code;
|
|
311
310
|
}
|
|
312
|
-
}
|
|
313
|
-
class ProvisionedThroughputExceededException extends TextractServiceException {
|
|
311
|
+
};
|
|
312
|
+
let ProvisionedThroughputExceededException$1 = class ProvisionedThroughputExceededException extends TextractServiceException$1 {
|
|
314
313
|
name = "ProvisionedThroughputExceededException";
|
|
315
314
|
$fault = "client";
|
|
316
315
|
Message;
|
|
@@ -325,8 +324,8 @@ class ProvisionedThroughputExceededException extends TextractServiceException {
|
|
|
325
324
|
this.Message = opts.Message;
|
|
326
325
|
this.Code = opts.Code;
|
|
327
326
|
}
|
|
328
|
-
}
|
|
329
|
-
class ThrottlingException extends TextractServiceException {
|
|
327
|
+
};
|
|
328
|
+
let ThrottlingException$1 = class ThrottlingException extends TextractServiceException$1 {
|
|
330
329
|
name = "ThrottlingException";
|
|
331
330
|
$fault = "server";
|
|
332
331
|
Message;
|
|
@@ -341,8 +340,8 @@ class ThrottlingException extends TextractServiceException {
|
|
|
341
340
|
this.Message = opts.Message;
|
|
342
341
|
this.Code = opts.Code;
|
|
343
342
|
}
|
|
344
|
-
}
|
|
345
|
-
class UnsupportedDocumentException extends TextractServiceException {
|
|
343
|
+
};
|
|
344
|
+
let UnsupportedDocumentException$1 = class UnsupportedDocumentException extends TextractServiceException$1 {
|
|
346
345
|
name = "UnsupportedDocumentException";
|
|
347
346
|
$fault = "client";
|
|
348
347
|
Message;
|
|
@@ -357,7 +356,7 @@ class UnsupportedDocumentException extends TextractServiceException {
|
|
|
357
356
|
this.Message = opts.Message;
|
|
358
357
|
this.Code = opts.Code;
|
|
359
358
|
}
|
|
360
|
-
}
|
|
359
|
+
};
|
|
361
360
|
const ValueType = {
|
|
362
361
|
DATE: "DATE",
|
|
363
362
|
};
|
|
@@ -365,7 +364,7 @@ const AutoUpdate = {
|
|
|
365
364
|
DISABLED: "DISABLED",
|
|
366
365
|
ENABLED: "ENABLED",
|
|
367
366
|
};
|
|
368
|
-
class ConflictException extends TextractServiceException {
|
|
367
|
+
let ConflictException$1 = class ConflictException extends TextractServiceException$1 {
|
|
369
368
|
name = "ConflictException";
|
|
370
369
|
$fault = "client";
|
|
371
370
|
Message;
|
|
@@ -380,8 +379,8 @@ class ConflictException extends TextractServiceException {
|
|
|
380
379
|
this.Message = opts.Message;
|
|
381
380
|
this.Code = opts.Code;
|
|
382
381
|
}
|
|
383
|
-
}
|
|
384
|
-
class IdempotentParameterMismatchException extends TextractServiceException {
|
|
382
|
+
};
|
|
383
|
+
let IdempotentParameterMismatchException$1 = class IdempotentParameterMismatchException extends TextractServiceException$1 {
|
|
385
384
|
name = "IdempotentParameterMismatchException";
|
|
386
385
|
$fault = "client";
|
|
387
386
|
Message;
|
|
@@ -396,8 +395,8 @@ class IdempotentParameterMismatchException extends TextractServiceException {
|
|
|
396
395
|
this.Message = opts.Message;
|
|
397
396
|
this.Code = opts.Code;
|
|
398
397
|
}
|
|
399
|
-
}
|
|
400
|
-
class LimitExceededException extends TextractServiceException {
|
|
398
|
+
};
|
|
399
|
+
let LimitExceededException$1 = class LimitExceededException extends TextractServiceException$1 {
|
|
401
400
|
name = "LimitExceededException";
|
|
402
401
|
$fault = "client";
|
|
403
402
|
Message;
|
|
@@ -412,8 +411,8 @@ class LimitExceededException extends TextractServiceException {
|
|
|
412
411
|
this.Message = opts.Message;
|
|
413
412
|
this.Code = opts.Code;
|
|
414
413
|
}
|
|
415
|
-
}
|
|
416
|
-
class ServiceQuotaExceededException extends TextractServiceException {
|
|
414
|
+
};
|
|
415
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends TextractServiceException$1 {
|
|
417
416
|
name = "ServiceQuotaExceededException";
|
|
418
417
|
$fault = "client";
|
|
419
418
|
Message;
|
|
@@ -428,8 +427,8 @@ class ServiceQuotaExceededException extends TextractServiceException {
|
|
|
428
427
|
this.Message = opts.Message;
|
|
429
428
|
this.Code = opts.Code;
|
|
430
429
|
}
|
|
431
|
-
}
|
|
432
|
-
class ValidationException extends TextractServiceException {
|
|
430
|
+
};
|
|
431
|
+
let ValidationException$1 = class ValidationException extends TextractServiceException$1 {
|
|
433
432
|
name = "ValidationException";
|
|
434
433
|
$fault = "client";
|
|
435
434
|
Message;
|
|
@@ -444,8 +443,8 @@ class ValidationException extends TextractServiceException {
|
|
|
444
443
|
this.Message = opts.Message;
|
|
445
444
|
this.Code = opts.Code;
|
|
446
445
|
}
|
|
447
|
-
}
|
|
448
|
-
class InvalidKMSKeyException extends TextractServiceException {
|
|
446
|
+
};
|
|
447
|
+
let InvalidKMSKeyException$1 = class InvalidKMSKeyException extends TextractServiceException$1 {
|
|
449
448
|
name = "InvalidKMSKeyException";
|
|
450
449
|
$fault = "client";
|
|
451
450
|
Message;
|
|
@@ -460,8 +459,8 @@ class InvalidKMSKeyException extends TextractServiceException {
|
|
|
460
459
|
this.Message = opts.Message;
|
|
461
460
|
this.Code = opts.Code;
|
|
462
461
|
}
|
|
463
|
-
}
|
|
464
|
-
class ResourceNotFoundException extends TextractServiceException {
|
|
462
|
+
};
|
|
463
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends TextractServiceException$1 {
|
|
465
464
|
name = "ResourceNotFoundException";
|
|
466
465
|
$fault = "client";
|
|
467
466
|
Message;
|
|
@@ -476,14 +475,14 @@ class ResourceNotFoundException extends TextractServiceException {
|
|
|
476
475
|
this.Message = opts.Message;
|
|
477
476
|
this.Code = opts.Code;
|
|
478
477
|
}
|
|
479
|
-
}
|
|
478
|
+
};
|
|
480
479
|
const JobStatus = {
|
|
481
480
|
FAILED: "FAILED",
|
|
482
481
|
IN_PROGRESS: "IN_PROGRESS",
|
|
483
482
|
PARTIAL_SUCCESS: "PARTIAL_SUCCESS",
|
|
484
483
|
SUCCEEDED: "SUCCEEDED",
|
|
485
484
|
};
|
|
486
|
-
class InvalidJobIdException extends TextractServiceException {
|
|
485
|
+
let InvalidJobIdException$1 = class InvalidJobIdException extends TextractServiceException$1 {
|
|
487
486
|
name = "InvalidJobIdException";
|
|
488
487
|
$fault = "client";
|
|
489
488
|
Message;
|
|
@@ -498,1288 +497,1105 @@ class InvalidJobIdException extends TextractServiceException {
|
|
|
498
497
|
this.Message = opts.Message;
|
|
499
498
|
this.Code = opts.Code;
|
|
500
499
|
}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
const se_AnalyzeDocumentCommand = async (input, context) => {
|
|
504
|
-
const headers = sharedHeaders("AnalyzeDocument");
|
|
505
|
-
let body;
|
|
506
|
-
body = JSON.stringify(se_AnalyzeDocumentRequest(input, context));
|
|
507
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
508
|
-
};
|
|
509
|
-
const se_AnalyzeExpenseCommand = async (input, context) => {
|
|
510
|
-
const headers = sharedHeaders("AnalyzeExpense");
|
|
511
|
-
let body;
|
|
512
|
-
body = JSON.stringify(se_AnalyzeExpenseRequest(input, context));
|
|
513
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
514
|
-
};
|
|
515
|
-
const se_AnalyzeIDCommand = async (input, context) => {
|
|
516
|
-
const headers = sharedHeaders("AnalyzeID");
|
|
517
|
-
let body;
|
|
518
|
-
body = JSON.stringify(se_AnalyzeIDRequest(input, context));
|
|
519
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
520
|
-
};
|
|
521
|
-
const se_CreateAdapterCommand = async (input, context) => {
|
|
522
|
-
const headers = sharedHeaders("CreateAdapter");
|
|
523
|
-
let body;
|
|
524
|
-
body = JSON.stringify(se_CreateAdapterRequest(input));
|
|
525
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
526
|
-
};
|
|
527
|
-
const se_CreateAdapterVersionCommand = async (input, context) => {
|
|
528
|
-
const headers = sharedHeaders("CreateAdapterVersion");
|
|
529
|
-
let body;
|
|
530
|
-
body = JSON.stringify(se_CreateAdapterVersionRequest(input));
|
|
531
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
532
|
-
};
|
|
533
|
-
const se_DeleteAdapterCommand = async (input, context) => {
|
|
534
|
-
const headers = sharedHeaders("DeleteAdapter");
|
|
535
|
-
let body;
|
|
536
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
537
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
538
|
-
};
|
|
539
|
-
const se_DeleteAdapterVersionCommand = async (input, context) => {
|
|
540
|
-
const headers = sharedHeaders("DeleteAdapterVersion");
|
|
541
|
-
let body;
|
|
542
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
543
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
544
|
-
};
|
|
545
|
-
const se_DetectDocumentTextCommand = async (input, context) => {
|
|
546
|
-
const headers = sharedHeaders("DetectDocumentText");
|
|
547
|
-
let body;
|
|
548
|
-
body = JSON.stringify(se_DetectDocumentTextRequest(input, context));
|
|
549
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
550
|
-
};
|
|
551
|
-
const se_GetAdapterCommand = async (input, context) => {
|
|
552
|
-
const headers = sharedHeaders("GetAdapter");
|
|
553
|
-
let body;
|
|
554
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
555
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
556
|
-
};
|
|
557
|
-
const se_GetAdapterVersionCommand = async (input, context) => {
|
|
558
|
-
const headers = sharedHeaders("GetAdapterVersion");
|
|
559
|
-
let body;
|
|
560
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
561
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
562
|
-
};
|
|
563
|
-
const se_GetDocumentAnalysisCommand = async (input, context) => {
|
|
564
|
-
const headers = sharedHeaders("GetDocumentAnalysis");
|
|
565
|
-
let body;
|
|
566
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
567
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
568
|
-
};
|
|
569
|
-
const se_GetDocumentTextDetectionCommand = async (input, context) => {
|
|
570
|
-
const headers = sharedHeaders("GetDocumentTextDetection");
|
|
571
|
-
let body;
|
|
572
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
573
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
574
|
-
};
|
|
575
|
-
const se_GetExpenseAnalysisCommand = async (input, context) => {
|
|
576
|
-
const headers = sharedHeaders("GetExpenseAnalysis");
|
|
577
|
-
let body;
|
|
578
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
579
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
580
|
-
};
|
|
581
|
-
const se_GetLendingAnalysisCommand = async (input, context) => {
|
|
582
|
-
const headers = sharedHeaders("GetLendingAnalysis");
|
|
583
|
-
let body;
|
|
584
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
585
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
586
|
-
};
|
|
587
|
-
const se_GetLendingAnalysisSummaryCommand = async (input, context) => {
|
|
588
|
-
const headers = sharedHeaders("GetLendingAnalysisSummary");
|
|
589
|
-
let body;
|
|
590
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
591
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
592
|
-
};
|
|
593
|
-
const se_ListAdaptersCommand = async (input, context) => {
|
|
594
|
-
const headers = sharedHeaders("ListAdapters");
|
|
595
|
-
let body;
|
|
596
|
-
body = JSON.stringify(se_ListAdaptersRequest(input));
|
|
597
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
598
|
-
};
|
|
599
|
-
const se_ListAdapterVersionsCommand = async (input, context) => {
|
|
600
|
-
const headers = sharedHeaders("ListAdapterVersions");
|
|
601
|
-
let body;
|
|
602
|
-
body = JSON.stringify(se_ListAdapterVersionsRequest(input));
|
|
603
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
604
|
-
};
|
|
605
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
606
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
607
|
-
let body;
|
|
608
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
609
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
610
|
-
};
|
|
611
|
-
const se_StartDocumentAnalysisCommand = async (input, context) => {
|
|
612
|
-
const headers = sharedHeaders("StartDocumentAnalysis");
|
|
613
|
-
let body;
|
|
614
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
615
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
616
|
-
};
|
|
617
|
-
const se_StartDocumentTextDetectionCommand = async (input, context) => {
|
|
618
|
-
const headers = sharedHeaders("StartDocumentTextDetection");
|
|
619
|
-
let body;
|
|
620
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
621
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
622
|
-
};
|
|
623
|
-
const se_StartExpenseAnalysisCommand = async (input, context) => {
|
|
624
|
-
const headers = sharedHeaders("StartExpenseAnalysis");
|
|
625
|
-
let body;
|
|
626
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
627
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
628
|
-
};
|
|
629
|
-
const se_StartLendingAnalysisCommand = async (input, context) => {
|
|
630
|
-
const headers = sharedHeaders("StartLendingAnalysis");
|
|
631
|
-
let body;
|
|
632
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
633
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
634
|
-
};
|
|
635
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
636
|
-
const headers = sharedHeaders("TagResource");
|
|
637
|
-
let body;
|
|
638
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
639
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
640
|
-
};
|
|
641
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
642
|
-
const headers = sharedHeaders("UntagResource");
|
|
643
|
-
let body;
|
|
644
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
645
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
646
|
-
};
|
|
647
|
-
const se_UpdateAdapterCommand = async (input, context) => {
|
|
648
|
-
const headers = sharedHeaders("UpdateAdapter");
|
|
649
|
-
let body;
|
|
650
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
651
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
652
|
-
};
|
|
653
|
-
const de_AnalyzeDocumentCommand = async (output, context) => {
|
|
654
|
-
if (output.statusCode >= 300) {
|
|
655
|
-
return de_CommandError(output, context);
|
|
656
|
-
}
|
|
657
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
658
|
-
let contents = {};
|
|
659
|
-
contents = de_AnalyzeDocumentResponse(data);
|
|
660
|
-
const response = {
|
|
661
|
-
$metadata: deserializeMetadata(output),
|
|
662
|
-
...contents,
|
|
663
|
-
};
|
|
664
|
-
return response;
|
|
665
|
-
};
|
|
666
|
-
const de_AnalyzeExpenseCommand = async (output, context) => {
|
|
667
|
-
if (output.statusCode >= 300) {
|
|
668
|
-
return de_CommandError(output, context);
|
|
669
|
-
}
|
|
670
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
671
|
-
let contents = {};
|
|
672
|
-
contents = de_AnalyzeExpenseResponse(data);
|
|
673
|
-
const response = {
|
|
674
|
-
$metadata: deserializeMetadata(output),
|
|
675
|
-
...contents,
|
|
676
|
-
};
|
|
677
|
-
return response;
|
|
678
|
-
};
|
|
679
|
-
const de_AnalyzeIDCommand = async (output, context) => {
|
|
680
|
-
if (output.statusCode >= 300) {
|
|
681
|
-
return de_CommandError(output, context);
|
|
682
|
-
}
|
|
683
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
684
|
-
let contents = {};
|
|
685
|
-
contents = de_AnalyzeIDResponse(data);
|
|
686
|
-
const response = {
|
|
687
|
-
$metadata: deserializeMetadata(output),
|
|
688
|
-
...contents,
|
|
689
|
-
};
|
|
690
|
-
return response;
|
|
691
|
-
};
|
|
692
|
-
const de_CreateAdapterCommand = async (output, context) => {
|
|
693
|
-
if (output.statusCode >= 300) {
|
|
694
|
-
return de_CommandError(output, context);
|
|
695
|
-
}
|
|
696
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
697
|
-
let contents = {};
|
|
698
|
-
contents = smithyClient._json(data);
|
|
699
|
-
const response = {
|
|
700
|
-
$metadata: deserializeMetadata(output),
|
|
701
|
-
...contents,
|
|
702
|
-
};
|
|
703
|
-
return response;
|
|
704
|
-
};
|
|
705
|
-
const de_CreateAdapterVersionCommand = async (output, context) => {
|
|
706
|
-
if (output.statusCode >= 300) {
|
|
707
|
-
return de_CommandError(output, context);
|
|
708
|
-
}
|
|
709
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
710
|
-
let contents = {};
|
|
711
|
-
contents = smithyClient._json(data);
|
|
712
|
-
const response = {
|
|
713
|
-
$metadata: deserializeMetadata(output),
|
|
714
|
-
...contents,
|
|
715
|
-
};
|
|
716
|
-
return response;
|
|
717
|
-
};
|
|
718
|
-
const de_DeleteAdapterCommand = async (output, context) => {
|
|
719
|
-
if (output.statusCode >= 300) {
|
|
720
|
-
return de_CommandError(output, context);
|
|
721
|
-
}
|
|
722
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
723
|
-
let contents = {};
|
|
724
|
-
contents = smithyClient._json(data);
|
|
725
|
-
const response = {
|
|
726
|
-
$metadata: deserializeMetadata(output),
|
|
727
|
-
...contents,
|
|
728
|
-
};
|
|
729
|
-
return response;
|
|
730
|
-
};
|
|
731
|
-
const de_DeleteAdapterVersionCommand = async (output, context) => {
|
|
732
|
-
if (output.statusCode >= 300) {
|
|
733
|
-
return de_CommandError(output, context);
|
|
734
|
-
}
|
|
735
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
736
|
-
let contents = {};
|
|
737
|
-
contents = smithyClient._json(data);
|
|
738
|
-
const response = {
|
|
739
|
-
$metadata: deserializeMetadata(output),
|
|
740
|
-
...contents,
|
|
741
|
-
};
|
|
742
|
-
return response;
|
|
743
|
-
};
|
|
744
|
-
const de_DetectDocumentTextCommand = async (output, context) => {
|
|
745
|
-
if (output.statusCode >= 300) {
|
|
746
|
-
return de_CommandError(output, context);
|
|
747
|
-
}
|
|
748
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
749
|
-
let contents = {};
|
|
750
|
-
contents = de_DetectDocumentTextResponse(data);
|
|
751
|
-
const response = {
|
|
752
|
-
$metadata: deserializeMetadata(output),
|
|
753
|
-
...contents,
|
|
754
|
-
};
|
|
755
|
-
return response;
|
|
756
|
-
};
|
|
757
|
-
const de_GetAdapterCommand = async (output, context) => {
|
|
758
|
-
if (output.statusCode >= 300) {
|
|
759
|
-
return de_CommandError(output, context);
|
|
760
|
-
}
|
|
761
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
762
|
-
let contents = {};
|
|
763
|
-
contents = de_GetAdapterResponse(data);
|
|
764
|
-
const response = {
|
|
765
|
-
$metadata: deserializeMetadata(output),
|
|
766
|
-
...contents,
|
|
767
|
-
};
|
|
768
|
-
return response;
|
|
769
|
-
};
|
|
770
|
-
const de_GetAdapterVersionCommand = async (output, context) => {
|
|
771
|
-
if (output.statusCode >= 300) {
|
|
772
|
-
return de_CommandError(output, context);
|
|
773
|
-
}
|
|
774
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
775
|
-
let contents = {};
|
|
776
|
-
contents = de_GetAdapterVersionResponse(data);
|
|
777
|
-
const response = {
|
|
778
|
-
$metadata: deserializeMetadata(output),
|
|
779
|
-
...contents,
|
|
780
|
-
};
|
|
781
|
-
return response;
|
|
782
|
-
};
|
|
783
|
-
const de_GetDocumentAnalysisCommand = async (output, context) => {
|
|
784
|
-
if (output.statusCode >= 300) {
|
|
785
|
-
return de_CommandError(output, context);
|
|
786
|
-
}
|
|
787
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
788
|
-
let contents = {};
|
|
789
|
-
contents = de_GetDocumentAnalysisResponse(data);
|
|
790
|
-
const response = {
|
|
791
|
-
$metadata: deserializeMetadata(output),
|
|
792
|
-
...contents,
|
|
793
|
-
};
|
|
794
|
-
return response;
|
|
795
|
-
};
|
|
796
|
-
const de_GetDocumentTextDetectionCommand = async (output, context) => {
|
|
797
|
-
if (output.statusCode >= 300) {
|
|
798
|
-
return de_CommandError(output, context);
|
|
799
|
-
}
|
|
800
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
801
|
-
let contents = {};
|
|
802
|
-
contents = de_GetDocumentTextDetectionResponse(data);
|
|
803
|
-
const response = {
|
|
804
|
-
$metadata: deserializeMetadata(output),
|
|
805
|
-
...contents,
|
|
806
|
-
};
|
|
807
|
-
return response;
|
|
808
|
-
};
|
|
809
|
-
const de_GetExpenseAnalysisCommand = async (output, context) => {
|
|
810
|
-
if (output.statusCode >= 300) {
|
|
811
|
-
return de_CommandError(output, context);
|
|
812
|
-
}
|
|
813
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
814
|
-
let contents = {};
|
|
815
|
-
contents = de_GetExpenseAnalysisResponse(data);
|
|
816
|
-
const response = {
|
|
817
|
-
$metadata: deserializeMetadata(output),
|
|
818
|
-
...contents,
|
|
819
|
-
};
|
|
820
|
-
return response;
|
|
821
|
-
};
|
|
822
|
-
const de_GetLendingAnalysisCommand = async (output, context) => {
|
|
823
|
-
if (output.statusCode >= 300) {
|
|
824
|
-
return de_CommandError(output, context);
|
|
825
|
-
}
|
|
826
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
827
|
-
let contents = {};
|
|
828
|
-
contents = de_GetLendingAnalysisResponse(data);
|
|
829
|
-
const response = {
|
|
830
|
-
$metadata: deserializeMetadata(output),
|
|
831
|
-
...contents,
|
|
832
|
-
};
|
|
833
|
-
return response;
|
|
834
|
-
};
|
|
835
|
-
const de_GetLendingAnalysisSummaryCommand = async (output, context) => {
|
|
836
|
-
if (output.statusCode >= 300) {
|
|
837
|
-
return de_CommandError(output, context);
|
|
838
|
-
}
|
|
839
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
840
|
-
let contents = {};
|
|
841
|
-
contents = smithyClient._json(data);
|
|
842
|
-
const response = {
|
|
843
|
-
$metadata: deserializeMetadata(output),
|
|
844
|
-
...contents,
|
|
845
|
-
};
|
|
846
|
-
return response;
|
|
847
|
-
};
|
|
848
|
-
const de_ListAdaptersCommand = async (output, context) => {
|
|
849
|
-
if (output.statusCode >= 300) {
|
|
850
|
-
return de_CommandError(output, context);
|
|
851
|
-
}
|
|
852
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
853
|
-
let contents = {};
|
|
854
|
-
contents = de_ListAdaptersResponse(data);
|
|
855
|
-
const response = {
|
|
856
|
-
$metadata: deserializeMetadata(output),
|
|
857
|
-
...contents,
|
|
858
|
-
};
|
|
859
|
-
return response;
|
|
860
|
-
};
|
|
861
|
-
const de_ListAdapterVersionsCommand = async (output, context) => {
|
|
862
|
-
if (output.statusCode >= 300) {
|
|
863
|
-
return de_CommandError(output, context);
|
|
864
|
-
}
|
|
865
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
866
|
-
let contents = {};
|
|
867
|
-
contents = de_ListAdapterVersionsResponse(data);
|
|
868
|
-
const response = {
|
|
869
|
-
$metadata: deserializeMetadata(output),
|
|
870
|
-
...contents,
|
|
871
|
-
};
|
|
872
|
-
return response;
|
|
873
|
-
};
|
|
874
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
875
|
-
if (output.statusCode >= 300) {
|
|
876
|
-
return de_CommandError(output, context);
|
|
877
|
-
}
|
|
878
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
879
|
-
let contents = {};
|
|
880
|
-
contents = smithyClient._json(data);
|
|
881
|
-
const response = {
|
|
882
|
-
$metadata: deserializeMetadata(output),
|
|
883
|
-
...contents,
|
|
884
|
-
};
|
|
885
|
-
return response;
|
|
886
|
-
};
|
|
887
|
-
const de_StartDocumentAnalysisCommand = async (output, context) => {
|
|
888
|
-
if (output.statusCode >= 300) {
|
|
889
|
-
return de_CommandError(output, context);
|
|
890
|
-
}
|
|
891
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
892
|
-
let contents = {};
|
|
893
|
-
contents = smithyClient._json(data);
|
|
894
|
-
const response = {
|
|
895
|
-
$metadata: deserializeMetadata(output),
|
|
896
|
-
...contents,
|
|
897
|
-
};
|
|
898
|
-
return response;
|
|
899
|
-
};
|
|
900
|
-
const de_StartDocumentTextDetectionCommand = async (output, context) => {
|
|
901
|
-
if (output.statusCode >= 300) {
|
|
902
|
-
return de_CommandError(output, context);
|
|
903
|
-
}
|
|
904
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
905
|
-
let contents = {};
|
|
906
|
-
contents = smithyClient._json(data);
|
|
907
|
-
const response = {
|
|
908
|
-
$metadata: deserializeMetadata(output),
|
|
909
|
-
...contents,
|
|
910
|
-
};
|
|
911
|
-
return response;
|
|
912
|
-
};
|
|
913
|
-
const de_StartExpenseAnalysisCommand = async (output, context) => {
|
|
914
|
-
if (output.statusCode >= 300) {
|
|
915
|
-
return de_CommandError(output, context);
|
|
916
|
-
}
|
|
917
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
918
|
-
let contents = {};
|
|
919
|
-
contents = smithyClient._json(data);
|
|
920
|
-
const response = {
|
|
921
|
-
$metadata: deserializeMetadata(output),
|
|
922
|
-
...contents,
|
|
923
|
-
};
|
|
924
|
-
return response;
|
|
925
|
-
};
|
|
926
|
-
const de_StartLendingAnalysisCommand = async (output, context) => {
|
|
927
|
-
if (output.statusCode >= 300) {
|
|
928
|
-
return de_CommandError(output, context);
|
|
929
|
-
}
|
|
930
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
931
|
-
let contents = {};
|
|
932
|
-
contents = smithyClient._json(data);
|
|
933
|
-
const response = {
|
|
934
|
-
$metadata: deserializeMetadata(output),
|
|
935
|
-
...contents,
|
|
936
|
-
};
|
|
937
|
-
return response;
|
|
938
|
-
};
|
|
939
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
940
|
-
if (output.statusCode >= 300) {
|
|
941
|
-
return de_CommandError(output, context);
|
|
942
|
-
}
|
|
943
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
944
|
-
let contents = {};
|
|
945
|
-
contents = smithyClient._json(data);
|
|
946
|
-
const response = {
|
|
947
|
-
$metadata: deserializeMetadata(output),
|
|
948
|
-
...contents,
|
|
949
|
-
};
|
|
950
|
-
return response;
|
|
951
|
-
};
|
|
952
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
953
|
-
if (output.statusCode >= 300) {
|
|
954
|
-
return de_CommandError(output, context);
|
|
955
|
-
}
|
|
956
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
957
|
-
let contents = {};
|
|
958
|
-
contents = smithyClient._json(data);
|
|
959
|
-
const response = {
|
|
960
|
-
$metadata: deserializeMetadata(output),
|
|
961
|
-
...contents,
|
|
962
|
-
};
|
|
963
|
-
return response;
|
|
964
|
-
};
|
|
965
|
-
const de_UpdateAdapterCommand = async (output, context) => {
|
|
966
|
-
if (output.statusCode >= 300) {
|
|
967
|
-
return de_CommandError(output, context);
|
|
968
|
-
}
|
|
969
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
970
|
-
let contents = {};
|
|
971
|
-
contents = de_UpdateAdapterResponse(data);
|
|
972
|
-
const response = {
|
|
973
|
-
$metadata: deserializeMetadata(output),
|
|
974
|
-
...contents,
|
|
975
|
-
};
|
|
976
|
-
return response;
|
|
977
|
-
};
|
|
978
|
-
const de_CommandError = async (output, context) => {
|
|
979
|
-
const parsedOutput = {
|
|
980
|
-
...output,
|
|
981
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
982
|
-
};
|
|
983
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
984
|
-
switch (errorCode) {
|
|
985
|
-
case "AccessDeniedException":
|
|
986
|
-
case "com.amazonaws.textract#AccessDeniedException":
|
|
987
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
988
|
-
case "BadDocumentException":
|
|
989
|
-
case "com.amazonaws.textract#BadDocumentException":
|
|
990
|
-
throw await de_BadDocumentExceptionRes(parsedOutput);
|
|
991
|
-
case "DocumentTooLargeException":
|
|
992
|
-
case "com.amazonaws.textract#DocumentTooLargeException":
|
|
993
|
-
throw await de_DocumentTooLargeExceptionRes(parsedOutput);
|
|
994
|
-
case "HumanLoopQuotaExceededException":
|
|
995
|
-
case "com.amazonaws.textract#HumanLoopQuotaExceededException":
|
|
996
|
-
throw await de_HumanLoopQuotaExceededExceptionRes(parsedOutput);
|
|
997
|
-
case "InternalServerError":
|
|
998
|
-
case "com.amazonaws.textract#InternalServerError":
|
|
999
|
-
throw await de_InternalServerErrorRes(parsedOutput);
|
|
1000
|
-
case "InvalidParameterException":
|
|
1001
|
-
case "com.amazonaws.textract#InvalidParameterException":
|
|
1002
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput);
|
|
1003
|
-
case "InvalidS3ObjectException":
|
|
1004
|
-
case "com.amazonaws.textract#InvalidS3ObjectException":
|
|
1005
|
-
throw await de_InvalidS3ObjectExceptionRes(parsedOutput);
|
|
1006
|
-
case "ProvisionedThroughputExceededException":
|
|
1007
|
-
case "com.amazonaws.textract#ProvisionedThroughputExceededException":
|
|
1008
|
-
throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput);
|
|
1009
|
-
case "ThrottlingException":
|
|
1010
|
-
case "com.amazonaws.textract#ThrottlingException":
|
|
1011
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1012
|
-
case "UnsupportedDocumentException":
|
|
1013
|
-
case "com.amazonaws.textract#UnsupportedDocumentException":
|
|
1014
|
-
throw await de_UnsupportedDocumentExceptionRes(parsedOutput);
|
|
1015
|
-
case "ConflictException":
|
|
1016
|
-
case "com.amazonaws.textract#ConflictException":
|
|
1017
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1018
|
-
case "IdempotentParameterMismatchException":
|
|
1019
|
-
case "com.amazonaws.textract#IdempotentParameterMismatchException":
|
|
1020
|
-
throw await de_IdempotentParameterMismatchExceptionRes(parsedOutput);
|
|
1021
|
-
case "LimitExceededException":
|
|
1022
|
-
case "com.amazonaws.textract#LimitExceededException":
|
|
1023
|
-
throw await de_LimitExceededExceptionRes(parsedOutput);
|
|
1024
|
-
case "ServiceQuotaExceededException":
|
|
1025
|
-
case "com.amazonaws.textract#ServiceQuotaExceededException":
|
|
1026
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1027
|
-
case "ValidationException":
|
|
1028
|
-
case "com.amazonaws.textract#ValidationException":
|
|
1029
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1030
|
-
case "InvalidKMSKeyException":
|
|
1031
|
-
case "com.amazonaws.textract#InvalidKMSKeyException":
|
|
1032
|
-
throw await de_InvalidKMSKeyExceptionRes(parsedOutput);
|
|
1033
|
-
case "ResourceNotFoundException":
|
|
1034
|
-
case "com.amazonaws.textract#ResourceNotFoundException":
|
|
1035
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1036
|
-
case "InvalidJobIdException":
|
|
1037
|
-
case "com.amazonaws.textract#InvalidJobIdException":
|
|
1038
|
-
throw await de_InvalidJobIdExceptionRes(parsedOutput);
|
|
1039
|
-
default:
|
|
1040
|
-
const parsedBody = parsedOutput.body;
|
|
1041
|
-
return throwDefaultError({
|
|
1042
|
-
output,
|
|
1043
|
-
parsedBody,
|
|
1044
|
-
errorCode,
|
|
1045
|
-
});
|
|
1046
|
-
}
|
|
1047
|
-
};
|
|
1048
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1049
|
-
const body = parsedOutput.body;
|
|
1050
|
-
const deserialized = smithyClient._json(body);
|
|
1051
|
-
const exception = new AccessDeniedException({
|
|
1052
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1053
|
-
...deserialized,
|
|
1054
|
-
});
|
|
1055
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1056
|
-
};
|
|
1057
|
-
const de_BadDocumentExceptionRes = async (parsedOutput, context) => {
|
|
1058
|
-
const body = parsedOutput.body;
|
|
1059
|
-
const deserialized = smithyClient._json(body);
|
|
1060
|
-
const exception = new BadDocumentException({
|
|
1061
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1062
|
-
...deserialized,
|
|
1063
|
-
});
|
|
1064
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1065
|
-
};
|
|
1066
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1067
|
-
const body = parsedOutput.body;
|
|
1068
|
-
const deserialized = smithyClient._json(body);
|
|
1069
|
-
const exception = new ConflictException({
|
|
1070
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1071
|
-
...deserialized,
|
|
1072
|
-
});
|
|
1073
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1074
|
-
};
|
|
1075
|
-
const de_DocumentTooLargeExceptionRes = async (parsedOutput, context) => {
|
|
1076
|
-
const body = parsedOutput.body;
|
|
1077
|
-
const deserialized = smithyClient._json(body);
|
|
1078
|
-
const exception = new DocumentTooLargeException({
|
|
1079
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1080
|
-
...deserialized,
|
|
1081
|
-
});
|
|
1082
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1083
|
-
};
|
|
1084
|
-
const de_HumanLoopQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1085
|
-
const body = parsedOutput.body;
|
|
1086
|
-
const deserialized = smithyClient._json(body);
|
|
1087
|
-
const exception = new HumanLoopQuotaExceededException({
|
|
1088
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1089
|
-
...deserialized,
|
|
1090
|
-
});
|
|
1091
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1092
|
-
};
|
|
1093
|
-
const de_IdempotentParameterMismatchExceptionRes = async (parsedOutput, context) => {
|
|
1094
|
-
const body = parsedOutput.body;
|
|
1095
|
-
const deserialized = smithyClient._json(body);
|
|
1096
|
-
const exception = new IdempotentParameterMismatchException({
|
|
1097
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1098
|
-
...deserialized,
|
|
1099
|
-
});
|
|
1100
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1101
|
-
};
|
|
1102
|
-
const de_InternalServerErrorRes = async (parsedOutput, context) => {
|
|
1103
|
-
const body = parsedOutput.body;
|
|
1104
|
-
const deserialized = smithyClient._json(body);
|
|
1105
|
-
const exception = new InternalServerError({
|
|
1106
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1107
|
-
...deserialized,
|
|
1108
|
-
});
|
|
1109
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1110
|
-
};
|
|
1111
|
-
const de_InvalidJobIdExceptionRes = async (parsedOutput, context) => {
|
|
1112
|
-
const body = parsedOutput.body;
|
|
1113
|
-
const deserialized = smithyClient._json(body);
|
|
1114
|
-
const exception = new InvalidJobIdException({
|
|
1115
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1116
|
-
...deserialized,
|
|
1117
|
-
});
|
|
1118
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1119
|
-
};
|
|
1120
|
-
const de_InvalidKMSKeyExceptionRes = async (parsedOutput, context) => {
|
|
1121
|
-
const body = parsedOutput.body;
|
|
1122
|
-
const deserialized = smithyClient._json(body);
|
|
1123
|
-
const exception = new InvalidKMSKeyException({
|
|
1124
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1125
|
-
...deserialized,
|
|
1126
|
-
});
|
|
1127
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1128
|
-
};
|
|
1129
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1130
|
-
const body = parsedOutput.body;
|
|
1131
|
-
const deserialized = smithyClient._json(body);
|
|
1132
|
-
const exception = new InvalidParameterException({
|
|
1133
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1134
|
-
...deserialized,
|
|
1135
|
-
});
|
|
1136
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1137
|
-
};
|
|
1138
|
-
const de_InvalidS3ObjectExceptionRes = async (parsedOutput, context) => {
|
|
1139
|
-
const body = parsedOutput.body;
|
|
1140
|
-
const deserialized = smithyClient._json(body);
|
|
1141
|
-
const exception = new InvalidS3ObjectException({
|
|
1142
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1143
|
-
...deserialized,
|
|
1144
|
-
});
|
|
1145
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1146
|
-
};
|
|
1147
|
-
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1148
|
-
const body = parsedOutput.body;
|
|
1149
|
-
const deserialized = smithyClient._json(body);
|
|
1150
|
-
const exception = new LimitExceededException({
|
|
1151
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1152
|
-
...deserialized,
|
|
1153
|
-
});
|
|
1154
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1155
|
-
};
|
|
1156
|
-
const de_ProvisionedThroughputExceededExceptionRes = async (parsedOutput, context) => {
|
|
1157
|
-
const body = parsedOutput.body;
|
|
1158
|
-
const deserialized = smithyClient._json(body);
|
|
1159
|
-
const exception = new ProvisionedThroughputExceededException({
|
|
1160
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1161
|
-
...deserialized,
|
|
1162
|
-
});
|
|
1163
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1164
|
-
};
|
|
1165
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1166
|
-
const body = parsedOutput.body;
|
|
1167
|
-
const deserialized = smithyClient._json(body);
|
|
1168
|
-
const exception = new ResourceNotFoundException({
|
|
1169
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1170
|
-
...deserialized,
|
|
1171
|
-
});
|
|
1172
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1173
|
-
};
|
|
1174
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1175
|
-
const body = parsedOutput.body;
|
|
1176
|
-
const deserialized = smithyClient._json(body);
|
|
1177
|
-
const exception = new ServiceQuotaExceededException({
|
|
1178
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1179
|
-
...deserialized,
|
|
1180
|
-
});
|
|
1181
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1182
|
-
};
|
|
1183
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1184
|
-
const body = parsedOutput.body;
|
|
1185
|
-
const deserialized = smithyClient._json(body);
|
|
1186
|
-
const exception = new ThrottlingException({
|
|
1187
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1188
|
-
...deserialized,
|
|
1189
|
-
});
|
|
1190
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1191
|
-
};
|
|
1192
|
-
const de_UnsupportedDocumentExceptionRes = async (parsedOutput, context) => {
|
|
1193
|
-
const body = parsedOutput.body;
|
|
1194
|
-
const deserialized = smithyClient._json(body);
|
|
1195
|
-
const exception = new UnsupportedDocumentException({
|
|
1196
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1197
|
-
...deserialized,
|
|
1198
|
-
});
|
|
1199
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1200
|
-
};
|
|
1201
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1202
|
-
const body = parsedOutput.body;
|
|
1203
|
-
const deserialized = smithyClient._json(body);
|
|
1204
|
-
const exception = new ValidationException({
|
|
1205
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1206
|
-
...deserialized,
|
|
1207
|
-
});
|
|
1208
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
1209
|
-
};
|
|
1210
|
-
const se_AnalyzeDocumentRequest = (input, context) => {
|
|
1211
|
-
return smithyClient.take(input, {
|
|
1212
|
-
AdaptersConfig: smithyClient._json,
|
|
1213
|
-
Document: (_) => se_Document(_, context),
|
|
1214
|
-
FeatureTypes: smithyClient._json,
|
|
1215
|
-
HumanLoopConfig: smithyClient._json,
|
|
1216
|
-
QueriesConfig: smithyClient._json,
|
|
1217
|
-
});
|
|
1218
|
-
};
|
|
1219
|
-
const se_AnalyzeExpenseRequest = (input, context) => {
|
|
1220
|
-
return smithyClient.take(input, {
|
|
1221
|
-
Document: (_) => se_Document(_, context),
|
|
1222
|
-
});
|
|
1223
|
-
};
|
|
1224
|
-
const se_AnalyzeIDRequest = (input, context) => {
|
|
1225
|
-
return smithyClient.take(input, {
|
|
1226
|
-
DocumentPages: (_) => se_DocumentPages(_, context),
|
|
1227
|
-
});
|
|
1228
|
-
};
|
|
1229
|
-
const se_CreateAdapterRequest = (input, context) => {
|
|
1230
|
-
return smithyClient.take(input, {
|
|
1231
|
-
AdapterName: [],
|
|
1232
|
-
AutoUpdate: [],
|
|
1233
|
-
ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1234
|
-
Description: [],
|
|
1235
|
-
FeatureTypes: smithyClient._json,
|
|
1236
|
-
Tags: smithyClient._json,
|
|
1237
|
-
});
|
|
1238
|
-
};
|
|
1239
|
-
const se_CreateAdapterVersionRequest = (input, context) => {
|
|
1240
|
-
return smithyClient.take(input, {
|
|
1241
|
-
AdapterId: [],
|
|
1242
|
-
ClientRequestToken: [true, (_) => _ ?? uuid.v4()],
|
|
1243
|
-
DatasetConfig: smithyClient._json,
|
|
1244
|
-
KMSKeyId: [],
|
|
1245
|
-
OutputConfig: smithyClient._json,
|
|
1246
|
-
Tags: smithyClient._json,
|
|
1247
|
-
});
|
|
1248
|
-
};
|
|
1249
|
-
const se_DetectDocumentTextRequest = (input, context) => {
|
|
1250
|
-
return smithyClient.take(input, {
|
|
1251
|
-
Document: (_) => se_Document(_, context),
|
|
1252
|
-
});
|
|
1253
|
-
};
|
|
1254
|
-
const se_Document = (input, context) => {
|
|
1255
|
-
return smithyClient.take(input, {
|
|
1256
|
-
Bytes: context.base64Encoder,
|
|
1257
|
-
S3Object: smithyClient._json,
|
|
1258
|
-
});
|
|
1259
|
-
};
|
|
1260
|
-
const se_DocumentPages = (input, context) => {
|
|
1261
|
-
return input
|
|
1262
|
-
.filter((e) => e != null)
|
|
1263
|
-
.map((entry) => {
|
|
1264
|
-
return se_Document(entry, context);
|
|
1265
|
-
});
|
|
1266
|
-
};
|
|
1267
|
-
const se_ListAdaptersRequest = (input, context) => {
|
|
1268
|
-
return smithyClient.take(input, {
|
|
1269
|
-
AfterCreationTime: (_) => _.getTime() / 1_000,
|
|
1270
|
-
BeforeCreationTime: (_) => _.getTime() / 1_000,
|
|
1271
|
-
MaxResults: [],
|
|
1272
|
-
NextToken: [],
|
|
1273
|
-
});
|
|
1274
|
-
};
|
|
1275
|
-
const se_ListAdapterVersionsRequest = (input, context) => {
|
|
1276
|
-
return smithyClient.take(input, {
|
|
1277
|
-
AdapterId: [],
|
|
1278
|
-
AfterCreationTime: (_) => _.getTime() / 1_000,
|
|
1279
|
-
BeforeCreationTime: (_) => _.getTime() / 1_000,
|
|
1280
|
-
MaxResults: [],
|
|
1281
|
-
NextToken: [],
|
|
1282
|
-
});
|
|
1283
|
-
};
|
|
1284
|
-
const de_AdapterList = (output, context) => {
|
|
1285
|
-
const retVal = (output || [])
|
|
1286
|
-
.filter((e) => e != null)
|
|
1287
|
-
.map((entry) => {
|
|
1288
|
-
return de_AdapterOverview(entry);
|
|
1289
|
-
});
|
|
1290
|
-
return retVal;
|
|
1291
|
-
};
|
|
1292
|
-
const de_AdapterOverview = (output, context) => {
|
|
1293
|
-
return smithyClient.take(output, {
|
|
1294
|
-
AdapterId: smithyClient.expectString,
|
|
1295
|
-
AdapterName: smithyClient.expectString,
|
|
1296
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1297
|
-
FeatureTypes: smithyClient._json,
|
|
1298
|
-
});
|
|
1299
|
-
};
|
|
1300
|
-
const de_AdapterVersionEvaluationMetric = (output, context) => {
|
|
1301
|
-
return smithyClient.take(output, {
|
|
1302
|
-
AdapterVersion: (_) => de_EvaluationMetric(_),
|
|
1303
|
-
Baseline: (_) => de_EvaluationMetric(_),
|
|
1304
|
-
FeatureType: smithyClient.expectString,
|
|
1305
|
-
});
|
|
1306
|
-
};
|
|
1307
|
-
const de_AdapterVersionEvaluationMetrics = (output, context) => {
|
|
1308
|
-
const retVal = (output || [])
|
|
1309
|
-
.filter((e) => e != null)
|
|
1310
|
-
.map((entry) => {
|
|
1311
|
-
return de_AdapterVersionEvaluationMetric(entry);
|
|
1312
|
-
});
|
|
1313
|
-
return retVal;
|
|
1314
|
-
};
|
|
1315
|
-
const de_AdapterVersionList = (output, context) => {
|
|
1316
|
-
const retVal = (output || [])
|
|
1317
|
-
.filter((e) => e != null)
|
|
1318
|
-
.map((entry) => {
|
|
1319
|
-
return de_AdapterVersionOverview(entry);
|
|
1320
|
-
});
|
|
1321
|
-
return retVal;
|
|
1322
|
-
};
|
|
1323
|
-
const de_AdapterVersionOverview = (output, context) => {
|
|
1324
|
-
return smithyClient.take(output, {
|
|
1325
|
-
AdapterId: smithyClient.expectString,
|
|
1326
|
-
AdapterVersion: smithyClient.expectString,
|
|
1327
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1328
|
-
FeatureTypes: smithyClient._json,
|
|
1329
|
-
Status: smithyClient.expectString,
|
|
1330
|
-
StatusMessage: smithyClient.expectString,
|
|
1331
|
-
});
|
|
1332
|
-
};
|
|
1333
|
-
const de_AnalyzeDocumentResponse = (output, context) => {
|
|
1334
|
-
return smithyClient.take(output, {
|
|
1335
|
-
AnalyzeDocumentModelVersion: smithyClient.expectString,
|
|
1336
|
-
Blocks: (_) => de_BlockList(_),
|
|
1337
|
-
DocumentMetadata: smithyClient._json,
|
|
1338
|
-
HumanLoopActivationOutput: (_) => de_HumanLoopActivationOutput(_),
|
|
1339
|
-
});
|
|
1340
|
-
};
|
|
1341
|
-
const de_AnalyzeExpenseResponse = (output, context) => {
|
|
1342
|
-
return smithyClient.take(output, {
|
|
1343
|
-
DocumentMetadata: smithyClient._json,
|
|
1344
|
-
ExpenseDocuments: (_) => de_ExpenseDocumentList(_),
|
|
1345
|
-
});
|
|
1346
|
-
};
|
|
1347
|
-
const de_AnalyzeIDDetections = (output, context) => {
|
|
1348
|
-
return smithyClient.take(output, {
|
|
1349
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1350
|
-
NormalizedValue: smithyClient._json,
|
|
1351
|
-
Text: smithyClient.expectString,
|
|
1352
|
-
});
|
|
1353
|
-
};
|
|
1354
|
-
const de_AnalyzeIDResponse = (output, context) => {
|
|
1355
|
-
return smithyClient.take(output, {
|
|
1356
|
-
AnalyzeIDModelVersion: smithyClient.expectString,
|
|
1357
|
-
DocumentMetadata: smithyClient._json,
|
|
1358
|
-
IdentityDocuments: (_) => de_IdentityDocumentList(_),
|
|
1359
|
-
});
|
|
1360
|
-
};
|
|
1361
|
-
const de_Block = (output, context) => {
|
|
1362
|
-
return smithyClient.take(output, {
|
|
1363
|
-
BlockType: smithyClient.expectString,
|
|
1364
|
-
ColumnIndex: smithyClient.expectInt32,
|
|
1365
|
-
ColumnSpan: smithyClient.expectInt32,
|
|
1366
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1367
|
-
EntityTypes: smithyClient._json,
|
|
1368
|
-
Geometry: (_) => de_Geometry(_),
|
|
1369
|
-
Id: smithyClient.expectString,
|
|
1370
|
-
Page: smithyClient.expectInt32,
|
|
1371
|
-
Query: smithyClient._json,
|
|
1372
|
-
Relationships: smithyClient._json,
|
|
1373
|
-
RowIndex: smithyClient.expectInt32,
|
|
1374
|
-
RowSpan: smithyClient.expectInt32,
|
|
1375
|
-
SelectionStatus: smithyClient.expectString,
|
|
1376
|
-
Text: smithyClient.expectString,
|
|
1377
|
-
TextType: smithyClient.expectString,
|
|
1378
|
-
});
|
|
1379
|
-
};
|
|
1380
|
-
const de_BlockList = (output, context) => {
|
|
1381
|
-
const retVal = (output || [])
|
|
1382
|
-
.filter((e) => e != null)
|
|
1383
|
-
.map((entry) => {
|
|
1384
|
-
return de_Block(entry);
|
|
1385
|
-
});
|
|
1386
|
-
return retVal;
|
|
1387
|
-
};
|
|
1388
|
-
const de_BoundingBox = (output, context) => {
|
|
1389
|
-
return smithyClient.take(output, {
|
|
1390
|
-
Height: smithyClient.limitedParseFloat32,
|
|
1391
|
-
Left: smithyClient.limitedParseFloat32,
|
|
1392
|
-
Top: smithyClient.limitedParseFloat32,
|
|
1393
|
-
Width: smithyClient.limitedParseFloat32,
|
|
1394
|
-
});
|
|
1395
|
-
};
|
|
1396
|
-
const de_DetectDocumentTextResponse = (output, context) => {
|
|
1397
|
-
return smithyClient.take(output, {
|
|
1398
|
-
Blocks: (_) => de_BlockList(_),
|
|
1399
|
-
DetectDocumentTextModelVersion: smithyClient.expectString,
|
|
1400
|
-
DocumentMetadata: smithyClient._json,
|
|
1401
|
-
});
|
|
1402
|
-
};
|
|
1403
|
-
const de_EvaluationMetric = (output, context) => {
|
|
1404
|
-
return smithyClient.take(output, {
|
|
1405
|
-
F1Score: smithyClient.limitedParseFloat32,
|
|
1406
|
-
Precision: smithyClient.limitedParseFloat32,
|
|
1407
|
-
Recall: smithyClient.limitedParseFloat32,
|
|
1408
|
-
});
|
|
1409
|
-
};
|
|
1410
|
-
const de_ExpenseCurrency = (output, context) => {
|
|
1411
|
-
return smithyClient.take(output, {
|
|
1412
|
-
Code: smithyClient.expectString,
|
|
1413
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1414
|
-
});
|
|
1415
|
-
};
|
|
1416
|
-
const de_ExpenseDetection = (output, context) => {
|
|
1417
|
-
return smithyClient.take(output, {
|
|
1418
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1419
|
-
Geometry: (_) => de_Geometry(_),
|
|
1420
|
-
Text: smithyClient.expectString,
|
|
1421
|
-
});
|
|
1422
|
-
};
|
|
1423
|
-
const de_ExpenseDocument = (output, context) => {
|
|
1424
|
-
return smithyClient.take(output, {
|
|
1425
|
-
Blocks: (_) => de_BlockList(_),
|
|
1426
|
-
ExpenseIndex: smithyClient.expectInt32,
|
|
1427
|
-
LineItemGroups: (_) => de_LineItemGroupList(_),
|
|
1428
|
-
SummaryFields: (_) => de_ExpenseFieldList(_),
|
|
1429
|
-
});
|
|
1430
|
-
};
|
|
1431
|
-
const de_ExpenseDocumentList = (output, context) => {
|
|
1432
|
-
const retVal = (output || [])
|
|
1433
|
-
.filter((e) => e != null)
|
|
1434
|
-
.map((entry) => {
|
|
1435
|
-
return de_ExpenseDocument(entry);
|
|
1436
|
-
});
|
|
1437
|
-
return retVal;
|
|
1438
|
-
};
|
|
1439
|
-
const de_ExpenseField = (output, context) => {
|
|
1440
|
-
return smithyClient.take(output, {
|
|
1441
|
-
Currency: (_) => de_ExpenseCurrency(_),
|
|
1442
|
-
GroupProperties: smithyClient._json,
|
|
1443
|
-
LabelDetection: (_) => de_ExpenseDetection(_),
|
|
1444
|
-
PageNumber: smithyClient.expectInt32,
|
|
1445
|
-
Type: (_) => de_ExpenseType(_),
|
|
1446
|
-
ValueDetection: (_) => de_ExpenseDetection(_),
|
|
1447
|
-
});
|
|
1448
|
-
};
|
|
1449
|
-
const de_ExpenseFieldList = (output, context) => {
|
|
1450
|
-
const retVal = (output || [])
|
|
1451
|
-
.filter((e) => e != null)
|
|
1452
|
-
.map((entry) => {
|
|
1453
|
-
return de_ExpenseField(entry);
|
|
1454
|
-
});
|
|
1455
|
-
return retVal;
|
|
1456
|
-
};
|
|
1457
|
-
const de_ExpenseType = (output, context) => {
|
|
1458
|
-
return smithyClient.take(output, {
|
|
1459
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1460
|
-
Text: smithyClient.expectString,
|
|
1461
|
-
});
|
|
1462
|
-
};
|
|
1463
|
-
const de_Extraction = (output, context) => {
|
|
1464
|
-
return smithyClient.take(output, {
|
|
1465
|
-
ExpenseDocument: (_) => de_ExpenseDocument(_),
|
|
1466
|
-
IdentityDocument: (_) => de_IdentityDocument(_),
|
|
1467
|
-
LendingDocument: (_) => de_LendingDocument(_),
|
|
1468
|
-
});
|
|
1469
|
-
};
|
|
1470
|
-
const de_ExtractionList = (output, context) => {
|
|
1471
|
-
const retVal = (output || [])
|
|
1472
|
-
.filter((e) => e != null)
|
|
1473
|
-
.map((entry) => {
|
|
1474
|
-
return de_Extraction(entry);
|
|
1475
|
-
});
|
|
1476
|
-
return retVal;
|
|
1477
|
-
};
|
|
1478
|
-
const de_Geometry = (output, context) => {
|
|
1479
|
-
return smithyClient.take(output, {
|
|
1480
|
-
BoundingBox: (_) => de_BoundingBox(_),
|
|
1481
|
-
Polygon: (_) => de_Polygon(_),
|
|
1482
|
-
RotationAngle: smithyClient.limitedParseFloat32,
|
|
1483
|
-
});
|
|
1484
|
-
};
|
|
1485
|
-
const de_GetAdapterResponse = (output, context) => {
|
|
1486
|
-
return smithyClient.take(output, {
|
|
1487
|
-
AdapterId: smithyClient.expectString,
|
|
1488
|
-
AdapterName: smithyClient.expectString,
|
|
1489
|
-
AutoUpdate: smithyClient.expectString,
|
|
1490
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1491
|
-
Description: smithyClient.expectString,
|
|
1492
|
-
FeatureTypes: smithyClient._json,
|
|
1493
|
-
Tags: smithyClient._json,
|
|
1494
|
-
});
|
|
1495
|
-
};
|
|
1496
|
-
const de_GetAdapterVersionResponse = (output, context) => {
|
|
1497
|
-
return smithyClient.take(output, {
|
|
1498
|
-
AdapterId: smithyClient.expectString,
|
|
1499
|
-
AdapterVersion: smithyClient.expectString,
|
|
1500
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1501
|
-
DatasetConfig: smithyClient._json,
|
|
1502
|
-
EvaluationMetrics: (_) => de_AdapterVersionEvaluationMetrics(_),
|
|
1503
|
-
FeatureTypes: smithyClient._json,
|
|
1504
|
-
KMSKeyId: smithyClient.expectString,
|
|
1505
|
-
OutputConfig: smithyClient._json,
|
|
1506
|
-
Status: smithyClient.expectString,
|
|
1507
|
-
StatusMessage: smithyClient.expectString,
|
|
1508
|
-
Tags: smithyClient._json,
|
|
1509
|
-
});
|
|
1510
|
-
};
|
|
1511
|
-
const de_GetDocumentAnalysisResponse = (output, context) => {
|
|
1512
|
-
return smithyClient.take(output, {
|
|
1513
|
-
AnalyzeDocumentModelVersion: smithyClient.expectString,
|
|
1514
|
-
Blocks: (_) => de_BlockList(_),
|
|
1515
|
-
DocumentMetadata: smithyClient._json,
|
|
1516
|
-
JobStatus: smithyClient.expectString,
|
|
1517
|
-
NextToken: smithyClient.expectString,
|
|
1518
|
-
StatusMessage: smithyClient.expectString,
|
|
1519
|
-
Warnings: smithyClient._json,
|
|
1520
|
-
});
|
|
1521
|
-
};
|
|
1522
|
-
const de_GetDocumentTextDetectionResponse = (output, context) => {
|
|
1523
|
-
return smithyClient.take(output, {
|
|
1524
|
-
Blocks: (_) => de_BlockList(_),
|
|
1525
|
-
DetectDocumentTextModelVersion: smithyClient.expectString,
|
|
1526
|
-
DocumentMetadata: smithyClient._json,
|
|
1527
|
-
JobStatus: smithyClient.expectString,
|
|
1528
|
-
NextToken: smithyClient.expectString,
|
|
1529
|
-
StatusMessage: smithyClient.expectString,
|
|
1530
|
-
Warnings: smithyClient._json,
|
|
1531
|
-
});
|
|
1532
|
-
};
|
|
1533
|
-
const de_GetExpenseAnalysisResponse = (output, context) => {
|
|
1534
|
-
return smithyClient.take(output, {
|
|
1535
|
-
AnalyzeExpenseModelVersion: smithyClient.expectString,
|
|
1536
|
-
DocumentMetadata: smithyClient._json,
|
|
1537
|
-
ExpenseDocuments: (_) => de_ExpenseDocumentList(_),
|
|
1538
|
-
JobStatus: smithyClient.expectString,
|
|
1539
|
-
NextToken: smithyClient.expectString,
|
|
1540
|
-
StatusMessage: smithyClient.expectString,
|
|
1541
|
-
Warnings: smithyClient._json,
|
|
1542
|
-
});
|
|
1543
|
-
};
|
|
1544
|
-
const de_GetLendingAnalysisResponse = (output, context) => {
|
|
1545
|
-
return smithyClient.take(output, {
|
|
1546
|
-
AnalyzeLendingModelVersion: smithyClient.expectString,
|
|
1547
|
-
DocumentMetadata: smithyClient._json,
|
|
1548
|
-
JobStatus: smithyClient.expectString,
|
|
1549
|
-
NextToken: smithyClient.expectString,
|
|
1550
|
-
Results: (_) => de_LendingResultList(_),
|
|
1551
|
-
StatusMessage: smithyClient.expectString,
|
|
1552
|
-
Warnings: smithyClient._json,
|
|
1553
|
-
});
|
|
1554
|
-
};
|
|
1555
|
-
const de_HumanLoopActivationOutput = (output, context) => {
|
|
1556
|
-
return smithyClient.take(output, {
|
|
1557
|
-
HumanLoopActivationConditionsEvaluationResults: smithyClient.LazyJsonString.from,
|
|
1558
|
-
HumanLoopActivationReasons: smithyClient._json,
|
|
1559
|
-
HumanLoopArn: smithyClient.expectString,
|
|
1560
|
-
});
|
|
1561
|
-
};
|
|
1562
|
-
const de_IdentityDocument = (output, context) => {
|
|
1563
|
-
return smithyClient.take(output, {
|
|
1564
|
-
Blocks: (_) => de_BlockList(_),
|
|
1565
|
-
DocumentIndex: smithyClient.expectInt32,
|
|
1566
|
-
IdentityDocumentFields: (_) => de_IdentityDocumentFieldList(_),
|
|
1567
|
-
});
|
|
1568
|
-
};
|
|
1569
|
-
const de_IdentityDocumentField = (output, context) => {
|
|
1570
|
-
return smithyClient.take(output, {
|
|
1571
|
-
Type: (_) => de_AnalyzeIDDetections(_),
|
|
1572
|
-
ValueDetection: (_) => de_AnalyzeIDDetections(_),
|
|
1573
|
-
});
|
|
1574
|
-
};
|
|
1575
|
-
const de_IdentityDocumentFieldList = (output, context) => {
|
|
1576
|
-
const retVal = (output || [])
|
|
1577
|
-
.filter((e) => e != null)
|
|
1578
|
-
.map((entry) => {
|
|
1579
|
-
return de_IdentityDocumentField(entry);
|
|
1580
|
-
});
|
|
1581
|
-
return retVal;
|
|
1582
|
-
};
|
|
1583
|
-
const de_IdentityDocumentList = (output, context) => {
|
|
1584
|
-
const retVal = (output || [])
|
|
1585
|
-
.filter((e) => e != null)
|
|
1586
|
-
.map((entry) => {
|
|
1587
|
-
return de_IdentityDocument(entry);
|
|
1588
|
-
});
|
|
1589
|
-
return retVal;
|
|
1590
|
-
};
|
|
1591
|
-
const de_LendingDetection = (output, context) => {
|
|
1592
|
-
return smithyClient.take(output, {
|
|
1593
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1594
|
-
Geometry: (_) => de_Geometry(_),
|
|
1595
|
-
SelectionStatus: smithyClient.expectString,
|
|
1596
|
-
Text: smithyClient.expectString,
|
|
1597
|
-
});
|
|
1598
|
-
};
|
|
1599
|
-
const de_LendingDetectionList = (output, context) => {
|
|
1600
|
-
const retVal = (output || [])
|
|
1601
|
-
.filter((e) => e != null)
|
|
1602
|
-
.map((entry) => {
|
|
1603
|
-
return de_LendingDetection(entry);
|
|
1604
|
-
});
|
|
1605
|
-
return retVal;
|
|
1606
|
-
};
|
|
1607
|
-
const de_LendingDocument = (output, context) => {
|
|
1608
|
-
return smithyClient.take(output, {
|
|
1609
|
-
LendingFields: (_) => de_LendingFieldList(_),
|
|
1610
|
-
SignatureDetections: (_) => de_SignatureDetectionList(_),
|
|
1611
|
-
});
|
|
1612
|
-
};
|
|
1613
|
-
const de_LendingField = (output, context) => {
|
|
1614
|
-
return smithyClient.take(output, {
|
|
1615
|
-
KeyDetection: (_) => de_LendingDetection(_),
|
|
1616
|
-
Type: smithyClient.expectString,
|
|
1617
|
-
ValueDetections: (_) => de_LendingDetectionList(_),
|
|
1618
|
-
});
|
|
1619
|
-
};
|
|
1620
|
-
const de_LendingFieldList = (output, context) => {
|
|
1621
|
-
const retVal = (output || [])
|
|
1622
|
-
.filter((e) => e != null)
|
|
1623
|
-
.map((entry) => {
|
|
1624
|
-
return de_LendingField(entry);
|
|
1625
|
-
});
|
|
1626
|
-
return retVal;
|
|
1627
|
-
};
|
|
1628
|
-
const de_LendingResult = (output, context) => {
|
|
1629
|
-
return smithyClient.take(output, {
|
|
1630
|
-
Extractions: (_) => de_ExtractionList(_),
|
|
1631
|
-
Page: smithyClient.expectInt32,
|
|
1632
|
-
PageClassification: (_) => de_PageClassification(_),
|
|
1633
|
-
});
|
|
1634
|
-
};
|
|
1635
|
-
const de_LendingResultList = (output, context) => {
|
|
1636
|
-
const retVal = (output || [])
|
|
1637
|
-
.filter((e) => e != null)
|
|
1638
|
-
.map((entry) => {
|
|
1639
|
-
return de_LendingResult(entry);
|
|
1640
|
-
});
|
|
1641
|
-
return retVal;
|
|
1642
|
-
};
|
|
1643
|
-
const de_LineItemFields = (output, context) => {
|
|
1644
|
-
return smithyClient.take(output, {
|
|
1645
|
-
LineItemExpenseFields: (_) => de_ExpenseFieldList(_),
|
|
1646
|
-
});
|
|
1647
|
-
};
|
|
1648
|
-
const de_LineItemGroup = (output, context) => {
|
|
1649
|
-
return smithyClient.take(output, {
|
|
1650
|
-
LineItemGroupIndex: smithyClient.expectInt32,
|
|
1651
|
-
LineItems: (_) => de_LineItemList(_),
|
|
1652
|
-
});
|
|
1653
|
-
};
|
|
1654
|
-
const de_LineItemGroupList = (output, context) => {
|
|
1655
|
-
const retVal = (output || [])
|
|
1656
|
-
.filter((e) => e != null)
|
|
1657
|
-
.map((entry) => {
|
|
1658
|
-
return de_LineItemGroup(entry);
|
|
1659
|
-
});
|
|
1660
|
-
return retVal;
|
|
1661
|
-
};
|
|
1662
|
-
const de_LineItemList = (output, context) => {
|
|
1663
|
-
const retVal = (output || [])
|
|
1664
|
-
.filter((e) => e != null)
|
|
1665
|
-
.map((entry) => {
|
|
1666
|
-
return de_LineItemFields(entry);
|
|
1667
|
-
});
|
|
1668
|
-
return retVal;
|
|
1669
|
-
};
|
|
1670
|
-
const de_ListAdaptersResponse = (output, context) => {
|
|
1671
|
-
return smithyClient.take(output, {
|
|
1672
|
-
Adapters: (_) => de_AdapterList(_),
|
|
1673
|
-
NextToken: smithyClient.expectString,
|
|
1674
|
-
});
|
|
1675
|
-
};
|
|
1676
|
-
const de_ListAdapterVersionsResponse = (output, context) => {
|
|
1677
|
-
return smithyClient.take(output, {
|
|
1678
|
-
AdapterVersions: (_) => de_AdapterVersionList(_),
|
|
1679
|
-
NextToken: smithyClient.expectString,
|
|
1680
|
-
});
|
|
1681
|
-
};
|
|
1682
|
-
const de_PageClassification = (output, context) => {
|
|
1683
|
-
return smithyClient.take(output, {
|
|
1684
|
-
PageNumber: (_) => de_PredictionList(_),
|
|
1685
|
-
PageType: (_) => de_PredictionList(_),
|
|
1686
|
-
});
|
|
1687
|
-
};
|
|
1688
|
-
const de_Point = (output, context) => {
|
|
1689
|
-
return smithyClient.take(output, {
|
|
1690
|
-
X: smithyClient.limitedParseFloat32,
|
|
1691
|
-
Y: smithyClient.limitedParseFloat32,
|
|
1692
|
-
});
|
|
1693
|
-
};
|
|
1694
|
-
const de_Polygon = (output, context) => {
|
|
1695
|
-
const retVal = (output || [])
|
|
1696
|
-
.filter((e) => e != null)
|
|
1697
|
-
.map((entry) => {
|
|
1698
|
-
return de_Point(entry);
|
|
1699
|
-
});
|
|
1700
|
-
return retVal;
|
|
1701
|
-
};
|
|
1702
|
-
const de_Prediction = (output, context) => {
|
|
1703
|
-
return smithyClient.take(output, {
|
|
1704
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1705
|
-
Value: smithyClient.expectString,
|
|
1706
|
-
});
|
|
1707
|
-
};
|
|
1708
|
-
const de_PredictionList = (output, context) => {
|
|
1709
|
-
const retVal = (output || [])
|
|
1710
|
-
.filter((e) => e != null)
|
|
1711
|
-
.map((entry) => {
|
|
1712
|
-
return de_Prediction(entry);
|
|
1713
|
-
});
|
|
1714
|
-
return retVal;
|
|
1715
|
-
};
|
|
1716
|
-
const de_SignatureDetection = (output, context) => {
|
|
1717
|
-
return smithyClient.take(output, {
|
|
1718
|
-
Confidence: smithyClient.limitedParseFloat32,
|
|
1719
|
-
Geometry: (_) => de_Geometry(_),
|
|
1720
|
-
});
|
|
1721
|
-
};
|
|
1722
|
-
const de_SignatureDetectionList = (output, context) => {
|
|
1723
|
-
const retVal = (output || [])
|
|
1724
|
-
.filter((e) => e != null)
|
|
1725
|
-
.map((entry) => {
|
|
1726
|
-
return de_SignatureDetection(entry);
|
|
1727
|
-
});
|
|
1728
|
-
return retVal;
|
|
1729
|
-
};
|
|
1730
|
-
const de_UpdateAdapterResponse = (output, context) => {
|
|
1731
|
-
return smithyClient.take(output, {
|
|
1732
|
-
AdapterId: smithyClient.expectString,
|
|
1733
|
-
AdapterName: smithyClient.expectString,
|
|
1734
|
-
AutoUpdate: smithyClient.expectString,
|
|
1735
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1736
|
-
Description: smithyClient.expectString,
|
|
1737
|
-
FeatureTypes: smithyClient._json,
|
|
1738
|
-
});
|
|
1739
|
-
};
|
|
1740
|
-
const deserializeMetadata = (output) => ({
|
|
1741
|
-
httpStatusCode: output.statusCode,
|
|
1742
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1743
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1744
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1745
|
-
});
|
|
1746
|
-
const throwDefaultError = smithyClient.withBaseException(TextractServiceException);
|
|
1747
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
1748
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1749
|
-
const contents = {
|
|
1750
|
-
protocol,
|
|
1751
|
-
hostname,
|
|
1752
|
-
port,
|
|
1753
|
-
method: "POST",
|
|
1754
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1755
|
-
headers,
|
|
1756
|
-
};
|
|
1757
|
-
if (body !== undefined) {
|
|
1758
|
-
contents.body = body;
|
|
1759
|
-
}
|
|
1760
|
-
return new protocolHttp.HttpRequest(contents);
|
|
1761
500
|
};
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
501
|
+
|
|
502
|
+
const _A = "Adapter";
|
|
503
|
+
const _AC = "AdaptersConfig";
|
|
504
|
+
const _ACT = "AfterCreationTime";
|
|
505
|
+
const _AD = "AnalyzeDocument";
|
|
506
|
+
const _ADE = "AccessDeniedException";
|
|
507
|
+
const _ADMV = "AnalyzeDocumentModelVersion";
|
|
508
|
+
const _ADR = "AnalyzeDocumentRequest";
|
|
509
|
+
const _ADRn = "AnalyzeDocumentResponse";
|
|
510
|
+
const _AE = "AnalyzeExpense";
|
|
511
|
+
const _AEMV = "AnalyzeExpenseModelVersion";
|
|
512
|
+
const _AER = "AnalyzeExpenseRequest";
|
|
513
|
+
const _AERn = "AnalyzeExpenseResponse";
|
|
514
|
+
const _AI = "AdapterId";
|
|
515
|
+
const _AID = "AnalyzeID";
|
|
516
|
+
const _AIDD = "AnalyzeIDDetections";
|
|
517
|
+
const _AIDMV = "AnalyzeIDModelVersion";
|
|
518
|
+
const _AIDR = "AnalyzeIDRequest";
|
|
519
|
+
const _AIDRn = "AnalyzeIDResponse";
|
|
520
|
+
const _AL = "AdapterList";
|
|
521
|
+
const _ALMV = "AnalyzeLendingModelVersion";
|
|
522
|
+
const _AN = "AdapterName";
|
|
523
|
+
const _AO = "AdapterOverview";
|
|
524
|
+
const _AU = "AutoUpdate";
|
|
525
|
+
const _AV = "AdapterVersion";
|
|
526
|
+
const _AVDC = "AdapterVersionDatasetConfig";
|
|
527
|
+
const _AVEM = "AdapterVersionEvaluationMetric";
|
|
528
|
+
const _AVEMd = "AdapterVersionEvaluationMetrics";
|
|
529
|
+
const _AVL = "AdapterVersionList";
|
|
530
|
+
const _AVO = "AdapterVersionOverview";
|
|
531
|
+
const _AVd = "AdapterVersions";
|
|
532
|
+
const _Ad = "Adapters";
|
|
533
|
+
const _Al = "Alias";
|
|
534
|
+
const _B = "Baseline";
|
|
535
|
+
const _BB = "BoundingBox";
|
|
536
|
+
const _BCT = "BeforeCreationTime";
|
|
537
|
+
const _BDE = "BadDocumentException";
|
|
538
|
+
const _BL = "BlockList";
|
|
539
|
+
const _BT = "BlockType";
|
|
540
|
+
const _Bl = "Blocks";
|
|
541
|
+
const _Blo = "Block";
|
|
542
|
+
const _Bu = "Bucket";
|
|
543
|
+
const _By = "Bytes";
|
|
544
|
+
const _C = "Code";
|
|
545
|
+
const _CA = "CreateAdapter";
|
|
546
|
+
const _CAR = "CreateAdapterRequest";
|
|
547
|
+
const _CARr = "CreateAdapterResponse";
|
|
548
|
+
const _CAV = "CreateAdapterVersion";
|
|
549
|
+
const _CAVR = "CreateAdapterVersionRequest";
|
|
550
|
+
const _CAVRr = "CreateAdapterVersionResponse";
|
|
551
|
+
const _CC = "ContentClassifiers";
|
|
552
|
+
const _CE = "ConflictException";
|
|
553
|
+
const _CI = "ColumnIndex";
|
|
554
|
+
const _CRT = "ClientRequestToken";
|
|
555
|
+
const _CS = "ColumnSpan";
|
|
556
|
+
const _CT = "CreationTime";
|
|
557
|
+
const _Co = "Confidence";
|
|
558
|
+
const _Cu = "Currency";
|
|
559
|
+
const _D = "Document";
|
|
560
|
+
const _DA = "DataAttributes";
|
|
561
|
+
const _DAR = "DeleteAdapterRequest";
|
|
562
|
+
const _DARe = "DeleteAdapterResponse";
|
|
563
|
+
const _DAV = "DeleteAdapterVersion";
|
|
564
|
+
const _DAVR = "DeleteAdapterVersionRequest";
|
|
565
|
+
const _DAVRe = "DeleteAdapterVersionResponse";
|
|
566
|
+
const _DAe = "DeleteAdapter";
|
|
567
|
+
const _DC = "DatasetConfig";
|
|
568
|
+
const _DDT = "DetectDocumentText";
|
|
569
|
+
const _DDTMV = "DetectDocumentTextModelVersion";
|
|
570
|
+
const _DDTR = "DetectDocumentTextRequest";
|
|
571
|
+
const _DDTRe = "DetectDocumentTextResponse";
|
|
572
|
+
const _DG = "DocumentGroup";
|
|
573
|
+
const _DGL = "DocumentGroupList";
|
|
574
|
+
const _DGo = "DocumentGroups";
|
|
575
|
+
const _DI = "DocumentIndex";
|
|
576
|
+
const _DL = "DocumentLocation";
|
|
577
|
+
const _DM = "DocumentMetadata";
|
|
578
|
+
const _DP = "DocumentPages";
|
|
579
|
+
const _DS = "DetectedSignature";
|
|
580
|
+
const _DSL = "DetectedSignatureList";
|
|
581
|
+
const _DSe = "DetectedSignatures";
|
|
582
|
+
const _DTLE = "DocumentTooLargeException";
|
|
583
|
+
const _De = "Description";
|
|
584
|
+
const _E = "Extraction";
|
|
585
|
+
const _EC = "ExpenseCurrency";
|
|
586
|
+
const _ECr = "ErrorCode";
|
|
587
|
+
const _ED = "ExpenseDocuments";
|
|
588
|
+
const _EDL = "ExpenseDocumentList";
|
|
589
|
+
const _EDx = "ExpenseDetection";
|
|
590
|
+
const _EDxp = "ExpenseDocument";
|
|
591
|
+
const _EF = "ExpenseField";
|
|
592
|
+
const _EFL = "ExpenseFieldList";
|
|
593
|
+
const _EGP = "ExpenseGroupProperty";
|
|
594
|
+
const _EGPL = "ExpenseGroupPropertyList";
|
|
595
|
+
const _EI = "ExpenseIndex";
|
|
596
|
+
const _EL = "ExtractionList";
|
|
597
|
+
const _EM = "EvaluationMetric";
|
|
598
|
+
const _EMv = "EvaluationMetrics";
|
|
599
|
+
const _ET = "EntityTypes";
|
|
600
|
+
const _ETx = "ExpenseType";
|
|
601
|
+
const _Ex = "Extractions";
|
|
602
|
+
const _FDA = "FlowDefinitionArn";
|
|
603
|
+
const _FS = "F1Score";
|
|
604
|
+
const _FT = "FeatureTypes";
|
|
605
|
+
const _FTe = "FeatureType";
|
|
606
|
+
const _G = "Geometry";
|
|
607
|
+
const _GA = "GetAdapter";
|
|
608
|
+
const _GAR = "GetAdapterRequest";
|
|
609
|
+
const _GARe = "GetAdapterResponse";
|
|
610
|
+
const _GAV = "GetAdapterVersion";
|
|
611
|
+
const _GAVR = "GetAdapterVersionRequest";
|
|
612
|
+
const _GAVRe = "GetAdapterVersionResponse";
|
|
613
|
+
const _GDA = "GetDocumentAnalysis";
|
|
614
|
+
const _GDAR = "GetDocumentAnalysisRequest";
|
|
615
|
+
const _GDARe = "GetDocumentAnalysisResponse";
|
|
616
|
+
const _GDTD = "GetDocumentTextDetection";
|
|
617
|
+
const _GDTDR = "GetDocumentTextDetectionRequest";
|
|
618
|
+
const _GDTDRe = "GetDocumentTextDetectionResponse";
|
|
619
|
+
const _GEA = "GetExpenseAnalysis";
|
|
620
|
+
const _GEAR = "GetExpenseAnalysisRequest";
|
|
621
|
+
const _GEARe = "GetExpenseAnalysisResponse";
|
|
622
|
+
const _GLA = "GetLendingAnalysis";
|
|
623
|
+
const _GLAR = "GetLendingAnalysisRequest";
|
|
624
|
+
const _GLARe = "GetLendingAnalysisResponse";
|
|
625
|
+
const _GLAS = "GetLendingAnalysisSummary";
|
|
626
|
+
const _GLASR = "GetLendingAnalysisSummaryRequest";
|
|
627
|
+
const _GLASRe = "GetLendingAnalysisSummaryResponse";
|
|
628
|
+
const _GP = "GroupProperties";
|
|
629
|
+
const _H = "Height";
|
|
630
|
+
const _HLA = "HumanLoopArn";
|
|
631
|
+
const _HLACER = "HumanLoopActivationConditionsEvaluationResults";
|
|
632
|
+
const _HLAO = "HumanLoopActivationOutput";
|
|
633
|
+
const _HLAR = "HumanLoopActivationReasons";
|
|
634
|
+
const _HLC = "HumanLoopConfig";
|
|
635
|
+
const _HLDA = "HumanLoopDataAttributes";
|
|
636
|
+
const _HLN = "HumanLoopName";
|
|
637
|
+
const _HLQEE = "HumanLoopQuotaExceededException";
|
|
638
|
+
const _I = "Id";
|
|
639
|
+
const _ID = "IdentityDocuments";
|
|
640
|
+
const _IDF = "IdentityDocumentFields";
|
|
641
|
+
const _IDFL = "IdentityDocumentFieldList";
|
|
642
|
+
const _IDFd = "IdentityDocumentField";
|
|
643
|
+
const _IDL = "IdentityDocumentList";
|
|
644
|
+
const _IDd = "IdentityDocument";
|
|
645
|
+
const _IJIE = "InvalidJobIdException";
|
|
646
|
+
const _IKMSKE = "InvalidKMSKeyException";
|
|
647
|
+
const _IPE = "InvalidParameterException";
|
|
648
|
+
const _IPME = "IdempotentParameterMismatchException";
|
|
649
|
+
const _ISE = "InternalServerError";
|
|
650
|
+
const _ISOE = "InvalidS3ObjectException";
|
|
651
|
+
const _Id = "Ids";
|
|
652
|
+
const _In = "Index";
|
|
653
|
+
const _JI = "JobId";
|
|
654
|
+
const _JS = "JobStatus";
|
|
655
|
+
const _JT = "JobTag";
|
|
656
|
+
const _KD = "KeyDetection";
|
|
657
|
+
const _KMSKI = "KMSKeyId";
|
|
658
|
+
const _L = "Left";
|
|
659
|
+
const _LA = "ListAdapters";
|
|
660
|
+
const _LAR = "ListAdaptersRequest";
|
|
661
|
+
const _LARi = "ListAdaptersResponse";
|
|
662
|
+
const _LAV = "ListAdapterVersions";
|
|
663
|
+
const _LAVR = "ListAdapterVersionsRequest";
|
|
664
|
+
const _LAVRi = "ListAdapterVersionsResponse";
|
|
665
|
+
const _LD = "LabelDetection";
|
|
666
|
+
const _LDL = "LendingDetectionList";
|
|
667
|
+
const _LDe = "LendingDocument";
|
|
668
|
+
const _LDen = "LendingDetection";
|
|
669
|
+
const _LEE = "LimitExceededException";
|
|
670
|
+
const _LF = "LendingFields";
|
|
671
|
+
const _LFL = "LendingFieldList";
|
|
672
|
+
const _LFe = "LendingField";
|
|
673
|
+
const _LI = "LineItems";
|
|
674
|
+
const _LIEF = "LineItemExpenseFields";
|
|
675
|
+
const _LIF = "LineItemFields";
|
|
676
|
+
const _LIG = "LineItemGroups";
|
|
677
|
+
const _LIGI = "LineItemGroupIndex";
|
|
678
|
+
const _LIGL = "LineItemGroupList";
|
|
679
|
+
const _LIGi = "LineItemGroup";
|
|
680
|
+
const _LIL = "LineItemList";
|
|
681
|
+
const _LR = "LendingResult";
|
|
682
|
+
const _LRL = "LendingResultList";
|
|
683
|
+
const _LS = "LendingSummary";
|
|
684
|
+
const _LTFR = "ListTagsForResource";
|
|
685
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
686
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
687
|
+
const _M = "Message";
|
|
688
|
+
const _MR = "MaxResults";
|
|
689
|
+
const _MSO = "ManifestS3Object";
|
|
690
|
+
const _N = "Name";
|
|
691
|
+
const _NC = "NotificationChannel";
|
|
692
|
+
const _NT = "NextToken";
|
|
693
|
+
const _NV = "NormalizedValue";
|
|
694
|
+
const _OC = "OutputConfig";
|
|
695
|
+
const _P = "Pages";
|
|
696
|
+
const _PC = "PageClassification";
|
|
697
|
+
const _PL = "PredictionList";
|
|
698
|
+
const _PN = "PageNumber";
|
|
699
|
+
const _PT = "PageType";
|
|
700
|
+
const _PTEE = "ProvisionedThroughputExceededException";
|
|
701
|
+
const _Pa = "Page";
|
|
702
|
+
const _Po = "Polygon";
|
|
703
|
+
const _Poi = "Point";
|
|
704
|
+
const _Pr = "Precision";
|
|
705
|
+
const _Pre = "Prediction";
|
|
706
|
+
const _Q = "Query";
|
|
707
|
+
const _QC = "QueriesConfig";
|
|
708
|
+
const _QCu = "QuotaCode";
|
|
709
|
+
const _Qu = "Queries";
|
|
710
|
+
const _R = "Relationships";
|
|
711
|
+
const _RA = "RotationAngle";
|
|
712
|
+
const _RARN = "ResourceARN";
|
|
713
|
+
const _RAo = "RoleArn";
|
|
714
|
+
const _RI = "RowIndex";
|
|
715
|
+
const _RL = "RelationshipList";
|
|
716
|
+
const _RNFE = "ResourceNotFoundException";
|
|
717
|
+
const _RS = "RowSpan";
|
|
718
|
+
const _RT = "ResourceType";
|
|
719
|
+
const _Re = "Recall";
|
|
720
|
+
const _Rel = "Relationship";
|
|
721
|
+
const _Res = "Results";
|
|
722
|
+
const _S = "Status";
|
|
723
|
+
const _SB = "S3Bucket";
|
|
724
|
+
const _SC = "ServiceCode";
|
|
725
|
+
const _SD = "SplitDocuments";
|
|
726
|
+
const _SDA = "StartDocumentAnalysis";
|
|
727
|
+
const _SDAR = "StartDocumentAnalysisRequest";
|
|
728
|
+
const _SDARt = "StartDocumentAnalysisResponse";
|
|
729
|
+
const _SDL = "SignatureDetectionList";
|
|
730
|
+
const _SDLp = "SplitDocumentList";
|
|
731
|
+
const _SDTD = "StartDocumentTextDetection";
|
|
732
|
+
const _SDTDR = "StartDocumentTextDetectionRequest";
|
|
733
|
+
const _SDTDRt = "StartDocumentTextDetectionResponse";
|
|
734
|
+
const _SDi = "SignatureDetections";
|
|
735
|
+
const _SDig = "SignatureDetection";
|
|
736
|
+
const _SDp = "SplitDocument";
|
|
737
|
+
const _SEA = "StartExpenseAnalysis";
|
|
738
|
+
const _SEAR = "StartExpenseAnalysisRequest";
|
|
739
|
+
const _SEARt = "StartExpenseAnalysisResponse";
|
|
740
|
+
const _SF = "SummaryFields";
|
|
741
|
+
const _SJHLACER = "SynthesizedJsonHumanLoopActivationConditionsEvaluationResults";
|
|
742
|
+
const _SLA = "StartLendingAnalysis";
|
|
743
|
+
const _SLAR = "StartLendingAnalysisRequest";
|
|
744
|
+
const _SLARt = "StartLendingAnalysisResponse";
|
|
745
|
+
const _SM = "StatusMessage";
|
|
746
|
+
const _SNSTA = "SNSTopicArn";
|
|
747
|
+
const _SO = "S3Object";
|
|
748
|
+
const _SP = "S3Prefix";
|
|
749
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
750
|
+
const _SS = "SelectionStatus";
|
|
751
|
+
const _Su = "Summary";
|
|
752
|
+
const _T = "Text";
|
|
753
|
+
const _TE = "ThrottlingException";
|
|
754
|
+
const _TK = "TagKeys";
|
|
755
|
+
const _TR = "TagResource";
|
|
756
|
+
const _TRR = "TagResourceRequest";
|
|
757
|
+
const _TRRa = "TagResourceResponse";
|
|
758
|
+
const _TT = "TextType";
|
|
759
|
+
const _Ta = "Tags";
|
|
760
|
+
const _To = "Top";
|
|
761
|
+
const _Ty = "Type";
|
|
762
|
+
const _Typ = "Types";
|
|
763
|
+
const _UA = "UpdateAdapter";
|
|
764
|
+
const _UAR = "UpdateAdapterRequest";
|
|
765
|
+
const _UARp = "UpdateAdapterResponse";
|
|
766
|
+
const _UDE = "UnsupportedDocumentException";
|
|
767
|
+
const _UDT = "UndetectedDocumentTypes";
|
|
768
|
+
const _UR = "UntagResource";
|
|
769
|
+
const _URR = "UntagResourceRequest";
|
|
770
|
+
const _URRn = "UntagResourceResponse";
|
|
771
|
+
const _US = "UndetectedSignatures";
|
|
772
|
+
const _USL = "UndetectedSignatureList";
|
|
773
|
+
const _USn = "UndetectedSignature";
|
|
774
|
+
const _V = "Version";
|
|
775
|
+
const _VD = "ValueDetection";
|
|
776
|
+
const _VDa = "ValueDetections";
|
|
777
|
+
const _VE = "ValidationException";
|
|
778
|
+
const _VT = "ValueType";
|
|
779
|
+
const _Va = "Value";
|
|
780
|
+
const _W = "Width";
|
|
781
|
+
const _Wa = "Warnings";
|
|
782
|
+
const _War = "Warning";
|
|
783
|
+
const _X = "X";
|
|
784
|
+
const _Y = "Y";
|
|
785
|
+
const _a = "application/json";
|
|
786
|
+
const _c = "client";
|
|
787
|
+
const _e = "error";
|
|
788
|
+
const _hE = "httpError";
|
|
789
|
+
const _mT = "mediaType";
|
|
790
|
+
const _s = "server";
|
|
791
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.textract";
|
|
792
|
+
const n0 = "com.amazonaws.textract";
|
|
793
|
+
var SynthesizedJsonHumanLoopActivationConditionsEvaluationResults = [
|
|
794
|
+
0,
|
|
795
|
+
n0,
|
|
796
|
+
_SJHLACER,
|
|
797
|
+
{
|
|
798
|
+
[_mT]: _a,
|
|
799
|
+
},
|
|
800
|
+
0,
|
|
801
|
+
];
|
|
802
|
+
var AccessDeniedException = [
|
|
803
|
+
-3,
|
|
804
|
+
n0,
|
|
805
|
+
_ADE,
|
|
806
|
+
{
|
|
807
|
+
[_e]: _c,
|
|
808
|
+
},
|
|
809
|
+
[_M, _C],
|
|
810
|
+
[0, 0],
|
|
811
|
+
];
|
|
812
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
813
|
+
var Adapter = [3, n0, _A, 0, [_AI, _P, _V], [0, 64 | 0, 0]];
|
|
814
|
+
var AdapterOverview = [3, n0, _AO, 0, [_AI, _AN, _CT, _FT], [0, 0, 4, 64 | 0]];
|
|
815
|
+
var AdaptersConfig = [3, n0, _AC, 0, [_Ad], [() => Adapters]];
|
|
816
|
+
var AdapterVersionDatasetConfig = [3, n0, _AVDC, 0, [_MSO], [() => S3Object]];
|
|
817
|
+
var AdapterVersionEvaluationMetric = [
|
|
818
|
+
3,
|
|
819
|
+
n0,
|
|
820
|
+
_AVEM,
|
|
821
|
+
0,
|
|
822
|
+
[_B, _AV, _FTe],
|
|
823
|
+
[() => EvaluationMetric, () => EvaluationMetric, 0],
|
|
824
|
+
];
|
|
825
|
+
var AdapterVersionOverview = [
|
|
826
|
+
3,
|
|
827
|
+
n0,
|
|
828
|
+
_AVO,
|
|
829
|
+
0,
|
|
830
|
+
[_AI, _AV, _CT, _FT, _S, _SM],
|
|
831
|
+
[0, 0, 4, 64 | 0, 0, 0],
|
|
832
|
+
];
|
|
833
|
+
var AnalyzeDocumentRequest = [
|
|
834
|
+
3,
|
|
835
|
+
n0,
|
|
836
|
+
_ADR,
|
|
837
|
+
0,
|
|
838
|
+
[_D, _FT, _HLC, _QC, _AC],
|
|
839
|
+
[() => Document, 64 | 0, () => HumanLoopConfig, () => QueriesConfig, () => AdaptersConfig],
|
|
840
|
+
];
|
|
841
|
+
var AnalyzeDocumentResponse = [
|
|
842
|
+
3,
|
|
843
|
+
n0,
|
|
844
|
+
_ADRn,
|
|
845
|
+
0,
|
|
846
|
+
[_DM, _Bl, _HLAO, _ADMV],
|
|
847
|
+
[() => DocumentMetadata, () => BlockList, [() => HumanLoopActivationOutput, 0], 0],
|
|
848
|
+
];
|
|
849
|
+
var AnalyzeExpenseRequest = [3, n0, _AER, 0, [_D], [() => Document]];
|
|
850
|
+
var AnalyzeExpenseResponse = [
|
|
851
|
+
3,
|
|
852
|
+
n0,
|
|
853
|
+
_AERn,
|
|
854
|
+
0,
|
|
855
|
+
[_DM, _ED],
|
|
856
|
+
[() => DocumentMetadata, () => ExpenseDocumentList],
|
|
857
|
+
];
|
|
858
|
+
var AnalyzeIDDetections = [
|
|
859
|
+
3,
|
|
860
|
+
n0,
|
|
861
|
+
_AIDD,
|
|
862
|
+
0,
|
|
863
|
+
[_T, _NV, _Co],
|
|
864
|
+
[0, () => NormalizedValue, 1],
|
|
865
|
+
];
|
|
866
|
+
var AnalyzeIDRequest = [3, n0, _AIDR, 0, [_DP], [() => DocumentPages]];
|
|
867
|
+
var AnalyzeIDResponse = [
|
|
868
|
+
3,
|
|
869
|
+
n0,
|
|
870
|
+
_AIDRn,
|
|
871
|
+
0,
|
|
872
|
+
[_ID, _DM, _AIDMV],
|
|
873
|
+
[() => IdentityDocumentList, () => DocumentMetadata, 0],
|
|
874
|
+
];
|
|
875
|
+
var BadDocumentException = [
|
|
876
|
+
-3,
|
|
877
|
+
n0,
|
|
878
|
+
_BDE,
|
|
879
|
+
{
|
|
880
|
+
[_e]: _c,
|
|
881
|
+
},
|
|
882
|
+
[_M, _C],
|
|
883
|
+
[0, 0],
|
|
884
|
+
];
|
|
885
|
+
schema.TypeRegistry.for(n0).registerError(BadDocumentException, BadDocumentException$1);
|
|
886
|
+
var Block = [
|
|
887
|
+
3,
|
|
888
|
+
n0,
|
|
889
|
+
_Blo,
|
|
890
|
+
0,
|
|
891
|
+
[_BT, _Co, _T, _TT, _RI, _CI, _RS, _CS, _G, _I, _R, _ET, _SS, _Pa, _Q],
|
|
892
|
+
[0, 1, 0, 0, 1, 1, 1, 1, () => Geometry, 0, () => RelationshipList, 64 | 0, 0, 1, () => Query],
|
|
893
|
+
];
|
|
894
|
+
var BoundingBox = [3, n0, _BB, 0, [_W, _H, _L, _To], [1, 1, 1, 1]];
|
|
895
|
+
var ConflictException = [
|
|
896
|
+
-3,
|
|
897
|
+
n0,
|
|
898
|
+
_CE,
|
|
899
|
+
{
|
|
900
|
+
[_e]: _c,
|
|
901
|
+
},
|
|
902
|
+
[_M, _C],
|
|
903
|
+
[0, 0],
|
|
904
|
+
];
|
|
905
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
906
|
+
var CreateAdapterRequest = [
|
|
907
|
+
3,
|
|
908
|
+
n0,
|
|
909
|
+
_CAR,
|
|
910
|
+
0,
|
|
911
|
+
[_AN, _CRT, _De, _FT, _AU, _Ta],
|
|
912
|
+
[0, [0, 4], 0, 64 | 0, 0, 128 | 0],
|
|
913
|
+
];
|
|
914
|
+
var CreateAdapterResponse = [3, n0, _CARr, 0, [_AI], [0]];
|
|
915
|
+
var CreateAdapterVersionRequest = [
|
|
916
|
+
3,
|
|
917
|
+
n0,
|
|
918
|
+
_CAVR,
|
|
919
|
+
0,
|
|
920
|
+
[_AI, _CRT, _DC, _KMSKI, _OC, _Ta],
|
|
921
|
+
[0, [0, 4], () => AdapterVersionDatasetConfig, 0, () => OutputConfig, 128 | 0],
|
|
922
|
+
];
|
|
923
|
+
var CreateAdapterVersionResponse = [3, n0, _CAVRr, 0, [_AI, _AV], [0, 0]];
|
|
924
|
+
var DeleteAdapterRequest = [3, n0, _DAR, 0, [_AI], [0]];
|
|
925
|
+
var DeleteAdapterResponse = [3, n0, _DARe, 0, [], []];
|
|
926
|
+
var DeleteAdapterVersionRequest = [3, n0, _DAVR, 0, [_AI, _AV], [0, 0]];
|
|
927
|
+
var DeleteAdapterVersionResponse = [3, n0, _DAVRe, 0, [], []];
|
|
928
|
+
var DetectDocumentTextRequest = [3, n0, _DDTR, 0, [_D], [() => Document]];
|
|
929
|
+
var DetectDocumentTextResponse = [
|
|
930
|
+
3,
|
|
931
|
+
n0,
|
|
932
|
+
_DDTRe,
|
|
933
|
+
0,
|
|
934
|
+
[_DM, _Bl, _DDTMV],
|
|
935
|
+
[() => DocumentMetadata, () => BlockList, 0],
|
|
936
|
+
];
|
|
937
|
+
var DetectedSignature = [3, n0, _DS, 0, [_Pa], [1]];
|
|
938
|
+
var Document = [3, n0, _D, 0, [_By, _SO], [21, () => S3Object]];
|
|
939
|
+
var DocumentGroup = [
|
|
940
|
+
3,
|
|
941
|
+
n0,
|
|
942
|
+
_DG,
|
|
943
|
+
0,
|
|
944
|
+
[_Ty, _SD, _DSe, _US],
|
|
945
|
+
[0, () => SplitDocumentList, () => DetectedSignatureList, () => UndetectedSignatureList],
|
|
946
|
+
];
|
|
947
|
+
var DocumentLocation = [3, n0, _DL, 0, [_SO], [() => S3Object]];
|
|
948
|
+
var DocumentMetadata = [3, n0, _DM, 0, [_P], [1]];
|
|
949
|
+
var DocumentTooLargeException = [
|
|
950
|
+
-3,
|
|
951
|
+
n0,
|
|
952
|
+
_DTLE,
|
|
953
|
+
{
|
|
954
|
+
[_e]: _c,
|
|
955
|
+
},
|
|
956
|
+
[_M, _C],
|
|
957
|
+
[0, 0],
|
|
958
|
+
];
|
|
959
|
+
schema.TypeRegistry.for(n0).registerError(DocumentTooLargeException, DocumentTooLargeException$1);
|
|
960
|
+
var EvaluationMetric = [3, n0, _EM, 0, [_FS, _Pr, _Re], [1, 1, 1]];
|
|
961
|
+
var ExpenseCurrency = [3, n0, _EC, 0, [_C, _Co], [0, 1]];
|
|
962
|
+
var ExpenseDetection = [3, n0, _EDx, 0, [_T, _G, _Co], [0, () => Geometry, 1]];
|
|
963
|
+
var ExpenseDocument = [
|
|
964
|
+
3,
|
|
965
|
+
n0,
|
|
966
|
+
_EDxp,
|
|
967
|
+
0,
|
|
968
|
+
[_EI, _SF, _LIG, _Bl],
|
|
969
|
+
[1, () => ExpenseFieldList, () => LineItemGroupList, () => BlockList],
|
|
970
|
+
];
|
|
971
|
+
var ExpenseField = [
|
|
972
|
+
3,
|
|
973
|
+
n0,
|
|
974
|
+
_EF,
|
|
975
|
+
0,
|
|
976
|
+
[_Ty, _LD, _VD, _PN, _Cu, _GP],
|
|
977
|
+
[
|
|
978
|
+
() => ExpenseType,
|
|
979
|
+
() => ExpenseDetection,
|
|
980
|
+
() => ExpenseDetection,
|
|
981
|
+
1,
|
|
982
|
+
() => ExpenseCurrency,
|
|
983
|
+
() => ExpenseGroupPropertyList,
|
|
984
|
+
],
|
|
985
|
+
];
|
|
986
|
+
var ExpenseGroupProperty = [3, n0, _EGP, 0, [_Typ, _I], [64 | 0, 0]];
|
|
987
|
+
var ExpenseType = [3, n0, _ETx, 0, [_T, _Co], [0, 1]];
|
|
988
|
+
var Extraction = [
|
|
989
|
+
3,
|
|
990
|
+
n0,
|
|
991
|
+
_E,
|
|
992
|
+
0,
|
|
993
|
+
[_LDe, _EDxp, _IDd],
|
|
994
|
+
[() => LendingDocument, () => ExpenseDocument, () => IdentityDocument],
|
|
995
|
+
];
|
|
996
|
+
var Geometry = [3, n0, _G, 0, [_BB, _Po, _RA], [() => BoundingBox, () => Polygon, 1]];
|
|
997
|
+
var GetAdapterRequest = [3, n0, _GAR, 0, [_AI], [0]];
|
|
998
|
+
var GetAdapterResponse = [
|
|
999
|
+
3,
|
|
1000
|
+
n0,
|
|
1001
|
+
_GARe,
|
|
1002
|
+
0,
|
|
1003
|
+
[_AI, _AN, _CT, _De, _FT, _AU, _Ta],
|
|
1004
|
+
[0, 0, 4, 0, 64 | 0, 0, 128 | 0],
|
|
1005
|
+
];
|
|
1006
|
+
var GetAdapterVersionRequest = [3, n0, _GAVR, 0, [_AI, _AV], [0, 0]];
|
|
1007
|
+
var GetAdapterVersionResponse = [
|
|
1008
|
+
3,
|
|
1009
|
+
n0,
|
|
1010
|
+
_GAVRe,
|
|
1011
|
+
0,
|
|
1012
|
+
[_AI, _AV, _CT, _FT, _S, _SM, _DC, _KMSKI, _OC, _EMv, _Ta],
|
|
1013
|
+
[
|
|
1014
|
+
0,
|
|
1015
|
+
0,
|
|
1016
|
+
4,
|
|
1017
|
+
64 | 0,
|
|
1018
|
+
0,
|
|
1019
|
+
0,
|
|
1020
|
+
() => AdapterVersionDatasetConfig,
|
|
1021
|
+
0,
|
|
1022
|
+
() => OutputConfig,
|
|
1023
|
+
() => AdapterVersionEvaluationMetrics,
|
|
1024
|
+
128 | 0,
|
|
1025
|
+
],
|
|
1026
|
+
];
|
|
1027
|
+
var GetDocumentAnalysisRequest = [3, n0, _GDAR, 0, [_JI, _MR, _NT], [0, 1, 0]];
|
|
1028
|
+
var GetDocumentAnalysisResponse = [
|
|
1029
|
+
3,
|
|
1030
|
+
n0,
|
|
1031
|
+
_GDARe,
|
|
1032
|
+
0,
|
|
1033
|
+
[_DM, _JS, _NT, _Bl, _Wa, _SM, _ADMV],
|
|
1034
|
+
[() => DocumentMetadata, 0, 0, () => BlockList, () => Warnings, 0, 0],
|
|
1035
|
+
];
|
|
1036
|
+
var GetDocumentTextDetectionRequest = [3, n0, _GDTDR, 0, [_JI, _MR, _NT], [0, 1, 0]];
|
|
1037
|
+
var GetDocumentTextDetectionResponse = [
|
|
1038
|
+
3,
|
|
1039
|
+
n0,
|
|
1040
|
+
_GDTDRe,
|
|
1041
|
+
0,
|
|
1042
|
+
[_DM, _JS, _NT, _Bl, _Wa, _SM, _DDTMV],
|
|
1043
|
+
[() => DocumentMetadata, 0, 0, () => BlockList, () => Warnings, 0, 0],
|
|
1044
|
+
];
|
|
1045
|
+
var GetExpenseAnalysisRequest = [3, n0, _GEAR, 0, [_JI, _MR, _NT], [0, 1, 0]];
|
|
1046
|
+
var GetExpenseAnalysisResponse = [
|
|
1047
|
+
3,
|
|
1048
|
+
n0,
|
|
1049
|
+
_GEARe,
|
|
1050
|
+
0,
|
|
1051
|
+
[_DM, _JS, _NT, _ED, _Wa, _SM, _AEMV],
|
|
1052
|
+
[() => DocumentMetadata, 0, 0, () => ExpenseDocumentList, () => Warnings, 0, 0],
|
|
1053
|
+
];
|
|
1054
|
+
var GetLendingAnalysisRequest = [3, n0, _GLAR, 0, [_JI, _MR, _NT], [0, 1, 0]];
|
|
1055
|
+
var GetLendingAnalysisResponse = [
|
|
1056
|
+
3,
|
|
1057
|
+
n0,
|
|
1058
|
+
_GLARe,
|
|
1059
|
+
0,
|
|
1060
|
+
[_DM, _JS, _NT, _Res, _Wa, _SM, _ALMV],
|
|
1061
|
+
[() => DocumentMetadata, 0, 0, () => LendingResultList, () => Warnings, 0, 0],
|
|
1062
|
+
];
|
|
1063
|
+
var GetLendingAnalysisSummaryRequest = [3, n0, _GLASR, 0, [_JI], [0]];
|
|
1064
|
+
var GetLendingAnalysisSummaryResponse = [
|
|
1065
|
+
3,
|
|
1066
|
+
n0,
|
|
1067
|
+
_GLASRe,
|
|
1068
|
+
0,
|
|
1069
|
+
[_DM, _JS, _Su, _Wa, _SM, _ALMV],
|
|
1070
|
+
[() => DocumentMetadata, 0, () => LendingSummary, () => Warnings, 0, 0],
|
|
1071
|
+
];
|
|
1072
|
+
var HumanLoopActivationOutput = [
|
|
1073
|
+
3,
|
|
1074
|
+
n0,
|
|
1075
|
+
_HLAO,
|
|
1076
|
+
0,
|
|
1077
|
+
[_HLA, _HLAR, _HLACER],
|
|
1078
|
+
[0, 64 | 0, [() => SynthesizedJsonHumanLoopActivationConditionsEvaluationResults, 0]],
|
|
1079
|
+
];
|
|
1080
|
+
var HumanLoopConfig = [
|
|
1081
|
+
3,
|
|
1082
|
+
n0,
|
|
1083
|
+
_HLC,
|
|
1084
|
+
0,
|
|
1085
|
+
[_HLN, _FDA, _DA],
|
|
1086
|
+
[0, 0, () => HumanLoopDataAttributes],
|
|
1087
|
+
];
|
|
1088
|
+
var HumanLoopDataAttributes = [3, n0, _HLDA, 0, [_CC], [64 | 0]];
|
|
1089
|
+
var HumanLoopQuotaExceededException = [
|
|
1090
|
+
-3,
|
|
1091
|
+
n0,
|
|
1092
|
+
_HLQEE,
|
|
1093
|
+
{
|
|
1094
|
+
[_e]: _c,
|
|
1095
|
+
[_hE]: 402,
|
|
1096
|
+
},
|
|
1097
|
+
[_RT, _QCu, _SC, _M, _C],
|
|
1098
|
+
[0, 0, 0, 0, 0],
|
|
1099
|
+
];
|
|
1100
|
+
schema.TypeRegistry.for(n0).registerError(HumanLoopQuotaExceededException, HumanLoopQuotaExceededException$1);
|
|
1101
|
+
var IdempotentParameterMismatchException = [
|
|
1102
|
+
-3,
|
|
1103
|
+
n0,
|
|
1104
|
+
_IPME,
|
|
1105
|
+
{
|
|
1106
|
+
[_e]: _c,
|
|
1107
|
+
},
|
|
1108
|
+
[_M, _C],
|
|
1109
|
+
[0, 0],
|
|
1110
|
+
];
|
|
1111
|
+
schema.TypeRegistry.for(n0).registerError(IdempotentParameterMismatchException, IdempotentParameterMismatchException$1);
|
|
1112
|
+
var IdentityDocument = [
|
|
1113
|
+
3,
|
|
1114
|
+
n0,
|
|
1115
|
+
_IDd,
|
|
1116
|
+
0,
|
|
1117
|
+
[_DI, _IDF, _Bl],
|
|
1118
|
+
[1, () => IdentityDocumentFieldList, () => BlockList],
|
|
1119
|
+
];
|
|
1120
|
+
var IdentityDocumentField = [
|
|
1121
|
+
3,
|
|
1122
|
+
n0,
|
|
1123
|
+
_IDFd,
|
|
1124
|
+
0,
|
|
1125
|
+
[_Ty, _VD],
|
|
1126
|
+
[() => AnalyzeIDDetections, () => AnalyzeIDDetections],
|
|
1127
|
+
];
|
|
1128
|
+
var InternalServerError = [
|
|
1129
|
+
-3,
|
|
1130
|
+
n0,
|
|
1131
|
+
_ISE,
|
|
1132
|
+
{
|
|
1133
|
+
[_e]: _s,
|
|
1134
|
+
},
|
|
1135
|
+
[_M, _C],
|
|
1136
|
+
[0, 0],
|
|
1137
|
+
];
|
|
1138
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerError, InternalServerError$1);
|
|
1139
|
+
var InvalidJobIdException = [
|
|
1140
|
+
-3,
|
|
1141
|
+
n0,
|
|
1142
|
+
_IJIE,
|
|
1143
|
+
{
|
|
1144
|
+
[_e]: _c,
|
|
1145
|
+
},
|
|
1146
|
+
[_M, _C],
|
|
1147
|
+
[0, 0],
|
|
1148
|
+
];
|
|
1149
|
+
schema.TypeRegistry.for(n0).registerError(InvalidJobIdException, InvalidJobIdException$1);
|
|
1150
|
+
var InvalidKMSKeyException = [
|
|
1151
|
+
-3,
|
|
1152
|
+
n0,
|
|
1153
|
+
_IKMSKE,
|
|
1154
|
+
{
|
|
1155
|
+
[_e]: _c,
|
|
1156
|
+
},
|
|
1157
|
+
[_M, _C],
|
|
1158
|
+
[0, 0],
|
|
1159
|
+
];
|
|
1160
|
+
schema.TypeRegistry.for(n0).registerError(InvalidKMSKeyException, InvalidKMSKeyException$1);
|
|
1161
|
+
var InvalidParameterException = [
|
|
1162
|
+
-3,
|
|
1163
|
+
n0,
|
|
1164
|
+
_IPE,
|
|
1165
|
+
{
|
|
1166
|
+
[_e]: _c,
|
|
1167
|
+
},
|
|
1168
|
+
[_M, _C],
|
|
1169
|
+
[0, 0],
|
|
1170
|
+
];
|
|
1171
|
+
schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
|
|
1172
|
+
var InvalidS3ObjectException = [
|
|
1173
|
+
-3,
|
|
1174
|
+
n0,
|
|
1175
|
+
_ISOE,
|
|
1176
|
+
{
|
|
1177
|
+
[_e]: _c,
|
|
1178
|
+
},
|
|
1179
|
+
[_M, _C],
|
|
1180
|
+
[0, 0],
|
|
1181
|
+
];
|
|
1182
|
+
schema.TypeRegistry.for(n0).registerError(InvalidS3ObjectException, InvalidS3ObjectException$1);
|
|
1183
|
+
var LendingDetection = [3, n0, _LDen, 0, [_T, _SS, _G, _Co], [0, 0, () => Geometry, 1]];
|
|
1184
|
+
var LendingDocument = [
|
|
1185
|
+
3,
|
|
1186
|
+
n0,
|
|
1187
|
+
_LDe,
|
|
1188
|
+
0,
|
|
1189
|
+
[_LF, _SDi],
|
|
1190
|
+
[() => LendingFieldList, () => SignatureDetectionList],
|
|
1191
|
+
];
|
|
1192
|
+
var LendingField = [
|
|
1193
|
+
3,
|
|
1194
|
+
n0,
|
|
1195
|
+
_LFe,
|
|
1196
|
+
0,
|
|
1197
|
+
[_Ty, _KD, _VDa],
|
|
1198
|
+
[0, () => LendingDetection, () => LendingDetectionList],
|
|
1199
|
+
];
|
|
1200
|
+
var LendingResult = [
|
|
1201
|
+
3,
|
|
1202
|
+
n0,
|
|
1203
|
+
_LR,
|
|
1204
|
+
0,
|
|
1205
|
+
[_Pa, _PC, _Ex],
|
|
1206
|
+
[1, () => PageClassification, () => ExtractionList],
|
|
1207
|
+
];
|
|
1208
|
+
var LendingSummary = [3, n0, _LS, 0, [_DGo, _UDT], [() => DocumentGroupList, 64 | 0]];
|
|
1209
|
+
var LimitExceededException = [
|
|
1210
|
+
-3,
|
|
1211
|
+
n0,
|
|
1212
|
+
_LEE,
|
|
1213
|
+
{
|
|
1214
|
+
[_e]: _c,
|
|
1215
|
+
},
|
|
1216
|
+
[_M, _C],
|
|
1217
|
+
[0, 0],
|
|
1218
|
+
];
|
|
1219
|
+
schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
|
|
1220
|
+
var LineItemFields = [3, n0, _LIF, 0, [_LIEF], [() => ExpenseFieldList]];
|
|
1221
|
+
var LineItemGroup = [3, n0, _LIGi, 0, [_LIGI, _LI], [1, () => LineItemList]];
|
|
1222
|
+
var ListAdaptersRequest = [3, n0, _LAR, 0, [_ACT, _BCT, _MR, _NT], [4, 4, 1, 0]];
|
|
1223
|
+
var ListAdaptersResponse = [3, n0, _LARi, 0, [_Ad, _NT], [() => AdapterList, 0]];
|
|
1224
|
+
var ListAdapterVersionsRequest = [
|
|
1225
|
+
3,
|
|
1226
|
+
n0,
|
|
1227
|
+
_LAVR,
|
|
1228
|
+
0,
|
|
1229
|
+
[_AI, _ACT, _BCT, _MR, _NT],
|
|
1230
|
+
[0, 4, 4, 1, 0],
|
|
1231
|
+
];
|
|
1232
|
+
var ListAdapterVersionsResponse = [
|
|
1233
|
+
3,
|
|
1234
|
+
n0,
|
|
1235
|
+
_LAVRi,
|
|
1236
|
+
0,
|
|
1237
|
+
[_AVd, _NT],
|
|
1238
|
+
[() => AdapterVersionList, 0],
|
|
1239
|
+
];
|
|
1240
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
|
|
1241
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
|
|
1242
|
+
var NormalizedValue = [3, n0, _NV, 0, [_Va, _VT], [0, 0]];
|
|
1243
|
+
var NotificationChannel = [3, n0, _NC, 0, [_SNSTA, _RAo], [0, 0]];
|
|
1244
|
+
var OutputConfig = [3, n0, _OC, 0, [_SB, _SP], [0, 0]];
|
|
1245
|
+
var PageClassification = [
|
|
1246
|
+
3,
|
|
1247
|
+
n0,
|
|
1248
|
+
_PC,
|
|
1249
|
+
0,
|
|
1250
|
+
[_PT, _PN],
|
|
1251
|
+
[() => PredictionList, () => PredictionList],
|
|
1252
|
+
];
|
|
1253
|
+
var Point = [3, n0, _Poi, 0, [_X, _Y], [1, 1]];
|
|
1254
|
+
var Prediction = [3, n0, _Pre, 0, [_Va, _Co], [0, 1]];
|
|
1255
|
+
var ProvisionedThroughputExceededException = [
|
|
1256
|
+
-3,
|
|
1257
|
+
n0,
|
|
1258
|
+
_PTEE,
|
|
1259
|
+
{
|
|
1260
|
+
[_e]: _c,
|
|
1261
|
+
},
|
|
1262
|
+
[_M, _C],
|
|
1263
|
+
[0, 0],
|
|
1264
|
+
];
|
|
1265
|
+
schema.TypeRegistry.for(n0).registerError(ProvisionedThroughputExceededException, ProvisionedThroughputExceededException$1);
|
|
1266
|
+
var QueriesConfig = [3, n0, _QC, 0, [_Qu], [() => Queries]];
|
|
1267
|
+
var Query = [3, n0, _Q, 0, [_T, _Al, _P], [0, 0, 64 | 0]];
|
|
1268
|
+
var Relationship = [3, n0, _Rel, 0, [_Ty, _Id], [0, 64 | 0]];
|
|
1269
|
+
var ResourceNotFoundException = [
|
|
1270
|
+
-3,
|
|
1271
|
+
n0,
|
|
1272
|
+
_RNFE,
|
|
1273
|
+
{
|
|
1274
|
+
[_e]: _c,
|
|
1275
|
+
},
|
|
1276
|
+
[_M, _C],
|
|
1277
|
+
[0, 0],
|
|
1278
|
+
];
|
|
1279
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
1280
|
+
var S3Object = [3, n0, _SO, 0, [_Bu, _N, _V], [0, 0, 0]];
|
|
1281
|
+
var ServiceQuotaExceededException = [
|
|
1282
|
+
-3,
|
|
1283
|
+
n0,
|
|
1284
|
+
_SQEE,
|
|
1285
|
+
{
|
|
1286
|
+
[_e]: _c,
|
|
1287
|
+
},
|
|
1288
|
+
[_M, _C],
|
|
1289
|
+
[0, 0],
|
|
1290
|
+
];
|
|
1291
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
1292
|
+
var SignatureDetection = [3, n0, _SDig, 0, [_Co, _G], [1, () => Geometry]];
|
|
1293
|
+
var SplitDocument = [3, n0, _SDp, 0, [_In, _P], [1, 64 | 1]];
|
|
1294
|
+
var StartDocumentAnalysisRequest = [
|
|
1295
|
+
3,
|
|
1296
|
+
n0,
|
|
1297
|
+
_SDAR,
|
|
1298
|
+
0,
|
|
1299
|
+
[_DL, _FT, _CRT, _JT, _NC, _OC, _KMSKI, _QC, _AC],
|
|
1300
|
+
[
|
|
1301
|
+
() => DocumentLocation,
|
|
1302
|
+
64 | 0,
|
|
1303
|
+
0,
|
|
1304
|
+
0,
|
|
1305
|
+
() => NotificationChannel,
|
|
1306
|
+
() => OutputConfig,
|
|
1307
|
+
0,
|
|
1308
|
+
() => QueriesConfig,
|
|
1309
|
+
() => AdaptersConfig,
|
|
1310
|
+
],
|
|
1311
|
+
];
|
|
1312
|
+
var StartDocumentAnalysisResponse = [3, n0, _SDARt, 0, [_JI], [0]];
|
|
1313
|
+
var StartDocumentTextDetectionRequest = [
|
|
1314
|
+
3,
|
|
1315
|
+
n0,
|
|
1316
|
+
_SDTDR,
|
|
1317
|
+
0,
|
|
1318
|
+
[_DL, _CRT, _JT, _NC, _OC, _KMSKI],
|
|
1319
|
+
[() => DocumentLocation, 0, 0, () => NotificationChannel, () => OutputConfig, 0],
|
|
1320
|
+
];
|
|
1321
|
+
var StartDocumentTextDetectionResponse = [3, n0, _SDTDRt, 0, [_JI], [0]];
|
|
1322
|
+
var StartExpenseAnalysisRequest = [
|
|
1323
|
+
3,
|
|
1324
|
+
n0,
|
|
1325
|
+
_SEAR,
|
|
1326
|
+
0,
|
|
1327
|
+
[_DL, _CRT, _JT, _NC, _OC, _KMSKI],
|
|
1328
|
+
[() => DocumentLocation, 0, 0, () => NotificationChannel, () => OutputConfig, 0],
|
|
1329
|
+
];
|
|
1330
|
+
var StartExpenseAnalysisResponse = [3, n0, _SEARt, 0, [_JI], [0]];
|
|
1331
|
+
var StartLendingAnalysisRequest = [
|
|
1332
|
+
3,
|
|
1333
|
+
n0,
|
|
1334
|
+
_SLAR,
|
|
1335
|
+
0,
|
|
1336
|
+
[_DL, _CRT, _JT, _NC, _OC, _KMSKI],
|
|
1337
|
+
[() => DocumentLocation, 0, 0, () => NotificationChannel, () => OutputConfig, 0],
|
|
1338
|
+
];
|
|
1339
|
+
var StartLendingAnalysisResponse = [3, n0, _SLARt, 0, [_JI], [0]];
|
|
1340
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _Ta], [0, 128 | 0]];
|
|
1341
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
1342
|
+
var ThrottlingException = [
|
|
1343
|
+
-3,
|
|
1344
|
+
n0,
|
|
1345
|
+
_TE,
|
|
1346
|
+
{
|
|
1347
|
+
[_e]: _s,
|
|
1348
|
+
},
|
|
1349
|
+
[_M, _C],
|
|
1350
|
+
[0, 0],
|
|
1351
|
+
];
|
|
1352
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
1353
|
+
var UndetectedSignature = [3, n0, _USn, 0, [_Pa], [1]];
|
|
1354
|
+
var UnsupportedDocumentException = [
|
|
1355
|
+
-3,
|
|
1356
|
+
n0,
|
|
1357
|
+
_UDE,
|
|
1358
|
+
{
|
|
1359
|
+
[_e]: _c,
|
|
1360
|
+
},
|
|
1361
|
+
[_M, _C],
|
|
1362
|
+
[0, 0],
|
|
1363
|
+
];
|
|
1364
|
+
schema.TypeRegistry.for(n0).registerError(UnsupportedDocumentException, UnsupportedDocumentException$1);
|
|
1365
|
+
var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
|
|
1366
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
1367
|
+
var UpdateAdapterRequest = [3, n0, _UAR, 0, [_AI, _De, _AN, _AU], [0, 0, 0, 0]];
|
|
1368
|
+
var UpdateAdapterResponse = [
|
|
1369
|
+
3,
|
|
1370
|
+
n0,
|
|
1371
|
+
_UARp,
|
|
1372
|
+
0,
|
|
1373
|
+
[_AI, _AN, _CT, _De, _FT, _AU],
|
|
1374
|
+
[0, 0, 4, 0, 64 | 0, 0],
|
|
1375
|
+
];
|
|
1376
|
+
var ValidationException = [
|
|
1377
|
+
-3,
|
|
1378
|
+
n0,
|
|
1379
|
+
_VE,
|
|
1380
|
+
{
|
|
1381
|
+
[_e]: _c,
|
|
1382
|
+
},
|
|
1383
|
+
[_M, _C],
|
|
1384
|
+
[0, 0],
|
|
1385
|
+
];
|
|
1386
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1387
|
+
var Warning = [3, n0, _War, 0, [_ECr, _P], [0, 64 | 1]];
|
|
1388
|
+
var TextractServiceException = [-3, _sm, "TextractServiceException", 0, [], []];
|
|
1389
|
+
schema.TypeRegistry.for(_sm).registerError(TextractServiceException, TextractServiceException$1);
|
|
1390
|
+
var AdapterList = [1, n0, _AL, 0, () => AdapterOverview];
|
|
1391
|
+
var Adapters = [1, n0, _Ad, 0, () => Adapter];
|
|
1392
|
+
var AdapterVersionEvaluationMetrics = [1, n0, _AVEMd, 0, () => AdapterVersionEvaluationMetric];
|
|
1393
|
+
var AdapterVersionList = [1, n0, _AVL, 0, () => AdapterVersionOverview];
|
|
1394
|
+
var BlockList = [1, n0, _BL, 0, () => Block];
|
|
1395
|
+
var DetectedSignatureList = [1, n0, _DSL, 0, () => DetectedSignature];
|
|
1396
|
+
var DocumentGroupList = [1, n0, _DGL, 0, () => DocumentGroup];
|
|
1397
|
+
var DocumentPages = [1, n0, _DP, 0, () => Document];
|
|
1398
|
+
var ExpenseDocumentList = [1, n0, _EDL, 0, () => ExpenseDocument];
|
|
1399
|
+
var ExpenseFieldList = [1, n0, _EFL, 0, () => ExpenseField];
|
|
1400
|
+
var ExpenseGroupPropertyList = [1, n0, _EGPL, 0, () => ExpenseGroupProperty];
|
|
1401
|
+
var ExtractionList = [1, n0, _EL, 0, () => Extraction];
|
|
1402
|
+
var IdentityDocumentFieldList = [1, n0, _IDFL, 0, () => IdentityDocumentField];
|
|
1403
|
+
var IdentityDocumentList = [1, n0, _IDL, 0, () => IdentityDocument];
|
|
1404
|
+
var LendingDetectionList = [1, n0, _LDL, 0, () => LendingDetection];
|
|
1405
|
+
var LendingFieldList = [1, n0, _LFL, 0, () => LendingField];
|
|
1406
|
+
var LendingResultList = [1, n0, _LRL, 0, () => LendingResult];
|
|
1407
|
+
var LineItemGroupList = [1, n0, _LIGL, 0, () => LineItemGroup];
|
|
1408
|
+
var LineItemList = [1, n0, _LIL, 0, () => LineItemFields];
|
|
1409
|
+
var Polygon = [1, n0, _Po, 0, () => Point];
|
|
1410
|
+
var PredictionList = [1, n0, _PL, 0, () => Prediction];
|
|
1411
|
+
var Queries = [1, n0, _Qu, 0, () => Query];
|
|
1412
|
+
var RelationshipList = [1, n0, _RL, 0, () => Relationship];
|
|
1413
|
+
var SignatureDetectionList = [1, n0, _SDL, 0, () => SignatureDetection];
|
|
1414
|
+
var SplitDocumentList = [1, n0, _SDLp, 0, () => SplitDocument];
|
|
1415
|
+
var UndetectedSignatureList = [1, n0, _USL, 0, () => UndetectedSignature];
|
|
1416
|
+
var Warnings = [1, n0, _Wa, 0, () => Warning];
|
|
1417
|
+
var AnalyzeDocument = [
|
|
1418
|
+
9,
|
|
1419
|
+
n0,
|
|
1420
|
+
_AD,
|
|
1421
|
+
0,
|
|
1422
|
+
() => AnalyzeDocumentRequest,
|
|
1423
|
+
() => AnalyzeDocumentResponse,
|
|
1424
|
+
];
|
|
1425
|
+
var AnalyzeExpense = [
|
|
1426
|
+
9,
|
|
1427
|
+
n0,
|
|
1428
|
+
_AE,
|
|
1429
|
+
0,
|
|
1430
|
+
() => AnalyzeExpenseRequest,
|
|
1431
|
+
() => AnalyzeExpenseResponse,
|
|
1432
|
+
];
|
|
1433
|
+
var AnalyzeID = [9, n0, _AID, 0, () => AnalyzeIDRequest, () => AnalyzeIDResponse];
|
|
1434
|
+
var CreateAdapter = [
|
|
1435
|
+
9,
|
|
1436
|
+
n0,
|
|
1437
|
+
_CA,
|
|
1438
|
+
2,
|
|
1439
|
+
() => CreateAdapterRequest,
|
|
1440
|
+
() => CreateAdapterResponse,
|
|
1441
|
+
];
|
|
1442
|
+
var CreateAdapterVersion = [
|
|
1443
|
+
9,
|
|
1444
|
+
n0,
|
|
1445
|
+
_CAV,
|
|
1446
|
+
2,
|
|
1447
|
+
() => CreateAdapterVersionRequest,
|
|
1448
|
+
() => CreateAdapterVersionResponse,
|
|
1449
|
+
];
|
|
1450
|
+
var DeleteAdapter = [
|
|
1451
|
+
9,
|
|
1452
|
+
n0,
|
|
1453
|
+
_DAe,
|
|
1454
|
+
2,
|
|
1455
|
+
() => DeleteAdapterRequest,
|
|
1456
|
+
() => DeleteAdapterResponse,
|
|
1457
|
+
];
|
|
1458
|
+
var DeleteAdapterVersion = [
|
|
1459
|
+
9,
|
|
1460
|
+
n0,
|
|
1461
|
+
_DAV,
|
|
1462
|
+
2,
|
|
1463
|
+
() => DeleteAdapterVersionRequest,
|
|
1464
|
+
() => DeleteAdapterVersionResponse,
|
|
1465
|
+
];
|
|
1466
|
+
var DetectDocumentText = [
|
|
1467
|
+
9,
|
|
1468
|
+
n0,
|
|
1469
|
+
_DDT,
|
|
1470
|
+
0,
|
|
1471
|
+
() => DetectDocumentTextRequest,
|
|
1472
|
+
() => DetectDocumentTextResponse,
|
|
1473
|
+
];
|
|
1474
|
+
var GetAdapter = [9, n0, _GA, 0, () => GetAdapterRequest, () => GetAdapterResponse];
|
|
1475
|
+
var GetAdapterVersion = [
|
|
1476
|
+
9,
|
|
1477
|
+
n0,
|
|
1478
|
+
_GAV,
|
|
1479
|
+
0,
|
|
1480
|
+
() => GetAdapterVersionRequest,
|
|
1481
|
+
() => GetAdapterVersionResponse,
|
|
1482
|
+
];
|
|
1483
|
+
var GetDocumentAnalysis = [
|
|
1484
|
+
9,
|
|
1485
|
+
n0,
|
|
1486
|
+
_GDA,
|
|
1487
|
+
0,
|
|
1488
|
+
() => GetDocumentAnalysisRequest,
|
|
1489
|
+
() => GetDocumentAnalysisResponse,
|
|
1490
|
+
];
|
|
1491
|
+
var GetDocumentTextDetection = [
|
|
1492
|
+
9,
|
|
1493
|
+
n0,
|
|
1494
|
+
_GDTD,
|
|
1495
|
+
0,
|
|
1496
|
+
() => GetDocumentTextDetectionRequest,
|
|
1497
|
+
() => GetDocumentTextDetectionResponse,
|
|
1498
|
+
];
|
|
1499
|
+
var GetExpenseAnalysis = [
|
|
1500
|
+
9,
|
|
1501
|
+
n0,
|
|
1502
|
+
_GEA,
|
|
1503
|
+
0,
|
|
1504
|
+
() => GetExpenseAnalysisRequest,
|
|
1505
|
+
() => GetExpenseAnalysisResponse,
|
|
1506
|
+
];
|
|
1507
|
+
var GetLendingAnalysis = [
|
|
1508
|
+
9,
|
|
1509
|
+
n0,
|
|
1510
|
+
_GLA,
|
|
1511
|
+
0,
|
|
1512
|
+
() => GetLendingAnalysisRequest,
|
|
1513
|
+
() => GetLendingAnalysisResponse,
|
|
1514
|
+
];
|
|
1515
|
+
var GetLendingAnalysisSummary = [
|
|
1516
|
+
9,
|
|
1517
|
+
n0,
|
|
1518
|
+
_GLAS,
|
|
1519
|
+
0,
|
|
1520
|
+
() => GetLendingAnalysisSummaryRequest,
|
|
1521
|
+
() => GetLendingAnalysisSummaryResponse,
|
|
1522
|
+
];
|
|
1523
|
+
var ListAdapters = [9, n0, _LA, 0, () => ListAdaptersRequest, () => ListAdaptersResponse];
|
|
1524
|
+
var ListAdapterVersions = [
|
|
1525
|
+
9,
|
|
1526
|
+
n0,
|
|
1527
|
+
_LAV,
|
|
1528
|
+
0,
|
|
1529
|
+
() => ListAdapterVersionsRequest,
|
|
1530
|
+
() => ListAdapterVersionsResponse,
|
|
1531
|
+
];
|
|
1532
|
+
var ListTagsForResource = [
|
|
1533
|
+
9,
|
|
1534
|
+
n0,
|
|
1535
|
+
_LTFR,
|
|
1536
|
+
0,
|
|
1537
|
+
() => ListTagsForResourceRequest,
|
|
1538
|
+
() => ListTagsForResourceResponse,
|
|
1539
|
+
];
|
|
1540
|
+
var StartDocumentAnalysis = [
|
|
1541
|
+
9,
|
|
1542
|
+
n0,
|
|
1543
|
+
_SDA,
|
|
1544
|
+
0,
|
|
1545
|
+
() => StartDocumentAnalysisRequest,
|
|
1546
|
+
() => StartDocumentAnalysisResponse,
|
|
1547
|
+
];
|
|
1548
|
+
var StartDocumentTextDetection = [
|
|
1549
|
+
9,
|
|
1550
|
+
n0,
|
|
1551
|
+
_SDTD,
|
|
1552
|
+
0,
|
|
1553
|
+
() => StartDocumentTextDetectionRequest,
|
|
1554
|
+
() => StartDocumentTextDetectionResponse,
|
|
1555
|
+
];
|
|
1556
|
+
var StartExpenseAnalysis = [
|
|
1557
|
+
9,
|
|
1558
|
+
n0,
|
|
1559
|
+
_SEA,
|
|
1560
|
+
0,
|
|
1561
|
+
() => StartExpenseAnalysisRequest,
|
|
1562
|
+
() => StartExpenseAnalysisResponse,
|
|
1563
|
+
];
|
|
1564
|
+
var StartLendingAnalysis = [
|
|
1565
|
+
9,
|
|
1566
|
+
n0,
|
|
1567
|
+
_SLA,
|
|
1568
|
+
0,
|
|
1569
|
+
() => StartLendingAnalysisRequest,
|
|
1570
|
+
() => StartLendingAnalysisResponse,
|
|
1571
|
+
];
|
|
1572
|
+
var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
|
|
1573
|
+
var UntagResource = [
|
|
1574
|
+
9,
|
|
1575
|
+
n0,
|
|
1576
|
+
_UR,
|
|
1577
|
+
0,
|
|
1578
|
+
() => UntagResourceRequest,
|
|
1579
|
+
() => UntagResourceResponse,
|
|
1580
|
+
];
|
|
1581
|
+
var UpdateAdapter = [
|
|
1582
|
+
9,
|
|
1583
|
+
n0,
|
|
1584
|
+
_UA,
|
|
1585
|
+
0,
|
|
1586
|
+
() => UpdateAdapterRequest,
|
|
1587
|
+
() => UpdateAdapterResponse,
|
|
1588
|
+
];
|
|
1768
1589
|
|
|
1769
1590
|
class AnalyzeDocumentCommand extends smithyClient.Command
|
|
1770
1591
|
.classBuilder()
|
|
1771
1592
|
.ep(commonParams)
|
|
1772
1593
|
.m(function (Command, cs, config, o) {
|
|
1773
|
-
return [
|
|
1774
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1775
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1776
|
-
];
|
|
1594
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1777
1595
|
})
|
|
1778
1596
|
.s("Textract", "AnalyzeDocument", {})
|
|
1779
1597
|
.n("TextractClient", "AnalyzeDocumentCommand")
|
|
1780
|
-
.
|
|
1781
|
-
.ser(se_AnalyzeDocumentCommand)
|
|
1782
|
-
.de(de_AnalyzeDocumentCommand)
|
|
1598
|
+
.sc(AnalyzeDocument)
|
|
1783
1599
|
.build() {
|
|
1784
1600
|
}
|
|
1785
1601
|
|
|
@@ -1787,16 +1603,11 @@ class AnalyzeExpenseCommand extends smithyClient.Command
|
|
|
1787
1603
|
.classBuilder()
|
|
1788
1604
|
.ep(commonParams)
|
|
1789
1605
|
.m(function (Command, cs, config, o) {
|
|
1790
|
-
return [
|
|
1791
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1792
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1793
|
-
];
|
|
1606
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1794
1607
|
})
|
|
1795
1608
|
.s("Textract", "AnalyzeExpense", {})
|
|
1796
1609
|
.n("TextractClient", "AnalyzeExpenseCommand")
|
|
1797
|
-
.
|
|
1798
|
-
.ser(se_AnalyzeExpenseCommand)
|
|
1799
|
-
.de(de_AnalyzeExpenseCommand)
|
|
1610
|
+
.sc(AnalyzeExpense)
|
|
1800
1611
|
.build() {
|
|
1801
1612
|
}
|
|
1802
1613
|
|
|
@@ -1804,16 +1615,11 @@ class AnalyzeIDCommand extends smithyClient.Command
|
|
|
1804
1615
|
.classBuilder()
|
|
1805
1616
|
.ep(commonParams)
|
|
1806
1617
|
.m(function (Command, cs, config, o) {
|
|
1807
|
-
return [
|
|
1808
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1809
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1810
|
-
];
|
|
1618
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1811
1619
|
})
|
|
1812
1620
|
.s("Textract", "AnalyzeID", {})
|
|
1813
1621
|
.n("TextractClient", "AnalyzeIDCommand")
|
|
1814
|
-
.
|
|
1815
|
-
.ser(se_AnalyzeIDCommand)
|
|
1816
|
-
.de(de_AnalyzeIDCommand)
|
|
1622
|
+
.sc(AnalyzeID)
|
|
1817
1623
|
.build() {
|
|
1818
1624
|
}
|
|
1819
1625
|
|
|
@@ -1821,16 +1627,11 @@ class CreateAdapterCommand extends smithyClient.Command
|
|
|
1821
1627
|
.classBuilder()
|
|
1822
1628
|
.ep(commonParams)
|
|
1823
1629
|
.m(function (Command, cs, config, o) {
|
|
1824
|
-
return [
|
|
1825
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1826
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1827
|
-
];
|
|
1630
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1828
1631
|
})
|
|
1829
1632
|
.s("Textract", "CreateAdapter", {})
|
|
1830
1633
|
.n("TextractClient", "CreateAdapterCommand")
|
|
1831
|
-
.
|
|
1832
|
-
.ser(se_CreateAdapterCommand)
|
|
1833
|
-
.de(de_CreateAdapterCommand)
|
|
1634
|
+
.sc(CreateAdapter)
|
|
1834
1635
|
.build() {
|
|
1835
1636
|
}
|
|
1836
1637
|
|
|
@@ -1838,16 +1639,11 @@ class CreateAdapterVersionCommand extends smithyClient.Command
|
|
|
1838
1639
|
.classBuilder()
|
|
1839
1640
|
.ep(commonParams)
|
|
1840
1641
|
.m(function (Command, cs, config, o) {
|
|
1841
|
-
return [
|
|
1842
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1843
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1844
|
-
];
|
|
1642
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1845
1643
|
})
|
|
1846
1644
|
.s("Textract", "CreateAdapterVersion", {})
|
|
1847
1645
|
.n("TextractClient", "CreateAdapterVersionCommand")
|
|
1848
|
-
.
|
|
1849
|
-
.ser(se_CreateAdapterVersionCommand)
|
|
1850
|
-
.de(de_CreateAdapterVersionCommand)
|
|
1646
|
+
.sc(CreateAdapterVersion)
|
|
1851
1647
|
.build() {
|
|
1852
1648
|
}
|
|
1853
1649
|
|
|
@@ -1855,16 +1651,11 @@ class DeleteAdapterCommand extends smithyClient.Command
|
|
|
1855
1651
|
.classBuilder()
|
|
1856
1652
|
.ep(commonParams)
|
|
1857
1653
|
.m(function (Command, cs, config, o) {
|
|
1858
|
-
return [
|
|
1859
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1860
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1861
|
-
];
|
|
1654
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1862
1655
|
})
|
|
1863
1656
|
.s("Textract", "DeleteAdapter", {})
|
|
1864
1657
|
.n("TextractClient", "DeleteAdapterCommand")
|
|
1865
|
-
.
|
|
1866
|
-
.ser(se_DeleteAdapterCommand)
|
|
1867
|
-
.de(de_DeleteAdapterCommand)
|
|
1658
|
+
.sc(DeleteAdapter)
|
|
1868
1659
|
.build() {
|
|
1869
1660
|
}
|
|
1870
1661
|
|
|
@@ -1872,16 +1663,11 @@ class DeleteAdapterVersionCommand extends smithyClient.Command
|
|
|
1872
1663
|
.classBuilder()
|
|
1873
1664
|
.ep(commonParams)
|
|
1874
1665
|
.m(function (Command, cs, config, o) {
|
|
1875
|
-
return [
|
|
1876
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1877
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1878
|
-
];
|
|
1666
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1879
1667
|
})
|
|
1880
1668
|
.s("Textract", "DeleteAdapterVersion", {})
|
|
1881
1669
|
.n("TextractClient", "DeleteAdapterVersionCommand")
|
|
1882
|
-
.
|
|
1883
|
-
.ser(se_DeleteAdapterVersionCommand)
|
|
1884
|
-
.de(de_DeleteAdapterVersionCommand)
|
|
1670
|
+
.sc(DeleteAdapterVersion)
|
|
1885
1671
|
.build() {
|
|
1886
1672
|
}
|
|
1887
1673
|
|
|
@@ -1889,16 +1675,11 @@ class DetectDocumentTextCommand extends smithyClient.Command
|
|
|
1889
1675
|
.classBuilder()
|
|
1890
1676
|
.ep(commonParams)
|
|
1891
1677
|
.m(function (Command, cs, config, o) {
|
|
1892
|
-
return [
|
|
1893
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1894
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1895
|
-
];
|
|
1678
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1896
1679
|
})
|
|
1897
1680
|
.s("Textract", "DetectDocumentText", {})
|
|
1898
1681
|
.n("TextractClient", "DetectDocumentTextCommand")
|
|
1899
|
-
.
|
|
1900
|
-
.ser(se_DetectDocumentTextCommand)
|
|
1901
|
-
.de(de_DetectDocumentTextCommand)
|
|
1682
|
+
.sc(DetectDocumentText)
|
|
1902
1683
|
.build() {
|
|
1903
1684
|
}
|
|
1904
1685
|
|
|
@@ -1906,16 +1687,11 @@ class GetAdapterCommand extends smithyClient.Command
|
|
|
1906
1687
|
.classBuilder()
|
|
1907
1688
|
.ep(commonParams)
|
|
1908
1689
|
.m(function (Command, cs, config, o) {
|
|
1909
|
-
return [
|
|
1910
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1911
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1912
|
-
];
|
|
1690
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1913
1691
|
})
|
|
1914
1692
|
.s("Textract", "GetAdapter", {})
|
|
1915
1693
|
.n("TextractClient", "GetAdapterCommand")
|
|
1916
|
-
.
|
|
1917
|
-
.ser(se_GetAdapterCommand)
|
|
1918
|
-
.de(de_GetAdapterCommand)
|
|
1694
|
+
.sc(GetAdapter)
|
|
1919
1695
|
.build() {
|
|
1920
1696
|
}
|
|
1921
1697
|
|
|
@@ -1923,16 +1699,11 @@ class GetAdapterVersionCommand extends smithyClient.Command
|
|
|
1923
1699
|
.classBuilder()
|
|
1924
1700
|
.ep(commonParams)
|
|
1925
1701
|
.m(function (Command, cs, config, o) {
|
|
1926
|
-
return [
|
|
1927
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1928
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1929
|
-
];
|
|
1702
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1930
1703
|
})
|
|
1931
1704
|
.s("Textract", "GetAdapterVersion", {})
|
|
1932
1705
|
.n("TextractClient", "GetAdapterVersionCommand")
|
|
1933
|
-
.
|
|
1934
|
-
.ser(se_GetAdapterVersionCommand)
|
|
1935
|
-
.de(de_GetAdapterVersionCommand)
|
|
1706
|
+
.sc(GetAdapterVersion)
|
|
1936
1707
|
.build() {
|
|
1937
1708
|
}
|
|
1938
1709
|
|
|
@@ -1940,16 +1711,11 @@ class GetDocumentAnalysisCommand extends smithyClient.Command
|
|
|
1940
1711
|
.classBuilder()
|
|
1941
1712
|
.ep(commonParams)
|
|
1942
1713
|
.m(function (Command, cs, config, o) {
|
|
1943
|
-
return [
|
|
1944
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1945
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1946
|
-
];
|
|
1714
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1947
1715
|
})
|
|
1948
1716
|
.s("Textract", "GetDocumentAnalysis", {})
|
|
1949
1717
|
.n("TextractClient", "GetDocumentAnalysisCommand")
|
|
1950
|
-
.
|
|
1951
|
-
.ser(se_GetDocumentAnalysisCommand)
|
|
1952
|
-
.de(de_GetDocumentAnalysisCommand)
|
|
1718
|
+
.sc(GetDocumentAnalysis)
|
|
1953
1719
|
.build() {
|
|
1954
1720
|
}
|
|
1955
1721
|
|
|
@@ -1957,16 +1723,11 @@ class GetDocumentTextDetectionCommand extends smithyClient.Command
|
|
|
1957
1723
|
.classBuilder()
|
|
1958
1724
|
.ep(commonParams)
|
|
1959
1725
|
.m(function (Command, cs, config, o) {
|
|
1960
|
-
return [
|
|
1961
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1962
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1963
|
-
];
|
|
1726
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1964
1727
|
})
|
|
1965
1728
|
.s("Textract", "GetDocumentTextDetection", {})
|
|
1966
1729
|
.n("TextractClient", "GetDocumentTextDetectionCommand")
|
|
1967
|
-
.
|
|
1968
|
-
.ser(se_GetDocumentTextDetectionCommand)
|
|
1969
|
-
.de(de_GetDocumentTextDetectionCommand)
|
|
1730
|
+
.sc(GetDocumentTextDetection)
|
|
1970
1731
|
.build() {
|
|
1971
1732
|
}
|
|
1972
1733
|
|
|
@@ -1974,16 +1735,11 @@ class GetExpenseAnalysisCommand extends smithyClient.Command
|
|
|
1974
1735
|
.classBuilder()
|
|
1975
1736
|
.ep(commonParams)
|
|
1976
1737
|
.m(function (Command, cs, config, o) {
|
|
1977
|
-
return [
|
|
1978
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1979
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1980
|
-
];
|
|
1738
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1981
1739
|
})
|
|
1982
1740
|
.s("Textract", "GetExpenseAnalysis", {})
|
|
1983
1741
|
.n("TextractClient", "GetExpenseAnalysisCommand")
|
|
1984
|
-
.
|
|
1985
|
-
.ser(se_GetExpenseAnalysisCommand)
|
|
1986
|
-
.de(de_GetExpenseAnalysisCommand)
|
|
1742
|
+
.sc(GetExpenseAnalysis)
|
|
1987
1743
|
.build() {
|
|
1988
1744
|
}
|
|
1989
1745
|
|
|
@@ -1991,16 +1747,11 @@ class GetLendingAnalysisCommand extends smithyClient.Command
|
|
|
1991
1747
|
.classBuilder()
|
|
1992
1748
|
.ep(commonParams)
|
|
1993
1749
|
.m(function (Command, cs, config, o) {
|
|
1994
|
-
return [
|
|
1995
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1996
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1997
|
-
];
|
|
1750
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1998
1751
|
})
|
|
1999
1752
|
.s("Textract", "GetLendingAnalysis", {})
|
|
2000
1753
|
.n("TextractClient", "GetLendingAnalysisCommand")
|
|
2001
|
-
.
|
|
2002
|
-
.ser(se_GetLendingAnalysisCommand)
|
|
2003
|
-
.de(de_GetLendingAnalysisCommand)
|
|
1754
|
+
.sc(GetLendingAnalysis)
|
|
2004
1755
|
.build() {
|
|
2005
1756
|
}
|
|
2006
1757
|
|
|
@@ -2008,16 +1759,11 @@ class GetLendingAnalysisSummaryCommand extends smithyClient.Command
|
|
|
2008
1759
|
.classBuilder()
|
|
2009
1760
|
.ep(commonParams)
|
|
2010
1761
|
.m(function (Command, cs, config, o) {
|
|
2011
|
-
return [
|
|
2012
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2013
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2014
|
-
];
|
|
1762
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2015
1763
|
})
|
|
2016
1764
|
.s("Textract", "GetLendingAnalysisSummary", {})
|
|
2017
1765
|
.n("TextractClient", "GetLendingAnalysisSummaryCommand")
|
|
2018
|
-
.
|
|
2019
|
-
.ser(se_GetLendingAnalysisSummaryCommand)
|
|
2020
|
-
.de(de_GetLendingAnalysisSummaryCommand)
|
|
1766
|
+
.sc(GetLendingAnalysisSummary)
|
|
2021
1767
|
.build() {
|
|
2022
1768
|
}
|
|
2023
1769
|
|
|
@@ -2025,16 +1771,11 @@ class ListAdaptersCommand extends smithyClient.Command
|
|
|
2025
1771
|
.classBuilder()
|
|
2026
1772
|
.ep(commonParams)
|
|
2027
1773
|
.m(function (Command, cs, config, o) {
|
|
2028
|
-
return [
|
|
2029
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2030
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2031
|
-
];
|
|
1774
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2032
1775
|
})
|
|
2033
1776
|
.s("Textract", "ListAdapters", {})
|
|
2034
1777
|
.n("TextractClient", "ListAdaptersCommand")
|
|
2035
|
-
.
|
|
2036
|
-
.ser(se_ListAdaptersCommand)
|
|
2037
|
-
.de(de_ListAdaptersCommand)
|
|
1778
|
+
.sc(ListAdapters)
|
|
2038
1779
|
.build() {
|
|
2039
1780
|
}
|
|
2040
1781
|
|
|
@@ -2042,16 +1783,11 @@ class ListAdapterVersionsCommand extends smithyClient.Command
|
|
|
2042
1783
|
.classBuilder()
|
|
2043
1784
|
.ep(commonParams)
|
|
2044
1785
|
.m(function (Command, cs, config, o) {
|
|
2045
|
-
return [
|
|
2046
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2047
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2048
|
-
];
|
|
1786
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2049
1787
|
})
|
|
2050
1788
|
.s("Textract", "ListAdapterVersions", {})
|
|
2051
1789
|
.n("TextractClient", "ListAdapterVersionsCommand")
|
|
2052
|
-
.
|
|
2053
|
-
.ser(se_ListAdapterVersionsCommand)
|
|
2054
|
-
.de(de_ListAdapterVersionsCommand)
|
|
1790
|
+
.sc(ListAdapterVersions)
|
|
2055
1791
|
.build() {
|
|
2056
1792
|
}
|
|
2057
1793
|
|
|
@@ -2059,16 +1795,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
2059
1795
|
.classBuilder()
|
|
2060
1796
|
.ep(commonParams)
|
|
2061
1797
|
.m(function (Command, cs, config, o) {
|
|
2062
|
-
return [
|
|
2063
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2064
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2065
|
-
];
|
|
1798
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2066
1799
|
})
|
|
2067
1800
|
.s("Textract", "ListTagsForResource", {})
|
|
2068
1801
|
.n("TextractClient", "ListTagsForResourceCommand")
|
|
2069
|
-
.
|
|
2070
|
-
.ser(se_ListTagsForResourceCommand)
|
|
2071
|
-
.de(de_ListTagsForResourceCommand)
|
|
1802
|
+
.sc(ListTagsForResource)
|
|
2072
1803
|
.build() {
|
|
2073
1804
|
}
|
|
2074
1805
|
|
|
@@ -2076,16 +1807,11 @@ class StartDocumentAnalysisCommand extends smithyClient.Command
|
|
|
2076
1807
|
.classBuilder()
|
|
2077
1808
|
.ep(commonParams)
|
|
2078
1809
|
.m(function (Command, cs, config, o) {
|
|
2079
|
-
return [
|
|
2080
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2081
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2082
|
-
];
|
|
1810
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2083
1811
|
})
|
|
2084
1812
|
.s("Textract", "StartDocumentAnalysis", {})
|
|
2085
1813
|
.n("TextractClient", "StartDocumentAnalysisCommand")
|
|
2086
|
-
.
|
|
2087
|
-
.ser(se_StartDocumentAnalysisCommand)
|
|
2088
|
-
.de(de_StartDocumentAnalysisCommand)
|
|
1814
|
+
.sc(StartDocumentAnalysis)
|
|
2089
1815
|
.build() {
|
|
2090
1816
|
}
|
|
2091
1817
|
|
|
@@ -2093,16 +1819,11 @@ class StartDocumentTextDetectionCommand extends smithyClient.Command
|
|
|
2093
1819
|
.classBuilder()
|
|
2094
1820
|
.ep(commonParams)
|
|
2095
1821
|
.m(function (Command, cs, config, o) {
|
|
2096
|
-
return [
|
|
2097
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2098
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2099
|
-
];
|
|
1822
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2100
1823
|
})
|
|
2101
1824
|
.s("Textract", "StartDocumentTextDetection", {})
|
|
2102
1825
|
.n("TextractClient", "StartDocumentTextDetectionCommand")
|
|
2103
|
-
.
|
|
2104
|
-
.ser(se_StartDocumentTextDetectionCommand)
|
|
2105
|
-
.de(de_StartDocumentTextDetectionCommand)
|
|
1826
|
+
.sc(StartDocumentTextDetection)
|
|
2106
1827
|
.build() {
|
|
2107
1828
|
}
|
|
2108
1829
|
|
|
@@ -2110,16 +1831,11 @@ class StartExpenseAnalysisCommand extends smithyClient.Command
|
|
|
2110
1831
|
.classBuilder()
|
|
2111
1832
|
.ep(commonParams)
|
|
2112
1833
|
.m(function (Command, cs, config, o) {
|
|
2113
|
-
return [
|
|
2114
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2115
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2116
|
-
];
|
|
1834
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2117
1835
|
})
|
|
2118
1836
|
.s("Textract", "StartExpenseAnalysis", {})
|
|
2119
1837
|
.n("TextractClient", "StartExpenseAnalysisCommand")
|
|
2120
|
-
.
|
|
2121
|
-
.ser(se_StartExpenseAnalysisCommand)
|
|
2122
|
-
.de(de_StartExpenseAnalysisCommand)
|
|
1838
|
+
.sc(StartExpenseAnalysis)
|
|
2123
1839
|
.build() {
|
|
2124
1840
|
}
|
|
2125
1841
|
|
|
@@ -2127,16 +1843,11 @@ class StartLendingAnalysisCommand extends smithyClient.Command
|
|
|
2127
1843
|
.classBuilder()
|
|
2128
1844
|
.ep(commonParams)
|
|
2129
1845
|
.m(function (Command, cs, config, o) {
|
|
2130
|
-
return [
|
|
2131
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2132
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2133
|
-
];
|
|
1846
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2134
1847
|
})
|
|
2135
1848
|
.s("Textract", "StartLendingAnalysis", {})
|
|
2136
1849
|
.n("TextractClient", "StartLendingAnalysisCommand")
|
|
2137
|
-
.
|
|
2138
|
-
.ser(se_StartLendingAnalysisCommand)
|
|
2139
|
-
.de(de_StartLendingAnalysisCommand)
|
|
1850
|
+
.sc(StartLendingAnalysis)
|
|
2140
1851
|
.build() {
|
|
2141
1852
|
}
|
|
2142
1853
|
|
|
@@ -2144,16 +1855,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
2144
1855
|
.classBuilder()
|
|
2145
1856
|
.ep(commonParams)
|
|
2146
1857
|
.m(function (Command, cs, config, o) {
|
|
2147
|
-
return [
|
|
2148
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2149
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2150
|
-
];
|
|
1858
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2151
1859
|
})
|
|
2152
1860
|
.s("Textract", "TagResource", {})
|
|
2153
1861
|
.n("TextractClient", "TagResourceCommand")
|
|
2154
|
-
.
|
|
2155
|
-
.ser(se_TagResourceCommand)
|
|
2156
|
-
.de(de_TagResourceCommand)
|
|
1862
|
+
.sc(TagResource)
|
|
2157
1863
|
.build() {
|
|
2158
1864
|
}
|
|
2159
1865
|
|
|
@@ -2161,16 +1867,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
2161
1867
|
.classBuilder()
|
|
2162
1868
|
.ep(commonParams)
|
|
2163
1869
|
.m(function (Command, cs, config, o) {
|
|
2164
|
-
return [
|
|
2165
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2166
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2167
|
-
];
|
|
1870
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2168
1871
|
})
|
|
2169
1872
|
.s("Textract", "UntagResource", {})
|
|
2170
1873
|
.n("TextractClient", "UntagResourceCommand")
|
|
2171
|
-
.
|
|
2172
|
-
.ser(se_UntagResourceCommand)
|
|
2173
|
-
.de(de_UntagResourceCommand)
|
|
1874
|
+
.sc(UntagResource)
|
|
2174
1875
|
.build() {
|
|
2175
1876
|
}
|
|
2176
1877
|
|
|
@@ -2178,16 +1879,11 @@ class UpdateAdapterCommand extends smithyClient.Command
|
|
|
2178
1879
|
.classBuilder()
|
|
2179
1880
|
.ep(commonParams)
|
|
2180
1881
|
.m(function (Command, cs, config, o) {
|
|
2181
|
-
return [
|
|
2182
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2183
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2184
|
-
];
|
|
1882
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2185
1883
|
})
|
|
2186
1884
|
.s("Textract", "UpdateAdapter", {})
|
|
2187
1885
|
.n("TextractClient", "UpdateAdapterCommand")
|
|
2188
|
-
.
|
|
2189
|
-
.ser(se_UpdateAdapterCommand)
|
|
2190
|
-
.de(de_UpdateAdapterCommand)
|
|
1886
|
+
.sc(UpdateAdapter)
|
|
2191
1887
|
.build() {
|
|
2192
1888
|
}
|
|
2193
1889
|
|
|
@@ -2234,22 +1930,22 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2234
1930
|
enumerable: true,
|
|
2235
1931
|
get: function () { return smithyClient.Client; }
|
|
2236
1932
|
});
|
|
2237
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1933
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2238
1934
|
exports.AdapterVersionStatus = AdapterVersionStatus;
|
|
2239
1935
|
exports.AnalyzeDocumentCommand = AnalyzeDocumentCommand;
|
|
2240
1936
|
exports.AnalyzeExpenseCommand = AnalyzeExpenseCommand;
|
|
2241
1937
|
exports.AnalyzeIDCommand = AnalyzeIDCommand;
|
|
2242
1938
|
exports.AutoUpdate = AutoUpdate;
|
|
2243
|
-
exports.BadDocumentException = BadDocumentException;
|
|
1939
|
+
exports.BadDocumentException = BadDocumentException$1;
|
|
2244
1940
|
exports.BlockType = BlockType;
|
|
2245
|
-
exports.ConflictException = ConflictException;
|
|
1941
|
+
exports.ConflictException = ConflictException$1;
|
|
2246
1942
|
exports.ContentClassifier = ContentClassifier;
|
|
2247
1943
|
exports.CreateAdapterCommand = CreateAdapterCommand;
|
|
2248
1944
|
exports.CreateAdapterVersionCommand = CreateAdapterVersionCommand;
|
|
2249
1945
|
exports.DeleteAdapterCommand = DeleteAdapterCommand;
|
|
2250
1946
|
exports.DeleteAdapterVersionCommand = DeleteAdapterVersionCommand;
|
|
2251
1947
|
exports.DetectDocumentTextCommand = DetectDocumentTextCommand;
|
|
2252
|
-
exports.DocumentTooLargeException = DocumentTooLargeException;
|
|
1948
|
+
exports.DocumentTooLargeException = DocumentTooLargeException$1;
|
|
2253
1949
|
exports.EntityType = EntityType;
|
|
2254
1950
|
exports.FeatureType = FeatureType;
|
|
2255
1951
|
exports.GetAdapterCommand = GetAdapterCommand;
|
|
@@ -2259,23 +1955,23 @@ exports.GetDocumentTextDetectionCommand = GetDocumentTextDetectionCommand;
|
|
|
2259
1955
|
exports.GetExpenseAnalysisCommand = GetExpenseAnalysisCommand;
|
|
2260
1956
|
exports.GetLendingAnalysisCommand = GetLendingAnalysisCommand;
|
|
2261
1957
|
exports.GetLendingAnalysisSummaryCommand = GetLendingAnalysisSummaryCommand;
|
|
2262
|
-
exports.HumanLoopQuotaExceededException = HumanLoopQuotaExceededException;
|
|
2263
|
-
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
|
|
2264
|
-
exports.InternalServerError = InternalServerError;
|
|
2265
|
-
exports.InvalidJobIdException = InvalidJobIdException;
|
|
2266
|
-
exports.InvalidKMSKeyException = InvalidKMSKeyException;
|
|
2267
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
2268
|
-
exports.InvalidS3ObjectException = InvalidS3ObjectException;
|
|
1958
|
+
exports.HumanLoopQuotaExceededException = HumanLoopQuotaExceededException$1;
|
|
1959
|
+
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException$1;
|
|
1960
|
+
exports.InternalServerError = InternalServerError$1;
|
|
1961
|
+
exports.InvalidJobIdException = InvalidJobIdException$1;
|
|
1962
|
+
exports.InvalidKMSKeyException = InvalidKMSKeyException$1;
|
|
1963
|
+
exports.InvalidParameterException = InvalidParameterException$1;
|
|
1964
|
+
exports.InvalidS3ObjectException = InvalidS3ObjectException$1;
|
|
2269
1965
|
exports.JobStatus = JobStatus;
|
|
2270
|
-
exports.LimitExceededException = LimitExceededException;
|
|
1966
|
+
exports.LimitExceededException = LimitExceededException$1;
|
|
2271
1967
|
exports.ListAdapterVersionsCommand = ListAdapterVersionsCommand;
|
|
2272
1968
|
exports.ListAdaptersCommand = ListAdaptersCommand;
|
|
2273
1969
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2274
|
-
exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
|
|
1970
|
+
exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException$1;
|
|
2275
1971
|
exports.RelationshipType = RelationshipType;
|
|
2276
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1972
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2277
1973
|
exports.SelectionStatus = SelectionStatus;
|
|
2278
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1974
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2279
1975
|
exports.StartDocumentAnalysisCommand = StartDocumentAnalysisCommand;
|
|
2280
1976
|
exports.StartDocumentTextDetectionCommand = StartDocumentTextDetectionCommand;
|
|
2281
1977
|
exports.StartExpenseAnalysisCommand = StartExpenseAnalysisCommand;
|
|
@@ -2284,12 +1980,12 @@ exports.TagResourceCommand = TagResourceCommand;
|
|
|
2284
1980
|
exports.TextType = TextType;
|
|
2285
1981
|
exports.Textract = Textract;
|
|
2286
1982
|
exports.TextractClient = TextractClient;
|
|
2287
|
-
exports.TextractServiceException = TextractServiceException;
|
|
2288
|
-
exports.ThrottlingException = ThrottlingException;
|
|
2289
|
-
exports.UnsupportedDocumentException = UnsupportedDocumentException;
|
|
1983
|
+
exports.TextractServiceException = TextractServiceException$1;
|
|
1984
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1985
|
+
exports.UnsupportedDocumentException = UnsupportedDocumentException$1;
|
|
2290
1986
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2291
1987
|
exports.UpdateAdapterCommand = UpdateAdapterCommand;
|
|
2292
|
-
exports.ValidationException = ValidationException;
|
|
1988
|
+
exports.ValidationException = ValidationException$1;
|
|
2293
1989
|
exports.ValueType = ValueType;
|
|
2294
1990
|
exports.paginateListAdapterVersions = paginateListAdapterVersions;
|
|
2295
1991
|
exports.paginateListAdapters = paginateListAdapters;
|