@aws-sdk/client-textract 3.169.0 → 3.170.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 +8 -0
- package/dist-types/ts3.4/Textract.d.ts +184 -55
- package/dist-types/ts3.4/TextractClient.d.ts +189 -83
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/index.d.ts +10 -10
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/TextractServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +754 -691
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +125 -32
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-textract
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-textract
|
|
@@ -1,55 +1,184 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
AnalyzeDocumentCommandInput,
|
|
4
|
+
AnalyzeDocumentCommandOutput,
|
|
5
|
+
} from "./commands/AnalyzeDocumentCommand";
|
|
6
|
+
import {
|
|
7
|
+
AnalyzeExpenseCommandInput,
|
|
8
|
+
AnalyzeExpenseCommandOutput,
|
|
9
|
+
} from "./commands/AnalyzeExpenseCommand";
|
|
10
|
+
import {
|
|
11
|
+
AnalyzeIDCommandInput,
|
|
12
|
+
AnalyzeIDCommandOutput,
|
|
13
|
+
} from "./commands/AnalyzeIDCommand";
|
|
14
|
+
import {
|
|
15
|
+
DetectDocumentTextCommandInput,
|
|
16
|
+
DetectDocumentTextCommandOutput,
|
|
17
|
+
} from "./commands/DetectDocumentTextCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetDocumentAnalysisCommandInput,
|
|
20
|
+
GetDocumentAnalysisCommandOutput,
|
|
21
|
+
} from "./commands/GetDocumentAnalysisCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetDocumentTextDetectionCommandInput,
|
|
24
|
+
GetDocumentTextDetectionCommandOutput,
|
|
25
|
+
} from "./commands/GetDocumentTextDetectionCommand";
|
|
26
|
+
import {
|
|
27
|
+
GetExpenseAnalysisCommandInput,
|
|
28
|
+
GetExpenseAnalysisCommandOutput,
|
|
29
|
+
} from "./commands/GetExpenseAnalysisCommand";
|
|
30
|
+
import {
|
|
31
|
+
StartDocumentAnalysisCommandInput,
|
|
32
|
+
StartDocumentAnalysisCommandOutput,
|
|
33
|
+
} from "./commands/StartDocumentAnalysisCommand";
|
|
34
|
+
import {
|
|
35
|
+
StartDocumentTextDetectionCommandInput,
|
|
36
|
+
StartDocumentTextDetectionCommandOutput,
|
|
37
|
+
} from "./commands/StartDocumentTextDetectionCommand";
|
|
38
|
+
import {
|
|
39
|
+
StartExpenseAnalysisCommandInput,
|
|
40
|
+
StartExpenseAnalysisCommandOutput,
|
|
41
|
+
} from "./commands/StartExpenseAnalysisCommand";
|
|
42
|
+
import { TextractClient } from "./TextractClient";
|
|
43
|
+
|
|
44
|
+
export declare class Textract extends TextractClient {
|
|
45
|
+
analyzeDocument(
|
|
46
|
+
args: AnalyzeDocumentCommandInput,
|
|
47
|
+
options?: __HttpHandlerOptions
|
|
48
|
+
): Promise<AnalyzeDocumentCommandOutput>;
|
|
49
|
+
analyzeDocument(
|
|
50
|
+
args: AnalyzeDocumentCommandInput,
|
|
51
|
+
cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void
|
|
52
|
+
): void;
|
|
53
|
+
analyzeDocument(
|
|
54
|
+
args: AnalyzeDocumentCommandInput,
|
|
55
|
+
options: __HttpHandlerOptions,
|
|
56
|
+
cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void
|
|
57
|
+
): void;
|
|
58
|
+
|
|
59
|
+
analyzeExpense(
|
|
60
|
+
args: AnalyzeExpenseCommandInput,
|
|
61
|
+
options?: __HttpHandlerOptions
|
|
62
|
+
): Promise<AnalyzeExpenseCommandOutput>;
|
|
63
|
+
analyzeExpense(
|
|
64
|
+
args: AnalyzeExpenseCommandInput,
|
|
65
|
+
cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void
|
|
66
|
+
): void;
|
|
67
|
+
analyzeExpense(
|
|
68
|
+
args: AnalyzeExpenseCommandInput,
|
|
69
|
+
options: __HttpHandlerOptions,
|
|
70
|
+
cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void
|
|
71
|
+
): void;
|
|
72
|
+
|
|
73
|
+
analyzeID(
|
|
74
|
+
args: AnalyzeIDCommandInput,
|
|
75
|
+
options?: __HttpHandlerOptions
|
|
76
|
+
): Promise<AnalyzeIDCommandOutput>;
|
|
77
|
+
analyzeID(
|
|
78
|
+
args: AnalyzeIDCommandInput,
|
|
79
|
+
cb: (err: any, data?: AnalyzeIDCommandOutput) => void
|
|
80
|
+
): void;
|
|
81
|
+
analyzeID(
|
|
82
|
+
args: AnalyzeIDCommandInput,
|
|
83
|
+
options: __HttpHandlerOptions,
|
|
84
|
+
cb: (err: any, data?: AnalyzeIDCommandOutput) => void
|
|
85
|
+
): void;
|
|
86
|
+
|
|
87
|
+
detectDocumentText(
|
|
88
|
+
args: DetectDocumentTextCommandInput,
|
|
89
|
+
options?: __HttpHandlerOptions
|
|
90
|
+
): Promise<DetectDocumentTextCommandOutput>;
|
|
91
|
+
detectDocumentText(
|
|
92
|
+
args: DetectDocumentTextCommandInput,
|
|
93
|
+
cb: (err: any, data?: DetectDocumentTextCommandOutput) => void
|
|
94
|
+
): void;
|
|
95
|
+
detectDocumentText(
|
|
96
|
+
args: DetectDocumentTextCommandInput,
|
|
97
|
+
options: __HttpHandlerOptions,
|
|
98
|
+
cb: (err: any, data?: DetectDocumentTextCommandOutput) => void
|
|
99
|
+
): void;
|
|
100
|
+
|
|
101
|
+
getDocumentAnalysis(
|
|
102
|
+
args: GetDocumentAnalysisCommandInput,
|
|
103
|
+
options?: __HttpHandlerOptions
|
|
104
|
+
): Promise<GetDocumentAnalysisCommandOutput>;
|
|
105
|
+
getDocumentAnalysis(
|
|
106
|
+
args: GetDocumentAnalysisCommandInput,
|
|
107
|
+
cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void
|
|
108
|
+
): void;
|
|
109
|
+
getDocumentAnalysis(
|
|
110
|
+
args: GetDocumentAnalysisCommandInput,
|
|
111
|
+
options: __HttpHandlerOptions,
|
|
112
|
+
cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void
|
|
113
|
+
): void;
|
|
114
|
+
|
|
115
|
+
getDocumentTextDetection(
|
|
116
|
+
args: GetDocumentTextDetectionCommandInput,
|
|
117
|
+
options?: __HttpHandlerOptions
|
|
118
|
+
): Promise<GetDocumentTextDetectionCommandOutput>;
|
|
119
|
+
getDocumentTextDetection(
|
|
120
|
+
args: GetDocumentTextDetectionCommandInput,
|
|
121
|
+
cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void
|
|
122
|
+
): void;
|
|
123
|
+
getDocumentTextDetection(
|
|
124
|
+
args: GetDocumentTextDetectionCommandInput,
|
|
125
|
+
options: __HttpHandlerOptions,
|
|
126
|
+
cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void
|
|
127
|
+
): void;
|
|
128
|
+
|
|
129
|
+
getExpenseAnalysis(
|
|
130
|
+
args: GetExpenseAnalysisCommandInput,
|
|
131
|
+
options?: __HttpHandlerOptions
|
|
132
|
+
): Promise<GetExpenseAnalysisCommandOutput>;
|
|
133
|
+
getExpenseAnalysis(
|
|
134
|
+
args: GetExpenseAnalysisCommandInput,
|
|
135
|
+
cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void
|
|
136
|
+
): void;
|
|
137
|
+
getExpenseAnalysis(
|
|
138
|
+
args: GetExpenseAnalysisCommandInput,
|
|
139
|
+
options: __HttpHandlerOptions,
|
|
140
|
+
cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void
|
|
141
|
+
): void;
|
|
142
|
+
|
|
143
|
+
startDocumentAnalysis(
|
|
144
|
+
args: StartDocumentAnalysisCommandInput,
|
|
145
|
+
options?: __HttpHandlerOptions
|
|
146
|
+
): Promise<StartDocumentAnalysisCommandOutput>;
|
|
147
|
+
startDocumentAnalysis(
|
|
148
|
+
args: StartDocumentAnalysisCommandInput,
|
|
149
|
+
cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void
|
|
150
|
+
): void;
|
|
151
|
+
startDocumentAnalysis(
|
|
152
|
+
args: StartDocumentAnalysisCommandInput,
|
|
153
|
+
options: __HttpHandlerOptions,
|
|
154
|
+
cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void
|
|
155
|
+
): void;
|
|
156
|
+
|
|
157
|
+
startDocumentTextDetection(
|
|
158
|
+
args: StartDocumentTextDetectionCommandInput,
|
|
159
|
+
options?: __HttpHandlerOptions
|
|
160
|
+
): Promise<StartDocumentTextDetectionCommandOutput>;
|
|
161
|
+
startDocumentTextDetection(
|
|
162
|
+
args: StartDocumentTextDetectionCommandInput,
|
|
163
|
+
cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void
|
|
164
|
+
): void;
|
|
165
|
+
startDocumentTextDetection(
|
|
166
|
+
args: StartDocumentTextDetectionCommandInput,
|
|
167
|
+
options: __HttpHandlerOptions,
|
|
168
|
+
cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void
|
|
169
|
+
): void;
|
|
170
|
+
|
|
171
|
+
startExpenseAnalysis(
|
|
172
|
+
args: StartExpenseAnalysisCommandInput,
|
|
173
|
+
options?: __HttpHandlerOptions
|
|
174
|
+
): Promise<StartExpenseAnalysisCommandOutput>;
|
|
175
|
+
startExpenseAnalysis(
|
|
176
|
+
args: StartExpenseAnalysisCommandInput,
|
|
177
|
+
cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void
|
|
178
|
+
): void;
|
|
179
|
+
startExpenseAnalysis(
|
|
180
|
+
args: StartExpenseAnalysisCommandInput,
|
|
181
|
+
options: __HttpHandlerOptions,
|
|
182
|
+
cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void
|
|
183
|
+
): void;
|
|
184
|
+
}
|
|
@@ -1,83 +1,189 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
1
|
+
import {
|
|
2
|
+
EndpointsInputConfig,
|
|
3
|
+
EndpointsResolvedConfig,
|
|
4
|
+
RegionInputConfig,
|
|
5
|
+
RegionResolvedConfig,
|
|
6
|
+
} from "@aws-sdk/config-resolver";
|
|
7
|
+
import {
|
|
8
|
+
HostHeaderInputConfig,
|
|
9
|
+
HostHeaderResolvedConfig,
|
|
10
|
+
} from "@aws-sdk/middleware-host-header";
|
|
11
|
+
import {
|
|
12
|
+
RetryInputConfig,
|
|
13
|
+
RetryResolvedConfig,
|
|
14
|
+
} from "@aws-sdk/middleware-retry";
|
|
15
|
+
import {
|
|
16
|
+
AwsAuthInputConfig,
|
|
17
|
+
AwsAuthResolvedConfig,
|
|
18
|
+
} from "@aws-sdk/middleware-signing";
|
|
19
|
+
import {
|
|
20
|
+
UserAgentInputConfig,
|
|
21
|
+
UserAgentResolvedConfig,
|
|
22
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
23
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
24
|
+
import {
|
|
25
|
+
Client as __Client,
|
|
26
|
+
DefaultsMode,
|
|
27
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
28
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
29
|
+
} from "@aws-sdk/smithy-client";
|
|
30
|
+
import {
|
|
31
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
32
|
+
Credentials as __Credentials,
|
|
33
|
+
Decoder as __Decoder,
|
|
34
|
+
Encoder as __Encoder,
|
|
35
|
+
HashConstructor as __HashConstructor,
|
|
36
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
37
|
+
Logger as __Logger,
|
|
38
|
+
Provider as __Provider,
|
|
39
|
+
Provider,
|
|
40
|
+
RegionInfoProvider,
|
|
41
|
+
StreamCollector as __StreamCollector,
|
|
42
|
+
UrlParser as __UrlParser,
|
|
43
|
+
UserAgent as __UserAgent,
|
|
44
|
+
} from "@aws-sdk/types";
|
|
45
|
+
import {
|
|
46
|
+
AnalyzeDocumentCommandInput,
|
|
47
|
+
AnalyzeDocumentCommandOutput,
|
|
48
|
+
} from "./commands/AnalyzeDocumentCommand";
|
|
49
|
+
import {
|
|
50
|
+
AnalyzeExpenseCommandInput,
|
|
51
|
+
AnalyzeExpenseCommandOutput,
|
|
52
|
+
} from "./commands/AnalyzeExpenseCommand";
|
|
53
|
+
import {
|
|
54
|
+
AnalyzeIDCommandInput,
|
|
55
|
+
AnalyzeIDCommandOutput,
|
|
56
|
+
} from "./commands/AnalyzeIDCommand";
|
|
57
|
+
import {
|
|
58
|
+
DetectDocumentTextCommandInput,
|
|
59
|
+
DetectDocumentTextCommandOutput,
|
|
60
|
+
} from "./commands/DetectDocumentTextCommand";
|
|
61
|
+
import {
|
|
62
|
+
GetDocumentAnalysisCommandInput,
|
|
63
|
+
GetDocumentAnalysisCommandOutput,
|
|
64
|
+
} from "./commands/GetDocumentAnalysisCommand";
|
|
65
|
+
import {
|
|
66
|
+
GetDocumentTextDetectionCommandInput,
|
|
67
|
+
GetDocumentTextDetectionCommandOutput,
|
|
68
|
+
} from "./commands/GetDocumentTextDetectionCommand";
|
|
69
|
+
import {
|
|
70
|
+
GetExpenseAnalysisCommandInput,
|
|
71
|
+
GetExpenseAnalysisCommandOutput,
|
|
72
|
+
} from "./commands/GetExpenseAnalysisCommand";
|
|
73
|
+
import {
|
|
74
|
+
StartDocumentAnalysisCommandInput,
|
|
75
|
+
StartDocumentAnalysisCommandOutput,
|
|
76
|
+
} from "./commands/StartDocumentAnalysisCommand";
|
|
77
|
+
import {
|
|
78
|
+
StartDocumentTextDetectionCommandInput,
|
|
79
|
+
StartDocumentTextDetectionCommandOutput,
|
|
80
|
+
} from "./commands/StartDocumentTextDetectionCommand";
|
|
81
|
+
import {
|
|
82
|
+
StartExpenseAnalysisCommandInput,
|
|
83
|
+
StartExpenseAnalysisCommandOutput,
|
|
84
|
+
} from "./commands/StartExpenseAnalysisCommand";
|
|
85
|
+
export declare type ServiceInputTypes =
|
|
86
|
+
| AnalyzeDocumentCommandInput
|
|
87
|
+
| AnalyzeExpenseCommandInput
|
|
88
|
+
| AnalyzeIDCommandInput
|
|
89
|
+
| DetectDocumentTextCommandInput
|
|
90
|
+
| GetDocumentAnalysisCommandInput
|
|
91
|
+
| GetDocumentTextDetectionCommandInput
|
|
92
|
+
| GetExpenseAnalysisCommandInput
|
|
93
|
+
| StartDocumentAnalysisCommandInput
|
|
94
|
+
| StartDocumentTextDetectionCommandInput
|
|
95
|
+
| StartExpenseAnalysisCommandInput;
|
|
96
|
+
export declare type ServiceOutputTypes =
|
|
97
|
+
| AnalyzeDocumentCommandOutput
|
|
98
|
+
| AnalyzeExpenseCommandOutput
|
|
99
|
+
| AnalyzeIDCommandOutput
|
|
100
|
+
| DetectDocumentTextCommandOutput
|
|
101
|
+
| GetDocumentAnalysisCommandOutput
|
|
102
|
+
| GetDocumentTextDetectionCommandOutput
|
|
103
|
+
| GetExpenseAnalysisCommandOutput
|
|
104
|
+
| StartDocumentAnalysisCommandOutput
|
|
105
|
+
| StartDocumentTextDetectionCommandOutput
|
|
106
|
+
| StartExpenseAnalysisCommandOutput;
|
|
107
|
+
export interface ClientDefaults
|
|
108
|
+
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
109
|
+
requestHandler?: __HttpHandler;
|
|
110
|
+
|
|
111
|
+
sha256?: __HashConstructor;
|
|
112
|
+
|
|
113
|
+
urlParser?: __UrlParser;
|
|
114
|
+
|
|
115
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
116
|
+
|
|
117
|
+
streamCollector?: __StreamCollector;
|
|
118
|
+
|
|
119
|
+
base64Decoder?: __Decoder;
|
|
120
|
+
|
|
121
|
+
base64Encoder?: __Encoder;
|
|
122
|
+
|
|
123
|
+
utf8Decoder?: __Decoder;
|
|
124
|
+
|
|
125
|
+
utf8Encoder?: __Encoder;
|
|
126
|
+
|
|
127
|
+
runtime?: string;
|
|
128
|
+
|
|
129
|
+
disableHostPrefix?: boolean;
|
|
130
|
+
|
|
131
|
+
maxAttempts?: number | __Provider<number>;
|
|
132
|
+
|
|
133
|
+
retryMode?: string | __Provider<string>;
|
|
134
|
+
|
|
135
|
+
logger?: __Logger;
|
|
136
|
+
|
|
137
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
138
|
+
|
|
139
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
140
|
+
|
|
141
|
+
serviceId?: string;
|
|
142
|
+
|
|
143
|
+
region?: string | __Provider<string>;
|
|
144
|
+
|
|
145
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
146
|
+
|
|
147
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
148
|
+
|
|
149
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
150
|
+
|
|
151
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
152
|
+
}
|
|
153
|
+
declare type TextractClientConfigType = Partial<
|
|
154
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
155
|
+
> &
|
|
156
|
+
ClientDefaults &
|
|
157
|
+
RegionInputConfig &
|
|
158
|
+
EndpointsInputConfig &
|
|
159
|
+
RetryInputConfig &
|
|
160
|
+
HostHeaderInputConfig &
|
|
161
|
+
AwsAuthInputConfig &
|
|
162
|
+
UserAgentInputConfig;
|
|
163
|
+
|
|
164
|
+
export interface TextractClientConfig extends TextractClientConfigType {}
|
|
165
|
+
declare type TextractClientResolvedConfigType =
|
|
166
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
167
|
+
Required<ClientDefaults> &
|
|
168
|
+
RegionResolvedConfig &
|
|
169
|
+
EndpointsResolvedConfig &
|
|
170
|
+
RetryResolvedConfig &
|
|
171
|
+
HostHeaderResolvedConfig &
|
|
172
|
+
AwsAuthResolvedConfig &
|
|
173
|
+
UserAgentResolvedConfig;
|
|
174
|
+
|
|
175
|
+
export interface TextractClientResolvedConfig
|
|
176
|
+
extends TextractClientResolvedConfigType {}
|
|
177
|
+
|
|
178
|
+
export declare class TextractClient extends __Client<
|
|
179
|
+
__HttpHandlerOptions,
|
|
180
|
+
ServiceInputTypes,
|
|
181
|
+
ServiceOutputTypes,
|
|
182
|
+
TextractClientResolvedConfig
|
|
183
|
+
> {
|
|
184
|
+
readonly config: TextractClientResolvedConfig;
|
|
185
|
+
constructor(configuration: TextractClientConfig);
|
|
186
|
+
|
|
187
|
+
destroy(): void;
|
|
188
|
+
}
|
|
189
|
+
export {};
|
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
AnalyzeDocumentRequest,
|
|
10
|
+
AnalyzeDocumentResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
TextractClientResolvedConfig,
|
|
16
|
+
} from "../TextractClient";
|
|
17
|
+
export interface AnalyzeDocumentCommandInput extends AnalyzeDocumentRequest {}
|
|
18
|
+
export interface AnalyzeDocumentCommandOutput
|
|
19
|
+
extends AnalyzeDocumentResponse,
|
|
20
|
+
__MetadataBearer {}
|
|
21
|
+
|
|
22
|
+
export declare class AnalyzeDocumentCommand extends $Command<
|
|
23
|
+
AnalyzeDocumentCommandInput,
|
|
24
|
+
AnalyzeDocumentCommandOutput,
|
|
25
|
+
TextractClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: AnalyzeDocumentCommandInput;
|
|
28
|
+
constructor(input: AnalyzeDocumentCommandInput);
|
|
29
|
+
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: TextractClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -1,17 +1,37 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import {
|
|
3
|
+
Handler,
|
|
4
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
5
|
+
MetadataBearer as __MetadataBearer,
|
|
6
|
+
MiddlewareStack,
|
|
7
|
+
} from "@aws-sdk/types";
|
|
8
|
+
import {
|
|
9
|
+
AnalyzeExpenseRequest,
|
|
10
|
+
AnalyzeExpenseResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
import {
|
|
13
|
+
ServiceInputTypes,
|
|
14
|
+
ServiceOutputTypes,
|
|
15
|
+
TextractClientResolvedConfig,
|
|
16
|
+
} from "../TextractClient";
|
|
17
|
+
export interface AnalyzeExpenseCommandInput extends AnalyzeExpenseRequest {}
|
|
18
|
+
export interface AnalyzeExpenseCommandOutput
|
|
19
|
+
extends AnalyzeExpenseResponse,
|
|
20
|
+
__MetadataBearer {}
|
|
21
|
+
|
|
22
|
+
export declare class AnalyzeExpenseCommand extends $Command<
|
|
23
|
+
AnalyzeExpenseCommandInput,
|
|
24
|
+
AnalyzeExpenseCommandOutput,
|
|
25
|
+
TextractClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: AnalyzeExpenseCommandInput;
|
|
28
|
+
constructor(input: AnalyzeExpenseCommandInput);
|
|
29
|
+
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: TextractClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|