@aws-sdk/client-textract 3.362.0 → 3.369.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 (89) hide show
  1. package/dist-cjs/Textract.js +1 -1
  2. package/dist-cjs/TextractClient.js +5 -5
  3. package/dist-cjs/commands/AnalyzeDocumentCommand.js +3 -3
  4. package/dist-cjs/commands/AnalyzeExpenseCommand.js +3 -3
  5. package/dist-cjs/commands/AnalyzeIDCommand.js +3 -3
  6. package/dist-cjs/commands/DetectDocumentTextCommand.js +3 -3
  7. package/dist-cjs/commands/GetDocumentAnalysisCommand.js +3 -3
  8. package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +3 -3
  9. package/dist-cjs/commands/GetExpenseAnalysisCommand.js +3 -3
  10. package/dist-cjs/commands/GetLendingAnalysisCommand.js +3 -3
  11. package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +3 -3
  12. package/dist-cjs/commands/StartDocumentAnalysisCommand.js +3 -3
  13. package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +3 -3
  14. package/dist-cjs/commands/StartExpenseAnalysisCommand.js +3 -3
  15. package/dist-cjs/commands/StartLendingAnalysisCommand.js +3 -3
  16. package/dist-cjs/models/TextractServiceException.js +1 -1
  17. package/dist-cjs/protocols/Aws_json1_1.js +1 -1
  18. package/dist-cjs/runtimeConfig.browser.js +7 -7
  19. package/dist-cjs/runtimeConfig.js +10 -10
  20. package/dist-cjs/runtimeConfig.shared.js +4 -4
  21. package/dist-es/Textract.js +1 -1
  22. package/dist-es/TextractClient.js +5 -5
  23. package/dist-es/commands/AnalyzeDocumentCommand.js +3 -3
  24. package/dist-es/commands/AnalyzeExpenseCommand.js +3 -3
  25. package/dist-es/commands/AnalyzeIDCommand.js +3 -3
  26. package/dist-es/commands/DetectDocumentTextCommand.js +3 -3
  27. package/dist-es/commands/GetDocumentAnalysisCommand.js +3 -3
  28. package/dist-es/commands/GetDocumentTextDetectionCommand.js +3 -3
  29. package/dist-es/commands/GetExpenseAnalysisCommand.js +3 -3
  30. package/dist-es/commands/GetLendingAnalysisCommand.js +3 -3
  31. package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +3 -3
  32. package/dist-es/commands/StartDocumentAnalysisCommand.js +3 -3
  33. package/dist-es/commands/StartDocumentTextDetectionCommand.js +3 -3
  34. package/dist-es/commands/StartExpenseAnalysisCommand.js +3 -3
  35. package/dist-es/commands/StartLendingAnalysisCommand.js +3 -3
  36. package/dist-es/models/TextractServiceException.js +1 -1
  37. package/dist-es/protocols/Aws_json1_1.js +1 -1
  38. package/dist-es/runtimeConfig.browser.js +7 -7
  39. package/dist-es/runtimeConfig.js +10 -10
  40. package/dist-es/runtimeConfig.shared.js +4 -4
  41. package/dist-types/Textract.d.ts +1 -1
  42. package/dist-types/TextractClient.d.ts +8 -8
  43. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +3 -3
  44. package/dist-types/commands/AnalyzeExpenseCommand.d.ts +3 -3
  45. package/dist-types/commands/AnalyzeIDCommand.d.ts +3 -3
  46. package/dist-types/commands/DetectDocumentTextCommand.d.ts +3 -3
  47. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +3 -3
  48. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
  49. package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +3 -3
  50. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +3 -3
  51. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +3 -3
  52. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +3 -3
  53. package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
  54. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +3 -3
  55. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +3 -3
  56. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  57. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  58. package/dist-types/endpoint/ruleset.d.ts +1 -1
  59. package/dist-types/models/TextractServiceException.d.ts +1 -1
  60. package/dist-types/models/models_0.d.ts +1 -1
  61. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  62. package/dist-types/runtimeConfig.d.ts +20 -20
  63. package/dist-types/runtimeConfig.native.d.ts +19 -19
  64. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  65. package/dist-types/ts3.4/Textract.d.ts +1 -1
  66. package/dist-types/ts3.4/TextractClient.d.ts +19 -21
  67. package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +3 -3
  68. package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +3 -3
  69. package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +3 -3
  70. package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +3 -3
  71. package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +3 -3
  72. package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
  73. package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +3 -3
  74. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +3 -3
  75. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +3 -3
  76. package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +3 -3
  77. package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
  78. package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +3 -3
  79. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +3 -3
  80. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  81. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  82. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  83. package/dist-types/ts3.4/models/TextractServiceException.d.ts +1 -1
  84. package/dist-types/ts3.4/models/models_0.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  88. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  89. package/package.json +34 -33
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  GetDocumentTextDetectionRequest,
11
11
  GetDocumentTextDetectionResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  GetExpenseAnalysisRequest,
