@aws-sdk/client-textract 3.427.0 → 3.428.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 (90) hide show
  1. package/README.md +103 -7
  2. package/dist-cjs/Textract.js +24 -0
  3. package/dist-cjs/commands/CreateAdapterCommand.js +51 -0
  4. package/dist-cjs/commands/CreateAdapterVersionCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteAdapterCommand.js +51 -0
  6. package/dist-cjs/commands/DeleteAdapterVersionCommand.js +51 -0
  7. package/dist-cjs/commands/GetAdapterCommand.js +51 -0
  8. package/dist-cjs/commands/GetAdapterVersionCommand.js +51 -0
  9. package/dist-cjs/commands/ListAdapterVersionsCommand.js +51 -0
  10. package/dist-cjs/commands/ListAdaptersCommand.js +51 -0
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
  12. package/dist-cjs/commands/TagResourceCommand.js +51 -0
  13. package/dist-cjs/commands/UntagResourceCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateAdapterCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/index.js +1 -0
  17. package/dist-cjs/models/models_0.js +92 -21
  18. package/dist-cjs/pagination/Interfaces.js +2 -0
  19. package/dist-cjs/pagination/ListAdapterVersionsPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListAdaptersPaginator.js +29 -0
  21. package/dist-cjs/pagination/index.js +6 -0
  22. package/dist-cjs/protocols/Aws_json1_1.js +951 -40
  23. package/dist-es/Textract.js +24 -0
  24. package/dist-es/commands/CreateAdapterCommand.js +47 -0
  25. package/dist-es/commands/CreateAdapterVersionCommand.js +47 -0
  26. package/dist-es/commands/DeleteAdapterCommand.js +47 -0
  27. package/dist-es/commands/DeleteAdapterVersionCommand.js +47 -0
  28. package/dist-es/commands/GetAdapterCommand.js +47 -0
  29. package/dist-es/commands/GetAdapterVersionCommand.js +47 -0
  30. package/dist-es/commands/ListAdapterVersionsCommand.js +47 -0
  31. package/dist-es/commands/ListAdaptersCommand.js +47 -0
  32. package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
  33. package/dist-es/commands/TagResourceCommand.js +47 -0
  34. package/dist-es/commands/UntagResourceCommand.js +47 -0
  35. package/dist-es/commands/UpdateAdapterCommand.js +47 -0
  36. package/dist-es/commands/index.js +12 -0
  37. package/dist-es/index.js +1 -0
  38. package/dist-es/models/models_0.js +84 -17
  39. package/dist-es/pagination/Interfaces.js +1 -0
  40. package/dist-es/pagination/ListAdapterVersionsPaginator.js +25 -0
  41. package/dist-es/pagination/ListAdaptersPaginator.js +25 -0
  42. package/dist-es/pagination/index.js +3 -0
  43. package/dist-es/protocols/Aws_json1_1.js +927 -40
  44. package/dist-types/Textract.d.ts +84 -0
  45. package/dist-types/TextractClient.d.ts +14 -2
  46. package/dist-types/commands/AnalyzeDocumentCommand.d.ts +11 -0
  47. package/dist-types/commands/CreateAdapterCommand.d.ts +128 -0
  48. package/dist-types/commands/CreateAdapterVersionCommand.d.ts +148 -0
  49. package/dist-types/commands/DeleteAdapterCommand.d.ts +101 -0
  50. package/dist-types/commands/DeleteAdapterVersionCommand.d.ts +103 -0
  51. package/dist-types/commands/GetAdapterCommand.d.ts +111 -0
  52. package/dist-types/commands/GetAdapterVersionCommand.d.ts +140 -0
  53. package/dist-types/commands/ListAdapterVersionsCommand.d.ts +116 -0
  54. package/dist-types/commands/ListAdaptersCommand.d.ts +110 -0
  55. package/dist-types/commands/ListTagsForResourceCommand.d.ts +102 -0
  56. package/dist-types/commands/StartDocumentAnalysisCommand.d.ts +11 -0
  57. package/dist-types/commands/TagResourceCommand.d.ts +104 -0
  58. package/dist-types/commands/UntagResourceCommand.d.ts +101 -0
  59. package/dist-types/commands/UpdateAdapterCommand.d.ts +114 -0
  60. package/dist-types/commands/index.d.ts +12 -0
  61. package/dist-types/index.d.ts +1 -0
  62. package/dist-types/models/models_0.d.ts +986 -171
  63. package/dist-types/pagination/Interfaces.d.ts +8 -0
  64. package/dist-types/pagination/ListAdapterVersionsPaginator.d.ts +7 -0
  65. package/dist-types/pagination/ListAdaptersPaginator.d.ts +7 -0
  66. package/dist-types/pagination/index.d.ts +3 -0
  67. package/dist-types/protocols/Aws_json1_1.d.ts +108 -0
  68. package/dist-types/ts3.4/Textract.d.ts +204 -0
  69. package/dist-types/ts3.4/TextractClient.d.ts +74 -2
  70. package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +42 -0
  72. package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +38 -0
  73. package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +35 -0
  75. package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +39 -0
  76. package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +39 -0
  77. package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +35 -0
  78. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  79. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  80. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +38 -0
  81. package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +38 -0
  82. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  83. package/dist-types/ts3.4/index.d.ts +1 -0
  84. package/dist-types/ts3.4/models/models_0.d.ts +237 -40
  85. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  86. package/dist-types/ts3.4/pagination/ListAdapterVersionsPaginator.d.ts +11 -0
  87. package/dist-types/ts3.4/pagination/ListAdaptersPaginator.d.ts +11 -0
  88. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  89. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +144 -0
  90. package/package.json +34 -32
