@aws-sdk/client-textract 3.295.0 → 3.297.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/Textract.d.ts +14 -0
- package/dist-types/TextractClient.d.ts +24 -4
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +16 -0
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +16 -0
- package/dist-types/commands/AnalyzeIDCommand.d.ts +16 -0
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +16 -0
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +16 -0
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +16 -0
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +16 -0
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +16 -0
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +16 -0
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +16 -0
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +16 -0
- package/dist-types/models/TextractServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +161 -0
- package/package.json +29 -29
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartDocumentAnalysisRequest, StartDocumentAnalysisResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartDocumentAnalysisCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartDocumentAnalysisCommandInput extends StartDocumentAnalysisRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartDocumentAnalysisCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysisResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts the asynchronous analysis of an input document for relationships between detected
|
|
18
23
|
* items such as key-value pairs, tables, and selection elements.</p>
|
|
19
24
|
*
|
|
@@ -42,6 +47,8 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
|
|
|
42
47
|
* const response = await client.send(command);
|
|
43
48
|
* ```
|
|
44
49
|
*
|
|
50
|
+
* @param StartDocumentAnalysisCommandInput - {@link StartDocumentAnalysisCommandInput}
|
|
51
|
+
* @returns {@link StartDocumentAnalysisCommandOutput}
|
|
45
52
|
* @see {@link StartDocumentAnalysisCommandInput} for command's `input` shape.
|
|
46
53
|
* @see {@link StartDocumentAnalysisCommandOutput} for command's `response` shape.
|
|
47
54
|
* @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
|
|
@@ -107,11 +114,20 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
|
|
|
107
114
|
export declare class StartDocumentAnalysisCommand extends $Command<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
108
115
|
readonly input: StartDocumentAnalysisCommandInput;
|
|
109
116
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
110
120
|
constructor(input: StartDocumentAnalysisCommandInput);
|
|
111
121
|
/**
|
|
112
122
|
* @internal
|
|
113
123
|
*/
|
|
114
124
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput>;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
115
128
|
private serialize;
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
116
132
|
private deserialize;
|
|
117
133
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartDocumentTextDetectionRequest, StartDocumentTextDetectionResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartDocumentTextDetectionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartDocumentTextDetectionCommandInput extends StartDocumentTextDetectionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartDocumentTextDetectionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTextDetectionResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of
|
|
18
23
|
* text and the words that make up a line of text.</p>
|
|
19
24
|
* <p>
|
|
@@ -41,6 +46,8 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
|
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
43
48
|
*
|
|
49
|
+
* @param StartDocumentTextDetectionCommandInput - {@link StartDocumentTextDetectionCommandInput}
|
|
50
|
+
* @returns {@link StartDocumentTextDetectionCommandOutput}
|
|
44
51
|
* @see {@link StartDocumentTextDetectionCommandInput} for command's `input` shape.
|
|
45
52
|
* @see {@link StartDocumentTextDetectionCommandOutput} for command's `response` shape.
|
|
46
53
|
* @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
|
|
@@ -106,11 +113,20 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
|
|
|
106
113
|
export declare class StartDocumentTextDetectionCommand extends $Command<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig> {
|
|
107
114
|
readonly input: StartDocumentTextDetectionCommandInput;
|
|
108
115
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
109
119
|
constructor(input: StartDocumentTextDetectionCommandInput);
|
|
110
120
|
/**
|
|
111
121
|
* @internal
|
|
112
122
|
*/
|
|
113
123
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput>;
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
114
127
|
private serialize;
|
|
128
|
+
/**
|
|
129
|
+
* @internal
|
|
130
|
+
*/
|
|
115
131
|
private deserialize;
|
|
116
132
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartExpenseAnalysisRequest, StartExpenseAnalysisResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartExpenseAnalysisCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartExpenseAnalysisCommandInput extends StartExpenseAnalysisRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartExpenseAnalysisCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts the asynchronous analysis of invoices or receipts for data like contact information,
|
|
18
23
|
* items purchased, and vendor names.</p>
|
|
19
24
|
*
|
|
@@ -40,6 +45,8 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
|
|
|
40
45
|
* const response = await client.send(command);
|
|
41
46
|
* ```
|
|
42
47
|
*
|
|
48
|
+
* @param StartExpenseAnalysisCommandInput - {@link StartExpenseAnalysisCommandInput}
|
|
49
|
+
* @returns {@link StartExpenseAnalysisCommandOutput}
|
|
43
50
|
* @see {@link StartExpenseAnalysisCommandInput} for command's `input` shape.
|
|
44
51
|
* @see {@link StartExpenseAnalysisCommandOutput} for command's `response` shape.
|
|
45
52
|
* @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
|
|
@@ -105,11 +112,20 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
|
|
|
105
112
|
export declare class StartExpenseAnalysisCommand extends $Command<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
106
113
|
readonly input: StartExpenseAnalysisCommandInput;
|
|
107
114
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
108
118
|
constructor(input: StartExpenseAnalysisCommandInput);
|
|
109
119
|
/**
|
|
110
120
|
* @internal
|
|
111
121
|
*/
|
|
112
122
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput>;
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
113
126
|
private serialize;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
114
130
|
private deserialize;
|
|
115
131
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { StartLendingAnalysisRequest, StartLendingAnalysisResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link StartLendingAnalysisCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface StartLendingAnalysisCommandInput extends StartLendingAnalysisRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link StartLendingAnalysisCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Starts the classification and analysis of an input document.
|
|
18
23
|
* <code>StartLendingAnalysis</code> initiates the classification and analysis of a packet of
|
|
19
24
|
* lending documents. <code>StartLendingAnalysis</code> operates on a document file located in an
|
|
@@ -55,6 +60,8 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
|
|
|
55
60
|
* const response = await client.send(command);
|
|
56
61
|
* ```
|
|
57
62
|
*
|
|
63
|
+
* @param StartLendingAnalysisCommandInput - {@link StartLendingAnalysisCommandInput}
|
|
64
|
+
* @returns {@link StartLendingAnalysisCommandOutput}
|
|
58
65
|
* @see {@link StartLendingAnalysisCommandInput} for command's `input` shape.
|
|
59
66
|
* @see {@link StartLendingAnalysisCommandOutput} for command's `response` shape.
|
|
60
67
|
* @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
|
|
@@ -120,11 +127,20 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
|
|
|
120
127
|
export declare class StartLendingAnalysisCommand extends $Command<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig> {
|
|
121
128
|
readonly input: StartLendingAnalysisCommandInput;
|
|
122
129
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
123
133
|
constructor(input: StartLendingAnalysisCommandInput);
|
|
124
134
|
/**
|
|
125
135
|
* @internal
|
|
126
136
|
*/
|
|
127
137
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput>;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
128
141
|
private serialize;
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
129
145
|
private deserialize;
|
|
130
146
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Textract service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class TextractServiceException extends __ServiceException {
|