@aws-sdk/client-textract 3.533.0 → 3.540.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 (61) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/Textract.d.ts +3 -1
  6. package/dist-types/TextractClient.d.ts +1 -1
  7. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +2 -1
  8. package/dist-types/commands/AnalyzeExpenseCommand.d.ts +2 -1
  9. package/dist-types/commands/AnalyzeIDCommand.d.ts +2 -1
  10. package/dist-types/commands/CreateAdapterCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateAdapterVersionCommand.d.ts +2 -1
  12. package/dist-types/commands/DeleteAdapterCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +2 -1
  14. package/dist-types/commands/DetectDocumentTextCommand.d.ts +2 -1
  15. package/dist-types/commands/GetAdapterCommand.d.ts +2 -1
  16. package/dist-types/commands/GetAdapterVersionCommand.d.ts +2 -1
  17. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +2 -1
  18. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +2 -1
  19. package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +2 -1
  20. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +2 -1
  21. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +2 -1
  22. package/dist-types/commands/ListAdapterVersionsCommand.d.ts +2 -1
  23. package/dist-types/commands/ListAdaptersCommand.d.ts +2 -1
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  25. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +2 -1
  26. package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +2 -1
  27. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +2 -1
  28. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +2 -1
  29. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  30. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  31. package/dist-types/commands/UpdateAdapterCommand.d.ts +2 -1
  32. package/dist-types/index.d.ts +0 -1
  33. package/dist-types/models/models_0.d.ts +369 -369
  34. package/dist-types/ts3.4/Textract.d.ts +2 -0
  35. package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +9 -0
  36. package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +9 -0
  37. package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +9 -0
  38. package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +9 -0
  39. package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +9 -0
  40. package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +9 -0
  41. package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +9 -0
  42. package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +9 -0
  43. package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +9 -0
  44. package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +9 -0
  45. package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +9 -0
  46. package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +9 -0
  47. package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +9 -0
  48. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +9 -0
  49. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +9 -0
  50. package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +9 -0
  51. package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +9 -0
  52. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  53. package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +9 -0
  54. package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +9 -0
  55. package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +9 -0
  56. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +9 -0
  57. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  58. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  59. package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +9 -0
  60. package/dist-types/ts3.4/index.d.ts +0 -1
  61. package/package.json +40 -40
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -2386,9 +2386,6 @@ var paginateListAdapterVersions = (0, import_core.createPaginator)(TextractClien
2386
2386
  // src/pagination/ListAdaptersPaginator.ts
2387
2387
 
2388
2388
  var paginateListAdapters = (0, import_core.createPaginator)(TextractClient, ListAdaptersCommand, "NextToken", "NextToken", "MaxResults");
2389
-
2390
- // src/index.ts
2391
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
2392
2389
  // Annotate the CommonJS export names for ESM import in node:
2393
2390
 
2394
2391
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./Textract";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { TextractServiceException } from "./models/TextractServiceException";
@@ -119,12 +119,14 @@ export interface Textract {
119
119
  /**
120
120
  * @see {@link ListAdaptersCommand}
121
121
  */
122
+ listAdapters(): Promise<ListAdaptersCommandOutput>;
122
123
  listAdapters(args: ListAdaptersCommandInput, options?: __HttpHandlerOptions): Promise<ListAdaptersCommandOutput>;
123
124
  listAdapters(args: ListAdaptersCommandInput, cb: (err: any, data?: ListAdaptersCommandOutput) => void): void;
124
125
  listAdapters(args: ListAdaptersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAdaptersCommandOutput) => void): void;
125
126
  /**
126
127
  * @see {@link ListAdapterVersionsCommand}
127
128
  */
129
+ listAdapterVersions(): Promise<ListAdapterVersionsCommandOutput>;
128
130
  listAdapterVersions(args: ListAdapterVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListAdapterVersionsCommandOutput>;
129
131
  listAdapterVersions(args: ListAdapterVersionsCommandInput, cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void): void;
130
132
  listAdapterVersions(args: ListAdapterVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void): void;
@@ -178,10 +180,10 @@ export interface Textract {
178
180
  updateAdapter(args: UpdateAdapterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAdapterCommandOutput) => void): void;
179
181
  }
180
182
  /**
181
- * @public
182
183
  * <p>Amazon Textract detects and analyzes text in documents and converts it
183
184
  * into machine-readable text. This is the API reference documentation for
184
185
  * Amazon Textract.</p>
186
+ * @public
185
187
  */
186
188
  export declare class Textract extends TextractClient implements Textract {
187
189
  }
@@ -176,10 +176,10 @@ export type TextractClientResolvedConfigType = __SmithyResolvedConfiguration<__H
176
176
  export interface TextractClientResolvedConfig extends TextractClientResolvedConfigType {
177
177
  }
178
178
  /**
179
- * @public
180
179
  * <p>Amazon Textract detects and analyzes text in documents and converts it
181
180
  * into machine-readable text. This is the API reference documentation for
182
181
  * Amazon Textract.</p>
182
+ * @public
183
183
  */
184
184
  export declare class TextractClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TextractClientResolvedConfig> {
185
185
  /**
@@ -22,10 +22,10 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
22
22
  }
23
23
  declare const AnalyzeDocumentCommand_base: {
24
24
  new (input: AnalyzeDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: AnalyzeDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Analyzes an input document for relationships between detected items. </p>
30
30
  * <p>The types of information returned are as follows: </p>
31
31
  * <ul>
@@ -240,6 +240,7 @@ declare const AnalyzeDocumentCommand_base: {
240
240
  * @throws {@link TextractServiceException}
241
241
  * <p>Base exception class for all service exceptions from Textract service.</p>
242
242
  *
243
+ * @public
243
244
  */
244
245
  export declare class AnalyzeDocumentCommand extends AnalyzeDocumentCommand_base {
245
246
  }
@@ -22,10 +22,10 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
22
22
  }
23
23
  declare const AnalyzeExpenseCommand_base: {
24
24
  new (input: AnalyzeExpenseCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: AnalyzeExpenseCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>
30
30
  * <code>AnalyzeExpense</code> synchronously analyzes an input document for financially
31
31
  * related relationships between text.</p>
@@ -281,6 +281,7 @@ declare const AnalyzeExpenseCommand_base: {
281
281
  * @throws {@link TextractServiceException}
282
282
  * <p>Base exception class for all service exceptions from Textract service.</p>
283
283
  *
284
+ * @public
284
285
  */
285
286
  export declare class AnalyzeExpenseCommand extends AnalyzeExpenseCommand_base {
286
287
  }
@@ -22,10 +22,10 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
22
22
  }
23
23
  declare const AnalyzeIDCommand_base: {
24
24
  new (input: AnalyzeIDCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: AnalyzeIDCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Analyzes identity documents for relevant information. This information is extracted and
30
30
  * returned as <code>IdentityDocumentFields</code>, which records both the normalized field
31
31
  * and value of the extracted text. Unlike other Amazon Textract operations,
@@ -180,6 +180,7 @@ declare const AnalyzeIDCommand_base: {
180
180
  * @throws {@link TextractServiceException}
181
181
  * <p>Base exception class for all service exceptions from Textract service.</p>
182
182
  *
183
+ * @public
183
184
  */
184
185
  export declare class AnalyzeIDCommand extends AnalyzeIDCommand_base {
185
186
  }
@@ -22,10 +22,10 @@ export interface CreateAdapterCommandOutput extends CreateAdapterResponse, __Met
22
22
  }
23
23
  declare const CreateAdapterCommand_base: {
24
24
  new (input: CreateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates an adapter, which can be fine-tuned for enhanced performance on user provided
30
30
  * documents. Takes an AdapterName and FeatureType. Currently the only supported feature type
31
31
  * is <code>QUERIES</code>. You can also provide a Description, Tags, and a
@@ -108,6 +108,7 @@ declare const CreateAdapterCommand_base: {
108
108
  * @throws {@link TextractServiceException}
109
109
  * <p>Base exception class for all service exceptions from Textract service.</p>
110
110
  *
111
+ * @public
111
112
  */
112
113
  export declare class CreateAdapterCommand extends CreateAdapterCommand_base {
113
114
  }
@@ -22,10 +22,10 @@ export interface CreateAdapterVersionCommandOutput extends CreateAdapterVersionR
22
22
  }
23
23
  declare const CreateAdapterVersionCommand_base: {
24
24
  new (input: CreateAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates a new version of an adapter. Operates on a provided AdapterId and a specified
30
30
  * dataset provided via the DatasetConfig argument. Requires that you
31
31
  * specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId,
@@ -128,6 +128,7 @@ declare const CreateAdapterVersionCommand_base: {
128
128
  * @throws {@link TextractServiceException}
129
129
  * <p>Base exception class for all service exceptions from Textract service.</p>
130
130
  *
131
+ * @public
131
132
  */
132
133
  export declare class CreateAdapterVersionCommand extends CreateAdapterVersionCommand_base {
133
134
  }
@@ -22,10 +22,10 @@ export interface DeleteAdapterCommandOutput extends DeleteAdapterResponse, __Met
22
22
  }
23
23
  declare const DeleteAdapterCommand_base: {
24
24
  new (input: DeleteAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes an Amazon Textract adapter. Takes an AdapterId and deletes the adapter specified by the ID.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -81,6 +81,7 @@ declare const DeleteAdapterCommand_base: {
81
81
  * @throws {@link TextractServiceException}
82
82
  * <p>Base exception class for all service exceptions from Textract service.</p>
83
83
  *
84
+ * @public
84
85
  */
85
86
  export declare class DeleteAdapterCommand extends DeleteAdapterCommand_base {
86
87
  }
@@ -22,10 +22,10 @@ export interface DeleteAdapterVersionCommandOutput extends DeleteAdapterVersionR
22
22
  }
23
23
  declare const DeleteAdapterVersionCommand_base: {
24
24
  new (input: DeleteAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes an Amazon Textract adapter version. Requires that you specify both an AdapterId and a
30
30
  * AdapterVersion. Deletes the adapter version specified by the AdapterId and the AdapterVersion.</p>
31
31
  * @example
@@ -83,6 +83,7 @@ declare const DeleteAdapterVersionCommand_base: {
83
83
  * @throws {@link TextractServiceException}
84
84
  * <p>Base exception class for all service exceptions from Textract service.</p>
85
85
  *
86
+ * @public
86
87
  */
87
88
  export declare class DeleteAdapterVersionCommand extends DeleteAdapterVersionCommand_base {
88
89
  }
@@ -22,10 +22,10 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
22
22
  }
23
23
  declare const DetectDocumentTextCommand_base: {
24
24
  new (input: DetectDocumentTextCommandInput): import("@smithy/smithy-client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DetectDocumentTextCommandInput): import("@smithy/smithy-client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Detects text in the input document. Amazon Textract can detect lines of text and the
30
30
  * words that make up a line of text. The input document must be in one of the following image
31
31
  * formats: JPEG, PNG, PDF, or TIFF. <code>DetectDocumentText</code> returns the detected
@@ -160,6 +160,7 @@ declare const DetectDocumentTextCommand_base: {
160
160
  * @throws {@link TextractServiceException}
161
161
  * <p>Base exception class for all service exceptions from Textract service.</p>
162
162
  *
163
+ * @public
163
164
  */
164
165
  export declare class DetectDocumentTextCommand extends DetectDocumentTextCommand_base {
165
166
  }
@@ -22,10 +22,10 @@ export interface GetAdapterCommandOutput extends GetAdapterResponse, __MetadataB
22
22
  }
23
23
  declare const GetAdapterCommand_base: {
24
24
  new (input: GetAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets configuration information for an adapter specified by an AdapterId, returning information on AdapterName, Description,
30
30
  * CreationTime, AutoUpdate status, and FeatureTypes.</p>
31
31
  * @example
@@ -91,6 +91,7 @@ declare const GetAdapterCommand_base: {
91
91
  * @throws {@link TextractServiceException}
92
92
  * <p>Base exception class for all service exceptions from Textract service.</p>
93
93
  *
94
+ * @public
94
95
  */
95
96
  export declare class GetAdapterCommand extends GetAdapterCommand_base {
96
97
  }
@@ -22,10 +22,10 @@ export interface GetAdapterVersionCommandOutput extends GetAdapterVersionRespons
22
22
  }
23
23
  declare const GetAdapterVersionCommand_base: {
24
24
  new (input: GetAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets configuration information for the specified adapter version, including:
30
30
  * AdapterId, AdapterVersion, FeatureTypes, Status, StatusMessage, DatasetConfig,
31
31
  * KMSKeyId, OutputConfig, Tags and EvaluationMetrics.</p>
@@ -120,6 +120,7 @@ declare const GetAdapterVersionCommand_base: {
120
120
  * @throws {@link TextractServiceException}
121
121
  * <p>Base exception class for all service exceptions from Textract service.</p>
122
122
  *
123
+ * @public
123
124
  */
124
125
  export declare class GetAdapterVersionCommand extends GetAdapterVersionCommand_base {
125
126
  }
@@ -22,10 +22,10 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
22
22
  }
23
23
  declare const GetDocumentAnalysisCommand_base: {
24
24
  new (input: GetDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets the results for an Amazon Textract asynchronous operation that analyzes text in a
30
30
  * document.</p>
31
31
  * <p>You start asynchronous text analysis by calling <a>StartDocumentAnalysis</a>,
@@ -210,6 +210,7 @@ declare const GetDocumentAnalysisCommand_base: {
210
210
  * @throws {@link TextractServiceException}
211
211
  * <p>Base exception class for all service exceptions from Textract service.</p>
212
212
  *
213
+ * @public
213
214
  */
214
215
  export declare class GetDocumentAnalysisCommand extends GetDocumentAnalysisCommand_base {
215
216
  }
@@ -22,10 +22,10 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
22
22
  }
23
23
  declare const GetDocumentTextDetectionCommand_base: {
24
24
  new (input: GetDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets the results for an Amazon Textract asynchronous operation that detects text in a document.
30
30
  * Amazon Textract can detect lines of text and the words that make up a line of text.</p>
31
31
  * <p>You start asynchronous text detection by calling <a>StartDocumentTextDetection</a>, which returns a job identifier
@@ -173,6 +173,7 @@ declare const GetDocumentTextDetectionCommand_base: {
173
173
  * @throws {@link TextractServiceException}
174
174
  * <p>Base exception class for all service exceptions from Textract service.</p>
175
175
  *
176
+ * @public
176
177
  */
177
178
  export declare class GetDocumentTextDetectionCommand extends GetDocumentTextDetectionCommand_base {
178
179
  }
@@ -22,10 +22,10 @@ export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisRespo
22
22
  }
23
23
  declare const GetExpenseAnalysisCommand_base: {
24
24
  new (input: GetExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets the results for an Amazon Textract asynchronous operation that analyzes invoices and
30
30
  * receipts. Amazon Textract finds contact information, items purchased, and vendor name, from input
31
31
  * invoices and receipts.</p>
@@ -281,6 +281,7 @@ declare const GetExpenseAnalysisCommand_base: {
281
281
  * @throws {@link TextractServiceException}
282
282
  * <p>Base exception class for all service exceptions from Textract service.</p>
283
283
  *
284
+ * @public
284
285
  */
285
286
  export declare class GetExpenseAnalysisCommand extends GetExpenseAnalysisCommand_base {
286
287
  }
@@ -22,10 +22,10 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
22
22
  }
23
23
  declare const GetLendingAnalysisCommand_base: {
24
24
  new (input: GetLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets the results for an Amazon Textract asynchronous operation that analyzes text in a
30
30
  * lending document. </p>
31
31
  * <p>You start asynchronous text analysis by calling <code>StartLendingAnalysis</code>,
@@ -354,6 +354,7 @@ declare const GetLendingAnalysisCommand_base: {
354
354
  * @throws {@link TextractServiceException}
355
355
  * <p>Base exception class for all service exceptions from Textract service.</p>
356
356
  *
357
+ * @public
357
358
  */
358
359
  export declare class GetLendingAnalysisCommand extends GetLendingAnalysisCommand_base {
359
360
  }
@@ -22,10 +22,10 @@ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalys
22
22
  }
23
23
  declare const GetLendingAnalysisSummaryCommand_base: {
24
24
  new (input: GetLendingAnalysisSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetLendingAnalysisSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Gets summarized results for the <code>StartLendingAnalysis</code> operation, which analyzes
30
30
  * text in a lending document. The returned summary consists of information about documents grouped
31
31
  * together by a common document type. Information like detected signatures, page numbers, and split
@@ -139,6 +139,7 @@ declare const GetLendingAnalysisSummaryCommand_base: {
139
139
  * @throws {@link TextractServiceException}
140
140
  * <p>Base exception class for all service exceptions from Textract service.</p>
141
141
  *
142
+ * @public
142
143
  */
143
144
  export declare class GetLendingAnalysisSummaryCommand extends GetLendingAnalysisSummaryCommand_base {
144
145
  }
@@ -22,10 +22,10 @@ export interface ListAdapterVersionsCommandOutput extends ListAdapterVersionsRes
22
22
  }
23
23
  declare const ListAdapterVersionsCommand_base: {
24
24
  new (input: ListAdapterVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListAdapterVersionsCommandInput, ListAdapterVersionsCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListAdapterVersionsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAdapterVersionsCommandInput, ListAdapterVersionsCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>List all version of an adapter that meet the specified filtration criteria.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -96,6 +96,7 @@ declare const ListAdapterVersionsCommand_base: {
96
96
  * @throws {@link TextractServiceException}
97
97
  * <p>Base exception class for all service exceptions from Textract service.</p>
98
98
  *
99
+ * @public
99
100
  */
100
101
  export declare class ListAdapterVersionsCommand extends ListAdapterVersionsCommand_base {
101
102
  }
@@ -22,10 +22,10 @@ export interface ListAdaptersCommandOutput extends ListAdaptersResponse, __Metad
22
22
  }
23
23
  declare const ListAdaptersCommand_base: {
24
24
  new (input: ListAdaptersCommandInput): import("@smithy/smithy-client").CommandImpl<ListAdaptersCommandInput, ListAdaptersCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListAdaptersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListAdaptersCommandInput, ListAdaptersCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists all adapters that match the specified filtration criteria.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -90,6 +90,7 @@ declare const ListAdaptersCommand_base: {
90
90
  * @throws {@link TextractServiceException}
91
91
  * <p>Base exception class for all service exceptions from Textract service.</p>
92
92
  *
93
+ * @public
93
94
  */
94
95
  export declare class ListAdaptersCommand extends ListAdaptersCommand_base {
95
96
  }
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
22
22
  }
23
23
  declare const ListTagsForResourceCommand_base: {
24
24
  new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists all tags for an Amazon Textract resource.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -82,6 +82,7 @@ declare const ListTagsForResourceCommand_base: {
82
82
  * @throws {@link TextractServiceException}
83
83
  * <p>Base exception class for all service exceptions from Textract service.</p>
84
84
  *
85
+ * @public
85
86
  */
86
87
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
87
88
  }
@@ -22,10 +22,10 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
22
22
  }
23
23
  declare const StartDocumentAnalysisCommand_base: {
24
24
  new (input: StartDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts the asynchronous analysis of an input document for relationships between detected
30
30
  * items such as key-value pairs, tables, and selection elements.</p>
31
31
  * <p>
@@ -167,6 +167,7 @@ declare const StartDocumentAnalysisCommand_base: {
167
167
  * @throws {@link TextractServiceException}
168
168
  * <p>Base exception class for all service exceptions from Textract service.</p>
169
169
  *
170
+ * @public
170
171
  */
171
172
  export declare class StartDocumentAnalysisCommand extends StartDocumentAnalysisCommand_base {
172
173
  }
@@ -22,10 +22,10 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
22
22
  }
23
23
  declare const StartDocumentTextDetectionCommand_base: {
24
24
  new (input: StartDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts the asynchronous detection of text in a document. Amazon Textract can detect lines of
30
30
  * text and the words that make up a line of text.</p>
31
31
  * <p>
@@ -142,6 +142,7 @@ declare const StartDocumentTextDetectionCommand_base: {
142
142
  * @throws {@link TextractServiceException}
143
143
  * <p>Base exception class for all service exceptions from Textract service.</p>
144
144
  *
145
+ * @public
145
146
  */
146
147
  export declare class StartDocumentTextDetectionCommand extends StartDocumentTextDetectionCommand_base {
147
148
  }
@@ -22,10 +22,10 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
22
22
  }
23
23
  declare const StartExpenseAnalysisCommand_base: {
24
24
  new (input: StartExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts the asynchronous analysis of invoices or receipts for data like contact information,
30
30
  * items purchased, and vendor names.</p>
31
31
  * <p>
@@ -140,6 +140,7 @@ declare const StartExpenseAnalysisCommand_base: {
140
140
  * @throws {@link TextractServiceException}
141
141
  * <p>Base exception class for all service exceptions from Textract service.</p>
142
142
  *
143
+ * @public
143
144
  */
144
145
  export declare class StartExpenseAnalysisCommand extends StartExpenseAnalysisCommand_base {
145
146
  }
@@ -22,10 +22,10 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
22
22
  }
23
23
  declare const StartLendingAnalysisCommand_base: {
24
24
  new (input: StartLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: StartLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Starts the classification and analysis of an input document.
30
30
  * <code>StartLendingAnalysis</code> initiates the classification and analysis of a packet of
31
31
  * lending documents. <code>StartLendingAnalysis</code> operates on a document file located in an
@@ -156,6 +156,7 @@ declare const StartLendingAnalysisCommand_base: {
156
156
  * @throws {@link TextractServiceException}
157
157
  * <p>Base exception class for all service exceptions from Textract service.</p>
158
158
  *
159
+ * @public
159
160
  */
160
161
  export declare class StartLendingAnalysisCommand extends StartLendingAnalysisCommand_base {
161
162
  }
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
22
22
  }
23
23
  declare const TagResourceCommand_base: {
24
24
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Adds one or more tags to the specified resource.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -84,6 +84,7 @@ declare const TagResourceCommand_base: {
84
84
  * @throws {@link TextractServiceException}
85
85
  * <p>Base exception class for all service exceptions from Textract service.</p>
86
86
  *
87
+ * @public
87
88
  */
88
89
  export declare class TagResourceCommand extends TagResourceCommand_base {
89
90
  }
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
22
22
  }
23
23
  declare const UntagResourceCommand_base: {
24
24
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Removes any tags with the specified keys from the specified resource.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -81,6 +81,7 @@ declare const UntagResourceCommand_base: {
81
81
  * @throws {@link TextractServiceException}
82
82
  * <p>Base exception class for all service exceptions from Textract service.</p>
83
83
  *
84
+ * @public
84
85
  */
85
86
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
86
87
  }
@@ -22,10 +22,10 @@ export interface UpdateAdapterCommandOutput extends UpdateAdapterResponse, __Met
22
22
  }
23
23
  declare const UpdateAdapterCommand_base: {
24
24
  new (input: UpdateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAdapterCommandInput, UpdateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAdapterCommandInput, UpdateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Update the configuration for an adapter. FeatureTypes configurations cannot be updated.
30
30
  * At least one new parameter must be specified as an argument.</p>
31
31
  * @example
@@ -94,6 +94,7 @@ declare const UpdateAdapterCommand_base: {
94
94
  * @throws {@link TextractServiceException}
95
95
  * <p>Base exception class for all service exceptions from Textract service.</p>
96
96
  *
97
+ * @public
97
98
  */
98
99
  export declare class UpdateAdapterCommand extends UpdateAdapterCommand_base {
99
100
  }
@@ -13,5 +13,4 @@ export { TextractExtensionConfiguration } from "./extensionConfiguration";
13
13
  export * from "./commands";
14
14
  export * from "./pagination";
15
15
  export * from "./models";
16
- import "@aws-sdk/util-endpoints";
17
16
  export { TextractServiceException } from "./models/TextractServiceException";