@aws-sdk/client-textract 3.1077.0 → 3.1079.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 (83) hide show
  1. package/dist-cjs/index.js +33 -253
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AnalyzeDocumentCommand.js +2 -14
  4. package/dist-es/commands/AnalyzeExpenseCommand.js +2 -14
  5. package/dist-es/commands/AnalyzeIDCommand.js +2 -14
  6. package/dist-es/commands/CreateAdapterCommand.js +2 -14
  7. package/dist-es/commands/CreateAdapterVersionCommand.js +2 -14
  8. package/dist-es/commands/DeleteAdapterCommand.js +2 -14
  9. package/dist-es/commands/DeleteAdapterVersionCommand.js +2 -14
  10. package/dist-es/commands/DetectDocumentTextCommand.js +2 -14
  11. package/dist-es/commands/GetAdapterCommand.js +2 -14
  12. package/dist-es/commands/GetAdapterVersionCommand.js +2 -14
  13. package/dist-es/commands/GetDocumentAnalysisCommand.js +2 -14
  14. package/dist-es/commands/GetDocumentTextDetectionCommand.js +2 -14
  15. package/dist-es/commands/GetExpenseAnalysisCommand.js +2 -14
  16. package/dist-es/commands/GetLendingAnalysisCommand.js +2 -14
  17. package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +2 -14
  18. package/dist-es/commands/ListAdapterVersionsCommand.js +2 -14
  19. package/dist-es/commands/ListAdaptersCommand.js +2 -14
  20. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  21. package/dist-es/commands/StartDocumentAnalysisCommand.js +2 -14
  22. package/dist-es/commands/StartDocumentTextDetectionCommand.js +2 -14
  23. package/dist-es/commands/StartExpenseAnalysisCommand.js +2 -14
  24. package/dist-es/commands/StartLendingAnalysisCommand.js +2 -14
  25. package/dist-es/commands/TagResourceCommand.js +2 -14
  26. package/dist-es/commands/UntagResourceCommand.js +2 -14
  27. package/dist-es/commands/UpdateAdapterCommand.js +2 -14
  28. package/dist-es/index.js +1 -0
  29. package/dist-types/commandBuilder.d.ts +18 -0
  30. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +3 -8
  31. package/dist-types/commands/AnalyzeExpenseCommand.d.ts +3 -8
  32. package/dist-types/commands/AnalyzeIDCommand.d.ts +3 -8
  33. package/dist-types/commands/CreateAdapterCommand.d.ts +3 -8
  34. package/dist-types/commands/CreateAdapterVersionCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteAdapterCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +3 -8
  37. package/dist-types/commands/DetectDocumentTextCommand.d.ts +3 -8
  38. package/dist-types/commands/GetAdapterCommand.d.ts +3 -8
  39. package/dist-types/commands/GetAdapterVersionCommand.d.ts +3 -8
  40. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +3 -8
  41. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +3 -8
  42. package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +3 -8
  43. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +3 -8
  44. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +3 -8
  45. package/dist-types/commands/ListAdapterVersionsCommand.d.ts +3 -8
  46. package/dist-types/commands/ListAdaptersCommand.d.ts +3 -8
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +3 -8
  49. package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +3 -8
  50. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +3 -8
  51. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +3 -8
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  53. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/UpdateAdapterCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  57. package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/index.d.ts +1 -0
  83. package/package.json +8 -8
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartDocumentTextDetectionRequest,
5
4
  StartDocumentTextDetectionResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TextractClientResolvedConfig,
11
- } from "../TextractClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartDocumentTextDetectionCommandInput
15
8
  extends StartDocumentTextDetectionRequest {}
16
9
  export interface StartDocumentTextDetectionCommandOutput
@@ -22,22 +15,20 @@ declare const StartDocumentTextDetectionCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartDocumentTextDetectionCommandInput,
24
17
  StartDocumentTextDetectionCommandOutput,
25
- TextractClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TextractClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartDocumentTextDetectionCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartDocumentTextDetectionCommandInput,
33
26
  StartDocumentTextDetectionCommandOutput,
