@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.
- package/dist-cjs/Textract.js +1 -1
- package/dist-cjs/TextractClient.js +5 -5
- package/dist-cjs/commands/AnalyzeDocumentCommand.js +3 -3
- package/dist-cjs/commands/AnalyzeExpenseCommand.js +3 -3
- package/dist-cjs/commands/AnalyzeIDCommand.js +3 -3
- package/dist-cjs/commands/DetectDocumentTextCommand.js +3 -3
- package/dist-cjs/commands/GetDocumentAnalysisCommand.js +3 -3
- package/dist-cjs/commands/GetDocumentTextDetectionCommand.js +3 -3
- package/dist-cjs/commands/GetExpenseAnalysisCommand.js +3 -3
- package/dist-cjs/commands/GetLendingAnalysisCommand.js +3 -3
- package/dist-cjs/commands/GetLendingAnalysisSummaryCommand.js +3 -3
- package/dist-cjs/commands/StartDocumentAnalysisCommand.js +3 -3
- package/dist-cjs/commands/StartDocumentTextDetectionCommand.js +3 -3
- package/dist-cjs/commands/StartExpenseAnalysisCommand.js +3 -3
- package/dist-cjs/commands/StartLendingAnalysisCommand.js +3 -3
- package/dist-cjs/models/TextractServiceException.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -7
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.shared.js +4 -4
- package/dist-es/Textract.js +1 -1
- package/dist-es/TextractClient.js +5 -5
- package/dist-es/commands/AnalyzeDocumentCommand.js +3 -3
- package/dist-es/commands/AnalyzeExpenseCommand.js +3 -3
- package/dist-es/commands/AnalyzeIDCommand.js +3 -3
- package/dist-es/commands/DetectDocumentTextCommand.js +3 -3
- package/dist-es/commands/GetDocumentAnalysisCommand.js +3 -3
- package/dist-es/commands/GetDocumentTextDetectionCommand.js +3 -3
- package/dist-es/commands/GetExpenseAnalysisCommand.js +3 -3
- package/dist-es/commands/GetLendingAnalysisCommand.js +3 -3
- package/dist-es/commands/GetLendingAnalysisSummaryCommand.js +3 -3
- package/dist-es/commands/StartDocumentAnalysisCommand.js +3 -3
- package/dist-es/commands/StartDocumentTextDetectionCommand.js +3 -3
- package/dist-es/commands/StartExpenseAnalysisCommand.js +3 -3
- package/dist-es/commands/StartLendingAnalysisCommand.js +3 -3
- package/dist-es/models/TextractServiceException.js +1 -1
- package/dist-es/protocols/Aws_json1_1.js +1 -1
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +10 -10
- package/dist-es/runtimeConfig.shared.js +4 -4
- package/dist-types/Textract.d.ts +1 -1
- package/dist-types/TextractClient.d.ts +8 -8
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +3 -3
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +3 -3
- package/dist-types/commands/AnalyzeIDCommand.d.ts +3 -3
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +3 -3
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +3 -3
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +3 -3
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +3 -3
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +3 -3
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +3 -3
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +3 -3
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
- package/dist-types/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/endpoint/ruleset.d.ts +1 -1
- package/dist-types/models/TextractServiceException.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +20 -20
- package/dist-types/runtimeConfig.d.ts +20 -20
- package/dist-types/runtimeConfig.native.d.ts +19 -19
- package/dist-types/runtimeConfig.shared.d.ts +4 -4
- package/dist-types/ts3.4/Textract.d.ts +1 -1
- package/dist-types/ts3.4/TextractClient.d.ts +19 -21
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +3 -3
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
- package/dist-types/ts3.4/models/TextractServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
- package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
- package/package.json +34 -33
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
8
|
+
} from "@smithy/types";
|
|
9
9
|
import {
|
|
10
10
|
GetDocumentTextDetectionRequest,
|
|
11
11
|
GetDocumentTextDetectionResponse,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
8
|
+
} from "@smithy/types";
|
|
9
9
|
import {
|
|
10
10
|
GetExpenseAnalysisRequest,
|
|
11
11
|
GetExpenseAnalysisResponse,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
8
|
+
} from "@smithy/types";
|
|
9
9
|
import {
|
|
10
10
|
GetLendingAnalysisRequest,
|
|
11
11
|
GetLendingAnalysisResponse,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
8
|
+
} from "@smithy/types";
|
|
9
9
|
import {
|
|
10
10
|
GetLendingAnalysisSummaryRequest,
|
|
11
11
|
GetLendingAnalysisSummaryResponse,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
8
|
+
} from "@smithy/types";
|
|
9
9
|
import {
|
|
10
10
|
StartDocumentAnalysisRequest,
|
|
11
11
|
StartDocumentAnalysisResponse,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
8
|
+
} from "@smithy/types";
|
|
9
9
|
import {
|
|
10
10
|
StartDocumentTextDetectionRequest,
|
|
11
11
|
StartDocumentTextDetectionResponse,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
8
|
+
} from "@smithy/types";
|
|
9
9
|
import {
|
|
10
10
|
StartExpenseAnalysisRequest,
|
|
11
11
|
StartExpenseAnalysisResponse,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@
|
|
2
|
-
import { Command as $Command } from "@
|
|
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 "@
|
|
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
|
-
|
|
5
|
-
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
6
7
|
export interface ClientInputEndpointParameters {
|
|
7
8
|
region?: string | Provider<string>;
|
|
8
9
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { RuleSetObject } from "@
|
|
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 "@
|
|
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 "@
|
|
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 "@
|
|
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("@
|
|
6
|
-
import("@
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
bodyLengthChecker: import("@
|
|
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("@
|
|
13
|
-
import("@
|
|
12
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
|
+
import("@smithy/types").UserAgent
|
|
14
14
|
>;
|
|
15
|
-
maxAttempts:
|
|
16
|
-
|
|
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("@
|
|
18
|
+
| (import("@smithy/types").RequestHandler<
|
|
20
19
|
any,
|
|
21
20
|
any,
|
|
22
|
-
import("@
|
|
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("@
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
28
27
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
|
-
useDualstackEndpoint:
|
|
30
|
-
|
|
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("@
|
|
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("@
|
|
38
|
+
logger: import("@smithy/types").Logger;
|
|
42
39
|
endpoint?:
|
|
43
40
|
| ((
|
|
44
41
|
| string
|
|
45
|
-
| import("@
|
|
46
|
-
| import("@
|
|
47
|
-
| import("@
|
|
48
|
-
| import("@
|
|
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("@
|
|
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("@
|
|
59
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
65
60
|
}
|
|
66
|
-
) => import("@
|
|
61
|
+
) => import("@smithy/types").EndpointV2;
|
|
67
62
|
tls?: boolean | undefined;
|
|
68
63
|
retryStrategy?:
|
|
69
|
-
| import("@
|
|
70
|
-
| import("@
|
|
64
|
+
| import("@smithy/types").RetryStrategy
|
|
65
|
+
| import("@smithy/types").RetryStrategyV2
|
|
71
66
|
| undefined;
|
|
72
67
|
credentials?:
|
|
73
|
-
| import("@
|
|
74
|
-
| import("@
|
|
75
|
-
import("@
|
|
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("@
|
|
74
|
+
| import("@smithy/types").RequestSigner
|
|
80
75
|
| ((
|
|
81
|
-
authScheme?: import("@
|
|
82
|
-
) => Promise<import("@
|
|
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("@
|
|
90
|
-
import("@
|
|
91
|
-
) => import("@
|
|
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("@
|
|
88
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
94
89
|
};
|
|
@@ -1,91 +1,89 @@
|
|
|
1
|
-
import { NodeHttpHandler as RequestHandler } from "@
|
|
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("@
|
|
6
|
-
import("@
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
-
bodyLengthChecker: import("@
|
|
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("@
|
|
13
|
-
import("@
|
|
12
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
13
|
+
import("@smithy/types").UserAgent
|
|
14
14
|
>;
|
|
15
|
-
maxAttempts: number | import("@
|
|
16
|
-
region: string | import("@
|
|
15
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
16
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
17
17
|
requestHandler:
|
|
18
|
-
| (import("@
|
|
18
|
+
| (import("@smithy/types").RequestHandler<
|
|
19
19
|
any,
|
|
20
20
|
any,
|
|
21
|
-
import("@
|
|
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("@
|
|
26
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
27
27
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
28
|
-
useDualstackEndpoint: boolean | import("@
|
|
29
|
-
useFipsEndpoint: boolean | import("@
|
|
28
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
30
|
apiVersion: string;
|
|
31
|
-
urlParser: import("@
|
|
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("@
|
|
38
|
+
logger: import("@smithy/types").Logger;
|
|
39
39
|
endpoint?:
|
|
40
40
|
| ((
|
|
41
41
|
| string
|
|
42
|
-
| import("@
|
|
43
|
-
| import("@
|
|
44
|
-
| import("@
|
|
45
|
-
| import("@
|
|
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("@
|
|
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("@
|
|
59
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
62
60
|
}
|
|
63
|
-
) => import("@
|
|
61
|
+
) => import("@smithy/types").EndpointV2;
|
|
64
62
|
tls?: boolean | undefined;
|
|
65
63
|
retryStrategy?:
|
|
66
|
-
| import("@
|
|
67
|
-
| import("@
|
|
64
|
+
| import("@smithy/types").RetryStrategy
|
|
65
|
+
| import("@smithy/types").RetryStrategyV2
|
|
68
66
|
| undefined;
|
|
69
67
|
credentials?:
|
|
70
|
-
| import("@
|
|
71
|
-
| import("@
|
|
72
|
-
import("@
|
|
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("@
|
|
74
|
+
| import("@smithy/types").RequestSigner
|
|
77
75
|
| ((
|
|
78
|
-
authScheme?: import("@
|
|
79
|
-
) => Promise<import("@
|
|
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("@
|
|
87
|
-
import("@
|
|
88
|
-
) => import("@
|
|
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("@
|
|
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("@
|
|
4
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
5
5
|
requestHandler:
|
|
6
|
-
| (import("@
|
|
6
|
+
| (import("@smithy/types").RequestHandler<
|
|
7
7
|
any,
|
|
8
8
|
any,
|
|
9
|
-
import("@
|
|
9
|
+
import("@smithy/types").HttpHandlerOptions
|
|
10
10
|
> &
|
|
11
11
|
import("@smithy/protocol-http").HttpHandler)
|
|
12
|
-
| import("@
|
|
12
|
+
| import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
13
|
apiVersion: string;
|
|
14
|
-
urlParser: import("@
|
|
15
|
-
bodyLengthChecker: import("@
|
|
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:
|
|
24
|
-
|
|
25
|
-
|
|
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("@
|
|
32
|
-
import("@
|
|
29
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
30
|
+
import("@smithy/types").UserAgent
|
|
33
31
|
>;
|
|
34
|
-
maxAttempts:
|
|
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("@
|
|
34
|
+
logger: import("@smithy/types").Logger;
|
|
38
35
|
defaultsMode:
|
|
39
|
-
| import("@
|
|
36
|
+
| import("@smithy/smithy-client").DefaultsMode
|
|
40
37
|
| import("@smithy/types").Provider<
|
|
41
|
-
import("@
|
|
38
|
+
import("@smithy/smithy-client").DefaultsMode
|
|
42
39
|
>;
|
|
43
40
|
endpoint?:
|
|
44
41
|
| string
|
|
45
|
-
| import("@
|
|
46
|
-
|
|
|
47
|
-
|
|
48
|
-
|
|
|
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("@
|
|
50
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
56
51
|
}
|
|
57
|
-
) => import("@
|
|
52
|
+
) => import("@smithy/types").EndpointV2;
|
|
58
53
|
tls?: boolean | undefined;
|
|
59
54
|
retryStrategy?:
|
|
60
|
-
| import("@
|
|
61
|
-
| import("@
|
|
55
|
+
| import("@smithy/types").RetryStrategy
|
|
56
|
+
| import("@smithy/types").RetryStrategyV2
|
|
62
57
|
| undefined;
|
|
63
58
|
credentials?:
|
|
64
|
-
| import("@
|
|
65
|
-
| import("@
|
|
66
|
-
import("@
|
|
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("@
|
|
65
|
+
| import("@smithy/types").RequestSigner
|
|
71
66
|
| ((
|
|
72
|
-
authScheme?: import("@
|
|
73
|
-
) => Promise<import("@
|
|
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("@
|
|
81
|
-
import("@
|
|
82
|
-
) => import("@
|
|
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("@
|
|
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("@
|
|
10
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
11
11
|
}
|
|
12
|
-
) => import("@
|
|
13
|
-
logger: import("@
|
|
12
|
+
) => import("@smithy/types").EndpointV2;
|
|
13
|
+
logger: import("@smithy/types").Logger;
|
|
14
14
|
serviceId: string;
|
|
15
|
-
urlParser: import("@
|
|
15
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
16
16
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
17
|
utf8Encoder: import("@smithy/types").Encoder;
|
|
18
18
|
};
|