@aws-sdk/client-textract 3.33.0 → 3.36.1
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/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/Textract.js +1 -7
- package/{dist/cjs → dist-cjs}/TextractClient.js +8 -19
- package/dist-cjs/commands/AnalyzeDocumentCommand.js +36 -0
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +36 -0
- package/dist-cjs/commands/DetectDocumentTextCommand.js +36 -0
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +36 -0
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +36 -0
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +36 -0
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -148
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/Textract.js +2 -8
- package/{dist/es → dist-es}/TextractClient.js +2 -13
- package/dist-es/commands/AnalyzeDocumentCommand.js +39 -0
- package/{dist/es → dist-es}/commands/AnalyzeExpenseCommand.js +4 -43
- package/dist-es/commands/DetectDocumentTextCommand.js +39 -0
- package/dist-es/commands/GetDocumentAnalysisCommand.js +39 -0
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +39 -0
- package/dist-es/commands/StartDocumentAnalysisCommand.js +39 -0
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +39 -0
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -148
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +338 -344
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/types → dist-types}/Textract.d.ts +2 -2
- package/{dist/types → dist-types}/TextractClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AnalyzeDocumentCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/AnalyzeExpenseCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DetectDocumentTextCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDocumentAnalysisCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartDocumentAnalysisCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/Textract.d.ts +40 -0
- package/{dist/types → dist-types}/ts3.4/TextractClient.d.ts +32 -99
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +649 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +52 -49
- package/Textract.ts +0 -422
- package/TextractClient.ts +0 -270
- package/commands/AnalyzeDocumentCommand.ts +0 -124
- package/commands/AnalyzeExpenseCommand.ts +0 -107
- package/commands/DetectDocumentTextCommand.ts +0 -104
- package/commands/GetDocumentAnalysisCommand.ts +0 -138
- package/commands/GetDocumentTextDetectionCommand.ts +0 -118
- package/commands/StartDocumentAnalysisCommand.ts +0 -111
- package/commands/StartDocumentTextDetectionCommand.ts +0 -113
- package/dist/cjs/Textract.js.map +0 -1
- package/dist/cjs/TextractClient.js.map +0 -1
- package/dist/cjs/commands/AnalyzeDocumentCommand.js +0 -91
- package/dist/cjs/commands/AnalyzeDocumentCommand.js.map +0 -1
- package/dist/cjs/commands/AnalyzeExpenseCommand.js +0 -74
- package/dist/cjs/commands/AnalyzeExpenseCommand.js.map +0 -1
- package/dist/cjs/commands/DetectDocumentTextCommand.js +0 -71
- package/dist/cjs/commands/DetectDocumentTextCommand.js.map +0 -1
- package/dist/cjs/commands/GetDocumentAnalysisCommand.js +0 -105
- package/dist/cjs/commands/GetDocumentAnalysisCommand.js.map +0 -1
- package/dist/cjs/commands/GetDocumentTextDetectionCommand.js +0 -85
- package/dist/cjs/commands/GetDocumentTextDetectionCommand.js.map +0 -1
- package/dist/cjs/commands/StartDocumentAnalysisCommand.js +0 -78
- package/dist/cjs/commands/StartDocumentAnalysisCommand.js.map +0 -1
- package/dist/cjs/commands/StartDocumentTextDetectionCommand.js +0 -77
- package/dist/cjs/commands/StartDocumentTextDetectionCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -91
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Textract.js.map +0 -1
- package/dist/es/TextractClient.js.map +0 -1
- package/dist/es/commands/AnalyzeDocumentCommand.js +0 -95
- package/dist/es/commands/AnalyzeDocumentCommand.js.map +0 -1
- package/dist/es/commands/AnalyzeExpenseCommand.js.map +0 -1
- package/dist/es/commands/DetectDocumentTextCommand.js +0 -75
- package/dist/es/commands/DetectDocumentTextCommand.js.map +0 -1
- package/dist/es/commands/GetDocumentAnalysisCommand.js +0 -109
- package/dist/es/commands/GetDocumentAnalysisCommand.js.map +0 -1
- package/dist/es/commands/GetDocumentTextDetectionCommand.js +0 -89
- package/dist/es/commands/GetDocumentTextDetectionCommand.js.map +0 -1
- package/dist/es/commands/StartDocumentAnalysisCommand.js +0 -82
- package/dist/es/commands/StartDocumentAnalysisCommand.js.map +0 -1
- package/dist/es/commands/StartDocumentTextDetectionCommand.js +0 -81
- package/dist/es/commands/StartDocumentTextDetectionCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -11
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -91
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/Textract.d.ts +0 -212
- package/dist/types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +0 -65
- package/dist/types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +0 -48
- package/dist/types/ts3.4/commands/DetectDocumentTextCommand.d.ts +0 -45
- package/dist/types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +0 -79
- package/dist/types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +0 -59
- package/dist/types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +0 -52
- package/dist/types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +0 -51
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1347
- package/endpoints.ts +0 -57
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -1627
- package/protocols/Aws_json1_1.ts +0 -2060
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AnalyzeExpenseCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Analyzes an input document for financially related relationships between text.</p>
|
|
10
|
-
* <p>Information is returned as <code>ExpenseDocuments</code> and seperated as follows.</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>
|
|
14
|
-
* <code>LineItemGroups</code>- A data set containing <code>LineItems</code> which
|
|
15
|
-
* store information about the lines of text, such as an item purchased and its price on a receipt.</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* <code>SummaryFields</code>- Contains all other information a receipt, such as header information
|
|
20
|
-
* or the vendors name.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { TextractClient, AnalyzeExpenseCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
27
|
-
* // const { TextractClient, AnalyzeExpenseCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
28
|
-
* const client = new TextractClient(config);
|
|
29
|
-
* const command = new AnalyzeExpenseCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link AnalyzeExpenseCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link AnalyzeExpenseCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link TextractClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
class AnalyzeExpenseCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
|
-
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
|
-
super();
|
|
44
|
-
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
51
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
53
|
-
const { logger } = configuration;
|
|
54
|
-
const clientName = "TextractClient";
|
|
55
|
-
const commandName = "AnalyzeExpenseCommand";
|
|
56
|
-
const handlerExecutionContext = {
|
|
57
|
-
logger,
|
|
58
|
-
clientName,
|
|
59
|
-
commandName,
|
|
60
|
-
inputFilterSensitiveLog: models_0_1.AnalyzeExpenseRequest.filterSensitiveLog,
|
|
61
|
-
outputFilterSensitiveLog: models_0_1.AnalyzeExpenseResponse.filterSensitiveLog,
|
|
62
|
-
};
|
|
63
|
-
const { requestHandler } = configuration;
|
|
64
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
65
|
-
}
|
|
66
|
-
serialize(input, context) {
|
|
67
|
-
return Aws_json1_1_1.serializeAws_json1_1AnalyzeExpenseCommand(input, context);
|
|
68
|
-
}
|
|
69
|
-
deserialize(output, context) {
|
|
70
|
-
return Aws_json1_1_1.deserializeAws_json1_1AnalyzeExpenseCommand(output, context);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
exports.AnalyzeExpenseCommand = AnalyzeExpenseCommand;
|
|
74
|
-
//# sourceMappingURL=AnalyzeExpenseCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnalyzeExpenseCommand.js","sourceRoot":"","sources":["../../../commands/AnalyzeExpenseCommand.ts"],"names":[],"mappings":";;;AACA,iDAAmF;AACnF,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;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"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DetectDocumentTextCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Detects text in the input document. Amazon Textract can detect lines of text and the
|
|
10
|
-
* words that make up a line of text. The input document must be an image in JPEG or PNG
|
|
11
|
-
* format. <code>DetectDocumentText</code> returns the detected text in an array of <a>Block</a> objects. </p>
|
|
12
|
-
* <p>Each document page has as an associated <code>Block</code> of type PAGE. Each PAGE <code>Block</code> object
|
|
13
|
-
* is the parent of LINE <code>Block</code> objects that represent the lines of detected text on a page. A LINE <code>Block</code> object is
|
|
14
|
-
* a parent for each word that makes up the line. Words are represented by <code>Block</code> objects of type WORD.</p>
|
|
15
|
-
*
|
|
16
|
-
* <p>
|
|
17
|
-
* <code>DetectDocumentText</code> is a synchronous operation. To analyze documents
|
|
18
|
-
* asynchronously, use <a>StartDocumentTextDetection</a>.</p>
|
|
19
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/textract/latest/dg/how-it-works-detecting.html">Document Text Detection</a>.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { TextractClient, DetectDocumentTextCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
24
|
-
* // const { TextractClient, DetectDocumentTextCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
25
|
-
* const client = new TextractClient(config);
|
|
26
|
-
* const command = new DetectDocumentTextCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link DetectDocumentTextCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link DetectDocumentTextCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link TextractClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
class DetectDocumentTextCommand extends smithy_client_1.Command {
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
|
-
constructor(input) {
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
super();
|
|
41
|
-
this.input = input;
|
|
42
|
-
// End section: command_constructor
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
48
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
50
|
-
const { logger } = configuration;
|
|
51
|
-
const clientName = "TextractClient";
|
|
52
|
-
const commandName = "DetectDocumentTextCommand";
|
|
53
|
-
const handlerExecutionContext = {
|
|
54
|
-
logger,
|
|
55
|
-
clientName,
|
|
56
|
-
commandName,
|
|
57
|
-
inputFilterSensitiveLog: models_0_1.DetectDocumentTextRequest.filterSensitiveLog,
|
|
58
|
-
outputFilterSensitiveLog: models_0_1.DetectDocumentTextResponse.filterSensitiveLog,
|
|
59
|
-
};
|
|
60
|
-
const { requestHandler } = configuration;
|
|
61
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
62
|
-
}
|
|
63
|
-
serialize(input, context) {
|
|
64
|
-
return Aws_json1_1_1.serializeAws_json1_1DetectDocumentTextCommand(input, context);
|
|
65
|
-
}
|
|
66
|
-
deserialize(output, context) {
|
|
67
|
-
return Aws_json1_1_1.deserializeAws_json1_1DetectDocumentTextCommand(output, context);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.DetectDocumentTextCommand = DetectDocumentTextCommand;
|
|
71
|
-
//# sourceMappingURL=DetectDocumentTextCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DetectDocumentTextCommand.js","sourceRoot":"","sources":["../../../commands/DetectDocumentTextCommand.ts"],"names":[],"mappings":";;;AACA,iDAA2F;AAC3F,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,yBAA0B,SAAQ,uBAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAqC;QACxD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAgC;QAGxD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,oCAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,qCAA0B,CAAC,kBAAkB;SACxE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAqC,EAAE,OAAuB;QAC9E,OAAO,2DAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,6DAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CAIF;AAtDD,8DAsDC"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetDocumentAnalysisCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets the results for an Amazon Textract asynchronous operation that analyzes text in a document.</p>
|
|
10
|
-
* <p>You start asynchronous text analysis by calling <a>StartDocumentAnalysis</a>, which returns a job identifier
|
|
11
|
-
* (<code>JobId</code>). When the text analysis operation finishes, Amazon Textract publishes a
|
|
12
|
-
* completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to
|
|
13
|
-
* <code>StartDocumentAnalysis</code>. To get the results of the text-detection operation,
|
|
14
|
-
* first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>.
|
|
15
|
-
* If so, call <code>GetDocumentAnalysis</code>, and pass the job identifier
|
|
16
|
-
* (<code>JobId</code>) from the initial call to <code>StartDocumentAnalysis</code>.</p>
|
|
17
|
-
* <p>
|
|
18
|
-
* <code>GetDocumentAnalysis</code> returns an array of <a>Block</a> objects. The following
|
|
19
|
-
* types of information are returned: </p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>Form data (key-value pairs). The related information is returned in two <a>Block</a> objects, each of type <code>KEY_VALUE_SET</code>: a KEY
|
|
23
|
-
* <code>Block</code> object and a VALUE <code>Block</code> object. For example,
|
|
24
|
-
* <i>Name: Ana Silva Carolina</i> contains a key and value.
|
|
25
|
-
* <i>Name:</i> is the key. <i>Ana Silva Carolina</i> is
|
|
26
|
-
* the value.</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>Table and table cell data. A TABLE <code>Block</code> object contains information about a detected table. A CELL
|
|
30
|
-
* <code>Block</code> object is returned for each cell in a table.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Lines and words of text. A LINE <code>Block</code> object contains one or more WORD <code>Block</code> objects.
|
|
34
|
-
* All lines and words that are detected in the document are returned (including text that doesn't have a
|
|
35
|
-
* relationship with the value of the <code>StartDocumentAnalysis</code>
|
|
36
|
-
* <code>FeatureTypes</code> input parameter). </p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
39
|
-
*
|
|
40
|
-
* <p>Selection elements such as check boxes and option buttons (radio buttons) can be detected in form data and in tables.
|
|
41
|
-
* A SELECTION_ELEMENT <code>Block</code> object contains information about a selection element,
|
|
42
|
-
* including the selection status.</p>
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
* <p>Use the <code>MaxResults</code> parameter to limit the number of blocks that are
|
|
47
|
-
* returned. If there are more results than specified in <code>MaxResults</code>, the value of
|
|
48
|
-
* <code>NextToken</code> in the operation response contains a pagination token for getting
|
|
49
|
-
* the next set of results. To get the next page of results, call
|
|
50
|
-
* <code>GetDocumentAnalysis</code>, and populate the <code>NextToken</code> request
|
|
51
|
-
* parameter with the token value that's returned from the previous call to
|
|
52
|
-
* <code>GetDocumentAnalysis</code>.</p>
|
|
53
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/textract/latest/dg/how-it-works-analyzing.html">Document Text Analysis</a>.</p>
|
|
54
|
-
* @example
|
|
55
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
56
|
-
* ```javascript
|
|
57
|
-
* import { TextractClient, GetDocumentAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
58
|
-
* // const { TextractClient, GetDocumentAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
59
|
-
* const client = new TextractClient(config);
|
|
60
|
-
* const command = new GetDocumentAnalysisCommand(input);
|
|
61
|
-
* const response = await client.send(command);
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* @see {@link GetDocumentAnalysisCommandInput} for command's `input` shape.
|
|
65
|
-
* @see {@link GetDocumentAnalysisCommandOutput} for command's `response` shape.
|
|
66
|
-
* @see {@link TextractClientResolvedConfig | config} for command's `input` shape.
|
|
67
|
-
*
|
|
68
|
-
*/
|
|
69
|
-
class GetDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
70
|
-
// Start section: command_properties
|
|
71
|
-
// End section: command_properties
|
|
72
|
-
constructor(input) {
|
|
73
|
-
// Start section: command_constructor
|
|
74
|
-
super();
|
|
75
|
-
this.input = input;
|
|
76
|
-
// End section: command_constructor
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
82
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
83
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
84
|
-
const { logger } = configuration;
|
|
85
|
-
const clientName = "TextractClient";
|
|
86
|
-
const commandName = "GetDocumentAnalysisCommand";
|
|
87
|
-
const handlerExecutionContext = {
|
|
88
|
-
logger,
|
|
89
|
-
clientName,
|
|
90
|
-
commandName,
|
|
91
|
-
inputFilterSensitiveLog: models_0_1.GetDocumentAnalysisRequest.filterSensitiveLog,
|
|
92
|
-
outputFilterSensitiveLog: models_0_1.GetDocumentAnalysisResponse.filterSensitiveLog,
|
|
93
|
-
};
|
|
94
|
-
const { requestHandler } = configuration;
|
|
95
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
96
|
-
}
|
|
97
|
-
serialize(input, context) {
|
|
98
|
-
return Aws_json1_1_1.serializeAws_json1_1GetDocumentAnalysisCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
deserialize(output, context) {
|
|
101
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetDocumentAnalysisCommand(output, context);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
exports.GetDocumentAnalysisCommand = GetDocumentAnalysisCommand;
|
|
105
|
-
//# sourceMappingURL=GetDocumentAnalysisCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetDocumentAnalysisCommand.js","sourceRoot":"","sources":["../../../commands/GetDocumentAnalysisCommand.ts"],"names":[],"mappings":";;;AACA,iDAA6F;AAC7F,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,0BAA2B,SAAQ,uBAI/C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAsC;QACzD,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAiC;QAGzD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,qCAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,sCAA2B,CAAC,kBAAkB;SACzE,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAsC,EAAE,OAAuB;QAC/E,OAAO,4DAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,8DAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;CAIF;AAtDD,gEAsDC"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetDocumentTextDetectionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Gets the results for an Amazon Textract asynchronous operation that detects text in a document.
|
|
10
|
-
* Amazon Textract can detect lines of text and the words that make up a line of text.</p>
|
|
11
|
-
* <p>You start asynchronous text detection by calling <a>StartDocumentTextDetection</a>, which returns a job identifier
|
|
12
|
-
* (<code>JobId</code>). When the text detection operation finishes, Amazon Textract publishes a
|
|
13
|
-
* completion status to the Amazon Simple Notification Service (Amazon SNS) topic that's registered in the initial call to
|
|
14
|
-
* <code>StartDocumentTextDetection</code>. To get the results of the text-detection
|
|
15
|
-
* operation, first check that the status value published to the Amazon SNS topic is
|
|
16
|
-
* <code>SUCCEEDED</code>. If so, call <code>GetDocumentTextDetection</code>, and pass the
|
|
17
|
-
* job identifier (<code>JobId</code>) from the initial call to
|
|
18
|
-
* <code>StartDocumentTextDetection</code>.</p>
|
|
19
|
-
* <p>
|
|
20
|
-
* <code>GetDocumentTextDetection</code> returns an array of <a>Block</a>
|
|
21
|
-
* objects. </p>
|
|
22
|
-
* <p>Each document page has as an associated <code>Block</code> of type PAGE. Each PAGE <code>Block</code> object
|
|
23
|
-
* is the parent of LINE <code>Block</code> objects that represent the lines of detected text on a page. A LINE <code>Block</code> object is
|
|
24
|
-
* a parent for each word that makes up the line. Words are represented by <code>Block</code> objects of type WORD.</p>
|
|
25
|
-
*
|
|
26
|
-
* <p>Use the MaxResults parameter to limit the number of blocks that are returned. If there
|
|
27
|
-
* are more results than specified in <code>MaxResults</code>, the value of
|
|
28
|
-
* <code>NextToken</code> in the operation response contains a pagination token for getting
|
|
29
|
-
* the next set of results. To get the next page of results, call
|
|
30
|
-
* <code>GetDocumentTextDetection</code>, and populate the <code>NextToken</code> request
|
|
31
|
-
* parameter with the token value that's returned from the previous call to
|
|
32
|
-
* <code>GetDocumentTextDetection</code>.</p>
|
|
33
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/textract/latest/dg/how-it-works-detecting.html">Document Text Detection</a>.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { TextractClient, GetDocumentTextDetectionCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
38
|
-
* // const { TextractClient, GetDocumentTextDetectionCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
39
|
-
* const client = new TextractClient(config);
|
|
40
|
-
* const command = new GetDocumentTextDetectionCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link GetDocumentTextDetectionCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link GetDocumentTextDetectionCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link TextractClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
class GetDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
constructor(input) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
this.input = input;
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
62
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
64
|
-
const { logger } = configuration;
|
|
65
|
-
const clientName = "TextractClient";
|
|
66
|
-
const commandName = "GetDocumentTextDetectionCommand";
|
|
67
|
-
const handlerExecutionContext = {
|
|
68
|
-
logger,
|
|
69
|
-
clientName,
|
|
70
|
-
commandName,
|
|
71
|
-
inputFilterSensitiveLog: models_0_1.GetDocumentTextDetectionRequest.filterSensitiveLog,
|
|
72
|
-
outputFilterSensitiveLog: models_0_1.GetDocumentTextDetectionResponse.filterSensitiveLog,
|
|
73
|
-
};
|
|
74
|
-
const { requestHandler } = configuration;
|
|
75
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
76
|
-
}
|
|
77
|
-
serialize(input, context) {
|
|
78
|
-
return Aws_json1_1_1.serializeAws_json1_1GetDocumentTextDetectionCommand(input, context);
|
|
79
|
-
}
|
|
80
|
-
deserialize(output, context) {
|
|
81
|
-
return Aws_json1_1_1.deserializeAws_json1_1GetDocumentTextDetectionCommand(output, context);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
exports.GetDocumentTextDetectionCommand = GetDocumentTextDetectionCommand;
|
|
85
|
-
//# sourceMappingURL=GetDocumentTextDetectionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GetDocumentTextDetectionCommand.js","sourceRoot":"","sources":["../../../commands/GetDocumentTextDetectionCommand.ts"],"names":[],"mappings":";;;AACA,iDAAuG;AACvG,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,+BAAgC,SAAQ,uBAIpD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA2C;QAC9D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAsC;QAG9D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,iCAAiC,CAAC;QACtD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,0CAA+B,CAAC,kBAAkB;YAC3E,wBAAwB,EAAE,2CAAgC,CAAC,kBAAkB;SAC9E,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAA2C,EAAE,OAAuB;QACpF,OAAO,iEAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,mEAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CAIF;AAtDD,0EAsDC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartDocumentAnalysisCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts the asynchronous analysis of an input document for relationships between detected
|
|
10
|
-
* items such as key-value pairs, tables, and selection elements.</p>
|
|
11
|
-
*
|
|
12
|
-
* <p>
|
|
13
|
-
* <code>StartDocumentAnalysis</code> can analyze text in documents that are in JPEG, PNG, and PDF format. The
|
|
14
|
-
* documents are stored in an Amazon S3 bucket. Use <a>DocumentLocation</a> to specify the bucket name and file name
|
|
15
|
-
* of the document.
|
|
16
|
-
* </p>
|
|
17
|
-
* <p>
|
|
18
|
-
* <code>StartDocumentAnalysis</code> returns a job identifier
|
|
19
|
-
* (<code>JobId</code>) that you use to get the results of the operation. When text
|
|
20
|
-
* analysis is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS)
|
|
21
|
-
* topic that you specify in <code>NotificationChannel</code>. To get the results of the text
|
|
22
|
-
* analysis operation, first check that the status value published to the Amazon SNS topic is
|
|
23
|
-
* <code>SUCCEEDED</code>. If so, call <a>GetDocumentAnalysis</a>, and pass
|
|
24
|
-
* the job identifier (<code>JobId</code>) from the initial call to
|
|
25
|
-
* <code>StartDocumentAnalysis</code>.</p>
|
|
26
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/textract/latest/dg/how-it-works-analyzing.html">Document Text Analysis</a>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { TextractClient, StartDocumentAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
31
|
-
* // const { TextractClient, StartDocumentAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
32
|
-
* const client = new TextractClient(config);
|
|
33
|
-
* const command = new StartDocumentAnalysisCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link StartDocumentAnalysisCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link StartDocumentAnalysisCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link TextractClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
class StartDocumentAnalysisCommand extends smithy_client_1.Command {
|
|
43
|
-
// Start section: command_properties
|
|
44
|
-
// End section: command_properties
|
|
45
|
-
constructor(input) {
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
super();
|
|
48
|
-
this.input = input;
|
|
49
|
-
// End section: command_constructor
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
55
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
56
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
57
|
-
const { logger } = configuration;
|
|
58
|
-
const clientName = "TextractClient";
|
|
59
|
-
const commandName = "StartDocumentAnalysisCommand";
|
|
60
|
-
const handlerExecutionContext = {
|
|
61
|
-
logger,
|
|
62
|
-
clientName,
|
|
63
|
-
commandName,
|
|
64
|
-
inputFilterSensitiveLog: models_0_1.StartDocumentAnalysisRequest.filterSensitiveLog,
|
|
65
|
-
outputFilterSensitiveLog: models_0_1.StartDocumentAnalysisResponse.filterSensitiveLog,
|
|
66
|
-
};
|
|
67
|
-
const { requestHandler } = configuration;
|
|
68
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
69
|
-
}
|
|
70
|
-
serialize(input, context) {
|
|
71
|
-
return Aws_json1_1_1.serializeAws_json1_1StartDocumentAnalysisCommand(input, context);
|
|
72
|
-
}
|
|
73
|
-
deserialize(output, context) {
|
|
74
|
-
return Aws_json1_1_1.deserializeAws_json1_1StartDocumentAnalysisCommand(output, context);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
exports.StartDocumentAnalysisCommand = StartDocumentAnalysisCommand;
|
|
78
|
-
//# sourceMappingURL=StartDocumentAnalysisCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartDocumentAnalysisCommand.js","sourceRoot":"","sources":["../../../commands/StartDocumentAnalysisCommand.ts"],"names":[],"mappings":";;;AACA,iDAAiG;AACjG,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,4BAA6B,SAAQ,uBAIjD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAAwC;QAC3D,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAmC;QAG3D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,8BAA8B,CAAC;QACnD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,uCAA4B,CAAC,kBAAkB;YACxE,wBAAwB,EAAE,wCAA6B,CAAC,kBAAkB;SAC3E,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,SAAS,CAAC,KAAwC,EAAE,OAAuB;QACjF,OAAO,8DAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,WAAW,CAAC,MAAsB,EAAE,OAAuB;QACjE,OAAO,gEAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CAIF;AAtDD,oEAsDC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StartDocumentTextDetectionCommand = void 0;
|
|
4
|
-
const models_0_1 = require("../models/models_0");
|
|
5
|
-
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
6
|
-
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
|
-
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of
|
|
10
|
-
* text and the words that make up a line of text.</p>
|
|
11
|
-
* <p>
|
|
12
|
-
* <code>StartDocumentTextDetection</code> can analyze text in documents that are in JPEG, PNG, and PDF format. The
|
|
13
|
-
* documents are stored in an Amazon S3 bucket. Use <a>DocumentLocation</a> to specify the bucket name and file name
|
|
14
|
-
* of the document.
|
|
15
|
-
* </p>
|
|
16
|
-
* <p>
|
|
17
|
-
* <code>StartTextDetection</code> returns a job identifier
|
|
18
|
-
* (<code>JobId</code>) that you use to get the results of the operation. When text
|
|
19
|
-
* detection is finished, Amazon Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS)
|
|
20
|
-
* topic that you specify in <code>NotificationChannel</code>. To get the results of the text
|
|
21
|
-
* detection operation, first check that the status value published to the Amazon SNS topic is
|
|
22
|
-
* <code>SUCCEEDED</code>. If so, call <a>GetDocumentTextDetection</a>, and
|
|
23
|
-
* pass the job identifier (<code>JobId</code>) from the initial call to
|
|
24
|
-
* <code>StartDocumentTextDetection</code>.</p>
|
|
25
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/textract/latest/dg/how-it-works-detecting.html">Document Text Detection</a>.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { TextractClient, StartDocumentTextDetectionCommand } from "@aws-sdk/client-textract"; // ES Modules import
|
|
30
|
-
* // const { TextractClient, StartDocumentTextDetectionCommand } = require("@aws-sdk/client-textract"); // CommonJS import
|
|
31
|
-
* const client = new TextractClient(config);
|
|
32
|
-
* const command = new StartDocumentTextDetectionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link StartDocumentTextDetectionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link StartDocumentTextDetectionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link TextractClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
class StartDocumentTextDetectionCommand extends smithy_client_1.Command {
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
|
-
constructor(input) {
|
|
45
|
-
// Start section: command_constructor
|
|
46
|
-
super();
|
|
47
|
-
this.input = input;
|
|
48
|
-
// End section: command_constructor
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
54
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
56
|
-
const { logger } = configuration;
|
|
57
|
-
const clientName = "TextractClient";
|
|
58
|
-
const commandName = "StartDocumentTextDetectionCommand";
|
|
59
|
-
const handlerExecutionContext = {
|
|
60
|
-
logger,
|
|
61
|
-
clientName,
|
|
62
|
-
commandName,
|
|
63
|
-
inputFilterSensitiveLog: models_0_1.StartDocumentTextDetectionRequest.filterSensitiveLog,
|
|
64
|
-
outputFilterSensitiveLog: models_0_1.StartDocumentTextDetectionResponse.filterSensitiveLog,
|
|
65
|
-
};
|
|
66
|
-
const { requestHandler } = configuration;
|
|
67
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
68
|
-
}
|
|
69
|
-
serialize(input, context) {
|
|
70
|
-
return Aws_json1_1_1.serializeAws_json1_1StartDocumentTextDetectionCommand(input, context);
|
|
71
|
-
}
|
|
72
|
-
deserialize(output, context) {
|
|
73
|
-
return Aws_json1_1_1.deserializeAws_json1_1StartDocumentTextDetectionCommand(output, context);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
exports.StartDocumentTextDetectionCommand = StartDocumentTextDetectionCommand;
|
|
77
|
-
//# sourceMappingURL=StartDocumentTextDetectionCommand.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StartDocumentTextDetectionCommand.js","sourceRoot":"","sources":["../../../commands/StartDocumentTextDetectionCommand.ts"],"names":[],"mappings":";;;AACA,iDAA2G;AAC3G,0DAGkC;AAClC,gEAA2D;AAE3D,0DAA6D;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,iCAAkC,SAAQ,uBAItD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,YAAqB,KAA6C;QAChE,qCAAqC;QACrC,KAAK,EAAE,CAAC;QAFW,UAAK,GAAL,KAAK,CAAwC;QAGhE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,iBAAiB,CACf,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,iCAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,MAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,MAAM,EAAE,MAAM,EAAE,GAAG,aAAa,CAAC;QACjC,MAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,MAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,MAAM,uBAAuB,GAA4B;YACvD,MAAM;YACN,UAAU;YACV,WAAW;YACX,uBAAuB,EAAE,4CAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,6CAAkC,CAAC,kBAAkB;SAChF,CAAC;QACF,MAAM,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,CAAC,OAAsC,EAAE,EAAE,CACzC,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAA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,EAAE;IACpB,GAAG,OAAO;IACV,cAAc,EAAE,UAAU;IAC1B,UAAU;IACV,aAAa;CACd,CAAC,CAAC;AANQ,QAAA,yBAAyB,6BAMjC"}
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,qDAA2B;AAC3B,4EAAkD;AAClD,2EAAiD;AACjD,+EAAqD;AACrD,gFAAsD;AACtD,qFAA2D;AAC3D,kFAAwD;AACxD,uFAA6D;AAC7D,yDAA+B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../models/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"models_0.js","sourceRoot":"","sources":["../../../models/models_0.ts"],"names":[],"mappings":";;;;AAcA,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC;;OAEG;IACU,wCAAkB,GAAG,CAAC,GAA0B,EAAO,EAAE,CAAC,CAAC;QACtE,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOrC;AA+BD,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB;;OAEG;IACU,2BAAkB,GAAG,CAAC,GAAa,EAAO,EAAE,CAAC,CAAC;QACzD,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAOxB;AAqCD,IAAiB,QAAQ,CAOxB;AAPD,WAAiB,QAAQ;IACvB;;OAEG;IACU,2BAAkB,GAAG,CAAC,GAAa,EAAO,EAAE,CAAC,CAAC;QACzD,GAAG,GAAG;KACP,CAAC,CAAC;AACL,CAAC,EAPgB,QAAQ,GAAR,gBAAQ,K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