@aws-sdk/client-textract 3.478.0 → 3.484.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/commands/AnalyzeDocumentCommand.js +18 -41
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +18 -41
- package/dist-cjs/commands/AnalyzeIDCommand.js +18 -41
- package/dist-cjs/commands/CreateAdapterCommand.js +18 -41
- package/dist-cjs/commands/CreateAdapterVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteAdapterCommand.js +18 -41
- package/dist-cjs/commands/DeleteAdapterVersionCommand.js +18 -41
- package/dist-cjs/commands/DetectDocumentTextCommand.js +18 -41
- package/dist-cjs/commands/GetAdapterCommand.js +18 -41
- package/dist-cjs/commands/GetAdapterVersionCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +18 -41
- package/dist-cjs/commands/GetExpenseAnalysisCommand.js +18 -41
- package/dist-cjs/commands/GetLendingAnalysisCommand.js +18 -41
- package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +18 -41
- package/dist-cjs/commands/ListAdapterVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListAdaptersCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +18 -41
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +18 -41
- package/dist-cjs/commands/StartExpenseAnalysisCommand.js +18 -41
- package/dist-cjs/commands/StartLendingAnalysisCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateAdapterCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AnalyzeDocumentCommand.js +18 -41
- package/dist-es/commands/AnalyzeExpenseCommand.js +18 -41
- package/dist-es/commands/AnalyzeIDCommand.js +18 -41
- package/dist-es/commands/CreateAdapterCommand.js +18 -41
- package/dist-es/commands/CreateAdapterVersionCommand.js +18 -41
- package/dist-es/commands/DeleteAdapterCommand.js +18 -41
- package/dist-es/commands/DeleteAdapterVersionCommand.js +18 -41
- package/dist-es/commands/DetectDocumentTextCommand.js +18 -41
- package/dist-es/commands/GetAdapterCommand.js +18 -41
- package/dist-es/commands/GetAdapterVersionCommand.js +18 -41
- package/dist-es/commands/GetDocumentAnalysisCommand.js +18 -41
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +18 -41
- package/dist-es/commands/GetExpenseAnalysisCommand.js +18 -41
- package/dist-es/commands/GetLendingAnalysisCommand.js +18 -41
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +18 -41
- package/dist-es/commands/ListAdapterVersionsCommand.js +18 -41
- package/dist-es/commands/ListAdaptersCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/StartDocumentAnalysisCommand.js +18 -41
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +18 -41
- package/dist-es/commands/StartExpenseAnalysisCommand.js +18 -41
- package/dist-es/commands/StartLendingAnalysisCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateAdapterCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +6 -21
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +6 -21
- package/dist-types/commands/AnalyzeIDCommand.d.ts +6 -21
- package/dist-types/commands/CreateAdapterCommand.d.ts +6 -21
- package/dist-types/commands/CreateAdapterVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAdapterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +6 -21
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +6 -21
- package/dist-types/commands/GetAdapterCommand.d.ts +6 -21
- package/dist-types/commands/GetAdapterVersionCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +6 -21
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +6 -21
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +6 -21
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +6 -21
- package/dist-types/commands/ListAdapterVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListAdaptersCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +6 -21
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +6 -21
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +6 -21
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateAdapterCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetDocumentTextDetectionCommand, se_GetDocumentTextDetectionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetDocumentTextDetectionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "GetDocumentTextDetectionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "GetDocumentTextDetection",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetDocumentTextDetectionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetDocumentTextDetectionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetDocumentTextDetectionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "GetDocumentTextDetection", {})
|
|
19
|
+
.n("TextractClient", "GetDocumentTextDetectionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetDocumentTextDetectionCommand)
|
|
22
|
+
.de(de_GetDocumentTextDetectionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetExpenseAnalysisCommand, se_GetExpenseAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetExpenseAnalysisCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "GetExpenseAnalysisCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "GetExpenseAnalysis",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetExpenseAnalysisCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetExpenseAnalysisCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetExpenseAnalysisCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "GetExpenseAnalysis", {})
|
|
19
|
+
.n("TextractClient", "GetExpenseAnalysisCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetExpenseAnalysisCommand)
|
|
22
|
+
.de(de_GetExpenseAnalysisCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetLendingAnalysisCommand, se_GetLendingAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetLendingAnalysisCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "GetLendingAnalysisCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "GetLendingAnalysis",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetLendingAnalysisCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetLendingAnalysisCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetLendingAnalysisCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "GetLendingAnalysis", {})
|
|
19
|
+
.n("TextractClient", "GetLendingAnalysisCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetLendingAnalysisCommand)
|
|
22
|
+
.de(de_GetLendingAnalysisCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_GetLendingAnalysisSummaryCommand, se_GetLendingAnalysisSummaryCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetLendingAnalysisSummaryCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "GetLendingAnalysisSummaryCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "GetLendingAnalysisSummary",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_GetLendingAnalysisSummaryCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetLendingAnalysisSummaryCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetLendingAnalysisSummaryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "GetLendingAnalysisSummary", {})
|
|
19
|
+
.n("TextractClient", "GetLendingAnalysisSummaryCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetLendingAnalysisSummaryCommand)
|
|
22
|
+
.de(de_GetLendingAnalysisSummaryCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListAdapterVersionsCommand, se_ListAdapterVersionsCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListAdapterVersionsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "ListAdapterVersionsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "ListAdapterVersions",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListAdapterVersionsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListAdapterVersionsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListAdapterVersionsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "ListAdapterVersions", {})
|
|
19
|
+
.n("TextractClient", "ListAdapterVersionsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListAdapterVersionsCommand)
|
|
22
|
+
.de(de_ListAdapterVersionsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListAdaptersCommand, se_ListAdaptersCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListAdaptersCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "ListAdaptersCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "ListAdapters",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListAdaptersCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListAdaptersCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListAdaptersCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "ListAdapters", {})
|
|
19
|
+
.n("TextractClient", "ListAdaptersCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListAdaptersCommand)
|
|
22
|
+
.de(de_ListAdaptersCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListTagsForResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "ListTagsForResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "ListTagsForResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListTagsForResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListTagsForResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListTagsForResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "ListTagsForResource", {})
|
|
19
|
+
.n("TextractClient", "ListTagsForResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListTagsForResourceCommand)
|
|
22
|
+
.de(de_ListTagsForResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartDocumentAnalysisCommand, se_StartDocumentAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartDocumentAnalysisCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "StartDocumentAnalysisCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "StartDocumentAnalysis",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartDocumentAnalysisCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartDocumentAnalysisCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartDocumentAnalysisCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "StartDocumentAnalysis", {})
|
|
19
|
+
.n("TextractClient", "StartDocumentAnalysisCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartDocumentAnalysisCommand)
|
|
22
|
+
.de(de_StartDocumentAnalysisCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StartDocumentTextDetectionCommand, se_StartDocumentTextDetectionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartDocumentTextDetectionCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TextractClient";
|
|
26
|
-
const commandName = "StartDocumentTextDetectionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "StartDocumentTextDetection",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StartDocumentTextDetectionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartDocumentTextDetectionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartDocumentTextDetectionCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("Textract", "StartDocumentTextDetection", {})
|
|
19
|
+
.n("TextractClient", "StartDocumentTextDetectionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartDocumentTextDetectionCommand)
|
|
22
|
+
.de(de_StartDocumentTextDetectionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|