@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.
Files changed (60) hide show
  1. package/dist-cjs/runtimeConfig.js +6 -6
  2. package/dist-es/protocols/Aws_json1_1.js +4 -4
  3. package/dist-es/runtimeConfig.js +6 -6
  4. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +1 -1
  5. package/dist-types/commands/AnalyzeExpenseCommand.d.ts +1 -1
  6. package/dist-types/commands/AnalyzeIDCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateAdapterCommand.d.ts +1 -1
  8. package/dist-types/commands/CreateAdapterVersionCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteAdapterCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +1 -1
  11. package/dist-types/commands/DetectDocumentTextCommand.d.ts +1 -1
  12. package/dist-types/commands/GetAdapterCommand.d.ts +1 -1
  13. package/dist-types/commands/GetAdapterVersionCommand.d.ts +1 -1
  14. package/dist-types/commands/GetDocumentAnalysisCommand.d.ts +1 -1
  15. package/dist-types/commands/GetDocumentTextDetectionCommand.d.ts +1 -1
  16. package/dist-types/commands/GetExpenseAnalysisCommand.d.ts +1 -1
  17. package/dist-types/commands/GetLendingAnalysisCommand.d.ts +1 -1
  18. package/dist-types/commands/GetLendingAnalysisSummaryCommand.d.ts +1 -1
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  20. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +1 -1
  21. package/dist-types/commands/StartDocumentTextDetectionCommand.d.ts +1 -1
  22. package/dist-types/commands/StartExpenseAnalysisCommand.d.ts +1 -1
  23. package/dist-types/commands/StartLendingAnalysisCommand.d.ts +1 -1
  24. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  25. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/UpdateAdapterCommand.d.ts +1 -1
  27. package/dist-types/endpoint/EndpointParameters.d.ts +1 -3
  28. package/dist-types/runtimeConfig.browser.d.ts +17 -17
  29. package/dist-types/runtimeConfig.d.ts +16 -16
  30. package/dist-types/runtimeConfig.native.d.ts +18 -18
  31. package/dist-types/runtimeConfig.shared.d.ts +3 -3
  32. package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +1 -1
  33. package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -4
  56. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +22 -32
  57. package/dist-types/ts3.4/runtimeConfig.d.ts +20 -29
  58. package/dist-types/ts3.4/runtimeConfig.native.d.ts +23 -33
  59. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  60. 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 profileConfig = { profile: config?.profile };
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, profileConfig),
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, ...profileConfig }),
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, profileConfig),
49
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
50
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
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() / 1000,
774
- BeforeCreationTime: (_) => _.getTime() / 1000,
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() / 1000,
783
- BeforeCreationTime: (_) => _.getTime() / 1000,
782
+ AfterCreationTime: (_) => _.getTime() / 1_000,
783
+ BeforeCreationTime: (_) => _.getTime() / 1_000,
784
784
  MaxResults: [],
785
785
  NextToken: [],
786
786
  });
@@ -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 profileConfig = { profile: config?.profile };
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, profileConfig),
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, ...profileConfig }),
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, profileConfig),
45
- useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
46
- userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
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 (__0_0: AnalyzeDocumentCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: AnalyzeExpenseCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: AnalyzeIDCommandInput): import("@smithy/smithy-client").CommandImpl<AnalyzeIDCommandInput, AnalyzeIDCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: CreateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterCommandInput, CreateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: CreateAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateAdapterVersionCommandInput, CreateAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: DeleteAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterCommandInput, DeleteAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: DeleteAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAdapterVersionCommandInput, DeleteAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: DetectDocumentTextCommandInput): import("@smithy/smithy-client").CommandImpl<DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: GetAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterCommandInput, GetAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: GetAdapterVersionCommandInput): import("@smithy/smithy-client").CommandImpl<GetAdapterVersionCommandInput, GetAdapterVersionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: GetDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: GetDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: GetExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetExpenseAnalysisCommandInput, GetExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: GetLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisCommandInput, GetLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: GetLendingAnalysisSummaryCommandInput): import("@smithy/smithy-client").CommandImpl<GetLendingAnalysisSummaryCommandInput, GetLendingAnalysisSummaryCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: StartDocumentAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentAnalysisCommandInput, StartDocumentAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: StartDocumentTextDetectionCommandInput): import("@smithy/smithy-client").CommandImpl<StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: StartExpenseAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: StartLendingAnalysisCommandInput): import("@smithy/smithy-client").CommandImpl<StartLendingAnalysisCommandInput, StartLendingAnalysisCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 (__0_0: UpdateAdapterCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateAdapterCommandInput, UpdateAdapterCommandOutput, TextractClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
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 & ClientInputEndpointParameters & {
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 | undefined) => Promise<import("@smithy/types").UserAgent>;
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: string | Uint8Array) => string;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
25
  utf8Decoder: import("@smithy/types").Decoder;
26
- utf8Encoder: (input: string | Uint8Array) => string;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
27
  disableHostPrefix: boolean;
28
28
  serviceId: string;
29
- profile?: string | undefined;
29
+ profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
34
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
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 | undefined;
37
+ logger?: import("@smithy/types").Logger;
38
38
  }) => import("@smithy/types").EndpointV2;
39
- tls?: boolean | undefined;
40
- serviceConfiguredEndpoint?: undefined;
41
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
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 | undefined;
45
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
46
- signingEscapePath?: boolean | undefined;
47
- systemClockOffset?: number | undefined;
48
- signingRegion?: string | undefined;
49
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
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 | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
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: string | Uint8Array) => string;
26
+ base64Encoder: (_input: Uint8Array | string) => string;
27
27
  utf8Decoder: import("@smithy/types").Decoder;
28
- utf8Encoder: (input: string | Uint8Array) => string;
28
+ utf8Encoder: (input: Uint8Array | string) => string;
29
29
  disableHostPrefix: boolean;
30
30
  serviceId: string;
31
- profile?: string | undefined;
31
+ profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
35
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
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 | undefined;
38
+ logger?: import("@smithy/types").Logger;
39
39
  }) => import("@smithy/types").EndpointV2;
40
- tls?: boolean | undefined;
41
- serviceConfiguredEndpoint?: undefined;
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 | undefined;
45
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
46
- signingEscapePath?: boolean | undefined;
47
- systemClockOffset?: number | undefined;
48
- signingRegion?: string | undefined;
49
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
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 | undefined;
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: string | Uint8Array) => string;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
16
  utf8Decoder: import("@smithy/types").Decoder;
17
- utf8Encoder: (input: string | Uint8Array) => string;
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 | undefined;
24
- defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
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 | undefined;
32
- userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
- retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
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 | undefined;
36
+ logger?: import("@smithy/types").Logger;
37
37
  }) => import("@smithy/types").EndpointV2;
38
- tls?: boolean | undefined;
39
- serviceConfiguredEndpoint?: undefined;
40
- authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
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 | undefined;
44
- signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
45
- signingEscapePath?: boolean | undefined;
46
- systemClockOffset?: number | undefined;
47
- signingRegion?: string | undefined;
48
- signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
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: string | Uint8Array) => string;
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 | undefined;
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: string | Uint8Array) => string;
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
- __0_0: AnalyzeDocumentCommandInput
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
- __0_0: AnalyzeExpenseCommandInput
29
+ input: AnalyzeExpenseCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  AnalyzeExpenseCommandInput,
32
32
  AnalyzeExpenseCommandOutput,
@@ -23,7 +23,7 @@ declare const AnalyzeIDCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: AnalyzeIDCommandInput
26
+ input: AnalyzeIDCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  AnalyzeIDCommandInput,
29
29
  AnalyzeIDCommandOutput,