11
11
  GetExpenseAnalysisResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  GetLendingAnalysisRequest,
11
11
  GetLendingAnalysisResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  GetLendingAnalysisSummaryRequest,
11
11
  GetLendingAnalysisSummaryResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  StartDocumentAnalysisRequest,
11
11
  StartDocumentAnalysisResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  StartDocumentTextDetectionRequest,
11
11
  StartDocumentTextDetectionResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  StartExpenseAnalysisRequest,
11
11
  StartExpenseAnalysisResponse,
@@ -1,11 +1,11 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
3
  import {
4
4
  Handler,
5
5
  HttpHandlerOptions as __HttpHandlerOptions,
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
- } from "@aws-sdk/types";
8
+ } from "@smithy/types";
9
9
  import {
10
10
  StartLendingAnalysisRequest,
11
11
  StartLendingAnalysisResponse,
@@ -1,8 +1,9 @@
1
1
  import {
2
+ Endpoint,
2
3
  EndpointParameters as __EndpointParameters,
3
4
  EndpointV2,
4
- } from "@aws-sdk/types";
5
- import { Endpoint, Provider } from "@smithy/types";
5
+ Provider,
6
+ } from "@smithy/types";
6
7
  export interface ClientInputEndpointParameters {
7
8
  region?: string | Provider<string>;
8
9
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -1,4 +1,4 @@
1
- import { EndpointV2, Logger } from "@aws-sdk/types";
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
2
  import { EndpointParameters } from "./EndpointParameters";
3
3
  export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
@@ -1,2 +1,2 @@
1
- import { RuleSetObject } from "@aws-sdk/util-endpoints";
1
+ import { RuleSetObject } from "@smithy/types";
2
2
  export declare const ruleSet: RuleSetObject;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ServiceException as __ServiceException,
3
3
  ServiceExceptionOptions as __ServiceExceptionOptions,
4
- } from "@aws-sdk/smithy-client";
4
+ } from "@smithy/smithy-client";
5
5
  export { __ServiceException, __ServiceExceptionOptions };
6
6
  export declare class TextractServiceException extends __ServiceException {
7
7
  constructor(options: __ServiceExceptionOptions);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ExceptionOptionType as __ExceptionOptionType,
3
3
  LazyJsonString as __LazyJsonString,
4
- } from "@aws-sdk/smithy-client";
4
+ } from "@smithy/smithy-client";
5
5
  import { TextractServiceException as __BaseException } from "./TextractServiceException";
