@aws-sdk/client-textract 3.42.0 → 3.47.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/CHANGELOG.md +50 -0
- package/dist-cjs/Textract.js +15 -0
- package/dist-cjs/commands/AnalyzeIDCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +42 -86
- package/dist-cjs/protocols/Aws_json1_1.js +204 -1
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/Textract.js +15 -0
- package/dist-es/commands/AnalyzeIDCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +1 -28
- package/dist-es/models/models_0.js +28 -56
- package/dist-es/protocols/Aws_json1_1.js +211 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/Textract.d.ts +11 -1
- package/dist-types/TextractClient.d.ts +8 -3
- package/dist-types/commands/AnalyzeExpenseCommand.d.ts +2 -1
- package/dist-types/commands/AnalyzeIDCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +123 -86
- package/dist-types/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/Textract.d.ts +5 -0
- package/dist-types/ts3.4/TextractClient.d.ts +6 -3
- package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +69 -56
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
|
@@ -7,10 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
7
7
|
Message?: string;
|
|
8
8
|
Code?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare namespace AccessDeniedException {
|
|
11
|
-
|
|
12
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
13
|
-
}
|
|
14
10
|
|
|
15
11
|
export interface S3Object {
|
|
16
12
|
|
|
@@ -229,10 +225,6 @@ export interface BadDocumentException extends __SmithyException, $MetadataBearer
|
|
|
229
225
|
Message?: string;
|
|
230
226
|
Code?: string;
|
|
231
227
|
}
|
|
232
|
-
export declare namespace BadDocumentException {
|
|
233
|
-
|
|
234
|
-
const filterSensitiveLog: (obj: BadDocumentException) => any;
|
|
235
|
-
}
|
|
236
228
|
|
|
237
229
|
export interface DocumentTooLargeException extends __SmithyException, $MetadataBearer {
|
|
238
230
|
name: "DocumentTooLargeException";
|
|
@@ -240,10 +232,6 @@ export interface DocumentTooLargeException extends __SmithyException, $MetadataB
|
|
|
240
232
|
Message?: string;
|
|
241
233
|
Code?: string;
|
|
242
234
|
}
|
|
243
|
-
export declare namespace DocumentTooLargeException {
|
|
244
|
-
|
|
245
|
-
const filterSensitiveLog: (obj: DocumentTooLargeException) => any;
|
|
246
|
-
}
|
|
247
235
|
|
|
248
236
|
export interface HumanLoopQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
249
237
|
name: "HumanLoopQuotaExceededException";
|
|
@@ -257,10 +245,6 @@ export interface HumanLoopQuotaExceededException extends __SmithyException, $Met
|
|
|
257
245
|
Message?: string;
|
|
258
246
|
Code?: string;
|
|
259
247
|
}
|
|
260
|
-
export declare namespace HumanLoopQuotaExceededException {
|
|
261
|
-
|
|
262
|
-
const filterSensitiveLog: (obj: HumanLoopQuotaExceededException) => any;
|
|
263
|
-
}
|
|
264
248
|
|
|
265
249
|
export interface InternalServerError extends __SmithyException, $MetadataBearer {
|
|
266
250
|
name: "InternalServerError";
|
|
@@ -268,10 +252,6 @@ export interface InternalServerError extends __SmithyException, $MetadataBearer
|
|
|
268
252
|
Message?: string;
|
|
269
253
|
Code?: string;
|
|
270
254
|
}
|
|
271
|
-
export declare namespace InternalServerError {
|
|
272
|
-
|
|
273
|
-
const filterSensitiveLog: (obj: InternalServerError) => any;
|
|
274
|
-
}
|
|
275
255
|
|
|
276
256
|
export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
|
|
277
257
|
name: "InvalidParameterException";
|
|
@@ -279,10 +259,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
|
|
|
279
259
|
Message?: string;
|
|
280
260
|
Code?: string;
|
|
281
261
|
}
|
|
282
|
-
export declare namespace InvalidParameterException {
|
|
283
|
-
|
|
284
|
-
const filterSensitiveLog: (obj: InvalidParameterException) => any;
|
|
285
|
-
}
|
|
286
262
|
|
|
287
263
|
export interface InvalidS3ObjectException extends __SmithyException, $MetadataBearer {
|
|
288
264
|
name: "InvalidS3ObjectException";
|
|
@@ -290,10 +266,6 @@ export interface InvalidS3ObjectException extends __SmithyException, $MetadataBe
|
|
|
290
266
|
Message?: string;
|
|
291
267
|
Code?: string;
|
|
292
268
|
}
|
|
293
|
-
export declare namespace InvalidS3ObjectException {
|
|
294
|
-
|
|
295
|
-
const filterSensitiveLog: (obj: InvalidS3ObjectException) => any;
|
|
296
|
-
}
|
|
297
269
|
|
|
298
270
|
export interface ProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer {
|
|
299
271
|
name: "ProvisionedThroughputExceededException";
|
|
@@ -301,10 +273,6 @@ export interface ProvisionedThroughputExceededException extends __SmithyExceptio
|
|
|
301
273
|
Message?: string;
|
|
302
274
|
Code?: string;
|
|
303
275
|
}
|
|
304
|
-
export declare namespace ProvisionedThroughputExceededException {
|
|
305
|
-
|
|
306
|
-
const filterSensitiveLog: (obj: ProvisionedThroughputExceededException) => any;
|
|
307
|
-
}
|
|
308
276
|
|
|
309
277
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
310
278
|
name: "ThrottlingException";
|
|
@@ -312,10 +280,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
312
280
|
Message?: string;
|
|
313
281
|
Code?: string;
|
|
314
282
|
}
|
|
315
|
-
export declare namespace ThrottlingException {
|
|
316
|
-
|
|
317
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
318
|
-
}
|
|
319
283
|
|
|
320
284
|
export interface UnsupportedDocumentException extends __SmithyException, $MetadataBearer {
|
|
321
285
|
name: "UnsupportedDocumentException";
|
|
@@ -323,10 +287,6 @@ export interface UnsupportedDocumentException extends __SmithyException, $Metada
|
|
|
323
287
|
Message?: string;
|
|
324
288
|
Code?: string;
|
|
325
289
|
}
|
|
326
|
-
export declare namespace UnsupportedDocumentException {
|
|
327
|
-
|
|
328
|
-
const filterSensitiveLog: (obj: UnsupportedDocumentException) => any;
|
|
329
|
-
}
|
|
330
290
|
export interface AnalyzeExpenseRequest {
|
|
331
291
|
|
|
332
292
|
Document: Document | undefined;
|
|
@@ -417,6 +377,75 @@ export declare namespace AnalyzeExpenseResponse {
|
|
|
417
377
|
|
|
418
378
|
const filterSensitiveLog: (obj: AnalyzeExpenseResponse) => any;
|
|
419
379
|
}
|
|
380
|
+
export interface AnalyzeIDRequest {
|
|
381
|
+
|
|
382
|
+
DocumentPages: Document[] | undefined;
|
|
383
|
+
}
|
|
384
|
+
export declare namespace AnalyzeIDRequest {
|
|
385
|
+
|
|
386
|
+
const filterSensitiveLog: (obj: AnalyzeIDRequest) => any;
|
|
387
|
+
}
|
|
388
|
+
export declare enum ValueType {
|
|
389
|
+
DATE = "DATE"
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export interface NormalizedValue {
|
|
393
|
+
|
|
394
|
+
Value?: string;
|
|
395
|
+
|
|
396
|
+
ValueType?: ValueType | string;
|
|
397
|
+
}
|
|
398
|
+
export declare namespace NormalizedValue {
|
|
399
|
+
|
|
400
|
+
const filterSensitiveLog: (obj: NormalizedValue) => any;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export interface AnalyzeIDDetections {
|
|
404
|
+
|
|
405
|
+
Text: string | undefined;
|
|
406
|
+
|
|
407
|
+
NormalizedValue?: NormalizedValue;
|
|
408
|
+
|
|
409
|
+
Confidence?: number;
|
|
410
|
+
}
|
|
411
|
+
export declare namespace AnalyzeIDDetections {
|
|
412
|
+
|
|
413
|
+
const filterSensitiveLog: (obj: AnalyzeIDDetections) => any;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
export interface IdentityDocumentField {
|
|
417
|
+
|
|
418
|
+
Type?: AnalyzeIDDetections;
|
|
419
|
+
|
|
420
|
+
ValueDetection?: AnalyzeIDDetections;
|
|
421
|
+
}
|
|
422
|
+
export declare namespace IdentityDocumentField {
|
|
423
|
+
|
|
424
|
+
const filterSensitiveLog: (obj: IdentityDocumentField) => any;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export interface IdentityDocument {
|
|
428
|
+
|
|
429
|
+
DocumentIndex?: number;
|
|
430
|
+
|
|
431
|
+
IdentityDocumentFields?: IdentityDocumentField[];
|
|
432
|
+
}
|
|
433
|
+
export declare namespace IdentityDocument {
|
|
434
|
+
|
|
435
|
+
const filterSensitiveLog: (obj: IdentityDocument) => any;
|
|
436
|
+
}
|
|
437
|
+
export interface AnalyzeIDResponse {
|
|
438
|
+
|
|
439
|
+
IdentityDocuments?: IdentityDocument[];
|
|
440
|
+
|
|
441
|
+
DocumentMetadata?: DocumentMetadata;
|
|
442
|
+
|
|
443
|
+
AnalyzeIDModelVersion?: string;
|
|
444
|
+
}
|
|
445
|
+
export declare namespace AnalyzeIDResponse {
|
|
446
|
+
|
|
447
|
+
const filterSensitiveLog: (obj: AnalyzeIDResponse) => any;
|
|
448
|
+
}
|
|
420
449
|
export interface DetectDocumentTextRequest {
|
|
421
450
|
|
|
422
451
|
Document: Document | undefined;
|
|
@@ -502,10 +531,6 @@ export interface InvalidJobIdException extends __SmithyException, $MetadataBeare
|
|
|
502
531
|
Message?: string;
|
|
503
532
|
Code?: string;
|
|
504
533
|
}
|
|
505
|
-
export declare namespace InvalidJobIdException {
|
|
506
|
-
|
|
507
|
-
const filterSensitiveLog: (obj: InvalidJobIdException) => any;
|
|
508
|
-
}
|
|
509
534
|
|
|
510
535
|
export interface InvalidKMSKeyException extends __SmithyException, $MetadataBearer {
|
|
511
536
|
name: "InvalidKMSKeyException";
|
|
@@ -513,10 +538,6 @@ export interface InvalidKMSKeyException extends __SmithyException, $MetadataBear
|
|
|
513
538
|
Message?: string;
|
|
514
539
|
Code?: string;
|
|
515
540
|
}
|
|
516
|
-
export declare namespace InvalidKMSKeyException {
|
|
517
|
-
|
|
518
|
-
const filterSensitiveLog: (obj: InvalidKMSKeyException) => any;
|
|
519
|
-
}
|
|
520
541
|
export interface GetDocumentTextDetectionRequest {
|
|
521
542
|
|
|
522
543
|
JobId: string | undefined;
|
|
@@ -588,10 +609,6 @@ export interface IdempotentParameterMismatchException extends __SmithyException,
|
|
|
588
609
|
Message?: string;
|
|
589
610
|
Code?: string;
|
|
590
611
|
}
|
|
591
|
-
export declare namespace IdempotentParameterMismatchException {
|
|
592
|
-
|
|
593
|
-
const filterSensitiveLog: (obj: IdempotentParameterMismatchException) => any;
|
|
594
|
-
}
|
|
595
612
|
|
|
596
613
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
597
614
|
name: "LimitExceededException";
|
|
@@ -599,10 +616,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
599
616
|
Message?: string;
|
|
600
617
|
Code?: string;
|
|
601
618
|
}
|
|
602
|
-
export declare namespace LimitExceededException {
|
|
603
|
-
|
|
604
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
605
|
-
}
|
|
606
619
|
|
|
607
620
|
export interface NotificationChannel {
|
|
608
621
|
|
|
@@ -2,6 +2,7 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { AnalyzeDocumentCommandInput, AnalyzeDocumentCommandOutput } from "../commands/AnalyzeDocumentCommand";
|
|
4
4
|
import { AnalyzeExpenseCommandInput, AnalyzeExpenseCommandOutput } from "../commands/AnalyzeExpenseCommand";
|
|
5
|
+
import { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "../commands/AnalyzeIDCommand";
|
|
5
6
|
import { DetectDocumentTextCommandInput, DetectDocumentTextCommandOutput } from "../commands/DetectDocumentTextCommand";
|
|
6
7
|
import { GetDocumentAnalysisCommandInput, GetDocumentAnalysisCommandOutput } from "../commands/GetDocumentAnalysisCommand";
|
|
7
8
|
import { GetDocumentTextDetectionCommandInput, GetDocumentTextDetectionCommandOutput } from "../commands/GetDocumentTextDetectionCommand";
|
|
@@ -11,6 +12,7 @@ import { StartDocumentTextDetectionCommandInput, StartDocumentTextDetectionComma
|
|
|
11
12
|
import { StartExpenseAnalysisCommandInput, StartExpenseAnalysisCommandOutput } from "../commands/StartExpenseAnalysisCommand";
|
|
12
13
|
export declare const serializeAws_json1_1AnalyzeDocumentCommand: (input: AnalyzeDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
14
|
export declare const serializeAws_json1_1AnalyzeExpenseCommand: (input: AnalyzeExpenseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
+
export declare const serializeAws_json1_1AnalyzeIDCommand: (input: AnalyzeIDCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
16
|
export declare const serializeAws_json1_1DetectDocumentTextCommand: (input: DetectDocumentTextCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
17
|
export declare const serializeAws_json1_1GetDocumentAnalysisCommand: (input: GetDocumentAnalysisCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
18
|
export declare const serializeAws_json1_1GetDocumentTextDetectionCommand: (input: GetDocumentTextDetectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -20,6 +22,7 @@ export declare const serializeAws_json1_1StartDocumentTextDetectionCommand: (inp
|
|
|
20
22
|
export declare const serializeAws_json1_1StartExpenseAnalysisCommand: (input: StartExpenseAnalysisCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
23
|
export declare const deserializeAws_json1_1AnalyzeDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AnalyzeDocumentCommandOutput>;
|
|
22
24
|
export declare const deserializeAws_json1_1AnalyzeExpenseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AnalyzeExpenseCommandOutput>;
|
|
25
|
+
export declare const deserializeAws_json1_1AnalyzeIDCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AnalyzeIDCommandOutput>;
|
|
23
26
|
export declare const deserializeAws_json1_1DetectDocumentTextCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DetectDocumentTextCommandOutput>;
|
|
24
27
|
export declare const deserializeAws_json1_1GetDocumentAnalysisCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDocumentAnalysisCommandOutput>;
|
|
25
28
|
export declare const deserializeAws_json1_1GetDocumentTextDetectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDocumentTextDetectionCommandOutput>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { TextractClientConfig } from "./TextractClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { TextractClientConfig } from "./TextractClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: TextractClientConfig) => {
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
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.47.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
8
|
-
"build:docs": "
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
|
-
"
|
|
12
|
-
"clean
|
|
13
|
-
"clean:docs": "rimraf ./docs",
|
|
14
|
-
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"test": "exit 0"
|
|
11
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
16
13
|
},
|
|
17
14
|
"main": "./dist-cjs/index.js",
|
|
18
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -21,48 +18,44 @@
|
|
|
21
18
|
"dependencies": {
|
|
22
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
34
|
-
"@aws-sdk/middleware-serde": "3.
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
-
"@aws-sdk/middleware-stack": "3.
|
|
37
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
-
"@aws-sdk/node-http-handler": "3.
|
|
40
|
-
"@aws-sdk/protocol-http": "3.
|
|
41
|
-
"@aws-sdk/smithy-client": "3.
|
|
42
|
-
"@aws-sdk/types": "3.
|
|
43
|
-
"@aws-sdk/url-parser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
45
|
-
"@aws-sdk/util-base64-node": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.47.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.47.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.0",
|
|
39
|
+
"@aws-sdk/types": "3.47.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.0",
|
|
52
51
|
"tslib": "^2.3.0"
|
|
53
52
|
},
|
|
54
53
|
"devDependencies": {
|
|
55
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
56
|
-
"@types/node": "^12.7.5"
|
|
57
|
-
"downlevel-dts": "0.7.0",
|
|
58
|
-
"jest": "^26.1.0",
|
|
59
|
-
"rimraf": "^3.0.0",
|
|
60
|
-
"ts-jest": "^26.4.1",
|
|
61
|
-
"typedoc": "^0.19.2",
|
|
62
|
-
"typescript": "~4.3.5"
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.0",
|
|
55
|
+
"@types/node": "^12.7.5"
|
|
63
56
|
},
|
|
64
57
|
"engines": {
|
|
65
|
-
"node": ">=
|
|
58
|
+
"node": ">=12.0.0"
|
|
66
59
|
},
|
|
67
60
|
"typesVersions": {
|
|
68
61
|
"<4.0": {
|