@aws-sdk/client-textract 3.1087.0 → 3.1088.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/Textract.d.ts +80 -89
  3. package/dist-types/ts3.4/TextractClient.d.ts +18 -37
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AnalyzeDocumentCommand.d.ts +4 -9
  8. package/dist-types/ts3.4/commands/AnalyzeExpenseCommand.d.ts +4 -9
  9. package/dist-types/ts3.4/commands/AnalyzeIDCommand.d.ts +7 -5
  10. package/dist-types/ts3.4/commands/CreateAdapterCommand.d.ts +4 -9
  11. package/dist-types/ts3.4/commands/CreateAdapterVersionCommand.d.ts +5 -10
  12. package/dist-types/ts3.4/commands/DeleteAdapterCommand.d.ts +4 -9
  13. package/dist-types/ts3.4/commands/DeleteAdapterVersionCommand.d.ts +5 -10
  14. package/dist-types/ts3.4/commands/DetectDocumentTextCommand.d.ts +5 -10
  15. package/dist-types/ts3.4/commands/GetAdapterCommand.d.ts +3 -5
  16. package/dist-types/ts3.4/commands/GetAdapterVersionCommand.d.ts +5 -10
  17. package/dist-types/ts3.4/commands/GetDocumentAnalysisCommand.d.ts +5 -10
  18. package/dist-types/ts3.4/commands/GetDocumentTextDetectionCommand.d.ts +4 -6
  19. package/dist-types/ts3.4/commands/GetExpenseAnalysisCommand.d.ts +5 -10
  20. package/dist-types/ts3.4/commands/GetLendingAnalysisCommand.d.ts +5 -10
  21. package/dist-types/ts3.4/commands/GetLendingAnalysisSummaryCommand.d.ts +4 -6
  22. package/dist-types/ts3.4/commands/ListAdapterVersionsCommand.d.ts +4 -9
  23. package/dist-types/ts3.4/commands/ListAdaptersCommand.d.ts +2 -4
  24. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  25. package/dist-types/ts3.4/commands/StartDocumentAnalysisCommand.d.ts +5 -10
  26. package/dist-types/ts3.4/commands/StartDocumentTextDetectionCommand.d.ts +4 -6
  27. package/dist-types/ts3.4/commands/StartExpenseAnalysisCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/StartLendingAnalysisCommand.d.ts +5 -10
  29. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  30. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  31. package/dist-types/ts3.4/commands/UpdateAdapterCommand.d.ts +4 -9
  32. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  33. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  34. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  35. package/dist-types/ts3.4/models/enums.d.ts +4 -8
  36. package/dist-types/ts3.4/models/errors.d.ts +17 -60
  37. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  38. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  39. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  40. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  41. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  42. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  44. package/package.json +38 -38
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1086.0";
72
+ var version = "3.1087.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -11,10 +11,7 @@ import {
11
11
  AnalyzeExpenseCommandInput,
12
12
  AnalyzeExpenseCommandOutput,
13
13
  } from "./commands/AnalyzeExpenseCommand";
