@aws-sdk/client-textract 3.215.0 → 3.218.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.
Files changed (35) hide show
  1. package/dist-cjs/Textract.js +45 -0
  2. package/dist-cjs/commands/GetLendingAnalysisCommand.js +46 -0
  3. package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +46 -0
  4. package/dist-cjs/commands/StartLendingAnalysisCommand.js +46 -0
  5. package/dist-cjs/commands/index.js +3 -0
  6. package/dist-cjs/endpoint/ruleset.js +1 -1
  7. package/dist-cjs/models/models_0.js +77 -1
  8. package/dist-cjs/protocols/Aws_json1_1.js +501 -1
  9. package/dist-es/Textract.js +45 -0
  10. package/dist-es/commands/GetLendingAnalysisCommand.js +42 -0
  11. package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +42 -0
  12. package/dist-es/commands/StartLendingAnalysisCommand.js +42 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/endpoint/ruleset.js +1 -1
  15. package/dist-es/models/models_0.js +57 -0
  16. package/dist-es/protocols/Aws_json1_1.js +494 -0
  17. package/dist-types/Textract.d.ts +72 -0
  18. package/dist-types/TextractClient.d.ts +5 -2
  19. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +47 -0
  20. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +48 -0
  21. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +67 -0
  22. package/dist-types/commands/index.d.ts +3 -0
  23. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  24. package/dist-types/models/models_0.d.ts +431 -10
  25. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  26. package/dist-types/ts3.4/Textract.d.ts +51 -0
  27. package/dist-types/ts3.4/TextractClient.d.ts +20 -2
  28. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +38 -0
  29. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +41 -0
  30. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +41 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  32. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  33. package/dist-types/ts3.4/models/models_0.d.ts +144 -0
  34. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  35. package/package.json +4 -4
@@ -6,9 +6,12 @@ import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from
6
6
  import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
7
7
  import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
8
8
  import { GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput } from "./commands/GetExpenseAnalysisCommand";
9
+ import { GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput } from "./commands/GetLendingAnalysisCommand";
10
+ import { GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput } from "./commands/GetLendingAnalysisSummaryCommand";
9
11
  import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
10
12
  import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
11
13
  import { StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput } from "./commands/StartExpenseAnalysisCommand";
14
+ import { StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput } from "./commands/StartLendingAnalysisCommand";
12
15
  import { TextractClient } from "./TextractClient";
