@aws-sdk/client-textract 3.721.0 → 3.726.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +276 -175
- package/dist-es/TextractClient.js +1 -0
- package/dist-es/models/models_0.js +75 -36
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class TextractClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { TextractServiceException as __BaseException } from "./TextractServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
Message;
|
|
6
|
+
Code;
|
|
3
7
|
constructor(opts) {
|
|
4
8
|
super({
|
|
5
9
|
name: "AccessDeniedException",
|
|
6
10
|
$fault: "client",
|
|
7
11
|
...opts,
|
|
8
12
|
});
|
|
9
|
-
this.name = "AccessDeniedException";
|
|
10
|
-
this.$fault = "client";
|
|
11
13
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
14
|
this.Message = opts.Message;
|
|
13
15
|
this.Code = opts.Code;
|
|
@@ -88,42 +90,51 @@ export const TextType = {
|
|
|
88
90
|
PRINTED: "PRINTED",
|
|
89
91
|
};
|
|
90
92
|
export class BadDocumentException extends __BaseException {
|
|
93
|
+
name = "BadDocumentException";
|
|
94
|
+
$fault = "client";
|
|
95
|
+
Message;
|
|
96
|
+
Code;
|
|
91
97
|
constructor(opts) {
|
|
92
98
|
super({
|
|
93
99
|
name: "BadDocumentException",
|
|
94
100
|
$fault: "client",
|
|
95
101
|
...opts,
|
|
96
102
|
});
|
|
97
|
-
this.name = "BadDocumentException";
|
|
98
|
-
this.$fault = "client";
|
|
99
103
|
Object.setPrototypeOf(this, BadDocumentException.prototype);
|
|
100
104
|
this.Message = opts.Message;
|
|
101
105
|
this.Code = opts.Code;
|
|
102
106
|
}
|
|
103
107
|
}
|
|
104
108
|
export class DocumentTooLargeException extends __BaseException {
|
|
109
|
+
name = "DocumentTooLargeException";
|
|
110
|
+
$fault = "client";
|
|
111
|
+
Message;
|
|
112
|
+
Code;
|
|
105
113
|
constructor(opts) {
|
|
106
114
|
super({
|
|
107
115
|
name: "DocumentTooLargeException",
|
|
108
116
|
$fault: "client",
|
|
109
117
|
...opts,
|
|
110
118
|
});
|
|
111
|
-
this.name = "DocumentTooLargeException";
|
|
112
|
-
this.$fault = "client";
|
|
113
119
|
Object.setPrototypeOf(this, DocumentTooLargeException.prototype);
|
|
114
120
|
this.Message = opts.Message;
|
|
115
121
|
this.Code = opts.Code;
|
|
116
122
|
}
|
|
117
123
|
}
|
|
118
124
|
export class HumanLoopQuotaExceededException extends __BaseException {
|
|
125
|
+
name = "HumanLoopQuotaExceededException";
|
|
126
|
+
$fault = "client";
|
|
127
|
+
ResourceType;
|
|
128
|
+
QuotaCode;
|
|
129
|
+
ServiceCode;
|
|
130
|
+
Message;
|
|
131
|
+
Code;
|
|
119
132
|
constructor(opts) {
|
|
120
133
|
super({
|
|
121
134
|
name: "HumanLoopQuotaExceededException",
|
|
122
135
|
$fault: "client",
|
|
123
136
|
...opts,
|
|
124
137
|
});
|
|
125
|
-
this.name = "HumanLoopQuotaExceededException";
|
|
126
|
-
this.$fault = "client";
|
|
127
138
|
Object.setPrototypeOf(this, HumanLoopQuotaExceededException.prototype);
|
|
128
139
|
this.ResourceType = opts.ResourceType;
|
|
129
140
|
this.QuotaCode = opts.QuotaCode;
|
|
@@ -133,84 +144,96 @@ export class HumanLoopQuotaExceededException extends __BaseException {
|
|
|
133
144
|
}
|
|
134
145
|
}
|
|
135
146
|
export class InternalServerError extends __BaseException {
|
|
147
|
+
name = "InternalServerError";
|
|
148
|
+
$fault = "server";
|
|
149
|
+
Message;
|
|
150
|
+
Code;
|
|
136
151
|
constructor(opts) {
|
|
137
152
|
super({
|
|
138
153
|
name: "InternalServerError",
|
|
139
154
|
$fault: "server",
|
|
140
155
|
...opts,
|
|
141
156
|
});
|
|
142
|
-
this.name = "InternalServerError";
|
|
143
|
-
this.$fault = "server";
|
|
144
157
|
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
145
158
|
this.Message = opts.Message;
|
|
146
159
|
this.Code = opts.Code;
|
|
147
160
|
}
|
|
148
161
|
}
|
|
149
162
|
export class InvalidParameterException extends __BaseException {
|
|
163
|
+
name = "InvalidParameterException";
|
|
164
|
+
$fault = "client";
|
|
165
|
+
Message;
|
|
166
|
+
Code;
|
|
150
167
|
constructor(opts) {
|
|
151
168
|
super({
|
|
152
169
|
name: "InvalidParameterException",
|
|
153
170
|
$fault: "client",
|
|
154
171
|
...opts,
|
|
155
172
|
});
|
|
156
|
-
this.name = "InvalidParameterException";
|
|
157
|
-
this.$fault = "client";
|
|
158
173
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
159
174
|
this.Message = opts.Message;
|
|
160
175
|
this.Code = opts.Code;
|
|
161
176
|
}
|
|
162
177
|
}
|
|
163
178
|
export class InvalidS3ObjectException extends __BaseException {
|
|
179
|
+
name = "InvalidS3ObjectException";
|
|
180
|
+
$fault = "client";
|
|
181
|
+
Message;
|
|
182
|
+
Code;
|
|
164
183
|
constructor(opts) {
|
|
165
184
|
super({
|
|
166
185
|
name: "InvalidS3ObjectException",
|
|
167
186
|
$fault: "client",
|
|
168
187
|
...opts,
|
|
169
188
|
});
|
|
170
|
-
this.name = "InvalidS3ObjectException";
|
|
171
|
-
this.$fault = "client";
|
|
172
189
|
Object.setPrototypeOf(this, InvalidS3ObjectException.prototype);
|
|
173
190
|
this.Message = opts.Message;
|
|
174
191
|
this.Code = opts.Code;
|
|
175
192
|
}
|
|
176
193
|
}
|
|
177
194
|
export class ProvisionedThroughputExceededException extends __BaseException {
|
|
195
|
+
name = "ProvisionedThroughputExceededException";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
Message;
|
|
198
|
+
Code;
|
|
178
199
|
constructor(opts) {
|
|
179
200
|
super({
|
|
180
201
|
name: "ProvisionedThroughputExceededException",
|
|
181
202
|
$fault: "client",
|
|
182
203
|
...opts,
|
|
183
204
|
});
|
|
184
|
-
this.name = "ProvisionedThroughputExceededException";
|
|
185
|
-
this.$fault = "client";
|
|
186
205
|
Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
|
|
187
206
|
this.Message = opts.Message;
|
|
188
207
|
this.Code = opts.Code;
|
|
189
208
|
}
|
|
190
209
|
}
|
|
191
210
|
export class ThrottlingException extends __BaseException {
|
|
211
|
+
name = "ThrottlingException";
|
|
212
|
+
$fault = "server";
|
|
213
|
+
Message;
|
|
214
|
+
Code;
|
|
192
215
|
constructor(opts) {
|
|
193
216
|
super({
|
|
194
217
|
name: "ThrottlingException",
|
|
195
218
|
$fault: "server",
|
|
196
219
|
...opts,
|
|
197
220
|
});
|
|
198
|
-
this.name = "ThrottlingException";
|
|
199
|
-
this.$fault = "server";
|
|
200
221
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
201
222
|
this.Message = opts.Message;
|
|
202
223
|
this.Code = opts.Code;
|
|
203
224
|
}
|
|
204
225
|
}
|
|
205
226
|
export class UnsupportedDocumentException extends __BaseException {
|
|
227
|
+
name = "UnsupportedDocumentException";
|
|
228
|
+
$fault = "client";
|
|
229
|
+
Message;
|
|
230
|
+
Code;
|
|
206
231
|
constructor(opts) {
|
|
207
232
|
super({
|
|
208
233
|
name: "UnsupportedDocumentException",
|
|
209
234
|
$fault: "client",
|
|
210
235
|
...opts,
|
|
211
236
|
});
|
|
212
|
-
this.name = "UnsupportedDocumentException";
|
|
213
|
-
this.$fault = "client";
|
|
214
237
|
Object.setPrototypeOf(this, UnsupportedDocumentException.prototype);
|
|
215
238
|
this.Message = opts.Message;
|
|
216
239
|
this.Code = opts.Code;
|
|
@@ -224,98 +247,112 @@ export const AutoUpdate = {
|
|
|
224
247
|
ENABLED: "ENABLED",
|
|
225
248
|
};
|
|
226
249
|
export class ConflictException extends __BaseException {
|
|
250
|
+
name = "ConflictException";
|
|
251
|
+
$fault = "client";
|
|
252
|
+
Message;
|
|
253
|
+
Code;
|
|
227
254
|
constructor(opts) {
|
|
228
255
|
super({
|
|
229
256
|
name: "ConflictException",
|
|
230
257
|
$fault: "client",
|
|
231
258
|
...opts,
|
|
232
259
|
});
|
|
233
|
-
this.name = "ConflictException";
|
|
234
|
-
this.$fault = "client";
|
|
235
260
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
236
261
|
this.Message = opts.Message;
|
|
237
262
|
this.Code = opts.Code;
|
|
238
263
|
}
|
|
239
264
|
}
|
|
240
265
|
export class IdempotentParameterMismatchException extends __BaseException {
|
|
266
|
+
name = "IdempotentParameterMismatchException";
|
|
267
|
+
$fault = "client";
|
|
268
|
+
Message;
|
|
269
|
+
Code;
|
|
241
270
|
constructor(opts) {
|
|
242
271
|
super({
|
|
243
272
|
name: "IdempotentParameterMismatchException",
|
|
244
273
|
$fault: "client",
|
|
245
274
|
...opts,
|
|
246
275
|
});
|
|
247
|
-
this.name = "IdempotentParameterMismatchException";
|
|
248
|
-
this.$fault = "client";
|
|
249
276
|
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
250
277
|
this.Message = opts.Message;
|
|
251
278
|
this.Code = opts.Code;
|
|
252
279
|
}
|
|
253
280
|
}
|
|
254
281
|
export class LimitExceededException extends __BaseException {
|
|
282
|
+
name = "LimitExceededException";
|
|
283
|
+
$fault = "client";
|
|
284
|
+
Message;
|
|
285
|
+
Code;
|
|
255
286
|
constructor(opts) {
|
|
256
287
|
super({
|
|
257
288
|
name: "LimitExceededException",
|
|
258
289
|
$fault: "client",
|
|
259
290
|
...opts,
|
|
260
291
|
});
|
|
261
|
-
this.name = "LimitExceededException";
|
|
262
|
-
this.$fault = "client";
|
|
263
292
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
264
293
|
this.Message = opts.Message;
|
|
265
294
|
this.Code = opts.Code;
|
|
266
295
|
}
|
|
267
296
|
}
|
|
268
297
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
298
|
+
name = "ServiceQuotaExceededException";
|
|
299
|
+
$fault = "client";
|
|
300
|
+
Message;
|
|
301
|
+
Code;
|
|
269
302
|
constructor(opts) {
|
|
270
303
|
super({
|
|
271
304
|
name: "ServiceQuotaExceededException",
|
|
272
305
|
$fault: "client",
|
|
273
306
|
...opts,
|
|
274
307
|
});
|
|
275
|
-
this.name = "ServiceQuotaExceededException";
|
|
276
|
-
this.$fault = "client";
|
|
277
308
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
278
309
|
this.Message = opts.Message;
|
|
279
310
|
this.Code = opts.Code;
|
|
280
311
|
}
|
|
281
312
|
}
|
|
282
313
|
export class ValidationException extends __BaseException {
|
|
314
|
+
name = "ValidationException";
|
|
315
|
+
$fault = "client";
|
|
316
|
+
Message;
|
|
317
|
+
Code;
|
|
283
318
|
constructor(opts) {
|
|
284
319
|
super({
|
|
285
320
|
name: "ValidationException",
|
|
286
321
|
$fault: "client",
|
|
287
322
|
...opts,
|
|
288
323
|
});
|
|
289
|
-
this.name = "ValidationException";
|
|
290
|
-
this.$fault = "client";
|
|
291
324
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
292
325
|
this.Message = opts.Message;
|
|
293
326
|
this.Code = opts.Code;
|
|
294
327
|
}
|
|
295
328
|
}
|
|
296
329
|
export class InvalidKMSKeyException extends __BaseException {
|
|
330
|
+
name = "InvalidKMSKeyException";
|
|
331
|
+
$fault = "client";
|
|
332
|
+
Message;
|
|
333
|
+
Code;
|
|
297
334
|
constructor(opts) {
|
|
298
335
|
super({
|
|
299
336
|
name: "InvalidKMSKeyException",
|
|
300
337
|
$fault: "client",
|
|
301
338
|
...opts,
|
|
302
339
|
});
|
|
303
|
-
this.name = "InvalidKMSKeyException";
|
|
304
|
-
this.$fault = "client";
|
|
305
340
|
Object.setPrototypeOf(this, InvalidKMSKeyException.prototype);
|
|
306
341
|
this.Message = opts.Message;
|
|
307
342
|
this.Code = opts.Code;
|
|
308
343
|
}
|
|
309
344
|
}
|
|
310
345
|
export class ResourceNotFoundException extends __BaseException {
|
|
346
|
+
name = "ResourceNotFoundException";
|
|
347
|
+
$fault = "client";
|
|
348
|
+
Message;
|
|
349
|
+
Code;
|
|
311
350
|
constructor(opts) {
|
|
312
351
|
super({
|
|
313
352
|
name: "ResourceNotFoundException",
|
|
314
353
|
$fault: "client",
|
|
315
354
|
...opts,
|
|
316
355
|
});
|
|
317
|
-
this.name = "ResourceNotFoundException";
|
|
318
|
-
this.$fault = "client";
|
|
319
356
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
320
357
|
this.Message = opts.Message;
|
|
321
358
|
this.Code = opts.Code;
|
|
@@ -328,14 +365,16 @@ export const JobStatus = {
|
|
|
328
365
|
SUCCEEDED: "SUCCEEDED",
|
|
329
366
|
};
|
|
330
367
|
export class InvalidJobIdException extends __BaseException {
|
|
368
|
+
name = "InvalidJobIdException";
|
|
369
|
+
$fault = "client";
|
|
370
|
+
Message;
|
|
371
|
+
Code;
|
|
331
372
|
constructor(opts) {
|
|
332
373
|
super({
|
|
333
374
|
name: "InvalidJobIdException",
|
|
334
375
|
$fault: "client",
|
|
335
376
|
...opts,
|
|
336
377
|
});
|
|
337
|
-
this.name = "InvalidJobIdException";
|
|
338
|
-
this.$fault = "client";
|
|
339
378
|
Object.setPrototypeOf(this, InvalidJobIdException.prototype);
|
|
340
379
|
this.Message = opts.Message;
|
|
341
380
|
this.Code = opts.Code;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
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;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
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> | undefined;
|
|
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
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.
|
|
4
|
+
"version": "3.726.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,58 +20,58 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|
|
63
63
|
"uuid": "^9.0.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@tsconfig/
|
|
67
|
-
"@types/node": "^
|
|
66
|
+
"@tsconfig/node18": "18.2.4",
|
|
67
|
+
"@types/node": "^18.19.69",
|
|
68
68
|
"concurrently": "7.0.0",
|
|
69
69
|
"downlevel-dts": "0.10.1",
|
|
70
70
|
"rimraf": "3.0.2",
|
|
71
|
-
"typescript": "~
|
|
71
|
+
"typescript": "~5.2.2"
|
|
72
72
|
},
|
|
73
73
|
"engines": {
|
|
74
|
-
"node": ">=
|
|
74
|
+
"node": ">=18.0.0"
|
|
75
75
|
},
|
|
76
76
|
"typesVersions": {
|
|
77
77
|
"<4.0": {
|