6
6
  export declare class AccessDeniedException extends __BaseException {
7
7
  readonly name: "AccessDeniedException";
@@ -1,94 +1,89 @@
1
- import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { TextractClientConfig } from "./TextractClient";
3
3
  export declare const getRuntimeConfig: (config: TextractClientConfig) => {
4
4
  runtime: string;
5
- defaultsMode: import("@aws-sdk/types").Provider<
6
- import("@aws-sdk/smithy-client").ResolvedDefaultsMode
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
11
  ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
- import("@aws-sdk/types").UserAgent
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
14
  >;
15
- maxAttempts: (number | import("@smithy/types").Provider<number>) &
16
- (number | import("@aws-sdk/types").Provider<number>);
17
- region: string | import("@aws-sdk/types").Provider<any>;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<any>;
18
17
  requestHandler:
19
- | (import("@aws-sdk/types").RequestHandler<
18
+ | (import("@smithy/types").RequestHandler<
20
19
  any,
21
20
  any,
22
- import("@aws-sdk/types").HttpHandlerOptions
21
+ import("@smithy/types").HttpHandlerOptions
23
22
  > &
24
23
  import("@smithy/protocol-http").HttpHandler)
25
24
  | RequestHandler;
26
25
  retryMode: string | import("@smithy/types").Provider<string>;
27
- sha256: import("@aws-sdk/types").HashConstructor;
26
+ sha256: import("@smithy/types").HashConstructor;
28
27
  streamCollector: import("@smithy/types").StreamCollector;
29
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
30
- (boolean | import("@aws-sdk/types").Provider<boolean>);
31
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
32
- (boolean | import("@aws-sdk/types").Provider<boolean>);
28
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
33
30
  apiVersion: string;
34
- urlParser: import("@aws-sdk/types").UrlParser;
31
+ urlParser: import("@smithy/types").UrlParser;
35
32
  base64Decoder: import("@smithy/types").Decoder;
36
33
  base64Encoder: import("@smithy/types").Encoder;
37
34
  utf8Decoder: import("@smithy/types").Decoder;
38
35
  utf8Encoder: import("@smithy/types").Encoder;
39
36
  disableHostPrefix: boolean;
40
37
  serviceId: string;
41
- logger: import("@aws-sdk/types").Logger;
38
+ logger: import("@smithy/types").Logger;
42
39
  endpoint?:
43
40
  | ((
44
41
  | string
45
- | import("@aws-sdk/types").Endpoint
46
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
47
- | import("@aws-sdk/types").EndpointV2
48
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
42
+ | import("@smithy/types").Endpoint
43
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
44
+ | import("@smithy/types").EndpointV2
45
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
49
46
  ) &
50
47
  (
51
48
  | string
52
49
  | import("@smithy/types").Provider<string>
53
50
  | import("@smithy/types").Endpoint
54
51
  | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
55
- | import("@aws-sdk/types").EndpointV2
56
- | import("@smithy/types").Provider<
57
- import("@aws-sdk/types").EndpointV2
58
- >
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
59
54
  ))
60
55
  | undefined;
61
56
  endpointProvider: (
62
57
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
63
58
  context?: {
64
- logger?: import("@aws-sdk/types").Logger | undefined;
59
+ logger?: import("@smithy/types").Logger | undefined;
65
60
  }
66
- ) => import("@aws-sdk/types").EndpointV2;
61
+ ) => import("@smithy/types").EndpointV2;
67
62
  tls?: boolean | undefined;
68
63
  retryStrategy?:
69
- | import("@aws-sdk/types").RetryStrategy
70
- | import("@aws-sdk/types").RetryStrategyV2
64
+ | import("@smithy/types").RetryStrategy
65
+ | import("@smithy/types").RetryStrategyV2
71
66
  | undefined;
72
67
  credentials?:
73
- | import("@aws-sdk/types").AwsCredentialIdentity
74
- | import("@aws-sdk/types").Provider<
75
- import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@smithy/types").AwsCredentialIdentity
69
+ | import("@smithy/types").Provider<
70
+ import("@smithy/types").AwsCredentialIdentity
76
71
  >
77
72
  | undefined;
78
73
  signer?:
79
- | import("@aws-sdk/types").RequestSigner
74
+ | import("@smithy/types").RequestSigner
80
75
  | ((
81
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
82
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
76
+ authScheme?: import("@smithy/types").AuthScheme | undefined
77
+ ) => Promise<import("@smithy/types").RequestSigner>)
83
78
  | undefined;
84
79
  signingEscapePath?: boolean | undefined;
85
80
  systemClockOffset?: number | undefined;
86
81
  signingRegion?: string | undefined;
87
82
  signerConstructor?:
88
83
  | (new (
89
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
90
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
91
- ) => import("@aws-sdk/types").RequestSigner)
84
+ options: import("@smithy/signature-v4").SignatureV4Init &
85
+ import("@smithy/signature-v4").SignatureV4CryptoInit
86
+ ) => import("@smithy/types").RequestSigner)
92
87
  | undefined;
