@aws-sdk/client-textract 3.490.0 → 3.496.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/Textract.js +1 -61
- package/dist-cjs/TextractClient.js +1 -43
- package/dist-cjs/commands/AnalyzeDocumentCommand.js +1 -28
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +1 -28
- package/dist-cjs/commands/AnalyzeIDCommand.js +1 -28
- package/dist-cjs/commands/CreateAdapterCommand.js +1 -28
- package/dist-cjs/commands/CreateAdapterVersionCommand.js +1 -28
- package/dist-cjs/commands/DeleteAdapterCommand.js +1 -28
- package/dist-cjs/commands/DeleteAdapterVersionCommand.js +1 -28
- package/dist-cjs/commands/DetectDocumentTextCommand.js +1 -28
- package/dist-cjs/commands/GetAdapterCommand.js +1 -28
- package/dist-cjs/commands/GetAdapterVersionCommand.js +1 -28
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +1 -28
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +1 -28
- package/dist-cjs/commands/GetExpenseAnalysisCommand.js +1 -28
- package/dist-cjs/commands/GetLendingAnalysisCommand.js +1 -28
- package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +1 -28
- package/dist-cjs/commands/ListAdapterVersionsCommand.js +1 -28
- package/dist-cjs/commands/ListAdaptersCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +1 -28
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +1 -28
- package/dist-cjs/commands/StartExpenseAnalysisCommand.js +1 -28
- package/dist-cjs/commands/StartLendingAnalysisCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateAdapterCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -28
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3430 -11
- package/dist-cjs/models/TextractServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -364
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAdapterVersionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAdaptersPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -6
- package/dist-cjs/protocols/Aws_json1_1.js +1 -2359
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListTagsForResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class ListTagsForResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "ListTagsForResource", {})
|
|
22
|
-
.n("TextractClient", "ListTagsForResourceCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_ListTagsForResourceCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_ListTagsForResourceCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartDocumentAnalysisCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class StartDocumentAnalysisCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "StartDocumentAnalysis", {})
|
|
22
|
-
.n("TextractClient", "StartDocumentAnalysisCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_StartDocumentAnalysisCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_StartDocumentAnalysisCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.StartDocumentAnalysisCommand = StartDocumentAnalysisCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartDocumentTextDetectionCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class StartDocumentTextDetectionCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "StartDocumentTextDetection", {})
|
|
22
|
-
.n("TextractClient", "StartDocumentTextDetectionCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_StartDocumentTextDetectionCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_StartDocumentTextDetectionCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.StartDocumentTextDetectionCommand = StartDocumentTextDetectionCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartExpenseAnalysisCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class StartExpenseAnalysisCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "StartExpenseAnalysis", {})
|
|
22
|
-
.n("TextractClient", "StartExpenseAnalysisCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_StartExpenseAnalysisCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_StartExpenseAnalysisCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.StartExpenseAnalysisCommand = StartExpenseAnalysisCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartLendingAnalysisCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class StartLendingAnalysisCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "StartLendingAnalysis", {})
|
|
22
|
-
.n("TextractClient", "StartLendingAnalysisCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_StartLendingAnalysisCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_StartLendingAnalysisCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.StartLendingAnalysisCommand = StartLendingAnalysisCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "TagResource", {})
|
|
22
|
-
.n("TextractClient", "TagResourceCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_TagResourceCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_TagResourceCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.TagResourceCommand = TagResourceCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "UntagResource", {})
|
|
22
|
-
.n("TextractClient", "UntagResourceCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_UntagResourceCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_UntagResourceCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateAdapterCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateAdapterCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep({
|
|
13
|
-
...EndpointParameters_1.commonParams,
|
|
14
|
-
})
|
|
15
|
-
.m(function (Command, cs, config, o) {
|
|
16
|
-
return [
|
|
17
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
-
];
|
|
20
|
-
})
|
|
21
|
-
.s("Textract", "UpdateAdapter", {})
|
|
22
|
-
.n("TextractClient", "UpdateAdapterCommand")
|
|
23
|
-
.f(void 0, void 0)
|
|
24
|
-
.ser(Aws_json1_1_1.se_UpdateAdapterCommand)
|
|
25
|
-
.de(Aws_json1_1_1.de_UpdateAdapterCommand)
|
|
26
|
-
.build() {
|
|
27
|
-
}
|
|
28
|
-
exports.UpdateAdapterCommand = UpdateAdapterCommand;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,28 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./AnalyzeDocumentCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./AnalyzeExpenseCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./AnalyzeIDCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./CreateAdapterCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./CreateAdapterVersionCommand"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./DeleteAdapterCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./DeleteAdapterVersionCommand"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./DetectDocumentTextCommand"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./GetAdapterCommand"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./GetAdapterVersionCommand"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./GetDocumentAnalysisCommand"), exports);
|
|
15
|
-
tslib_1.__exportStar(require("./GetDocumentTextDetectionCommand"), exports);
|
|
16
|
-
tslib_1.__exportStar(require("./GetExpenseAnalysisCommand"), exports);
|
|
17
|
-
tslib_1.__exportStar(require("./GetLendingAnalysisCommand"), exports);
|
|
18
|
-
tslib_1.__exportStar(require("./GetLendingAnalysisSummaryCommand"), exports);
|
|
19
|
-
tslib_1.__exportStar(require("./ListAdapterVersionsCommand"), exports);
|
|
20
|
-
tslib_1.__exportStar(require("./ListAdaptersCommand"), exports);
|
|
21
|
-
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
22
|
-
tslib_1.__exportStar(require("./StartDocumentAnalysisCommand"), exports);
|
|
23
|
-
tslib_1.__exportStar(require("./StartDocumentTextDetectionCommand"), exports);
|
|
24
|
-
tslib_1.__exportStar(require("./StartExpenseAnalysisCommand"), exports);
|
|
25
|
-
tslib_1.__exportStar(require("./StartLendingAnalysisCommand"), exports);
|
|
26
|
-
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
27
|
-
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
28
|
-
tslib_1.__exportStar(require("./UpdateAdapterCommand"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return {
|
|
6
|
-
...options,
|
|
7
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
-
defaultSigningName: "textract",
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
-
exports.commonParams = {
|
|
14
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
-
Region: { type: "builtInParams", name: "region" },
|
|
17
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
-
};
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("./index.js");
|