@aws-sdk/client-textract 3.478.0 → 3.484.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist-cjs/commands/AnalyzeDocumentCommand.js +18 -41
  2. package/dist-cjs/commands/AnalyzeExpenseCommand.js +18 -41
  3. package/dist-cjs/commands/AnalyzeIDCommand.js +18 -41
  4. package/dist-cjs/commands/CreateAdapterCommand.js +18 -41
  5. package/dist-cjs/commands/CreateAdapterVersionCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteAdapterCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteAdapterVersionCommand.js +18 -41
  8. package/dist-cjs/commands/DetectDocumentTextCommand.js +18 -41
  9. package/dist-cjs/commands/GetAdapterCommand.js +18 -41
  10. package/dist-cjs/commands/GetAdapterVersionCommand.js +18 -41
  11. package/dist-cjs/commands/GetDocumentAnalysisCommand.js +18 -41
  12. package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +18 -41
  13. package/dist-cjs/commands/GetExpenseAnalysisCommand.js +18 -41
  14. package/dist-cjs/commands/GetLendingAnalysisCommand.js +18 -41
  15. package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +18 -41
  16. package/dist-cjs/commands/ListAdapterVersionsCommand.js +18 -41
  17. package/dist-cjs/commands/ListAdaptersCommand.js +18 -41
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  19. package/dist-cjs/commands/StartDocumentAnalysisCommand.js +18 -41
  20. package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +18 -41
  21. package/dist-cjs/commands/StartExpenseAnalysisCommand.js +18 -41
  22. package/dist-cjs/commands/StartLendingAnalysisCommand.js +18 -41
  23. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  24. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateAdapterCommand.js +18 -41
  26. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  27. package/dist-es/commands/AnalyzeDocumentCommand.js +18 -41
  28. package/dist-es/commands/AnalyzeExpenseCommand.js +18 -41
  29. package/dist-es/commands/AnalyzeIDCommand.js +18 -41
  30. package/dist-es/commands/CreateAdapterCommand.js +18 -41
  31. package/dist-es/commands/CreateAdapterVersionCommand.js +18 -41
  32. package/dist-es/commands/DeleteAdapterCommand.js +18 -41
  33. package/dist-es/commands/DeleteAdapterVersionCommand.js +18 -41
  34. package/dist-es/commands/DetectDocumentTextCommand.js +18 -41
  35. package/dist-es/commands/GetAdapterCommand.js +18 -41
  36. package/dist-es/commands/GetAdapterVersionCommand.js +18 -41
  37. package/dist-es/commands/GetDocumentAnalysisCommand.js +18 -41
  38. package/dist-es/commands/GetDocumentTextDetectionCommand.js +18 -41
  39. package/dist-es/commands/GetExpenseAnalysisCommand.js +18 -41
  40. package/dist-es/commands/GetLendingAnalysisCommand.js +18 -41
  41. package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +18 -41
  42. package/dist-es/commands/ListAdapterVersionsCommand.js +18 -41
  43. package/dist-es/commands/ListAdaptersCommand.js +18 -41
  44. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  45. package/dist-es/commands/StartDocumentAnalysisCommand.js +18 -41
  46. package/dist-es/commands/StartDocumentTextDetectionCommand.js +18 -41
  47. package/dist-es/commands/StartExpenseAnalysisCommand.js +18 -41
  48. package/dist-es/commands/StartLendingAnalysisCommand.js +18 -41
  49. package/dist-es/commands/TagResourceCommand.js +18 -41
  50. package/dist-es/commands/UntagResourceCommand.js +18 -41
  51. package/dist-es/commands/UpdateAdapterCommand.js +18 -41
  52. package/dist-es/endpoint/EndpointParameters.js +6 -0
  53. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +6 -21
  54. package/dist-types/commands/AnalyzeExpenseCommand.d.ts +6 -21
  55. package/dist-types/commands/AnalyzeIDCommand.d.ts +6 -21
  56. package/dist-types/commands/CreateAdapterCommand.d.ts +6 -21
  57. package/dist-types/commands/CreateAdapterVersionCommand.d.ts +6 -21
  58. package/dist-types/commands/DeleteAdapterCommand.d.ts +6 -21
  59. package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +6 -21
  60. package/dist-types/commands/DetectDocumentTextCommand.d.ts +6 -21
  61. package/dist-types/commands/GetAdapterCommand.d.ts +6 -21
  62. package/dist-types/commands/GetAdapterVersionCommand.d.ts +6 -21
  63. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +6 -21
  64. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +6 -21
  65. package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +6 -21
  66. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +6 -21
  67. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +6 -21
  68. package/dist-types/commands/ListAdapterVersionsCommand.d.ts +6 -21
  69. package/dist-types/commands/ListAdaptersCommand.d.ts +6 -21
  70. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  71. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +6 -21
  72. package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +6 -21
  73. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +6 -21
  74. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +6 -21
  75. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  76. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  77. package/dist-types/commands/UpdateAdapterCommand.d.ts +6 -21
  78. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  79. package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +12 -24
  91. package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +14 -23
  95. package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  105. package/package.json +11 -11
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
10
4
  import {
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface TagResourceCommandInput extends TagResourceRequest {}
17
11
  export interface TagResourceCommandOutput
18
12
  extends TagResourceResponse,
19
13
  __MetadataBearer {}
20
- export declare class TagResourceCommand extends $Command<
21
- TagResourceCommandInput,
22
- TagResourceCommandOutput,
23
- TextractClientResolvedConfig
24
- > {
25
- readonly input: TagResourceCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: TagResourceCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: TextractClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const TagResourceCommand_base: {
15
+ new (
16
+ input: TagResourceCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ TagResourceCommandInput,
19
+ TagResourceCommandOutput,
20
+ TextractClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class TagResourceCommand extends TagResourceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  UntagResourceRequest,
11
5
  UntagResourceResponse,
@@ -20,19 +14,16 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {}
20
14
  export interface UntagResourceCommandOutput
21
15
  extends UntagResourceResponse,
22
16
  __MetadataBearer {}
23
- export declare class UntagResourceCommand extends $Command<
24
- UntagResourceCommandInput,
25
- UntagResourceCommandOutput,
26
- TextractClientResolvedConfig
27
- > {
28
- readonly input: UntagResourceCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: UntagResourceCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: TextractClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const UntagResourceCommand_base: {
18
+ new (
19
+ input: UntagResourceCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ UntagResourceCommandInput,
22
+ UntagResourceCommandOutput,
23
+ TextractClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  UpdateAdapterRequest,
11
5
  UpdateAdapterResponse,
@@ -20,19 +14,16 @@ export interface UpdateAdapterCommandInput extends UpdateAdapterRequest {}
20
14
  export interface UpdateAdapterCommandOutput
21
15
  extends UpdateAdapterResponse,
22
16
  __MetadataBearer {}
23
- export declare class UpdateAdapterCommand extends $Command<
24
- UpdateAdapterCommandInput,
25
- UpdateAdapterCommandOutput,
26
- TextractClientResolvedConfig
27
- > {
28
- readonly input: UpdateAdapterCommandInput;
29
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
- constructor(input: UpdateAdapterCommandInput);
31
- resolveMiddleware(
32
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
- configuration: TextractClientResolvedConfig,
34
- options?: __HttpHandlerOptions
35
- ): Handler<UpdateAdapterCommandInput, UpdateAdapterCommandOutput>;
36
- private serialize;
37
- private deserialize;
38
- }
17
+ declare const UpdateAdapterCommand_base: {
18
+ new (
19
+ input: UpdateAdapterCommandInput
20
+ ): import("@smithy/smithy-client").CommandImpl<
21
+ UpdateAdapterCommandInput,
22
+ UpdateAdapterCommandOutput,
23
+ TextractClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ export declare class UpdateAdapterCommand extends UpdateAdapterCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
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.478.0",
4
+ "version": "3.484.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,40 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.478.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.478.0",
23
+ "@aws-sdk/client-sts": "3.484.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.484.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.478.0",
31
- "@aws-sdk/region-config-resolver": "3.470.0",
31
+ "@aws-sdk/region-config-resolver": "3.484.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
33
  "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
- "@smithy/config-resolver": "^2.0.21",
37
- "@smithy/core": "^1.2.0",
36
+ "@smithy/config-resolver": "^2.0.22",
37
+ "@smithy/core": "^1.2.1",
38
38
  "@smithy/fetch-http-handler": "^2.3.1",
39
39
  "@smithy/hash-node": "^2.0.17",
40
40
  "@smithy/invalid-dependency": "^2.0.15",
41
41
  "@smithy/middleware-content-length": "^2.0.17",
42
42
  "@smithy/middleware-endpoint": "^2.2.3",
43
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
44
44
  "@smithy/middleware-serde": "^2.0.15",
45
45
  "@smithy/middleware-stack": "^2.0.9",
46
46
  "@smithy/node-config-provider": "^2.1.8",
47
47
  "@smithy/node-http-handler": "^2.2.1",
48
48
  "@smithy/protocol-http": "^3.0.11",
49
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
50
50
  "@smithy/types": "^2.7.0",
51
51
  "@smithy/url-parser": "^2.0.15",
52
52
  "@smithy/util-base64": "^2.0.1",
53
53
  "@smithy/util-body-length-browser": "^2.0.1",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
- "@smithy/util-defaults-mode-browser": "^2.0.22",
56
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.31",
57
57
  "@smithy/util-endpoints": "^1.0.7",
58
58
  "@smithy/util-retry": "^2.0.8",
59
59
  "@smithy/util-utf8": "^2.0.2",