13
16
  /**
14
17
  * <p>Amazon Textract detects and analyzes text in documents and converts it
@@ -241,6 +244,39 @@ export declare class Textract extends TextractClient {
241
244
  getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<GetExpenseAnalysisCommandOutput>;
242
245
  getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void): void;
243
246
  getExpenseAnalysis(args: GetExpenseAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void): void;
247
+ /**
248
+ * <p>Gets the results for an Amazon Textract asynchronous operation that analyzes text in a
249
+ * lending document. </p>
250
+ * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>,
251
+ * which returns a job identifier (<code>JobId</code>). When the text analysis operation
252
+ * finishes, Amazon Textract publishes a completion status to the Amazon Simple
253
+ * Notification Service (Amazon SNS) topic that's registered in the initial call to
254
+ * <code>StartLendingAnalysis</code>. </p>
255
+ * <p>To get the results of the text analysis operation, first check that the status value
256
+ * published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysis, and pass
257
+ * the job identifier (<code>JobId</code>) from the initial call to
258
+ * <code>StartLendingAnalysis</code>.</p>
259
+ */
260
+ getLendingAnalysis(args: GetLendingAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<GetLendingAnalysisCommandOutput>;
261
+ getLendingAnalysis(args: GetLendingAnalysisCommandInput, cb: (err: any, data?: GetLendingAnalysisCommandOutput) => void): void;
262
+ getLendingAnalysis(args: GetLendingAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLendingAnalysisCommandOutput) => void): void;
263
+ /**
264
+ * <p>Gets summarized results for the <code>StartLendingAnalysis</code> operation, which analyzes
265
+ * text in a lending document. The returned summary consists of information about documents grouped
266
+ * together by a common document type. Information like detected signatures, page numbers, and split
267
+ * documents is returned with respect to the type of grouped document. </p>
268
+ * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>, which
269
+ * returns a job identifier (<code>JobId</code>). When the text analysis operation finishes, Amazon
270
+ * Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS)
271
+ * topic that's registered in the initial call to <code>StartLendingAnalysis</code>. </p>
272
+ * <p>To get the results of the text analysis operation, first check that the status value
273
+ * published to the Amazon SNS topic is SUCCEEDED. If so, call
274
+ * <code>GetLendingAnalysisSummary</code>, and pass the job identifier (<code>JobId</code>) from
275
+ * the initial call to <code>StartLendingAnalysis</code>.</p>
276
+ */
277
+ getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options?: __HttpHandlerOptions): Promise<GetLendingAnalysisSummaryCommandOutput>;
278
+ getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void): void;
279
+ getLendingAnalysisSummary(args: GetLendingAnalysisSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void): void;
244
280
  /**
245
281
  * <p>Starts the asynchronous analysis of an input document for relationships between detected
246
282
  * items such as key-value pairs, tables, and selection elements.</p>
@@ -307,4 +343,40 @@ export declare class Textract extends TextractClient {
307
343
  startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<StartExpenseAnalysisCommandOutput>;
308
344
  startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void): void;
309
345
  startExpenseAnalysis(args: StartExpenseAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void): void;
346
+ /**
347
+ * <p>Starts the classification and analysis of an input document.
348
+ * <code>StartLendingAnalysis</code> initiates the classification and analysis of a packet of
349
+ * lending documents. <code>StartLendingAnalysis</code> operates on a document file located in an
350
+ * Amazon S3 bucket.</p>
351
+ * <p>
352
+ * <code>StartLendingAnalysis</code> can analyze text in documents that are in one of the
353
+ * following formats: JPEG, PNG, TIFF, PDF. Use <code>DocumentLocation</code> to specify the bucket
354
+ * name and the file name of the document. </p>
355
+ * <p>
356
+ * <code>StartLendingAnalysis</code> returns a job identifier (<code>JobId</code>) that you use
357
+ * to get the results of the operation. When the text analysis is finished, Amazon Textract
358
+ * publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that
359
+ * you specify in <code>NotificationChannel</code>. To get the results of the text analysis
360
+ * operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If
361
+ * the status is SUCCEEDED you can call either <code>GetLendingAnalysis</code> or
362
+ * <code>GetLendingAnalysisSummary</code> and provide the <code>JobId</code> to obtain the results
363
+ * of the analysis.</p>
364
+ * <p>If using <code>OutputConfig</code> to specify an Amazon S3 bucket, the output will be contained
365
+ * within the specified prefix in a directory labeled with the job-id. In the directory there are 3
366
+ * sub-directories: </p>
367
+ * <ul>
368
+ * <li>
369
+ * <p>detailedResponse (contains the GetLendingAnalysis response)</p>
370
+ * </li>
371
+ * <li>
372
+ * <p>summaryResponse (for the GetLendingAnalysisSummary response)</p>
373
+ * </li>
374
+ * <li>
375
+ * <p>splitDocuments (documents split across logical boundaries)</p>
376
+ * </li>
377
+ * </ul>
378
+ */
379
+ startLendingAnalysis(args: StartLendingAnalysisCommandInput, options?: __HttpHandlerOptions): Promise<StartLendingAnalysisCommandOutput>;
380
+ startLendingAnalysis(args: StartLendingAnalysisCommandInput, cb: (err: any, data?: StartLendingAnalysisCommandOutput) => void): void;
381
+ startLendingAnalysis(args: StartLendingAnalysisCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartLendingAnalysisCommandOutput) => void): void;
310
382
  }
