@aws-sdk/client-textract 3.1076.0 → 3.1078.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/dist-cjs/index.js +36 -255
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AnalyzeDocumentCommand.js +2 -14
- package/dist-es/commands/AnalyzeExpenseCommand.js +2 -14
- package/dist-es/commands/AnalyzeIDCommand.js +2 -14
- package/dist-es/commands/CreateAdapterCommand.js +2 -14
- package/dist-es/commands/CreateAdapterVersionCommand.js +2 -14
- package/dist-es/commands/DeleteAdapterCommand.js +2 -14
- package/dist-es/commands/DeleteAdapterVersionCommand.js +2 -14
- package/dist-es/commands/DetectDocumentTextCommand.js +2 -14
- package/dist-es/commands/GetAdapterCommand.js +2 -14
- package/dist-es/commands/GetAdapterVersionCommand.js +2 -14
- package/dist-es/commands/GetDocumentAnalysisCommand.js +2 -14
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +2 -14
- package/dist-es/commands/GetExpenseAnalysisCommand.js +2 -14
- package/dist-es/commands/GetLendingAnalysisCommand.js +2 -14
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +2 -14
- package/dist-es/commands/ListAdapterVersionsCommand.js +2 -14
- package/dist-es/commands/ListAdaptersCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/StartDocumentAnalysisCommand.js +2 -14
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +2 -14
- package/dist-es/commands/StartExpenseAnalysisCommand.js +2 -14
- package/dist-es/commands/StartLendingAnalysisCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateAdapterCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +3 -8
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +3 -8
- package/dist-types/commands/AnalyzeIDCommand.d.ts +3 -8
- package/dist-types/commands/CreateAdapterCommand.d.ts +3 -8
- package/dist-types/commands/CreateAdapterVersionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAdapterCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +3 -8
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +3 -8
- package/dist-types/commands/GetAdapterCommand.d.ts +3 -8
- package/dist-types/commands/GetAdapterVersionCommand.d.ts +3 -8
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +3 -8
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +3 -8
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +3 -8
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +3 -8
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +3 -8
- package/dist-types/commands/ListAdapterVersionsCommand.d.ts +3 -8
- package/dist-types/commands/ListAdaptersCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +3 -8
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +3 -8
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +3 -8
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateAdapterCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetLendingAnalysis$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetLendingAnalysisCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "GetLendingAnalysis", {})
|
|
13
|
-
.n("TextractClient", "GetLendingAnalysisCommand")
|
|
14
|
-
.sc(GetLendingAnalysis$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetLendingAnalysisCommand extends command(_ep0, _mw0, "GetLendingAnalysis", GetLendingAnalysis$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetLendingAnalysisSummary$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetLendingAnalysisSummaryCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "GetLendingAnalysisSummary", {})
|
|
13
|
-
.n("TextractClient", "GetLendingAnalysisSummaryCommand")
|
|
14
|
-
.sc(GetLendingAnalysisSummary$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetLendingAnalysisSummaryCommand extends command(_ep0, _mw0, "GetLendingAnalysisSummary", GetLendingAnalysisSummary$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListAdapterVersions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListAdapterVersionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "ListAdapterVersions", {})
|
|
13
|
-
.n("TextractClient", "ListAdapterVersionsCommand")
|
|
14
|
-
.sc(ListAdapterVersions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListAdapterVersionsCommand extends command(_ep0, _mw0, "ListAdapterVersions", ListAdapterVersions$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListAdapters$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListAdaptersCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "ListAdapters", {})
|
|
13
|
-
.n("TextractClient", "ListAdaptersCommand")
|
|
14
|
-
.sc(ListAdapters$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListAdaptersCommand extends command(_ep0, _mw0, "ListAdapters", ListAdapters$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "ListTagsForResource", {})
|
|
13
|
-
.n("TextractClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartDocumentAnalysis$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartDocumentAnalysisCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "StartDocumentAnalysis", {})
|
|
13
|
-
.n("TextractClient", "StartDocumentAnalysisCommand")
|
|
14
|
-
.sc(StartDocumentAnalysis$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartDocumentAnalysisCommand extends command(_ep0, _mw0, "StartDocumentAnalysis", StartDocumentAnalysis$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartDocumentTextDetection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartDocumentTextDetectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "StartDocumentTextDetection", {})
|
|
13
|
-
.n("TextractClient", "StartDocumentTextDetectionCommand")
|
|
14
|
-
.sc(StartDocumentTextDetection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartDocumentTextDetectionCommand extends command(_ep0, _mw0, "StartDocumentTextDetection", StartDocumentTextDetection$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartExpenseAnalysis$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartExpenseAnalysisCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "StartExpenseAnalysis", {})
|
|
13
|
-
.n("TextractClient", "StartExpenseAnalysisCommand")
|
|
14
|
-
.sc(StartExpenseAnalysis$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartExpenseAnalysisCommand extends command(_ep0, _mw0, "StartExpenseAnalysis", StartExpenseAnalysis$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { StartLendingAnalysis$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartLendingAnalysisCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "StartLendingAnalysis", {})
|
|
13
|
-
.n("TextractClient", "StartLendingAnalysisCommand")
|
|
14
|
-
.sc(StartLendingAnalysis$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartLendingAnalysisCommand extends command(_ep0, _mw0, "StartLendingAnalysis", StartLendingAnalysis$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "TagResource", {})
|
|
13
|
-
.n("TextractClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "UntagResource", {})
|
|
13
|
-
.n("TextractClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateAdapter$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAdapterCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "UpdateAdapter", {})
|
|
13
|
-
.n("TextractClient", "UpdateAdapterCommand")
|
|
14
|
-
.sc(UpdateAdapter$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAdapterCommand extends command(_ep0, _mw0, "UpdateAdapter", UpdateAdapter$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "Textract",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Textract",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "./TextractClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AnalyzeDocumentRequest, AnalyzeDocumentResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AnalyzeDocumentCommandInput extends AnalyzeDocumentRequest {
|
|
|
22
19
|
export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AnalyzeDocumentCommand_base: {
|
|
25
|
-
new (input: AnalyzeDocumentCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AnalyzeDocumentCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AnalyzeDocumentCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AnalyzeDocumentCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Analyzes an input document for relationships between detected items. </p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AnalyzeExpenseRequest, AnalyzeExpenseResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AnalyzeExpenseCommandInput extends AnalyzeExpenseRequest {
|
|
|
22
19
|
export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AnalyzeExpenseCommand_base: {
|
|
25
|
-
new (input: AnalyzeExpenseCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AnalyzeExpenseCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AnalyzeExpenseCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AnalyzeExpenseCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { AnalyzeIDRequest, AnalyzeIDResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AnalyzeIDCommandInput extends AnalyzeIDRequest {
|
|
|
22
19
|
export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AnalyzeIDCommand_base: {
|
|
25
|
-
new (input: AnalyzeIDCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AnalyzeIDCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AnalyzeIDCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AnalyzeIDCommandInput): import("@smithy/core/client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Analyzes identity documents for relevant information. This information is extracted and
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateAdapterRequest, CreateAdapterResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateAdapterCommandInput extends CreateAdapterRequest {
|
|
|
22
19
|
export interface CreateAdapterCommandOutput extends CreateAdapterResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAdapterCommand_base: {
|
|
25
|
-
new (input: CreateAdapterCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAdapterCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAdapterCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAdapterCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an adapter, which can be fine-tuned for enhanced performance on user provided
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { CreateAdapterVersionRequest, CreateAdapterVersionResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateAdapterVersionCommandInput extends CreateAdapterVersionRe
|
|
|
22
19
|
export interface CreateAdapterVersionCommandOutput extends CreateAdapterVersionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAdapterVersionCommand_base: {
|
|
25
|
-
new (input: CreateAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates a new version of an adapter. Operates on a provided AdapterId and a specified
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteAdapterRequest, DeleteAdapterResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteAdapterCommandInput extends DeleteAdapterRequest {
|
|
|
22
19
|
export interface DeleteAdapterCommandOutput extends DeleteAdapterResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteAdapterCommand_base: {
|
|
25
|
-
new (input: DeleteAdapterCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteAdapterCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteAdapterCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteAdapterCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DeleteAdapterVersionRequest, DeleteAdapterVersionResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteAdapterVersionCommandInput extends DeleteAdapterVersionRe
|
|
|
22
19
|
export interface DeleteAdapterVersionCommandOutput extends DeleteAdapterVersionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteAdapterVersionCommand_base: {
|
|
25
|
-
new (input: DeleteAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { DetectDocumentTextRequest, DetectDocumentTextResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DetectDocumentTextCommandInput extends DetectDocumentTextReques
|
|
|
22
19
|
export interface DetectDocumentTextCommandOutput extends DetectDocumentTextResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DetectDocumentTextCommand_base: {
|
|
25
|
-
new (input: DetectDocumentTextCommandInput): import("@smithy/core/client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DetectDocumentTextCommandInput): import("@smithy/core/client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DetectDocumentTextCommandInput): import("@smithy/core/client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DetectDocumentTextCommandInput): import("@smithy/core/client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Detects text in the input document. Amazon Textract can detect lines of text and the
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetAdapterRequest, GetAdapterResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetAdapterCommandInput extends GetAdapterRequest {
|
|
|
22
19
|
export interface GetAdapterCommandOutput extends GetAdapterResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetAdapterCommand_base: {
|
|
25
|
-
new (input: GetAdapterCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetAdapterCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetAdapterCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAdapterCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
2
|
import type { GetAdapterVersionRequest, GetAdapterVersionResponse } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface GetAdapterVersionCommandInput extends GetAdapterVersionRequest
|
|
|
22
19
|
export interface GetAdapterVersionCommandOutput extends GetAdapterVersionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const GetAdapterVersionCommand_base: {
|
|
25
|
-
new (input: GetAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: GetAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: GetAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetAdapterVersionCommandInput): import("@smithy/core/client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, import("..").TextractClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Gets configuration information for the specified adapter version, including:
|