@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
@@ -26,7 +26,7 @@ declare const CreateAdapterCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: CreateAdapterCommandInput
29
+ input: CreateAdapterCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  CreateAdapterCommandInput,
32
32
  CreateAdapterCommandOutput,
@@ -27,7 +27,7 @@ declare const CreateAdapterVersionCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: CreateAdapterVersionCommandInput
30
+ input: CreateAdapterVersionCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  CreateAdapterVersionCommandInput,
33
33
  CreateAdapterVersionCommandOutput,
@@ -26,7 +26,7 @@ declare const DeleteAdapterCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: DeleteAdapterCommandInput
29
+ input: DeleteAdapterCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  DeleteAdapterCommandInput,
32
32
  DeleteAdapterCommandOutput,
@@ -27,7 +27,7 @@ declare const DeleteAdapterVersionCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: DeleteAdapterVersionCommandInput
30
+ input: DeleteAdapterVersionCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  DeleteAdapterVersionCommandInput,
33
33
  DeleteAdapterVersionCommandOutput,
@@ -27,7 +27,7 @@ declare const DetectDocumentTextCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: DetectDocumentTextCommandInput
30
+ input: DetectDocumentTextCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  DetectDocumentTextCommandInput,
33
33
  DetectDocumentTextCommandOutput,
@@ -23,7 +23,7 @@ declare const GetAdapterCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: GetAdapterCommandInput
26
+ input: GetAdapterCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  GetAdapterCommandInput,
29
29
  GetAdapterCommandOutput,
@@ -27,7 +27,7 @@ declare const GetAdapterVersionCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetAdapterVersionCommandInput
30
+ input: GetAdapterVersionCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetAdapterVersionCommandInput,
33
33
  GetAdapterVersionCommandOutput,
@@ -27,7 +27,7 @@ declare const GetDocumentAnalysisCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetDocumentAnalysisCommandInput
30
+ input: GetDocumentAnalysisCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetDocumentAnalysisCommandInput,
33
33
  GetDocumentAnalysisCommandOutput,
@@ -27,7 +27,7 @@ declare const GetDocumentTextDetectionCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetDocumentTextDetectionCommandInput
30
+ input: GetDocumentTextDetectionCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetDocumentTextDetectionCommandInput,
33
33
  GetDocumentTextDetectionCommandOutput,
@@ -27,7 +27,7 @@ declare const GetExpenseAnalysisCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetExpenseAnalysisCommandInput
30
+ input: GetExpenseAnalysisCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetExpenseAnalysisCommandInput,
33
33
  GetExpenseAnalysisCommandOutput,
@@ -27,7 +27,7 @@ declare const GetLendingAnalysisCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetLendingAnalysisCommandInput
30
+ input: GetLendingAnalysisCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetLendingAnalysisCommandInput,
33
33
  GetLendingAnalysisCommandOutput,
@@ -27,7 +27,7 @@ declare const GetLendingAnalysisSummaryCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: GetLendingAnalysisSummaryCommandInput
30
+ input: GetLendingAnalysisSummaryCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  GetLendingAnalysisSummaryCommandInput,
33
33
  GetLendingAnalysisSummaryCommandOutput,
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: ListTagsForResourceCommandInput
30
+ input: ListTagsForResourceCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  ListTagsForResourceCommandInput,
33
33
  ListTagsForResourceCommandOutput,
@@ -27,7 +27,7 @@ declare const StartDocumentAnalysisCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StartDocumentAnalysisCommandInput
30
+ input: StartDocumentAnalysisCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StartDocumentAnalysisCommandInput,
33
33
  StartDocumentAnalysisCommandOutput,
@@ -27,7 +27,7 @@ declare const StartDocumentTextDetectionCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StartDocumentTextDetectionCommandInput
30
+ input: StartDocumentTextDetectionCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StartDocumentTextDetectionCommandInput,
33
33
  StartDocumentTextDetectionCommandOutput,
@@ -27,7 +27,7 @@ declare const StartExpenseAnalysisCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StartExpenseAnalysisCommandInput
30
+ input: StartExpenseAnalysisCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StartExpenseAnalysisCommandInput,
33
33
  StartExpenseAnalysisCommandOutput,