@@ -14,12 +14,15 @@ import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from
14
14
  import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "./commands/GetDocumentAnalysisCommand";
15
15
  import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "./commands/GetDocumentTextDetectionCommand";
16
16
  import { GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput } from "./commands/GetExpenseAnalysisCommand";
17
+ import { GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput } from "./commands/GetLendingAnalysisCommand";
18
+ import { GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput } from "./commands/GetLendingAnalysisSummaryCommand";
17
19
  import { StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput } from "./commands/StartDocumentAnalysisCommand";
18
20
  import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput } from "./commands/StartDocumentTextDetectionCommand";
19
21
  import { StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput } from "./commands/StartExpenseAnalysisCommand";
22
+ import { StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput } from "./commands/StartLendingAnalysisCommand";
20
23
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
21
- export declare type ServiceInputTypes = AnalyzeDocumentCommandInput | AnalyzeExpenseCommandInput | AnalyzeIDCommandInput | DetectDocumentTextCommandInput | GetDocumentAnalysisCommandInput | GetDocumentTextDetectionCommandInput | GetExpenseAnalysisCommandInput | StartDocumentAnalysisCommandInput | StartDocumentTextDetectionCommandInput | StartExpenseAnalysisCommandInput;
22
- export declare type ServiceOutputTypes = AnalyzeDocumentCommandOutput | AnalyzeExpenseCommandOutput | AnalyzeIDCommandOutput | DetectDocumentTextCommandOutput | GetDocumentAnalysisCommandOutput | GetDocumentTextDetectionCommandOutput | GetExpenseAnalysisCommandOutput | StartDocumentAnalysisCommandOutput | StartDocumentTextDetectionCommandOutput | StartExpenseAnalysisCommandOutput;
24
+ export declare type ServiceInputTypes = AnalyzeDocumentCommandInput | AnalyzeExpenseCommandInput | AnalyzeIDCommandInput | DetectDocumentTextCommandInput | GetDocumentAnalysisCommandInput | GetDocumentTextDetectionCommandInput | GetExpenseAnalysisCommandInput | GetLendingAnalysisCommandInput | GetLendingAnalysisSummaryCommandInput | StartDocumentAnalysisCommandInput | StartDocumentTextDetectionCommandInput | StartExpenseAnalysisCommandInput | StartLendingAnalysisCommandInput;
25
+ export declare type ServiceOutputTypes = AnalyzeDocumentCommandOutput | AnalyzeExpenseCommandOutput | AnalyzeIDCommandOutput | DetectDocumentTextCommandOutput | GetDocumentAnalysisCommandOutput | GetDocumentTextDetectionCommandOutput | GetExpenseAnalysisCommandOutput | GetLendingAnalysisCommandOutput | GetLendingAnalysisSummaryCommandOutput | StartDocumentAnalysisCommandOutput | StartDocumentTextDetectionCommandOutput | StartExpenseAnalysisCommandOutput | StartLendingAnalysisCommandOutput;
23
26
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
24
27
  /**
25
28
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,47 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetLendingAnalysisRequest, GetLendingAnalysisResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
6
+ export interface GetLendingAnalysisCommandInput extends GetLendingAnalysisRequest {
7
+ }
8
+ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets the results for an Amazon Textract asynchronous operation that analyzes text in a
12
+ * lending document. </p>
13
+ * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>,
14
+ * which returns a job identifier (<code>JobId</code>). When the text analysis operation
15
+ * finishes, Amazon Textract publishes a completion status to the Amazon Simple
16
+ * Notification Service (Amazon SNS) topic that's registered in the initial call to
17
+ * <code>StartLendingAnalysis</code>. </p>
18
+ * <p>To get the results of the text analysis operation, first check that the status value
19
+ * published to the Amazon SNS topic is SUCCEEDED. If so, call GetLendingAnalysis, and pass
20
+ * the job identifier (<code>JobId</code>) from the initial call to
21
+ * <code>StartLendingAnalysis</code>.</p>
22
+ * @example
23
+ * Use a bare-bones client and the command you need to make an API call.
24
+ * ```javascript
25
+ * import { TextractClient, GetLendingAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
26
+ * // const { TextractClient, GetLendingAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
27
+ * const client = new TextractClient(config);
28
+ * const command = new GetLendingAnalysisCommand(input);
29
+ * const response = await client.send(command);
30
+ * ```
31
+ *
32
+ * @see {@link GetLendingAnalysisCommandInput} for command's `input` shape.
33
+ * @see {@link GetLendingAnalysisCommandOutput} for command's `response` shape.
34
+ * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
35
+ *
36
+ */
37
+ export declare class GetLendingAnalysisCommand extends $Command<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig> {
38
+ readonly input: GetLendingAnalysisCommandInput;
39
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
40
+ constructor(input: GetLendingAnalysisCommandInput);
41
+ /**
42
+ * @internal
43
+ */
44
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput>;
45
+ private serialize;
46
+ private deserialize;
47
+ }
@@ -0,0 +1,48 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { GetLendingAnalysisSummaryRequest, GetLendingAnalysisSummaryResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
6
+ export interface GetLendingAnalysisSummaryCommandInput extends GetLendingAnalysisSummaryRequest {
7
+ }
8
+ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalysisSummaryResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Gets summarized results for the <code>StartLendingAnalysis</code> operation, which analyzes
12
+ * text in a lending document. The returned summary consists of information about documents grouped
13
+ * together by a common document type. Information like detected signatures, page numbers, and split
14
+ * documents is returned with respect to the type of grouped document. </p>
15
+ * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>, which
16
+ * returns a job identifier (<code>JobId</code>). When the text analysis operation finishes, Amazon
17
+ * Textract publishes a completion status to the Amazon Simple Notification Service (Amazon SNS)
18
+ * topic that's registered in the initial call to <code>StartLendingAnalysis</code>. </p>
19
+ * <p>To get the results of the text analysis operation, first check that the status value
20
+ * published to the Amazon SNS topic is SUCCEEDED. If so, call
21
+ * <code>GetLendingAnalysisSummary</code>, and pass the job identifier (<code>JobId</code>) from
22
+ * the initial call to <code>StartLendingAnalysis</code>.</p>
23
+ * @example
24
+ * Use a bare-bones client and the command you need to make an API call.
25
+ * ```javascript
26
+ * import { TextractClient, GetLendingAnalysisSummaryCommand } from "@aws-sdk/client-textract"; // ES Modules import
27
+ * // const { TextractClient, GetLendingAnalysisSummaryCommand } = require("@aws-sdk/client-textract"); // CommonJS import
28
+ * const client = new TextractClient(config);
29
+ * const command = new GetLendingAnalysisSummaryCommand(input);
30
+ * const response = await client.send(command);
31
+ * ```
32
+ *
33
+ * @see {@link GetLendingAnalysisSummaryCommandInput} for command's `input` shape.
34
+ * @see {@link GetLendingAnalysisSummaryCommandOutput} for command's `response` shape.
35
+ * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
36
+ *
37
+ */
38
+ export declare class GetLendingAnalysisSummaryCommand extends $Command<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig> {
39
+ readonly input: GetLendingAnalysisSummaryCommandInput;
40
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
41
+ constructor(input: GetLendingAnalysisSummaryCommandInput);
42
+ /**
43
+ * @internal
44
+ */
45
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput>;
46
+ private serialize;
47
+ private deserialize;
48
+ }
@@ -0,0 +1,67 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { StartLendingAnalysisRequest, StartLendingAnalysisResponse } from "../models/models_0";
5
+ import { ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig } from "../TextractClient";
6
+ export interface StartLendingAnalysisCommandInput extends StartLendingAnalysisRequest {
7
+ }
8
+ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Starts the classification and analysis of an input document.
12
+ * <code>StartLendingAnalysis</code> initiates the classification and analysis of a packet of
13
+ * lending documents. <code>StartLendingAnalysis</code> operates on a document file located in an
14
+ * Amazon S3 bucket.</p>
15
+ * <p>
16
+ * <code>StartLendingAnalysis</code> can analyze text in documents that are in one of the
17
+ * following formats: JPEG, PNG, TIFF, PDF. Use <code>DocumentLocation</code> to specify the bucket
18
+ * name and the file name of the document. </p>
19
+ * <p>
20
+ * <code>StartLendingAnalysis</code> returns a job identifier (<code>JobId</code>) that you use
21
+ * to get the results of the operation. When the text analysis is finished, Amazon Textract
22
+ * publishes a completion status to the Amazon Simple Notification Service (Amazon SNS) topic that
23
+ * you specify in <code>NotificationChannel</code>. To get the results of the text analysis
24
+ * operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If
25
+ * the status is SUCCEEDED you can call either <code>GetLendingAnalysis</code> or
26
+ * <code>GetLendingAnalysisSummary</code> and provide the <code>JobId</code> to obtain the results
27
+ * of the analysis.</p>
28
+ * <p>If using <code>OutputConfig</code> to specify an Amazon S3 bucket, the output will be contained
29
+ * within the specified prefix in a directory labeled with the job-id. In the directory there are 3
30
+ * sub-directories: </p>
31
+ * <ul>
32
+ * <li>
33
+ * <p>detailedResponse (contains the GetLendingAnalysis response)</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>summaryResponse (for the GetLendingAnalysisSummary response)</p>
37
+ * </li>
38
+ * <li>
39
+ * <p>splitDocuments (documents split across logical boundaries)</p>
40
+ * </li>
41
+ * </ul>
42
+ * @example
43
+ * Use a bare-bones client and the command you need to make an API call.
44
+ * ```javascript
45
+ * import { TextractClient, StartLendingAnalysisCommand } from "@aws-sdk/client-textract"; // ES Modules import
46
+ * // const { TextractClient, StartLendingAnalysisCommand } = require("@aws-sdk/client-textract"); // CommonJS import
47
+ * const client = new TextractClient(config);
48
+ * const command = new StartLendingAnalysisCommand(input);
49
+ * const response = await client.send(command);
50
+ * ```
51
+ *
52
+ * @see {@link StartLendingAnalysisCommandInput} for command's `input` shape.
53
+ * @see {@link StartLendingAnalysisCommandOutput} for command's `response` shape.
54
+ * @see {@link TextractClientResolvedConfig | config} for TextractClient's `config` shape.
55
+ *
56
+ */
57
+ export declare class StartLendingAnalysisCommand extends $Command<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig> {
58
+ readonly input: StartLendingAnalysisCommandInput;
59
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
60
+ constructor(input: StartLendingAnalysisCommandInput);
61
+ /**
62
+ * @internal
63
+ */
64
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TextractClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput>;
65
+ private serialize;
66
+ private deserialize;
67
+ }
@@ -5,6 +5,9 @@ export * from "./DetectDocumentTextCommand";
5
5
  export * from "./GetDocumentAnalysisCommand";
6
6
  export * from "./GetDocumentTextDetectionCommand";
7
7
  export * from "./GetExpenseAnalysisCommand";
8
+ export * from "./GetLendingAnalysisCommand";
9
+ export * from "./GetLendingAnalysisSummaryCommand";
8
10
  export * from "./StartDocumentAnalysisCommand";
9
11
  export * from "./StartDocumentTextDetectionCommand";
10
12
  export * from "./StartExpenseAnalysisCommand";
13
+ export * from "./StartLendingAnalysisCommand";
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;