93
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
94
89
  };
@@ -1,91 +1,89 @@
1
- import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { TextractClientConfig } from "./TextractClient";
3
3
  export declare const getRuntimeConfig: (config: TextractClientConfig) => {
4
4
  runtime: string;
5
- defaultsMode: import("@aws-sdk/types").Provider<
6
- import("@aws-sdk/smithy-client").ResolvedDefaultsMode
5
+ defaultsMode: import("@smithy/types").Provider<
6
+ import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
8
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider: (
10
10
  input: any
11
11
  ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
12
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
13
- import("@aws-sdk/types").UserAgent
12
+ defaultUserAgentProvider: import("@smithy/types").Provider<
13
+ import("@smithy/types").UserAgent
14
14
  >;
15
- maxAttempts: number | import("@aws-sdk/types").Provider<number>;
16
- region: string | import("@aws-sdk/types").Provider<string>;
15
+ maxAttempts: number | import("@smithy/types").Provider<number>;
16
+ region: string | import("@smithy/types").Provider<string>;
17
17
  requestHandler:
18
- | (import("@aws-sdk/types").RequestHandler<
18
+ | (import("@smithy/types").RequestHandler<
19
19
  any,
20
20
  any,
21
- import("@aws-sdk/types").HttpHandlerOptions
21
+ import("@smithy/types").HttpHandlerOptions
22
22
  > &
23
23
  import("@smithy/protocol-http").HttpHandler)
24
24
  | RequestHandler;
25
25
  retryMode: string | import("@smithy/types").Provider<string>;
26
- sha256: import("@aws-sdk/types").HashConstructor;
26
+ sha256: import("@smithy/types").HashConstructor;
27
27
  streamCollector: import("@smithy/types").StreamCollector;
28
- useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
29
- useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
28
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
29
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
30
30
  apiVersion: string;
31
- urlParser: import("@aws-sdk/types").UrlParser;
31
+ urlParser: import("@smithy/types").UrlParser;
32
32
  base64Decoder: import("@smithy/types").Decoder;
33
33
  base64Encoder: import("@smithy/types").Encoder;
34
34
  utf8Decoder: import("@smithy/types").Decoder;
35
35
  utf8Encoder: import("@smithy/types").Encoder;
36
36
  disableHostPrefix: boolean;
37
37
  serviceId: string;
38
- logger: import("@aws-sdk/types").Logger;
38
+ logger: import("@smithy/types").Logger;
39
39
  endpoint?:
40
40
  | ((
41
41
  | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
- | import("@aws-sdk/types").EndpointV2
45
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
42
+ | import("@smithy/types").Endpoint
43
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
44
+ | import("@smithy/types").EndpointV2
45
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
46
46
  ) &
47
47
  (
48
48
  | string
49
49
  | import("@smithy/types").Provider<string>
50
50
  | import("@smithy/types").Endpoint
51
51
  | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
- | import("@aws-sdk/types").EndpointV2
53
- | import("@smithy/types").Provider<
54
- import("@aws-sdk/types").EndpointV2
55
- >
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
56
54
  ))
57
55
  | undefined;
58
56
  endpointProvider: (
59
57
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
60
58
  context?: {
61
- logger?: import("@aws-sdk/types").Logger | undefined;
59
+ logger?: import("@smithy/types").Logger | undefined;
62
60
  }
63
- ) => import("@aws-sdk/types").EndpointV2;
61
+ ) => import("@smithy/types").EndpointV2;
64
62
  tls?: boolean | undefined;
65
63
  retryStrategy?:
66
- | import("@aws-sdk/types").RetryStrategy
67
- | import("@aws-sdk/types").RetryStrategyV2
64
+ | import("@smithy/types").RetryStrategy
65
+ | import("@smithy/types").RetryStrategyV2
68
66
  | undefined;
69
67
  credentials?:
70
- | import("@aws-sdk/types").AwsCredentialIdentity
71
- | import("@aws-sdk/types").Provider<
72
- import("@aws-sdk/types").AwsCredentialIdentity
68
+ | import("@smithy/types").AwsCredentialIdentity
69
+ | import("@smithy/types").Provider<
70
+ import("@smithy/types").AwsCredentialIdentity
73
71
  >
74
72
  | undefined;
75
73
  signer?:
76
- | import("@aws-sdk/types").RequestSigner
74
+ | import("@smithy/types").RequestSigner
77
75
  | ((
78
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
79
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
76
+ authScheme?: import("@smithy/types").AuthScheme | undefined
77
+ ) => Promise<import("@smithy/types").RequestSigner>)
80
78
  | undefined;
81
79
  signingEscapePath?: boolean | undefined;
82
80
  systemClockOffset?: number | undefined;
83
81
  signingRegion?: string | undefined;
84
82
  signerConstructor?:
85
83
  | (new (
86
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
87
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
88
- ) => import("@aws-sdk/types").RequestSigner)
84
+ options: import("@smithy/signature-v4").SignatureV4Init &
85
+ import("@smithy/signature-v4").SignatureV4CryptoInit
86
+ ) => import("@smithy/types").RequestSigner)
89
87
  | undefined;
