@aws-sdk/client-textract 3.32.0 → 3.36.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 +44 -0
- package/{dist/cjs → dist-cjs}/Textract.js +1 -2
- package/{dist/cjs → dist-cjs}/TextractClient.js +8 -9
- package/{dist/cjs → dist-cjs}/commands/AnalyzeDocumentCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/AnalyzeExpenseCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/DetectDocumentTextCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDocumentAnalysisCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/GetDocumentTextDetectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartDocumentAnalysisCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/StartDocumentTextDetectionCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/{dist/es → dist-es}/Textract.js +2 -8
- package/{dist/es → dist-es}/TextractClient.js +2 -13
- package/dist-es/commands/AnalyzeDocumentCommand.js +39 -0
- package/{dist/es → dist-es}/commands/AnalyzeExpenseCommand.js +4 -43
- package/dist-es/commands/DetectDocumentTextCommand.js +39 -0
- package/dist-es/commands/GetDocumentAnalysisCommand.js +39 -0
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +39 -0
- package/dist-es/commands/StartDocumentAnalysisCommand.js +39 -0
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -148
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +338 -344
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/Textract.d.ts +2 -2
- package/{dist/types → dist-types}/TextractClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AnalyzeDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AnalyzeExpenseCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DetectDocumentTextCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDocumentAnalysisCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartDocumentAnalysisCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/Textract.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/TextractClient.d.ts +8 -8
- package/{dist/types → dist-types}/ts3.4/commands/AnalyzeDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/AnalyzeExpenseCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/DetectDocumentTextCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/package.json +52 -49
- package/Textract.ts +0 -422
- package/TextractClient.ts +0 -270
- package/commands/AnalyzeDocumentCommand.ts +0 -124
- package/commands/AnalyzeExpenseCommand.ts +0 -107
- package/commands/DetectDocumentTextCommand.ts +0 -104
- package/commands/GetDocumentAnalysisCommand.ts +0 -138
- package/commands/GetDocumentTextDetectionCommand.ts +0 -118
- package/commands/StartDocumentAnalysisCommand.ts +0 -111
- package/commands/StartDocumentTextDetectionCommand.ts +0 -113
- package/dist/cjs/Textract.js.map +0 -1
- package/dist/cjs/TextractClient.js.map +0 -1
- package/dist/cjs/commands/AnalyzeDocumentCommand.js.map +0 -1
- package/dist/cjs/commands/AnalyzeExpenseCommand.js.map +0 -1
- package/dist/cjs/commands/DetectDocumentTextCommand.js.map +0 -1
- package/dist/cjs/commands/GetDocumentAnalysisCommand.js.map +0 -1
- package/dist/cjs/commands/GetDocumentTextDetectionCommand.js.map +0 -1
- package/dist/cjs/commands/StartDocumentAnalysisCommand.js.map +0 -1
- package/dist/cjs/commands/StartDocumentTextDetectionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Textract.js.map +0 -1
- package/dist/es/TextractClient.js.map +0 -1
- package/dist/es/commands/AnalyzeDocumentCommand.js +0 -95
- package/dist/es/commands/AnalyzeDocumentCommand.js.map +0 -1
- package/dist/es/commands/AnalyzeExpenseCommand.js.map +0 -1
- package/dist/es/commands/DetectDocumentTextCommand.js +0 -75
- package/dist/es/commands/DetectDocumentTextCommand.js.map +0 -1
- package/dist/es/commands/GetDocumentAnalysisCommand.js +0 -109
- package/dist/es/commands/GetDocumentAnalysisCommand.js.map +0 -1
- package/dist/es/commands/GetDocumentTextDetectionCommand.js +0 -89
- package/dist/es/commands/GetDocumentTextDetectionCommand.js.map +0 -1
- package/dist/es/commands/StartDocumentAnalysisCommand.js +0 -82
- package/dist/es/commands/StartDocumentAnalysisCommand.js.map +0 -1
- package/dist/es/commands/StartDocumentTextDetectionCommand.js +0 -81
- package/dist/es/commands/StartDocumentTextDetectionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -11
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1627
- package/protocols/Aws_json1_1.ts +0 -2060
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
@@ -9,12 +9,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
9
9
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
10
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
|
-
/**
|
|
13
|
-
* @internal
|
|
14
|
-
*/
|
|
15
12
|
export var getRuntimeConfig = function (config) {
|
|
16
13
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
14
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
15
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
19
16
|
};
|
|
20
|
-
//# sourceMappingURL=runtimeConfig.browser.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
-
import packageInfo from "
|
|
2
|
+
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
@@ -13,13 +13,9 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
|
-
/**
|
|
17
|
-
* @internal
|
|
18
|
-
*/
|
|
19
16
|
export var getRuntimeConfig = function (config) {
|
|
20
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
21
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
22
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
23
20
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
|
|
24
21
|
};
|
|
25
|
-
//# sourceMappingURL=runtimeConfig.js.map
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
3
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
4
|
-
/**
|
|
5
|
-
* @internal
|
|
6
|
-
*/
|
|
7
4
|
export var getRuntimeConfig = function (config) {
|
|
8
5
|
var _a;
|
|
9
6
|
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
10
7
|
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
11
8
|
};
|
|
12
|
-
//# sourceMappingURL=runtimeConfig.native.js.map
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { defaultRegionInfoProvider } from "./endpoints";
|
|
2
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
-
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
2
|
+
import { defaultRegionInfoProvider } from "./endpoints";
|
|
6
3
|
export var getRuntimeConfig = function (config) {
|
|
7
4
|
var _a, _b, _c, _d, _e;
|
|
8
5
|
return ({
|
|
@@ -14,4 +11,3 @@ export var getRuntimeConfig = function (config) {
|
|
|
14
11
|
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
15
12
|
});
|
|
16
13
|
};
|
|
17
|
-
//# sourceMappingURL=runtimeConfig.shared.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
3
3
|
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
4
4
|
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
@@ -6,7 +6,7 @@ import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } fro
|
|
|
6
6
|
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
7
7
|
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
8
8
|
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
9
|
-
import {
|
|
9
|
+
import { TextractClient } from "./TextractClient";
|
|
10
10
|
/**
|
|
11
11
|
* <p>Amazon Textract detects and analyzes text in documents and converts it
|
|
12
12
|
* into machine-readable text. This is the API reference documentation for
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
2
|
-
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
3
|
-
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
4
|
-
import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
5
|
-
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
6
|
-
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
7
|
-
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
8
1
|
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
9
2
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
10
3
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
@@ -12,7 +5,14 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
12
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
13
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
14
7
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
15
|
-
import {
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
10
|
+
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
11
|
+
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
12
|
+
import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
13
|
+
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
14
|
+
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
15
|
+
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
16
16
|
export declare type ServiceInputTypes = AnalyzeDocumentCommandInput | AnalyzeExpenseCommandInput | DetectDocumentTextCommandInput | GetDocumentAnalysisCommandInput | GetDocumentTextDetectionCommandInput | StartDocumentAnalysisCommandInput | StartDocumentTextDetectionCommandInput;
|
|
17
17
|
export declare type ServiceOutputTypes = AnalyzeDocumentCommandOutput | AnalyzeExpenseCommandOutput | DetectDocumentTextCommandOutput | GetDocumentAnalysisCommandOutput | GetDocumentTextDetectionCommandOutput | StartDocumentAnalysisCommandOutput | StartDocumentTextDetectionCommandOutput;
|
|
18
18
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { AnalyzeDocumentRequest, AnalyzeDocumentResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AnalyzeDocumentRequest, AnalyzeDocumentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface AnalyzeDocumentCommandInput extends AnalyzeDocumentRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { AnalyzeExpenseRequest, AnalyzeExpenseResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AnalyzeExpenseRequest, AnalyzeExpenseResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface AnalyzeExpenseCommandInput extends AnalyzeExpenseRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { DetectDocumentTextRequest, DetectDocumentTextResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DetectDocumentTextRequest, DetectDocumentTextResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface DetectDocumentTextCommandInput extends DetectDocumentTextRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DetectDocumentTextCommandOutput extends DetectDocumentTextResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { GetDocumentAnalysisRequest, GetDocumentAnalysisResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetDocumentAnalysisRequest, GetDocumentAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface GetDocumentAnalysisCommandInput extends GetDocumentAnalysisRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { GetDocumentTextDetectionRequest, GetDocumentTextDetectionResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetDocumentTextDetectionRequest, GetDocumentTextDetectionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface GetDocumentTextDetectionCommandInput extends GetDocumentTextDetectionRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDetectionResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { StartDocumentAnalysisRequest, StartDocumentAnalysisResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartDocumentAnalysisRequest, StartDocumentAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface StartDocumentAnalysisCommandInput extends StartDocumentAnalysisRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysisResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { StartDocumentTextDetectionRequest, StartDocumentTextDetectionResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartDocumentTextDetectionRequest, StartDocumentTextDetectionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface StartDocumentTextDetectionCommandInput extends StartDocumentTextDetectionRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTextDetectionResponse, __MetadataBearer {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "../commands/AnalyzeDocumentCommand";
|
|
2
4
|
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "../commands/AnalyzeExpenseCommand";
|
|
3
5
|
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "../commands/DetectDocumentTextCommand";
|
|
@@ -5,8 +7,6 @@ import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } fro
|
|
|
5
7
|
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "../commands/GetDocumentTextDetectionCommand";
|
|
6
8
|
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "../commands/StartDocumentAnalysisCommand";
|
|
7
9
|
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "../commands/StartDocumentTextDetectionCommand";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
10
10
|
export declare const serializeAws_json1_1AnalyzeDocumentCommand: (input: AnalyzeDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
11
|
export declare const serializeAws_json1_1AnalyzeExpenseCommand: (input: AnalyzeExpenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
12
|
export declare const serializeAws_json1_1DetectDocumentTextCommand: (input: DetectDocumentTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
-
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
7
|
-
runtime: string;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
-
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
|
|
16
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
-
signingEscapePath?: boolean | undefined;
|
|
33
|
-
systemClockOffset?: number | undefined;
|
|
34
|
-
signingRegion?: string | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
serviceId: string;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
7
|
-
runtime: string;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
12
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
-
signingEscapePath?: boolean | undefined;
|
|
33
|
-
systemClockOffset?: number | undefined;
|
|
34
|
-
signingRegion?: string | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { TextractClientConfig } from "./TextractClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
serviceId: string;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
31
31
|
signingEscapePath?: boolean | undefined;
|
|
32
32
|
systemClockOffset?: number | undefined;
|
|
33
33
|
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
34
35
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
35
36
|
};
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
3
3
|
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
4
4
|
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
@@ -6,7 +6,7 @@ import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } fro
|
|
|
6
6
|
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
7
7
|
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
8
8
|
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
9
|
-
import {
|
|
9
|
+
import { TextractClient } from "./TextractClient";
|
|
10
10
|
/**
|
|
11
11
|
* <p>Amazon Textract detects and analyzes text in documents and converts it
|
|
12
12
|
* into machine-readable text. This is the API reference documentation for
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
2
|
-
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
3
|
-
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
4
|
-
import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
5
|
-
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
6
|
-
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
7
|
-
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
8
1
|
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
9
2
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
10
3
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
@@ -12,7 +5,14 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
12
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
13
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
14
7
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
15
|
-
import {
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "./commands/AnalyzeDocumentCommand";
|
|
10
|
+
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "./commands/AnalyzeExpenseCommand";
|
|
11
|
+
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "./commands/DetectDocumentTextCommand";
|
|
12
|
+
import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
|
|
13
|
+
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
|
|
14
|
+
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
|
|
15
|
+
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
|
|
16
16
|
export declare type ServiceInputTypes = AnalyzeDocumentCommandInput | AnalyzeExpenseCommandInput | DetectDocumentTextCommandInput | GetDocumentAnalysisCommandInput | GetDocumentTextDetectionCommandInput | StartDocumentAnalysisCommandInput | StartDocumentTextDetectionCommandInput;
|
|
17
17
|
export declare type ServiceOutputTypes = AnalyzeDocumentCommandOutput | AnalyzeExpenseCommandOutput | DetectDocumentTextCommandOutput | GetDocumentAnalysisCommandOutput | GetDocumentTextDetectionCommandOutput | StartDocumentAnalysisCommandOutput | StartDocumentTextDetectionCommandOutput;
|
|
18
18
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { AnalyzeDocumentRequest, AnalyzeDocumentResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AnalyzeDocumentRequest, AnalyzeDocumentResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface AnalyzeDocumentCommandInput extends AnalyzeDocumentRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { AnalyzeExpenseRequest, AnalyzeExpenseResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { AnalyzeExpenseRequest, AnalyzeExpenseResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface AnalyzeExpenseCommandInput extends AnalyzeExpenseRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { DetectDocumentTextRequest, DetectDocumentTextResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { DetectDocumentTextRequest, DetectDocumentTextResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface DetectDocumentTextCommandInput extends DetectDocumentTextRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface DetectDocumentTextCommandOutput extends DetectDocumentTextResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { GetDocumentAnalysisRequest, GetDocumentAnalysisResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetDocumentAnalysisRequest, GetDocumentAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface GetDocumentAnalysisCommandInput extends GetDocumentAnalysisRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { GetDocumentTextDetectionRequest, GetDocumentTextDetectionResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetDocumentTextDetectionRequest, GetDocumentTextDetectionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface GetDocumentTextDetectionCommandInput extends GetDocumentTextDetectionRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDetectionResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { StartDocumentAnalysisRequest, StartDocumentAnalysisResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartDocumentAnalysisRequest, StartDocumentAnalysisResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface StartDocumentAnalysisCommandInput extends StartDocumentAnalysisRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysisResponse, __MetadataBearer {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
2
|
-
import { StartDocumentTextDetectionRequest, StartDocumentTextDetectionResponse } from "../models/models_0";
|
|
3
1
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartDocumentTextDetectionRequest, StartDocumentTextDetectionResponse } from "../models/models_0";
|
|
4
|
+
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
5
|
export interface StartDocumentTextDetectionCommandInput extends StartDocumentTextDetectionRequest {
|
|
6
6
|
}
|
|
7
7
|
export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTextDetectionResponse, __MetadataBearer {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
1
3
|
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "../commands/AnalyzeDocumentCommand";
|
|
2
4
|
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "../commands/AnalyzeExpenseCommand";
|
|
3
5
|
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "../commands/DetectDocumentTextCommand";
|
|
@@ -5,8 +7,6 @@ import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } fro
|
|
|
5
7
|
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "../commands/GetDocumentTextDetectionCommand";
|
|
6
8
|
import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "../commands/StartDocumentAnalysisCommand";
|
|
7
9
|
import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "../commands/StartDocumentTextDetectionCommand";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
10
10
|
export declare const serializeAws_json1_1AnalyzeDocumentCommand: (input: AnalyzeDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
11
11
|
export declare const serializeAws_json1_1AnalyzeExpenseCommand: (input: AnalyzeExpenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
12
|
export declare const serializeAws_json1_1DetectDocumentTextCommand: (input: DetectDocumentTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|