@aws-sdk/client-textract 3.1173.0 → 3.1174.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 (67) hide show
  1. package/README.md +91 -0
  2. package/dist-cjs/index.js +611 -10
  3. package/dist-es/Textract.js +30 -0
  4. package/dist-es/commands/CreateBlueprintCommand.js +4 -0
  5. package/dist-es/commands/CreateBlueprintVersionCommand.js +4 -0
  6. package/dist-es/commands/CreateProjectCommand.js +4 -0
  7. package/dist-es/commands/DeleteBlueprintCommand.js +4 -0
  8. package/dist-es/commands/DeleteProjectCommand.js +4 -0
  9. package/dist-es/commands/GetBlueprintCommand.js +4 -0
  10. package/dist-es/commands/GetDocumentInsightsCommand.js +4 -0
  11. package/dist-es/commands/GetProjectCommand.js +4 -0
  12. package/dist-es/commands/ListBlueprintsCommand.js +4 -0
  13. package/dist-es/commands/ListProjectsCommand.js +4 -0
  14. package/dist-es/commands/StartDocumentInsightsCommand.js +4 -0
  15. package/dist-es/commands/UpdateBlueprintCommand.js +4 -0
  16. package/dist-es/commands/UpdateProjectCommand.js +4 -0
  17. package/dist-es/commands/index.js +13 -0
  18. package/dist-es/models/enums.js +68 -0
  19. package/dist-es/pagination/ListBlueprintsPaginator.js +4 -0
  20. package/dist-es/pagination/ListProjectsPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +2 -0
  22. package/dist-es/schemas/schemas_0.js +403 -9
  23. package/dist-types/Textract.d.ts +107 -0
  24. package/dist-types/TextractClient.d.ts +15 -2
  25. package/dist-types/commands/CreateBlueprintCommand.d.ts +115 -0
  26. package/dist-types/commands/CreateBlueprintVersionCommand.d.ts +108 -0
  27. package/dist-types/commands/CreateProjectCommand.d.ts +171 -0
  28. package/dist-types/commands/DeleteBlueprintCommand.d.ts +97 -0
  29. package/dist-types/commands/DeleteProjectCommand.d.ts +93 -0
  30. package/dist-types/commands/GetBlueprintCommand.d.ts +106 -0
  31. package/dist-types/commands/GetDocumentInsightsCommand.d.ts +101 -0
  32. package/dist-types/commands/GetProjectCommand.d.ts +160 -0
  33. package/dist-types/commands/ListBlueprintsCommand.d.ts +114 -0
  34. package/dist-types/commands/ListProjectsCommand.d.ts +110 -0
  35. package/dist-types/commands/StartDocumentInsightsCommand.d.ts +130 -0
  36. package/dist-types/commands/UpdateBlueprintCommand.d.ts +106 -0
  37. package/dist-types/commands/UpdateProjectCommand.d.ts +168 -0
  38. package/dist-types/commands/index.d.ts +13 -0
  39. package/dist-types/models/enums.d.ts +132 -0
  40. package/dist-types/models/models_0.d.ts +1025 -14
  41. package/dist-types/pagination/ListBlueprintsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/ListProjectsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/index.d.ts +2 -0
  44. package/dist-types/schemas/schemas_0.d.ts +62 -0
  45. package/dist-types/ts3.4/Textract.d.ts +234 -0
  46. package/dist-types/ts3.4/TextractClient.d.ts +77 -2
  47. package/dist-types/ts3.4/commands/CreateBlueprintCommand.d.ts +38 -0
  48. package/dist-types/ts3.4/commands/CreateBlueprintVersionCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +38 -0
  50. package/dist-types/ts3.4/commands/DeleteBlueprintCommand.d.ts +38 -0
  51. package/dist-types/ts3.4/commands/DeleteProjectCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/GetBlueprintCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/GetDocumentInsightsCommand.d.ts +39 -0
  54. package/dist-types/ts3.4/commands/GetProjectCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/ListBlueprintsCommand.d.ts +38 -0
  56. package/dist-types/ts3.4/commands/ListProjectsCommand.d.ts +38 -0
  57. package/dist-types/ts3.4/commands/StartDocumentInsightsCommand.d.ts +39 -0
  58. package/dist-types/ts3.4/commands/UpdateBlueprintCommand.d.ts +38 -0
  59. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +38 -0
  60. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  61. package/dist-types/ts3.4/models/enums.d.ts +78 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +232 -0
  63. package/dist-types/ts3.4/pagination/ListBlueprintsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/ListProjectsPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  66. package/dist-types/ts3.4/schemas/schemas_0.d.ts +62 -0
  67. package/package.json +1 -1
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListBlueprintsCommandInput, ListBlueprintsCommandOutput } from "../commands/ListBlueprintsCommand";
3
+ import type { TextractPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListBlueprints: (config: TextractPaginationConfiguration, input: ListBlueprintsCommandInput, ...rest: any[]) => Paginator<ListBlueprintsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListProjectsCommandInput, ListProjectsCommandOutput } from "../commands/ListProjectsCommand";
3
+ import type { TextractPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListProjects: (config: TextractPaginationConfiguration, input: ListProjectsCommandInput, ...rest: any[]) => Paginator<ListProjectsCommandOutput>;
@@ -1,3 +1,5 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListAdaptersPaginator";
3
3
  export * from "./ListAdapterVersionsPaginator";
4
+ export * from "./ListBlueprintsPaginator";
5
+ export * from "./ListProjectsPaginator";
@@ -39,15 +39,30 @@ export declare var AnalyzeIDDetections$: StaticStructureSchema;
39
39
  export declare var AnalyzeIDRequest$: StaticStructureSchema;
40
40
  export declare var AnalyzeIDResponse$: StaticStructureSchema;
41
41
  export declare var Block$: StaticStructureSchema;
42
+ export declare var BlueprintFilter$: StaticStructureSchema;
43
+ export declare var BlueprintItem$: StaticStructureSchema;
44
+ export declare var BlueprintSummary$: StaticStructureSchema;
42
45
  export declare var BoundingBox$: StaticStructureSchema;
46
+ export declare var BoundingBoxConfiguration$: StaticStructureSchema;
43
47
  export declare var CreateAdapterRequest$: StaticStructureSchema;
44
48
  export declare var CreateAdapterResponse$: StaticStructureSchema;
45
49
  export declare var CreateAdapterVersionRequest$: StaticStructureSchema;
46
50
  export declare var CreateAdapterVersionResponse$: StaticStructureSchema;
51
+ export declare var CreateBlueprintRequest$: StaticStructureSchema;
52
+ export declare var CreateBlueprintResponse$: StaticStructureSchema;
53
+ export declare var CreateBlueprintVersionRequest$: StaticStructureSchema;
54
+ export declare var CreateBlueprintVersionResponse$: StaticStructureSchema;
55
+ export declare var CreateProjectRequest$: StaticStructureSchema;
56
+ export declare var CreateProjectResponse$: StaticStructureSchema;
57
+ export declare var CustomConfiguration$: StaticStructureSchema;
47
58
  export declare var DeleteAdapterRequest$: StaticStructureSchema;
48
59
  export declare var DeleteAdapterResponse$: StaticStructureSchema;
49
60
  export declare var DeleteAdapterVersionRequest$: StaticStructureSchema;
50
61
  export declare var DeleteAdapterVersionResponse$: StaticStructureSchema;
62
+ export declare var DeleteBlueprintRequest$: StaticStructureSchema;
63
+ export declare var DeleteBlueprintResponse$: StaticStructureSchema;
64
+ export declare var DeleteProjectRequest$: StaticStructureSchema;
65
+ export declare var DeleteProjectResponse$: StaticStructureSchema;
51
66
  export declare var DetectDocumentTextRequest$: StaticStructureSchema;
52
67
  export declare var DetectDocumentTextResponse$: StaticStructureSchema;
53
68
  export declare var DetectedSignature$: StaticStructureSchema;
@@ -55,7 +70,9 @@ export declare var Document$: StaticStructureSchema;
55
70
  export declare var DocumentGroup$: StaticStructureSchema;
56
71
  export declare var DocumentLocation$: StaticStructureSchema;
57
72
  export declare var DocumentMetadata$: StaticStructureSchema;
73
+ export declare var EncryptionConfiguration$: StaticStructureSchema;
58
74
  export declare var EvaluationMetric$: StaticStructureSchema;
75
+ export declare var EventBridgeConfiguration$: StaticStructureSchema;
59
76
  export declare var ExpenseCurrency$: StaticStructureSchema;
60
77
  export declare var ExpenseDetection$: StaticStructureSchema;
61
78
  export declare var ExpenseDocument$: StaticStructureSchema;
@@ -63,13 +80,21 @@ export declare var ExpenseField$: StaticStructureSchema;
63
80
  export declare var ExpenseGroupProperty$: StaticStructureSchema;
64
81
  export declare var ExpenseType$: StaticStructureSchema;
65
82
  export declare var Extraction$: StaticStructureSchema;
83
+ export declare var ExtractionConfiguration$: StaticStructureSchema;
84
+ export declare var ExtractionGranularity$: StaticStructureSchema;
85
+ export declare var FigureCaptionConfiguration$: StaticStructureSchema;
86
+ export declare var GenerativeConfiguration$: StaticStructureSchema;
66
87
  export declare var Geometry$: StaticStructureSchema;
67
88
  export declare var GetAdapterRequest$: StaticStructureSchema;
68
89
  export declare var GetAdapterResponse$: StaticStructureSchema;
69
90
  export declare var GetAdapterVersionRequest$: StaticStructureSchema;
70
91
  export declare var GetAdapterVersionResponse$: StaticStructureSchema;
92
+ export declare var GetBlueprintRequest$: StaticStructureSchema;
93
+ export declare var GetBlueprintResponse$: StaticStructureSchema;
71
94
  export declare var GetDocumentAnalysisRequest$: StaticStructureSchema;
72
95
  export declare var GetDocumentAnalysisResponse$: StaticStructureSchema;
96
+ export declare var GetDocumentInsightsRequest$: StaticStructureSchema;
97
+ export declare var GetDocumentInsightsResponse$: StaticStructureSchema;
73
98
  export declare var GetDocumentTextDetectionRequest$: StaticStructureSchema;
74
99
  export declare var GetDocumentTextDetectionResponse$: StaticStructureSchema;
75
100
  export declare var GetExpenseAnalysisRequest$: StaticStructureSchema;
@@ -78,11 +103,14 @@ export declare var GetLendingAnalysisRequest$: StaticStructureSchema;
78
103
  export declare var GetLendingAnalysisResponse$: StaticStructureSchema;
79
104
  export declare var GetLendingAnalysisSummaryRequest$: StaticStructureSchema;
80
105
  export declare var GetLendingAnalysisSummaryResponse$: StaticStructureSchema;
106
+ export declare var GetProjectRequest$: StaticStructureSchema;
107
+ export declare var GetProjectResponse$: StaticStructureSchema;
81
108
  export declare var HumanLoopActivationOutput$: StaticStructureSchema;
82
109
  export declare var HumanLoopConfig$: StaticStructureSchema;
83
110
  export declare var HumanLoopDataAttributes$: StaticStructureSchema;
84
111
  export declare var IdentityDocument$: StaticStructureSchema;
85
112
  export declare var IdentityDocumentField$: StaticStructureSchema;
113
+ export declare var InputConfiguration$: StaticStructureSchema;
86
114
  export declare var LendingDetection$: StaticStructureSchema;
87
115
  export declare var LendingDocument$: StaticStructureSchema;
88
116
  export declare var LendingField$: StaticStructureSchema;
@@ -94,28 +122,45 @@ export declare var ListAdaptersRequest$: StaticStructureSchema;
94
122
  export declare var ListAdaptersResponse$: StaticStructureSchema;
95
123
  export declare var ListAdapterVersionsRequest$: StaticStructureSchema;
96
124
  export declare var ListAdapterVersionsResponse$: StaticStructureSchema;
125
+ export declare var ListBlueprintsRequest$: StaticStructureSchema;
126
+ export declare var ListBlueprintsResponse$: StaticStructureSchema;
127
+ export declare var ListProjectsRequest$: StaticStructureSchema;
128
+ export declare var ListProjectsResponse$: StaticStructureSchema;
97
129
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
98
130
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
99
131
  export declare var NormalizedValue$: StaticStructureSchema;
100
132
  export declare var NotificationChannel$: StaticStructureSchema;
133
+ export declare var NotificationConfiguration$: StaticStructureSchema;
134
+ export declare var OutputAdditionalFileFormat$: StaticStructureSchema;
101
135
  export declare var OutputConfig$: StaticStructureSchema;
136
+ export declare var OutputConfiguration$: StaticStructureSchema;
137
+ export declare var OutputFormat$: StaticStructureSchema;
138
+ export declare var OutputTextFormat$: StaticStructureSchema;
102
139
  export declare var PageClassification$: StaticStructureSchema;
140
+ export declare var PIIEntitiesConfiguration$: StaticStructureSchema;
103
141
  export declare var Point$: StaticStructureSchema;
104
142
  export declare var Prediction$: StaticStructureSchema;
143
+ export declare var ProjectFilter$: StaticStructureSchema;
144
+ export declare var ProjectSummary$: StaticStructureSchema;
105
145
  export declare var QueriesConfig$: StaticStructureSchema;
106
146
  export declare var Query$: StaticStructureSchema;
107
147
  export declare var Relationship$: StaticStructureSchema;
108
148
  export declare var S3Object$: StaticStructureSchema;
149
+ export declare var SensitiveDataConfiguration$: StaticStructureSchema;
109
150
  export declare var SignatureDetection$: StaticStructureSchema;
110
151
  export declare var SplitDocument$: StaticStructureSchema;
152
+ export declare var SplitterConfiguration$: StaticStructureSchema;
111
153
  export declare var StartDocumentAnalysisRequest$: StaticStructureSchema;
112
154
  export declare var StartDocumentAnalysisResponse$: StaticStructureSchema;
155
+ export declare var StartDocumentInsightsRequest$: StaticStructureSchema;
156
+ export declare var StartDocumentInsightsResponse$: StaticStructureSchema;
113
157
  export declare var StartDocumentTextDetectionRequest$: StaticStructureSchema;
114
158
  export declare var StartDocumentTextDetectionResponse$: StaticStructureSchema;
115
159
  export declare var StartExpenseAnalysisRequest$: StaticStructureSchema;
116
160
  export declare var StartExpenseAnalysisResponse$: StaticStructureSchema;
117
161
  export declare var StartLendingAnalysisRequest$: StaticStructureSchema;
118
162
  export declare var StartLendingAnalysisResponse$: StaticStructureSchema;
163
+ export declare var SummarizationConfiguration$: StaticStructureSchema;
119
164
  export declare var TagResourceRequest$: StaticStructureSchema;
120
165
  export declare var TagResourceResponse$: StaticStructureSchema;
121
166
  export declare var UndetectedSignature$: StaticStructureSchema;
@@ -123,29 +168,46 @@ export declare var UntagResourceRequest$: StaticStructureSchema;
123
168
  export declare var UntagResourceResponse$: StaticStructureSchema;
124
169
  export declare var UpdateAdapterRequest$: StaticStructureSchema;
125
170
  export declare var UpdateAdapterResponse$: StaticStructureSchema;
171
+ export declare var UpdateBlueprintRequest$: StaticStructureSchema;
172
+ export declare var UpdateBlueprintResponse$: StaticStructureSchema;
173
+ export declare var UpdateProjectRequest$: StaticStructureSchema;
174
+ export declare var UpdateProjectResponse$: StaticStructureSchema;
126
175
  export declare var Warning$: StaticStructureSchema;
127
176
  export declare var AnalyzeDocument$: StaticOperationSchema;
128
177
  export declare var AnalyzeExpense$: StaticOperationSchema;
129
178
  export declare var AnalyzeID$: StaticOperationSchema;
130
179
  export declare var CreateAdapter$: StaticOperationSchema;
131
180
  export declare var CreateAdapterVersion$: StaticOperationSchema;
181
+ export declare var CreateBlueprint$: StaticOperationSchema;
182
+ export declare var CreateBlueprintVersion$: StaticOperationSchema;
183
+ export declare var CreateProject$: StaticOperationSchema;
132
184
  export declare var DeleteAdapter$: StaticOperationSchema;
133
185
  export declare var DeleteAdapterVersion$: StaticOperationSchema;
186
+ export declare var DeleteBlueprint$: StaticOperationSchema;
187
+ export declare var DeleteProject$: StaticOperationSchema;
134
188
  export declare var DetectDocumentText$: StaticOperationSchema;
135
189
  export declare var GetAdapter$: StaticOperationSchema;
136
190
  export declare var GetAdapterVersion$: StaticOperationSchema;
191
+ export declare var GetBlueprint$: StaticOperationSchema;
137
192
  export declare var GetDocumentAnalysis$: StaticOperationSchema;
193
+ export declare var GetDocumentInsights$: StaticOperationSchema;
138
194
  export declare var GetDocumentTextDetection$: StaticOperationSchema;
139
195
  export declare var GetExpenseAnalysis$: StaticOperationSchema;
140
196
  export declare var GetLendingAnalysis$: StaticOperationSchema;
141
197
  export declare var GetLendingAnalysisSummary$: StaticOperationSchema;
198
+ export declare var GetProject$: StaticOperationSchema;
142
199
  export declare var ListAdapters$: StaticOperationSchema;
143
200
  export declare var ListAdapterVersions$: StaticOperationSchema;
201
+ export declare var ListBlueprints$: StaticOperationSchema;
202
+ export declare var ListProjects$: StaticOperationSchema;
144
203
  export declare var ListTagsForResource$: StaticOperationSchema;
145
204
  export declare var StartDocumentAnalysis$: StaticOperationSchema;
205
+ export declare var StartDocumentInsights$: StaticOperationSchema;
146
206
  export declare var StartDocumentTextDetection$: StaticOperationSchema;
147
207
  export declare var StartExpenseAnalysis$: StaticOperationSchema;
148
208
  export declare var StartLendingAnalysis$: StaticOperationSchema;
149
209
  export declare var TagResource$: StaticOperationSchema;
150
210
  export declare var UntagResource$: StaticOperationSchema;
151
211
  export declare var UpdateAdapter$: StaticOperationSchema;
212
+ export declare var UpdateBlueprint$: StaticOperationSchema;
213
+ export declare var UpdateProject$: StaticOperationSchema;
@@ -21,6 +21,18 @@ import {
21
21
  CreateAdapterVersionCommandInput,
22
22
  CreateAdapterVersionCommandOutput,
23
23
  } from "./commands/CreateAdapterVersionCommand";
24
+ import {
25
+ CreateBlueprintCommandInput,
26
+ CreateBlueprintCommandOutput,
27
+ } from "./commands/CreateBlueprintCommand";
28
+ import {
29
+ CreateBlueprintVersionCommandInput,
30
+ CreateBlueprintVersionCommandOutput,
31
+ } from "./commands/CreateBlueprintVersionCommand";
32
+ import {
33
+ CreateProjectCommandInput,
34
+ CreateProjectCommandOutput,
35
+ } from "./commands/CreateProjectCommand";
24
36
  import {
25
37
  DeleteAdapterCommandInput,
26
38
  DeleteAdapterCommandOutput,
@@ -29,6 +41,14 @@ import {
29
41
  DeleteAdapterVersionCommandInput,
30
42
  DeleteAdapterVersionCommandOutput,
31
43
  } from "./commands/DeleteAdapterVersionCommand";
44
+ import {
45
+ DeleteBlueprintCommandInput,
46
+ DeleteBlueprintCommandOutput,
47
+ } from "./commands/DeleteBlueprintCommand";
48
+ import {
49
+ DeleteProjectCommandInput,
50
+ DeleteProjectCommandOutput,
51
+ } from "./commands/DeleteProjectCommand";
32
52
  import {
33
53
  DetectDocumentTextCommandInput,
34
54
  DetectDocumentTextCommandOutput,
@@ -38,10 +58,18 @@ import {
38
58
  GetAdapterVersionCommandInput,
39
59
  GetAdapterVersionCommandOutput,
40
60
  } from "./commands/GetAdapterVersionCommand";
61
+ import {
62
+ GetBlueprintCommandInput,
63
+ GetBlueprintCommandOutput,
64
+ } from "./commands/GetBlueprintCommand";
41
65
  import {
42
66
  GetDocumentAnalysisCommandInput,
43
67
  GetDocumentAnalysisCommandOutput,
44
68
  } from "./commands/GetDocumentAnalysisCommand";
69
+ import {
70
+ GetDocumentInsightsCommandInput,
71
+ GetDocumentInsightsCommandOutput,
72
+ } from "./commands/GetDocumentInsightsCommand";
45
73
  import {
46
74
  GetDocumentTextDetectionCommandInput,
47
75
  GetDocumentTextDetectionCommandOutput,
@@ -58,6 +86,7 @@ import {
58
86
  GetLendingAnalysisSummaryCommandInput,
59
87
  GetLendingAnalysisSummaryCommandOutput,
60
88
  } from "./commands/GetLendingAnalysisSummaryCommand";
89
+ import { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand";
61
90
  import {
62
91
  ListAdaptersCommandInput,
63
92
  ListAdaptersCommandOutput,
@@ -66,6 +95,14 @@ import {
66
95
  ListAdapterVersionsCommandInput,
67
96
  ListAdapterVersionsCommandOutput,
68
97
  } from "./commands/ListAdapterVersionsCommand";
98
+ import {
99
+ ListBlueprintsCommandInput,
100
+ ListBlueprintsCommandOutput,
101
+ } from "./commands/ListBlueprintsCommand";
102
+ import {
103
+ ListProjectsCommandInput,
104
+ ListProjectsCommandOutput,
105
+ } from "./commands/ListProjectsCommand";
69
106
  import {
70
107
  ListTagsForResourceCommandInput,
71
108
  ListTagsForResourceCommandOutput,
@@ -74,6 +111,10 @@ import {
74
111
  StartDocumentAnalysisCommandInput,
75
112
  StartDocumentAnalysisCommandOutput,
76
113
  } from "./commands/StartDocumentAnalysisCommand";
114
+ import {
115
+ StartDocumentInsightsCommandInput,
116
+ StartDocumentInsightsCommandOutput,
117
+ } from "./commands/StartDocumentInsightsCommand";
77
118
  import {
78
119
  StartDocumentTextDetectionCommandInput,
79
120
  StartDocumentTextDetectionCommandOutput,
@@ -95,6 +136,14 @@ import {
95
136
  UpdateAdapterCommandInput,
96
137
  UpdateAdapterCommandOutput,
97
138
  } from "./commands/UpdateAdapterCommand";
139
+ import {
140
+ UpdateBlueprintCommandInput,
141
+ UpdateBlueprintCommandOutput,
142
+ } from "./commands/UpdateBlueprintCommand";
143
+ import {
144
+ UpdateProjectCommandInput,
145
+ UpdateProjectCommandOutput,
146
+ } from "./commands/UpdateProjectCommand";
98
147
  import { TextractClient } from "./TextractClient";
99
148
  export interface TextractRequestOptions extends __HttpHandlerOptions {
100
149
  metricsRecorder?: __MetricsRecorder<unknown>;
@@ -165,6 +214,45 @@ export interface Textract {
165
214
  options: TextractRequestOptions,
166
215
  cb: (err: any, data?: CreateAdapterVersionCommandOutput) => void,
167
216
  ): void;
217
+ createBlueprint(
218
+ args: CreateBlueprintCommandInput,
219
+ options?: TextractRequestOptions,
220
+ ): Promise<CreateBlueprintCommandOutput>;
221
+ createBlueprint(
222
+ args: CreateBlueprintCommandInput,
223
+ cb: (err: any, data?: CreateBlueprintCommandOutput) => void,
224
+ ): void;
225
+ createBlueprint(
226
+ args: CreateBlueprintCommandInput,
227
+ options: TextractRequestOptions,
228
+ cb: (err: any, data?: CreateBlueprintCommandOutput) => void,
229
+ ): void;
230
+ createBlueprintVersion(
231
+ args: CreateBlueprintVersionCommandInput,
232
+ options?: TextractRequestOptions,
233
+ ): Promise<CreateBlueprintVersionCommandOutput>;
234
+ createBlueprintVersion(
235
+ args: CreateBlueprintVersionCommandInput,
236
+ cb: (err: any, data?: CreateBlueprintVersionCommandOutput) => void,
237
+ ): void;
238
+ createBlueprintVersion(
239
+ args: CreateBlueprintVersionCommandInput,
240
+ options: TextractRequestOptions,
241
+ cb: (err: any, data?: CreateBlueprintVersionCommandOutput) => void,
242
+ ): void;
243
+ createProject(
244
+ args: CreateProjectCommandInput,
245
+ options?: TextractRequestOptions,
246
+ ): Promise<CreateProjectCommandOutput>;
247
+ createProject(
248
+ args: CreateProjectCommandInput,
249
+ cb: (err: any, data?: CreateProjectCommandOutput) => void,
250
+ ): void;
251
+ createProject(
252
+ args: CreateProjectCommandInput,
253
+ options: TextractRequestOptions,
254
+ cb: (err: any, data?: CreateProjectCommandOutput) => void,
255
+ ): void;
168
256
  deleteAdapter(
169
257
  args: DeleteAdapterCommandInput,
170
258
  options?: TextractRequestOptions,
@@ -191,6 +279,32 @@ export interface Textract {
191
279
  options: TextractRequestOptions,
192
280
  cb: (err: any, data?: DeleteAdapterVersionCommandOutput) => void,
193
281
  ): void;
282
+ deleteBlueprint(
283
+ args: DeleteBlueprintCommandInput,
284
+ options?: TextractRequestOptions,
285
+ ): Promise<DeleteBlueprintCommandOutput>;
286
+ deleteBlueprint(
287
+ args: DeleteBlueprintCommandInput,
288
+ cb: (err: any, data?: DeleteBlueprintCommandOutput) => void,
289
+ ): void;
290
+ deleteBlueprint(
291
+ args: DeleteBlueprintCommandInput,
292
+ options: TextractRequestOptions,
293
+ cb: (err: any, data?: DeleteBlueprintCommandOutput) => void,
294
+ ): void;
295
+ deleteProject(
296
+ args: DeleteProjectCommandInput,
297
+ options?: TextractRequestOptions,
298
+ ): Promise<DeleteProjectCommandOutput>;
299
+ deleteProject(
300
+ args: DeleteProjectCommandInput,
301
+ cb: (err: any, data?: DeleteProjectCommandOutput) => void,
302
+ ): void;
303
+ deleteProject(
304
+ args: DeleteProjectCommandInput,
305
+ options: TextractRequestOptions,
306
+ cb: (err: any, data?: DeleteProjectCommandOutput) => void,
307
+ ): void;
194
308
  detectDocumentText(
195
309
  args: DetectDocumentTextCommandInput,
196
310
  options?: TextractRequestOptions,
@@ -230,6 +344,19 @@ export interface Textract {
230
344
  options: TextractRequestOptions,
231
345
  cb: (err: any, data?: GetAdapterVersionCommandOutput) => void,
232
346
  ): void;
347
+ getBlueprint(
348
+ args: GetBlueprintCommandInput,
349
+ options?: TextractRequestOptions,
350
+ ): Promise<GetBlueprintCommandOutput>;
351
+ getBlueprint(
352
+ args: GetBlueprintCommandInput,
353
+ cb: (err: any, data?: GetBlueprintCommandOutput) => void,
354
+ ): void;
355
+ getBlueprint(
356
+ args: GetBlueprintCommandInput,
357
+ options: TextractRequestOptions,
358
+ cb: (err: any, data?: GetBlueprintCommandOutput) => void,
359
+ ): void;
233
360
  getDocumentAnalysis(
234
361
  args: GetDocumentAnalysisCommandInput,
235
362
  options?: TextractRequestOptions,
@@ -243,6 +370,19 @@ export interface Textract {
243
370
  options: TextractRequestOptions,
244
371
  cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void,
245
372
  ): void;
373
+ getDocumentInsights(
374
+ args: GetDocumentInsightsCommandInput,
375
+ options?: TextractRequestOptions,
376
+ ): Promise<GetDocumentInsightsCommandOutput>;
377
+ getDocumentInsights(
378
+ args: GetDocumentInsightsCommandInput,
379
+ cb: (err: any, data?: GetDocumentInsightsCommandOutput) => void,
380
+ ): void;
381
+ getDocumentInsights(
382
+ args: GetDocumentInsightsCommandInput,
383
+ options: TextractRequestOptions,
384
+ cb: (err: any, data?: GetDocumentInsightsCommandOutput) => void,
385
+ ): void;
246
386
  getDocumentTextDetection(
247
387
  args: GetDocumentTextDetectionCommandInput,
248
388
  options?: TextractRequestOptions,
@@ -295,6 +435,19 @@ export interface Textract {
295
435
  options: TextractRequestOptions,
296
436
  cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void,
297
437
  ): void;
438
+ getProject(
439
+ args: GetProjectCommandInput,
440
+ options?: TextractRequestOptions,
441
+ ): Promise<GetProjectCommandOutput>;
442
+ getProject(
443
+ args: GetProjectCommandInput,
444
+ cb: (err: any, data?: GetProjectCommandOutput) => void,
445
+ ): void;
446
+ getProject(
447
+ args: GetProjectCommandInput,
448
+ options: TextractRequestOptions,
449
+ cb: (err: any, data?: GetProjectCommandOutput) => void,
450
+ ): void;
298
451
  listAdapters(): Promise<ListAdaptersCommandOutput>;
299
452
  listAdapters(
300
453
  args: ListAdaptersCommandInput,
@@ -323,6 +476,34 @@ export interface Textract {
323
476
  options: TextractRequestOptions,
324
477
  cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void,
325
478
  ): void;
479
+ listBlueprints(): Promise<ListBlueprintsCommandOutput>;
480
+ listBlueprints(
481
+ args: ListBlueprintsCommandInput,
482
+ options?: TextractRequestOptions,
483
+ ): Promise<ListBlueprintsCommandOutput>;
484
+ listBlueprints(
485
+ args: ListBlueprintsCommandInput,
486
+ cb: (err: any, data?: ListBlueprintsCommandOutput) => void,
487
+ ): void;
488
+ listBlueprints(
489
+ args: ListBlueprintsCommandInput,
490
+ options: TextractRequestOptions,
491
+ cb: (err: any, data?: ListBlueprintsCommandOutput) => void,
492
+ ): void;
493
+ listProjects(): Promise<ListProjectsCommandOutput>;
494
+ listProjects(
495
+ args: ListProjectsCommandInput,
496
+ options?: TextractRequestOptions,
497
+ ): Promise<ListProjectsCommandOutput>;
498
+ listProjects(
499
+ args: ListProjectsCommandInput,
500
+ cb: (err: any, data?: ListProjectsCommandOutput) => void,
501
+ ): void;
502
+ listProjects(
503
+ args: ListProjectsCommandInput,
504
+ options: TextractRequestOptions,
505
+ cb: (err: any, data?: ListProjectsCommandOutput) => void,
506
+ ): void;
326
507
  listTagsForResource(
327
508
  args: ListTagsForResourceCommandInput,
328
509
  options?: TextractRequestOptions,
@@ -349,6 +530,19 @@ export interface Textract {
349
530
  options: TextractRequestOptions,
350
531
  cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void,
351
532
  ): void;
533
+ startDocumentInsights(
534
+ args: StartDocumentInsightsCommandInput,
535
+ options?: TextractRequestOptions,
536
+ ): Promise<StartDocumentInsightsCommandOutput>;
537
+ startDocumentInsights(
538
+ args: StartDocumentInsightsCommandInput,
539
+ cb: (err: any, data?: StartDocumentInsightsCommandOutput) => void,
540
+ ): void;
541
+ startDocumentInsights(
542
+ args: StartDocumentInsightsCommandInput,
543
+ options: TextractRequestOptions,
544
+ cb: (err: any, data?: StartDocumentInsightsCommandOutput) => void,
545
+ ): void;
352
546
  startDocumentTextDetection(
353
547
  args: StartDocumentTextDetectionCommandInput,
354
548
  options?: TextractRequestOptions,
@@ -427,6 +621,32 @@ export interface Textract {
427
621
  options: TextractRequestOptions,
428
622
  cb: (err: any, data?: UpdateAdapterCommandOutput) => void,
429
623
  ): void;
624
+ updateBlueprint(
625
+ args: UpdateBlueprintCommandInput,
626
+ options?: TextractRequestOptions,
627
+ ): Promise<UpdateBlueprintCommandOutput>;
628
+ updateBlueprint(
629
+ args: UpdateBlueprintCommandInput,
630
+ cb: (err: any, data?: UpdateBlueprintCommandOutput) => void,
631
+ ): void;
632
+ updateBlueprint(
633
+ args: UpdateBlueprintCommandInput,
634
+ options: TextractRequestOptions,
635
+ cb: (err: any, data?: UpdateBlueprintCommandOutput) => void,
636
+ ): void;
637
+ updateProject(
638
+ args: UpdateProjectCommandInput,
639
+ options?: TextractRequestOptions,
640
+ ): Promise<UpdateProjectCommandOutput>;
641
+ updateProject(
642
+ args: UpdateProjectCommandInput,
643
+ cb: (err: any, data?: UpdateProjectCommandOutput) => void,
644
+ ): void;
645
+ updateProject(
646
+ args: UpdateProjectCommandInput,
647
+ options: TextractRequestOptions,
648
+ cb: (err: any, data?: UpdateProjectCommandOutput) => void,
649
+ ): void;
430
650
  paginateListAdapters(
431
651
  args?: ListAdaptersCommandInput,
432
652
  paginationConfig?: Pick<
@@ -441,5 +661,19 @@ export interface Textract {
441
661
  Exclude<keyof PaginationConfiguration, "client">
442
662
  >,
443
663
  ): Paginator<ListAdapterVersionsCommandOutput>;
664
+ paginateListBlueprints(
665
+ args?: ListBlueprintsCommandInput,
666
+ paginationConfig?: Pick<
667
+ PaginationConfiguration,
668
+ Exclude<keyof PaginationConfiguration, "client">
669
+ >,
670
+ ): Paginator<ListBlueprintsCommandOutput>;
671
+ paginateListProjects(
672
+ args?: ListProjectsCommandInput,
673
+ paginationConfig?: Pick<
674
+ PaginationConfiguration,
675
+ Exclude<keyof PaginationConfiguration, "client">
676
+ >,
677
+ ): Paginator<ListProjectsCommandOutput>;
444
678
  }
445
679
  export declare class Textract extends TextractClient implements Textract {}