@aws-sdk/client-textract 3.325.0 → 3.326.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-types/commands/AnalyzeDocumentCommand.d.ts +63 -0
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +170 -0
- package/dist-types/commands/AnalyzeIDCommand.d.ts +81 -0
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +56 -0
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +67 -0
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +67 -0
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +182 -0
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +261 -0
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +47 -0
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +6 -0
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +6 -0
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +6 -0
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +6 -0
- package/package.json +3 -3
|
@@ -107,6 +107,67 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
|
|
|
107
107
|
* };
|
|
108
108
|
* const command = new AnalyzeDocumentCommand(input);
|
|
109
109
|
* const response = await client.send(command);
|
|
110
|
+
* // { // AnalyzeDocumentResponse
|
|
111
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
112
|
+
* // Pages: Number("int"),
|
|
113
|
+
* // },
|
|
114
|
+
* // Blocks: [ // BlockList
|
|
115
|
+
* // { // Block
|
|
116
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
117
|
+
* // Confidence: Number("float"),
|
|
118
|
+
* // Text: "STRING_VALUE",
|
|
119
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
120
|
+
* // RowIndex: Number("int"),
|
|
121
|
+
* // ColumnIndex: Number("int"),
|
|
122
|
+
* // RowSpan: Number("int"),
|
|
123
|
+
* // ColumnSpan: Number("int"),
|
|
124
|
+
* // Geometry: { // Geometry
|
|
125
|
+
* // BoundingBox: { // BoundingBox
|
|
126
|
+
* // Width: Number("float"),
|
|
127
|
+
* // Height: Number("float"),
|
|
128
|
+
* // Left: Number("float"),
|
|
129
|
+
* // Top: Number("float"),
|
|
130
|
+
* // },
|
|
131
|
+
* // Polygon: [ // Polygon
|
|
132
|
+
* // { // Point
|
|
133
|
+
* // X: Number("float"),
|
|
134
|
+
* // Y: Number("float"),
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // },
|
|
138
|
+
* // Id: "STRING_VALUE",
|
|
139
|
+
* // Relationships: [ // RelationshipList
|
|
140
|
+
* // { // Relationship
|
|
141
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
142
|
+
* // Ids: [ // IdList
|
|
143
|
+
* // "STRING_VALUE",
|
|
144
|
+
* // ],
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // EntityTypes: [ // EntityTypes
|
|
148
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
149
|
+
* // ],
|
|
150
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
151
|
+
* // Page: Number("int"),
|
|
152
|
+
* // Query: { // Query
|
|
153
|
+
* // Text: "STRING_VALUE", // required
|
|
154
|
+
* // Alias: "STRING_VALUE",
|
|
155
|
+
* // Pages: [ // QueryPages
|
|
156
|
+
* // "STRING_VALUE",
|
|
157
|
+
* // ],
|
|
158
|
+
* // },
|
|
159
|
+
* // },
|
|
160
|
+
* // ],
|
|
161
|
+
* // HumanLoopActivationOutput: { // HumanLoopActivationOutput
|
|
162
|
+
* // HumanLoopArn: "STRING_VALUE",
|
|
163
|
+
* // HumanLoopActivationReasons: [ // HumanLoopActivationReasons
|
|
164
|
+
* // "STRING_VALUE",
|
|
165
|
+
* // ],
|
|
166
|
+
* // HumanLoopActivationConditionsEvaluationResults: "STRING_VALUE",
|
|
167
|
+
* // },
|
|
168
|
+
* // AnalyzeDocumentModelVersion: "STRING_VALUE",
|
|
169
|
+
* // };
|
|
170
|
+
*
|
|
110
171
|
* ```
|
|
111
172
|
*
|
|
112
173
|
* @param AnalyzeDocumentCommandInput - {@link AnalyzeDocumentCommandInput}
|
|
@@ -158,6 +219,8 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
|
|
|
158
219
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
159
220
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
160
221
|
*
|
|
222
|
+
* @throws {@link TextractServiceException}
|
|
223
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
161
224
|
*
|
|
162
225
|
*/
|
|
163
226
|
export declare class AnalyzeDocumentCommand extends $Command<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -55,6 +55,174 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
|
|
|
55
55
|
* };
|
|
56
56
|
* const command = new AnalyzeExpenseCommand(input);
|
|
57
57
|
* const response = await client.send(command);
|
|
58
|
+
* // { // AnalyzeExpenseResponse
|
|
59
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
60
|
+
* // Pages: Number("int"),
|
|
61
|
+
* // },
|
|
62
|
+
* // ExpenseDocuments: [ // ExpenseDocumentList
|
|
63
|
+
* // { // ExpenseDocument
|
|
64
|
+
* // ExpenseIndex: Number("int"),
|
|
65
|
+
* // SummaryFields: [ // ExpenseFieldList
|
|
66
|
+
* // { // ExpenseField
|
|
67
|
+
* // Type: { // ExpenseType
|
|
68
|
+
* // Text: "STRING_VALUE",
|
|
69
|
+
* // Confidence: Number("float"),
|
|
70
|
+
* // },
|
|
71
|
+
* // LabelDetection: { // ExpenseDetection
|
|
72
|
+
* // Text: "STRING_VALUE",
|
|
73
|
+
* // Geometry: { // Geometry
|
|
74
|
+
* // BoundingBox: { // BoundingBox
|
|
75
|
+
* // Width: Number("float"),
|
|
76
|
+
* // Height: Number("float"),
|
|
77
|
+
* // Left: Number("float"),
|
|
78
|
+
* // Top: Number("float"),
|
|
79
|
+
* // },
|
|
80
|
+
* // Polygon: [ // Polygon
|
|
81
|
+
* // { // Point
|
|
82
|
+
* // X: Number("float"),
|
|
83
|
+
* // Y: Number("float"),
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // Confidence: Number("float"),
|
|
88
|
+
* // },
|
|
89
|
+
* // ValueDetection: {
|
|
90
|
+
* // Text: "STRING_VALUE",
|
|
91
|
+
* // Geometry: {
|
|
92
|
+
* // BoundingBox: {
|
|
93
|
+
* // Width: Number("float"),
|
|
94
|
+
* // Height: Number("float"),
|
|
95
|
+
* // Left: Number("float"),
|
|
96
|
+
* // Top: Number("float"),
|
|
97
|
+
* // },
|
|
98
|
+
* // Polygon: [
|
|
99
|
+
* // {
|
|
100
|
+
* // X: Number("float"),
|
|
101
|
+
* // Y: Number("float"),
|
|
102
|
+
* // },
|
|
103
|
+
* // ],
|
|
104
|
+
* // },
|
|
105
|
+
* // Confidence: Number("float"),
|
|
106
|
+
* // },
|
|
107
|
+
* // PageNumber: Number("int"),
|
|
108
|
+
* // Currency: { // ExpenseCurrency
|
|
109
|
+
* // Code: "STRING_VALUE",
|
|
110
|
+
* // Confidence: Number("float"),
|
|
111
|
+
* // },
|
|
112
|
+
* // GroupProperties: [ // ExpenseGroupPropertyList
|
|
113
|
+
* // { // ExpenseGroupProperty
|
|
114
|
+
* // Types: [ // StringList
|
|
115
|
+
* // "STRING_VALUE",
|
|
116
|
+
* // ],
|
|
117
|
+
* // Id: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // LineItemGroups: [ // LineItemGroupList
|
|
123
|
+
* // { // LineItemGroup
|
|
124
|
+
* // LineItemGroupIndex: Number("int"),
|
|
125
|
+
* // LineItems: [ // LineItemList
|
|
126
|
+
* // { // LineItemFields
|
|
127
|
+
* // LineItemExpenseFields: [
|
|
128
|
+
* // {
|
|
129
|
+
* // Type: {
|
|
130
|
+
* // Text: "STRING_VALUE",
|
|
131
|
+
* // Confidence: Number("float"),
|
|
132
|
+
* // },
|
|
133
|
+
* // LabelDetection: {
|
|
134
|
+
* // Text: "STRING_VALUE",
|
|
135
|
+
* // Geometry: {
|
|
136
|
+
* // BoundingBox: {
|
|
137
|
+
* // Width: Number("float"),
|
|
138
|
+
* // Height: Number("float"),
|
|
139
|
+
* // Left: Number("float"),
|
|
140
|
+
* // Top: Number("float"),
|
|
141
|
+
* // },
|
|
142
|
+
* // Polygon: [
|
|
143
|
+
* // {
|
|
144
|
+
* // X: Number("float"),
|
|
145
|
+
* // Y: Number("float"),
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // },
|
|
149
|
+
* // Confidence: Number("float"),
|
|
150
|
+
* // },
|
|
151
|
+
* // ValueDetection: {
|
|
152
|
+
* // Text: "STRING_VALUE",
|
|
153
|
+
* // Geometry: {
|
|
154
|
+
* // BoundingBox: {
|
|
155
|
+
* // Width: Number("float"),
|
|
156
|
+
* // Height: Number("float"),
|
|
157
|
+
* // Left: Number("float"),
|
|
158
|
+
* // Top: Number("float"),
|
|
159
|
+
* // },
|
|
160
|
+
* // Polygon: [
|
|
161
|
+
* // {
|
|
162
|
+
* // X: Number("float"),
|
|
163
|
+
* // Y: Number("float"),
|
|
164
|
+
* // },
|
|
165
|
+
* // ],
|
|
166
|
+
* // },
|
|
167
|
+
* // Confidence: Number("float"),
|
|
168
|
+
* // },
|
|
169
|
+
* // PageNumber: Number("int"),
|
|
170
|
+
* // Currency: {
|
|
171
|
+
* // Code: "STRING_VALUE",
|
|
172
|
+
* // Confidence: Number("float"),
|
|
173
|
+
* // },
|
|
174
|
+
* // GroupProperties: [
|
|
175
|
+
* // {
|
|
176
|
+
* // Types: [
|
|
177
|
+
* // "STRING_VALUE",
|
|
178
|
+
* // ],
|
|
179
|
+
* // Id: "STRING_VALUE",
|
|
180
|
+
* // },
|
|
181
|
+
* // ],
|
|
182
|
+
* // },
|
|
183
|
+
* // ],
|
|
184
|
+
* // },
|
|
185
|
+
* // ],
|
|
186
|
+
* // },
|
|
187
|
+
* // ],
|
|
188
|
+
* // Blocks: [ // BlockList
|
|
189
|
+
* // { // Block
|
|
190
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
191
|
+
* // Confidence: Number("float"),
|
|
192
|
+
* // Text: "STRING_VALUE",
|
|
193
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
194
|
+
* // RowIndex: Number("int"),
|
|
195
|
+
* // ColumnIndex: Number("int"),
|
|
196
|
+
* // RowSpan: Number("int"),
|
|
197
|
+
* // ColumnSpan: Number("int"),
|
|
198
|
+
* // Geometry: "<Geometry>",
|
|
199
|
+
* // Id: "STRING_VALUE",
|
|
200
|
+
* // Relationships: [ // RelationshipList
|
|
201
|
+
* // { // Relationship
|
|
202
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
203
|
+
* // Ids: [ // IdList
|
|
204
|
+
* // "STRING_VALUE",
|
|
205
|
+
* // ],
|
|
206
|
+
* // },
|
|
207
|
+
* // ],
|
|
208
|
+
* // EntityTypes: [ // EntityTypes
|
|
209
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
210
|
+
* // ],
|
|
211
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
212
|
+
* // Page: Number("int"),
|
|
213
|
+
* // Query: { // Query
|
|
214
|
+
* // Text: "STRING_VALUE", // required
|
|
215
|
+
* // Alias: "STRING_VALUE",
|
|
216
|
+
* // Pages: [ // QueryPages
|
|
217
|
+
* // "STRING_VALUE",
|
|
218
|
+
* // ],
|
|
219
|
+
* // },
|
|
220
|
+
* // },
|
|
221
|
+
* // ],
|
|
222
|
+
* // },
|
|
223
|
+
* // ],
|
|
224
|
+
* // };
|
|
225
|
+
*
|
|
58
226
|
* ```
|
|
59
227
|
*
|
|
60
228
|
* @param AnalyzeExpenseCommandInput - {@link AnalyzeExpenseCommandInput}
|
|
@@ -103,6 +271,8 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
|
|
|
103
271
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
104
272
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
105
273
|
*
|
|
274
|
+
* @throws {@link TextractServiceException}
|
|
275
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
106
276
|
*
|
|
107
277
|
*/
|
|
108
278
|
export declare class AnalyzeExpenseCommand extends $Command<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -43,6 +43,85 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new AnalyzeIDCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // AnalyzeIDResponse
|
|
47
|
+
* // IdentityDocuments: [ // IdentityDocumentList
|
|
48
|
+
* // { // IdentityDocument
|
|
49
|
+
* // DocumentIndex: Number("int"),
|
|
50
|
+
* // IdentityDocumentFields: [ // IdentityDocumentFieldList
|
|
51
|
+
* // { // IdentityDocumentField
|
|
52
|
+
* // Type: { // AnalyzeIDDetections
|
|
53
|
+
* // Text: "STRING_VALUE", // required
|
|
54
|
+
* // NormalizedValue: { // NormalizedValue
|
|
55
|
+
* // Value: "STRING_VALUE",
|
|
56
|
+
* // ValueType: "DATE",
|
|
57
|
+
* // },
|
|
58
|
+
* // Confidence: Number("float"),
|
|
59
|
+
* // },
|
|
60
|
+
* // ValueDetection: {
|
|
61
|
+
* // Text: "STRING_VALUE", // required
|
|
62
|
+
* // NormalizedValue: {
|
|
63
|
+
* // Value: "STRING_VALUE",
|
|
64
|
+
* // ValueType: "DATE",
|
|
65
|
+
* // },
|
|
66
|
+
* // Confidence: Number("float"),
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // Blocks: [ // BlockList
|
|
71
|
+
* // { // Block
|
|
72
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
73
|
+
* // Confidence: Number("float"),
|
|
74
|
+
* // Text: "STRING_VALUE",
|
|
75
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
76
|
+
* // RowIndex: Number("int"),
|
|
77
|
+
* // ColumnIndex: Number("int"),
|
|
78
|
+
* // RowSpan: Number("int"),
|
|
79
|
+
* // ColumnSpan: Number("int"),
|
|
80
|
+
* // Geometry: { // Geometry
|
|
81
|
+
* // BoundingBox: { // BoundingBox
|
|
82
|
+
* // Width: Number("float"),
|
|
83
|
+
* // Height: Number("float"),
|
|
84
|
+
* // Left: Number("float"),
|
|
85
|
+
* // Top: Number("float"),
|
|
86
|
+
* // },
|
|
87
|
+
* // Polygon: [ // Polygon
|
|
88
|
+
* // { // Point
|
|
89
|
+
* // X: Number("float"),
|
|
90
|
+
* // Y: Number("float"),
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
94
|
+
* // Id: "STRING_VALUE",
|
|
95
|
+
* // Relationships: [ // RelationshipList
|
|
96
|
+
* // { // Relationship
|
|
97
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
98
|
+
* // Ids: [ // IdList
|
|
99
|
+
* // "STRING_VALUE",
|
|
100
|
+
* // ],
|
|
101
|
+
* // },
|
|
102
|
+
* // ],
|
|
103
|
+
* // EntityTypes: [ // EntityTypes
|
|
104
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
107
|
+
* // Page: Number("int"),
|
|
108
|
+
* // Query: { // Query
|
|
109
|
+
* // Text: "STRING_VALUE", // required
|
|
110
|
+
* // Alias: "STRING_VALUE",
|
|
111
|
+
* // Pages: [ // QueryPages
|
|
112
|
+
* // "STRING_VALUE",
|
|
113
|
+
* // ],
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // },
|
|
118
|
+
* // ],
|
|
119
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
120
|
+
* // Pages: Number("int"),
|
|
121
|
+
* // },
|
|
122
|
+
* // AnalyzeIDModelVersion: "STRING_VALUE",
|
|
123
|
+
* // };
|
|
124
|
+
*
|
|
46
125
|
* ```
|
|
47
126
|
*
|
|
48
127
|
* @param AnalyzeIDCommandInput - {@link AnalyzeIDCommandInput}
|
|
@@ -91,6 +170,8 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
|
|
|
91
170
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
92
171
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
93
172
|
*
|
|
173
|
+
* @throws {@link TextractServiceException}
|
|
174
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
94
175
|
*
|
|
95
176
|
*/
|
|
96
177
|
export declare class AnalyzeIDCommand extends $Command<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -48,6 +48,60 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new DetectDocumentTextCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // DetectDocumentTextResponse
|
|
52
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
53
|
+
* // Pages: Number("int"),
|
|
54
|
+
* // },
|
|
55
|
+
* // Blocks: [ // BlockList
|
|
56
|
+
* // { // Block
|
|
57
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
58
|
+
* // Confidence: Number("float"),
|
|
59
|
+
* // Text: "STRING_VALUE",
|
|
60
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
61
|
+
* // RowIndex: Number("int"),
|
|
62
|
+
* // ColumnIndex: Number("int"),
|
|
63
|
+
* // RowSpan: Number("int"),
|
|
64
|
+
* // ColumnSpan: Number("int"),
|
|
65
|
+
* // Geometry: { // Geometry
|
|
66
|
+
* // BoundingBox: { // BoundingBox
|
|
67
|
+
* // Width: Number("float"),
|
|
68
|
+
* // Height: Number("float"),
|
|
69
|
+
* // Left: Number("float"),
|
|
70
|
+
* // Top: Number("float"),
|
|
71
|
+
* // },
|
|
72
|
+
* // Polygon: [ // Polygon
|
|
73
|
+
* // { // Point
|
|
74
|
+
* // X: Number("float"),
|
|
75
|
+
* // Y: Number("float"),
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // Id: "STRING_VALUE",
|
|
80
|
+
* // Relationships: [ // RelationshipList
|
|
81
|
+
* // { // Relationship
|
|
82
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
83
|
+
* // Ids: [ // IdList
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // EntityTypes: [ // EntityTypes
|
|
89
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
90
|
+
* // ],
|
|
91
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
92
|
+
* // Page: Number("int"),
|
|
93
|
+
* // Query: { // Query
|
|
94
|
+
* // Text: "STRING_VALUE", // required
|
|
95
|
+
* // Alias: "STRING_VALUE",
|
|
96
|
+
* // Pages: [ // QueryPages
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // DetectDocumentTextModelVersion: "STRING_VALUE",
|
|
103
|
+
* // };
|
|
104
|
+
*
|
|
51
105
|
* ```
|
|
52
106
|
*
|
|
53
107
|
* @param DetectDocumentTextCommandInput - {@link DetectDocumentTextCommandInput}
|
|
@@ -96,6 +150,8 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
|
|
|
96
150
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
97
151
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
98
152
|
*
|
|
153
|
+
* @throws {@link TextractServiceException}
|
|
154
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
99
155
|
*
|
|
100
156
|
*/
|
|
101
157
|
export declare class DetectDocumentTextCommand extends $Command<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -93,6 +93,71 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
|
|
|
93
93
|
* };
|
|
94
94
|
* const command = new GetDocumentAnalysisCommand(input);
|
|
95
95
|
* const response = await client.send(command);
|
|
96
|
+
* // { // GetDocumentAnalysisResponse
|
|
97
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
98
|
+
* // Pages: Number("int"),
|
|
99
|
+
* // },
|
|
100
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "PARTIAL_SUCCESS",
|
|
101
|
+
* // NextToken: "STRING_VALUE",
|
|
102
|
+
* // Blocks: [ // BlockList
|
|
103
|
+
* // { // Block
|
|
104
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
105
|
+
* // Confidence: Number("float"),
|
|
106
|
+
* // Text: "STRING_VALUE",
|
|
107
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
108
|
+
* // RowIndex: Number("int"),
|
|
109
|
+
* // ColumnIndex: Number("int"),
|
|
110
|
+
* // RowSpan: Number("int"),
|
|
111
|
+
* // ColumnSpan: Number("int"),
|
|
112
|
+
* // Geometry: { // Geometry
|
|
113
|
+
* // BoundingBox: { // BoundingBox
|
|
114
|
+
* // Width: Number("float"),
|
|
115
|
+
* // Height: Number("float"),
|
|
116
|
+
* // Left: Number("float"),
|
|
117
|
+
* // Top: Number("float"),
|
|
118
|
+
* // },
|
|
119
|
+
* // Polygon: [ // Polygon
|
|
120
|
+
* // { // Point
|
|
121
|
+
* // X: Number("float"),
|
|
122
|
+
* // Y: Number("float"),
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // },
|
|
126
|
+
* // Id: "STRING_VALUE",
|
|
127
|
+
* // Relationships: [ // RelationshipList
|
|
128
|
+
* // { // Relationship
|
|
129
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
130
|
+
* // Ids: [ // IdList
|
|
131
|
+
* // "STRING_VALUE",
|
|
132
|
+
* // ],
|
|
133
|
+
* // },
|
|
134
|
+
* // ],
|
|
135
|
+
* // EntityTypes: [ // EntityTypes
|
|
136
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
137
|
+
* // ],
|
|
138
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
139
|
+
* // Page: Number("int"),
|
|
140
|
+
* // Query: { // Query
|
|
141
|
+
* // Text: "STRING_VALUE", // required
|
|
142
|
+
* // Alias: "STRING_VALUE",
|
|
143
|
+
* // Pages: [ // QueryPages
|
|
144
|
+
* // "STRING_VALUE",
|
|
145
|
+
* // ],
|
|
146
|
+
* // },
|
|
147
|
+
* // },
|
|
148
|
+
* // ],
|
|
149
|
+
* // Warnings: [ // Warnings
|
|
150
|
+
* // { // Warning
|
|
151
|
+
* // ErrorCode: "STRING_VALUE",
|
|
152
|
+
* // Pages: [ // Pages
|
|
153
|
+
* // Number("int"),
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // StatusMessage: "STRING_VALUE",
|
|
158
|
+
* // AnalyzeDocumentModelVersion: "STRING_VALUE",
|
|
159
|
+
* // };
|
|
160
|
+
*
|
|
96
161
|
* ```
|
|
97
162
|
*
|
|
98
163
|
* @param GetDocumentAnalysisCommandInput - {@link GetDocumentAnalysisCommandInput}
|
|
@@ -135,6 +200,8 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
|
|
|
135
200
|
* @throws {@link ThrottlingException} (server fault)
|
|
136
201
|
* <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
|
|
137
202
|
*
|
|
203
|
+
* @throws {@link TextractServiceException}
|
|
204
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
138
205
|
*
|
|
139
206
|
*/
|
|
140
207
|
export declare class GetDocumentAnalysisCommand extends $Command<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -56,6 +56,71 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
|
|
|
56
56
|
* };
|
|
57
57
|
* const command = new GetDocumentTextDetectionCommand(input);
|
|
58
58
|
* const response = await client.send(command);
|
|
59
|
+
* // { // GetDocumentTextDetectionResponse
|
|
60
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
61
|
+
* // Pages: Number("int"),
|
|
62
|
+
* // },
|
|
63
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "PARTIAL_SUCCESS",
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // Blocks: [ // BlockList
|
|
66
|
+
* // { // Block
|
|
67
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
68
|
+
* // Confidence: Number("float"),
|
|
69
|
+
* // Text: "STRING_VALUE",
|
|
70
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
71
|
+
* // RowIndex: Number("int"),
|
|
72
|
+
* // ColumnIndex: Number("int"),
|
|
73
|
+
* // RowSpan: Number("int"),
|
|
74
|
+
* // ColumnSpan: Number("int"),
|
|
75
|
+
* // Geometry: { // Geometry
|
|
76
|
+
* // BoundingBox: { // BoundingBox
|
|
77
|
+
* // Width: Number("float"),
|
|
78
|
+
* // Height: Number("float"),
|
|
79
|
+
* // Left: Number("float"),
|
|
80
|
+
* // Top: Number("float"),
|
|
81
|
+
* // },
|
|
82
|
+
* // Polygon: [ // Polygon
|
|
83
|
+
* // { // Point
|
|
84
|
+
* // X: Number("float"),
|
|
85
|
+
* // Y: Number("float"),
|
|
86
|
+
* // },
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // Id: "STRING_VALUE",
|
|
90
|
+
* // Relationships: [ // RelationshipList
|
|
91
|
+
* // { // Relationship
|
|
92
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
93
|
+
* // Ids: [ // IdList
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // EntityTypes: [ // EntityTypes
|
|
99
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
100
|
+
* // ],
|
|
101
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
102
|
+
* // Page: Number("int"),
|
|
103
|
+
* // Query: { // Query
|
|
104
|
+
* // Text: "STRING_VALUE", // required
|
|
105
|
+
* // Alias: "STRING_VALUE",
|
|
106
|
+
* // Pages: [ // QueryPages
|
|
107
|
+
* // "STRING_VALUE",
|
|
108
|
+
* // ],
|
|
109
|
+
* // },
|
|
110
|
+
* // },
|
|
111
|
+
* // ],
|
|
112
|
+
* // Warnings: [ // Warnings
|
|
113
|
+
* // { // Warning
|
|
114
|
+
* // ErrorCode: "STRING_VALUE",
|
|
115
|
+
* // Pages: [ // Pages
|
|
116
|
+
* // Number("int"),
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
120
|
+
* // StatusMessage: "STRING_VALUE",
|
|
121
|
+
* // DetectDocumentTextModelVersion: "STRING_VALUE",
|
|
122
|
+
* // };
|
|
123
|
+
*
|
|
59
124
|
* ```
|
|
60
125
|
*
|
|
61
126
|
* @param GetDocumentTextDetectionCommandInput - {@link GetDocumentTextDetectionCommandInput}
|
|
@@ -98,6 +163,8 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
|
|
|
98
163
|
* @throws {@link ThrottlingException} (server fault)
|
|
99
164
|
* <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
|
|
100
165
|
*
|
|
166
|
+
* @throws {@link TextractServiceException}
|
|
167
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
101
168
|
*
|
|
102
169
|
*/
|
|
103
170
|
export declare class GetDocumentTextDetectionCommand extends $Command<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -49,6 +49,186 @@ export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisRespo
|
|
|
49
49
|
* };
|
|
50
50
|
* const command = new GetExpenseAnalysisCommand(input);
|
|
51
51
|
* const response = await client.send(command);
|
|
52
|
+
* // { // GetExpenseAnalysisResponse
|
|
53
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
54
|
+
* // Pages: Number("int"),
|
|
55
|
+
* // },
|
|
56
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "PARTIAL_SUCCESS",
|
|
57
|
+
* // NextToken: "STRING_VALUE",
|
|
58
|
+
* // ExpenseDocuments: [ // ExpenseDocumentList
|
|
59
|
+
* // { // ExpenseDocument
|
|
60
|
+
* // ExpenseIndex: Number("int"),
|
|
61
|
+
* // SummaryFields: [ // ExpenseFieldList
|
|
62
|
+
* // { // ExpenseField
|
|
63
|
+
* // Type: { // ExpenseType
|
|
64
|
+
* // Text: "STRING_VALUE",
|
|
65
|
+
* // Confidence: Number("float"),
|
|
66
|
+
* // },
|
|
67
|
+
* // LabelDetection: { // ExpenseDetection
|
|
68
|
+
* // Text: "STRING_VALUE",
|
|
69
|
+
* // Geometry: { // Geometry
|
|
70
|
+
* // BoundingBox: { // BoundingBox
|
|
71
|
+
* // Width: Number("float"),
|
|
72
|
+
* // Height: Number("float"),
|
|
73
|
+
* // Left: Number("float"),
|
|
74
|
+
* // Top: Number("float"),
|
|
75
|
+
* // },
|
|
76
|
+
* // Polygon: [ // Polygon
|
|
77
|
+
* // { // Point
|
|
78
|
+
* // X: Number("float"),
|
|
79
|
+
* // Y: Number("float"),
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // Confidence: Number("float"),
|
|
84
|
+
* // },
|
|
85
|
+
* // ValueDetection: {
|
|
86
|
+
* // Text: "STRING_VALUE",
|
|
87
|
+
* // Geometry: {
|
|
88
|
+
* // BoundingBox: {
|
|
89
|
+
* // Width: Number("float"),
|
|
90
|
+
* // Height: Number("float"),
|
|
91
|
+
* // Left: Number("float"),
|
|
92
|
+
* // Top: Number("float"),
|
|
93
|
+
* // },
|
|
94
|
+
* // Polygon: [
|
|
95
|
+
* // {
|
|
96
|
+
* // X: Number("float"),
|
|
97
|
+
* // Y: Number("float"),
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // },
|
|
101
|
+
* // Confidence: Number("float"),
|
|
102
|
+
* // },
|
|
103
|
+
* // PageNumber: Number("int"),
|
|
104
|
+
* // Currency: { // ExpenseCurrency
|
|
105
|
+
* // Code: "STRING_VALUE",
|
|
106
|
+
* // Confidence: Number("float"),
|
|
107
|
+
* // },
|
|
108
|
+
* // GroupProperties: [ // ExpenseGroupPropertyList
|
|
109
|
+
* // { // ExpenseGroupProperty
|
|
110
|
+
* // Types: [ // StringList
|
|
111
|
+
* // "STRING_VALUE",
|
|
112
|
+
* // ],
|
|
113
|
+
* // Id: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // LineItemGroups: [ // LineItemGroupList
|
|
119
|
+
* // { // LineItemGroup
|
|
120
|
+
* // LineItemGroupIndex: Number("int"),
|
|
121
|
+
* // LineItems: [ // LineItemList
|
|
122
|
+
* // { // LineItemFields
|
|
123
|
+
* // LineItemExpenseFields: [
|
|
124
|
+
* // {
|
|
125
|
+
* // Type: {
|
|
126
|
+
* // Text: "STRING_VALUE",
|
|
127
|
+
* // Confidence: Number("float"),
|
|
128
|
+
* // },
|
|
129
|
+
* // LabelDetection: {
|
|
130
|
+
* // Text: "STRING_VALUE",
|
|
131
|
+
* // Geometry: {
|
|
132
|
+
* // BoundingBox: {
|
|
133
|
+
* // Width: Number("float"),
|
|
134
|
+
* // Height: Number("float"),
|
|
135
|
+
* // Left: Number("float"),
|
|
136
|
+
* // Top: Number("float"),
|
|
137
|
+
* // },
|
|
138
|
+
* // Polygon: [
|
|
139
|
+
* // {
|
|
140
|
+
* // X: Number("float"),
|
|
141
|
+
* // Y: Number("float"),
|
|
142
|
+
* // },
|
|
143
|
+
* // ],
|
|
144
|
+
* // },
|
|
145
|
+
* // Confidence: Number("float"),
|
|
146
|
+
* // },
|
|
147
|
+
* // ValueDetection: {
|
|
148
|
+
* // Text: "STRING_VALUE",
|
|
149
|
+
* // Geometry: {
|
|
150
|
+
* // BoundingBox: {
|
|
151
|
+
* // Width: Number("float"),
|
|
152
|
+
* // Height: Number("float"),
|
|
153
|
+
* // Left: Number("float"),
|
|
154
|
+
* // Top: Number("float"),
|
|
155
|
+
* // },
|
|
156
|
+
* // Polygon: [
|
|
157
|
+
* // {
|
|
158
|
+
* // X: Number("float"),
|
|
159
|
+
* // Y: Number("float"),
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // },
|
|
163
|
+
* // Confidence: Number("float"),
|
|
164
|
+
* // },
|
|
165
|
+
* // PageNumber: Number("int"),
|
|
166
|
+
* // Currency: {
|
|
167
|
+
* // Code: "STRING_VALUE",
|
|
168
|
+
* // Confidence: Number("float"),
|
|
169
|
+
* // },
|
|
170
|
+
* // GroupProperties: [
|
|
171
|
+
* // {
|
|
172
|
+
* // Types: [
|
|
173
|
+
* // "STRING_VALUE",
|
|
174
|
+
* // ],
|
|
175
|
+
* // Id: "STRING_VALUE",
|
|
176
|
+
* // },
|
|
177
|
+
* // ],
|
|
178
|
+
* // },
|
|
179
|
+
* // ],
|
|
180
|
+
* // },
|
|
181
|
+
* // ],
|
|
182
|
+
* // },
|
|
183
|
+
* // ],
|
|
184
|
+
* // Blocks: [ // BlockList
|
|
185
|
+
* // { // Block
|
|
186
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
187
|
+
* // Confidence: Number("float"),
|
|
188
|
+
* // Text: "STRING_VALUE",
|
|
189
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
190
|
+
* // RowIndex: Number("int"),
|
|
191
|
+
* // ColumnIndex: Number("int"),
|
|
192
|
+
* // RowSpan: Number("int"),
|
|
193
|
+
* // ColumnSpan: Number("int"),
|
|
194
|
+
* // Geometry: "<Geometry>",
|
|
195
|
+
* // Id: "STRING_VALUE",
|
|
196
|
+
* // Relationships: [ // RelationshipList
|
|
197
|
+
* // { // Relationship
|
|
198
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
199
|
+
* // Ids: [ // IdList
|
|
200
|
+
* // "STRING_VALUE",
|
|
201
|
+
* // ],
|
|
202
|
+
* // },
|
|
203
|
+
* // ],
|
|
204
|
+
* // EntityTypes: [ // EntityTypes
|
|
205
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
206
|
+
* // ],
|
|
207
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
208
|
+
* // Page: Number("int"),
|
|
209
|
+
* // Query: { // Query
|
|
210
|
+
* // Text: "STRING_VALUE", // required
|
|
211
|
+
* // Alias: "STRING_VALUE",
|
|
212
|
+
* // Pages: [ // QueryPages
|
|
213
|
+
* // "STRING_VALUE",
|
|
214
|
+
* // ],
|
|
215
|
+
* // },
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // },
|
|
219
|
+
* // ],
|
|
220
|
+
* // Warnings: [ // Warnings
|
|
221
|
+
* // { // Warning
|
|
222
|
+
* // ErrorCode: "STRING_VALUE",
|
|
223
|
+
* // Pages: [ // Pages
|
|
224
|
+
* // Number("int"),
|
|
225
|
+
* // ],
|
|
226
|
+
* // },
|
|
227
|
+
* // ],
|
|
228
|
+
* // StatusMessage: "STRING_VALUE",
|
|
229
|
+
* // AnalyzeExpenseModelVersion: "STRING_VALUE",
|
|
230
|
+
* // };
|
|
231
|
+
*
|
|
52
232
|
* ```
|
|
53
233
|
*
|
|
54
234
|
* @param GetExpenseAnalysisCommandInput - {@link GetExpenseAnalysisCommandInput}
|
|
@@ -91,6 +271,8 @@ export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisRespo
|
|
|
91
271
|
* @throws {@link ThrottlingException} (server fault)
|
|
92
272
|
* <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
|
|
93
273
|
*
|
|
274
|
+
* @throws {@link TextractServiceException}
|
|
275
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
94
276
|
*
|
|
95
277
|
*/
|
|
96
278
|
export declare class GetExpenseAnalysisCommand extends $Command<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -43,6 +43,265 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
|
|
|
43
43
|
* };
|
|
44
44
|
* const command = new GetLendingAnalysisCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
46
|
+
* // { // GetLendingAnalysisResponse
|
|
47
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
48
|
+
* // Pages: Number("int"),
|
|
49
|
+
* // },
|
|
50
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "PARTIAL_SUCCESS",
|
|
51
|
+
* // NextToken: "STRING_VALUE",
|
|
52
|
+
* // Results: [ // LendingResultList
|
|
53
|
+
* // { // LendingResult
|
|
54
|
+
* // Page: Number("int"),
|
|
55
|
+
* // PageClassification: { // PageClassification
|
|
56
|
+
* // PageType: [ // PredictionList // required
|
|
57
|
+
* // { // Prediction
|
|
58
|
+
* // Value: "STRING_VALUE",
|
|
59
|
+
* // Confidence: Number("float"),
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // PageNumber: [ // required
|
|
63
|
+
* // {
|
|
64
|
+
* // Value: "STRING_VALUE",
|
|
65
|
+
* // Confidence: Number("float"),
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // Extractions: [ // ExtractionList
|
|
70
|
+
* // { // Extraction
|
|
71
|
+
* // LendingDocument: { // LendingDocument
|
|
72
|
+
* // LendingFields: [ // LendingFieldList
|
|
73
|
+
* // { // LendingField
|
|
74
|
+
* // Type: "STRING_VALUE",
|
|
75
|
+
* // KeyDetection: { // LendingDetection
|
|
76
|
+
* // Text: "STRING_VALUE",
|
|
77
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
78
|
+
* // Geometry: { // Geometry
|
|
79
|
+
* // BoundingBox: { // BoundingBox
|
|
80
|
+
* // Width: Number("float"),
|
|
81
|
+
* // Height: Number("float"),
|
|
82
|
+
* // Left: Number("float"),
|
|
83
|
+
* // Top: Number("float"),
|
|
84
|
+
* // },
|
|
85
|
+
* // Polygon: [ // Polygon
|
|
86
|
+
* // { // Point
|
|
87
|
+
* // X: Number("float"),
|
|
88
|
+
* // Y: Number("float"),
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // Confidence: Number("float"),
|
|
93
|
+
* // },
|
|
94
|
+
* // ValueDetections: [ // LendingDetectionList
|
|
95
|
+
* // {
|
|
96
|
+
* // Text: "STRING_VALUE",
|
|
97
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
98
|
+
* // Geometry: {
|
|
99
|
+
* // BoundingBox: {
|
|
100
|
+
* // Width: Number("float"),
|
|
101
|
+
* // Height: Number("float"),
|
|
102
|
+
* // Left: Number("float"),
|
|
103
|
+
* // Top: Number("float"),
|
|
104
|
+
* // },
|
|
105
|
+
* // Polygon: [
|
|
106
|
+
* // {
|
|
107
|
+
* // X: Number("float"),
|
|
108
|
+
* // Y: Number("float"),
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // },
|
|
112
|
+
* // Confidence: Number("float"),
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // SignatureDetections: [ // SignatureDetectionList
|
|
118
|
+
* // { // SignatureDetection
|
|
119
|
+
* // Confidence: Number("float"),
|
|
120
|
+
* // Geometry: "<Geometry>",
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // },
|
|
124
|
+
* // ExpenseDocument: { // ExpenseDocument
|
|
125
|
+
* // ExpenseIndex: Number("int"),
|
|
126
|
+
* // SummaryFields: [ // ExpenseFieldList
|
|
127
|
+
* // { // ExpenseField
|
|
128
|
+
* // Type: { // ExpenseType
|
|
129
|
+
* // Text: "STRING_VALUE",
|
|
130
|
+
* // Confidence: Number("float"),
|
|
131
|
+
* // },
|
|
132
|
+
* // LabelDetection: { // ExpenseDetection
|
|
133
|
+
* // Text: "STRING_VALUE",
|
|
134
|
+
* // Geometry: "<Geometry>",
|
|
135
|
+
* // Confidence: Number("float"),
|
|
136
|
+
* // },
|
|
137
|
+
* // ValueDetection: {
|
|
138
|
+
* // Text: "STRING_VALUE",
|
|
139
|
+
* // Geometry: "<Geometry>",
|
|
140
|
+
* // Confidence: Number("float"),
|
|
141
|
+
* // },
|
|
142
|
+
* // PageNumber: Number("int"),
|
|
143
|
+
* // Currency: { // ExpenseCurrency
|
|
144
|
+
* // Code: "STRING_VALUE",
|
|
145
|
+
* // Confidence: Number("float"),
|
|
146
|
+
* // },
|
|
147
|
+
* // GroupProperties: [ // ExpenseGroupPropertyList
|
|
148
|
+
* // { // ExpenseGroupProperty
|
|
149
|
+
* // Types: [ // StringList
|
|
150
|
+
* // "STRING_VALUE",
|
|
151
|
+
* // ],
|
|
152
|
+
* // Id: "STRING_VALUE",
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
156
|
+
* // ],
|
|
157
|
+
* // LineItemGroups: [ // LineItemGroupList
|
|
158
|
+
* // { // LineItemGroup
|
|
159
|
+
* // LineItemGroupIndex: Number("int"),
|
|
160
|
+
* // LineItems: [ // LineItemList
|
|
161
|
+
* // { // LineItemFields
|
|
162
|
+
* // LineItemExpenseFields: [
|
|
163
|
+
* // {
|
|
164
|
+
* // Type: {
|
|
165
|
+
* // Text: "STRING_VALUE",
|
|
166
|
+
* // Confidence: Number("float"),
|
|
167
|
+
* // },
|
|
168
|
+
* // LabelDetection: {
|
|
169
|
+
* // Text: "STRING_VALUE",
|
|
170
|
+
* // Geometry: "<Geometry>",
|
|
171
|
+
* // Confidence: Number("float"),
|
|
172
|
+
* // },
|
|
173
|
+
* // ValueDetection: {
|
|
174
|
+
* // Text: "STRING_VALUE",
|
|
175
|
+
* // Geometry: "<Geometry>",
|
|
176
|
+
* // Confidence: Number("float"),
|
|
177
|
+
* // },
|
|
178
|
+
* // PageNumber: Number("int"),
|
|
179
|
+
* // Currency: {
|
|
180
|
+
* // Code: "STRING_VALUE",
|
|
181
|
+
* // Confidence: Number("float"),
|
|
182
|
+
* // },
|
|
183
|
+
* // GroupProperties: [
|
|
184
|
+
* // {
|
|
185
|
+
* // Types: [
|
|
186
|
+
* // "STRING_VALUE",
|
|
187
|
+
* // ],
|
|
188
|
+
* // Id: "STRING_VALUE",
|
|
189
|
+
* // },
|
|
190
|
+
* // ],
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
193
|
+
* // },
|
|
194
|
+
* // ],
|
|
195
|
+
* // },
|
|
196
|
+
* // ],
|
|
197
|
+
* // Blocks: [ // BlockList
|
|
198
|
+
* // { // Block
|
|
199
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
200
|
+
* // Confidence: Number("float"),
|
|
201
|
+
* // Text: "STRING_VALUE",
|
|
202
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
203
|
+
* // RowIndex: Number("int"),
|
|
204
|
+
* // ColumnIndex: Number("int"),
|
|
205
|
+
* // RowSpan: Number("int"),
|
|
206
|
+
* // ColumnSpan: Number("int"),
|
|
207
|
+
* // Geometry: "<Geometry>",
|
|
208
|
+
* // Id: "STRING_VALUE",
|
|
209
|
+
* // Relationships: [ // RelationshipList
|
|
210
|
+
* // { // Relationship
|
|
211
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
212
|
+
* // Ids: [ // IdList
|
|
213
|
+
* // "STRING_VALUE",
|
|
214
|
+
* // ],
|
|
215
|
+
* // },
|
|
216
|
+
* // ],
|
|
217
|
+
* // EntityTypes: [ // EntityTypes
|
|
218
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
219
|
+
* // ],
|
|
220
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
221
|
+
* // Page: Number("int"),
|
|
222
|
+
* // Query: { // Query
|
|
223
|
+
* // Text: "STRING_VALUE", // required
|
|
224
|
+
* // Alias: "STRING_VALUE",
|
|
225
|
+
* // Pages: [ // QueryPages
|
|
226
|
+
* // "STRING_VALUE",
|
|
227
|
+
* // ],
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
230
|
+
* // ],
|
|
231
|
+
* // },
|
|
232
|
+
* // IdentityDocument: { // IdentityDocument
|
|
233
|
+
* // DocumentIndex: Number("int"),
|
|
234
|
+
* // IdentityDocumentFields: [ // IdentityDocumentFieldList
|
|
235
|
+
* // { // IdentityDocumentField
|
|
236
|
+
* // Type: { // AnalyzeIDDetections
|
|
237
|
+
* // Text: "STRING_VALUE", // required
|
|
238
|
+
* // NormalizedValue: { // NormalizedValue
|
|
239
|
+
* // Value: "STRING_VALUE",
|
|
240
|
+
* // ValueType: "DATE",
|
|
241
|
+
* // },
|
|
242
|
+
* // Confidence: Number("float"),
|
|
243
|
+
* // },
|
|
244
|
+
* // ValueDetection: {
|
|
245
|
+
* // Text: "STRING_VALUE", // required
|
|
246
|
+
* // NormalizedValue: {
|
|
247
|
+
* // Value: "STRING_VALUE",
|
|
248
|
+
* // ValueType: "DATE",
|
|
249
|
+
* // },
|
|
250
|
+
* // Confidence: Number("float"),
|
|
251
|
+
* // },
|
|
252
|
+
* // },
|
|
253
|
+
* // ],
|
|
254
|
+
* // Blocks: [
|
|
255
|
+
* // {
|
|
256
|
+
* // BlockType: "KEY_VALUE_SET" || "PAGE" || "LINE" || "WORD" || "TABLE" || "CELL" || "SELECTION_ELEMENT" || "MERGED_CELL" || "TITLE" || "QUERY" || "QUERY_RESULT" || "SIGNATURE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
257
|
+
* // Confidence: Number("float"),
|
|
258
|
+
* // Text: "STRING_VALUE",
|
|
259
|
+
* // TextType: "HANDWRITING" || "PRINTED",
|
|
260
|
+
* // RowIndex: Number("int"),
|
|
261
|
+
* // ColumnIndex: Number("int"),
|
|
262
|
+
* // RowSpan: Number("int"),
|
|
263
|
+
* // ColumnSpan: Number("int"),
|
|
264
|
+
* // Geometry: "<Geometry>",
|
|
265
|
+
* // Id: "STRING_VALUE",
|
|
266
|
+
* // Relationships: [
|
|
267
|
+
* // {
|
|
268
|
+
* // Type: "VALUE" || "CHILD" || "COMPLEX_FEATURES" || "MERGED_CELL" || "TITLE" || "ANSWER" || "TABLE" || "TABLE_TITLE" || "TABLE_FOOTER",
|
|
269
|
+
* // Ids: [
|
|
270
|
+
* // "STRING_VALUE",
|
|
271
|
+
* // ],
|
|
272
|
+
* // },
|
|
273
|
+
* // ],
|
|
274
|
+
* // EntityTypes: [
|
|
275
|
+
* // "KEY" || "VALUE" || "COLUMN_HEADER" || "TABLE_TITLE" || "TABLE_FOOTER" || "TABLE_SECTION_TITLE" || "TABLE_SUMMARY" || "STRUCTURED_TABLE" || "SEMI_STRUCTURED_TABLE",
|
|
276
|
+
* // ],
|
|
277
|
+
* // SelectionStatus: "SELECTED" || "NOT_SELECTED",
|
|
278
|
+
* // Page: Number("int"),
|
|
279
|
+
* // Query: {
|
|
280
|
+
* // Text: "STRING_VALUE", // required
|
|
281
|
+
* // Alias: "STRING_VALUE",
|
|
282
|
+
* // Pages: [
|
|
283
|
+
* // "STRING_VALUE",
|
|
284
|
+
* // ],
|
|
285
|
+
* // },
|
|
286
|
+
* // },
|
|
287
|
+
* // ],
|
|
288
|
+
* // },
|
|
289
|
+
* // },
|
|
290
|
+
* // ],
|
|
291
|
+
* // },
|
|
292
|
+
* // ],
|
|
293
|
+
* // Warnings: [ // Warnings
|
|
294
|
+
* // { // Warning
|
|
295
|
+
* // ErrorCode: "STRING_VALUE",
|
|
296
|
+
* // Pages: [ // Pages
|
|
297
|
+
* // Number("int"),
|
|
298
|
+
* // ],
|
|
299
|
+
* // },
|
|
300
|
+
* // ],
|
|
301
|
+
* // StatusMessage: "STRING_VALUE",
|
|
302
|
+
* // AnalyzeLendingModelVersion: "STRING_VALUE",
|
|
303
|
+
* // };
|
|
304
|
+
*
|
|
46
305
|
* ```
|
|
47
306
|
*
|
|
48
307
|
* @param GetLendingAnalysisCommandInput - {@link GetLendingAnalysisCommandInput}
|
|
@@ -85,6 +344,8 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
|
|
|
85
344
|
* @throws {@link ThrottlingException} (server fault)
|
|
86
345
|
* <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
|
|
87
346
|
*
|
|
347
|
+
* @throws {@link TextractServiceException}
|
|
348
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
88
349
|
*
|
|
89
350
|
*/
|
|
90
351
|
export declare class GetLendingAnalysisCommand extends $Command<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -42,6 +42,51 @@ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalys
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new GetLendingAnalysisSummaryCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // GetLendingAnalysisSummaryResponse
|
|
46
|
+
* // DocumentMetadata: { // DocumentMetadata
|
|
47
|
+
* // Pages: Number("int"),
|
|
48
|
+
* // },
|
|
49
|
+
* // JobStatus: "IN_PROGRESS" || "SUCCEEDED" || "FAILED" || "PARTIAL_SUCCESS",
|
|
50
|
+
* // Summary: { // LendingSummary
|
|
51
|
+
* // DocumentGroups: [ // DocumentGroupList
|
|
52
|
+
* // { // DocumentGroup
|
|
53
|
+
* // Type: "STRING_VALUE",
|
|
54
|
+
* // SplitDocuments: [ // SplitDocumentList
|
|
55
|
+
* // { // SplitDocument
|
|
56
|
+
* // Index: Number("int"),
|
|
57
|
+
* // Pages: [ // PageList
|
|
58
|
+
* // Number("int"),
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // DetectedSignatures: [ // DetectedSignatureList
|
|
63
|
+
* // { // DetectedSignature
|
|
64
|
+
* // Page: Number("int"),
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // UndetectedSignatures: [ // UndetectedSignatureList
|
|
68
|
+
* // { // UndetectedSignature
|
|
69
|
+
* // Page: Number("int"),
|
|
70
|
+
* // },
|
|
71
|
+
* // ],
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // UndetectedDocumentTypes: [ // UndetectedDocumentTypeList
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // Warnings: [ // Warnings
|
|
79
|
+
* // { // Warning
|
|
80
|
+
* // ErrorCode: "STRING_VALUE",
|
|
81
|
+
* // Pages: [ // Pages
|
|
82
|
+
* // Number("int"),
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // StatusMessage: "STRING_VALUE",
|
|
87
|
+
* // AnalyzeLendingModelVersion: "STRING_VALUE",
|
|
88
|
+
* // };
|
|
89
|
+
*
|
|
45
90
|
* ```
|
|
46
91
|
*
|
|
47
92
|
* @param GetLendingAnalysisSummaryCommandInput - {@link GetLendingAnalysisSummaryCommandInput}
|
|
@@ -84,6 +129,8 @@ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalys
|
|
|
84
129
|
* @throws {@link ThrottlingException} (server fault)
|
|
85
130
|
* <p>Amazon Textract is temporarily unable to process the request. Try your call again.</p>
|
|
86
131
|
*
|
|
132
|
+
* @throws {@link TextractServiceException}
|
|
133
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
87
134
|
*
|
|
88
135
|
*/
|
|
89
136
|
export declare class GetLendingAnalysisSummaryCommand extends $Command<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -78,6 +78,10 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
|
|
|
78
78
|
* };
|
|
79
79
|
* const command = new StartDocumentAnalysisCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
+
* // { // StartDocumentAnalysisResponse
|
|
82
|
+
* // JobId: "STRING_VALUE",
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
81
85
|
* ```
|
|
82
86
|
*
|
|
83
87
|
* @param StartDocumentAnalysisCommandInput - {@link StartDocumentAnalysisCommandInput}
|
|
@@ -142,6 +146,8 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
|
|
|
142
146
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
143
147
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
144
148
|
*
|
|
149
|
+
* @throws {@link TextractServiceException}
|
|
150
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
145
151
|
*
|
|
146
152
|
*/
|
|
147
153
|
export declare class StartDocumentAnalysisCommand extends $Command<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -64,6 +64,10 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
|
|
|
64
64
|
* };
|
|
65
65
|
* const command = new StartDocumentTextDetectionCommand(input);
|
|
66
66
|
* const response = await client.send(command);
|
|
67
|
+
* // { // StartDocumentTextDetectionResponse
|
|
68
|
+
* // JobId: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
67
71
|
* ```
|
|
68
72
|
*
|
|
69
73
|
* @param StartDocumentTextDetectionCommandInput - {@link StartDocumentTextDetectionCommandInput}
|
|
@@ -128,6 +132,8 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
|
|
|
128
132
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
129
133
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
130
134
|
*
|
|
135
|
+
* @throws {@link TextractServiceException}
|
|
136
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
131
137
|
*
|
|
132
138
|
*/
|
|
133
139
|
export declare class StartDocumentTextDetectionCommand extends $Command<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -62,6 +62,10 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
|
|
|
62
62
|
* };
|
|
63
63
|
* const command = new StartExpenseAnalysisCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
65
|
+
* // { // StartExpenseAnalysisResponse
|
|
66
|
+
* // JobId: "STRING_VALUE",
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
65
69
|
* ```
|
|
66
70
|
*
|
|
67
71
|
* @param StartExpenseAnalysisCommandInput - {@link StartExpenseAnalysisCommandInput}
|
|
@@ -126,6 +130,8 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
|
|
|
126
130
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
127
131
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
128
132
|
*
|
|
133
|
+
* @throws {@link TextractServiceException}
|
|
134
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
129
135
|
*
|
|
130
136
|
*/
|
|
131
137
|
export declare class StartExpenseAnalysisCommand extends $Command<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
@@ -78,6 +78,10 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
|
|
|
78
78
|
* };
|
|
79
79
|
* const command = new StartLendingAnalysisCommand(input);
|
|
80
80
|
* const response = await client.send(command);
|
|
81
|
+
* // { // StartLendingAnalysisResponse
|
|
82
|
+
* // JobId: "STRING_VALUE",
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
81
85
|
* ```
|
|
82
86
|
*
|
|
83
87
|
* @param StartLendingAnalysisCommandInput - {@link StartLendingAnalysisCommandInput}
|
|
@@ -142,6 +146,8 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
|
|
|
142
146
|
* <p>The format of the input document isn't supported. Documents for operations can be in
|
|
143
147
|
* PNG, JPEG, PDF, or TIFF format.</p>
|
|
144
148
|
*
|
|
149
|
+
* @throws {@link TextractServiceException}
|
|
150
|
+
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
145
151
|
*
|
|
146
152
|
*/
|
|
147
153
|
export declare class StartLendingAnalysisCommand extends $Command<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig> {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-textract",
|
|
3
3
|
"description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.326.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|