@aws-sdk/client-workdocs 3.716.0 → 3.723.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +375 -267
- package/dist-es/WorkDocsClient.js +1 -0
- package/dist-es/models/models_0.js +78 -50
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class WorkDocsClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -1,94 +1,103 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
|
|
3
3
|
export class ConcurrentModificationException extends __BaseException {
|
|
4
|
+
name = "ConcurrentModificationException";
|
|
5
|
+
$fault = "client";
|
|
6
|
+
Message;
|
|
4
7
|
constructor(opts) {
|
|
5
8
|
super({
|
|
6
9
|
name: "ConcurrentModificationException",
|
|
7
10
|
$fault: "client",
|
|
8
11
|
...opts,
|
|
9
12
|
});
|
|
10
|
-
this.name = "ConcurrentModificationException";
|
|
11
|
-
this.$fault = "client";
|
|
12
13
|
Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
|
|
13
14
|
this.Message = opts.Message;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class EntityNotExistsException extends __BaseException {
|
|
18
|
+
name = "EntityNotExistsException";
|
|
19
|
+
$fault = "client";
|
|
20
|
+
Message;
|
|
21
|
+
EntityIds;
|
|
17
22
|
constructor(opts) {
|
|
18
23
|
super({
|
|
19
24
|
name: "EntityNotExistsException",
|
|
20
25
|
$fault: "client",
|
|
21
26
|
...opts,
|
|
22
27
|
});
|
|
23
|
-
this.name = "EntityNotExistsException";
|
|
24
|
-
this.$fault = "client";
|
|
25
28
|
Object.setPrototypeOf(this, EntityNotExistsException.prototype);
|
|
26
29
|
this.Message = opts.Message;
|
|
27
30
|
this.EntityIds = opts.EntityIds;
|
|
28
31
|
}
|
|
29
32
|
}
|
|
30
33
|
export class FailedDependencyException extends __BaseException {
|
|
34
|
+
name = "FailedDependencyException";
|
|
35
|
+
$fault = "client";
|
|
36
|
+
Message;
|
|
31
37
|
constructor(opts) {
|
|
32
38
|
super({
|
|
33
39
|
name: "FailedDependencyException",
|
|
34
40
|
$fault: "client",
|
|
35
41
|
...opts,
|
|
36
42
|
});
|
|
37
|
-
this.name = "FailedDependencyException";
|
|
38
|
-
this.$fault = "client";
|
|
39
43
|
Object.setPrototypeOf(this, FailedDependencyException.prototype);
|
|
40
44
|
this.Message = opts.Message;
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
47
|
export class ProhibitedStateException extends __BaseException {
|
|
48
|
+
name = "ProhibitedStateException";
|
|
49
|
+
$fault = "client";
|
|
50
|
+
Message;
|
|
44
51
|
constructor(opts) {
|
|
45
52
|
super({
|
|
46
53
|
name: "ProhibitedStateException",
|
|
47
54
|
$fault: "client",
|
|
48
55
|
...opts,
|
|
49
56
|
});
|
|
50
|
-
this.name = "ProhibitedStateException";
|
|
51
|
-
this.$fault = "client";
|
|
52
57
|
Object.setPrototypeOf(this, ProhibitedStateException.prototype);
|
|
53
58
|
this.Message = opts.Message;
|
|
54
59
|
}
|
|
55
60
|
}
|
|
56
61
|
export class ServiceUnavailableException extends __BaseException {
|
|
62
|
+
name = "ServiceUnavailableException";
|
|
63
|
+
$fault = "server";
|
|
64
|
+
Message;
|
|
57
65
|
constructor(opts) {
|
|
58
66
|
super({
|
|
59
67
|
name: "ServiceUnavailableException",
|
|
60
68
|
$fault: "server",
|
|
61
69
|
...opts,
|
|
62
70
|
});
|
|
63
|
-
this.name = "ServiceUnavailableException";
|
|
64
|
-
this.$fault = "server";
|
|
65
71
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
66
72
|
this.Message = opts.Message;
|
|
67
73
|
}
|
|
68
74
|
}
|
|
69
75
|
export class UnauthorizedOperationException extends __BaseException {
|
|
76
|
+
name = "UnauthorizedOperationException";
|
|
77
|
+
$fault = "client";
|
|
78
|
+
Message;
|
|
79
|
+
Code;
|
|
70
80
|
constructor(opts) {
|
|
71
81
|
super({
|
|
72
82
|
name: "UnauthorizedOperationException",
|
|
73
83
|
$fault: "client",
|
|
74
84
|
...opts,
|
|
75
85
|
});
|
|
76
|
-
this.name = "UnauthorizedOperationException";
|
|
77
|
-
this.$fault = "client";
|
|
78
86
|
Object.setPrototypeOf(this, UnauthorizedOperationException.prototype);
|
|
79
87
|
this.Message = opts.Message;
|
|
80
88
|
this.Code = opts.Code;
|
|
81
89
|
}
|
|
82
90
|
}
|
|
83
91
|
export class UnauthorizedResourceAccessException extends __BaseException {
|
|
92
|
+
name = "UnauthorizedResourceAccessException";
|
|
93
|
+
$fault = "client";
|
|
94
|
+
Message;
|
|
84
95
|
constructor(opts) {
|
|
85
96
|
super({
|
|
86
97
|
name: "UnauthorizedResourceAccessException",
|
|
87
98
|
$fault: "client",
|
|
88
99
|
...opts,
|
|
89
100
|
});
|
|
90
|
-
this.name = "UnauthorizedResourceAccessException";
|
|
91
|
-
this.$fault = "client";
|
|
92
101
|
Object.setPrototypeOf(this, UnauthorizedResourceAccessException.prototype);
|
|
93
102
|
this.Message = opts.Message;
|
|
94
103
|
}
|
|
@@ -191,53 +200,57 @@ export const CommentVisibilityType = {
|
|
|
191
200
|
PUBLIC: "PUBLIC",
|
|
192
201
|
};
|
|
193
202
|
export class DocumentLockedForCommentsException extends __BaseException {
|
|
203
|
+
name = "DocumentLockedForCommentsException";
|
|
204
|
+
$fault = "client";
|
|
205
|
+
Message;
|
|
194
206
|
constructor(opts) {
|
|
195
207
|
super({
|
|
196
208
|
name: "DocumentLockedForCommentsException",
|
|
197
209
|
$fault: "client",
|
|
198
210
|
...opts,
|
|
199
211
|
});
|
|
200
|
-
this.name = "DocumentLockedForCommentsException";
|
|
201
|
-
this.$fault = "client";
|
|
202
212
|
Object.setPrototypeOf(this, DocumentLockedForCommentsException.prototype);
|
|
203
213
|
this.Message = opts.Message;
|
|
204
214
|
}
|
|
205
215
|
}
|
|
206
216
|
export class InvalidCommentOperationException extends __BaseException {
|
|
217
|
+
name = "InvalidCommentOperationException";
|
|
218
|
+
$fault = "client";
|
|
219
|
+
Message;
|
|
207
220
|
constructor(opts) {
|
|
208
221
|
super({
|
|
209
222
|
name: "InvalidCommentOperationException",
|
|
210
223
|
$fault: "client",
|
|
211
224
|
...opts,
|
|
212
225
|
});
|
|
213
|
-
this.name = "InvalidCommentOperationException";
|
|
214
|
-
this.$fault = "client";
|
|
215
226
|
Object.setPrototypeOf(this, InvalidCommentOperationException.prototype);
|
|
216
227
|
this.Message = opts.Message;
|
|
217
228
|
}
|
|
218
229
|
}
|
|
219
230
|
export class CustomMetadataLimitExceededException extends __BaseException {
|
|
231
|
+
name = "CustomMetadataLimitExceededException";
|
|
232
|
+
$fault = "client";
|
|
233
|
+
Message;
|
|
220
234
|
constructor(opts) {
|
|
221
235
|
super({
|
|
222
236
|
name: "CustomMetadataLimitExceededException",
|
|
223
237
|
$fault: "client",
|
|
224
238
|
...opts,
|
|
225
239
|
});
|
|
226
|
-
this.name = "CustomMetadataLimitExceededException";
|
|
227
|
-
this.$fault = "client";
|
|
228
240
|
Object.setPrototypeOf(this, CustomMetadataLimitExceededException.prototype);
|
|
229
241
|
this.Message = opts.Message;
|
|
230
242
|
}
|
|
231
243
|
}
|
|
232
244
|
export class ConflictingOperationException extends __BaseException {
|
|
245
|
+
name = "ConflictingOperationException";
|
|
246
|
+
$fault = "client";
|
|
247
|
+
Message;
|
|
233
248
|
constructor(opts) {
|
|
234
249
|
super({
|
|
235
250
|
name: "ConflictingOperationException",
|
|
236
251
|
$fault: "client",
|
|
237
252
|
...opts,
|
|
238
253
|
});
|
|
239
|
-
this.name = "ConflictingOperationException";
|
|
240
|
-
this.$fault = "client";
|
|
241
254
|
Object.setPrototypeOf(this, ConflictingOperationException.prototype);
|
|
242
255
|
this.Message = opts.Message;
|
|
243
256
|
}
|
|
@@ -249,40 +262,43 @@ export const ResourceStateType = {
|
|
|
249
262
|
RESTORING: "RESTORING",
|
|
250
263
|
};
|
|
251
264
|
export class EntityAlreadyExistsException extends __BaseException {
|
|
265
|
+
name = "EntityAlreadyExistsException";
|
|
266
|
+
$fault = "client";
|
|
267
|
+
Message;
|
|
252
268
|
constructor(opts) {
|
|
253
269
|
super({
|
|
254
270
|
name: "EntityAlreadyExistsException",
|
|
255
271
|
$fault: "client",
|
|
256
272
|
...opts,
|
|
257
273
|
});
|
|
258
|
-
this.name = "EntityAlreadyExistsException";
|
|
259
|
-
this.$fault = "client";
|
|
260
274
|
Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
|
|
261
275
|
this.Message = opts.Message;
|
|
262
276
|
}
|
|
263
277
|
}
|
|
264
278
|
export class LimitExceededException extends __BaseException {
|
|
279
|
+
name = "LimitExceededException";
|
|
280
|
+
$fault = "client";
|
|
281
|
+
Message;
|
|
265
282
|
constructor(opts) {
|
|
266
283
|
super({
|
|
267
284
|
name: "LimitExceededException",
|
|
268
285
|
$fault: "client",
|
|
269
286
|
...opts,
|
|
270
287
|
});
|
|
271
|
-
this.name = "LimitExceededException";
|
|
272
|
-
this.$fault = "client";
|
|
273
288
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
274
289
|
this.Message = opts.Message;
|
|
275
290
|
}
|
|
276
291
|
}
|
|
277
292
|
export class TooManyLabelsException extends __BaseException {
|
|
293
|
+
name = "TooManyLabelsException";
|
|
294
|
+
$fault = "client";
|
|
295
|
+
Message;
|
|
278
296
|
constructor(opts) {
|
|
279
297
|
super({
|
|
280
298
|
name: "TooManyLabelsException",
|
|
281
299
|
$fault: "client",
|
|
282
300
|
...opts,
|
|
283
301
|
});
|
|
284
|
-
this.name = "TooManyLabelsException";
|
|
285
|
-
this.$fault = "client";
|
|
286
302
|
Object.setPrototypeOf(this, TooManyLabelsException.prototype);
|
|
287
303
|
this.Message = opts.Message;
|
|
288
304
|
}
|
|
@@ -295,40 +311,43 @@ export const SubscriptionType = {
|
|
|
295
311
|
ALL: "ALL",
|
|
296
312
|
};
|
|
297
313
|
export class InvalidArgumentException extends __BaseException {
|
|
314
|
+
name = "InvalidArgumentException";
|
|
315
|
+
$fault = "client";
|
|
316
|
+
Message;
|
|
298
317
|
constructor(opts) {
|
|
299
318
|
super({
|
|
300
319
|
name: "InvalidArgumentException",
|
|
301
320
|
$fault: "client",
|
|
302
321
|
...opts,
|
|
303
322
|
});
|
|
304
|
-
this.name = "InvalidArgumentException";
|
|
305
|
-
this.$fault = "client";
|
|
306
323
|
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
307
324
|
this.Message = opts.Message;
|
|
308
325
|
}
|
|
309
326
|
}
|
|
310
327
|
export class TooManySubscriptionsException extends __BaseException {
|
|
328
|
+
name = "TooManySubscriptionsException";
|
|
329
|
+
$fault = "client";
|
|
330
|
+
Message;
|
|
311
331
|
constructor(opts) {
|
|
312
332
|
super({
|
|
313
333
|
name: "TooManySubscriptionsException",
|
|
314
334
|
$fault: "client",
|
|
315
335
|
...opts,
|
|
316
336
|
});
|
|
317
|
-
this.name = "TooManySubscriptionsException";
|
|
318
|
-
this.$fault = "client";
|
|
319
337
|
Object.setPrototypeOf(this, TooManySubscriptionsException.prototype);
|
|
320
338
|
this.Message = opts.Message;
|
|
321
339
|
}
|
|
322
340
|
}
|
|
323
341
|
export class InvalidOperationException extends __BaseException {
|
|
342
|
+
name = "InvalidOperationException";
|
|
343
|
+
$fault = "client";
|
|
344
|
+
Message;
|
|
324
345
|
constructor(opts) {
|
|
325
346
|
super({
|
|
326
347
|
name: "InvalidOperationException",
|
|
327
348
|
$fault: "client",
|
|
328
349
|
...opts,
|
|
329
350
|
});
|
|
330
|
-
this.name = "InvalidOperationException";
|
|
331
|
-
this.$fault = "client";
|
|
332
351
|
Object.setPrototypeOf(this, InvalidOperationException.prototype);
|
|
333
352
|
this.Message = opts.Message;
|
|
334
353
|
}
|
|
@@ -347,14 +366,15 @@ export const DocumentThumbnailType = {
|
|
|
347
366
|
SMALL_HQ: "SMALL_HQ",
|
|
348
367
|
};
|
|
349
368
|
export class InvalidPasswordException extends __BaseException {
|
|
369
|
+
name = "InvalidPasswordException";
|
|
370
|
+
$fault = "client";
|
|
371
|
+
Message;
|
|
350
372
|
constructor(opts) {
|
|
351
373
|
super({
|
|
352
374
|
name: "InvalidPasswordException",
|
|
353
375
|
$fault: "client",
|
|
354
376
|
...opts,
|
|
355
377
|
});
|
|
356
|
-
this.name = "InvalidPasswordException";
|
|
357
|
-
this.$fault = "client";
|
|
358
378
|
Object.setPrototypeOf(this, InvalidPasswordException.prototype);
|
|
359
379
|
this.Message = opts.Message;
|
|
360
380
|
}
|
|
@@ -388,14 +408,15 @@ export const UserSortType = {
|
|
|
388
408
|
USER_STATUS: "USER_STATUS",
|
|
389
409
|
};
|
|
390
410
|
export class RequestedEntityTooLargeException extends __BaseException {
|
|
411
|
+
name = "RequestedEntityTooLargeException";
|
|
412
|
+
$fault = "client";
|
|
413
|
+
Message;
|
|
391
414
|
constructor(opts) {
|
|
392
415
|
super({
|
|
393
416
|
name: "RequestedEntityTooLargeException",
|
|
394
417
|
$fault: "client",
|
|
395
418
|
...opts,
|
|
396
419
|
});
|
|
397
|
-
this.name = "RequestedEntityTooLargeException";
|
|
398
|
-
this.$fault = "client";
|
|
399
420
|
Object.setPrototypeOf(this, RequestedEntityTooLargeException.prototype);
|
|
400
421
|
this.Message = opts.Message;
|
|
401
422
|
}
|
|
@@ -404,53 +425,57 @@ export const ResourceCollectionType = {
|
|
|
404
425
|
SHARED_WITH_ME: "SHARED_WITH_ME",
|
|
405
426
|
};
|
|
406
427
|
export class DraftUploadOutOfSyncException extends __BaseException {
|
|
428
|
+
name = "DraftUploadOutOfSyncException";
|
|
429
|
+
$fault = "client";
|
|
430
|
+
Message;
|
|
407
431
|
constructor(opts) {
|
|
408
432
|
super({
|
|
409
433
|
name: "DraftUploadOutOfSyncException",
|
|
410
434
|
$fault: "client",
|
|
411
435
|
...opts,
|
|
412
436
|
});
|
|
413
|
-
this.name = "DraftUploadOutOfSyncException";
|
|
414
|
-
this.$fault = "client";
|
|
415
437
|
Object.setPrototypeOf(this, DraftUploadOutOfSyncException.prototype);
|
|
416
438
|
this.Message = opts.Message;
|
|
417
439
|
}
|
|
418
440
|
}
|
|
419
441
|
export class ResourceAlreadyCheckedOutException extends __BaseException {
|
|
442
|
+
name = "ResourceAlreadyCheckedOutException";
|
|
443
|
+
$fault = "client";
|
|
444
|
+
Message;
|
|
420
445
|
constructor(opts) {
|
|
421
446
|
super({
|
|
422
447
|
name: "ResourceAlreadyCheckedOutException",
|
|
423
448
|
$fault: "client",
|
|
424
449
|
...opts,
|
|
425
450
|
});
|
|
426
|
-
this.name = "ResourceAlreadyCheckedOutException";
|
|
427
|
-
this.$fault = "client";
|
|
428
451
|
Object.setPrototypeOf(this, ResourceAlreadyCheckedOutException.prototype);
|
|
429
452
|
this.Message = opts.Message;
|
|
430
453
|
}
|
|
431
454
|
}
|
|
432
455
|
export class StorageLimitExceededException extends __BaseException {
|
|
456
|
+
name = "StorageLimitExceededException";
|
|
457
|
+
$fault = "client";
|
|
458
|
+
Message;
|
|
433
459
|
constructor(opts) {
|
|
434
460
|
super({
|
|
435
461
|
name: "StorageLimitExceededException",
|
|
436
462
|
$fault: "client",
|
|
437
463
|
...opts,
|
|
438
464
|
});
|
|
439
|
-
this.name = "StorageLimitExceededException";
|
|
440
|
-
this.$fault = "client";
|
|
441
465
|
Object.setPrototypeOf(this, StorageLimitExceededException.prototype);
|
|
442
466
|
this.Message = opts.Message;
|
|
443
467
|
}
|
|
444
468
|
}
|
|
445
469
|
export class StorageLimitWillExceedException extends __BaseException {
|
|
470
|
+
name = "StorageLimitWillExceedException";
|
|
471
|
+
$fault = "client";
|
|
472
|
+
Message;
|
|
446
473
|
constructor(opts) {
|
|
447
474
|
super({
|
|
448
475
|
name: "StorageLimitWillExceedException",
|
|
449
476
|
$fault: "client",
|
|
450
477
|
...opts,
|
|
451
478
|
});
|
|
452
|
-
this.name = "StorageLimitWillExceedException";
|
|
453
|
-
this.$fault = "client";
|
|
454
479
|
Object.setPrototypeOf(this, StorageLimitWillExceedException.prototype);
|
|
455
480
|
this.Message = opts.Message;
|
|
456
481
|
}
|
|
@@ -540,28 +565,31 @@ export const DocumentVersionStatus = {
|
|
|
540
565
|
ACTIVE: "ACTIVE",
|
|
541
566
|
};
|
|
542
567
|
export class DeactivatingLastSystemUserException extends __BaseException {
|
|
568
|
+
name = "DeactivatingLastSystemUserException";
|
|
569
|
+
$fault = "client";
|
|
570
|
+
Message;
|
|
571
|
+
Code;
|
|
543
572
|
constructor(opts) {
|
|
544
573
|
super({
|
|
545
574
|
name: "DeactivatingLastSystemUserException",
|
|
546
575
|
$fault: "client",
|
|
547
576
|
...opts,
|
|
548
577
|
});
|
|
549
|
-
this.name = "DeactivatingLastSystemUserException";
|
|
550
|
-
this.$fault = "client";
|
|
551
578
|
Object.setPrototypeOf(this, DeactivatingLastSystemUserException.prototype);
|
|
552
579
|
this.Message = opts.Message;
|
|
553
580
|
this.Code = opts.Code;
|
|
554
581
|
}
|
|
555
582
|
}
|
|
556
583
|
export class IllegalUserStateException extends __BaseException {
|
|
584
|
+
name = "IllegalUserStateException";
|
|
585
|
+
$fault = "client";
|
|
586
|
+
Message;
|
|
557
587
|
constructor(opts) {
|
|
558
588
|
super({
|
|
559
589
|
name: "IllegalUserStateException",
|
|
560
590
|
$fault: "client",
|
|
561
591
|
...opts,
|
|
562
592
|
});
|
|
563
|
-
this.name = "IllegalUserStateException";
|
|
564
|
-
this.$fault = "client";
|
|
565
593
|
Object.setPrototypeOf(this, IllegalUserStateException.prototype);
|
|
566
594
|
this.Message = opts.Message;
|
|
567
595
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: WorkDocsClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-workdocs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Workdocs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-workdocs",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|