@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
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
|
|
|
10
11
|
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
12
|
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
13
|
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
-
const { toUtf8, fromUtf8, toBase64, fromBase64,
|
|
14
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
15
|
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
16
|
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
17
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
16
18
|
|
|
17
19
|
const defaultTextractHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
20
|
return {
|
|
@@ -67,7 +69,7 @@ const commonParams = {
|
|
|
67
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
68
70
|
};
|
|
69
71
|
|
|
70
|
-
var version = "3.
|
|
72
|
+
var version = "3.1077.0";
|
|
71
73
|
var packageInfo = {
|
|
72
74
|
version: version};
|
|
73
75
|
|
|
@@ -1516,6 +1518,7 @@ const getRuntimeConfig$1 = (config) => {
|
|
|
1516
1518
|
serviceTarget: "Textract",
|
|
1517
1519
|
},
|
|
1518
1520
|
serviceId: config?.serviceId ?? "Textract",
|
|
1521
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1519
1522
|
urlParser: config?.urlParser ?? parseUrl,
|
|
1520
1523
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1521
1524
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -1549,7 +1552,6 @@ const getRuntimeConfig = (config) => {
|
|
|
1549
1552
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1550
1553
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1551
1554
|
}, config),
|
|
1552
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1553
1555
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1554
1556
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1555
1557
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1637,304 +1639,83 @@ class TextractClient extends Client {
|
|
|
1637
1639
|
}
|
|
1638
1640
|
}
|
|
1639
1641
|
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
})
|
|
1646
|
-
.s("Textract", "AnalyzeDocument", {})
|
|
1647
|
-
.n("TextractClient", "AnalyzeDocumentCommand")
|
|
1648
|
-
.sc(AnalyzeDocument$)
|
|
1649
|
-
.build() {
|
|
1642
|
+
const command = makeBuilder(commonParams, "Textract", "TextractClient", getEndpointPlugin);
|
|
1643
|
+
const _ep0 = {};
|
|
1644
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
1645
|
+
|
|
1646
|
+
class AnalyzeDocumentCommand extends command(_ep0, _mw0, "AnalyzeDocument", AnalyzeDocument$) {
|
|
1650
1647
|
}
|
|
1651
1648
|
|
|
1652
|
-
class AnalyzeExpenseCommand extends
|
|
1653
|
-
.classBuilder()
|
|
1654
|
-
.ep(commonParams)
|
|
1655
|
-
.m(function (Command, cs, config, o) {
|
|
1656
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1657
|
-
})
|
|
1658
|
-
.s("Textract", "AnalyzeExpense", {})
|
|
1659
|
-
.n("TextractClient", "AnalyzeExpenseCommand")
|
|
1660
|
-
.sc(AnalyzeExpense$)
|
|
1661
|
-
.build() {
|
|
1649
|
+
class AnalyzeExpenseCommand extends command(_ep0, _mw0, "AnalyzeExpense", AnalyzeExpense$) {
|
|
1662
1650
|
}
|
|
1663
1651
|
|
|
1664
|
-
class AnalyzeIDCommand extends
|
|
1665
|
-
.classBuilder()
|
|
1666
|
-
.ep(commonParams)
|
|
1667
|
-
.m(function (Command, cs, config, o) {
|
|
1668
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1669
|
-
})
|
|
1670
|
-
.s("Textract", "AnalyzeID", {})
|
|
1671
|
-
.n("TextractClient", "AnalyzeIDCommand")
|
|
1672
|
-
.sc(AnalyzeID$)
|
|
1673
|
-
.build() {
|
|
1652
|
+
class AnalyzeIDCommand extends command(_ep0, _mw0, "AnalyzeID", AnalyzeID$) {
|
|
1674
1653
|
}
|
|
1675
1654
|
|
|
1676
|
-
class CreateAdapterCommand extends
|
|
1677
|
-
.classBuilder()
|
|
1678
|
-
.ep(commonParams)
|
|
1679
|
-
.m(function (Command, cs, config, o) {
|
|
1680
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1681
|
-
})
|
|
1682
|
-
.s("Textract", "CreateAdapter", {})
|
|
1683
|
-
.n("TextractClient", "CreateAdapterCommand")
|
|
1684
|
-
.sc(CreateAdapter$)
|
|
1685
|
-
.build() {
|
|
1655
|
+
class CreateAdapterCommand extends command(_ep0, _mw0, "CreateAdapter", CreateAdapter$) {
|
|
1686
1656
|
}
|
|
1687
1657
|
|
|
1688
|
-
class CreateAdapterVersionCommand extends
|
|
1689
|
-
.classBuilder()
|
|
1690
|
-
.ep(commonParams)
|
|
1691
|
-
.m(function (Command, cs, config, o) {
|
|
1692
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1693
|
-
})
|
|
1694
|
-
.s("Textract", "CreateAdapterVersion", {})
|
|
1695
|
-
.n("TextractClient", "CreateAdapterVersionCommand")
|
|
1696
|
-
.sc(CreateAdapterVersion$)
|
|
1697
|
-
.build() {
|
|
1658
|
+
class CreateAdapterVersionCommand extends command(_ep0, _mw0, "CreateAdapterVersion", CreateAdapterVersion$) {
|
|
1698
1659
|
}
|
|
1699
1660
|
|
|
1700
|
-
class DeleteAdapterCommand extends
|
|
1701
|
-
.classBuilder()
|
|
1702
|
-
.ep(commonParams)
|
|
1703
|
-
.m(function (Command, cs, config, o) {
|
|
1704
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1705
|
-
})
|
|
1706
|
-
.s("Textract", "DeleteAdapter", {})
|
|
1707
|
-
.n("TextractClient", "DeleteAdapterCommand")
|
|
1708
|
-
.sc(DeleteAdapter$)
|
|
1709
|
-
.build() {
|
|
1661
|
+
class DeleteAdapterCommand extends command(_ep0, _mw0, "DeleteAdapter", DeleteAdapter$) {
|
|
1710
1662
|
}
|
|
1711
1663
|
|
|
1712
|
-
class DeleteAdapterVersionCommand extends
|
|
1713
|
-
.classBuilder()
|
|
1714
|
-
.ep(commonParams)
|
|
1715
|
-
.m(function (Command, cs, config, o) {
|
|
1716
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1717
|
-
})
|
|
1718
|
-
.s("Textract", "DeleteAdapterVersion", {})
|
|
1719
|
-
.n("TextractClient", "DeleteAdapterVersionCommand")
|
|
1720
|
-
.sc(DeleteAdapterVersion$)
|
|
1721
|
-
.build() {
|
|
1664
|
+
class DeleteAdapterVersionCommand extends command(_ep0, _mw0, "DeleteAdapterVersion", DeleteAdapterVersion$) {
|
|
1722
1665
|
}
|
|
1723
1666
|
|
|
1724
|
-
class DetectDocumentTextCommand extends
|
|
1725
|
-
.classBuilder()
|
|
1726
|
-
.ep(commonParams)
|
|
1727
|
-
.m(function (Command, cs, config, o) {
|
|
1728
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1729
|
-
})
|
|
1730
|
-
.s("Textract", "DetectDocumentText", {})
|
|
1731
|
-
.n("TextractClient", "DetectDocumentTextCommand")
|
|
1732
|
-
.sc(DetectDocumentText$)
|
|
1733
|
-
.build() {
|
|
1667
|
+
class DetectDocumentTextCommand extends command(_ep0, _mw0, "DetectDocumentText", DetectDocumentText$) {
|
|
1734
1668
|
}
|
|
1735
1669
|
|
|
1736
|
-
class GetAdapterCommand extends
|
|
1737
|
-
.classBuilder()
|
|
1738
|
-
.ep(commonParams)
|
|
1739
|
-
.m(function (Command, cs, config, o) {
|
|
1740
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1741
|
-
})
|
|
1742
|
-
.s("Textract", "GetAdapter", {})
|
|
1743
|
-
.n("TextractClient", "GetAdapterCommand")
|
|
1744
|
-
.sc(GetAdapter$)
|
|
1745
|
-
.build() {
|
|
1670
|
+
class GetAdapterCommand extends command(_ep0, _mw0, "GetAdapter", GetAdapter$) {
|
|
1746
1671
|
}
|
|
1747
1672
|
|
|
1748
|
-
class GetAdapterVersionCommand extends
|
|
1749
|
-
.classBuilder()
|
|
1750
|
-
.ep(commonParams)
|
|
1751
|
-
.m(function (Command, cs, config, o) {
|
|
1752
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1753
|
-
})
|
|
1754
|
-
.s("Textract", "GetAdapterVersion", {})
|
|
1755
|
-
.n("TextractClient", "GetAdapterVersionCommand")
|
|
1756
|
-
.sc(GetAdapterVersion$)
|
|
1757
|
-
.build() {
|
|
1673
|
+
class GetAdapterVersionCommand extends command(_ep0, _mw0, "GetAdapterVersion", GetAdapterVersion$) {
|
|
1758
1674
|
}
|
|
1759
1675
|
|
|
1760
|
-
class GetDocumentAnalysisCommand extends
|
|
1761
|
-
.classBuilder()
|
|
1762
|
-
.ep(commonParams)
|
|
1763
|
-
.m(function (Command, cs, config, o) {
|
|
1764
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1765
|
-
})
|
|
1766
|
-
.s("Textract", "GetDocumentAnalysis", {})
|
|
1767
|
-
.n("TextractClient", "GetDocumentAnalysisCommand")
|
|
1768
|
-
.sc(GetDocumentAnalysis$)
|
|
1769
|
-
.build() {
|
|
1676
|
+
class GetDocumentAnalysisCommand extends command(_ep0, _mw0, "GetDocumentAnalysis", GetDocumentAnalysis$) {
|
|
1770
1677
|
}
|
|
1771
1678
|
|
|
1772
|
-
class GetDocumentTextDetectionCommand extends
|
|
1773
|
-
.classBuilder()
|
|
1774
|
-
.ep(commonParams)
|
|
1775
|
-
.m(function (Command, cs, config, o) {
|
|
1776
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1777
|
-
})
|
|
1778
|
-
.s("Textract", "GetDocumentTextDetection", {})
|
|
1779
|
-
.n("TextractClient", "GetDocumentTextDetectionCommand")
|
|
1780
|
-
.sc(GetDocumentTextDetection$)
|
|
1781
|
-
.build() {
|
|
1679
|
+
class GetDocumentTextDetectionCommand extends command(_ep0, _mw0, "GetDocumentTextDetection", GetDocumentTextDetection$) {
|
|
1782
1680
|
}
|
|
1783
1681
|
|
|
1784
|
-
class GetExpenseAnalysisCommand extends
|
|
1785
|
-
.classBuilder()
|
|
1786
|
-
.ep(commonParams)
|
|
1787
|
-
.m(function (Command, cs, config, o) {
|
|
1788
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1789
|
-
})
|
|
1790
|
-
.s("Textract", "GetExpenseAnalysis", {})
|
|
1791
|
-
.n("TextractClient", "GetExpenseAnalysisCommand")
|
|
1792
|
-
.sc(GetExpenseAnalysis$)
|
|
1793
|
-
.build() {
|
|
1682
|
+
class GetExpenseAnalysisCommand extends command(_ep0, _mw0, "GetExpenseAnalysis", GetExpenseAnalysis$) {
|
|
1794
1683
|
}
|
|
1795
1684
|
|
|
1796
|
-
class GetLendingAnalysisCommand extends
|
|
1797
|
-
.classBuilder()
|
|
1798
|
-
.ep(commonParams)
|
|
1799
|
-
.m(function (Command, cs, config, o) {
|
|
1800
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1801
|
-
})
|
|
1802
|
-
.s("Textract", "GetLendingAnalysis", {})
|
|
1803
|
-
.n("TextractClient", "GetLendingAnalysisCommand")
|
|
1804
|
-
.sc(GetLendingAnalysis$)
|
|
1805
|
-
.build() {
|
|
1685
|
+
class GetLendingAnalysisCommand extends command(_ep0, _mw0, "GetLendingAnalysis", GetLendingAnalysis$) {
|
|
1806
1686
|
}
|
|
1807
1687
|
|
|
1808
|
-
class GetLendingAnalysisSummaryCommand extends
|
|
1809
|
-
.classBuilder()
|
|
1810
|
-
.ep(commonParams)
|
|
1811
|
-
.m(function (Command, cs, config, o) {
|
|
1812
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1813
|
-
})
|
|
1814
|
-
.s("Textract", "GetLendingAnalysisSummary", {})
|
|
1815
|
-
.n("TextractClient", "GetLendingAnalysisSummaryCommand")
|
|
1816
|
-
.sc(GetLendingAnalysisSummary$)
|
|
1817
|
-
.build() {
|
|
1688
|
+
class GetLendingAnalysisSummaryCommand extends command(_ep0, _mw0, "GetLendingAnalysisSummary", GetLendingAnalysisSummary$) {
|
|
1818
1689
|
}
|
|
1819
1690
|
|
|
1820
|
-
class ListAdaptersCommand extends
|
|
1821
|
-
.classBuilder()
|
|
1822
|
-
.ep(commonParams)
|
|
1823
|
-
.m(function (Command, cs, config, o) {
|
|
1824
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1825
|
-
})
|
|
1826
|
-
.s("Textract", "ListAdapters", {})
|
|
1827
|
-
.n("TextractClient", "ListAdaptersCommand")
|
|
1828
|
-
.sc(ListAdapters$)
|
|
1829
|
-
.build() {
|
|
1691
|
+
class ListAdaptersCommand extends command(_ep0, _mw0, "ListAdapters", ListAdapters$) {
|
|
1830
1692
|
}
|
|
1831
1693
|
|
|
1832
|
-
class ListAdapterVersionsCommand extends
|
|
1833
|
-
.classBuilder()
|
|
1834
|
-
.ep(commonParams)
|
|
1835
|
-
.m(function (Command, cs, config, o) {
|
|
1836
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1837
|
-
})
|
|
1838
|
-
.s("Textract", "ListAdapterVersions", {})
|
|
1839
|
-
.n("TextractClient", "ListAdapterVersionsCommand")
|
|
1840
|
-
.sc(ListAdapterVersions$)
|
|
1841
|
-
.build() {
|
|
1694
|
+
class ListAdapterVersionsCommand extends command(_ep0, _mw0, "ListAdapterVersions", ListAdapterVersions$) {
|
|
1842
1695
|
}
|
|
1843
1696
|
|
|
1844
|
-
class ListTagsForResourceCommand extends
|
|
1845
|
-
.classBuilder()
|
|
1846
|
-
.ep(commonParams)
|
|
1847
|
-
.m(function (Command, cs, config, o) {
|
|
1848
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1849
|
-
})
|
|
1850
|
-
.s("Textract", "ListTagsForResource", {})
|
|
1851
|
-
.n("TextractClient", "ListTagsForResourceCommand")
|
|
1852
|
-
.sc(ListTagsForResource$)
|
|
1853
|
-
.build() {
|
|
1697
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
1854
1698
|
}
|
|
1855
1699
|
|
|
1856
|
-
class StartDocumentAnalysisCommand extends
|
|
1857
|
-
.classBuilder()
|
|
1858
|
-
.ep(commonParams)
|
|
1859
|
-
.m(function (Command, cs, config, o) {
|
|
1860
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1861
|
-
})
|
|
1862
|
-
.s("Textract", "StartDocumentAnalysis", {})
|
|
1863
|
-
.n("TextractClient", "StartDocumentAnalysisCommand")
|
|
1864
|
-
.sc(StartDocumentAnalysis$)
|
|
1865
|
-
.build() {
|
|
1700
|
+
class StartDocumentAnalysisCommand extends command(_ep0, _mw0, "StartDocumentAnalysis", StartDocumentAnalysis$) {
|
|
1866
1701
|
}
|
|
1867
1702
|
|
|
1868
|
-
class StartDocumentTextDetectionCommand extends
|
|
1869
|
-
.classBuilder()
|
|
1870
|
-
.ep(commonParams)
|
|
1871
|
-
.m(function (Command, cs, config, o) {
|
|
1872
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1873
|
-
})
|
|
1874
|
-
.s("Textract", "StartDocumentTextDetection", {})
|
|
1875
|
-
.n("TextractClient", "StartDocumentTextDetectionCommand")
|
|
1876
|
-
.sc(StartDocumentTextDetection$)
|
|
1877
|
-
.build() {
|
|
1703
|
+
class StartDocumentTextDetectionCommand extends command(_ep0, _mw0, "StartDocumentTextDetection", StartDocumentTextDetection$) {
|
|
1878
1704
|
}
|
|
1879
1705
|
|
|
1880
|
-
class StartExpenseAnalysisCommand extends
|
|
1881
|
-
.classBuilder()
|
|
1882
|
-
.ep(commonParams)
|
|
1883
|
-
.m(function (Command, cs, config, o) {
|
|
1884
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1885
|
-
})
|
|
1886
|
-
.s("Textract", "StartExpenseAnalysis", {})
|
|
1887
|
-
.n("TextractClient", "StartExpenseAnalysisCommand")
|
|
1888
|
-
.sc(StartExpenseAnalysis$)
|
|
1889
|
-
.build() {
|
|
1706
|
+
class StartExpenseAnalysisCommand extends command(_ep0, _mw0, "StartExpenseAnalysis", StartExpenseAnalysis$) {
|
|
1890
1707
|
}
|
|
1891
1708
|
|
|
1892
|
-
class StartLendingAnalysisCommand extends
|
|
1893
|
-
.classBuilder()
|
|
1894
|
-
.ep(commonParams)
|
|
1895
|
-
.m(function (Command, cs, config, o) {
|
|
1896
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1897
|
-
})
|
|
1898
|
-
.s("Textract", "StartLendingAnalysis", {})
|
|
1899
|
-
.n("TextractClient", "StartLendingAnalysisCommand")
|
|
1900
|
-
.sc(StartLendingAnalysis$)
|
|
1901
|
-
.build() {
|
|
1709
|
+
class StartLendingAnalysisCommand extends command(_ep0, _mw0, "StartLendingAnalysis", StartLendingAnalysis$) {
|
|
1902
1710
|
}
|
|
1903
1711
|
|
|
1904
|
-
class TagResourceCommand extends
|
|
1905
|
-
.classBuilder()
|
|
1906
|
-
.ep(commonParams)
|
|
1907
|
-
.m(function (Command, cs, config, o) {
|
|
1908
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1909
|
-
})
|
|
1910
|
-
.s("Textract", "TagResource", {})
|
|
1911
|
-
.n("TextractClient", "TagResourceCommand")
|
|
1912
|
-
.sc(TagResource$)
|
|
1913
|
-
.build() {
|
|
1712
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
1914
1713
|
}
|
|
1915
1714
|
|
|
1916
|
-
class UntagResourceCommand extends
|
|
1917
|
-
.classBuilder()
|
|
1918
|
-
.ep(commonParams)
|
|
1919
|
-
.m(function (Command, cs, config, o) {
|
|
1920
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1921
|
-
})
|
|
1922
|
-
.s("Textract", "UntagResource", {})
|
|
1923
|
-
.n("TextractClient", "UntagResourceCommand")
|
|
1924
|
-
.sc(UntagResource$)
|
|
1925
|
-
.build() {
|
|
1715
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
1926
1716
|
}
|
|
1927
1717
|
|
|
1928
|
-
class UpdateAdapterCommand extends
|
|
1929
|
-
.classBuilder()
|
|
1930
|
-
.ep(commonParams)
|
|
1931
|
-
.m(function (Command, cs, config, o) {
|
|
1932
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1933
|
-
})
|
|
1934
|
-
.s("Textract", "UpdateAdapter", {})
|
|
1935
|
-
.n("TextractClient", "UpdateAdapterCommand")
|
|
1936
|
-
.sc(UpdateAdapter$)
|
|
1937
|
-
.build() {
|
|
1718
|
+
class UpdateAdapterCommand extends command(_ep0, _mw0, "UpdateAdapter", UpdateAdapter$) {
|
|
1938
1719
|
}
|
|
1939
1720
|
|
|
1940
1721
|
const paginateListAdapters = createPaginator(TextractClient, ListAdaptersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "Textract", "TextractClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -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 { AnalyzeDocument$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AnalyzeDocumentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "AnalyzeDocument", {})
|
|
13
|
-
.n("TextractClient", "AnalyzeDocumentCommand")
|
|
14
|
-
.sc(AnalyzeDocument$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AnalyzeDocumentCommand extends command(_ep0, _mw0, "AnalyzeDocument", AnalyzeDocument$) {
|
|
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 { AnalyzeExpense$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AnalyzeExpenseCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "AnalyzeExpense", {})
|
|
13
|
-
.n("TextractClient", "AnalyzeExpenseCommand")
|
|
14
|
-
.sc(AnalyzeExpense$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AnalyzeExpenseCommand extends command(_ep0, _mw0, "AnalyzeExpense", AnalyzeExpense$) {
|
|
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 { AnalyzeID$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AnalyzeIDCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "AnalyzeID", {})
|
|
13
|
-
.n("TextractClient", "AnalyzeIDCommand")
|
|
14
|
-
.sc(AnalyzeID$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AnalyzeIDCommand extends command(_ep0, _mw0, "AnalyzeID", AnalyzeID$) {
|
|
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 { CreateAdapter$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAdapterCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "CreateAdapter", {})
|
|
13
|
-
.n("TextractClient", "CreateAdapterCommand")
|
|
14
|
-
.sc(CreateAdapter$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAdapterCommand extends command(_ep0, _mw0, "CreateAdapter", CreateAdapter$) {
|
|
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 { CreateAdapterVersion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateAdapterVersionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "CreateAdapterVersion", {})
|
|
13
|
-
.n("TextractClient", "CreateAdapterVersionCommand")
|
|
14
|
-
.sc(CreateAdapterVersion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateAdapterVersionCommand extends command(_ep0, _mw0, "CreateAdapterVersion", CreateAdapterVersion$) {
|
|
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 { DeleteAdapter$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteAdapterCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "DeleteAdapter", {})
|
|
13
|
-
.n("TextractClient", "DeleteAdapterCommand")
|
|
14
|
-
.sc(DeleteAdapter$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteAdapterCommand extends command(_ep0, _mw0, "DeleteAdapter", DeleteAdapter$) {
|
|
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 { DeleteAdapterVersion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteAdapterVersionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "DeleteAdapterVersion", {})
|
|
13
|
-
.n("TextractClient", "DeleteAdapterVersionCommand")
|
|
14
|
-
.sc(DeleteAdapterVersion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteAdapterVersionCommand extends command(_ep0, _mw0, "DeleteAdapterVersion", DeleteAdapterVersion$) {
|
|
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 { DetectDocumentText$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DetectDocumentTextCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "DetectDocumentText", {})
|
|
13
|
-
.n("TextractClient", "DetectDocumentTextCommand")
|
|
14
|
-
.sc(DetectDocumentText$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DetectDocumentTextCommand extends command(_ep0, _mw0, "DetectDocumentText", DetectDocumentText$) {
|
|
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 { GetAdapter$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAdapterCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "GetAdapter", {})
|
|
13
|
-
.n("TextractClient", "GetAdapterCommand")
|
|
14
|
-
.sc(GetAdapter$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAdapterCommand extends command(_ep0, _mw0, "GetAdapter", GetAdapter$) {
|
|
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 { GetAdapterVersion$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAdapterVersionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "GetAdapterVersion", {})
|
|
13
|
-
.n("TextractClient", "GetAdapterVersionCommand")
|
|
14
|
-
.sc(GetAdapterVersion$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAdapterVersionCommand extends command(_ep0, _mw0, "GetAdapterVersion", GetAdapterVersion$) {
|
|
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 { GetDocumentAnalysis$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetDocumentAnalysisCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "GetDocumentAnalysis", {})
|
|
13
|
-
.n("TextractClient", "GetDocumentAnalysisCommand")
|
|
14
|
-
.sc(GetDocumentAnalysis$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetDocumentAnalysisCommand extends command(_ep0, _mw0, "GetDocumentAnalysis", GetDocumentAnalysis$) {
|
|
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 { GetDocumentTextDetection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetDocumentTextDetectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "GetDocumentTextDetection", {})
|
|
13
|
-
.n("TextractClient", "GetDocumentTextDetectionCommand")
|
|
14
|
-
.sc(GetDocumentTextDetection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetDocumentTextDetectionCommand extends command(_ep0, _mw0, "GetDocumentTextDetection", GetDocumentTextDetection$) {
|
|
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 { GetExpenseAnalysis$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetExpenseAnalysisCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Textract", "GetExpenseAnalysis", {})
|
|
13
|
-
.n("TextractClient", "GetExpenseAnalysisCommand")
|
|
14
|
-
.sc(GetExpenseAnalysis$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetExpenseAnalysisCommand extends command(_ep0, _mw0, "GetExpenseAnalysis", GetExpenseAnalysis$) {
|
|
16
4
|
}
|