90
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
88
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
91
89
  };
@@ -1,18 +1,18 @@
1
1
  import { TextractClientConfig } from "./TextractClient";
2
2
  export declare const getRuntimeConfig: (config: TextractClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@aws-sdk/types").HashConstructor;
4
+ sha256: import("@smithy/types").HashConstructor;
5
5
  requestHandler:
6
- | (import("@aws-sdk/types").RequestHandler<
6
+ | (import("@smithy/types").RequestHandler<
7
7
  any,
8
8
  any,
9
- import("@aws-sdk/types").HttpHandlerOptions
9
+ import("@smithy/types").HttpHandlerOptions
10
10
  > &
11
11
  import("@smithy/protocol-http").HttpHandler)
12
- | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
12
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
13
13
  apiVersion: string;
14
- urlParser: import("@aws-sdk/types").UrlParser;
15
- bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
14
+ urlParser: import("@smithy/types").UrlParser;
15
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
16
  streamCollector: import("@smithy/types").StreamCollector;
17
17
  base64Decoder: import("@smithy/types").Decoder;
18
18
  base64Encoder: import("@smithy/types").Encoder;
@@ -20,66 +20,61 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
20
20
  utf8Encoder: import("@smithy/types").Encoder;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
- useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
24
- (boolean | import("@aws-sdk/types").Provider<boolean>);
25
- useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
- (boolean | import("@aws-sdk/types").Provider<boolean>);
27
- region: string | import("@aws-sdk/types").Provider<any>;
23
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
25
+ region: string | import("@smithy/types").Provider<any>;
28
26
  credentialDefaultProvider: (
29
27
  input: any
30
28
  ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
31
- defaultUserAgentProvider: import("@aws-sdk/types").Provider<
32
- import("@aws-sdk/types").UserAgent
29
+ defaultUserAgentProvider: import("@smithy/types").Provider<
30
+ import("@smithy/types").UserAgent
33
31
  >;
34
- maxAttempts: (number | import("@smithy/types").Provider<number>) &
35
- (number | import("@aws-sdk/types").Provider<number>);
32
+ maxAttempts: number | import("@smithy/types").Provider<number>;
36
33
  retryMode: string | import("@smithy/types").Provider<string>;
37
- logger: import("@aws-sdk/types").Logger;
34
+ logger: import("@smithy/types").Logger;
38
35
  defaultsMode:
39
- | import("@aws-sdk/smithy-client").DefaultsMode
36
+ | import("@smithy/smithy-client").DefaultsMode
40
37
  | import("@smithy/types").Provider<
41
- import("@aws-sdk/smithy-client").DefaultsMode
38
+ import("@smithy/smithy-client").DefaultsMode
42
39
  >;
43
40
  endpoint?:
44
41
  | string
45
- | import("@aws-sdk/types").EndpointV2
46
- | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
47
- import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
48
- | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
49
- | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
50
- import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
42
+ | import("@smithy/types").Endpoint
43
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
44
+ | import("@smithy/types").EndpointV2
45
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
51
46
  | undefined;
52
47
  endpointProvider: (
53
48
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
54
49
  context?: {
55
- logger?: import("@aws-sdk/types").Logger | undefined;
50
+ logger?: import("@smithy/types").Logger | undefined;
56
51
  }
57
- ) => import("@aws-sdk/types").EndpointV2;
52
+ ) => import("@smithy/types").EndpointV2;
58
53
  tls?: boolean | undefined;
59
54
  retryStrategy?:
60
- | import("@aws-sdk/types").RetryStrategy
61
- | import("@aws-sdk/types").RetryStrategyV2
55
+ | import("@smithy/types").RetryStrategy
56
+ | import("@smithy/types").RetryStrategyV2
62
57
  | undefined;
63
58
  credentials?:
64
- | import("@aws-sdk/types").AwsCredentialIdentity
65
- | import("@aws-sdk/types").Provider<
66
- import("@aws-sdk/types").AwsCredentialIdentity
59
+ | import("@smithy/types").AwsCredentialIdentity
60
+ | import("@smithy/types").Provider<
61
+ import("@smithy/types").AwsCredentialIdentity
67
62
  >
68
63
  | undefined;
69
64
  signer?:
70
- | import("@aws-sdk/types").RequestSigner
65
+ | import("@smithy/types").RequestSigner
71
66
  | ((
72
- authScheme?: import("@aws-sdk/types").AuthScheme | undefined
73
- ) => Promise<import("@aws-sdk/types").RequestSigner>)
67
+ authScheme?: import("@smithy/types").AuthScheme | undefined
68
+ ) => Promise<import("@smithy/types").RequestSigner>)
74
69
  | undefined;
