@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_StartExpenseAnalysisCommand, se_StartExpenseAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartExpenseAnalysisCommand 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 = "StartExpenseAnalysisCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "StartExpenseAnalysis",
|
|
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_StartExpenseAnalysisCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartExpenseAnalysisCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartExpenseAnalysisCommand 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", "StartExpenseAnalysis", {})
|
|
19
|
+
.n("TextractClient", "StartExpenseAnalysisCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartExpenseAnalysisCommand)
|
|
22
|
+
.de(de_StartExpenseAnalysisCommand)
|
|
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_StartLendingAnalysisCommand, se_StartLendingAnalysisCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StartLendingAnalysisCommand 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 = "StartLendingAnalysisCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "StartLendingAnalysis",
|
|
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_StartLendingAnalysisCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StartLendingAnalysisCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StartLendingAnalysisCommand 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", "StartLendingAnalysis", {})
|
|
19
|
+
.n("TextractClient", "StartLendingAnalysisCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StartLendingAnalysisCommand)
|
|
22
|
+
.de(de_StartLendingAnalysisCommand)
|
|
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand 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 = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "TagResource",
|
|
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_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand 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", "TagResource", {})
|
|
19
|
+
.n("TextractClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand 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 = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "UntagResource",
|
|
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_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand 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", "UntagResource", {})
|
|
19
|
+
.n("TextractClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
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_UpdateAdapterCommand, se_UpdateAdapterCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateAdapterCommand 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 = "UpdateAdapterCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "Textract",
|
|
35
|
-
operation: "UpdateAdapter",
|
|
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_UpdateAdapterCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateAdapterCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateAdapterCommand 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", "UpdateAdapter", {})
|
|
19
|
+
.n("TextractClient", "UpdateAdapterCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateAdapterCommand)
|
|
22
|
+
.de(de_UpdateAdapterCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "textract",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AnalyzeDocumentRequest, AnalyzeDocumentResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AnalyzeDocumentCommandInput extends AnalyzeDocumentRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AnalyzeDocumentCommand_base: {
|
|
24
|
+
new (input: AnalyzeDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Analyzes an input document for relationships between detected items. </p>
|
|
@@ -238,23 +241,5 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
|
|
|
238
241
|
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
239
242
|
*
|
|
240
243
|
*/
|
|
241
|
-
export declare class AnalyzeDocumentCommand extends
|
|
242
|
-
readonly input: AnalyzeDocumentCommandInput;
|
|
243
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
244
|
-
/**
|
|
245
|
-
* @public
|
|
246
|
-
*/
|
|
247
|
-
constructor(input: AnalyzeDocumentCommandInput);
|
|
248
|
-
/**
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput>;
|
|
252
|
-
/**
|
|
253
|
-
* @internal
|
|
254
|
-
*/
|
|
255
|
-
private serialize;
|
|
256
|
-
/**
|
|
257
|
-
* @internal
|
|
258
|
-
*/
|
|
259
|
-
private deserialize;
|
|
244
|
+
export declare class AnalyzeDocumentCommand extends AnalyzeDocumentCommand_base {
|
|
260
245
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AnalyzeExpenseRequest, AnalyzeExpenseResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AnalyzeExpenseCommandInput extends AnalyzeExpenseRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AnalyzeExpenseCommand_base: {
|
|
24
|
+
new (input: AnalyzeExpenseCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>
|
|
@@ -279,23 +282,5 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
|
|
|
279
282
|
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
280
283
|
*
|
|
281
284
|
*/
|
|
282
|
-
export declare class AnalyzeExpenseCommand extends
|
|
283
|
-
readonly input: AnalyzeExpenseCommandInput;
|
|
284
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
285
|
-
/**
|
|
286
|
-
* @public
|
|
287
|
-
*/
|
|
288
|
-
constructor(input: AnalyzeExpenseCommandInput);
|
|
289
|
-
/**
|
|
290
|
-
* @internal
|
|
291
|
-
*/
|
|
292
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput>;
|
|
293
|
-
/**
|
|
294
|
-
* @internal
|
|
295
|
-
*/
|
|
296
|
-
private serialize;
|
|
297
|
-
/**
|
|
298
|
-
* @internal
|
|
299
|
-
*/
|
|
300
|
-
private deserialize;
|
|
285
|
+
export declare class AnalyzeExpenseCommand extends AnalyzeExpenseCommand_base {
|
|
301
286
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { AnalyzeIDRequest, AnalyzeIDResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AnalyzeIDCommandInput extends AnalyzeIDRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AnalyzeIDCommand_base: {
|
|
24
|
+
new (input: AnalyzeIDCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Analyzes identity documents for relevant information. This information is extracted and
|
|
@@ -178,23 +181,5 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
|
|
|
178
181
|
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
179
182
|
*
|
|
180
183
|
*/
|
|
181
|
-
export declare class AnalyzeIDCommand extends
|
|
182
|
-
readonly input: AnalyzeIDCommandInput;
|
|
183
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
184
|
-
/**
|
|
185
|
-
* @public
|
|
186
|
-
*/
|
|
187
|
-
constructor(input: AnalyzeIDCommandInput);
|
|
188
|
-
/**
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AnalyzeIDCommandInput, AnalyzeIDCommandOutput>;
|
|
192
|
-
/**
|
|
193
|
-
* @internal
|
|
194
|
-
*/
|
|
195
|
-
private serialize;
|
|
196
|
-
/**
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
|
-
private deserialize;
|
|
184
|
+
export declare class AnalyzeIDCommand extends AnalyzeIDCommand_base {
|
|
200
185
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateAdapterRequest, CreateAdapterResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateAdapterCommandInput extends CreateAdapterRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateAdapterCommandOutput extends CreateAdapterResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateAdapterCommand_base: {
|
|
24
|
+
new (input: CreateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates an adapter, which can be fine-tuned for enhanced performance on user provided
|
|
@@ -106,23 +109,5 @@ export interface CreateAdapterCommandOutput extends CreateAdapterResponse, __Met
|
|
|
106
109
|
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
107
110
|
*
|
|
108
111
|
*/
|
|
109
|
-
export declare class CreateAdapterCommand extends
|
|
110
|
-
readonly input: CreateAdapterCommandInput;
|
|
111
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
112
|
-
/**
|
|
113
|
-
* @public
|
|
114
|
-
*/
|
|
115
|
-
constructor(input: CreateAdapterCommandInput);
|
|
116
|
-
/**
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAdapterCommandInput, CreateAdapterCommandOutput>;
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
private serialize;
|
|
124
|
-
/**
|
|
125
|
-
* @internal
|
|
126
|
-
*/
|
|
127
|
-
private deserialize;
|
|
112
|
+
export declare class CreateAdapterCommand extends CreateAdapterCommand_base {
|
|
128
113
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CreateAdapterVersionRequest, CreateAdapterVersionResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateAdapterVersionCommandInput extends CreateAdapterVersionRe
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateAdapterVersionCommandOutput extends CreateAdapterVersionResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateAdapterVersionCommand_base: {
|
|
24
|
+
new (input: CreateAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new version of an adapter. Operates on a provided AdapterId and a specified
|
|
@@ -126,23 +129,5 @@ export interface CreateAdapterVersionCommandOutput extends CreateAdapterVersionR
|
|
|
126
129
|
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
127
130
|
*
|
|
128
131
|
*/
|
|
129
|
-
export declare class CreateAdapterVersionCommand extends
|
|
130
|
-
readonly input: CreateAdapterVersionCommandInput;
|
|
131
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
132
|
-
/**
|
|
133
|
-
* @public
|
|
134
|
-
*/
|
|
135
|
-
constructor(input: CreateAdapterVersionCommandInput);
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput>;
|
|
140
|
-
/**
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
private serialize;
|
|
144
|
-
/**
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
private deserialize;
|
|
132
|
+
export declare class CreateAdapterVersionCommand extends CreateAdapterVersionCommand_base {
|
|
148
133
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DeleteAdapterRequest, DeleteAdapterResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteAdapterCommandInput extends DeleteAdapterRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteAdapterCommandOutput extends DeleteAdapterResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteAdapterCommand_base: {
|
|
24
|
+
new (input: DeleteAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.</p>
|
|
@@ -79,23 +82,5 @@ export interface DeleteAdapterCommandOutput extends DeleteAdapterResponse, __Met
|
|
|
79
82
|
* <p>Base exception class for all service exceptions from Textract service.</p>
|
|
80
83
|
*
|
|
81
84
|
*/
|
|
82
|
-
export declare class DeleteAdapterCommand extends
|
|
83
|
-
readonly input: DeleteAdapterCommandInput;
|
|
84
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
-
/**
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
88
|
-
constructor(input: DeleteAdapterCommandInput);
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAdapterCommandInput, DeleteAdapterCommandOutput>;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
private serialize;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
private deserialize;
|
|
85
|
+
export declare class DeleteAdapterCommand extends DeleteAdapterCommand_base {
|
|
101
86
|
}
|