14
- import {
15
- AnalyzeIDCommandInput,
16
- AnalyzeIDCommandOutput,
17
- } from "./commands/AnalyzeIDCommand";
14
+ import { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
18
15
  import {
19
16
  CreateAdapterCommandInput,
20
17
  CreateAdapterCommandOutput,
@@ -35,10 +32,7 @@ import {
35
32
  DetectDocumentTextCommandInput,
36
33
  DetectDocumentTextCommandOutput,
37
34
  } from "./commands/DetectDocumentTextCommand";
38
- import {
39
- GetAdapterCommandInput,
40
- GetAdapterCommandOutput,
41
- } from "./commands/GetAdapterCommand";
35
+ import { GetAdapterCommandInput, GetAdapterCommandOutput } from "./commands/GetAdapterCommand";
42
36
  import {
43
37
  GetAdapterVersionCommandInput,
44
38
  GetAdapterVersionCommandOutput,
@@ -91,10 +85,7 @@ import {
91
85
  StartLendingAnalysisCommandInput,
92
86
  StartLendingAnalysisCommandOutput,
93
87
  } from "./commands/StartLendingAnalysisCommand";
94
- import {
95
- TagResourceCommandInput,
96
- TagResourceCommandOutput,
97
- } from "./commands/TagResourceCommand";
88
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
98
89
  import {
99
90
  UntagResourceCommandInput,
100
91
  UntagResourceCommandOutput,
@@ -107,344 +98,344 @@ import { TextractClient } from "./TextractClient";
107
98
  export interface Textract {
108
99
  analyzeDocument(
109
100
  args: AnalyzeDocumentCommandInput,
110
- options?: __HttpHandlerOptions
101
+ options?: __HttpHandlerOptions,
111
102
  ): Promise<AnalyzeDocumentCommandOutput>;
112
103
  analyzeDocument(
113
104
  args: AnalyzeDocumentCommandInput,
114
- cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void
105
+ cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void,
115
106
  ): void;
116
107
  analyzeDocument(
117
108
  args: AnalyzeDocumentCommandInput,
118
109
  options: __HttpHandlerOptions,
119
- cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void
110
+ cb: (err: any, data?: AnalyzeDocumentCommandOutput) => void,
120
111
  ): void;
121
112
  analyzeExpense(
122
113
  args: AnalyzeExpenseCommandInput,
123
- options?: __HttpHandlerOptions
114
+ options?: __HttpHandlerOptions,
124
115
  ): Promise<AnalyzeExpenseCommandOutput>;
125
116
  analyzeExpense(
126
117
  args: AnalyzeExpenseCommandInput,
127
- cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void
118
+ cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void,
128
119
  ): void;
129
120
  analyzeExpense(
130
121
  args: AnalyzeExpenseCommandInput,
131
122
  options: __HttpHandlerOptions,
132
- cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void
123
+ cb: (err: any, data?: AnalyzeExpenseCommandOutput) => void,
133
124
  ): void;
134
125
  analyzeID(
135
126
  args: AnalyzeIDCommandInput,
136
- options?: __HttpHandlerOptions
127
+ options?: __HttpHandlerOptions,
137
128
  ): Promise<AnalyzeIDCommandOutput>;
138
129
  analyzeID(
139
130
  args: AnalyzeIDCommandInput,
140
- cb: (err: any, data?: AnalyzeIDCommandOutput) => void
131
+ cb: (err: any, data?: AnalyzeIDCommandOutput) => void,
141
132
  ): void;
142
133
  analyzeID(
143
134
  args: AnalyzeIDCommandInput,
144
135
  options: __HttpHandlerOptions,
145
- cb: (err: any, data?: AnalyzeIDCommandOutput) => void
136
+ cb: (err: any, data?: AnalyzeIDCommandOutput) => void,
146
137
  ): void;
147
138
  createAdapter(
148
139
  args: CreateAdapterCommandInput,
149
- options?: __HttpHandlerOptions
140
+ options?: __HttpHandlerOptions,
150
141
  ): Promise<CreateAdapterCommandOutput>;
151
142
  createAdapter(
152
143
  args: CreateAdapterCommandInput,
153
- cb: (err: any, data?: CreateAdapterCommandOutput) => void
144
+ cb: (err: any, data?: CreateAdapterCommandOutput) => void,
154
145
  ): void;
155
146
  createAdapter(
156
147
  args: CreateAdapterCommandInput,
157
148
  options: __HttpHandlerOptions,
158
- cb: (err: any, data?: CreateAdapterCommandOutput) => void
149
+ cb: (err: any, data?: CreateAdapterCommandOutput) => void,
159
150
  ): void;
160
151
  createAdapterVersion(
161
152
  args: CreateAdapterVersionCommandInput,
162
- options?: __HttpHandlerOptions
153
+ options?: __HttpHandlerOptions,
163
154
  ): Promise<CreateAdapterVersionCommandOutput>;
164
155
  createAdapterVersion(
165
156
  args: CreateAdapterVersionCommandInput,
166
- cb: (err: any, data?: CreateAdapterVersionCommandOutput) => void
157
+ cb: (err: any, data?: CreateAdapterVersionCommandOutput) => void,
167
158
  ): void;
168
159
  createAdapterVersion(
169
160
  args: CreateAdapterVersionCommandInput,
170
161
  options: __HttpHandlerOptions,
171
- cb: (err: any, data?: CreateAdapterVersionCommandOutput) => void
162
+ cb: (err: any, data?: CreateAdapterVersionCommandOutput) => void,
172
163
  ): void;
173
164
  deleteAdapter(
174
165
  args: DeleteAdapterCommandInput,
175
- options?: __HttpHandlerOptions
166
+ options?: __HttpHandlerOptions,
176
167
  ): Promise<DeleteAdapterCommandOutput>;
177
168
  deleteAdapter(
178
169
  args: DeleteAdapterCommandInput,
179
- cb: (err: any, data?: DeleteAdapterCommandOutput) => void
170
+ cb: (err: any, data?: DeleteAdapterCommandOutput) => void,
180
171
  ): void;
181
172
  deleteAdapter(
182
173
  args: DeleteAdapterCommandInput,
183
174
  options: __HttpHandlerOptions,
184
- cb: (err: any, data?: DeleteAdapterCommandOutput) => void
175
+ cb: (err: any, data?: DeleteAdapterCommandOutput) => void,
185
176
  ): void;
186
177
  deleteAdapterVersion(
187
178
  args: DeleteAdapterVersionCommandInput,
188
- options?: __HttpHandlerOptions
179
+ options?: __HttpHandlerOptions,
189
180
  ): Promise<DeleteAdapterVersionCommandOutput>;
190
181
  deleteAdapterVersion(
191
182
  args: DeleteAdapterVersionCommandInput,
192
- cb: (err: any, data?: DeleteAdapterVersionCommandOutput) => void
183
+ cb: (err: any, data?: DeleteAdapterVersionCommandOutput) => void,
193
184
  ): void;
194
185
  deleteAdapterVersion(
195
186
  args: DeleteAdapterVersionCommandInput,
196
187
  options: __HttpHandlerOptions,
197
- cb: (err: any, data?: DeleteAdapterVersionCommandOutput) => void
188
+ cb: (err: any, data?: DeleteAdapterVersionCommandOutput) => void,
198
189
  ): void;
199
190
  detectDocumentText(
200
191
  args: DetectDocumentTextCommandInput,
201
- options?: __HttpHandlerOptions
192
+ options?: __HttpHandlerOptions,
202
193
  ): Promise<DetectDocumentTextCommandOutput>;
203
194
  detectDocumentText(
204
195
  args: DetectDocumentTextCommandInput,
205
- cb: (err: any, data?: DetectDocumentTextCommandOutput) => void
196
+ cb: (err: any, data?: DetectDocumentTextCommandOutput) => void,
206
197
  ): void;
207
198
  detectDocumentText(
208
199
  args: DetectDocumentTextCommandInput,
209
200
  options: __HttpHandlerOptions,
210
- cb: (err: any, data?: DetectDocumentTextCommandOutput) => void
201
+ cb: (err: any, data?: DetectDocumentTextCommandOutput) => void,
211
202
  ): void;
212
203
  getAdapter(
213
204
  args: GetAdapterCommandInput,
214
- options?: __HttpHandlerOptions
205
+ options?: __HttpHandlerOptions,
215
206
  ): Promise<GetAdapterCommandOutput>;
216
207
  getAdapter(
217
208
  args: GetAdapterCommandInput,
218
- cb: (err: any, data?: GetAdapterCommandOutput) => void
209
+ cb: (err: any, data?: GetAdapterCommandOutput) => void,
219
210
  ): void;
220
211
  getAdapter(
221
212
  args: GetAdapterCommandInput,
222
213
  options: __HttpHandlerOptions,
223
- cb: (err: any, data?: GetAdapterCommandOutput) => void
214
+ cb: (err: any, data?: GetAdapterCommandOutput) => void,
224
215
  ): void;
225
216
  getAdapterVersion(
226
217
  args: GetAdapterVersionCommandInput,
227
- options?: __HttpHandlerOptions
218
+ options?: __HttpHandlerOptions,
228
219
  ): Promise<GetAdapterVersionCommandOutput>;
229
220
  getAdapterVersion(
230
221
  args: GetAdapterVersionCommandInput,
231
- cb: (err: any, data?: GetAdapterVersionCommandOutput) => void
222
+ cb: (err: any, data?: GetAdapterVersionCommandOutput) => void,
232
223
  ): void;
233
224
  getAdapterVersion(
234
225
  args: GetAdapterVersionCommandInput,
235
226
  options: __HttpHandlerOptions,
236
- cb: (err: any, data?: GetAdapterVersionCommandOutput) => void
227
+ cb: (err: any, data?: GetAdapterVersionCommandOutput) => void,
237
228
  ): void;
238
229
  getDocumentAnalysis(
239
230
  args: GetDocumentAnalysisCommandInput,
240
- options?: __HttpHandlerOptions
231
+ options?: __HttpHandlerOptions,
241
232
  ): Promise<GetDocumentAnalysisCommandOutput>;
242
233
  getDocumentAnalysis(
243
234
  args: GetDocumentAnalysisCommandInput,
244
- cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void
235
+ cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void,
245
236
  ): void;
246
237
  getDocumentAnalysis(
247
238
  args: GetDocumentAnalysisCommandInput,
248
239
  options: __HttpHandlerOptions,
249
- cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void
240
+ cb: (err: any, data?: GetDocumentAnalysisCommandOutput) => void,
250
241
  ): void;
251
242
  getDocumentTextDetection(
252
243
  args: GetDocumentTextDetectionCommandInput,
253
- options?: __HttpHandlerOptions
244
+ options?: __HttpHandlerOptions,
254
245
  ): Promise<GetDocumentTextDetectionCommandOutput>;
255
246
  getDocumentTextDetection(
256
247
  args: GetDocumentTextDetectionCommandInput,
257
- cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void
248
+ cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void,
258
249
  ): void;
259
250
  getDocumentTextDetection(
260
251
  args: GetDocumentTextDetectionCommandInput,
261
252
  options: __HttpHandlerOptions,
262
- cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void
253
+ cb: (err: any, data?: GetDocumentTextDetectionCommandOutput) => void,
263
254
  ): void;
264
255
  getExpenseAnalysis(
265
256
  args: GetExpenseAnalysisCommandInput,
266
- options?: __HttpHandlerOptions
257
+ options?: __HttpHandlerOptions,
267
258
  ): Promise<GetExpenseAnalysisCommandOutput>;
268
259
  getExpenseAnalysis(
269
260
  args: GetExpenseAnalysisCommandInput,
270
- cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void
261
+ cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void,
271
262
  ): void;
272
263
  getExpenseAnalysis(
273
264
  args: GetExpenseAnalysisCommandInput,
274
265
  options: __HttpHandlerOptions,
275
- cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void
266
+ cb: (err: any, data?: GetExpenseAnalysisCommandOutput) => void,
276
267
  ): void;
277
268
  getLendingAnalysis(
278
269
  args: GetLendingAnalysisCommandInput,
279
- options?: __HttpHandlerOptions
270
+ options?: __HttpHandlerOptions,
280
271
  ): Promise<GetLendingAnalysisCommandOutput>;
281
272
  getLendingAnalysis(
282
273
  args: GetLendingAnalysisCommandInput,
283
- cb: (err: any, data?: GetLendingAnalysisCommandOutput) => void
274
+ cb: (err: any, data?: GetLendingAnalysisCommandOutput) => void,
284
275
  ): void;
285
276
  getLendingAnalysis(
286
277
  args: GetLendingAnalysisCommandInput,
287
278
  options: __HttpHandlerOptions,
288
- cb: (err: any, data?: GetLendingAnalysisCommandOutput) => void
279
+ cb: (err: any, data?: GetLendingAnalysisCommandOutput) => void,
289
280
  ): void;
290
281
  getLendingAnalysisSummary(
291
282
  args: GetLendingAnalysisSummaryCommandInput,
292
- options?: __HttpHandlerOptions
283
+ options?: __HttpHandlerOptions,
293
284
  ): Promise<GetLendingAnalysisSummaryCommandOutput>;
294
285
  getLendingAnalysisSummary(
295
286
  args: GetLendingAnalysisSummaryCommandInput,
296
- cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void
287
+ cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void,
297
288
  ): void;
298
289
  getLendingAnalysisSummary(
299
290
  args: GetLendingAnalysisSummaryCommandInput,
300
291
  options: __HttpHandlerOptions,
301
- cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void
292
+ cb: (err: any, data?: GetLendingAnalysisSummaryCommandOutput) => void,
302
293
  ): void;
303
294
  listAdapters(): Promise<ListAdaptersCommandOutput>;
304
295
  listAdapters(
305
296
  args: ListAdaptersCommandInput,
306
- options?: __HttpHandlerOptions
297
+ options?: __HttpHandlerOptions,
307
298
  ): Promise<ListAdaptersCommandOutput>;
308
299
  listAdapters(
309
300
  args: ListAdaptersCommandInput,
310
- cb: (err: any, data?: ListAdaptersCommandOutput) => void
301
+ cb: (err: any, data?: ListAdaptersCommandOutput) => void,
311
302
  ): void;
312
303
  listAdapters(
313
304
  args: ListAdaptersCommandInput,
314
305
  options: __HttpHandlerOptions,
315
- cb: (err: any, data?: ListAdaptersCommandOutput) => void
306
+ cb: (err: any, data?: ListAdaptersCommandOutput) => void,
316
307
  ): void;
317
308
  listAdapterVersions(): Promise<ListAdapterVersionsCommandOutput>;
318
309
  listAdapterVersions(
319
310
  args: ListAdapterVersionsCommandInput,
320
- options?: __HttpHandlerOptions
311
+ options?: __HttpHandlerOptions,
321
312
  ): Promise<ListAdapterVersionsCommandOutput>;
322
313
  listAdapterVersions(
323
314
  args: ListAdapterVersionsCommandInput,
324
- cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void
315
+ cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void,
325
316
  ): void;
326
317
  listAdapterVersions(
327
318
  args: ListAdapterVersionsCommandInput,
328
319
  options: __HttpHandlerOptions,
329
- cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void
320
+ cb: (err: any, data?: ListAdapterVersionsCommandOutput) => void,
330
321
  ): void;
331
322
  listTagsForResource(
332
323
  args: ListTagsForResourceCommandInput,
333
- options?: __HttpHandlerOptions
324
+ options?: __HttpHandlerOptions,
334
325
  ): Promise<ListTagsForResourceCommandOutput>;
335
326
  listTagsForResource(
336
327
  args: ListTagsForResourceCommandInput,
337
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
328
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
338
329
  ): void;
339
330
  listTagsForResource(
340
331
  args: ListTagsForResourceCommandInput,
341
332
  options: __HttpHandlerOptions,
342
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
333
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
343
334
  ): void;
344
335
  startDocumentAnalysis(
345
336
  args: StartDocumentAnalysisCommandInput,
346
- options?: __HttpHandlerOptions
337
+ options?: __HttpHandlerOptions,
347
338
  ): Promise<StartDocumentAnalysisCommandOutput>;
348
339
  startDocumentAnalysis(
349
340
  args: StartDocumentAnalysisCommandInput,
350
- cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void
341
+ cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void,
351
342
  ): void;
352
343
  startDocumentAnalysis(
353
344
  args: StartDocumentAnalysisCommandInput,
354
345
  options: __HttpHandlerOptions,
355
- cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void
346
+ cb: (err: any, data?: StartDocumentAnalysisCommandOutput) => void,
356
347
  ): void;
357
348
  startDocumentTextDetection(
358
349
  args: StartDocumentTextDetectionCommandInput,
359
- options?: __HttpHandlerOptions
350
+ options?: __HttpHandlerOptions,
360
351
  ): Promise<StartDocumentTextDetectionCommandOutput>;
361
352
  startDocumentTextDetection(
362
353
  args: StartDocumentTextDetectionCommandInput,
363
- cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void
354
+ cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void,
364
355
  ): void;
365
356
  startDocumentTextDetection(
366
357
  args: StartDocumentTextDetectionCommandInput,
367
358
  options: __HttpHandlerOptions,
368
- cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void
359
+ cb: (err: any, data?: StartDocumentTextDetectionCommandOutput) => void,
369
360
  ): void;
370
361
  startExpenseAnalysis(
371
362
  args: StartExpenseAnalysisCommandInput,
372
- options?: __HttpHandlerOptions
363
+ options?: __HttpHandlerOptions,
373
364
  ): Promise<StartExpenseAnalysisCommandOutput>;
374
365
  startExpenseAnalysis(
375
366
  args: StartExpenseAnalysisCommandInput,
376
- cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void
367
+ cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void,
377
368
  ): void;
378
369
  startExpenseAnalysis(
379
370
  args: StartExpenseAnalysisCommandInput,
380
371
  options: __HttpHandlerOptions,
381
- cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void
372
+ cb: (err: any, data?: StartExpenseAnalysisCommandOutput) => void,
382
373
  ): void;
383
374
  startLendingAnalysis(
384
375
  args: StartLendingAnalysisCommandInput,
385
- options?: __HttpHandlerOptions
376
+ options?: __HttpHandlerOptions,
386
377
  ): Promise<StartLendingAnalysisCommandOutput>;
387
378
  startLendingAnalysis(
388
379
  args: StartLendingAnalysisCommandInput,
389
- cb: (err: any, data?: StartLendingAnalysisCommandOutput) => void
380
+ cb: (err: any, data?: StartLendingAnalysisCommandOutput) => void,
390
381
  ): void;
391
382
  startLendingAnalysis(
392
383
  args: StartLendingAnalysisCommandInput,
393
384
  options: __HttpHandlerOptions,
394
- cb: (err: any, data?: StartLendingAnalysisCommandOutput) => void
385
+ cb: (err: any, data?: StartLendingAnalysisCommandOutput) => void,
395
386
  ): void;
396
387
  tagResource(
397
388
  args: TagResourceCommandInput,
398
- options?: __HttpHandlerOptions
389
+ options?: __HttpHandlerOptions,
399
390
  ): Promise<TagResourceCommandOutput>;
400
391
  tagResource(
401
392
  args: TagResourceCommandInput,
402
- cb: (err: any, data?: TagResourceCommandOutput) => void
393
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
403
394
  ): void;
404
395
  tagResource(
405
396
  args: TagResourceCommandInput,
406
397
  options: __HttpHandlerOptions,
407
- cb: (err: any, data?: TagResourceCommandOutput) => void
398
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
408
399
  ): void;
409
400
  untagResource(
410
401
  args: UntagResourceCommandInput,
411
- options?: __HttpHandlerOptions
402
+ options?: __HttpHandlerOptions,
412
403
  ): Promise<UntagResourceCommandOutput>;
413
404
  untagResource(
414
405
  args: UntagResourceCommandInput,
415
- cb: (err: any, data?: UntagResourceCommandOutput) => void
406
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
416
407
  ): void;
417
408
  untagResource(
418
409
  args: UntagResourceCommandInput,
419
410
  options: __HttpHandlerOptions,
420
- cb: (err: any, data?: UntagResourceCommandOutput) => void
411
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
421
412
  ): void;
422
413
  updateAdapter(
423
414
  args: UpdateAdapterCommandInput,
424
- options?: __HttpHandlerOptions
415
+ options?: __HttpHandlerOptions,
425
416
  ): Promise<UpdateAdapterCommandOutput>;
426
417
  updateAdapter(
427
418
  args: UpdateAdapterCommandInput,
428
- cb: (err: any, data?: UpdateAdapterCommandOutput) => void
419
+ cb: (err: any, data?: UpdateAdapterCommandOutput) => void,
429
420
  ): void;
430
421
  updateAdapter(
431
422
  args: UpdateAdapterCommandInput,
432
423
  options: __HttpHandlerOptions,
433
- cb: (err: any, data?: UpdateAdapterCommandOutput) => void
424
+ cb: (err: any, data?: UpdateAdapterCommandOutput) => void,
434
425
  ): void;
435
426
  paginateListAdapters(
436
427
  args?: ListAdaptersCommandInput,
437
428
  paginationConfig?: Pick<
438
429
  PaginationConfiguration,
439
430
  Exclude<keyof PaginationConfiguration, "client">
440
- >
431
+ >,
441
432
  ): Paginator<ListAdaptersCommandOutput>;
442
433
  paginateListAdapterVersions(
443
434
  args?: ListAdapterVersionsCommandInput,
444
435
  paginationConfig?: Pick<
445
436
  PaginationConfiguration,
446
437
  Exclude<keyof PaginationConfiguration, "client">
447
- >
438
+ >,
448
439
  ): Paginator<ListAdapterVersionsCommandOutput>;
449
440
  }
450
441
  export declare class Textract extends TextractClient implements Textract {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -44,10 +41,7 @@ import {
44
41
  AnalyzeExpenseCommandInput,
45
42
  AnalyzeExpenseCommandOutput,
46
43
  } from "./commands/AnalyzeExpenseCommand";
47
- import {
48
- AnalyzeIDCommandInput,
49
- AnalyzeIDCommandOutput,
50
- } from "./commands/AnalyzeIDCommand";
44
+ import { AnalyzeIDCommandInput, AnalyzeIDCommandOutput } from "./commands/AnalyzeIDCommand";
51
45
  import {
52
46
  CreateAdapterCommandInput,
53
47
  CreateAdapterCommandOutput,
@@ -68,10 +62,7 @@ import {
68
62
  DetectDocumentTextCommandInput,
69
63
  DetectDocumentTextCommandOutput,
70
64
  } from "./commands/DetectDocumentTextCommand";
71
- import {
72
- GetAdapterCommandInput,
73
- GetAdapterCommandOutput,
74
- } from "./commands/GetAdapterCommand";
65
+ import { GetAdapterCommandInput, GetAdapterCommandOutput } from "./commands/GetAdapterCommand";
75
66
  import {
76
67
  GetAdapterVersionCommandInput,
77
68
  GetAdapterVersionCommandOutput,
@@ -124,10 +115,7 @@ import {
124
115
  StartLendingAnalysisCommandInput,
125
116
  StartLendingAnalysisCommandOutput,
126
117
  } from "./commands/StartLendingAnalysisCommand";
127
- import {
128
- TagResourceCommandInput,
129
- TagResourceCommandOutput,
130
- } from "./commands/TagResourceCommand";
118
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
131
119
  import {
132
120
  UntagResourceCommandInput,
133
121
  UntagResourceCommandOutput,
@@ -195,8 +183,7 @@ export type ServiceOutputTypes =
195
183
  | TagResourceCommandOutput
196
184
  | UntagResourceCommandOutput
197
185
  | UpdateAdapterCommandOutput;
198
- export interface ClientDefaults
199
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
186
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
200
187
  requestHandler?: __HttpHandlerUserInput;
201
188
  sha256?: __ChecksumConstructor | __HashConstructor;
202
189
  urlParser?: __UrlParser;
@@ -221,9 +208,7 @@ export interface ClientDefaults
221
208
  extensions?: RuntimeExtension[];
222
209
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
223
210
  }
224
- export type TextractClientConfigType = Partial<
225
- __SmithyConfiguration<__HttpHandlerOptions>
226
- > &
211
+ export type TextractClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
227
212
  ClientDefaults &
228
213
  UserAgentInputConfig &
229
214
  RetryInputConfig &
@@ -233,19 +218,17 @@ export type TextractClientConfigType = Partial<
233
218
  HttpAuthSchemeInputConfig &
234
219
  ClientInputEndpointParameters;
235
220
  export interface TextractClientConfig extends TextractClientConfigType {}
236
- export type TextractClientResolvedConfigType =
237
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
238
- Required<ClientDefaults> &
239
- RuntimeExtensionsConfig &
240
- UserAgentResolvedConfig &
241
- RetryResolvedConfig &
242
- RegionResolvedConfig &
243
- HostHeaderResolvedConfig &
244
- EndpointResolvedConfig<EndpointParameters> &
245
- HttpAuthSchemeResolvedConfig &
246
- ClientResolvedEndpointParameters;
247
- export interface TextractClientResolvedConfig
248
- extends TextractClientResolvedConfigType {}
221
+ export type TextractClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
222
+ Required<ClientDefaults> &
223
+ RuntimeExtensionsConfig &
224
+ UserAgentResolvedConfig &
225
+ RetryResolvedConfig &
226
+ RegionResolvedConfig &
227
+ HostHeaderResolvedConfig &
228
+ EndpointResolvedConfig<EndpointParameters> &
229
+ HttpAuthSchemeResolvedConfig &
230
+ ClientResolvedEndpointParameters;
231
+ export interface TextractClientResolvedConfig extends TextractClientResolvedConfigType {}
249
232
  export declare class TextractClient extends __Client<
250
233
  __HttpHandlerOptions,
251
234
  ServiceInputTypes,
@@ -253,8 +236,6 @@ export declare class TextractClient extends __Client<
253
236
  TextractClientResolvedConfig
254
237
  > {
255
238
  readonly config: TextractClientResolvedConfig;
256
- constructor(
257
- ...[configuration]: __CheckOptionalClientConfig<TextractClientConfig>
258
- );
239
+ constructor(...[configuration]: __CheckOptionalClientConfig<TextractClientConfig>);
259
240
  destroy(): void;
260
241
  }
@@ -7,17 +7,10 @@ import { TextractHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: TextractHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: TextractHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): TextractHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { TextractClientResolvedConfig } from "../TextractClient";
15
- export interface TextractHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface TextractHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface TextractHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- TextractClientResolvedConfig,
22
- HandlerExecutionContext,
23
- TextractHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface TextractHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ TextractClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ TextractHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultTextractHttpAuthSchemeParametersProvider: (
27
25
  config: TextractClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<TextractHttpAuthSchemeParameters>;
31
- export interface TextractHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<TextractHttpAuthSchemeParameters> {}
29
+ export interface TextractHttpAuthSchemeProvider extends HttpAuthSchemeProvider<TextractHttpAuthSchemeParameters> {}
33
30
  export declare const defaultTextractHttpAuthSchemeProvider: TextractHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: TextractHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: TextractHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;