75
70
  signingEscapePath?: boolean | undefined;
76
71
  systemClockOffset?: number | undefined;
77
72
  signingRegion?: string | undefined;
78
73
  signerConstructor?:
79
74
  | (new (
80
- options: import("@aws-sdk/signature-v4").SignatureV4Init &
81
- import("@aws-sdk/signature-v4").SignatureV4CryptoInit
82
- ) => import("@aws-sdk/types").RequestSigner)
75
+ options: import("@smithy/signature-v4").SignatureV4Init &
76
+ import("@smithy/signature-v4").SignatureV4CryptoInit
77
+ ) => import("@smithy/types").RequestSigner)
83
78
  | undefined;
84
- customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
79
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
85
80
  };
@@ -7,12 +7,12 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
9
  context?: {
10
- logger?: import("@aws-sdk/types").Logger | undefined;
10
+ logger?: import("@smithy/types").Logger | undefined;
11
11
  }
12
- ) => import("@aws-sdk/types").EndpointV2;
13
- logger: import("@aws-sdk/types").Logger;
12
+ ) => import("@smithy/types").EndpointV2;
13
+ logger: import("@smithy/types").Logger;
14
14
  serviceId: string;
15
- urlParser: import("@aws-sdk/types").UrlParser;
15
+ urlParser: import("@smithy/types").UrlParser;
16
16
  utf8Decoder: import("@smithy/types").Decoder;
17
17
  utf8Encoder: import("@smithy/types").Encoder;
18
18
  };