@@ -12,14 +12,10 @@ export declare class AccessDeniedException extends __BaseException {
12
12
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
13
13
  );
14
14
  }
15
- export interface S3Object {
16
- Bucket?: string;
17
- Name?: string;
18
- Version?: string;
19
- }
20
- export interface Document {
21
- Bytes?: Uint8Array;
22
- S3Object?: S3Object;
15
+ export interface Adapter {
16
+ AdapterId: string | undefined;
17
+ Pages?: string[];
18
+ Version: string | undefined;
23
19
  }
24
20
  export declare const FeatureType: {
25
21
  readonly FORMS: "FORMS";
@@ -29,6 +25,54 @@ export declare const FeatureType: {
29
25
  readonly TABLES: "TABLES";
30
26
  };
31
27
  export type FeatureType = (typeof FeatureType)[keyof typeof FeatureType];
28
+ export interface AdapterOverview {
29
+ AdapterId?: string;
30
+ AdapterName?: string;
31
+ CreationTime?: Date;
32
+ FeatureTypes?: (FeatureType | string)[];
33
+ }
34
+ export interface AdaptersConfig {
35
+ Adapters: Adapter[] | undefined;
36
+ }
37
+ export interface S3Object {
38
+ Bucket?: string;
39
+ Name?: string;
40
+ Version?: string;
41
+ }
42
+ export interface AdapterVersionDatasetConfig {
43
+ ManifestS3Object?: S3Object;
44
+ }
45
+ export interface EvaluationMetric {
46
+ F1Score?: number;
47
+ Precision?: number;
48
+ Recall?: number;
49
+ }
50
+ export interface AdapterVersionEvaluationMetric {
51
+ Baseline?: EvaluationMetric;
52
+ AdapterVersion?: EvaluationMetric;
53
+ FeatureType?: FeatureType | string;
54
+ }
55
+ export declare const AdapterVersionStatus: {
56
+ readonly ACTIVE: "ACTIVE";
57
+ readonly AT_RISK: "AT_RISK";
58
+ readonly CREATION_ERROR: "CREATION_ERROR";
59
+ readonly CREATION_IN_PROGRESS: "CREATION_IN_PROGRESS";
60
+ readonly DEPRECATED: "DEPRECATED";
61
+ };
62
+ export type AdapterVersionStatus =
63
+ (typeof AdapterVersionStatus)[keyof typeof AdapterVersionStatus];
64
+ export interface AdapterVersionOverview {
65
+ AdapterId?: string;
66
+ AdapterVersion?: string;
67
+ CreationTime?: Date;
68
+ FeatureTypes?: (FeatureType | string)[];
69
+ Status?: AdapterVersionStatus | string;
70
+ StatusMessage?: string;
71
+ }
72
+ export interface Document {
73
+ Bytes?: Uint8Array;
74
+ S3Object?: S3Object;
75
+ }
32
76
  export declare const ContentClassifier: {
33
77
  readonly FREE_OF_ADULT_CONTENT: "FreeOfAdultContent";
34
78
  readonly FREE_OF_PERSONALLY_IDENTIFIABLE_INFORMATION: "FreeOfPersonallyIdentifiableInformation";
@@ -56,6 +100,7 @@ export interface AnalyzeDocumentRequest {
56
100
  FeatureTypes: (FeatureType | string)[] | undefined;
57
101
  HumanLoopConfig?: HumanLoopConfig;
58
102
  QueriesConfig?: QueriesConfig;
103
+ AdaptersConfig?: AdaptersConfig;
59
104
  }
60
105
  export declare const BlockType: {
61
106
  readonly CELL: "CELL";
@@ -334,6 +379,111 @@ export interface AnalyzeIDResponse {
334
379
  DocumentMetadata?: DocumentMetadata;
335
380
  AnalyzeIDModelVersion?: string;
336
381
  }
382
+ export declare const AutoUpdate: {
383
+ readonly DISABLED: "DISABLED";
384
+ readonly ENABLED: "ENABLED";
385
+ };
386
+ export type AutoUpdate = (typeof AutoUpdate)[keyof typeof AutoUpdate];
387
+ export declare class ConflictException extends __BaseException {
388
+ readonly name: "ConflictException";
389
+ readonly $fault: "client";
390
+ Message?: string;
391
+ Code?: string;
392
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
393
+ }
394
+ export interface CreateAdapterRequest {
395
+ AdapterName: string | undefined;
396
+ ClientRequestToken?: string;
397
+ Description?: string;
398
+ FeatureTypes: (FeatureType | string)[] | undefined;
399
+ AutoUpdate?: AutoUpdate | string;
400
+ Tags?: Record<string, string>;
401
+ }
402
+ export interface CreateAdapterResponse {
403
+ AdapterId?: string;
404
+ }
405
+ export declare class IdempotentParameterMismatchException extends __BaseException {
406
+ readonly name: "IdempotentParameterMismatchException";
407
+ readonly $fault: "client";
408
+ Message?: string;
409
+ Code?: string;
410
+ constructor(
411
+ opts: __ExceptionOptionType<
412
+ IdempotentParameterMismatchException,
413
+ __BaseException
414
+ >
415
+ );
416
+ }
417
+ export declare class LimitExceededException extends __BaseException {
418
+ readonly name: "LimitExceededException";
419
+ readonly $fault: "client";
420
+ Message?: string;
421
+ Code?: string;
422
+ constructor(
423
+ opts: __ExceptionOptionType<LimitExceededException, __BaseException>
424
+ );
425
+ }
426
+ export declare class ServiceQuotaExceededException extends __BaseException {
427
+ readonly name: "ServiceQuotaExceededException";
428
+ readonly $fault: "client";
429
+ Message?: string;
430
+ Code?: string;
431
+ constructor(
432
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
433
+ );
434
+ }
435
+ export declare class ValidationException extends __BaseException {
436
+ readonly name: "ValidationException";
437
+ readonly $fault: "client";
438
+ Message?: string;
439
+ Code?: string;
440
+ constructor(
441
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
442
+ );
443
+ }
444
+ export interface OutputConfig {
445
+ S3Bucket: string | undefined;
446
+ S3Prefix?: string;
447
+ }
448
+ export interface CreateAdapterVersionRequest {
449
+ AdapterId: string | undefined;
450
+ ClientRequestToken?: string;
451
+ DatasetConfig: AdapterVersionDatasetConfig | undefined;
452
+ KMSKeyId?: string;
453
+ OutputConfig: OutputConfig | undefined;
454
+ Tags?: Record<string, string>;
455
+ }
456
+ export interface CreateAdapterVersionResponse {
457
+ AdapterId?: string;
458
+ AdapterVersion?: string;
459
+ }
460
+ export declare class InvalidKMSKeyException extends __BaseException {
461
+ readonly name: "InvalidKMSKeyException";
462
+ readonly $fault: "client";
463
+ Message?: string;
464
+ Code?: string;
465
+ constructor(
466
+ opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>
467
+ );
468
+ }
469
+ export declare class ResourceNotFoundException extends __BaseException {
470
+ readonly name: "ResourceNotFoundException";
471
+ readonly $fault: "client";
472
+ Message?: string;
473
+ Code?: string;
474
+ constructor(
475
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
476
+ );
477
+ }
478
+ export interface DeleteAdapterRequest {
479
+ AdapterId: string | undefined;
480
+ }
481
+ export interface DeleteAdapterResponse {}
482
+ export interface DeleteAdapterVersionRequest {
483
+ AdapterId: string | undefined;
484
+ AdapterVersion: string | undefined;
485
+ }
486
+ export interface DeleteAdapterVersionResponse {}
337
487
  export interface DetectDocumentTextRequest {
338
488
  Document: Document | undefined;
339
489
  }
@@ -385,6 +535,35 @@ export interface Extraction {
385
535
  ExpenseDocument?: ExpenseDocument;
386
536
  IdentityDocument?: IdentityDocument;
387
537
  }
538
+ export interface GetAdapterRequest {
539
+ AdapterId: string | undefined;
540
+ }
541
+ export interface GetAdapterResponse {
542
+ AdapterId?: string;
543
+ AdapterName?: string;
544
+ CreationTime?: Date;
545
+ Description?: string;
546
+ FeatureTypes?: (FeatureType | string)[];
547
+ AutoUpdate?: AutoUpdate | string;
548
+ Tags?: Record<string, string>;
549
+ }
550
+ export interface GetAdapterVersionRequest {
551
+ AdapterId: string | undefined;
552
+ AdapterVersion: string | undefined;
553
+ }
554
+ export interface GetAdapterVersionResponse {
555
+ AdapterId?: string;
556
+ AdapterVersion?: string;
557
+ CreationTime?: Date;
558
+ FeatureTypes?: (FeatureType | string)[];
559
+ Status?: AdapterVersionStatus | string;
560
+ StatusMessage?: string;
561
+ DatasetConfig?: AdapterVersionDatasetConfig;
562
+ KMSKeyId?: string;
563
+ OutputConfig?: OutputConfig;
564
+ EvaluationMetrics?: AdapterVersionEvaluationMetric[];
565
+ Tags?: Record<string, string>;
566
+ }
388
567
  export interface GetDocumentAnalysisRequest {
389
568
  JobId: string | undefined;
390
569
  MaxResults?: number;
@@ -419,15 +598,6 @@ export declare class InvalidJobIdException extends __BaseException {
419
598
  opts: __ExceptionOptionType<InvalidJobIdException, __BaseException>
420
599
  );
421
600
  }
422
- export declare class InvalidKMSKeyException extends __BaseException {
423
- readonly name: "InvalidKMSKeyException";
424
- readonly $fault: "client";
425
- Message?: string;
426
- Code?: string;
427
- constructor(
428
- opts: __ExceptionOptionType<InvalidKMSKeyException, __BaseException>
429
- );
430
- }
431
601
  export interface GetDocumentTextDetectionRequest {
432
602
  JobId: string | undefined;
433
603
  MaxResults?: number;
@@ -498,35 +668,37 @@ export interface GetLendingAnalysisSummaryResponse {
498
668
  StatusMessage?: string;
499
669
  AnalyzeLendingModelVersion?: string;
500
670
  }
501
- export declare class IdempotentParameterMismatchException extends __BaseException {
502
- readonly name: "IdempotentParameterMismatchException";
503
- readonly $fault: "client";
504
- Message?: string;
505
- Code?: string;
506
- constructor(
507
- opts: __ExceptionOptionType<
508
- IdempotentParameterMismatchException,
509
- __BaseException
510
- >
511
- );
671
+ export interface ListAdaptersRequest {
672
+ AfterCreationTime?: Date;
673
+ BeforeCreationTime?: Date;
674
+ MaxResults?: number;
675
+ NextToken?: string;
512
676
  }
513
- export declare class LimitExceededException extends __BaseException {
514
- readonly name: "LimitExceededException";
515
- readonly $fault: "client";
516
- Message?: string;
517
- Code?: string;
518
- constructor(
519
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
520
- );
677
+ export interface ListAdaptersResponse {
678
+ Adapters?: AdapterOverview[];
679
+ NextToken?: string;
680
+ }
681
+ export interface ListAdapterVersionsRequest {
682
+ AdapterId?: string;
683
+ AfterCreationTime?: Date;
684
+ BeforeCreationTime?: Date;
685
+ MaxResults?: number;
686
+ NextToken?: string;
687
+ }
688
+ export interface ListAdapterVersionsResponse {
689
+ AdapterVersions?: AdapterVersionOverview[];
690
+ NextToken?: string;
691
+ }
692
+ export interface ListTagsForResourceRequest {
693
+ ResourceARN: string | undefined;
694
+ }
695
+ export interface ListTagsForResourceResponse {
696
+ Tags?: Record<string, string>;
521
697
  }
522
698
  export interface NotificationChannel {
523
699
  SNSTopicArn: string | undefined;
524
700
  RoleArn: string | undefined;
525
701
  }
526
- export interface OutputConfig {
527
- S3Bucket: string | undefined;
528
- S3Prefix?: string;
529
- }
530
702
  export interface StartDocumentAnalysisRequest {
531
703
  DocumentLocation: DocumentLocation | undefined;
532
704
  FeatureTypes: (FeatureType | string)[] | undefined;
@@ -536,6 +708,7 @@ export interface StartDocumentAnalysisRequest {
536
708
  OutputConfig?: OutputConfig;
537
709
  KMSKeyId?: string;
538
710
  QueriesConfig?: QueriesConfig;
711
+ AdaptersConfig?: AdaptersConfig;
539
712
  }
540
713
  export interface StartDocumentAnalysisResponse {
541
714
  JobId?: string;
@@ -573,3 +746,27 @@ export interface StartLendingAnalysisRequest {
573
746
  export interface StartLendingAnalysisResponse {
574
747
  JobId?: string;
575
748
  }
749
+ export interface TagResourceRequest {
750
+ ResourceARN: string | undefined;
751
+ Tags: Record<string, string> | undefined;
752
+ }
753
+ export interface TagResourceResponse {}
754
+ export interface UntagResourceRequest {
755
+ ResourceARN: string | undefined;
756
+ TagKeys: string[] | undefined;
757
+ }
758
+ export interface UntagResourceResponse {}
759
+ export interface UpdateAdapterRequest {
760
+ AdapterId: string | undefined;
761
+ Description?: string;
762
+ AdapterName?: string;
763
+ AutoUpdate?: AutoUpdate | string;
764
+ }
765
+ export interface UpdateAdapterResponse {
766
+ AdapterId?: string;
767
+ AdapterName?: string;
768
+ CreationTime?: Date;
769
+ Description?: string;
770
+ FeatureTypes?: (FeatureType | string)[];
771
+ AutoUpdate?: AutoUpdate | string;
772
+ }
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { TextractClient } from "../TextractClient";
3
+ export interface TextractPaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: TextractClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAdapterVersionsCommandInput,
4
+ ListAdapterVersionsCommandOutput,
5
+ } from "../commands/ListAdapterVersionsCommand";
6
+ import { TextractPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListAdapterVersions(
8
+ config: TextractPaginationConfiguration,
9
+ input: ListAdapterVersionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAdapterVersionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAdaptersCommandInput,
4
+ ListAdaptersCommandOutput,
5
+ } from "../commands/ListAdaptersCommand";
6
+ import { TextractPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListAdapters(
8
+ config: TextractPaginationConfiguration,
9
+ input: ListAdaptersCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListAdaptersCommandOutput>;
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListAdapterVersionsPaginator";
3
+ export * from "./ListAdaptersPaginator";
@@ -15,10 +15,34 @@ import {
15
15
  AnalyzeIDCommandInput,
16
16
  AnalyzeIDCommandOutput,
17
17
  } from "../commands/AnalyzeIDCommand";
18
+ import {
19
+ CreateAdapterCommandInput,
20
+ CreateAdapterCommandOutput,
21
+ } from "../commands/CreateAdapterCommand";
22
+ import {
23
+ CreateAdapterVersionCommandInput,
24
+ CreateAdapterVersionCommandOutput,
25
+ } from "../commands/CreateAdapterVersionCommand";
26
+ import {
27
+ DeleteAdapterCommandInput,
28
+ DeleteAdapterCommandOutput,
29
+ } from "../commands/DeleteAdapterCommand";
30
+ import {
31
+ DeleteAdapterVersionCommandInput,
32
+ DeleteAdapterVersionCommandOutput,
33
+ } from "../commands/DeleteAdapterVersionCommand";
18
34
  import {
19
35
  DetectDocumentTextCommandInput,
20
36
  DetectDocumentTextCommandOutput,
21
37
  } from "../commands/DetectDocumentTextCommand";
38
+ import {
39
+ GetAdapterCommandInput,
40
+ GetAdapterCommandOutput,
41
+ } from "../commands/GetAdapterCommand";
42
+ import {
43
+ GetAdapterVersionCommandInput,
44
+ GetAdapterVersionCommandOutput,
45
+ } from "../commands/GetAdapterVersionCommand";
22
46
  import {
23
47
  GetDocumentAnalysisCommandInput,
24
48
  GetDocumentAnalysisCommandOutput,
@@ -39,6 +63,18 @@ import {
39
63
  GetLendingAnalysisSummaryCommandInput,
40
64
  GetLendingAnalysisSummaryCommandOutput,
41
65
  } from "../commands/GetLendingAnalysisSummaryCommand";
66
+ import {
67
+ ListAdaptersCommandInput,
68
+ ListAdaptersCommandOutput,
69
+ } from "../commands/ListAdaptersCommand";
70
+ import {
71
+ ListAdapterVersionsCommandInput,
72
+ ListAdapterVersionsCommandOutput,
73
+ } from "../commands/ListAdapterVersionsCommand";
74
+ import {
75
+ ListTagsForResourceCommandInput,
76
+ ListTagsForResourceCommandOutput,
77
+ } from "../commands/ListTagsForResourceCommand";
42
78
  import {
43
79
  StartDocumentAnalysisCommandInput,
44
80
  StartDocumentAnalysisCommandOutput,
@@ -55,6 +91,18 @@ import {
55
91
  StartLendingAnalysisCommandInput,
56
92
  StartLendingAnalysisCommandOutput,
57
93
  } from "../commands/StartLendingAnalysisCommand";
94
+ import {
95
+ TagResourceCommandInput,
96
+ TagResourceCommandOutput,
97
+ } from "../commands/TagResourceCommand";
98
+ import {
99
+ UntagResourceCommandInput,
100
+ UntagResourceCommandOutput,
101
+ } from "../commands/UntagResourceCommand";
102
+ import {
103
+ UpdateAdapterCommandInput,
104
+ UpdateAdapterCommandOutput,
105
+ } from "../commands/UpdateAdapterCommand";
58
106
  export declare const se_AnalyzeDocumentCommand: (
59
107
  input: AnalyzeDocumentCommandInput,
60
108
  context: __SerdeContext
@@ -67,10 +115,34 @@ export declare const se_AnalyzeIDCommand: (
67
115
  input: AnalyzeIDCommandInput,
68
116
  context: __SerdeContext
69
117
  ) => Promise<__HttpRequest>;
118
+ export declare const se_CreateAdapterCommand: (
119
+ input: CreateAdapterCommandInput,
120
+ context: __SerdeContext
121
+ ) => Promise<__HttpRequest>;
122
+ export declare const se_CreateAdapterVersionCommand: (
123
+ input: CreateAdapterVersionCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
126
+ export declare const se_DeleteAdapterCommand: (
127
+ input: DeleteAdapterCommandInput,
128
+ context: __SerdeContext
129
+ ) => Promise<__HttpRequest>;
130
+ export declare const se_DeleteAdapterVersionCommand: (
131
+ input: DeleteAdapterVersionCommandInput,
132
+ context: __SerdeContext
133
+ ) => Promise<__HttpRequest>;
70
134
  export declare const se_DetectDocumentTextCommand: (
71
135
  input: DetectDocumentTextCommandInput,
72
136
  context: __SerdeContext
73
137
  ) => Promise<__HttpRequest>;
138
+ export declare const se_GetAdapterCommand: (
139
+ input: GetAdapterCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
142
+ export declare const se_GetAdapterVersionCommand: (
143
+ input: GetAdapterVersionCommandInput,
144
+ context: __SerdeContext
145
+ ) => Promise<__HttpRequest>;
74
146
  export declare const se_GetDocumentAnalysisCommand: (
75
147
  input: GetDocumentAnalysisCommandInput,
76
148
  context: __SerdeContext
@@ -91,6 +163,18 @@ export declare const se_GetLendingAnalysisSummaryCommand: (
91
163
  input: GetLendingAnalysisSummaryCommandInput,
92
164
  context: __SerdeContext
93
165
  ) => Promise<__HttpRequest>;
166
+ export declare const se_ListAdaptersCommand: (
167
+ input: ListAdaptersCommandInput,
168
+ context: __SerdeContext
169
+ ) => Promise<__HttpRequest>;
170
+ export declare const se_ListAdapterVersionsCommand: (
171
+ input: ListAdapterVersionsCommandInput,
172
+ context: __SerdeContext
173
+ ) => Promise<__HttpRequest>;
174
+ export declare const se_ListTagsForResourceCommand: (
175
+ input: ListTagsForResourceCommandInput,
176
+ context: __SerdeContext
177
+ ) => Promise<__HttpRequest>;
94
178
  export declare const se_StartDocumentAnalysisCommand: (
95
179
  input: StartDocumentAnalysisCommandInput,
96
180
  context: __SerdeContext
@@ -107,6 +191,18 @@ export declare const se_StartLendingAnalysisCommand: (
107
191
  input: StartLendingAnalysisCommandInput,
108
192
  context: __SerdeContext
109
193
  ) => Promise<__HttpRequest>;
194
+ export declare const se_TagResourceCommand: (
195
+ input: TagResourceCommandInput,
196
+ context: __SerdeContext
197
+ ) => Promise<__HttpRequest>;
198
+ export declare const se_UntagResourceCommand: (
199
+ input: UntagResourceCommandInput,
200
+ context: __SerdeContext
201
+ ) => Promise<__HttpRequest>;
202
+ export declare const se_UpdateAdapterCommand: (
203
+ input: UpdateAdapterCommandInput,
204
+ context: __SerdeContext
205
+ ) => Promise<__HttpRequest>;
110
206
  export declare const de_AnalyzeDocumentCommand: (
111
207
  output: __HttpResponse,
112
208
  context: __SerdeContext
@@ -119,10 +215,34 @@ export declare const de_AnalyzeIDCommand: (
119
215
  output: __HttpResponse,
120
216
  context: __SerdeContext
121
217
  ) => Promise<AnalyzeIDCommandOutput>;
218
+ export declare const de_CreateAdapterCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<CreateAdapterCommandOutput>;
222
+ export declare const de_CreateAdapterVersionCommand: (
223
+ output: __HttpResponse,
224
+ context: __SerdeContext
225
+ ) => Promise<CreateAdapterVersionCommandOutput>;
226
+ export declare const de_DeleteAdapterCommand: (
227
+ output: __HttpResponse,
228
+ context: __SerdeContext
229
+ ) => Promise<DeleteAdapterCommandOutput>;
230
+ export declare const de_DeleteAdapterVersionCommand: (
231
+ output: __HttpResponse,
232
+ context: __SerdeContext
233
+ ) => Promise<DeleteAdapterVersionCommandOutput>;
122
234
  export declare const de_DetectDocumentTextCommand: (
123
235
  output: __HttpResponse,
124
236
  context: __SerdeContext
125
237
  ) => Promise<DetectDocumentTextCommandOutput>;
238
+ export declare const de_GetAdapterCommand: (
239
+ output: __HttpResponse,
240
+ context: __SerdeContext
241
+ ) => Promise<GetAdapterCommandOutput>;
242
+ export declare const de_GetAdapterVersionCommand: (
243
+ output: __HttpResponse,
244
+ context: __SerdeContext
245
+ ) => Promise<GetAdapterVersionCommandOutput>;
126
246
  export declare const de_GetDocumentAnalysisCommand: (
127
247
  output: __HttpResponse,
128
248
  context: __SerdeContext
@@ -143,6 +263,18 @@ export declare const de_GetLendingAnalysisSummaryCommand: (
143
263
  output: __HttpResponse,
144
264
  context: __SerdeContext
145
265
  ) => Promise<GetLendingAnalysisSummaryCommandOutput>;
266
+ export declare const de_ListAdaptersCommand: (
267
+ output: __HttpResponse,
268
+ context: __SerdeContext
269
+ ) => Promise<ListAdaptersCommandOutput>;
270
+ export declare const de_ListAdapterVersionsCommand: (
271
+ output: __HttpResponse,
272
+ context: __SerdeContext
273
+ ) => Promise<ListAdapterVersionsCommandOutput>;
274
+ export declare const de_ListTagsForResourceCommand: (
275
+ output: __HttpResponse,
276
+ context: __SerdeContext
277
+ ) => Promise<ListTagsForResourceCommandOutput>;
146
278
  export declare const de_StartDocumentAnalysisCommand: (
147
279
  output: __HttpResponse,
148
280
  context: __SerdeContext
@@ -159,3 +291,15 @@ export declare const de_StartLendingAnalysisCommand: (
159
291
  output: __HttpResponse,
160
292
  context: __SerdeContext
161
293
  ) => Promise<StartLendingAnalysisCommandOutput>;
294
+ export declare const de_TagResourceCommand: (
295
+ output: __HttpResponse,
296
+ context: __SerdeContext
297
+ ) => Promise<TagResourceCommandOutput>;
298
+ export declare const de_UntagResourceCommand: (
299
+ output: __HttpResponse,
300
+ context: __SerdeContext
301
+ ) => Promise<UntagResourceCommandOutput>;
302
+ export declare const de_UpdateAdapterCommand: (
303
+ output: __HttpResponse,
304
+ context: __SerdeContext
305
+ ) => Promise<UpdateAdapterCommandOutput>;
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.427.0",
4
+ "version": "3.428.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,46 +21,48 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.427.0",
25
- "@aws-sdk/credential-provider-node": "3.427.0",
26
- "@aws-sdk/middleware-host-header": "3.425.0",
27
- "@aws-sdk/middleware-logger": "3.425.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
- "@aws-sdk/middleware-signing": "3.425.0",
30
- "@aws-sdk/middleware-user-agent": "3.427.0",
31
- "@aws-sdk/region-config-resolver": "3.425.0",
32
- "@aws-sdk/types": "3.425.0",
33
- "@aws-sdk/util-endpoints": "3.427.0",
34
- "@aws-sdk/util-user-agent-browser": "3.425.0",
35
- "@aws-sdk/util-user-agent-node": "3.425.0",
36
- "@smithy/config-resolver": "^2.0.11",
37
- "@smithy/fetch-http-handler": "^2.2.1",
38
- "@smithy/hash-node": "^2.0.10",
39
- "@smithy/invalid-dependency": "^2.0.10",
40
- "@smithy/middleware-content-length": "^2.0.12",
41
- "@smithy/middleware-endpoint": "^2.0.10",
42
- "@smithy/middleware-retry": "^2.0.13",
43
- "@smithy/middleware-serde": "^2.0.10",
44
- "@smithy/middleware-stack": "^2.0.4",
45
- "@smithy/node-config-provider": "^2.0.13",
46
- "@smithy/node-http-handler": "^2.1.6",
47
- "@smithy/protocol-http": "^3.0.6",
48
- "@smithy/smithy-client": "^2.1.9",
49
- "@smithy/types": "^2.3.4",
50
- "@smithy/url-parser": "^2.0.10",
24
+ "@aws-sdk/client-sts": "3.428.0",
25
+ "@aws-sdk/credential-provider-node": "3.428.0",
26
+ "@aws-sdk/middleware-host-header": "3.428.0",
27
+ "@aws-sdk/middleware-logger": "3.428.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
+ "@aws-sdk/middleware-signing": "3.428.0",
30
+ "@aws-sdk/middleware-user-agent": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.428.0",
32
+ "@aws-sdk/types": "3.428.0",
33
+ "@aws-sdk/util-endpoints": "3.428.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.428.0",
36
+ "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/fetch-http-handler": "^2.2.3",
38
+ "@smithy/hash-node": "^2.0.11",
39
+ "@smithy/invalid-dependency": "^2.0.11",
40
+ "@smithy/middleware-content-length": "^2.0.13",
41
+ "@smithy/middleware-endpoint": "^2.1.0",
42
+ "@smithy/middleware-retry": "^2.0.16",
43
+ "@smithy/middleware-serde": "^2.0.11",
44
+ "@smithy/middleware-stack": "^2.0.5",
45
+ "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-http-handler": "^2.1.7",
47
+ "@smithy/protocol-http": "^3.0.7",
48
+ "@smithy/smithy-client": "^2.1.11",
49
+ "@smithy/types": "^2.3.5",
50
+ "@smithy/url-parser": "^2.0.11",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.13",
55
- "@smithy/util-defaults-mode-node": "^2.0.15",
56
- "@smithy/util-retry": "^2.0.3",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.15",
55
+ "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
- "tslib": "^2.5.0"
58
+ "tslib": "^2.5.0",
59
+ "uuid": "^8.3.2"
59
60
  },
60
61
  "devDependencies": {
61
62
  "@smithy/service-client-documentation-generator": "^2.0.0",
62
63
  "@tsconfig/node14": "1.0.3",
63
64
  "@types/node": "^14.14.31",
65
+ "@types/uuid": "^8.3.0",
64
66
  "concurrently": "7.0.0",
65
67
  "downlevel-dts": "0.10.1",
66
68
  "rimraf": "3.0.2",