@@ -27,7 +27,7 @@ declare const StartLendingAnalysisCommand_base: {
27
27
  ServiceOutputTypes
28
28
  >;
29
29
  new (
30
- __0_0: StartLendingAnalysisCommandInput
30
+ input: StartLendingAnalysisCommandInput
31
31
  ): import("@smithy/smithy-client").CommandImpl<
32
32
  StartLendingAnalysisCommandInput,
33
33
  StartLendingAnalysisCommandOutput,
@@ -23,7 +23,7 @@ declare const TagResourceCommand_base: {
23
23
  ServiceOutputTypes
24
24
  >;
25
25
  new (
26
- __0_0: TagResourceCommandInput
26
+ input: TagResourceCommandInput
27
27
  ): import("@smithy/smithy-client").CommandImpl<
28
28
  TagResourceCommandInput,
29
29
  TagResourceCommandOutput,
@@ -26,7 +26,7 @@ declare const UntagResourceCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UntagResourceCommandInput
29
+ input: UntagResourceCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UntagResourceCommandInput,
32
32
  UntagResourceCommandOutput,
@@ -26,7 +26,7 @@ declare const UpdateAdapterCommand_base: {
26
26
  ServiceOutputTypes
27
27
  >;
28
28
  new (
29
- __0_0: UpdateAdapterCommandInput
29
+ input: UpdateAdapterCommandInput
30
30
  ): import("@smithy/smithy-client").CommandImpl<
31
31
  UpdateAdapterCommandInput,
32
32
  UpdateAdapterCommandOutput,
@@ -21,10 +21,7 @@ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
21
21
  };
22
22
  export declare const resolveClientEndpointParameters: <T>(
23
23
  options: T & ClientInputEndpointParameters
24
- ) => T &
25
- ClientInputEndpointParameters & {
26
- defaultSigningName: string;
27
- };
24
+ ) => T & ClientResolvedEndpointParameters;
28
25
  export declare const commonParams: {
29
26
  readonly UseFIPS: {
30
27
  readonly type: "builtInParams";
@@ -12,9 +12,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
12
12
  _: unknown
13
13
  ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
14
  defaultUserAgentProvider: (
15
- config?:
16
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
17
- | undefined
15
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
18
16
  ) => Promise<import("@smithy/types").UserAgent>;
19
17
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
18
  region: string | import("@smithy/types").Provider<any>;
@@ -30,23 +28,22 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
30
28
  cacheMiddleware?: boolean | undefined;
31
29
  urlParser: import("@smithy/types").UrlParser;
32
30
  base64Decoder: import("@smithy/types").Decoder;
33
- base64Encoder: (_input: string | Uint8Array) => string;
31
+ base64Encoder: (_input: Uint8Array | string) => string;
34
32
  utf8Decoder: import("@smithy/types").Decoder;
35
- utf8Encoder: (input: string | Uint8Array) => string;
33
+ utf8Encoder: (input: Uint8Array | string) => string;
36
34
  disableHostPrefix: boolean;
37
35
  serviceId: string;
38
- profile?: string | undefined;
36
+ profile?: string;
39
37
  logger: import("@smithy/types").Logger;
40
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
39
+ customUserAgent?: string | import("@smithy/types").UserAgent;
42
40
  userAgentAppId?:
43
41
  | string
44
- | import("@smithy/types").Provider<string | undefined>
45
- | undefined;
42
+ | undefined
43
+ | import("@smithy/types").Provider<string | undefined>;
46
44
  retryStrategy?:
47
45
  | import("@smithy/types").RetryStrategy
48
- | import("@smithy/types").RetryStrategyV2
49
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
50
47
  endpoint?:
51
48
  | ((
52
49
  | string
@@ -67,34 +64,27 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
67
64
  endpointProvider: (
68
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
69
66
  context?: {
70
- logger?: import("@smithy/types").Logger | undefined;
67
+ logger?: import("@smithy/types").Logger;
71
68
  }
72
69
  ) => import("@smithy/types").EndpointV2;
73
- tls?: boolean | undefined;
74
- serviceConfiguredEndpoint?: undefined;
75
- authSchemePreference?:
76
- | string[]
77
- | import("@smithy/types").Provider<string[]>
78
- | undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
72
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
79
73
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
80
74
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
81
75
  credentials?:
82
76
  | import("@smithy/types").AwsCredentialIdentity
83
- | import("@smithy/types").AwsCredentialIdentityProvider
84
- | undefined;
77
+ | import("@smithy/types").AwsCredentialIdentityProvider;
85
78
  signer?:
86
79
  | import("@smithy/types").RequestSigner
87
80
  | ((
88
- authScheme?: import("@smithy/types").AuthScheme | undefined
89
- ) => Promise<import("@smithy/types").RequestSigner>)
90
- | undefined;
91
- signingEscapePath?: boolean | undefined;
92
- systemClockOffset?: number | undefined;
93
- signingRegion?: string | undefined;
94
- signerConstructor?:
95
- | (new (
96
- options: import("@smithy/signature-v4").SignatureV4Init &
97
- import("@smithy/signature-v4").SignatureV4CryptoInit
98
- ) => import("@smithy/types").RequestSigner)
99
- | undefined;
81
+ authScheme?: import("@smithy/types").AuthScheme
82
+ ) => Promise<import("@smithy/types").RequestSigner>);
83
+ signingEscapePath?: boolean;
84
+ systemClockOffset?: number;
85
+ signingRegion?: string;
86
+ signerConstructor?: new (
87
+ options: import("@smithy/signature-v4").SignatureV4Init &
88
+ import("@smithy/signature-v4").SignatureV4CryptoInit
89
+ ) => import("@smithy/types").RequestSigner;
100
90
  };
@@ -10,16 +10,12 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?:
14
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
15
- | undefined
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
16
14
  ) => import("@smithy/types").MemoizedProvider<
17
15
  import("@smithy/types").AwsCredentialIdentity
18
16
  >);
19
17
  defaultUserAgentProvider: (
20
- config?:
21
- | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
22
- | undefined
18
+ config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved
23
19
  ) => Promise<import("@smithy/types").UserAgent>;
24
20
  maxAttempts: number | import("@smithy/types").Provider<number>;
25
21
  region: string | import("@smithy/types").Provider<string>;
@@ -36,19 +32,18 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
36
32
  cacheMiddleware?: boolean | undefined;
37
33
  urlParser: import("@smithy/types").UrlParser;
38
34
  base64Decoder: import("@smithy/types").Decoder;
39
- base64Encoder: (_input: string | Uint8Array) => string;
35
+ base64Encoder: (_input: Uint8Array | string) => string;
40
36
  utf8Decoder: import("@smithy/types").Decoder;
41
- utf8Encoder: (input: string | Uint8Array) => string;
37
+ utf8Encoder: (input: Uint8Array | string) => string;
42
38
  disableHostPrefix: boolean;
43
39
  serviceId: string;
44
- profile?: string | undefined;
40
+ profile?: string;
45
41
  logger: import("@smithy/types").Logger;
46
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
47
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
48
44
  retryStrategy?:
49
45
  | import("@smithy/types").RetryStrategy
50
- | import("@smithy/types").RetryStrategyV2
51
- | undefined;
46
+ | import("@smithy/types").RetryStrategyV2;
52
47
  endpoint?:
53
48
  | ((
54
49
  | string
@@ -69,30 +64,26 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
69
64
  endpointProvider: (
70
65
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
71
66
  context?: {
72
- logger?: import("@smithy/types").Logger | undefined;
67
+ logger?: import("@smithy/types").Logger;
73
68
  }
74
69
  ) => import("@smithy/types").EndpointV2;
75
- tls?: boolean | undefined;
76
- serviceConfiguredEndpoint?: undefined;
70
+ tls?: boolean;
71
+ serviceConfiguredEndpoint?: never;
77
72
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
78
73
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
79
74
  credentials?:
80
75
  | import("@smithy/types").AwsCredentialIdentity
81
- | import("@smithy/types").AwsCredentialIdentityProvider
82
- | undefined;
76
+ | import("@smithy/types").AwsCredentialIdentityProvider;
83
77
  signer?:
84
78
  | import("@smithy/types").RequestSigner
85
79
  | ((
86
- authScheme?: import("@smithy/types").AuthScheme | undefined
87
- ) => Promise<import("@smithy/types").RequestSigner>)
88
- | undefined;
89
- signingEscapePath?: boolean | undefined;
90
- systemClockOffset?: number | undefined;
91
- signingRegion?: string | undefined;
92
- signerConstructor?:
93
- | (new (
94
- options: import("@smithy/signature-v4").SignatureV4Init &
95
- import("@smithy/signature-v4").SignatureV4CryptoInit
96
- ) => import("@smithy/types").RequestSigner)
97
- | undefined;
80
+ authScheme?: import("@smithy/types").AuthScheme
81
+ ) => Promise<import("@smithy/types").RequestSigner>);
82
+ signingEscapePath?: boolean;
83
+ systemClockOffset?: number;
84
+ signingRegion?: string;
85
+ signerConstructor?: new (
86
+ options: import("@smithy/signature-v4").SignatureV4Init &
87
+ import("@smithy/signature-v4").SignatureV4CryptoInit
88
+ ) => import("@smithy/types").RequestSigner;
98
89
  };
@@ -9,24 +9,22 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
11
  apiVersion: string;
12
- cacheMiddleware?: boolean | undefined;
12
+ cacheMiddleware?: boolean;
13
13
  urlParser: import("@smithy/types").UrlParser;
14
14
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  base64Decoder: import("@smithy/types").Decoder;
17
- base64Encoder: (_input: string | Uint8Array) => string;
17
+ base64Encoder: (_input: Uint8Array | string) => string;
18
18
  utf8Decoder: import("@smithy/types").Decoder;
19
- utf8Encoder: (input: string | Uint8Array) => string;
19
+ utf8Encoder: (input: Uint8Array | string) => string;
20
20
  disableHostPrefix: boolean;
21
21
  serviceId: string;
22
22
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
23
23
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
24
24
  region: string | import("@smithy/types").Provider<any>;
25
- profile?: string | undefined;
25
+ profile?: string;
26
26
  defaultUserAgentProvider: (
27
- config?:
28
- | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
- | undefined
27
+ config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
30
28
  ) => Promise<import("@smithy/types").UserAgent>;
31
29
  credentialDefaultProvider:
32
30
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
@@ -42,15 +40,14 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
42
40
  | import("@smithy/types").Provider<
43
41
  import("@smithy/smithy-client").DefaultsMode
44
42
  >;
45
- customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
43
+ customUserAgent?: string | import("@smithy/types").UserAgent;
46
44
  userAgentAppId?:
47
45
  | string
48
- | import("@smithy/types").Provider<string | undefined>
49
- | undefined;
46
+ | undefined
47
+ | import("@smithy/types").Provider<string | undefined>;
50
48
  retryStrategy?:
51
49
  | import("@smithy/types").RetryStrategy
52
- | import("@smithy/types").RetryStrategyV2
53
- | undefined;
50
+ | import("@smithy/types").RetryStrategyV2;
54
51
  endpoint?:
55
52
  | ((
56
53
  | string
@@ -71,34 +68,27 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
71
68
  endpointProvider: (
72
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
73
70
  context?: {
74
- logger?: import("@smithy/types").Logger | undefined;
71
+ logger?: import("@smithy/types").Logger;
75
72
  }
76
73
  ) => import("@smithy/types").EndpointV2;
77
- tls?: boolean | undefined;
78
- serviceConfiguredEndpoint?: undefined;
79
- authSchemePreference?:
80
- | string[]
81
- | import("@smithy/types").Provider<string[]>
82
- | undefined;
74
+ tls?: boolean;
75
+ serviceConfiguredEndpoint?: never;
76
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
83
77
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
84
78
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
85
79
  credentials?:
86
80
  | import("@smithy/types").AwsCredentialIdentity
87
- | import("@smithy/types").AwsCredentialIdentityProvider
88
- | undefined;
81
+ | import("@smithy/types").AwsCredentialIdentityProvider;
89
82
  signer?:
90
83
  | import("@smithy/types").RequestSigner
91
84
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme | undefined
93
- ) => Promise<import("@smithy/types").RequestSigner>)
94
- | undefined;
95
- signingEscapePath?: boolean | undefined;
96
- systemClockOffset?: number | undefined;
97
- signingRegion?: string | undefined;
98
- signerConstructor?:
99
- | (new (
100
- options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
102
- ) => import("@smithy/types").RequestSigner)
103
- | undefined;
85
+ authScheme?: import("@smithy/types").AuthScheme
86
+ ) => Promise<import("@smithy/types").RequestSigner>);
87
+ signingEscapePath?: boolean;
88
+ systemClockOffset?: number;
89
+ signingRegion?: string;
90
+ signerConstructor?: new (
91
+ options: import("@smithy/signature-v4").SignatureV4Init &
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit
93
+ ) => import("@smithy/types").RequestSigner;
104
94
  };
@@ -2,12 +2,12 @@ import { TextractClientConfig } from "./TextractClient";
2
2
  export declare const getRuntimeConfig: (config: TextractClientConfig) => {
3
3
  apiVersion: string;
4
4
  base64Decoder: import("@smithy/types").Decoder;
5
- base64Encoder: (_input: string | Uint8Array) => string;
5
+ base64Encoder: (_input: Uint8Array | string) => string;
6
6
  disableHostPrefix: boolean;
7
7
  endpointProvider: (
8
8
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
9
  context?: {
10
- logger?: import("@smithy/types").Logger | undefined;
10
+ logger?: import("@smithy/types").Logger;
11
11
  }
12
12
  ) => import("@smithy/types").EndpointV2;
13
13
  extensions: import("./runtimeExtensions").RuntimeExtension[];
@@ -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
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-textract",
3
3
  "description": "AWS SDK for JavaScript Textract Client for Node.js, Browser and React Native",
4
- "version": "3.803.0",
4
+ "version": "3.806.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-textract",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.799.0",
24
- "@aws-sdk/credential-provider-node": "3.803.0",
25
- "@aws-sdk/middleware-host-header": "3.775.0",
26
- "@aws-sdk/middleware-logger": "3.775.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.799.0",
29
- "@aws-sdk/region-config-resolver": "3.775.0",
30
- "@aws-sdk/types": "3.775.0",
31
- "@aws-sdk/util-endpoints": "3.787.0",
32
- "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.799.0",
34
- "@smithy/config-resolver": "^4.1.0",
35
- "@smithy/core": "^3.3.0",
23
+ "@aws-sdk/core": "3.806.0",
24
+ "@aws-sdk/credential-provider-node": "3.806.0",
25
+ "@aws-sdk/middleware-host-header": "3.804.0",
26
+ "@aws-sdk/middleware-logger": "3.804.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
+ "@aws-sdk/middleware-user-agent": "3.806.0",
29
+ "@aws-sdk/region-config-resolver": "3.806.0",
30
+ "@aws-sdk/types": "3.804.0",
31
+ "@aws-sdk/util-endpoints": "3.806.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.804.0",
33
+ "@aws-sdk/util-user-agent-node": "3.806.0",
34
+ "@smithy/config-resolver": "^4.1.1",
35
+ "@smithy/core": "^3.3.1",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.1",
41
- "@smithy/middleware-retry": "^4.1.2",
40
+ "@smithy/middleware-endpoint": "^4.1.3",
41
+ "@smithy/middleware-retry": "^4.1.4",
42
42
  "@smithy/middleware-serde": "^4.0.3",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
- "@smithy/node-config-provider": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.1.0",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.1",
47
+ "@smithy/smithy-client": "^4.2.3",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.9",
54
- "@smithy/util-defaults-mode-node": "^4.0.9",
55
- "@smithy/util-endpoints": "^3.0.2",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.11",
54
+ "@smithy/util-defaults-mode-node": "^4.0.11",
55
+ "@smithy/util-endpoints": "^3.0.3",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.3",
58
58
  "@smithy/util-utf8": "^4.0.0",
@@ -66,7 +66,7 @@
66
66
  "concurrently": "7.0.0",
67
67
  "downlevel-dts": "0.10.1",
68
68
  "rimraf": "3.0.2",
69
- "typescript": "~5.2.2"
69
+ "typescript": "~5.8.3"
70
70
  },
71
71
  "engines": {
72
72
  "node": ">=18.0.0"