@aws-sdk/client-textract 3.170.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 +8 -0
- package/dist-types/ts3.4/Textract.d.ts +0 -10
- package/dist-types/ts3.4/TextractClient.d.ts +0 -25
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +0 -2
- package/dist-types/ts3.4/models/TextractServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -203
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- package/package.json +26 -26
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.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
|
+
|
|
6
14
|
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/client-textract
|
|
@@ -40,7 +40,6 @@ import {
|
|
|
40
40
|
StartExpenseAnalysisCommandOutput,
|
|
41
41
|
} from "./commands/StartExpenseAnalysisCommand";
|
|
42
42
|
import { TextractClient } from "./TextractClient";
|
|
43
|
-
|
|
44
43
|
export declare class Textract extends TextractClient {
|
|
45
44
|
analyzeDocument(
|
|
46
45
|
args: AnalyzeDocumentCommandInput,
|
|
@@ -55,7 +54,6 @@ export declare class Textract extends TextractClient {
|
|
|
55
54
|
options: __HttpHandlerOptions,
|
|
56
55
|
cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void
|
|
57
56
|
): void;
|
|
58
|
-
|
|
59
57
|
analyzeExpense(
|
|
60
58
|
args: AnalyzeExpenseCommandInput,
|
|
61
59
|
options?: __HttpHandlerOptions
|
|
@@ -69,7 +67,6 @@ export declare class Textract extends TextractClient {
|
|
|
69
67
|
options: __HttpHandlerOptions,
|
|
70
68
|
cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void
|
|
71
69
|
): void;
|
|
72
|
-
|
|
73
70
|
analyzeID(
|
|
74
71
|
args: AnalyzeIDCommandInput,
|
|
75
72
|
options?: __HttpHandlerOptions
|
|
@@ -83,7 +80,6 @@ export declare class Textract extends TextractClient {
|
|
|
83
80
|
options: __HttpHandlerOptions,
|
|
84
81
|
cb: (err: any, data?: AnalyzeIDCommandOutput) => void
|
|
85
82
|
): void;
|
|
86
|
-
|
|
87
83
|
detectDocumentText(
|
|
88
84
|
args: DetectDocumentTextCommandInput,
|
|
89
85
|
options?: __HttpHandlerOptions
|
|
@@ -97,7 +93,6 @@ export declare class Textract extends TextractClient {
|
|
|
97
93
|
options: __HttpHandlerOptions,
|
|
98
94
|
cb: (err: any, data?: DetectDocumentTextCommandOutput) => void
|
|
99
95
|
): void;
|
|
100
|
-
|
|
101
96
|
getDocumentAnalysis(
|
|
102
97
|
args: GetDocumentAnalysisCommandInput,
|
|
103
98
|
options?: __HttpHandlerOptions
|
|
@@ -111,7 +106,6 @@ export declare class Textract extends TextractClient {
|
|
|
111
106
|
options: __HttpHandlerOptions,
|
|
112
107
|
cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void
|
|
113
108
|
): void;
|
|
114
|
-
|
|
115
109
|
getDocumentTextDetection(
|
|
116
110
|
args: GetDocumentTextDetectionCommandInput,
|
|
117
111
|
options?: __HttpHandlerOptions
|
|
@@ -125,7 +119,6 @@ export declare class Textract extends TextractClient {
|
|
|
125
119
|
options: __HttpHandlerOptions,
|
|
126
120
|
cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void
|
|
127
121
|
): void;
|
|
128
|
-
|
|
129
122
|
getExpenseAnalysis(
|
|
130
123
|
args: GetExpenseAnalysisCommandInput,
|
|
131
124
|
options?: __HttpHandlerOptions
|
|
@@ -139,7 +132,6 @@ export declare class Textract extends TextractClient {
|
|
|
139
132
|
options: __HttpHandlerOptions,
|
|
140
133
|
cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void
|
|
141
134
|
): void;
|
|
142
|
-
|
|
143
135
|
startDocumentAnalysis(
|
|
144
136
|
args: StartDocumentAnalysisCommandInput,
|
|
145
137
|
options?: __HttpHandlerOptions
|
|
@@ -153,7 +145,6 @@ export declare class Textract extends TextractClient {
|
|
|
153
145
|
options: __HttpHandlerOptions,
|
|
154
146
|
cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void
|
|
155
147
|
): void;
|
|
156
|
-
|
|
157
148
|
startDocumentTextDetection(
|
|
158
149
|
args: StartDocumentTextDetectionCommandInput,
|
|
159
150
|
options?: __HttpHandlerOptions
|
|
@@ -167,7 +158,6 @@ export declare class Textract extends TextractClient {
|
|
|
167
158
|
options: __HttpHandlerOptions,
|
|
168
159
|
cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void
|
|
169
160
|
): void;
|
|
170
|
-
|
|
171
161
|
startExpenseAnalysis(
|
|
172
162
|
args: StartExpenseAnalysisCommandInput,
|
|
173
163
|
options?: __HttpHandlerOptions
|
|
@@ -107,47 +107,26 @@ export declare type ServiceOutputTypes =
|
|
|
107
107
|
export interface ClientDefaults
|
|
108
108
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
109
109
|
requestHandler?: __HttpHandler;
|
|
110
|
-
|
|
111
110
|
sha256?: __HashConstructor;
|
|
112
|
-
|
|
113
111
|
urlParser?: __UrlParser;
|
|
114
|
-
|
|
115
112
|
bodyLengthChecker?: __BodyLengthCalculator;
|
|
116
|
-
|
|
117
113
|
streamCollector?: __StreamCollector;
|
|
118
|
-
|
|
119
114
|
base64Decoder?: __Decoder;
|
|
120
|
-
|
|
121
115
|
base64Encoder?: __Encoder;
|
|
122
|
-
|
|
123
116
|
utf8Decoder?: __Decoder;
|
|
124
|
-
|
|
125
117
|
utf8Encoder?: __Encoder;
|
|
126
|
-
|
|
127
118
|
runtime?: string;
|
|
128
|
-
|
|
129
119
|
disableHostPrefix?: boolean;
|
|
130
|
-
|
|
131
120
|
maxAttempts?: number | __Provider<number>;
|
|
132
|
-
|
|
133
121
|
retryMode?: string | __Provider<string>;
|
|
134
|
-
|
|
135
122
|
logger?: __Logger;
|
|
136
|
-
|
|
137
123
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
138
|
-
|
|
139
124
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
140
|
-
|
|
141
125
|
serviceId?: string;
|
|
142
|
-
|
|
143
126
|
region?: string | __Provider<string>;
|
|
144
|
-
|
|
145
127
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
146
|
-
|
|
147
128
|
regionInfoProvider?: RegionInfoProvider;
|
|
148
|
-
|
|
149
129
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
150
|
-
|
|
151
130
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
152
131
|
}
|
|
153
132
|
declare type TextractClientConfigType = Partial<
|
|
@@ -160,7 +139,6 @@ declare type TextractClientConfigType = Partial<
|
|
|
160
139
|
HostHeaderInputConfig &
|
|
161
140
|
AwsAuthInputConfig &
|
|
162
141
|
UserAgentInputConfig;
|
|
163
|
-
|
|
164
142
|
export interface TextractClientConfig extends TextractClientConfigType {}
|
|
165
143
|
declare type TextractClientResolvedConfigType =
|
|
166
144
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
@@ -171,10 +149,8 @@ declare type TextractClientResolvedConfigType =
|
|
|
171
149
|
HostHeaderResolvedConfig &
|
|
172
150
|
AwsAuthResolvedConfig &
|
|
173
151
|
UserAgentResolvedConfig;
|
|
174
|
-
|
|
175
152
|
export interface TextractClientResolvedConfig
|
|
176
153
|
extends TextractClientResolvedConfigType {}
|
|
177
|
-
|
|
178
154
|
export declare class TextractClient extends __Client<
|
|
179
155
|
__HttpHandlerOptions,
|
|
180
156
|
ServiceInputTypes,
|
|
@@ -183,7 +159,6 @@ export declare class TextractClient extends __Client<
|
|
|
183
159
|
> {
|
|
184
160
|
readonly config: TextractClientResolvedConfig;
|
|
185
161
|
constructor(configuration: TextractClientConfig);
|
|
186
|
-
|
|
187
162
|
destroy(): void;
|
|
188
163
|
}
|
|
189
164
|
export {};
|
|
@@ -18,7 +18,6 @@ export interface AnalyzeDocumentCommandInput extends AnalyzeDocumentRequest {}
|
|
|
18
18
|
export interface AnalyzeDocumentCommandOutput
|
|
19
19
|
extends AnalyzeDocumentResponse,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class AnalyzeDocumentCommand extends $Command<
|
|
23
22
|
AnalyzeDocumentCommandInput,
|
|
24
23
|
AnalyzeDocumentCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class AnalyzeDocumentCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: AnalyzeDocumentCommandInput;
|
|
28
27
|
constructor(input: AnalyzeDocumentCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: TextractClientResolvedConfig,
|
|
@@ -18,7 +18,6 @@ export interface AnalyzeExpenseCommandInput extends AnalyzeExpenseRequest {}
|
|
|
18
18
|
export interface AnalyzeExpenseCommandOutput
|
|
19
19
|
extends AnalyzeExpenseResponse,
|
|
20
20
|
__MetadataBearer {}
|
|
21
|
-
|
|
22
21
|
export declare class AnalyzeExpenseCommand extends $Command<
|
|
23
22
|
AnalyzeExpenseCommandInput,
|
|
24
23
|
AnalyzeExpenseCommandOutput,
|
|
@@ -26,7 +25,6 @@ export declare class AnalyzeExpenseCommand extends $Command<
|
|
|
26
25
|
> {
|
|
27
26
|
readonly input: AnalyzeExpenseCommandInput;
|
|
28
27
|
constructor(input: AnalyzeExpenseCommandInput);
|
|
29
|
-
|
|
30
28
|
resolveMiddleware(
|
|
31
29
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
30
|
configuration: TextractClientResolvedConfig,
|
|
@@ -15,7 +15,6 @@ export interface AnalyzeIDCommandInput extends AnalyzeIDRequest {}
|
|
|
15
15
|
export interface AnalyzeIDCommandOutput
|
|
16
16
|
extends AnalyzeIDResponse,
|
|
17
17
|
__MetadataBearer {}
|
|
18
|
-
|
|
19
18
|
export declare class AnalyzeIDCommand extends $Command<
|
|
20
19
|
AnalyzeIDCommandInput,
|
|
21
20
|
AnalyzeIDCommandOutput,
|
|
@@ -23,7 +22,6 @@ export declare class AnalyzeIDCommand extends $Command<
|
|
|
23
22
|
> {
|
|
24
23
|
readonly input: AnalyzeIDCommandInput;
|
|
25
24
|
constructor(input: AnalyzeIDCommandInput);
|
|
26
|
-
|
|
27
25
|
resolveMiddleware(
|
|
28
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
29
27
|
configuration: TextractClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface DetectDocumentTextCommandInput
|
|
|
19
19
|
export interface DetectDocumentTextCommandOutput
|
|
20
20
|
extends DetectDocumentTextResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class DetectDocumentTextCommand extends $Command<
|
|
24
23
|
DetectDocumentTextCommandInput,
|
|
25
24
|
DetectDocumentTextCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class DetectDocumentTextCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: DetectDocumentTextCommandInput;
|
|
29
28
|
constructor(input: DetectDocumentTextCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TextractClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface GetDocumentAnalysisCommandInput
|
|
|
19
19
|
export interface GetDocumentAnalysisCommandOutput
|
|
20
20
|
extends GetDocumentAnalysisResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class GetDocumentAnalysisCommand extends $Command<
|
|
24
23
|
GetDocumentAnalysisCommandInput,
|
|
25
24
|
GetDocumentAnalysisCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class GetDocumentAnalysisCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: GetDocumentAnalysisCommandInput;
|
|
29
28
|
constructor(input: GetDocumentAnalysisCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TextractClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface GetDocumentTextDetectionCommandInput
|
|
|
19
19
|
export interface GetDocumentTextDetectionCommandOutput
|
|
20
20
|
extends GetDocumentTextDetectionResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class GetDocumentTextDetectionCommand extends $Command<
|
|
24
23
|
GetDocumentTextDetectionCommandInput,
|
|
25
24
|
GetDocumentTextDetectionCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class GetDocumentTextDetectionCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: GetDocumentTextDetectionCommandInput;
|
|
29
28
|
constructor(input: GetDocumentTextDetectionCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TextractClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface GetExpenseAnalysisCommandInput
|
|
|
19
19
|
export interface GetExpenseAnalysisCommandOutput
|
|
20
20
|
extends GetExpenseAnalysisResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class GetExpenseAnalysisCommand extends $Command<
|
|
24
23
|
GetExpenseAnalysisCommandInput,
|
|
25
24
|
GetExpenseAnalysisCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class GetExpenseAnalysisCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: GetExpenseAnalysisCommandInput;
|
|
29
28
|
constructor(input: GetExpenseAnalysisCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TextractClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface StartDocumentAnalysisCommandInput
|
|
|
19
19
|
export interface StartDocumentAnalysisCommandOutput
|
|
20
20
|
extends StartDocumentAnalysisResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class StartDocumentAnalysisCommand extends $Command<
|
|
24
23
|
StartDocumentAnalysisCommandInput,
|
|
25
24
|
StartDocumentAnalysisCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class StartDocumentAnalysisCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: StartDocumentAnalysisCommandInput;
|
|
29
28
|
constructor(input: StartDocumentAnalysisCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TextractClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface StartDocumentTextDetectionCommandInput
|
|
|
19
19
|
export interface StartDocumentTextDetectionCommandOutput
|
|
20
20
|
extends StartDocumentTextDetectionResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class StartDocumentTextDetectionCommand extends $Command<
|
|
24
23
|
StartDocumentTextDetectionCommandInput,
|
|
25
24
|
StartDocumentTextDetectionCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class StartDocumentTextDetectionCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: StartDocumentTextDetectionCommandInput;
|
|
29
28
|
constructor(input: StartDocumentTextDetectionCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TextractClientResolvedConfig,
|
|
@@ -19,7 +19,6 @@ export interface StartExpenseAnalysisCommandInput
|
|
|
19
19
|
export interface StartExpenseAnalysisCommandOutput
|
|
20
20
|
extends StartExpenseAnalysisResponse,
|
|
21
21
|
__MetadataBearer {}
|
|
22
|
-
|
|
23
22
|
export declare class StartExpenseAnalysisCommand extends $Command<
|
|
24
23
|
StartExpenseAnalysisCommandInput,
|
|
25
24
|
StartExpenseAnalysisCommandOutput,
|
|
@@ -27,7 +26,6 @@ export declare class StartExpenseAnalysisCommand extends $Command<
|
|
|
27
26
|
> {
|
|
28
27
|
readonly input: StartExpenseAnalysisCommandInput;
|
|
29
28
|
constructor(input: StartExpenseAnalysisCommandInput);
|
|
30
|
-
|
|
31
29
|
resolveMiddleware(
|
|
32
30
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
31
|
configuration: TextractClientResolvedConfig,
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
-
|
|
6
5
|
export declare class TextractServiceException extends __ServiceException {
|
|
7
6
|
constructor(options: __ServiceExceptionOptions);
|
|
8
7
|
}
|
|
@@ -3,29 +3,22 @@ import {
|
|
|
3
3
|
LazyJsonString as __LazyJsonString,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
5
|
import { TextractServiceException as __BaseException } from "./TextractServiceException";
|
|
6
|
-
|
|
7
6
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
7
|
readonly name: "AccessDeniedException";
|
|
9
8
|
readonly $fault: "client";
|
|
10
9
|
Message?: string;
|
|
11
10
|
Code?: string;
|
|
12
|
-
|
|
13
11
|
constructor(
|
|
14
12
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
15
13
|
);
|
|
16
14
|
}
|
|
17
|
-
|
|
18
15
|
export interface S3Object {
|
|
19
16
|
Bucket?: string;
|
|
20
|
-
|
|
21
17
|
Name?: string;
|
|
22
|
-
|
|
23
18
|
Version?: string;
|
|
24
19
|
}
|
|
25
|
-
|
|
26
20
|
export interface Document {
|
|
27
21
|
Bytes?: Uint8Array;
|
|
28
|
-
|
|
29
22
|
S3Object?: S3Object;
|
|
30
23
|
}
|
|
31
24
|
export declare enum FeatureType {
|
|
@@ -37,37 +30,26 @@ export declare enum ContentClassifier {
|
|
|
37
30
|
FREE_OF_ADULT_CONTENT = "FreeOfAdultContent",
|
|
38
31
|
FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION = "FreeOfPersonallyIdentifiableInformation",
|
|
39
32
|
}
|
|
40
|
-
|
|
41
33
|
export interface HumanLoopDataAttributes {
|
|
42
34
|
ContentClassifiers?: (ContentClassifier | string)[];
|
|
43
35
|
}
|
|
44
|
-
|
|
45
36
|
export interface HumanLoopConfig {
|
|
46
37
|
HumanLoopName: string | undefined;
|
|
47
|
-
|
|
48
38
|
FlowDefinitionArn: string | undefined;
|
|
49
|
-
|
|
50
39
|
DataAttributes?: HumanLoopDataAttributes;
|
|
51
40
|
}
|
|
52
|
-
|
|
53
41
|
export interface Query {
|
|
54
42
|
Text: string | undefined;
|
|
55
|
-
|
|
56
43
|
Alias?: string;
|
|
57
|
-
|
|
58
44
|
Pages?: string[];
|
|
59
45
|
}
|
|
60
|
-
|
|
61
46
|
export interface QueriesConfig {
|
|
62
47
|
Queries: Query[] | undefined;
|
|
63
48
|
}
|
|
64
49
|
export interface AnalyzeDocumentRequest {
|
|
65
50
|
Document: Document | undefined;
|
|
66
|
-
|
|
67
51
|
FeatureTypes: (FeatureType | string)[] | undefined;
|
|
68
|
-
|
|
69
52
|
HumanLoopConfig?: HumanLoopConfig;
|
|
70
|
-
|
|
71
53
|
QueriesConfig?: QueriesConfig;
|
|
72
54
|
}
|
|
73
55
|
export declare enum BlockType {
|
|
@@ -88,26 +70,18 @@ export declare enum EntityType {
|
|
|
88
70
|
KEY = "KEY",
|
|
89
71
|
VALUE = "VALUE",
|
|
90
72
|
}
|
|
91
|
-
|
|
92
73
|
export interface BoundingBox {
|
|
93
74
|
Width?: number;
|
|
94
|
-
|
|
95
75
|
Height?: number;
|
|
96
|
-
|
|
97
76
|
Left?: number;
|
|
98
|
-
|
|
99
77
|
Top?: number;
|
|
100
78
|
}
|
|
101
|
-
|
|
102
79
|
export interface Point {
|
|
103
80
|
X?: number;
|
|
104
|
-
|
|
105
81
|
Y?: number;
|
|
106
82
|
}
|
|
107
|
-
|
|
108
83
|
export interface Geometry {
|
|
109
84
|
BoundingBox?: BoundingBox;
|
|
110
|
-
|
|
111
85
|
Polygon?: Point[];
|
|
112
86
|
}
|
|
113
87
|
export declare enum RelationshipType {
|
|
@@ -118,10 +92,8 @@ export declare enum RelationshipType {
|
|
|
118
92
|
TITLE = "TITLE",
|
|
119
93
|
VALUE = "VALUE",
|
|
120
94
|
}
|
|
121
|
-
|
|
122
95
|
export interface Relationship {
|
|
123
96
|
Type?: RelationshipType | string;
|
|
124
|
-
|
|
125
97
|
Ids?: string[];
|
|
126
98
|
}
|
|
127
99
|
export declare enum SelectionStatus {
|
|
@@ -132,94 +104,63 @@ export declare enum TextType {
|
|
|
132
104
|
HANDWRITING = "HANDWRITING",
|
|
133
105
|
PRINTED = "PRINTED",
|
|
134
106
|
}
|
|
135
|
-
|
|
136
107
|
export interface Block {
|
|
137
108
|
BlockType?: BlockType | string;
|
|
138
|
-
|
|
139
109
|
Confidence?: number;
|
|
140
|
-
|
|
141
110
|
Text?: string;
|
|
142
|
-
|
|
143
111
|
TextType?: TextType | string;
|
|
144
|
-
|
|
145
112
|
RowIndex?: number;
|
|
146
|
-
|
|
147
113
|
ColumnIndex?: number;
|
|
148
|
-
|
|
149
114
|
RowSpan?: number;
|
|
150
|
-
|
|
151
115
|
ColumnSpan?: number;
|
|
152
|
-
|
|
153
116
|
Geometry?: Geometry;
|
|
154
|
-
|
|
155
117
|
Id?: string;
|
|
156
|
-
|
|
157
118
|
Relationships?: Relationship[];
|
|
158
|
-
|
|
159
119
|
EntityTypes?: (EntityType | string)[];
|
|
160
|
-
|
|
161
120
|
SelectionStatus?: SelectionStatus | string;
|
|
162
|
-
|
|
163
121
|
Page?: number;
|
|
164
|
-
|
|
165
122
|
Query?: Query;
|
|
166
123
|
}
|
|
167
|
-
|
|
168
124
|
export interface DocumentMetadata {
|
|
169
125
|
Pages?: number;
|
|
170
126
|
}
|
|
171
|
-
|
|
172
127
|
export interface HumanLoopActivationOutput {
|
|
173
128
|
HumanLoopArn?: string;
|
|
174
|
-
|
|
175
129
|
HumanLoopActivationReasons?: string[];
|
|
176
|
-
|
|
177
130
|
HumanLoopActivationConditionsEvaluationResults?: __LazyJsonString | string;
|
|
178
131
|
}
|
|
179
132
|
export interface AnalyzeDocumentResponse {
|
|
180
133
|
DocumentMetadata?: DocumentMetadata;
|
|
181
|
-
|
|
182
134
|
Blocks?: Block[];
|
|
183
|
-
|
|
184
135
|
HumanLoopActivationOutput?: HumanLoopActivationOutput;
|
|
185
|
-
|
|
186
136
|
AnalyzeDocumentModelVersion?: string;
|
|
187
137
|
}
|
|
188
|
-
|
|
189
138
|
export declare class BadDocumentException extends __BaseException {
|
|
190
139
|
readonly name: "BadDocumentException";
|
|
191
140
|
readonly $fault: "client";
|
|
192
141
|
Message?: string;
|
|
193
142
|
Code?: string;
|
|
194
|
-
|
|
195
143
|
constructor(
|
|
196
144
|
opts: __ExceptionOptionType<BadDocumentException, __BaseException>
|
|
197
145
|
);
|
|
198
146
|
}
|
|
199
|
-
|
|
200
147
|
export declare class DocumentTooLargeException extends __BaseException {
|
|
201
148
|
readonly name: "DocumentTooLargeException";
|
|
202
149
|
readonly $fault: "client";
|
|
203
150
|
Message?: string;
|
|
204
151
|
Code?: string;
|
|
205
|
-
|
|
206
152
|
constructor(
|
|
207
153
|
opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>
|
|
208
154
|
);
|
|
209
155
|
}
|
|
210
|
-
|
|
211
156
|
export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
212
157
|
readonly name: "HumanLoopQuotaExceededException";
|
|
213
158
|
readonly $fault: "client";
|
|
214
|
-
|
|
215
159
|
ResourceType?: string;
|
|
216
|
-
|
|
217
160
|
QuotaCode?: string;
|
|
218
|
-
|
|
219
161
|
ServiceCode?: string;
|
|
220
162
|
Message?: string;
|
|
221
163
|
Code?: string;
|
|
222
|
-
|
|
223
164
|
constructor(
|
|
224
165
|
opts: __ExceptionOptionType<
|
|
225
166
|
HumanLoopQuotaExceededException,
|
|
@@ -227,46 +168,38 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
227
168
|
>
|
|
228
169
|
);
|
|
229
170
|
}
|
|
230
|
-
|
|
231
171
|
export declare class InternalServerError extends __BaseException {
|
|
232
172
|
readonly name: "InternalServerError";
|
|
233
173
|
readonly $fault: "server";
|
|
234
174
|
Message?: string;
|
|
235
175
|
Code?: string;
|
|
236
|
-
|
|
237
176
|
constructor(
|
|
238
177
|
opts: __ExceptionOptionType<InternalServerError, __BaseException>
|
|
239
178
|
);
|
|
240
179
|
}
|
|
241
|
-
|
|
242
180
|
export declare class InvalidParameterException extends __BaseException {
|
|
243
181
|
readonly name: "InvalidParameterException";
|
|
244
182
|
readonly $fault: "client";
|
|
245
183
|
Message?: string;
|
|
246
184
|
Code?: string;
|
|
247
|
-
|
|
248
185
|
constructor(
|
|
249
186
|
opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
|
|
250
187
|
);
|
|
251
188
|
}
|
|
252
|
-
|
|
253
189
|
export declare class InvalidS3ObjectException extends __BaseException {
|
|
254
190
|
readonly name: "InvalidS3ObjectException";
|
|
255
191
|
readonly $fault: "client";
|
|
256
192
|
Message?: string;
|
|
257
193
|
Code?: string;
|
|
258
|
-
|
|
259
194
|
constructor(
|
|
260
195
|
opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>
|
|
261
196
|
);
|
|
262
197
|
}
|
|
263
|
-
|
|
264
198
|
export declare class ProvisionedThroughputExceededException extends __BaseException {
|
|
265
199
|
readonly name: "ProvisionedThroughputExceededException";
|
|
266
200
|
readonly $fault: "client";
|
|
267
201
|
Message?: string;
|
|
268
202
|
Code?: string;
|
|
269
|
-
|
|
270
203
|
constructor(
|
|
271
204
|
opts: __ExceptionOptionType<
|
|
272
205
|
ProvisionedThroughputExceededException,
|
|
@@ -274,24 +207,20 @@ export declare class ProvisionedThroughputExceededException extends __BaseExcept
|
|
|
274
207
|
>
|
|
275
208
|
);
|
|
276
209
|
}
|
|
277
|
-
|
|
278
210
|
export declare class ThrottlingException extends __BaseException {
|
|
279
211
|
readonly name: "ThrottlingException";
|
|
280
212
|
readonly $fault: "server";
|
|
281
213
|
Message?: string;
|
|
282
214
|
Code?: string;
|
|
283
|
-
|
|
284
215
|
constructor(
|
|
285
216
|
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
286
217
|
);
|
|
287
218
|
}
|
|
288
|
-
|
|
289
219
|
export declare class UnsupportedDocumentException extends __BaseException {
|
|
290
220
|
readonly name: "UnsupportedDocumentException";
|
|
291
221
|
readonly $fault: "client";
|
|
292
222
|
Message?: string;
|
|
293
223
|
Code?: string;
|
|
294
|
-
|
|
295
224
|
constructor(
|
|
296
225
|
opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>
|
|
297
226
|
);
|
|
@@ -299,51 +228,35 @@ export declare class UnsupportedDocumentException extends __BaseException {
|
|
|
299
228
|
export interface AnalyzeExpenseRequest {
|
|
300
229
|
Document: Document | undefined;
|
|
301
230
|
}
|
|
302
|
-
|
|
303
231
|
export interface ExpenseDetection {
|
|
304
232
|
Text?: string;
|
|
305
|
-
|
|
306
233
|
Geometry?: Geometry;
|
|
307
|
-
|
|
308
234
|
Confidence?: number;
|
|
309
235
|
}
|
|
310
|
-
|
|
311
236
|
export interface ExpenseType {
|
|
312
237
|
Text?: string;
|
|
313
|
-
|
|
314
238
|
Confidence?: number;
|
|
315
239
|
}
|
|
316
|
-
|
|
317
240
|
export interface ExpenseField {
|
|
318
241
|
Type?: ExpenseType;
|
|
319
|
-
|
|
320
242
|
LabelDetection?: ExpenseDetection;
|
|
321
|
-
|
|
322
243
|
ValueDetection?: ExpenseDetection;
|
|
323
|
-
|
|
324
244
|
PageNumber?: number;
|
|
325
245
|
}
|
|
326
|
-
|
|
327
246
|
export interface LineItemFields {
|
|
328
247
|
LineItemExpenseFields?: ExpenseField[];
|
|
329
248
|
}
|
|
330
|
-
|
|
331
249
|
export interface LineItemGroup {
|
|
332
250
|
LineItemGroupIndex?: number;
|
|
333
|
-
|
|
334
251
|
LineItems?: LineItemFields[];
|
|
335
252
|
}
|
|
336
|
-
|
|
337
253
|
export interface ExpenseDocument {
|
|
338
254
|
ExpenseIndex?: number;
|
|
339
|
-
|
|
340
255
|
SummaryFields?: ExpenseField[];
|
|
341
|
-
|
|
342
256
|
LineItemGroups?: LineItemGroup[];
|
|
343
257
|
}
|
|
344
258
|
export interface AnalyzeExpenseResponse {
|
|
345
259
|
DocumentMetadata?: DocumentMetadata;
|
|
346
|
-
|
|
347
260
|
ExpenseDocuments?: ExpenseDocument[];
|
|
348
261
|
}
|
|
349
262
|
export interface AnalyzeIDRequest {
|
|
@@ -352,37 +265,26 @@ export interface AnalyzeIDRequest {
|
|
|
352
265
|
export declare enum ValueType {
|
|
353
266
|
DATE = "DATE",
|
|
354
267
|
}
|
|
355
|
-
|
|
356
268
|
export interface NormalizedValue {
|
|
357
269
|
Value?: string;
|
|
358
|
-
|
|
359
270
|
ValueType?: ValueType | string;
|
|
360
271
|
}
|
|
361
|
-
|
|
362
272
|
export interface AnalyzeIDDetections {
|
|
363
273
|
Text: string | undefined;
|
|
364
|
-
|
|
365
274
|
NormalizedValue?: NormalizedValue;
|
|
366
|
-
|
|
367
275
|
Confidence?: number;
|
|
368
276
|
}
|
|
369
|
-
|
|
370
277
|
export interface IdentityDocumentField {
|
|
371
278
|
Type?: AnalyzeIDDetections;
|
|
372
|
-
|
|
373
279
|
ValueDetection?: AnalyzeIDDetections;
|
|
374
280
|
}
|
|
375
|
-
|
|
376
281
|
export interface IdentityDocument {
|
|
377
282
|
DocumentIndex?: number;
|
|
378
|
-
|
|
379
283
|
IdentityDocumentFields?: IdentityDocumentField[];
|
|
380
284
|
}
|
|
381
285
|
export interface AnalyzeIDResponse {
|
|
382
286
|
IdentityDocuments?: IdentityDocument[];
|
|
383
|
-
|
|
384
287
|
DocumentMetadata?: DocumentMetadata;
|
|
385
|
-
|
|
386
288
|
AnalyzeIDModelVersion?: string;
|
|
387
289
|
}
|
|
388
290
|
export interface DetectDocumentTextRequest {
|
|
@@ -390,20 +292,15 @@ export interface DetectDocumentTextRequest {
|
|
|
390
292
|
}
|
|
391
293
|
export interface DetectDocumentTextResponse {
|
|
392
294
|
DocumentMetadata?: DocumentMetadata;
|
|
393
|
-
|
|
394
295
|
Blocks?: Block[];
|
|
395
|
-
|
|
396
296
|
DetectDocumentTextModelVersion?: string;
|
|
397
297
|
}
|
|
398
|
-
|
|
399
298
|
export interface DocumentLocation {
|
|
400
299
|
S3Object?: S3Object;
|
|
401
300
|
}
|
|
402
301
|
export interface GetDocumentAnalysisRequest {
|
|
403
302
|
JobId: string | undefined;
|
|
404
|
-
|
|
405
303
|
MaxResults?: number;
|
|
406
|
-
|
|
407
304
|
NextToken?: string;
|
|
408
305
|
}
|
|
409
306
|
export declare enum JobStatus {
|
|
@@ -412,100 +309,70 @@ export declare enum JobStatus {
|
|
|
412
309
|
PARTIAL_SUCCESS = "PARTIAL_SUCCESS",
|
|
413
310
|
SUCCEEDED = "SUCCEEDED",
|
|
414
311
|
}
|
|
415
|
-
|
|
416
312
|
export interface Warning {
|
|
417
313
|
ErrorCode?: string;
|
|
418
|
-
|
|
419
314
|
Pages?: number[];
|
|
420
315
|
}
|
|
421
316
|
export interface GetDocumentAnalysisResponse {
|
|
422
317
|
DocumentMetadata?: DocumentMetadata;
|
|
423
|
-
|
|
424
318
|
JobStatus?: JobStatus | string;
|
|
425
|
-
|
|
426
319
|
NextToken?: string;
|
|
427
|
-
|
|
428
320
|
Blocks?: Block[];
|
|
429
|
-
|
|
430
321
|
Warnings?: Warning[];
|
|
431
|
-
|
|
432
322
|
StatusMessage?: string;
|
|
433
|
-
|
|
434
323
|
AnalyzeDocumentModelVersion?: string;
|
|
435
324
|
}
|
|
436
|
-
|
|
437
325
|
export declare class InvalidJobIdException extends __BaseException {
|
|
438
326
|
readonly name: "InvalidJobIdException";
|
|
439
327
|
readonly $fault: "client";
|
|
440
328
|
Message?: string;
|
|
441
329
|
Code?: string;
|
|
442
|
-
|
|
443
330
|
constructor(
|
|
444
331
|
opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>
|
|
445
332
|
);
|
|
446
333
|
}
|
|
447
|
-
|
|
448
334
|
export declare class InvalidKMSKeyException extends __BaseException {
|
|
449
335
|
readonly name: "InvalidKMSKeyException";
|
|
450
336
|
readonly $fault: "client";
|
|
451
337
|
Message?: string;
|
|
452
338
|
Code?: string;
|
|
453
|
-
|
|
454
339
|
constructor(
|
|
455
340
|
opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>
|
|
456
341
|
);
|
|
457
342
|
}
|
|
458
343
|
export interface GetDocumentTextDetectionRequest {
|
|
459
344
|
JobId: string | undefined;
|
|
460
|
-
|
|
461
345
|
MaxResults?: number;
|
|
462
|
-
|
|
463
346
|
NextToken?: string;
|
|
464
347
|
}
|
|
465
348
|
export interface GetDocumentTextDetectionResponse {
|
|
466
349
|
DocumentMetadata?: DocumentMetadata;
|
|
467
|
-
|
|
468
350
|
JobStatus?: JobStatus | string;
|
|
469
|
-
|
|
470
351
|
NextToken?: string;
|
|
471
|
-
|
|
472
352
|
Blocks?: Block[];
|
|
473
|
-
|
|
474
353
|
Warnings?: Warning[];
|
|
475
|
-
|
|
476
354
|
StatusMessage?: string;
|
|
477
|
-
|
|
478
355
|
DetectDocumentTextModelVersion?: string;
|
|
479
356
|
}
|
|
480
357
|
export interface GetExpenseAnalysisRequest {
|
|
481
358
|
JobId: string | undefined;
|
|
482
|
-
|
|
483
359
|
MaxResults?: number;
|
|
484
|
-
|
|
485
360
|
NextToken?: string;
|
|
486
361
|
}
|
|
487
362
|
export interface GetExpenseAnalysisResponse {
|
|
488
363
|
DocumentMetadata?: DocumentMetadata;
|
|
489
|
-
|
|
490
364
|
JobStatus?: JobStatus | string;
|
|
491
|
-
|
|
492
365
|
NextToken?: string;
|
|
493
|
-
|
|
494
366
|
ExpenseDocuments?: ExpenseDocument[];
|
|
495
|
-
|
|
496
367
|
Warnings?: Warning[];
|
|
497
|
-
|
|
498
368
|
StatusMessage?: string;
|
|
499
|
-
|
|
500
369
|
AnalyzeExpenseModelVersion?: string;
|
|
501
370
|
}
|
|
502
|
-
|
|
503
371
|
export declare class IdempotentParameterMismatchException extends __BaseException {
|
|
504
372
|
readonly name: "IdempotentParameterMismatchException";
|
|
505
373
|
readonly $fault: "client";
|
|
506
374
|
Message?: string;
|
|
507
375
|
Code?: string;
|
|
508
|
-
|
|
509
376
|
constructor(
|
|
510
377
|
opts: __ExceptionOptionType<
|
|
511
378
|
IdempotentParameterMismatchException,
|
|
@@ -513,44 +380,31 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
|
|
|
513
380
|
>
|
|
514
381
|
);
|
|
515
382
|
}
|
|
516
|
-
|
|
517
383
|
export declare class LimitExceededException extends __BaseException {
|
|
518
384
|
readonly name: "LimitExceededException";
|
|
519
385
|
readonly $fault: "client";
|
|
520
386
|
Message?: string;
|
|
521
387
|
Code?: string;
|
|
522
|
-
|
|
523
388
|
constructor(
|
|
524
389
|
opts: __ExceptionOptionType<LimitExceededException, __BaseException>
|
|
525
390
|
);
|
|
526
391
|
}
|
|
527
|
-
|
|
528
392
|
export interface NotificationChannel {
|
|
529
393
|
SNSTopicArn: string | undefined;
|
|
530
|
-
|
|
531
394
|
RoleArn: string | undefined;
|
|
532
395
|
}
|
|
533
|
-
|
|
534
396
|
export interface OutputConfig {
|
|
535
397
|
S3Bucket: string | undefined;
|
|
536
|
-
|
|
537
398
|
S3Prefix?: string;
|
|
538
399
|
}
|
|
539
400
|
export interface StartDocumentAnalysisRequest {
|
|
540
401
|
DocumentLocation: DocumentLocation | undefined;
|
|
541
|
-
|
|
542
402
|
FeatureTypes: (FeatureType | string)[] | undefined;
|
|
543
|
-
|
|
544
403
|
ClientRequestToken?: string;
|
|
545
|
-
|
|
546
404
|
JobTag?: string;
|
|
547
|
-
|
|
548
405
|
NotificationChannel?: NotificationChannel;
|
|
549
|
-
|
|
550
406
|
OutputConfig?: OutputConfig;
|
|
551
|
-
|
|
552
407
|
KMSKeyId?: string;
|
|
553
|
-
|
|
554
408
|
QueriesConfig?: QueriesConfig;
|
|
555
409
|
}
|
|
556
410
|
export interface StartDocumentAnalysisResponse {
|
|
@@ -558,15 +412,10 @@ export interface StartDocumentAnalysisResponse {
|
|
|
558
412
|
}
|
|
559
413
|
export interface StartDocumentTextDetectionRequest {
|
|
560
414
|
DocumentLocation: DocumentLocation | undefined;
|
|
561
|
-
|
|
562
415
|
ClientRequestToken?: string;
|
|
563
|
-
|
|
564
416
|
JobTag?: string;
|
|
565
|
-
|
|
566
417
|
NotificationChannel?: NotificationChannel;
|
|
567
|
-
|
|
568
418
|
OutputConfig?: OutputConfig;
|
|
569
|
-
|
|
570
419
|
KMSKeyId?: string;
|
|
571
420
|
}
|
|
572
421
|
export interface StartDocumentTextDetectionResponse {
|
|
@@ -574,181 +423,129 @@ export interface StartDocumentTextDetectionResponse {
|
|
|
574
423
|
}
|
|
575
424
|
export interface StartExpenseAnalysisRequest {
|
|
576
425
|
DocumentLocation: DocumentLocation | undefined;
|
|
577
|
-
|
|
578
426
|
ClientRequestToken?: string;
|
|
579
|
-
|
|
580
427
|
JobTag?: string;
|
|
581
|
-
|
|
582
428
|
NotificationChannel?: NotificationChannel;
|
|
583
|
-
|
|
584
429
|
OutputConfig?: OutputConfig;
|
|
585
|
-
|
|
586
430
|
KMSKeyId?: string;
|
|
587
431
|
}
|
|
588
432
|
export interface StartExpenseAnalysisResponse {
|
|
589
433
|
JobId?: string;
|
|
590
434
|
}
|
|
591
|
-
|
|
592
435
|
export declare const S3ObjectFilterSensitiveLog: (obj: S3Object) => any;
|
|
593
|
-
|
|
594
436
|
export declare const DocumentFilterSensitiveLog: (obj: Document) => any;
|
|
595
|
-
|
|
596
437
|
export declare const HumanLoopDataAttributesFilterSensitiveLog: (
|
|
597
438
|
obj: HumanLoopDataAttributes
|
|
598
439
|
) => any;
|
|
599
|
-
|
|
600
440
|
export declare const HumanLoopConfigFilterSensitiveLog: (
|
|
601
441
|
obj: HumanLoopConfig
|
|
602
442
|
) => any;
|
|
603
|
-
|
|
604
443
|
export declare const QueryFilterSensitiveLog: (obj: Query) => any;
|
|
605
|
-
|
|
606
444
|
export declare const QueriesConfigFilterSensitiveLog: (
|
|
607
445
|
obj: QueriesConfig
|
|
608
446
|
) => any;
|
|
609
|
-
|
|
610
447
|
export declare const AnalyzeDocumentRequestFilterSensitiveLog: (
|
|
611
448
|
obj: AnalyzeDocumentRequest
|
|
612
449
|
) => any;
|
|
613
|
-
|
|
614
450
|
export declare const BoundingBoxFilterSensitiveLog: (obj: BoundingBox) => any;
|
|
615
|
-
|
|
616
451
|
export declare const PointFilterSensitiveLog: (obj: Point) => any;
|
|
617
|
-
|
|
618
452
|
export declare const GeometryFilterSensitiveLog: (obj: Geometry) => any;
|
|
619
|
-
|
|
620
453
|
export declare const RelationshipFilterSensitiveLog: (obj: Relationship) => any;
|
|
621
|
-
|
|
622
454
|
export declare const BlockFilterSensitiveLog: (obj: Block) => any;
|
|
623
|
-
|
|
624
455
|
export declare const DocumentMetadataFilterSensitiveLog: (
|
|
625
456
|
obj: DocumentMetadata
|
|
626
457
|
) => any;
|
|
627
|
-
|
|
628
458
|
export declare const HumanLoopActivationOutputFilterSensitiveLog: (
|
|
629
459
|
obj: HumanLoopActivationOutput
|
|
630
460
|
) => any;
|
|
631
|
-
|
|
632
461
|
export declare const AnalyzeDocumentResponseFilterSensitiveLog: (
|
|
633
462
|
obj: AnalyzeDocumentResponse
|
|
634
463
|
) => any;
|
|
635
|
-
|
|
636
464
|
export declare const AnalyzeExpenseRequestFilterSensitiveLog: (
|
|
637
465
|
obj: AnalyzeExpenseRequest
|
|
638
466
|
) => any;
|
|
639
|
-
|
|
640
467
|
export declare const ExpenseDetectionFilterSensitiveLog: (
|
|
641
468
|
obj: ExpenseDetection
|
|
642
469
|
) => any;
|
|
643
|
-
|
|
644
470
|
export declare const ExpenseTypeFilterSensitiveLog: (obj: ExpenseType) => any;
|
|
645
|
-
|
|
646
471
|
export declare const ExpenseFieldFilterSensitiveLog: (obj: ExpenseField) => any;
|
|
647
|
-
|
|
648
472
|
export declare const LineItemFieldsFilterSensitiveLog: (
|
|
649
473
|
obj: LineItemFields
|
|
650
474
|
) => any;
|
|
651
|
-
|
|
652
475
|
export declare const LineItemGroupFilterSensitiveLog: (
|
|
653
476
|
obj: LineItemGroup
|
|
654
477
|
) => any;
|
|
655
|
-
|
|
656
478
|
export declare const ExpenseDocumentFilterSensitiveLog: (
|
|
657
479
|
obj: ExpenseDocument
|
|
658
480
|
) => any;
|
|
659
|
-
|
|
660
481
|
export declare const AnalyzeExpenseResponseFilterSensitiveLog: (
|
|
661
482
|
obj: AnalyzeExpenseResponse
|
|
662
483
|
) => any;
|
|
663
|
-
|
|
664
484
|
export declare const AnalyzeIDRequestFilterSensitiveLog: (
|
|
665
485
|
obj: AnalyzeIDRequest
|
|
666
486
|
) => any;
|
|
667
|
-
|
|
668
487
|
export declare const NormalizedValueFilterSensitiveLog: (
|
|
669
488
|
obj: NormalizedValue
|
|
670
489
|
) => any;
|
|
671
|
-
|
|
672
490
|
export declare const AnalyzeIDDetectionsFilterSensitiveLog: (
|
|
673
491
|
obj: AnalyzeIDDetections
|
|
674
492
|
) => any;
|
|
675
|
-
|
|
676
493
|
export declare const IdentityDocumentFieldFilterSensitiveLog: (
|
|
677
494
|
obj: IdentityDocumentField
|
|
678
495
|
) => any;
|
|
679
|
-
|
|
680
496
|
export declare const IdentityDocumentFilterSensitiveLog: (
|
|
681
497
|
obj: IdentityDocument
|
|
682
498
|
) => any;
|
|
683
|
-
|
|
684
499
|
export declare const AnalyzeIDResponseFilterSensitiveLog: (
|
|
685
500
|
obj: AnalyzeIDResponse
|
|
686
501
|
) => any;
|
|
687
|
-
|
|
688
502
|
export declare const DetectDocumentTextRequestFilterSensitiveLog: (
|
|
689
503
|
obj: DetectDocumentTextRequest
|
|
690
504
|
) => any;
|
|
691
|
-
|
|
692
505
|
export declare const DetectDocumentTextResponseFilterSensitiveLog: (
|
|
693
506
|
obj: DetectDocumentTextResponse
|
|
694
507
|
) => any;
|
|
695
|
-
|
|
696
508
|
export declare const DocumentLocationFilterSensitiveLog: (
|
|
697
509
|
obj: DocumentLocation
|
|
698
510
|
) => any;
|
|
699
|
-
|
|
700
511
|
export declare const GetDocumentAnalysisRequestFilterSensitiveLog: (
|
|
701
512
|
obj: GetDocumentAnalysisRequest
|
|
702
513
|
) => any;
|
|
703
|
-
|
|
704
514
|
export declare const WarningFilterSensitiveLog: (obj: Warning) => any;
|
|
705
|
-
|
|
706
515
|
export declare const GetDocumentAnalysisResponseFilterSensitiveLog: (
|
|
707
516
|
obj: GetDocumentAnalysisResponse
|
|
708
517
|
) => any;
|
|
709
|
-
|
|
710
518
|
export declare const GetDocumentTextDetectionRequestFilterSensitiveLog: (
|
|
711
519
|
obj: GetDocumentTextDetectionRequest
|
|
712
520
|
) => any;
|
|
713
|
-
|
|
714
521
|
export declare const GetDocumentTextDetectionResponseFilterSensitiveLog: (
|
|
715
522
|
obj: GetDocumentTextDetectionResponse
|
|
716
523
|
) => any;
|
|
717
|
-
|
|
718
524
|
export declare const GetExpenseAnalysisRequestFilterSensitiveLog: (
|
|
719
525
|
obj: GetExpenseAnalysisRequest
|
|
720
526
|
) => any;
|
|
721
|
-
|
|
722
527
|
export declare const GetExpenseAnalysisResponseFilterSensitiveLog: (
|
|
723
528
|
obj: GetExpenseAnalysisResponse
|
|
724
529
|
) => any;
|
|
725
|
-
|
|
726
530
|
export declare const NotificationChannelFilterSensitiveLog: (
|
|
727
531
|
obj: NotificationChannel
|
|
728
532
|
) => any;
|
|
729
|
-
|
|
730
533
|
export declare const OutputConfigFilterSensitiveLog: (obj: OutputConfig) => any;
|
|
731
|
-
|
|
732
534
|
export declare const StartDocumentAnalysisRequestFilterSensitiveLog: (
|
|
733
535
|
obj: StartDocumentAnalysisRequest
|
|
734
536
|
) => any;
|
|
735
|
-
|
|
736
537
|
export declare const StartDocumentAnalysisResponseFilterSensitiveLog: (
|
|
737
538
|
obj: StartDocumentAnalysisResponse
|
|
738
539
|
) => any;
|
|
739
|
-
|
|
740
540
|
export declare const StartDocumentTextDetectionRequestFilterSensitiveLog: (
|
|
741
541
|
obj: StartDocumentTextDetectionRequest
|
|
742
542
|
) => any;
|
|
743
|
-
|
|
744
543
|
export declare const StartDocumentTextDetectionResponseFilterSensitiveLog: (
|
|
745
544
|
obj: StartDocumentTextDetectionResponse
|
|
746
545
|
) => any;
|
|
747
|
-
|
|
748
546
|
export declare const StartExpenseAnalysisRequestFilterSensitiveLog: (
|
|
749
547
|
obj: StartExpenseAnalysisRequest
|
|
750
548
|
) => any;
|
|
751
|
-
|
|
752
549
|
export declare const StartExpenseAnalysisResponseFilterSensitiveLog: (
|
|
753
550
|
obj: StartExpenseAnalysisResponse
|
|
754
551
|
) => any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
5
4
|
runtime: string;
|
|
6
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
-
|
|
4
3
|
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
5
4
|
runtime: string;
|
|
6
5
|
defaultsMode: import("@aws-sdk/types").Provider<
|
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.171.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",
|
|
@@ -19,35 +19,35 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
26
|
-
"@aws-sdk/hash-node": "3.
|
|
27
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
28
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
29
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
30
|
-
"@aws-sdk/middleware-logger": "3.
|
|
31
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.171.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.171.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.171.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.171.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.171.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.171.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.171.0",
|
|
29
|
+
"@aws-sdk/middleware-host-header": "3.171.0",
|
|
30
|
+
"@aws-sdk/middleware-logger": "3.171.0",
|
|
31
|
+
"@aws-sdk/middleware-recursion-detection": "3.171.0",
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.171.0",
|
|
33
|
+
"@aws-sdk/middleware-serde": "3.171.0",
|
|
34
|
+
"@aws-sdk/middleware-signing": "3.171.0",
|
|
35
|
+
"@aws-sdk/middleware-stack": "3.171.0",
|
|
36
|
+
"@aws-sdk/middleware-user-agent": "3.171.0",
|
|
37
|
+
"@aws-sdk/node-config-provider": "3.171.0",
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.171.0",
|
|
39
|
+
"@aws-sdk/protocol-http": "3.171.0",
|
|
40
|
+
"@aws-sdk/smithy-client": "3.171.0",
|
|
41
|
+
"@aws-sdk/types": "3.171.0",
|
|
42
|
+
"@aws-sdk/url-parser": "3.171.0",
|
|
43
43
|
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
44
44
|
"@aws-sdk/util-base64-node": "3.170.0",
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
47
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.171.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.171.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-browser": "3.171.0",
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.171.0",
|
|
51
51
|
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
52
52
|
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
53
53
|
"tslib": "^2.3.1"
|