@aws-sdk/client-textract 3.50.0 → 3.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/TextractServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +221 -2
- package/dist-cjs/protocols/Aws_json1_1.js +209 -766
- package/dist-es/index.js +1 -0
- package/dist-es/models/TextractServiceException.js +12 -0
- package/dist-es/models/models_0.js +206 -1
- package/dist-es/protocols/Aws_json1_1.js +387 -779
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/TextractServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +105 -44
- package/dist-types/ts3.4/Textract.d.ts +55 -0
- package/dist-types/ts3.4/TextractClient.d.ts +83 -0
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/TextractServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +753 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from Textract service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class TextractServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { TextractServiceException as __BaseException } from "./TextractServiceException";
|
|
3
3
|
/**
|
|
4
4
|
* <p>You aren't authorized to perform the action. Use the Amazon Resource Name (ARN)
|
|
5
5
|
* of an authorized user or IAM role to perform the operation.</p>
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
8
|
-
name: "AccessDeniedException";
|
|
9
|
-
$fault: "client";
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
10
|
Message?: string;
|
|
11
11
|
Code?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
12
16
|
}
|
|
13
17
|
/**
|
|
14
18
|
* <p>The S3 bucket name and file name that identifies the document.</p>
|
|
@@ -163,12 +167,15 @@ export declare enum BlockType {
|
|
|
163
167
|
CELL = "CELL",
|
|
164
168
|
KEY_VALUE_SET = "KEY_VALUE_SET",
|
|
165
169
|
LINE = "LINE",
|
|
170
|
+
MERGED_CELL = "MERGED_CELL",
|
|
166
171
|
PAGE = "PAGE",
|
|
167
172
|
SELECTION_ELEMENT = "SELECTION_ELEMENT",
|
|
168
173
|
TABLE = "TABLE",
|
|
174
|
+
TITLE = "TITLE",
|
|
169
175
|
WORD = "WORD"
|
|
170
176
|
}
|
|
171
177
|
export declare enum EntityType {
|
|
178
|
+
COLUMN_HEADER = "COLUMN_HEADER",
|
|
172
179
|
KEY = "KEY",
|
|
173
180
|
VALUE = "VALUE"
|
|
174
181
|
}
|
|
@@ -265,6 +272,8 @@ export declare namespace Geometry {
|
|
|
265
272
|
export declare enum RelationshipType {
|
|
266
273
|
CHILD = "CHILD",
|
|
267
274
|
COMPLEX_FEATURES = "COMPLEX_FEATURES",
|
|
275
|
+
MERGED_CELL = "MERGED_CELL",
|
|
276
|
+
TITLE = "TITLE",
|
|
268
277
|
VALUE = "VALUE"
|
|
269
278
|
}
|
|
270
279
|
/**
|
|
@@ -555,29 +564,37 @@ export declare namespace AnalyzeDocumentResponse {
|
|
|
555
564
|
* <p>Amazon Textract isn't able to read the document. For more information on the document
|
|
556
565
|
* limits in Amazon Textract, see <a>limits</a>.</p>
|
|
557
566
|
*/
|
|
558
|
-
export
|
|
559
|
-
name: "BadDocumentException";
|
|
560
|
-
$fault: "client";
|
|
567
|
+
export declare class BadDocumentException extends __BaseException {
|
|
568
|
+
readonly name: "BadDocumentException";
|
|
569
|
+
readonly $fault: "client";
|
|
561
570
|
Message?: string;
|
|
562
571
|
Code?: string;
|
|
572
|
+
/**
|
|
573
|
+
* @internal
|
|
574
|
+
*/
|
|
575
|
+
constructor(opts: __ExceptionOptionType<BadDocumentException, __BaseException>);
|
|
563
576
|
}
|
|
564
577
|
/**
|
|
565
578
|
* <p>The document can't be processed because it's too large. The maximum document size for
|
|
566
579
|
* synchronous operations 10 MB. The maximum document size for asynchronous operations is 500
|
|
567
580
|
* MB for PDF files.</p>
|
|
568
581
|
*/
|
|
569
|
-
export
|
|
570
|
-
name: "DocumentTooLargeException";
|
|
571
|
-
$fault: "client";
|
|
582
|
+
export declare class DocumentTooLargeException extends __BaseException {
|
|
583
|
+
readonly name: "DocumentTooLargeException";
|
|
584
|
+
readonly $fault: "client";
|
|
572
585
|
Message?: string;
|
|
573
586
|
Code?: string;
|
|
587
|
+
/**
|
|
588
|
+
* @internal
|
|
589
|
+
*/
|
|
590
|
+
constructor(opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>);
|
|
574
591
|
}
|
|
575
592
|
/**
|
|
576
593
|
* <p>Indicates you have exceeded the maximum number of active human in the loop workflows available</p>
|
|
577
594
|
*/
|
|
578
|
-
export
|
|
579
|
-
name: "HumanLoopQuotaExceededException";
|
|
580
|
-
$fault: "client";
|
|
595
|
+
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
596
|
+
readonly name: "HumanLoopQuotaExceededException";
|
|
597
|
+
readonly $fault: "client";
|
|
581
598
|
/**
|
|
582
599
|
* <p>The resource type.</p>
|
|
583
600
|
*/
|
|
@@ -592,15 +609,23 @@ export interface HumanLoopQuotaExceededException extends __SmithyException, $Met
|
|
|
592
609
|
ServiceCode?: string;
|
|
593
610
|
Message?: string;
|
|
594
611
|
Code?: string;
|
|
612
|
+
/**
|
|
613
|
+
* @internal
|
|
614
|
+
*/
|
|
615
|
+
constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
|
|
595
616
|
}
|
|
596
617
|
/**
|
|
597
618
|
* <p>Amazon Textract experienced a service issue. Try your call again.</p>
|
|
598
619
|
*/
|
|
599
|
-
export
|
|
600
|
-
name: "InternalServerError";
|
|
601
|
-
$fault: "server";
|
|
620
|
+
export declare class InternalServerError extends __BaseException {
|
|
621
|
+
readonly name: "InternalServerError";
|
|
622
|
+
readonly $fault: "server";
|
|
602
623
|
Message?: string;
|
|
603
624
|
Code?: string;
|
|
625
|
+
/**
|
|
626
|
+
* @internal
|
|
627
|
+
*/
|
|
628
|
+
constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
|
|
604
629
|
}
|
|
605
630
|
/**
|
|
606
631
|
* <p>An input parameter violated a constraint. For example, in synchronous operations,
|
|
@@ -609,11 +634,15 @@ export interface InternalServerError extends __SmithyException, $MetadataBearer
|
|
|
609
634
|
* request parameter.
|
|
610
635
|
* Validate your parameter before calling the API operation again.</p>
|
|
611
636
|
*/
|
|
612
|
-
export
|
|
613
|
-
name: "InvalidParameterException";
|
|
614
|
-
$fault: "client";
|
|
637
|
+
export declare class InvalidParameterException extends __BaseException {
|
|
638
|
+
readonly name: "InvalidParameterException";
|
|
639
|
+
readonly $fault: "client";
|
|
615
640
|
Message?: string;
|
|
616
641
|
Code?: string;
|
|
642
|
+
/**
|
|
643
|
+
* @internal
|
|
644
|
+
*/
|
|
645
|
+
constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
|
|
617
646
|
}
|
|
618
647
|
/**
|
|
619
648
|
* <p>Amazon Textract is unable to access the S3 object that's specified in the request.
|
|
@@ -621,40 +650,56 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
621
650
|
* For troubleshooting information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/troubleshooting.html">Troubleshooting Amazon S3</a>
|
|
622
651
|
* </p>
|
|
623
652
|
*/
|
|
624
|
-
export
|
|
625
|
-
name: "InvalidS3ObjectException";
|
|
626
|
-
$fault: "client";
|
|
653
|
+
export declare class InvalidS3ObjectException extends __BaseException {
|
|
654
|
+
readonly name: "InvalidS3ObjectException";
|
|
655
|
+
readonly $fault: "client";
|
|
627
656
|
Message?: string;
|
|
628
657
|
Code?: string;
|
|
658
|
+
/**
|
|
659
|
+
* @internal
|
|
660
|
+
*/
|
|
661
|
+
constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
|
|
629
662
|
}
|
|
630
663
|
/**
|
|
631
664
|
* <p>The number of requests exceeded your throughput limit. If you want to increase this limit,
|
|
632
665
|
* contact Amazon Textract.</p>
|
|
633
666
|
*/
|
|
634
|
-
export
|
|
635
|
-
name: "ProvisionedThroughputExceededException";
|
|
636
|
-
$fault: "client";
|
|
667
|
+
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
668
|
+
readonly name: "ProvisionedThroughputExceededException";
|
|
669
|
+
readonly $fault: "client";
|
|
637
670
|
Message?: string;
|
|
638
671
|
Code?: string;
|
|
672
|
+
/**
|
|
673
|
+
* @internal
|
|
674
|
+
*/
|
|
675
|
+
constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
|
|
639
676
|
}
|
|
640
677
|
/**
|
|
641
678
|
* <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
|
|
642
679
|
*/
|
|
643
|
-
export
|
|
644
|
-
name: "ThrottlingException";
|
|
645
|
-
$fault: "server";
|
|
680
|
+
export declare class ThrottlingException extends __BaseException {
|
|
681
|
+
readonly name: "ThrottlingException";
|
|
682
|
+
readonly $fault: "server";
|
|
646
683
|
Message?: string;
|
|
647
684
|
Code?: string;
|
|
685
|
+
/**
|
|
686
|
+
* @internal
|
|
687
|
+
*/
|
|
688
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
648
689
|
}
|
|
649
690
|
/**
|
|
650
691
|
* <p>The format of the input document isn't supported. Documents for synchronous operations can be in
|
|
651
692
|
* PNG or JPEG format only. Documents for asynchronous operations can be in PDF format.</p>
|
|
652
693
|
*/
|
|
653
|
-
export
|
|
654
|
-
name: "UnsupportedDocumentException";
|
|
655
|
-
$fault: "client";
|
|
694
|
+
export declare class UnsupportedDocumentException extends __BaseException {
|
|
695
|
+
readonly name: "UnsupportedDocumentException";
|
|
696
|
+
readonly $fault: "client";
|
|
656
697
|
Message?: string;
|
|
657
698
|
Code?: string;
|
|
699
|
+
/**
|
|
700
|
+
* @internal
|
|
701
|
+
*/
|
|
702
|
+
constructor(opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>);
|
|
658
703
|
}
|
|
659
704
|
export interface AnalyzeExpenseRequest {
|
|
660
705
|
/**
|
|
@@ -1097,21 +1142,29 @@ export declare namespace GetDocumentAnalysisResponse {
|
|
|
1097
1142
|
* <p>An invalid job identifier was passed to <a>GetDocumentAnalysis</a> or to
|
|
1098
1143
|
* <a>GetDocumentAnalysis</a>.</p>
|
|
1099
1144
|
*/
|
|
1100
|
-
export
|
|
1101
|
-
name: "InvalidJobIdException";
|
|
1102
|
-
$fault: "client";
|
|
1145
|
+
export declare class InvalidJobIdException extends __BaseException {
|
|
1146
|
+
readonly name: "InvalidJobIdException";
|
|
1147
|
+
readonly $fault: "client";
|
|
1103
1148
|
Message?: string;
|
|
1104
1149
|
Code?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* @internal
|
|
1152
|
+
*/
|
|
1153
|
+
constructor(opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>);
|
|
1105
1154
|
}
|
|
1106
1155
|
/**
|
|
1107
1156
|
* <p> Indicates you do not have decrypt permissions with the KMS key entered, or the KMS key
|
|
1108
1157
|
* was entered incorrectly. </p>
|
|
1109
1158
|
*/
|
|
1110
|
-
export
|
|
1111
|
-
name: "InvalidKMSKeyException";
|
|
1112
|
-
$fault: "client";
|
|
1159
|
+
export declare class InvalidKMSKeyException extends __BaseException {
|
|
1160
|
+
readonly name: "InvalidKMSKeyException";
|
|
1161
|
+
readonly $fault: "client";
|
|
1113
1162
|
Message?: string;
|
|
1114
1163
|
Code?: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* @internal
|
|
1166
|
+
*/
|
|
1167
|
+
constructor(opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>);
|
|
1115
1168
|
}
|
|
1116
1169
|
export interface GetDocumentTextDetectionRequest {
|
|
1117
1170
|
/**
|
|
@@ -1244,11 +1297,15 @@ export declare namespace GetExpenseAnalysisResponse {
|
|
|
1244
1297
|
* least one of the other input parameters is different from the previous call to the
|
|
1245
1298
|
* operation. </p>
|
|
1246
1299
|
*/
|
|
1247
|
-
export
|
|
1248
|
-
name: "IdempotentParameterMismatchException";
|
|
1249
|
-
$fault: "client";
|
|
1300
|
+
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
1301
|
+
readonly name: "IdempotentParameterMismatchException";
|
|
1302
|
+
readonly $fault: "client";
|
|
1250
1303
|
Message?: string;
|
|
1251
1304
|
Code?: string;
|
|
1305
|
+
/**
|
|
1306
|
+
* @internal
|
|
1307
|
+
*/
|
|
1308
|
+
constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
|
|
1252
1309
|
}
|
|
1253
1310
|
/**
|
|
1254
1311
|
* <p>An Amazon Textract service limit was exceeded. For example, if you start too many
|
|
@@ -1257,11 +1314,15 @@ export interface IdempotentParameterMismatchException extends __SmithyException,
|
|
|
1257
1314
|
* exception (HTTP status code: 400) until the number of concurrently running jobs is below
|
|
1258
1315
|
* the Amazon Textract service limit. </p>
|
|
1259
1316
|
*/
|
|
1260
|
-
export
|
|
1261
|
-
name: "LimitExceededException";
|
|
1262
|
-
$fault: "client";
|
|
1317
|
+
export declare class LimitExceededException extends __BaseException {
|
|
1318
|
+
readonly name: "LimitExceededException";
|
|
1319
|
+
readonly $fault: "client";
|
|
1263
1320
|
Message?: string;
|
|
1264
1321
|
Code?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* @internal
|
|
1324
|
+
*/
|
|
1325
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
1265
1326
|
}
|
|
1266
1327
|
/**
|
|
1267
1328
|
* <p>The Amazon Simple Notification Service (Amazon SNS) topic to which Amazon Textract publishes the completion status of
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
3
|
+
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
4
|
+
import { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
|
|
5
|
+
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
6
|
+
import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
7
|
+
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
8
|
+
import { GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput } from "./commands/GetExpenseAnalysisCommand";
|
|
9
|
+
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
10
|
+
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
11
|
+
import { StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput } from "./commands/StartExpenseAnalysisCommand";
|
|
12
|
+
import { TextractClient } from "./TextractClient";
|
|
13
|
+
|
|
14
|
+
export declare class Textract extends TextractClient {
|
|
15
|
+
|
|
16
|
+
analyzeDocument(args: AnalyzeDocumentCommandInput, options?: __HttpHandlerOptions): Promise<AnalyzeDocumentCommandOutput>;
|
|
17
|
+
analyzeDocument(args: AnalyzeDocumentCommandInput, cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void): void;
|
|
18
|
+
analyzeDocument(args: AnalyzeDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void): void;
|
|
19
|
+
|
|
20
|
+
analyzeExpense(args: AnalyzeExpenseCommandInput, options?: __HttpHandlerOptions): Promise<AnalyzeExpenseCommandOutput>;
|
|
21
|
+
analyzeExpense(args: AnalyzeExpenseCommandInput, cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void): void;
|
|
22
|
+
analyzeExpense(args: AnalyzeExpenseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void): void;
|
|
23
|
+
|
|
24
|
+
analyzeID(args: AnalyzeIDCommandInput, options?: __HttpHandlerOptions): Promise<AnalyzeIDCommandOutput>;
|
|
25
|
+
analyzeID(args: AnalyzeIDCommandInput, cb: (err: any, data?: AnalyzeIDCommandOutput) => void): void;
|
|
26
|
+
analyzeID(args: AnalyzeIDCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AnalyzeIDCommandOutput) => void): void;
|
|
27
|
+
|
|
28
|
+
detectDocumentText(args: DetectDocumentTextCommandInput, options?: __HttpHandlerOptions): Promise<DetectDocumentTextCommandOutput>;
|
|
29
|
+
detectDocumentText(args: DetectDocumentTextCommandInput, cb: (err: any, data?: DetectDocumentTextCommandOutput) => void): void;
|
|
30
|
+
detectDocumentText(args: DetectDocumentTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetectDocumentTextCommandOutput) => void): void;
|
|
31
|
+
|
|
32
|
+
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentAnalysisCommandOutput>;
|
|
33
|
+
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void): void;
|
|
34
|
+
getDocumentAnalysis(args: GetDocumentAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void): void;
|
|
35
|
+
|
|
36
|
+
getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentTextDetectionCommandOutput>;
|
|
37
|
+
getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void): void;
|
|
38
|
+
getDocumentTextDetection(args: GetDocumentTextDetectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void): void;
|
|
39
|
+
|
|
40
|
+
getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<GetExpenseAnalysisCommandOutput>;
|
|
41
|
+
getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void): void;
|
|
42
|
+
getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void): void;
|
|
43
|
+
|
|
44
|
+
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<StartDocumentAnalysisCommandOutput>;
|
|
45
|
+
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void): void;
|
|
46
|
+
startDocumentAnalysis(args: StartDocumentAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void): void;
|
|
47
|
+
|
|
48
|
+
startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, options?: __HttpHandlerOptions): Promise<StartDocumentTextDetectionCommandOutput>;
|
|
49
|
+
startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void): void;
|
|
50
|
+
startDocumentTextDetection(args: StartDocumentTextDetectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void): void;
|
|
51
|
+
|
|
52
|
+
startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<StartExpenseAnalysisCommandOutput>;
|
|
53
|
+
startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void): void;
|
|
54
|
+
startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void): void;
|
|
55
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
10
|
+
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
11
|
+
import { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
|
|
12
|
+
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
13
|
+
import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
14
|
+
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
15
|
+
import { GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput } from "./commands/GetExpenseAnalysisCommand";
|
|
16
|
+
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
17
|
+
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
18
|
+
import { StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput } from "./commands/StartExpenseAnalysisCommand";
|
|
19
|
+
export declare type ServiceInputTypes = AnalyzeDocumentCommandInput | AnalyzeExpenseCommandInput | AnalyzeIDCommandInput | DetectDocumentTextCommandInput | GetDocumentAnalysisCommandInput | GetDocumentTextDetectionCommandInput | GetExpenseAnalysisCommandInput | StartDocumentAnalysisCommandInput | StartDocumentTextDetectionCommandInput | StartExpenseAnalysisCommandInput;
|
|
20
|
+
export declare type ServiceOutputTypes = AnalyzeDocumentCommandOutput | AnalyzeExpenseCommandOutput | AnalyzeIDCommandOutput | DetectDocumentTextCommandOutput | GetDocumentAnalysisCommandOutput | GetDocumentTextDetectionCommandOutput | GetExpenseAnalysisCommandOutput | StartDocumentAnalysisCommandOutput | StartDocumentTextDetectionCommandOutput | StartExpenseAnalysisCommandOutput;
|
|
21
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
22
|
+
|
|
23
|
+
requestHandler?: __HttpHandler;
|
|
24
|
+
|
|
25
|
+
sha256?: __HashConstructor;
|
|
26
|
+
|
|
27
|
+
urlParser?: __UrlParser;
|
|
28
|
+
|
|
29
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
30
|
+
|
|
31
|
+
streamCollector?: __StreamCollector;
|
|
32
|
+
|
|
33
|
+
base64Decoder?: __Decoder;
|
|
34
|
+
|
|
35
|
+
base64Encoder?: __Encoder;
|
|
36
|
+
|
|
37
|
+
utf8Decoder?: __Decoder;
|
|
38
|
+
|
|
39
|
+
utf8Encoder?: __Encoder;
|
|
40
|
+
|
|
41
|
+
runtime?: string;
|
|
42
|
+
|
|
43
|
+
disableHostPrefix?: boolean;
|
|
44
|
+
|
|
45
|
+
maxAttempts?: number | __Provider<number>;
|
|
46
|
+
|
|
47
|
+
retryMode?: string | __Provider<string>;
|
|
48
|
+
|
|
49
|
+
logger?: __Logger;
|
|
50
|
+
|
|
51
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
52
|
+
|
|
53
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
54
|
+
|
|
55
|
+
serviceId?: string;
|
|
56
|
+
|
|
57
|
+
region?: string | __Provider<string>;
|
|
58
|
+
|
|
59
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
60
|
+
|
|
61
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
62
|
+
|
|
63
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
64
|
+
|
|
65
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
66
|
+
}
|
|
67
|
+
declare type TextractClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
68
|
+
|
|
69
|
+
export interface TextractClientConfig extends TextractClientConfigType {
|
|
70
|
+
}
|
|
71
|
+
declare type TextractClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
72
|
+
|
|
73
|
+
export interface TextractClientResolvedConfig extends TextractClientResolvedConfigType {
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export declare class TextractClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig> {
|
|
77
|
+
|
|
78
|
+
readonly config: TextractClientResolvedConfig;
|
|
79
|
+
constructor(configuration: TextractClientConfig);
|
|
80
|
+
|
|
81
|
+
destroy(): void;
|
|
82
|
+
}
|
|
83
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AnalyzeDocumentRequest, AnalyzeDocumentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface AnalyzeDocumentCommandInput extends AnalyzeDocumentRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class AnalyzeDocumentCommand extends $Command<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: AnalyzeDocumentCommandInput;
|
|
12
|
+
constructor(input: AnalyzeDocumentCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AnalyzeExpenseRequest, AnalyzeExpenseResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface AnalyzeExpenseCommandInput extends AnalyzeExpenseRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class AnalyzeExpenseCommand extends $Command<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: AnalyzeExpenseCommandInput;
|
|
12
|
+
constructor(input: AnalyzeExpenseCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AnalyzeIDRequest, AnalyzeIDResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface AnalyzeIDCommandInput extends AnalyzeIDRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class AnalyzeIDCommand extends $Command<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: AnalyzeIDCommandInput;
|
|
12
|
+
constructor(input: AnalyzeIDCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AnalyzeIDCommandInput, AnalyzeIDCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DetectDocumentTextRequest, DetectDocumentTextResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface DetectDocumentTextCommandInput extends DetectDocumentTextRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DetectDocumentTextCommandOutput extends DetectDocumentTextResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class DetectDocumentTextCommand extends $Command<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: DetectDocumentTextCommandInput;
|
|
12
|
+
constructor(input: DetectDocumentTextCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetDocumentAnalysisRequest, GetDocumentAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface GetDocumentAnalysisCommandInput extends GetDocumentAnalysisRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetDocumentAnalysisCommand extends $Command<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: GetDocumentAnalysisCommandInput;
|
|
12
|
+
constructor(input: GetDocumentAnalysisCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetDocumentTextDetectionRequest, GetDocumentTextDetectionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface GetDocumentTextDetectionCommandInput extends GetDocumentTextDetectionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDetectionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetDocumentTextDetectionCommand extends $Command<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: GetDocumentTextDetectionCommandInput;
|
|
12
|
+
constructor(input: GetDocumentTextDetectionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetExpenseAnalysisRequest, GetExpenseAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface GetExpenseAnalysisCommandInput extends GetExpenseAnalysisRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetExpenseAnalysisCommand extends $Command<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: GetExpenseAnalysisCommandInput;
|
|
12
|
+
constructor(input: GetExpenseAnalysisCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartDocumentAnalysisRequest, StartDocumentAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface StartDocumentAnalysisCommandInput extends StartDocumentAnalysisRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysisResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StartDocumentAnalysisCommand extends $Command<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: StartDocumentAnalysisCommandInput;
|
|
12
|
+
constructor(input: StartDocumentAnalysisCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartDocumentTextDetectionRequest, StartDocumentTextDetectionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface StartDocumentTextDetectionCommandInput extends StartDocumentTextDetectionRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTextDetectionResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StartDocumentTextDetectionCommand extends $Command<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: StartDocumentTextDetectionCommandInput;
|
|
12
|
+
constructor(input: StartDocumentTextDetectionCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartExpenseAnalysisRequest, StartExpenseAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
|
+
export interface StartExpenseAnalysisCommandInput extends StartExpenseAnalysisRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class StartExpenseAnalysisCommand extends $Command<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
11
|
+
readonly input: StartExpenseAnalysisCommandInput;
|
|
12
|
+
constructor(input: StartExpenseAnalysisCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./AnalyzeDocumentCommand";
|
|
2
|
+
export * from "./AnalyzeExpenseCommand";
|
|
3
|
+
export * from "./AnalyzeIDCommand";
|
|
4
|
+
export * from "./DetectDocumentTextCommand";
|
|
5
|
+
export * from "./GetDocumentAnalysisCommand";
|
|
6
|
+
export * from "./GetDocumentTextDetectionCommand";
|
|
7
|
+
export * from "./GetExpenseAnalysisCommand";
|
|
8
|
+
export * from "./StartDocumentAnalysisCommand";
|
|
9
|
+
export * from "./StartDocumentTextDetectionCommand";
|
|
10
|
+
export * from "./StartExpenseAnalysisCommand";
|