@aws-sdk/client-textract 3.477.0 → 3.481.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-cjs/pagination/ListAdapterVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAdaptersPaginator.js +2 -24
- 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-es/pagination/ListAdapterVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListAdaptersPaginator.js +2 -23
- 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/pagination/ListAdapterVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAdaptersPaginator.d.ts +1 -1
- 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/dist-types/ts3.4/pagination/ListAdapterVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAdaptersPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -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_AnalyzeExpenseCommand, se_AnalyzeExpenseCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AnalyzeExpenseCommand 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 = "AnalyzeExpenseCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "AnalyzeExpense",
|
|
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_AnalyzeExpenseCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AnalyzeExpenseCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AnalyzeExpenseCommand 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", "AnalyzeExpense", {})
|
|
19
|
+
.n("TextractClient", "AnalyzeExpenseCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AnalyzeExpenseCommand)
|
|
22
|
+
.de(de_AnalyzeExpenseCommand)
|
|
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_AnalyzeIDCommand, se_AnalyzeIDCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class AnalyzeIDCommand 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 = "AnalyzeIDCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "AnalyzeID",
|
|
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_AnalyzeIDCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_AnalyzeIDCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class AnalyzeIDCommand 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", "AnalyzeID", {})
|
|
19
|
+
.n("TextractClient", "AnalyzeIDCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_AnalyzeIDCommand)
|
|
22
|
+
.de(de_AnalyzeIDCommand)
|
|
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_CreateAdapterCommand, se_CreateAdapterCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateAdapterCommand 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 = "CreateAdapterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "CreateAdapter",
|
|
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_CreateAdapterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateAdapterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateAdapterCommand 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", "CreateAdapter", {})
|
|
19
|
+
.n("TextractClient", "CreateAdapterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateAdapterCommand)
|
|
22
|
+
.de(de_CreateAdapterCommand)
|
|
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_CreateAdapterVersionCommand, se_CreateAdapterVersionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class CreateAdapterVersionCommand 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 = "CreateAdapterVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "CreateAdapterVersion",
|
|
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_CreateAdapterVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_CreateAdapterVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class CreateAdapterVersionCommand 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", "CreateAdapterVersion", {})
|
|
19
|
+
.n("TextractClient", "CreateAdapterVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_CreateAdapterVersionCommand)
|
|
22
|
+
.de(de_CreateAdapterVersionCommand)
|
|
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_DeleteAdapterCommand, se_DeleteAdapterCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAdapterCommand 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 = "DeleteAdapterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "DeleteAdapter",
|
|
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_DeleteAdapterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAdapterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAdapterCommand 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", "DeleteAdapter", {})
|
|
19
|
+
.n("TextractClient", "DeleteAdapterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAdapterCommand)
|
|
22
|
+
.de(de_DeleteAdapterCommand)
|
|
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_DeleteAdapterVersionCommand, se_DeleteAdapterVersionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DeleteAdapterVersionCommand 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 = "DeleteAdapterVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "DeleteAdapterVersion",
|
|
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_DeleteAdapterVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DeleteAdapterVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DeleteAdapterVersionCommand 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", "DeleteAdapterVersion", {})
|
|
19
|
+
.n("TextractClient", "DeleteAdapterVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DeleteAdapterVersionCommand)
|
|
22
|
+
.de(de_DeleteAdapterVersionCommand)
|
|
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_DetectDocumentTextCommand, se_DetectDocumentTextCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class DetectDocumentTextCommand 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 = "DetectDocumentTextCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "DetectDocumentText",
|
|
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_DetectDocumentTextCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_DetectDocumentTextCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class DetectDocumentTextCommand 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", "DetectDocumentText", {})
|
|
19
|
+
.n("TextractClient", "DetectDocumentTextCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_DetectDocumentTextCommand)
|
|
22
|
+
.de(de_DetectDocumentTextCommand)
|
|
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_GetAdapterCommand, se_GetAdapterCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetAdapterCommand 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 = "GetAdapterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "GetAdapter",
|
|
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_GetAdapterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetAdapterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetAdapterCommand 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", "GetAdapter", {})
|
|
19
|
+
.n("TextractClient", "GetAdapterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAdapterCommand)
|
|
22
|
+
.de(de_GetAdapterCommand)
|
|
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_GetAdapterVersionCommand, se_GetAdapterVersionCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class GetAdapterVersionCommand 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 = "GetAdapterVersionCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "GetAdapterVersion",
|
|
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_GetAdapterVersionCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_GetAdapterVersionCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class GetAdapterVersionCommand 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", "GetAdapterVersion", {})
|
|
19
|
+
.n("TextractClient", "GetAdapterVersionCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetAdapterVersionCommand)
|
|
22
|
+
.de(de_GetAdapterVersionCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|