@aws-sdk/client-textract 3.803.0 → 3.806.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/runtimeConfig.js +6 -6
- package/dist-es/protocols/Aws_json1_1.js +4 -4
- package/dist-es/runtimeConfig.js +6 -6
- package/dist-types/commands/AnalyzeDocumentCommand.d.ts +1 -1
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +1 -1
- package/dist-types/commands/AnalyzeIDCommand.d.ts +1 -1
- package/dist-types/commands/CreateAdapterCommand.d.ts +1 -1
- package/dist-types/commands/CreateAdapterVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAdapterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +1 -1
- package/dist-types/commands/DetectDocumentTextCommand.d.ts +1 -1
- package/dist-types/commands/GetAdapterCommand.d.ts +1 -1
- package/dist-types/commands/GetAdapterVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/GetLendingAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/StartLendingAnalysisCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAdapterCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
- package/dist-types/runtimeConfig.browser.d.ts +17 -17
- package/dist-types/runtimeConfig.d.ts +16 -16
- package/dist-types/runtimeConfig.native.d.ts +18 -18
- package/dist-types/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
- package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/package.json +22 -22
|
@@ -23,20 +23,20 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
-
const
|
|
26
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
27
27
|
return {
|
|
28
28
|
...clientSharedValues,
|
|
29
29
|
...config,
|
|
30
30
|
runtime: "node",
|
|
31
31
|
defaultsMode,
|
|
32
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
33
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
34
34
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
35
35
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
36
36
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
37
37
|
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
38
38
|
region: config?.region ??
|
|
39
|
-
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
39
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
40
40
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
41
41
|
retryMode: config?.retryMode ??
|
|
42
42
|
(0, node_config_provider_1.loadConfig)({
|
|
@@ -45,9 +45,9 @@ const getRuntimeConfig = (config) => {
|
|
|
45
45
|
}, config),
|
|
46
46
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
47
47
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
48
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
49
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
50
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS,
|
|
48
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
49
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
50
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -770,8 +770,8 @@ const se_DocumentPages = (input, context) => {
|
|
|
770
770
|
};
|
|
771
771
|
const se_ListAdaptersRequest = (input, context) => {
|
|
772
772
|
return take(input, {
|
|
773
|
-
AfterCreationTime: (_) => _.getTime() /
|
|
774
|
-
BeforeCreationTime: (_) => _.getTime() /
|
|
773
|
+
AfterCreationTime: (_) => _.getTime() / 1_000,
|
|
774
|
+
BeforeCreationTime: (_) => _.getTime() / 1_000,
|
|
775
775
|
MaxResults: [],
|
|
776
776
|
NextToken: [],
|
|
777
777
|
});
|
|
@@ -779,8 +779,8 @@ const se_ListAdaptersRequest = (input, context) => {
|
|
|
779
779
|
const se_ListAdapterVersionsRequest = (input, context) => {
|
|
780
780
|
return take(input, {
|
|
781
781
|
AdapterId: [],
|
|
782
|
-
AfterCreationTime: (_) => _.getTime() /
|
|
783
|
-
BeforeCreationTime: (_) => _.getTime() /
|
|
782
|
+
AfterCreationTime: (_) => _.getTime() / 1_000,
|
|
783
|
+
BeforeCreationTime: (_) => _.getTime() / 1_000,
|
|
784
784
|
MaxResults: [],
|
|
785
785
|
NextToken: [],
|
|
786
786
|
});
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,20 +19,20 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
-
const
|
|
22
|
+
const loaderConfig = { profile: config?.profile, logger: clientSharedValues.logger };
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
26
26
|
runtime: "node",
|
|
27
27
|
defaultsMode,
|
|
28
|
-
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
28
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
29
29
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
30
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
31
31
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
32
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
33
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
34
34
|
region: config?.region ??
|
|
35
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...
|
|
35
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
36
36
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
37
|
retryMode: config?.retryMode ??
|
|
38
38
|
loadNodeConfig({
|
|
@@ -41,8 +41,8 @@ export const getRuntimeConfig = (config) => {
|
|
|
41
41
|
}, config),
|
|
42
42
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
44
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,
|
|
45
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,
|
|
46
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS,
|
|
44
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
45
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -23,7 +23,7 @@ export interface AnalyzeDocumentCommandOutput extends AnalyzeDocumentResponse, _
|
|
|
23
23
|
}
|
|
24
24
|
declare const AnalyzeDocumentCommand_base: {
|
|
25
25
|
new (input: AnalyzeDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: AnalyzeDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface AnalyzeExpenseCommandOutput extends AnalyzeExpenseResponse, __M
|
|
|
23
23
|
}
|
|
24
24
|
declare const AnalyzeExpenseCommand_base: {
|
|
25
25
|
new (input: AnalyzeExpenseCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: AnalyzeExpenseCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface AnalyzeIDCommandOutput extends AnalyzeIDResponse, __MetadataBea
|
|
|
23
23
|
}
|
|
24
24
|
declare const AnalyzeIDCommand_base: {
|
|
25
25
|
new (input: AnalyzeIDCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: AnalyzeIDCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface CreateAdapterCommandOutput extends CreateAdapterResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAdapterCommand_base: {
|
|
25
25
|
new (input: CreateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface CreateAdapterVersionCommandOutput extends CreateAdapterVersionR
|
|
|
23
23
|
}
|
|
24
24
|
declare const CreateAdapterVersionCommand_base: {
|
|
25
25
|
new (input: CreateAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: CreateAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface DeleteAdapterCommandOutput extends DeleteAdapterResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteAdapterCommand_base: {
|
|
25
25
|
new (input: DeleteAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: DeleteAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface DeleteAdapterVersionCommandOutput extends DeleteAdapterVersionR
|
|
|
23
23
|
}
|
|
24
24
|
declare const DeleteAdapterVersionCommand_base: {
|
|
25
25
|
new (input: DeleteAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: DeleteAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface DetectDocumentTextCommandOutput extends DetectDocumentTextRespo
|
|
|
23
23
|
}
|
|
24
24
|
declare const DetectDocumentTextCommand_base: {
|
|
25
25
|
new (input: DetectDocumentTextCommandInput): import("@smithy/smithy-client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: DetectDocumentTextCommandInput): import("@smithy/smithy-client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetAdapterCommandOutput extends GetAdapterResponse, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetAdapterCommand_base: {
|
|
25
25
|
new (input: GetAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetAdapterVersionCommandOutput extends GetAdapterVersionRespons
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetAdapterVersionCommand_base: {
|
|
25
25
|
new (input: GetAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetDocumentAnalysisCommandOutput extends GetDocumentAnalysisRes
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetDocumentAnalysisCommand_base: {
|
|
25
25
|
new (input: GetDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetDocumentTextDetectionCommandOutput extends GetDocumentTextDe
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetDocumentTextDetectionCommand_base: {
|
|
25
25
|
new (input: GetDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetExpenseAnalysisCommandOutput extends GetExpenseAnalysisRespo
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetExpenseAnalysisCommand_base: {
|
|
25
25
|
new (input: GetExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetLendingAnalysisCommandOutput extends GetLendingAnalysisRespo
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetLendingAnalysisCommand_base: {
|
|
25
25
|
new (input: GetLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface GetLendingAnalysisSummaryCommandOutput extends GetLendingAnalys
|
|
|
23
23
|
}
|
|
24
24
|
declare const GetLendingAnalysisSummaryCommand_base: {
|
|
25
25
|
new (input: GetLendingAnalysisSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: GetLendingAnalysisSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
23
23
|
}
|
|
24
24
|
declare const ListTagsForResourceCommand_base: {
|
|
25
25
|
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface StartDocumentAnalysisCommandOutput extends StartDocumentAnalysi
|
|
|
23
23
|
}
|
|
24
24
|
declare const StartDocumentAnalysisCommand_base: {
|
|
25
25
|
new (input: StartDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: StartDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface StartDocumentTextDetectionCommandOutput extends StartDocumentTe
|
|
|
23
23
|
}
|
|
24
24
|
declare const StartDocumentTextDetectionCommand_base: {
|
|
25
25
|
new (input: StartDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: StartDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface StartExpenseAnalysisCommandOutput extends StartExpenseAnalysisR
|
|
|
23
23
|
}
|
|
24
24
|
declare const StartExpenseAnalysisCommand_base: {
|
|
25
25
|
new (input: StartExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: StartExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface StartLendingAnalysisCommandOutput extends StartLendingAnalysisR
|
|
|
23
23
|
}
|
|
24
24
|
declare const StartLendingAnalysisCommand_base: {
|
|
25
25
|
new (input: StartLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: StartLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
declare const TagResourceCommand_base: {
|
|
25
25
|
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const UntagResourceCommand_base: {
|
|
25
25
|
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -23,7 +23,7 @@ export interface UpdateAdapterCommandOutput extends UpdateAdapterResponse, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const UpdateAdapterCommand_base: {
|
|
25
25
|
new (input: UpdateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAdapterCommandInput, UpdateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: UpdateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAdapterCommandInput, UpdateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -11,9 +11,7 @@ export interface ClientInputEndpointParameters {
|
|
|
11
11
|
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
|
-
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T &
|
|
15
|
-
defaultSigningName: string;
|
|
16
|
-
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
|
17
15
|
export declare const commonParams: {
|
|
18
16
|
readonly UseFIPS: {
|
|
19
17
|
readonly type: "builtInParams";
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -21,30 +21,30 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
23
23
|
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
-
base64Encoder: (_input:
|
|
24
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
25
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
-
utf8Encoder: (input:
|
|
26
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
profile?: string
|
|
29
|
+
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
33
|
-
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
32
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
35
35
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
36
36
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
37
|
-
logger?: import("@smithy/types").Logger
|
|
37
|
+
logger?: import("@smithy/types").Logger;
|
|
38
38
|
}) => import("@smithy/types").EndpointV2;
|
|
39
|
-
tls?: boolean
|
|
40
|
-
serviceConfiguredEndpoint?:
|
|
41
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]
|
|
39
|
+
tls?: boolean;
|
|
40
|
+
serviceConfiguredEndpoint?: never;
|
|
41
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
43
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
44
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
45
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
46
|
-
signingEscapePath?: boolean
|
|
47
|
-
systemClockOffset?: number
|
|
48
|
-
signingRegion?: string
|
|
49
|
-
signerConstructor?:
|
|
44
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
45
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
46
|
+
signingEscapePath?: boolean;
|
|
47
|
+
systemClockOffset?: number;
|
|
48
|
+
signingRegion?: string;
|
|
49
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
50
50
|
};
|
|
@@ -8,8 +8,8 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
11
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
@@ -23,28 +23,28 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
23
23
|
cacheMiddleware?: boolean | undefined;
|
|
24
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
25
25
|
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
-
base64Encoder: (_input:
|
|
26
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
27
27
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
28
|
-
utf8Encoder: (input:
|
|
28
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
29
29
|
disableHostPrefix: boolean;
|
|
30
30
|
serviceId: string;
|
|
31
|
-
profile?: string
|
|
31
|
+
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
34
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
36
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
37
37
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
38
|
-
logger?: import("@smithy/types").Logger
|
|
38
|
+
logger?: import("@smithy/types").Logger;
|
|
39
39
|
}) => import("@smithy/types").EndpointV2;
|
|
40
|
-
tls?: boolean
|
|
41
|
-
serviceConfiguredEndpoint?:
|
|
40
|
+
tls?: boolean;
|
|
41
|
+
serviceConfiguredEndpoint?: never;
|
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
43
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
44
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
45
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
46
|
-
signingEscapePath?: boolean
|
|
47
|
-
systemClockOffset?: number
|
|
48
|
-
signingRegion?: string
|
|
49
|
-
signerConstructor?:
|
|
44
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
45
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
46
|
+
signingEscapePath?: boolean;
|
|
47
|
+
systemClockOffset?: number;
|
|
48
|
+
signingRegion?: string;
|
|
49
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
50
50
|
};
|
|
@@ -7,43 +7,43 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
|
-
cacheMiddleware?: boolean
|
|
10
|
+
cacheMiddleware?: boolean;
|
|
11
11
|
urlParser: import("@smithy/types").UrlParser;
|
|
12
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
13
13
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
14
14
|
base64Decoder: import("@smithy/types").Decoder;
|
|
15
|
-
base64Encoder: (_input:
|
|
15
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
16
16
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
17
|
-
utf8Encoder: (input:
|
|
17
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
18
18
|
disableHostPrefix: boolean;
|
|
19
19
|
serviceId: string;
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
profile?: string
|
|
24
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
23
|
+
profile?: string;
|
|
24
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
25
25
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
30
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
|
-
customUserAgent?: string | import("@smithy/types").UserAgent
|
|
32
|
-
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined
|
|
33
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2
|
|
31
|
+
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
33
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
34
34
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
|
-
logger?: import("@smithy/types").Logger
|
|
36
|
+
logger?: import("@smithy/types").Logger;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
38
|
-
tls?: boolean
|
|
39
|
-
serviceConfiguredEndpoint?:
|
|
40
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]
|
|
38
|
+
tls?: boolean;
|
|
39
|
+
serviceConfiguredEndpoint?: never;
|
|
40
|
+
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
|
|
41
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
42
42
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
43
|
-
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider
|
|
44
|
-
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme
|
|
45
|
-
signingEscapePath?: boolean
|
|
46
|
-
systemClockOffset?: number
|
|
47
|
-
signingRegion?: string
|
|
48
|
-
signerConstructor?:
|
|
43
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
|
|
44
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
|
|
45
|
+
signingEscapePath?: boolean;
|
|
46
|
+
systemClockOffset?: number;
|
|
47
|
+
signingRegion?: string;
|
|
48
|
+
signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
|
|
49
49
|
};
|
|
@@ -5,10 +5,10 @@ import { TextractClientConfig } from "./TextractClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder: (_input:
|
|
8
|
+
base64Encoder: (_input: Uint8Array | string) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
-
logger?: import("@smithy/types").Logger
|
|
11
|
+
logger?: import("@smithy/types").Logger;
|
|
12
12
|
}) => import("@smithy/types").EndpointV2;
|
|
13
13
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
|
|
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
17
17
|
serviceId: string;
|
|
18
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
19
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
20
|
-
utf8Encoder: (input:
|
|
20
|
+
utf8Encoder: (input: Uint8Array | string) => string;
|
|
21
21
|
};
|
|
@@ -26,7 +26,7 @@ declare const AnalyzeDocumentCommand_base: {
|
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
|
-
|
|
29
|
+
input: AnalyzeDocumentCommandInput
|
|
30
30
|
): import("@smithy/smithy-client").CommandImpl<
|
|
31
31
|
AnalyzeDocumentCommandInput,
|
|
32
32
|
AnalyzeDocumentCommandOutput,
|
|
@@ -26,7 +26,7 @@ declare const AnalyzeExpenseCommand_base: {
|
|
|
26
26
|
ServiceOutputTypes
|
|
27
27
|
>;
|
|
28
28
|
new (
|
|
29
|
-
|
|
29
|
+
input: AnalyzeExpenseCommandInput
|
|
30
30
|
): import("@smithy/smithy-client").CommandImpl<
|
|
31
31
|
AnalyzeExpenseCommandInput,
|
|
32
32
|
AnalyzeExpenseCommandOutput,
|