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