@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
|
@@ -1,32 +1,125 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import {
|
|
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
|
-
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@aws-sdk/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
AnalyzeDocumentCommandInput,
|
|
8
|
+
AnalyzeDocumentCommandOutput,
|
|
9
|
+
} from "../commands/AnalyzeDocumentCommand";
|
|
10
|
+
import {
|
|
11
|
+
AnalyzeExpenseCommandInput,
|
|
12
|
+
AnalyzeExpenseCommandOutput,
|
|
13
|
+
} from "../commands/AnalyzeExpenseCommand";
|
|
14
|
+
import {
|
|
15
|
+
AnalyzeIDCommandInput,
|
|
16
|
+
AnalyzeIDCommandOutput,
|
|
17
|
+
} from "../commands/AnalyzeIDCommand";
|
|
18
|
+
import {
|
|
19
|
+
DetectDocumentTextCommandInput,
|
|
20
|
+
DetectDocumentTextCommandOutput,
|
|
21
|
+
} from "../commands/DetectDocumentTextCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetDocumentAnalysisCommandInput,
|
|
24
|
+
GetDocumentAnalysisCommandOutput,
|
|
25
|
+
} from "../commands/GetDocumentAnalysisCommand";
|
|
26
|
+
import {
|
|
27
|
+
GetDocumentTextDetectionCommandInput,
|
|
28
|
+
GetDocumentTextDetectionCommandOutput,
|
|
29
|
+
} from "../commands/GetDocumentTextDetectionCommand";
|
|
30
|
+
import {
|
|
31
|
+
GetExpenseAnalysisCommandInput,
|
|
32
|
+
GetExpenseAnalysisCommandOutput,
|
|
33
|
+
} from "../commands/GetExpenseAnalysisCommand";
|
|
34
|
+
import {
|
|
35
|
+
StartDocumentAnalysisCommandInput,
|
|
36
|
+
StartDocumentAnalysisCommandOutput,
|
|
37
|
+
} from "../commands/StartDocumentAnalysisCommand";
|
|
38
|
+
import {
|
|
39
|
+
StartDocumentTextDetectionCommandInput,
|
|
40
|
+
StartDocumentTextDetectionCommandOutput,
|
|
41
|
+
} from "../commands/StartDocumentTextDetectionCommand";
|
|
42
|
+
import {
|
|
43
|
+
StartExpenseAnalysisCommandInput,
|
|
44
|
+
StartExpenseAnalysisCommandOutput,
|
|
45
|
+
} from "../commands/StartExpenseAnalysisCommand";
|
|
46
|
+
export declare const serializeAws_json1_1AnalyzeDocumentCommand: (
|
|
47
|
+
input: AnalyzeDocumentCommandInput,
|
|
48
|
+
context: __SerdeContext
|
|
49
|
+
) => Promise<__HttpRequest>;
|
|
50
|
+
export declare const serializeAws_json1_1AnalyzeExpenseCommand: (
|
|
51
|
+
input: AnalyzeExpenseCommandInput,
|
|
52
|
+
context: __SerdeContext
|
|
53
|
+
) => Promise<__HttpRequest>;
|
|
54
|
+
export declare const serializeAws_json1_1AnalyzeIDCommand: (
|
|
55
|
+
input: AnalyzeIDCommandInput,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<__HttpRequest>;
|
|
58
|
+
export declare const serializeAws_json1_1DetectDocumentTextCommand: (
|
|
59
|
+
input: DetectDocumentTextCommandInput,
|
|
60
|
+
context: __SerdeContext
|
|
61
|
+
) => Promise<__HttpRequest>;
|
|
62
|
+
export declare const serializeAws_json1_1GetDocumentAnalysisCommand: (
|
|
63
|
+
input: GetDocumentAnalysisCommandInput,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<__HttpRequest>;
|
|
66
|
+
export declare const serializeAws_json1_1GetDocumentTextDetectionCommand: (
|
|
67
|
+
input: GetDocumentTextDetectionCommandInput,
|
|
68
|
+
context: __SerdeContext
|
|
69
|
+
) => Promise<__HttpRequest>;
|
|
70
|
+
export declare const serializeAws_json1_1GetExpenseAnalysisCommand: (
|
|
71
|
+
input: GetExpenseAnalysisCommandInput,
|
|
72
|
+
context: __SerdeContext
|
|
73
|
+
) => Promise<__HttpRequest>;
|
|
74
|
+
export declare const serializeAws_json1_1StartDocumentAnalysisCommand: (
|
|
75
|
+
input: StartDocumentAnalysisCommandInput,
|
|
76
|
+
context: __SerdeContext
|
|
77
|
+
) => Promise<__HttpRequest>;
|
|
78
|
+
export declare const serializeAws_json1_1StartDocumentTextDetectionCommand: (
|
|
79
|
+
input: StartDocumentTextDetectionCommandInput,
|
|
80
|
+
context: __SerdeContext
|
|
81
|
+
) => Promise<__HttpRequest>;
|
|
82
|
+
export declare const serializeAws_json1_1StartExpenseAnalysisCommand: (
|
|
83
|
+
input: StartExpenseAnalysisCommandInput,
|
|
84
|
+
context: __SerdeContext
|
|
85
|
+
) => Promise<__HttpRequest>;
|
|
86
|
+
export declare const deserializeAws_json1_1AnalyzeDocumentCommand: (
|
|
87
|
+
output: __HttpResponse,
|
|
88
|
+
context: __SerdeContext
|
|
89
|
+
) => Promise<AnalyzeDocumentCommandOutput>;
|
|
90
|
+
export declare const deserializeAws_json1_1AnalyzeExpenseCommand: (
|
|
91
|
+
output: __HttpResponse,
|
|
92
|
+
context: __SerdeContext
|
|
93
|
+
) => Promise<AnalyzeExpenseCommandOutput>;
|
|
94
|
+
export declare const deserializeAws_json1_1AnalyzeIDCommand: (
|
|
95
|
+
output: __HttpResponse,
|
|
96
|
+
context: __SerdeContext
|
|
97
|
+
) => Promise<AnalyzeIDCommandOutput>;
|
|
98
|
+
export declare const deserializeAws_json1_1DetectDocumentTextCommand: (
|
|
99
|
+
output: __HttpResponse,
|
|
100
|
+
context: __SerdeContext
|
|
101
|
+
) => Promise<DetectDocumentTextCommandOutput>;
|
|
102
|
+
export declare const deserializeAws_json1_1GetDocumentAnalysisCommand: (
|
|
103
|
+
output: __HttpResponse,
|
|
104
|
+
context: __SerdeContext
|
|
105
|
+
) => Promise<GetDocumentAnalysisCommandOutput>;
|
|
106
|
+
export declare const deserializeAws_json1_1GetDocumentTextDetectionCommand: (
|
|
107
|
+
output: __HttpResponse,
|
|
108
|
+
context: __SerdeContext
|
|
109
|
+
) => Promise<GetDocumentTextDetectionCommandOutput>;
|
|
110
|
+
export declare const deserializeAws_json1_1GetExpenseAnalysisCommand: (
|
|
111
|
+
output: __HttpResponse,
|
|
112
|
+
context: __SerdeContext
|
|
113
|
+
) => Promise<GetExpenseAnalysisCommandOutput>;
|
|
114
|
+
export declare const deserializeAws_json1_1StartDocumentAnalysisCommand: (
|
|
115
|
+
output: __HttpResponse,
|
|
116
|
+
context: __SerdeContext
|
|
117
|
+
) => Promise<StartDocumentAnalysisCommandOutput>;
|
|
118
|
+
export declare const deserializeAws_json1_1StartDocumentTextDetectionCommand: (
|
|
119
|
+
output: __HttpResponse,
|
|
120
|
+
context: __SerdeContext
|
|
121
|
+
) => Promise<StartDocumentTextDetectionCommandOutput>;
|
|
122
|
+
export declare const deserializeAws_json1_1StartExpenseAnalysisCommand: (
|
|
123
|
+
output: __HttpResponse,
|
|
124
|
+
context: __SerdeContext
|
|
125
|
+
) => Promise<StartExpenseAnalysisCommandOutput>;
|
|
@@ -1,38 +1,65 @@
|
|
|
1
|
-
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
-
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: (
|
|
12
|
+
input: any
|
|
13
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
15
|
+
import("@aws-sdk/types").UserAgent
|
|
16
|
+
>;
|
|
17
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
18
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
21
|
+
any,
|
|
22
|
+
any,
|
|
23
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
24
|
+
> &
|
|
25
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
26
|
+
| RequestHandler;
|
|
27
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
28
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
29
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
30
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
32
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
apiVersion: string;
|
|
35
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
logger: import("@aws-sdk/types").Logger;
|
|
38
|
+
serviceId: string;
|
|
39
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
40
|
+
endpoint?:
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| undefined;
|
|
45
|
+
tls?: boolean | undefined;
|
|
46
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
|
+
credentials?:
|
|
48
|
+
| import("@aws-sdk/types").Credentials
|
|
49
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
50
|
+
| undefined;
|
|
51
|
+
signer?:
|
|
52
|
+
| import("@aws-sdk/types").RequestSigner
|
|
53
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
|
|
54
|
+
| undefined;
|
|
55
|
+
signingEscapePath?: boolean | undefined;
|
|
56
|
+
systemClockOffset?: number | undefined;
|
|
57
|
+
signingRegion?: string | undefined;
|
|
58
|
+
signerConstructor?:
|
|
59
|
+
| (new (
|
|
60
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
61
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
62
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
63
|
+
| undefined;
|
|
64
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
65
|
+
};
|
|
@@ -1,38 +1,65 @@
|
|
|
1
|
-
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: (
|
|
12
|
+
input: any
|
|
13
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
15
|
+
import("@aws-sdk/types").UserAgent
|
|
16
|
+
>;
|
|
17
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
18
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
21
|
+
any,
|
|
22
|
+
any,
|
|
23
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
24
|
+
> &
|
|
25
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
26
|
+
| RequestHandler;
|
|
27
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
28
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
29
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
30
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
32
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
apiVersion: string;
|
|
35
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
logger: import("@aws-sdk/types").Logger;
|
|
38
|
+
serviceId: string;
|
|
39
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
40
|
+
endpoint?:
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| undefined;
|
|
45
|
+
tls?: boolean | undefined;
|
|
46
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
47
|
+
credentials?:
|
|
48
|
+
| import("@aws-sdk/types").Credentials
|
|
49
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
50
|
+
| undefined;
|
|
51
|
+
signer?:
|
|
52
|
+
| import("@aws-sdk/types").RequestSigner
|
|
53
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
|
|
54
|
+
| undefined;
|
|
55
|
+
signingEscapePath?: boolean | undefined;
|
|
56
|
+
systemClockOffset?: number | undefined;
|
|
57
|
+
signingRegion?: string | undefined;
|
|
58
|
+
signerConstructor?:
|
|
59
|
+
| (new (
|
|
60
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
61
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
62
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
63
|
+
| undefined;
|
|
64
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
65
|
+
};
|
|
@@ -1,37 +1,66 @@
|
|
|
1
|
-
import { TextractClientConfig } from "./TextractClient";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
1
|
+
import { TextractClientConfig } from "./TextractClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
7
|
+
any,
|
|
8
|
+
any,
|
|
9
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
|
+
> &
|
|
11
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
12
|
+
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
|
+
apiVersion: string;
|
|
14
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
18
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
disableHostPrefix: boolean;
|
|
22
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
23
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
26
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
|
+
serviceId: string;
|
|
28
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
29
|
+
credentialDefaultProvider: (
|
|
30
|
+
input: any
|
|
31
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
32
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
33
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
34
|
+
import("@aws-sdk/types").UserAgent
|
|
35
|
+
>;
|
|
36
|
+
defaultsMode:
|
|
37
|
+
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
38
|
+
| import("@aws-sdk/types").Provider<
|
|
39
|
+
import("@aws-sdk/smithy-client").DefaultsMode
|
|
40
|
+
>;
|
|
41
|
+
endpoint?:
|
|
42
|
+
| string
|
|
43
|
+
| import("@aws-sdk/types").Endpoint
|
|
44
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
45
|
+
| undefined;
|
|
46
|
+
tls?: boolean | undefined;
|
|
47
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
48
|
+
credentials?:
|
|
49
|
+
| import("@aws-sdk/types").Credentials
|
|
50
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>
|
|
51
|
+
| undefined;
|
|
52
|
+
signer?:
|
|
53
|
+
| import("@aws-sdk/types").RequestSigner
|
|
54
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner>
|
|
55
|
+
| undefined;
|
|
56
|
+
signingEscapePath?: boolean | undefined;
|
|
57
|
+
systemClockOffset?: number | undefined;
|
|
58
|
+
signingRegion?: string | undefined;
|
|
59
|
+
signerConstructor?:
|
|
60
|
+
| (new (
|
|
61
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
62
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
63
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
64
|
+
| undefined;
|
|
65
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
66
|
+
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
-
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
1
|
+
import { Logger as __Logger } from "@aws-sdk/types";
|
|
2
|
+
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
4
|
+
apiVersion: string;
|
|
5
|
+
disableHostPrefix: boolean;
|
|
6
|
+
logger: __Logger;
|
|
7
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
8
|
+
serviceId: string;
|
|
9
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
10
|
+
};
|
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,45 +19,45 @@
|
|
|
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.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
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.
|
|
51
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
52
|
-
"@aws-sdk/util-utf8-node": "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
|
+
"@aws-sdk/util-base64-browser": "3.170.0",
|
|
44
|
+
"@aws-sdk/util-base64-node": "3.170.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.170.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.170.0",
|
|
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
|
+
"@aws-sdk/util-utf8-browser": "3.170.0",
|
|
52
|
+
"@aws-sdk/util-utf8-node": "3.170.0",
|
|
53
53
|
"tslib": "^2.3.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
+
"@aws-sdk/service-client-documentation-generator": "3.170.0",
|
|
57
57
|
"@tsconfig/recommended": "1.0.1",
|
|
58
58
|
"@types/node": "^12.7.5",
|
|
59
59
|
"concurrently": "7.0.0",
|
|
60
|
-
"downlevel-dts": "0.
|
|
60
|
+
"downlevel-dts": "0.10.1",
|
|
61
61
|
"rimraf": "3.0.2",
|
|
62
62
|
"typedoc": "0.19.2",
|
|
63
63
|
"typescript": "~4.6.2"
|