34
- TextractClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TextractClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartDocumentTextDetectionCommand extends StartDocumentTextDetectionCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartExpenseAnalysisRequest,
5
4
  StartExpenseAnalysisResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TextractClientResolvedConfig,
11
- } from "../TextractClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartExpenseAnalysisCommandInput
15
8
  extends StartExpenseAnalysisRequest {}
16
9
  export interface StartExpenseAnalysisCommandOutput
@@ -22,22 +15,20 @@ declare const StartExpenseAnalysisCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartExpenseAnalysisCommandInput,
24
17
  StartExpenseAnalysisCommandOutput,
25
- TextractClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TextractClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartExpenseAnalysisCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartExpenseAnalysisCommandInput,
33
26
  StartExpenseAnalysisCommandOutput,
34
- TextractClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TextractClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartExpenseAnalysisCommand extends StartExpenseAnalysisCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  StartLendingAnalysisRequest,
5
4
  StartLendingAnalysisResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TextractClientResolvedConfig,
11
- } from "../TextractClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface StartLendingAnalysisCommandInput
15
8
  extends StartLendingAnalysisRequest {}
16
9
  export interface StartLendingAnalysisCommandOutput
@@ -22,22 +15,20 @@ declare const StartLendingAnalysisCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  StartLendingAnalysisCommandInput,
24
17
  StartLendingAnalysisCommandOutput,
25
- TextractClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").TextractClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: StartLendingAnalysisCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  StartLendingAnalysisCommandInput,
33
26
  StartLendingAnalysisCommandOutput,
34
- TextractClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").TextractClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class StartLendingAnalysisCommand extends StartLendingAnalysisCommand_base {
43
34
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
- import {
5
- ServiceInputTypes,
6
- ServiceOutputTypes,
7
- TextractClientResolvedConfig,
8
- } from "../TextractClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface TagResourceCommandInput extends TagResourceRequest {}
12
5
  export interface TagResourceCommandOutput
13
6
  extends TagResourceResponse,
@@ -18,22 +11,20 @@ declare const TagResourceCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  TagResourceCommandInput,
20
13
  TagResourceCommandOutput,
21
- TextractClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").TextractClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: TagResourceCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  TagResourceCommandInput,
29
22
  TagResourceCommandOutput,
30
- TextractClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").TextractClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class TagResourceCommand extends TagResourceCommand_base {
39
30
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  UntagResourceRequest,
5
4
  UntagResourceResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TextractClientResolvedConfig,
11
- } from "../TextractClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
15
8
  export interface UntagResourceCommandOutput
16
9
  extends UntagResourceResponse,
@@ -21,22 +14,20 @@ declare const UntagResourceCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  UntagResourceCommandInput,
23
16
  UntagResourceCommandOutput,
24
- TextractClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").TextractClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: UntagResourceCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  UntagResourceCommandInput,
32
25
  UntagResourceCommandOutput,
33
- TextractClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").TextractClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
42
33
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  UpdateAdapterRequest,
5
4
  UpdateAdapterResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- ServiceInputTypes,
9
- ServiceOutputTypes,
10
- TextractClientResolvedConfig,
11
- } from "../TextractClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdateAdapterCommandInput extends UpdateAdapterRequest {}
15
8
  export interface UpdateAdapterCommandOutput
16
9
  extends UpdateAdapterResponse,
@@ -21,22 +14,20 @@ declare const UpdateAdapterCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  UpdateAdapterCommandInput,
23
16
  UpdateAdapterCommandOutput,
24
- TextractClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").TextractClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: UpdateAdapterCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  UpdateAdapterCommandInput,
32
25
  UpdateAdapterCommandOutput,
33
- TextractClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").TextractClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class UpdateAdapterCommand extends UpdateAdapterCommand_base {
42
33
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { TextractExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-textract",
3
3
  "description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
4
- "version": "3.1077.0",
4
+ "version": "3.1079.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.27",
23
+ "@aws-sdk/credential-provider-node": "^3.972.62",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {