@aws-sdk/client-textract 3.1087.0 → 3.1089.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 (44) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/Textract.d.ts +80 -89
  3. package/dist-types/ts3.4/TextractClient.d.ts +18 -37
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +4 -9
  8. package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +4 -9
  9. package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +7 -5
  10. package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +4 -9
  13. package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +5 -10
  14. package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +3 -5
  16. package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +5 -10
  17. package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +4 -6
  19. package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +5 -10
  20. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +5 -10
  21. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +4 -6
  22. package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +4 -9
  23. package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +2 -4
  24. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  25. package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +5 -10
  26. package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +4 -6
  27. package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +5 -10
  29. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  30. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  31. package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +4 -9
  32. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  33. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  34. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  35. package/dist-types/ts3.4/models/enums.d.ts +4 -8
  36. package/dist-types/ts3.4/models/errors.d.ts +17 -60
  37. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  42. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  44. package/package.json +38 -38
@@ -1,17 +1,12 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- StartLendingAnalysisRequest,
4
- StartLendingAnalysisResponse,
5
- } from "../models/models_0";
2
+ import { StartLendingAnalysisRequest, StartLendingAnalysisResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
- export interface StartLendingAnalysisCommandInput
8
- extends StartLendingAnalysisRequest {}
4
+ export interface StartLendingAnalysisCommandInput extends StartLendingAnalysisRequest {}
9
5
  export interface StartLendingAnalysisCommandOutput
10
- extends StartLendingAnalysisResponse,
11
- __MetadataBearer {}
6
+ extends StartLendingAnalysisResponse, __MetadataBearer {}
12
7
  declare const StartLendingAnalysisCommand_base: {
13
8
  new (
14
- input: StartLendingAnalysisCommandInput
9
+ input: StartLendingAnalysisCommandInput,
15
10
  ): import("@smithy/core/client").CommandImpl<
16
11
  StartLendingAnalysisCommandInput,
17
12
  StartLendingAnalysisCommandOutput,
@@ -20,7 +15,7 @@ declare const StartLendingAnalysisCommand_base: {
20
15
  import("..").ServiceOutputTypes
21
16
  >;
22
17
  new (
23
- input: StartLendingAnalysisCommandInput
18
+ input: StartLendingAnalysisCommandInput,
24
19
  ): import("@smithy/core/client").CommandImpl<
25
20
  StartLendingAnalysisCommandInput,
26
21
  StartLendingAnalysisCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface TagResourceCommandInput extends TagResourceRequest {}
5
- export interface TagResourceCommandOutput
6
- extends TagResourceResponse,
7
- __MetadataBearer {}
5
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
8
6
  declare const TagResourceCommand_base: {
9
7
  new (
10
- input: TagResourceCommandInput
8
+ input: TagResourceCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  TagResourceCommandInput,
13
11
  TagResourceCommandOutput,
@@ -16,7 +14,7 @@ declare const TagResourceCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: TagResourceCommandInput
17
+ input: TagResourceCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  TagResourceCommandInput,
22
20
  TagResourceCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- UntagResourceRequest,
4
- UntagResourceResponse,
5
- } from "../models/models_0";
2
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
8
- export interface UntagResourceCommandOutput
9
- extends UntagResourceResponse,
10
- __MetadataBearer {}
5
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
11
6
  declare const UntagResourceCommand_base: {
12
7
  new (
13
- input: UntagResourceCommandInput
8
+ input: UntagResourceCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  UntagResourceCommandInput,
16
11
  UntagResourceCommandOutput,
@@ -19,7 +14,7 @@ declare const UntagResourceCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: UntagResourceCommandInput
17
+ input: UntagResourceCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  UntagResourceCommandInput,
25
20
  UntagResourceCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- UpdateAdapterRequest,
4
- UpdateAdapterResponse,
5
- } from "../models/models_0";
2
+ import { UpdateAdapterRequest, UpdateAdapterResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface UpdateAdapterCommandInput extends UpdateAdapterRequest {}
8
- export interface UpdateAdapterCommandOutput
9
- extends UpdateAdapterResponse,
10
- __MetadataBearer {}
5
+ export interface UpdateAdapterCommandOutput extends UpdateAdapterResponse, __MetadataBearer {}
11
6
  declare const UpdateAdapterCommand_base: {
12
7
  new (
13
- input: UpdateAdapterCommandInput
8
+ input: UpdateAdapterCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  UpdateAdapterCommandInput,
16
11
  UpdateAdapterCommandOutput,
@@ -19,7 +14,7 @@ declare const UpdateAdapterCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: UpdateAdapterCommandInput
17
+ input: UpdateAdapterCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  UpdateAdapterCommandInput,
25
20
  UpdateAdapterCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface TextractExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -13,14 +13,12 @@ export declare const AdapterVersionStatus: {
13
13
  readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
14
14
  readonly DEPRECATED: "DEPRECATED";
15
15
  };
16
- export type AdapterVersionStatus =
17
- (typeof AdapterVersionStatus)[keyof typeof AdapterVersionStatus];
16
+ export type AdapterVersionStatus = (typeof AdapterVersionStatus)[keyof typeof AdapterVersionStatus];
18
17
  export declare const ContentClassifier: {
19
18
  readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
20
19
  readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
21
20
  };
22
- export type ContentClassifier =
23
- (typeof ContentClassifier)[keyof typeof ContentClassifier];
21
+ export type ContentClassifier = (typeof ContentClassifier)[keyof typeof ContentClassifier];
24
22
  export declare const BlockType: {
25
23
  readonly CELL: "CELL";
26
24
  readonly KEY_VALUE_SET: "KEY_VALUE_SET";
@@ -71,14 +69,12 @@ export declare const RelationshipType: {
71
69
  readonly TITLE: "TITLE";
72
70
  readonly VALUE: "VALUE";
73
71
  };
74
- export type RelationshipType =
75
- (typeof RelationshipType)[keyof typeof RelationshipType];
72
+ export type RelationshipType = (typeof RelationshipType)[keyof typeof RelationshipType];
76
73
  export declare const SelectionStatus: {
77
74
  readonly NOT_SELECTED: "NOT_SELECTED";
78
75
  readonly SELECTED: "SELECTED";
79
76
  };
80
- export type SelectionStatus =
81
- (typeof SelectionStatus)[keyof typeof SelectionStatus];
77
+ export type SelectionStatus = (typeof SelectionStatus)[keyof typeof SelectionStatus];
82
78
  export declare const TextType: {
83
79
  readonly HANDWRITING: "HANDWRITING";
84
80
  readonly PRINTED: "PRINTED";
@@ -5,27 +5,21 @@ export declare class AccessDeniedException extends __BaseException {
5
5
  readonly $fault: "client";
6
6
  Message?: string | undefined;
7
7
  Code?: string | undefined;
8
- constructor(
9
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
- );
8
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
11
9
  }
12
10
  export declare class BadDocumentException extends __BaseException {
13
11
  readonly name: "BadDocumentException";
14
12
  readonly $fault: "client";
15
13
  Message?: string | undefined;
16
14
  Code?: string | undefined;
17
- constructor(
18
- opts: __ExceptionOptionType<BadDocumentException, __BaseException>
19
- );
15
+ constructor(opts: __ExceptionOptionType<BadDocumentException, __BaseException>);
20
16
  }
21
17
  export declare class DocumentTooLargeException extends __BaseException {
22
18
  readonly name: "DocumentTooLargeException";
23
19
  readonly $fault: "client";
24
20
  Message?: string | undefined;
25
21
  Code?: string | undefined;
26
- constructor(
27
- opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>
28
- );
22
+ constructor(opts: __ExceptionOptionType<DocumentTooLargeException, __BaseException>);
29
23
  }
30
24
  export declare class HumanLoopQuotaExceededException extends __BaseException {
31
25
  readonly name: "HumanLoopQuotaExceededException";
@@ -35,69 +29,49 @@ export declare class HumanLoopQuotaExceededException extends __BaseException {
35
29
  ServiceCode?: string | undefined;
36
30
  Message?: string | undefined;
37
31
  Code?: string | undefined;
38
- constructor(
39
- opts: __ExceptionOptionType<
40
- HumanLoopQuotaExceededException,
41
- __BaseException
42
- >
43
- );
32
+ constructor(opts: __ExceptionOptionType<HumanLoopQuotaExceededException, __BaseException>);
44
33
  }
45
34
  export declare class InternalServerError extends __BaseException {
46
35
  readonly name: "InternalServerError";
47
36
  readonly $fault: "server";
48
37
  Message?: string | undefined;
49
38
  Code?: string | undefined;
50
- constructor(
51
- opts: __ExceptionOptionType<InternalServerError, __BaseException>
52
- );
39
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
53
40
  }
54
41
  export declare class InvalidParameterException extends __BaseException {
55
42
  readonly name: "InvalidParameterException";
56
43
  readonly $fault: "client";
57
44
  Message?: string | undefined;
58
45
  Code?: string | undefined;
59
- constructor(
60
- opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
61
- );
46
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
62
47
  }
63
48
  export declare class InvalidS3ObjectException extends __BaseException {
64
49
  readonly name: "InvalidS3ObjectException";
65
50
  readonly $fault: "client";
66
51
  Message?: string | undefined;
67
52
  Code?: string | undefined;
68
- constructor(
69
- opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>
70
- );
53
+ constructor(opts: __ExceptionOptionType<InvalidS3ObjectException, __BaseException>);
71
54
  }
72
55
  export declare class ProvisionedThroughputExceededException extends __BaseException {
73
56
  readonly name: "ProvisionedThroughputExceededException";
74
57
  readonly $fault: "client";
75
58
  Message?: string | undefined;
76
59
  Code?: string | undefined;
77
- constructor(
78
- opts: __ExceptionOptionType<
79
- ProvisionedThroughputExceededException,
80
- __BaseException
81
- >
82
- );
60
+ constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
83
61
  }
84
62
  export declare class ThrottlingException extends __BaseException {
85
63
  readonly name: "ThrottlingException";
86
64
  readonly $fault: "server";
87
65
  Message?: string | undefined;
88
66
  Code?: string | undefined;
89
- constructor(
90
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
91
- );
67
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
92
68
  }
93
69
  export declare class UnsupportedDocumentException extends __BaseException {
94
70
  readonly name: "UnsupportedDocumentException";
95
71
  readonly $fault: "client";
96
72
  Message?: string | undefined;
97
73
  Code?: string | undefined;
98
- constructor(
99
- opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>
100
- );
74
+ constructor(opts: __ExceptionOptionType<UnsupportedDocumentException, __BaseException>);
101
75
  }
102
76
  export declare class ConflictException extends __BaseException {
103
77
  readonly name: "ConflictException";
@@ -111,64 +85,47 @@ export declare class IdempotentParameterMismatchException extends __BaseExceptio
111
85
  readonly $fault: "client";
112
86
  Message?: string | undefined;
113
87
  Code?: string | undefined;
114
- constructor(
115
- opts: __ExceptionOptionType<
116
- IdempotentParameterMismatchException,
117
- __BaseException
118
- >
119
- );
88
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
120
89
  }
121
90
  export declare class LimitExceededException extends __BaseException {
122
91
  readonly name: "LimitExceededException";
123
92
  readonly $fault: "client";
124
93
  Message?: string | undefined;
125
94
  Code?: string | undefined;
126
- constructor(
127
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
128
- );
95
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
129
96
  }
130
97
  export declare class ServiceQuotaExceededException extends __BaseException {
131
98
  readonly name: "ServiceQuotaExceededException";
132
99
  readonly $fault: "client";
133
100
  Message?: string | undefined;
134
101
  Code?: string | undefined;
135
- constructor(
136
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
137
- );
102
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
138
103
  }
139
104
  export declare class ValidationException extends __BaseException {
140
105
  readonly name: "ValidationException";
141
106
  readonly $fault: "client";
142
107
  Message?: string | undefined;
143
108
  Code?: string | undefined;
144
- constructor(
145
- opts: __ExceptionOptionType<ValidationException, __BaseException>
146
- );
109
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
147
110
  }
148
111
  export declare class InvalidKMSKeyException extends __BaseException {
149
112
  readonly name: "InvalidKMSKeyException";
150
113
  readonly $fault: "client";
151
114
  Message?: string | undefined;
152
115
  Code?: string | undefined;
153
- constructor(
154
- opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>
155
- );
116
+ constructor(opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>);
156
117
  }
157
118
  export declare class ResourceNotFoundException extends __BaseException {
158
119
  readonly name: "ResourceNotFoundException";
159
120
  readonly $fault: "client";
160
121
  Message?: string | undefined;
161
122
  Code?: string | undefined;
162
- constructor(
163
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
164
- );
123
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
165
124
  }
166
125
  export declare class InvalidJobIdException extends __BaseException {
167
126
  readonly name: "InvalidJobIdException";
168
127
  readonly $fault: "client";
169
128
  Message?: string | undefined;
170
129
  Code?: string | undefined;
171
- constructor(
172
- opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>
173
- );
130
+ constructor(opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>);
174
131
  }
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
2
  import { TextractClient } from "../TextractClient";
3
- export interface TextractPaginationConfiguration
4
- extends PaginationConfiguration {
3
+ export interface TextractPaginationConfiguration extends PaginationConfiguration {
5
4
  client: TextractClient;
6
5
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TextractHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var TextractServiceException$: StaticErrorSchema;
8
4
  export declare var AccessDeniedException$: StaticErrorSchema;
9
5
  export declare var BadDocumentException$: StaticErrorSchema;