@aws-sdk/client-workdocs 3.296.0 → 3.298.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/commands/AbortDocumentVersionUploadCommand.js +1 -1
- package/dist-cjs/commands/CreateCustomMetadataCommand.js +1 -1
- package/dist-cjs/commands/CreateLabelsCommand.js +1 -1
- package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +2 -3
- package/dist-cjs/commands/DeactivateUserCommand.js +1 -1
- package/dist-cjs/commands/DeleteCommentCommand.js +1 -1
- package/dist-cjs/commands/DeleteCustomMetadataCommand.js +1 -1
- package/dist-cjs/commands/DeleteDocumentCommand.js +1 -1
- package/dist-cjs/commands/DeleteDocumentVersionCommand.js +1 -1
- package/dist-cjs/commands/DeleteFolderCommand.js +1 -1
- package/dist-cjs/commands/DeleteFolderContentsCommand.js +1 -1
- package/dist-cjs/commands/DeleteLabelsCommand.js +1 -1
- package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +2 -3
- package/dist-cjs/commands/DeleteUserCommand.js +1 -1
- package/dist-cjs/commands/DescribeGroupsCommand.js +1 -1
- package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +2 -3
- package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +1 -1
- package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +1 -1
- package/dist-cjs/commands/RemoveResourcePermissionCommand.js +1 -1
- package/dist-cjs/commands/RestoreDocumentVersionsCommand.js +1 -1
- package/dist-cjs/commands/UpdateDocumentCommand.js +1 -1
- package/dist-cjs/commands/UpdateDocumentVersionCommand.js +1 -1
- package/dist-cjs/commands/UpdateFolderCommand.js +1 -1
- package/dist-cjs/models/models_0.js +2 -95
- package/dist-es/commands/AbortDocumentVersionUploadCommand.js +1 -1
- package/dist-es/commands/CreateCustomMetadataCommand.js +2 -2
- package/dist-es/commands/CreateLabelsCommand.js +2 -2
- package/dist-es/commands/CreateNotificationSubscriptionCommand.js +2 -3
- package/dist-es/commands/DeactivateUserCommand.js +1 -1
- package/dist-es/commands/DeleteCommentCommand.js +1 -1
- package/dist-es/commands/DeleteCustomMetadataCommand.js +2 -2
- package/dist-es/commands/DeleteDocumentCommand.js +1 -1
- package/dist-es/commands/DeleteDocumentVersionCommand.js +1 -1
- package/dist-es/commands/DeleteFolderCommand.js +1 -1
- package/dist-es/commands/DeleteFolderContentsCommand.js +1 -1
- package/dist-es/commands/DeleteLabelsCommand.js +2 -2
- package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +2 -3
- package/dist-es/commands/DeleteUserCommand.js +1 -1
- package/dist-es/commands/DescribeGroupsCommand.js +2 -2
- package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +2 -3
- package/dist-es/commands/DescribeResourcePermissionsCommand.js +2 -2
- package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +1 -1
- package/dist-es/commands/RemoveResourcePermissionCommand.js +1 -1
- package/dist-es/commands/RestoreDocumentVersionsCommand.js +1 -1
- package/dist-es/commands/UpdateDocumentCommand.js +1 -1
- package/dist-es/commands/UpdateDocumentVersionCommand.js +1 -1
- package/dist-es/commands/UpdateFolderCommand.js +1 -1
- package/dist-es/models/models_0.js +0 -69
- package/dist-types/WorkDocs.d.ts +45 -0
- package/dist-types/WorkDocsClient.d.ts +24 -4
- package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +16 -0
- package/dist-types/commands/ActivateUserCommand.d.ts +16 -0
- package/dist-types/commands/AddResourcePermissionsCommand.d.ts +16 -0
- package/dist-types/commands/CreateCommentCommand.d.ts +16 -0
- package/dist-types/commands/CreateCustomMetadataCommand.d.ts +16 -0
- package/dist-types/commands/CreateFolderCommand.d.ts +16 -0
- package/dist-types/commands/CreateLabelsCommand.d.ts +16 -0
- package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +16 -0
- package/dist-types/commands/CreateUserCommand.d.ts +16 -0
- package/dist-types/commands/DeactivateUserCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCommentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDocumentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFolderCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFolderContentsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteLabelsCommand.d.ts +16 -0
- package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUserCommand.d.ts +16 -0
- package/dist-types/commands/DescribeActivitiesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCommentsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeFolderContentsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeGroupsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeRootFoldersCommand.d.ts +16 -0
- package/dist-types/commands/DescribeUsersCommand.d.ts +16 -0
- package/dist-types/commands/GetCurrentUserCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentPathCommand.d.ts +16 -0
- package/dist-types/commands/GetDocumentVersionCommand.d.ts +16 -0
- package/dist-types/commands/GetFolderCommand.d.ts +16 -0
- package/dist-types/commands/GetFolderPathCommand.d.ts +16 -0
- package/dist-types/commands/GetResourcesCommand.d.ts +16 -0
- package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +16 -0
- package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +16 -0
- package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +16 -0
- package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +16 -0
- package/dist-types/commands/SearchResourcesCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDocumentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateFolderCommand.d.ts +16 -0
- package/dist-types/commands/UpdateUserCommand.d.ts +16 -0
- package/dist-types/models/WorkDocsServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +380 -92
- package/dist-types/pagination/DescribeActivitiesPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeCommentsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeDocumentVersionsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeFolderContentsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeGroupsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeNotificationSubscriptionsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeResourcePermissionsPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeRootFoldersPaginator.d.ts +3 -0
- package/dist-types/pagination/DescribeUsersPaginator.d.ts +3 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/SearchResourcesPaginator.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -63
- package/package.json +4 -3
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface AbortDocumentVersionUploadRequest {
|
|
4
7
|
/**
|
|
5
8
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -15,6 +18,7 @@ export interface AbortDocumentVersionUploadRequest {
|
|
|
15
18
|
VersionId: string | undefined;
|
|
16
19
|
}
|
|
17
20
|
/**
|
|
21
|
+
* @public
|
|
18
22
|
* <p>The resource hierarchy is changing.</p>
|
|
19
23
|
*/
|
|
20
24
|
export declare class ConcurrentModificationException extends __BaseException {
|
|
@@ -27,6 +31,7 @@ export declare class ConcurrentModificationException extends __BaseException {
|
|
|
27
31
|
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
28
32
|
}
|
|
29
33
|
/**
|
|
34
|
+
* @public
|
|
30
35
|
* <p>The resource does not exist.</p>
|
|
31
36
|
*/
|
|
32
37
|
export declare class EntityNotExistsException extends __BaseException {
|
|
@@ -43,6 +48,7 @@ export declare class EntityNotExistsException extends __BaseException {
|
|
|
43
48
|
constructor(opts: __ExceptionOptionType<EntityNotExistsException, __BaseException>);
|
|
44
49
|
}
|
|
45
50
|
/**
|
|
51
|
+
* @public
|
|
46
52
|
* <p>The Directory Service cannot reach an on-premises instance. Or a dependency
|
|
47
53
|
* under the control of the organization is failing, such as a connected Active
|
|
48
54
|
* Directory.</p>
|
|
@@ -57,6 +63,7 @@ export declare class FailedDependencyException extends __BaseException {
|
|
|
57
63
|
constructor(opts: __ExceptionOptionType<FailedDependencyException, __BaseException>);
|
|
58
64
|
}
|
|
59
65
|
/**
|
|
66
|
+
* @public
|
|
60
67
|
* <p>The specified document version is not in the INITIALIZED state.</p>
|
|
61
68
|
*/
|
|
62
69
|
export declare class ProhibitedStateException extends __BaseException {
|
|
@@ -69,6 +76,7 @@ export declare class ProhibitedStateException extends __BaseException {
|
|
|
69
76
|
constructor(opts: __ExceptionOptionType<ProhibitedStateException, __BaseException>);
|
|
70
77
|
}
|
|
71
78
|
/**
|
|
79
|
+
* @public
|
|
72
80
|
* <p>One or more of the dependencies is unavailable.</p>
|
|
73
81
|
*/
|
|
74
82
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
@@ -81,6 +89,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
81
89
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
82
90
|
}
|
|
83
91
|
/**
|
|
92
|
+
* @public
|
|
84
93
|
* <p>The operation is not permitted.</p>
|
|
85
94
|
*/
|
|
86
95
|
export declare class UnauthorizedOperationException extends __BaseException {
|
|
@@ -94,6 +103,7 @@ export declare class UnauthorizedOperationException extends __BaseException {
|
|
|
94
103
|
constructor(opts: __ExceptionOptionType<UnauthorizedOperationException, __BaseException>);
|
|
95
104
|
}
|
|
96
105
|
/**
|
|
106
|
+
* @public
|
|
97
107
|
* <p>The caller does not have access to perform the action on the resource.</p>
|
|
98
108
|
*/
|
|
99
109
|
export declare class UnauthorizedResourceAccessException extends __BaseException {
|
|
@@ -105,6 +115,9 @@ export declare class UnauthorizedResourceAccessException extends __BaseException
|
|
|
105
115
|
*/
|
|
106
116
|
constructor(opts: __ExceptionOptionType<UnauthorizedResourceAccessException, __BaseException>);
|
|
107
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
108
121
|
export interface ActivateUserRequest {
|
|
109
122
|
/**
|
|
110
123
|
* <p>The ID of the user.</p>
|
|
@@ -115,6 +128,9 @@ export interface ActivateUserRequest {
|
|
|
115
128
|
*/
|
|
116
129
|
AuthenticationToken?: string;
|
|
117
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
118
134
|
export declare enum LocaleType {
|
|
119
135
|
DE = "de",
|
|
120
136
|
DEFAULT = "default",
|
|
@@ -128,16 +144,23 @@ export declare enum LocaleType {
|
|
|
128
144
|
ZH_CN = "zh_CN",
|
|
129
145
|
ZH_TW = "zh_TW"
|
|
130
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
131
150
|
export declare enum UserStatusType {
|
|
132
151
|
ACTIVE = "ACTIVE",
|
|
133
152
|
INACTIVE = "INACTIVE",
|
|
134
153
|
PENDING = "PENDING"
|
|
135
154
|
}
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
136
158
|
export declare enum StorageType {
|
|
137
159
|
QUOTA = "QUOTA",
|
|
138
160
|
UNLIMITED = "UNLIMITED"
|
|
139
161
|
}
|
|
140
162
|
/**
|
|
163
|
+
* @public
|
|
141
164
|
* <p>Describes the storage for a user.</p>
|
|
142
165
|
*/
|
|
143
166
|
export interface StorageRuleType {
|
|
@@ -151,6 +174,7 @@ export interface StorageRuleType {
|
|
|
151
174
|
StorageType?: StorageType | string;
|
|
152
175
|
}
|
|
153
176
|
/**
|
|
177
|
+
* @public
|
|
154
178
|
* <p>Describes the storage for a user.</p>
|
|
155
179
|
*/
|
|
156
180
|
export interface UserStorageMetadata {
|
|
@@ -163,6 +187,9 @@ export interface UserStorageMetadata {
|
|
|
163
187
|
*/
|
|
164
188
|
StorageRule?: StorageRuleType;
|
|
165
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
166
193
|
export declare enum UserType {
|
|
167
194
|
ADMIN = "ADMIN",
|
|
168
195
|
MINIMALUSER = "MINIMALUSER",
|
|
@@ -171,6 +198,7 @@ export declare enum UserType {
|
|
|
171
198
|
WORKSPACESUSER = "WORKSPACESUSER"
|
|
172
199
|
}
|
|
173
200
|
/**
|
|
201
|
+
* @public
|
|
174
202
|
* <p>Describes a user.</p>
|
|
175
203
|
*/
|
|
176
204
|
export interface User {
|
|
@@ -235,18 +263,25 @@ export interface User {
|
|
|
235
263
|
*/
|
|
236
264
|
Storage?: UserStorageMetadata;
|
|
237
265
|
}
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
238
269
|
export interface ActivateUserResponse {
|
|
239
270
|
/**
|
|
240
271
|
* <p>The user information.</p>
|
|
241
272
|
*/
|
|
242
273
|
User?: User;
|
|
243
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
244
278
|
export declare enum CommentStatusType {
|
|
245
279
|
DELETED = "DELETED",
|
|
246
280
|
DRAFT = "DRAFT",
|
|
247
281
|
PUBLISHED = "PUBLISHED"
|
|
248
282
|
}
|
|
249
283
|
/**
|
|
284
|
+
* @public
|
|
250
285
|
* <p>Describes the metadata of a comment.</p>
|
|
251
286
|
*/
|
|
252
287
|
export interface CommentMetadata {
|
|
@@ -276,6 +311,7 @@ export interface CommentMetadata {
|
|
|
276
311
|
ContributorId?: string;
|
|
277
312
|
}
|
|
278
313
|
/**
|
|
314
|
+
* @public
|
|
279
315
|
* <p>Describes the metadata of the user.</p>
|
|
280
316
|
*/
|
|
281
317
|
export interface UserMetadata {
|
|
@@ -300,11 +336,15 @@ export interface UserMetadata {
|
|
|
300
336
|
*/
|
|
301
337
|
EmailAddress?: string;
|
|
302
338
|
}
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
303
342
|
export declare enum ResourceType {
|
|
304
343
|
DOCUMENT = "DOCUMENT",
|
|
305
344
|
FOLDER = "FOLDER"
|
|
306
345
|
}
|
|
307
346
|
/**
|
|
347
|
+
* @public
|
|
308
348
|
* <p>Describes the metadata of a resource.</p>
|
|
309
349
|
*/
|
|
310
350
|
export interface ResourceMetadata {
|
|
@@ -339,6 +379,7 @@ export interface ResourceMetadata {
|
|
|
339
379
|
ParentId?: string;
|
|
340
380
|
}
|
|
341
381
|
/**
|
|
382
|
+
* @public
|
|
342
383
|
* <p>Describes the metadata of a user group.</p>
|
|
343
384
|
*/
|
|
344
385
|
export interface GroupMetadata {
|
|
@@ -352,6 +393,7 @@ export interface GroupMetadata {
|
|
|
352
393
|
Name?: string;
|
|
353
394
|
}
|
|
354
395
|
/**
|
|
396
|
+
* @public
|
|
355
397
|
* <p>Describes the users or user groups.</p>
|
|
356
398
|
*/
|
|
357
399
|
export interface Participants {
|
|
@@ -364,6 +406,9 @@ export interface Participants {
|
|
|
364
406
|
*/
|
|
365
407
|
Groups?: GroupMetadata[];
|
|
366
408
|
}
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
*/
|
|
367
412
|
export declare enum ActivityType {
|
|
368
413
|
DOCUMENT_ANNOTATION_ADDED = "DOCUMENT_ANNOTATION_ADDED",
|
|
369
414
|
DOCUMENT_ANNOTATION_DELETED = "DOCUMENT_ANNOTATION_DELETED",
|
|
@@ -400,6 +445,7 @@ export declare enum ActivityType {
|
|
|
400
445
|
FOLDER_UNSHARED = "FOLDER_UNSHARED"
|
|
401
446
|
}
|
|
402
447
|
/**
|
|
448
|
+
* @public
|
|
403
449
|
* <p>Describes the activity information.</p>
|
|
404
450
|
*/
|
|
405
451
|
export interface Activity {
|
|
@@ -447,10 +493,14 @@ export interface Activity {
|
|
|
447
493
|
*/
|
|
448
494
|
CommentMetadata?: CommentMetadata;
|
|
449
495
|
}
|
|
496
|
+
/**
|
|
497
|
+
* @public
|
|
498
|
+
*/
|
|
450
499
|
export declare enum AdditionalResponseFieldType {
|
|
451
500
|
WEBURL = "WEBURL"
|
|
452
501
|
}
|
|
453
502
|
/**
|
|
503
|
+
* @public
|
|
454
504
|
* <p>Set of options which defines notification preferences of given action.</p>
|
|
455
505
|
*/
|
|
456
506
|
export interface NotificationOptions {
|
|
@@ -464,12 +514,18 @@ export interface NotificationOptions {
|
|
|
464
514
|
*/
|
|
465
515
|
EmailMessage?: string;
|
|
466
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
467
520
|
export declare enum RoleType {
|
|
468
521
|
CONTRIBUTOR = "CONTRIBUTOR",
|
|
469
522
|
COOWNER = "COOWNER",
|
|
470
523
|
OWNER = "OWNER",
|
|
471
524
|
VIEWER = "VIEWER"
|
|
472
525
|
}
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
473
529
|
export declare enum PrincipalType {
|
|
474
530
|
ANONYMOUS = "ANONYMOUS",
|
|
475
531
|
GROUP = "GROUP",
|
|
@@ -478,6 +534,7 @@ export declare enum PrincipalType {
|
|
|
478
534
|
USER = "USER"
|
|
479
535
|
}
|
|
480
536
|
/**
|
|
537
|
+
* @public
|
|
481
538
|
* <p>Describes the recipient type and ID, if available.</p>
|
|
482
539
|
*/
|
|
483
540
|
export interface SharePrincipal {
|
|
@@ -494,6 +551,9 @@ export interface SharePrincipal {
|
|
|
494
551
|
*/
|
|
495
552
|
Role: RoleType | string | undefined;
|
|
496
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* @public
|
|
556
|
+
*/
|
|
497
557
|
export interface AddResourcePermissionsRequest {
|
|
498
558
|
/**
|
|
499
559
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -512,11 +572,15 @@ export interface AddResourcePermissionsRequest {
|
|
|
512
572
|
*/
|
|
513
573
|
NotificationOptions?: NotificationOptions;
|
|
514
574
|
}
|
|
575
|
+
/**
|
|
576
|
+
* @public
|
|
577
|
+
*/
|
|
515
578
|
export declare enum ShareStatusType {
|
|
516
579
|
FAILURE = "FAILURE",
|
|
517
580
|
SUCCESS = "SUCCESS"
|
|
518
581
|
}
|
|
519
582
|
/**
|
|
583
|
+
* @public
|
|
520
584
|
* <p>Describes the share results of a resource.</p>
|
|
521
585
|
*/
|
|
522
586
|
export interface ShareResult {
|
|
@@ -545,16 +609,25 @@ export interface ShareResult {
|
|
|
545
609
|
*/
|
|
546
610
|
StatusMessage?: string;
|
|
547
611
|
}
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
*/
|
|
548
615
|
export interface AddResourcePermissionsResponse {
|
|
549
616
|
/**
|
|
550
617
|
* <p>The share results.</p>
|
|
551
618
|
*/
|
|
552
619
|
ShareResults?: ShareResult[];
|
|
553
620
|
}
|
|
621
|
+
/**
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
554
624
|
export declare enum CommentVisibilityType {
|
|
555
625
|
PRIVATE = "PRIVATE",
|
|
556
626
|
PUBLIC = "PUBLIC"
|
|
557
627
|
}
|
|
628
|
+
/**
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
558
631
|
export interface CreateCommentRequest {
|
|
559
632
|
/**
|
|
560
633
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -593,6 +666,7 @@ export interface CreateCommentRequest {
|
|
|
593
666
|
NotifyCollaborators?: boolean;
|
|
594
667
|
}
|
|
595
668
|
/**
|
|
669
|
+
* @public
|
|
596
670
|
* <p>Describes a comment.</p>
|
|
597
671
|
*/
|
|
598
672
|
export interface Comment {
|
|
@@ -636,6 +710,9 @@ export interface Comment {
|
|
|
636
710
|
*/
|
|
637
711
|
RecipientId?: string;
|
|
638
712
|
}
|
|
713
|
+
/**
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
639
716
|
export interface CreateCommentResponse {
|
|
640
717
|
/**
|
|
641
718
|
* <p>The comment that has been created.</p>
|
|
@@ -643,6 +720,7 @@ export interface CreateCommentResponse {
|
|
|
643
720
|
Comment?: Comment;
|
|
644
721
|
}
|
|
645
722
|
/**
|
|
723
|
+
* @public
|
|
646
724
|
* <p>This exception is thrown when the document is locked for comments and user tries to
|
|
647
725
|
* create or delete a comment on that document.</p>
|
|
648
726
|
*/
|
|
@@ -656,6 +734,7 @@ export declare class DocumentLockedForCommentsException extends __BaseException
|
|
|
656
734
|
constructor(opts: __ExceptionOptionType<DocumentLockedForCommentsException, __BaseException>);
|
|
657
735
|
}
|
|
658
736
|
/**
|
|
737
|
+
* @public
|
|
659
738
|
* <p>The requested operation is not allowed on the specified comment object.</p>
|
|
660
739
|
*/
|
|
661
740
|
export declare class InvalidCommentOperationException extends __BaseException {
|
|
@@ -667,6 +746,9 @@ export declare class InvalidCommentOperationException extends __BaseException {
|
|
|
667
746
|
*/
|
|
668
747
|
constructor(opts: __ExceptionOptionType<InvalidCommentOperationException, __BaseException>);
|
|
669
748
|
}
|
|
749
|
+
/**
|
|
750
|
+
* @public
|
|
751
|
+
*/
|
|
670
752
|
export interface CreateCustomMetadataRequest {
|
|
671
753
|
/**
|
|
672
754
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -686,9 +768,13 @@ export interface CreateCustomMetadataRequest {
|
|
|
686
768
|
*/
|
|
687
769
|
CustomMetadata: Record<string, string> | undefined;
|
|
688
770
|
}
|
|
771
|
+
/**
|
|
772
|
+
* @public
|
|
773
|
+
*/
|
|
689
774
|
export interface CreateCustomMetadataResponse {
|
|
690
775
|
}
|
|
691
776
|
/**
|
|
777
|
+
* @public
|
|
692
778
|
* <p>The limit has been reached on the number of custom properties for the specified
|
|
693
779
|
* resource.</p>
|
|
694
780
|
*/
|
|
@@ -702,6 +788,7 @@ export declare class CustomMetadataLimitExceededException extends __BaseExceptio
|
|
|
702
788
|
constructor(opts: __ExceptionOptionType<CustomMetadataLimitExceededException, __BaseException>);
|
|
703
789
|
}
|
|
704
790
|
/**
|
|
791
|
+
* @public
|
|
705
792
|
* <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
|
|
706
793
|
*/
|
|
707
794
|
export declare class ConflictingOperationException extends __BaseException {
|
|
@@ -713,6 +800,9 @@ export declare class ConflictingOperationException extends __BaseException {
|
|
|
713
800
|
*/
|
|
714
801
|
constructor(opts: __ExceptionOptionType<ConflictingOperationException, __BaseException>);
|
|
715
802
|
}
|
|
803
|
+
/**
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
716
806
|
export interface CreateFolderRequest {
|
|
717
807
|
/**
|
|
718
808
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -727,6 +817,9 @@ export interface CreateFolderRequest {
|
|
|
727
817
|
*/
|
|
728
818
|
ParentFolderId: string | undefined;
|
|
729
819
|
}
|
|
820
|
+
/**
|
|
821
|
+
* @public
|
|
822
|
+
*/
|
|
730
823
|
export declare enum ResourceStateType {
|
|
731
824
|
ACTIVE = "ACTIVE",
|
|
732
825
|
RECYCLED = "RECYCLED",
|
|
@@ -734,6 +827,7 @@ export declare enum ResourceStateType {
|
|
|
734
827
|
RESTORING = "RESTORING"
|
|
735
828
|
}
|
|
736
829
|
/**
|
|
830
|
+
* @public
|
|
737
831
|
* <p>Describes a folder.</p>
|
|
738
832
|
*/
|
|
739
833
|
export interface FolderMetadata {
|
|
@@ -783,6 +877,9 @@ export interface FolderMetadata {
|
|
|
783
877
|
*/
|
|
784
878
|
LatestVersionSize?: number;
|
|
785
879
|
}
|
|
880
|
+
/**
|
|
881
|
+
* @public
|
|
882
|
+
*/
|
|
786
883
|
export interface CreateFolderResponse {
|
|
787
884
|
/**
|
|
788
885
|
* <p>The metadata of the folder.</p>
|
|
@@ -790,6 +887,7 @@ export interface CreateFolderResponse {
|
|
|
790
887
|
Metadata?: FolderMetadata;
|
|
791
888
|
}
|
|
792
889
|
/**
|
|
890
|
+
* @public
|
|
793
891
|
* <p>The resource already exists.</p>
|
|
794
892
|
*/
|
|
795
893
|
export declare class EntityAlreadyExistsException extends __BaseException {
|
|
@@ -802,6 +900,7 @@ export declare class EntityAlreadyExistsException extends __BaseException {
|
|
|
802
900
|
constructor(opts: __ExceptionOptionType<EntityAlreadyExistsException, __BaseException>);
|
|
803
901
|
}
|
|
804
902
|
/**
|
|
903
|
+
* @public
|
|
805
904
|
* <p>The maximum of 100,000 files and folders under the parent folder has been exceeded.</p>
|
|
806
905
|
*/
|
|
807
906
|
export declare class LimitExceededException extends __BaseException {
|
|
@@ -813,6 +912,9 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
813
912
|
*/
|
|
814
913
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
815
914
|
}
|
|
915
|
+
/**
|
|
916
|
+
* @public
|
|
917
|
+
*/
|
|
816
918
|
export interface CreateLabelsRequest {
|
|
817
919
|
/**
|
|
818
920
|
* <p>The ID of the resource.</p>
|
|
@@ -827,9 +929,13 @@ export interface CreateLabelsRequest {
|
|
|
827
929
|
*/
|
|
828
930
|
AuthenticationToken?: string;
|
|
829
931
|
}
|
|
932
|
+
/**
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
830
935
|
export interface CreateLabelsResponse {
|
|
831
936
|
}
|
|
832
937
|
/**
|
|
938
|
+
* @public
|
|
833
939
|
* <p>The limit has been reached on the number of labels for the specified
|
|
834
940
|
* resource.</p>
|
|
835
941
|
*/
|
|
@@ -842,13 +948,22 @@ export declare class TooManyLabelsException extends __BaseException {
|
|
|
842
948
|
*/
|
|
843
949
|
constructor(opts: __ExceptionOptionType<TooManyLabelsException, __BaseException>);
|
|
844
950
|
}
|
|
951
|
+
/**
|
|
952
|
+
* @public
|
|
953
|
+
*/
|
|
845
954
|
export declare enum SubscriptionProtocolType {
|
|
846
955
|
HTTPS = "HTTPS",
|
|
847
956
|
SQS = "SQS"
|
|
848
957
|
}
|
|
958
|
+
/**
|
|
959
|
+
* @public
|
|
960
|
+
*/
|
|
849
961
|
export declare enum SubscriptionType {
|
|
850
962
|
ALL = "ALL"
|
|
851
963
|
}
|
|
964
|
+
/**
|
|
965
|
+
* @public
|
|
966
|
+
*/
|
|
852
967
|
export interface CreateNotificationSubscriptionRequest {
|
|
853
968
|
/**
|
|
854
969
|
* <p>The ID of the organization.</p>
|
|
@@ -870,6 +985,7 @@ export interface CreateNotificationSubscriptionRequest {
|
|
|
870
985
|
SubscriptionType: SubscriptionType | string | undefined;
|
|
871
986
|
}
|
|
872
987
|
/**
|
|
988
|
+
* @public
|
|
873
989
|
* <p>Describes a subscription.</p>
|
|
874
990
|
*/
|
|
875
991
|
export interface Subscription {
|
|
@@ -886,6 +1002,9 @@ export interface Subscription {
|
|
|
886
1002
|
*/
|
|
887
1003
|
Protocol?: SubscriptionProtocolType | string;
|
|
888
1004
|
}
|
|
1005
|
+
/**
|
|
1006
|
+
* @public
|
|
1007
|
+
*/
|
|
889
1008
|
export interface CreateNotificationSubscriptionResponse {
|
|
890
1009
|
/**
|
|
891
1010
|
* <p>The subscription.</p>
|
|
@@ -893,6 +1012,7 @@ export interface CreateNotificationSubscriptionResponse {
|
|
|
893
1012
|
Subscription?: Subscription;
|
|
894
1013
|
}
|
|
895
1014
|
/**
|
|
1015
|
+
* @public
|
|
896
1016
|
* <p>The pagination marker or limit fields are not valid.</p>
|
|
897
1017
|
*/
|
|
898
1018
|
export declare class InvalidArgumentException extends __BaseException {
|
|
@@ -905,6 +1025,7 @@ export declare class InvalidArgumentException extends __BaseException {
|
|
|
905
1025
|
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
906
1026
|
}
|
|
907
1027
|
/**
|
|
1028
|
+
* @public
|
|
908
1029
|
* <p>You've reached the limit on the number of subscriptions for the WorkDocs
|
|
909
1030
|
* instance.</p>
|
|
910
1031
|
*/
|
|
@@ -917,6 +1038,9 @@ export declare class TooManySubscriptionsException extends __BaseException {
|
|
|
917
1038
|
*/
|
|
918
1039
|
constructor(opts: __ExceptionOptionType<TooManySubscriptionsException, __BaseException>);
|
|
919
1040
|
}
|
|
1041
|
+
/**
|
|
1042
|
+
* @public
|
|
1043
|
+
*/
|
|
920
1044
|
export interface CreateUserRequest {
|
|
921
1045
|
/**
|
|
922
1046
|
* <p>The ID of the organization.</p>
|
|
@@ -955,12 +1079,18 @@ export interface CreateUserRequest {
|
|
|
955
1079
|
*/
|
|
956
1080
|
AuthenticationToken?: string;
|
|
957
1081
|
}
|
|
1082
|
+
/**
|
|
1083
|
+
* @public
|
|
1084
|
+
*/
|
|
958
1085
|
export interface CreateUserResponse {
|
|
959
1086
|
/**
|
|
960
1087
|
* <p>The user information.</p>
|
|
961
1088
|
*/
|
|
962
1089
|
User?: User;
|
|
963
1090
|
}
|
|
1091
|
+
/**
|
|
1092
|
+
* @public
|
|
1093
|
+
*/
|
|
964
1094
|
export interface DeactivateUserRequest {
|
|
965
1095
|
/**
|
|
966
1096
|
* <p>The ID of the user.</p>
|
|
@@ -971,6 +1101,9 @@ export interface DeactivateUserRequest {
|
|
|
971
1101
|
*/
|
|
972
1102
|
AuthenticationToken?: string;
|
|
973
1103
|
}
|
|
1104
|
+
/**
|
|
1105
|
+
* @public
|
|
1106
|
+
*/
|
|
974
1107
|
export interface DeleteCommentRequest {
|
|
975
1108
|
/**
|
|
976
1109
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -989,6 +1122,9 @@ export interface DeleteCommentRequest {
|
|
|
989
1122
|
*/
|
|
990
1123
|
CommentId: string | undefined;
|
|
991
1124
|
}
|
|
1125
|
+
/**
|
|
1126
|
+
* @public
|
|
1127
|
+
*/
|
|
992
1128
|
export interface DeleteCustomMetadataRequest {
|
|
993
1129
|
/**
|
|
994
1130
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1013,8 +1149,14 @@ export interface DeleteCustomMetadataRequest {
|
|
|
1013
1149
|
*/
|
|
1014
1150
|
DeleteAll?: boolean;
|
|
1015
1151
|
}
|
|
1152
|
+
/**
|
|
1153
|
+
* @public
|
|
1154
|
+
*/
|
|
1016
1155
|
export interface DeleteCustomMetadataResponse {
|
|
1017
1156
|
}
|
|
1157
|
+
/**
|
|
1158
|
+
* @public
|
|
1159
|
+
*/
|
|
1018
1160
|
export interface DeleteDocumentRequest {
|
|
1019
1161
|
/**
|
|
1020
1162
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1025,6 +1167,9 @@ export interface DeleteDocumentRequest {
|
|
|
1025
1167
|
*/
|
|
1026
1168
|
DocumentId: string | undefined;
|
|
1027
1169
|
}
|
|
1170
|
+
/**
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1028
1173
|
export interface DeleteDocumentVersionRequest {
|
|
1029
1174
|
/**
|
|
1030
1175
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1044,6 +1189,7 @@ export interface DeleteDocumentVersionRequest {
|
|
|
1044
1189
|
DeletePriorVersions: boolean | undefined;
|
|
1045
1190
|
}
|
|
1046
1191
|
/**
|
|
1192
|
+
* @public
|
|
1047
1193
|
* <p>The operation is invalid.</p>
|
|
1048
1194
|
*/
|
|
1049
1195
|
export declare class InvalidOperationException extends __BaseException {
|
|
@@ -1055,6 +1201,9 @@ export declare class InvalidOperationException extends __BaseException {
|
|
|
1055
1201
|
*/
|
|
1056
1202
|
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
1057
1203
|
}
|
|
1204
|
+
/**
|
|
1205
|
+
* @public
|
|
1206
|
+
*/
|
|
1058
1207
|
export interface DeleteFolderRequest {
|
|
1059
1208
|
/**
|
|
1060
1209
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1065,6 +1214,9 @@ export interface DeleteFolderRequest {
|
|
|
1065
1214
|
*/
|
|
1066
1215
|
FolderId: string | undefined;
|
|
1067
1216
|
}
|
|
1217
|
+
/**
|
|
1218
|
+
* @public
|
|
1219
|
+
*/
|
|
1068
1220
|
export interface DeleteFolderContentsRequest {
|
|
1069
1221
|
/**
|
|
1070
1222
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1075,6 +1227,9 @@ export interface DeleteFolderContentsRequest {
|
|
|
1075
1227
|
*/
|
|
1076
1228
|
FolderId: string | undefined;
|
|
1077
1229
|
}
|
|
1230
|
+
/**
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1078
1233
|
export interface DeleteLabelsRequest {
|
|
1079
1234
|
/**
|
|
1080
1235
|
* <p>The ID of the resource.</p>
|
|
@@ -1093,8 +1248,14 @@ export interface DeleteLabelsRequest {
|
|
|
1093
1248
|
*/
|
|
1094
1249
|
DeleteAll?: boolean;
|
|
1095
1250
|
}
|
|
1251
|
+
/**
|
|
1252
|
+
* @public
|
|
1253
|
+
*/
|
|
1096
1254
|
export interface DeleteLabelsResponse {
|
|
1097
1255
|
}
|
|
1256
|
+
/**
|
|
1257
|
+
* @public
|
|
1258
|
+
*/
|
|
1098
1259
|
export interface DeleteNotificationSubscriptionRequest {
|
|
1099
1260
|
/**
|
|
1100
1261
|
* <p>The ID of the subscription.</p>
|
|
@@ -1105,6 +1266,9 @@ export interface DeleteNotificationSubscriptionRequest {
|
|
|
1105
1266
|
*/
|
|
1106
1267
|
OrganizationId: string | undefined;
|
|
1107
1268
|
}
|
|
1269
|
+
/**
|
|
1270
|
+
* @public
|
|
1271
|
+
*/
|
|
1108
1272
|
export interface DeleteUserRequest {
|
|
1109
1273
|
/**
|
|
1110
1274
|
* <p>Amazon WorkDocs authentication token. Do not set this field when using
|
|
@@ -1116,6 +1280,9 @@ export interface DeleteUserRequest {
|
|
|
1116
1280
|
*/
|
|
1117
1281
|
UserId: string | undefined;
|
|
1118
1282
|
}
|
|
1283
|
+
/**
|
|
1284
|
+
* @public
|
|
1285
|
+
*/
|
|
1119
1286
|
export interface DescribeActivitiesRequest {
|
|
1120
1287
|
/**
|
|
1121
1288
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1167,6 +1334,9 @@ export interface DescribeActivitiesRequest {
|
|
|
1167
1334
|
*/
|
|
1168
1335
|
Marker?: string;
|
|
1169
1336
|
}
|
|
1337
|
+
/**
|
|
1338
|
+
* @public
|
|
1339
|
+
*/
|
|
1170
1340
|
export interface DescribeActivitiesResponse {
|
|
1171
1341
|
/**
|
|
1172
1342
|
* <p>The list of activities for the specified user and time period.</p>
|
|
@@ -1177,6 +1347,9 @@ export interface DescribeActivitiesResponse {
|
|
|
1177
1347
|
*/
|
|
1178
1348
|
Marker?: string;
|
|
1179
1349
|
}
|
|
1350
|
+
/**
|
|
1351
|
+
* @public
|
|
1352
|
+
*/
|
|
1180
1353
|
export interface DescribeCommentsRequest {
|
|
1181
1354
|
/**
|
|
1182
1355
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1200,6 +1373,9 @@ export interface DescribeCommentsRequest {
|
|
|
1200
1373
|
*/
|
|
1201
1374
|
Marker?: string;
|
|
1202
1375
|
}
|
|
1376
|
+
/**
|
|
1377
|
+
* @public
|
|
1378
|
+
*/
|
|
1203
1379
|
export interface DescribeCommentsResponse {
|
|
1204
1380
|
/**
|
|
1205
1381
|
* <p>The list of comments for the specified document version.</p>
|
|
@@ -1211,6 +1387,9 @@ export interface DescribeCommentsResponse {
|
|
|
1211
1387
|
*/
|
|
1212
1388
|
Marker?: string;
|
|
1213
1389
|
}
|
|
1390
|
+
/**
|
|
1391
|
+
* @public
|
|
1392
|
+
*/
|
|
1214
1393
|
export interface DescribeDocumentVersionsRequest {
|
|
1215
1394
|
/**
|
|
1216
1395
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1240,20 +1419,30 @@ export interface DescribeDocumentVersionsRequest {
|
|
|
1240
1419
|
*/
|
|
1241
1420
|
Fields?: string;
|
|
1242
1421
|
}
|
|
1422
|
+
/**
|
|
1423
|
+
* @public
|
|
1424
|
+
*/
|
|
1243
1425
|
export declare enum DocumentSourceType {
|
|
1244
1426
|
ORIGINAL = "ORIGINAL",
|
|
1245
1427
|
WITH_COMMENTS = "WITH_COMMENTS"
|
|
1246
1428
|
}
|
|
1429
|
+
/**
|
|
1430
|
+
* @public
|
|
1431
|
+
*/
|
|
1247
1432
|
export declare enum DocumentStatusType {
|
|
1248
1433
|
ACTIVE = "ACTIVE",
|
|
1249
1434
|
INITIALIZED = "INITIALIZED"
|
|
1250
1435
|
}
|
|
1436
|
+
/**
|
|
1437
|
+
* @public
|
|
1438
|
+
*/
|
|
1251
1439
|
export declare enum DocumentThumbnailType {
|
|
1252
1440
|
LARGE = "LARGE",
|
|
1253
1441
|
SMALL = "SMALL",
|
|
1254
1442
|
SMALL_HQ = "SMALL_HQ"
|
|
1255
1443
|
}
|
|
1256
1444
|
/**
|
|
1445
|
+
* @public
|
|
1257
1446
|
* <p>Describes a version of a document.</p>
|
|
1258
1447
|
*/
|
|
1259
1448
|
export interface DocumentVersionMetadata {
|
|
@@ -1310,6 +1499,9 @@ export interface DocumentVersionMetadata {
|
|
|
1310
1499
|
*/
|
|
1311
1500
|
Source?: Record<string, string>;
|
|
1312
1501
|
}
|
|
1502
|
+
/**
|
|
1503
|
+
* @public
|
|
1504
|
+
*/
|
|
1313
1505
|
export interface DescribeDocumentVersionsResponse {
|
|
1314
1506
|
/**
|
|
1315
1507
|
* <p>The document versions.</p>
|
|
@@ -1322,6 +1514,7 @@ export interface DescribeDocumentVersionsResponse {
|
|
|
1322
1514
|
Marker?: string;
|
|
1323
1515
|
}
|
|
1324
1516
|
/**
|
|
1517
|
+
* @public
|
|
1325
1518
|
* <p>The password is invalid.</p>
|
|
1326
1519
|
*/
|
|
1327
1520
|
export declare class InvalidPasswordException extends __BaseException {
|
|
@@ -1333,19 +1526,31 @@ export declare class InvalidPasswordException extends __BaseException {
|
|
|
1333
1526
|
*/
|
|
1334
1527
|
constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
|
|
1335
1528
|
}
|
|
1529
|
+
/**
|
|
1530
|
+
* @public
|
|
1531
|
+
*/
|
|
1336
1532
|
export declare enum OrderType {
|
|
1337
1533
|
ASCENDING = "ASCENDING",
|
|
1338
1534
|
DESCENDING = "DESCENDING"
|
|
1339
1535
|
}
|
|
1536
|
+
/**
|
|
1537
|
+
* @public
|
|
1538
|
+
*/
|
|
1340
1539
|
export declare enum ResourceSortType {
|
|
1341
1540
|
DATE = "DATE",
|
|
1342
1541
|
NAME = "NAME"
|
|
1343
1542
|
}
|
|
1543
|
+
/**
|
|
1544
|
+
* @public
|
|
1545
|
+
*/
|
|
1344
1546
|
export declare enum FolderContentType {
|
|
1345
1547
|
ALL = "ALL",
|
|
1346
1548
|
DOCUMENT = "DOCUMENT",
|
|
1347
1549
|
FOLDER = "FOLDER"
|
|
1348
1550
|
}
|
|
1551
|
+
/**
|
|
1552
|
+
* @public
|
|
1553
|
+
*/
|
|
1349
1554
|
export interface DescribeFolderContentsRequest {
|
|
1350
1555
|
/**
|
|
1351
1556
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1383,6 +1588,7 @@ export interface DescribeFolderContentsRequest {
|
|
|
1383
1588
|
Include?: string;
|
|
1384
1589
|
}
|
|
1385
1590
|
/**
|
|
1591
|
+
* @public
|
|
1386
1592
|
* <p>Describes the document.</p>
|
|
1387
1593
|
*/
|
|
1388
1594
|
export interface DocumentMetadata {
|
|
@@ -1419,6 +1625,9 @@ export interface DocumentMetadata {
|
|
|
1419
1625
|
*/
|
|
1420
1626
|
Labels?: string[];
|
|
1421
1627
|
}
|
|
1628
|
+
/**
|
|
1629
|
+
* @public
|
|
1630
|
+
*/
|
|
1422
1631
|
export interface DescribeFolderContentsResponse {
|
|
1423
1632
|
/**
|
|
1424
1633
|
* <p>The subfolders in the specified folder.</p>
|
|
@@ -1434,6 +1643,9 @@ export interface DescribeFolderContentsResponse {
|
|
|
1434
1643
|
*/
|
|
1435
1644
|
Marker?: string;
|
|
1436
1645
|
}
|
|
1646
|
+
/**
|
|
1647
|
+
* @public
|
|
1648
|
+
*/
|
|
1437
1649
|
export interface DescribeGroupsRequest {
|
|
1438
1650
|
/**
|
|
1439
1651
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1457,6 +1669,9 @@ export interface DescribeGroupsRequest {
|
|
|
1457
1669
|
*/
|
|
1458
1670
|
Limit?: number;
|
|
1459
1671
|
}
|
|
1672
|
+
/**
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1460
1675
|
export interface DescribeGroupsResponse {
|
|
1461
1676
|
/**
|
|
1462
1677
|
* <p>The list of groups.</p>
|
|
@@ -1468,6 +1683,9 @@ export interface DescribeGroupsResponse {
|
|
|
1468
1683
|
*/
|
|
1469
1684
|
Marker?: string;
|
|
1470
1685
|
}
|
|
1686
|
+
/**
|
|
1687
|
+
* @public
|
|
1688
|
+
*/
|
|
1471
1689
|
export interface DescribeNotificationSubscriptionsRequest {
|
|
1472
1690
|
/**
|
|
1473
1691
|
* <p>The ID of the organization.</p>
|
|
@@ -1483,6 +1701,9 @@ export interface DescribeNotificationSubscriptionsRequest {
|
|
|
1483
1701
|
*/
|
|
1484
1702
|
Limit?: number;
|
|
1485
1703
|
}
|
|
1704
|
+
/**
|
|
1705
|
+
* @public
|
|
1706
|
+
*/
|
|
1486
1707
|
export interface DescribeNotificationSubscriptionsResponse {
|
|
1487
1708
|
/**
|
|
1488
1709
|
* <p>The subscriptions.</p>
|
|
@@ -1494,6 +1715,9 @@ export interface DescribeNotificationSubscriptionsResponse {
|
|
|
1494
1715
|
*/
|
|
1495
1716
|
Marker?: string;
|
|
1496
1717
|
}
|
|
1718
|
+
/**
|
|
1719
|
+
* @public
|
|
1720
|
+
*/
|
|
1497
1721
|
export interface DescribeResourcePermissionsRequest {
|
|
1498
1722
|
/**
|
|
1499
1723
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1517,11 +1741,15 @@ export interface DescribeResourcePermissionsRequest {
|
|
|
1517
1741
|
*/
|
|
1518
1742
|
Marker?: string;
|
|
1519
1743
|
}
|
|
1744
|
+
/**
|
|
1745
|
+
* @public
|
|
1746
|
+
*/
|
|
1520
1747
|
export declare enum RolePermissionType {
|
|
1521
1748
|
DIRECT = "DIRECT",
|
|
1522
1749
|
INHERITED = "INHERITED"
|
|
1523
1750
|
}
|
|
1524
1751
|
/**
|
|
1752
|
+
* @public
|
|
1525
1753
|
* <p>Describes the permissions.</p>
|
|
1526
1754
|
*/
|
|
1527
1755
|
export interface PermissionInfo {
|
|
@@ -1535,6 +1763,7 @@ export interface PermissionInfo {
|
|
|
1535
1763
|
Type?: RolePermissionType | string;
|
|
1536
1764
|
}
|
|
1537
1765
|
/**
|
|
1766
|
+
* @public
|
|
1538
1767
|
* <p>Describes a resource.</p>
|
|
1539
1768
|
*/
|
|
1540
1769
|
export interface Principal {
|
|
@@ -1551,6 +1780,9 @@ export interface Principal {
|
|
|
1551
1780
|
*/
|
|
1552
1781
|
Roles?: PermissionInfo[];
|
|
1553
1782
|
}
|
|
1783
|
+
/**
|
|
1784
|
+
* @public
|
|
1785
|
+
*/
|
|
1554
1786
|
export interface DescribeResourcePermissionsResponse {
|
|
1555
1787
|
/**
|
|
1556
1788
|
* <p>The principals.</p>
|
|
@@ -1562,6 +1794,9 @@ export interface DescribeResourcePermissionsResponse {
|
|
|
1562
1794
|
*/
|
|
1563
1795
|
Marker?: string;
|
|
1564
1796
|
}
|
|
1797
|
+
/**
|
|
1798
|
+
* @public
|
|
1799
|
+
*/
|
|
1565
1800
|
export interface DescribeRootFoldersRequest {
|
|
1566
1801
|
/**
|
|
1567
1802
|
* <p>Amazon WorkDocs authentication token.</p>
|
|
@@ -1577,6 +1812,9 @@ export interface DescribeRootFoldersRequest {
|
|
|
1577
1812
|
*/
|
|
1578
1813
|
Marker?: string;
|
|
1579
1814
|
}
|
|
1815
|
+
/**
|
|
1816
|
+
* @public
|
|
1817
|
+
*/
|
|
1580
1818
|
export interface DescribeRootFoldersResponse {
|
|
1581
1819
|
/**
|
|
1582
1820
|
* <p>The user's special folders.</p>
|
|
@@ -1587,10 +1825,16 @@ export interface DescribeRootFoldersResponse {
|
|
|
1587
1825
|
*/
|
|
1588
1826
|
Marker?: string;
|
|
1589
1827
|
}
|
|
1828
|
+
/**
|
|
1829
|
+
* @public
|
|
1830
|
+
*/
|
|
1590
1831
|
export declare enum UserFilterType {
|
|
1591
1832
|
ACTIVE_PENDING = "ACTIVE_PENDING",
|
|
1592
1833
|
ALL = "ALL"
|
|
1593
1834
|
}
|
|
1835
|
+
/**
|
|
1836
|
+
* @public
|
|
1837
|
+
*/
|
|
1594
1838
|
export declare enum UserSortType {
|
|
1595
1839
|
FULL_NAME = "FULL_NAME",
|
|
1596
1840
|
STORAGE_LIMIT = "STORAGE_LIMIT",
|
|
@@ -1598,6 +1842,9 @@ export declare enum UserSortType {
|
|
|
1598
1842
|
USER_NAME = "USER_NAME",
|
|
1599
1843
|
USER_STATUS = "USER_STATUS"
|
|
1600
1844
|
}
|
|
1845
|
+
/**
|
|
1846
|
+
* @public
|
|
1847
|
+
*/
|
|
1601
1848
|
export interface DescribeUsersRequest {
|
|
1602
1849
|
/**
|
|
1603
1850
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1659,6 +1906,9 @@ export interface DescribeUsersRequest {
|
|
|
1659
1906
|
*/
|
|
1660
1907
|
Fields?: string;
|
|
1661
1908
|
}
|
|
1909
|
+
/**
|
|
1910
|
+
* @public
|
|
1911
|
+
*/
|
|
1662
1912
|
export interface DescribeUsersResponse {
|
|
1663
1913
|
/**
|
|
1664
1914
|
* <p>The users.</p>
|
|
@@ -1677,6 +1927,7 @@ export interface DescribeUsersResponse {
|
|
|
1677
1927
|
Marker?: string;
|
|
1678
1928
|
}
|
|
1679
1929
|
/**
|
|
1930
|
+
* @public
|
|
1680
1931
|
* <p>The response is too large to return. The request must include a filter to reduce the size of the response.</p>
|
|
1681
1932
|
*/
|
|
1682
1933
|
export declare class RequestedEntityTooLargeException extends __BaseException {
|
|
@@ -1688,18 +1939,27 @@ export declare class RequestedEntityTooLargeException extends __BaseException {
|
|
|
1688
1939
|
*/
|
|
1689
1940
|
constructor(opts: __ExceptionOptionType<RequestedEntityTooLargeException, __BaseException>);
|
|
1690
1941
|
}
|
|
1942
|
+
/**
|
|
1943
|
+
* @public
|
|
1944
|
+
*/
|
|
1691
1945
|
export interface GetCurrentUserRequest {
|
|
1692
1946
|
/**
|
|
1693
1947
|
* <p>Amazon WorkDocs authentication token.</p>
|
|
1694
1948
|
*/
|
|
1695
1949
|
AuthenticationToken: string | undefined;
|
|
1696
1950
|
}
|
|
1951
|
+
/**
|
|
1952
|
+
* @public
|
|
1953
|
+
*/
|
|
1697
1954
|
export interface GetCurrentUserResponse {
|
|
1698
1955
|
/**
|
|
1699
1956
|
* <p>Metadata of the user.</p>
|
|
1700
1957
|
*/
|
|
1701
1958
|
User?: User;
|
|
1702
1959
|
}
|
|
1960
|
+
/**
|
|
1961
|
+
* @public
|
|
1962
|
+
*/
|
|
1703
1963
|
export interface GetDocumentRequest {
|
|
1704
1964
|
/**
|
|
1705
1965
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1714,6 +1974,9 @@ export interface GetDocumentRequest {
|
|
|
1714
1974
|
*/
|
|
1715
1975
|
IncludeCustomMetadata?: boolean;
|
|
1716
1976
|
}
|
|
1977
|
+
/**
|
|
1978
|
+
* @public
|
|
1979
|
+
*/
|
|
1717
1980
|
export interface GetDocumentResponse {
|
|
1718
1981
|
/**
|
|
1719
1982
|
* <p>The metadata details of the document.</p>
|
|
@@ -1724,6 +1987,9 @@ export interface GetDocumentResponse {
|
|
|
1724
1987
|
*/
|
|
1725
1988
|
CustomMetadata?: Record<string, string>;
|
|
1726
1989
|
}
|
|
1990
|
+
/**
|
|
1991
|
+
* @public
|
|
1992
|
+
*/
|
|
1727
1993
|
export interface GetDocumentPathRequest {
|
|
1728
1994
|
/**
|
|
1729
1995
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1748,6 +2014,7 @@ export interface GetDocumentPathRequest {
|
|
|
1748
2014
|
Marker?: string;
|
|
1749
2015
|
}
|
|
1750
2016
|
/**
|
|
2017
|
+
* @public
|
|
1751
2018
|
* <p>Describes the resource path.</p>
|
|
1752
2019
|
*/
|
|
1753
2020
|
export interface ResourcePathComponent {
|
|
@@ -1761,6 +2028,7 @@ export interface ResourcePathComponent {
|
|
|
1761
2028
|
Name?: string;
|
|
1762
2029
|
}
|
|
1763
2030
|
/**
|
|
2031
|
+
* @public
|
|
1764
2032
|
* <p>Describes the path information of a resource.</p>
|
|
1765
2033
|
*/
|
|
1766
2034
|
export interface ResourcePath {
|
|
@@ -1769,12 +2037,18 @@ export interface ResourcePath {
|
|
|
1769
2037
|
*/
|
|
1770
2038
|
Components?: ResourcePathComponent[];
|
|
1771
2039
|
}
|
|
2040
|
+
/**
|
|
2041
|
+
* @public
|
|
2042
|
+
*/
|
|
1772
2043
|
export interface GetDocumentPathResponse {
|
|
1773
2044
|
/**
|
|
1774
2045
|
* <p>The path information.</p>
|
|
1775
2046
|
*/
|
|
1776
2047
|
Path?: ResourcePath;
|
|
1777
2048
|
}
|
|
2049
|
+
/**
|
|
2050
|
+
* @public
|
|
2051
|
+
*/
|
|
1778
2052
|
export interface GetDocumentVersionRequest {
|
|
1779
2053
|
/**
|
|
1780
2054
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1798,6 +2072,9 @@ export interface GetDocumentVersionRequest {
|
|
|
1798
2072
|
*/
|
|
1799
2073
|
IncludeCustomMetadata?: boolean;
|
|
1800
2074
|
}
|
|
2075
|
+
/**
|
|
2076
|
+
* @public
|
|
2077
|
+
*/
|
|
1801
2078
|
export interface GetDocumentVersionResponse {
|
|
1802
2079
|
/**
|
|
1803
2080
|
* <p>The version metadata.</p>
|
|
@@ -1808,6 +2085,9 @@ export interface GetDocumentVersionResponse {
|
|
|
1808
2085
|
*/
|
|
1809
2086
|
CustomMetadata?: Record<string, string>;
|
|
1810
2087
|
}
|
|
2088
|
+
/**
|
|
2089
|
+
* @public
|
|
2090
|
+
*/
|
|
1811
2091
|
export interface GetFolderRequest {
|
|
1812
2092
|
/**
|
|
1813
2093
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1822,6 +2102,9 @@ export interface GetFolderRequest {
|
|
|
1822
2102
|
*/
|
|
1823
2103
|
IncludeCustomMetadata?: boolean;
|
|
1824
2104
|
}
|
|
2105
|
+
/**
|
|
2106
|
+
* @public
|
|
2107
|
+
*/
|
|
1825
2108
|
export interface GetFolderResponse {
|
|
1826
2109
|
/**
|
|
1827
2110
|
* <p>The metadata of the folder.</p>
|
|
@@ -1832,6 +2115,9 @@ export interface GetFolderResponse {
|
|
|
1832
2115
|
*/
|
|
1833
2116
|
CustomMetadata?: Record<string, string>;
|
|
1834
2117
|
}
|
|
2118
|
+
/**
|
|
2119
|
+
* @public
|
|
2120
|
+
*/
|
|
1835
2121
|
export interface GetFolderPathRequest {
|
|
1836
2122
|
/**
|
|
1837
2123
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1855,15 +2141,24 @@ export interface GetFolderPathRequest {
|
|
|
1855
2141
|
*/
|
|
1856
2142
|
Marker?: string;
|
|
1857
2143
|
}
|
|
2144
|
+
/**
|
|
2145
|
+
* @public
|
|
2146
|
+
*/
|
|
1858
2147
|
export interface GetFolderPathResponse {
|
|
1859
2148
|
/**
|
|
1860
2149
|
* <p>The path information.</p>
|
|
1861
2150
|
*/
|
|
1862
2151
|
Path?: ResourcePath;
|
|
1863
2152
|
}
|
|
2153
|
+
/**
|
|
2154
|
+
* @public
|
|
2155
|
+
*/
|
|
1864
2156
|
export declare enum ResourceCollectionType {
|
|
1865
2157
|
SHARED_WITH_ME = "SHARED_WITH_ME"
|
|
1866
2158
|
}
|
|
2159
|
+
/**
|
|
2160
|
+
* @public
|
|
2161
|
+
*/
|
|
1867
2162
|
export interface GetResourcesRequest {
|
|
1868
2163
|
/**
|
|
1869
2164
|
* <p>The Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1887,6 +2182,9 @@ export interface GetResourcesRequest {
|
|
|
1887
2182
|
*/
|
|
1888
2183
|
Marker?: string;
|
|
1889
2184
|
}
|
|
2185
|
+
/**
|
|
2186
|
+
* @public
|
|
2187
|
+
*/
|
|
1890
2188
|
export interface GetResourcesResponse {
|
|
1891
2189
|
/**
|
|
1892
2190
|
* <p>The folders in the specified folder.</p>
|
|
@@ -1902,6 +2200,7 @@ export interface GetResourcesResponse {
|
|
|
1902
2200
|
Marker?: string;
|
|
1903
2201
|
}
|
|
1904
2202
|
/**
|
|
2203
|
+
* @public
|
|
1905
2204
|
* <p>This exception is thrown when a valid checkout ID is not presented on document
|
|
1906
2205
|
* version upload calls for a document that has been checked out from Web client.</p>
|
|
1907
2206
|
*/
|
|
@@ -1914,6 +2213,9 @@ export declare class DraftUploadOutOfSyncException extends __BaseException {
|
|
|
1914
2213
|
*/
|
|
1915
2214
|
constructor(opts: __ExceptionOptionType<DraftUploadOutOfSyncException, __BaseException>);
|
|
1916
2215
|
}
|
|
2216
|
+
/**
|
|
2217
|
+
* @public
|
|
2218
|
+
*/
|
|
1917
2219
|
export interface InitiateDocumentVersionUploadRequest {
|
|
1918
2220
|
/**
|
|
1919
2221
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -1949,6 +2251,7 @@ export interface InitiateDocumentVersionUploadRequest {
|
|
|
1949
2251
|
ParentFolderId?: string;
|
|
1950
2252
|
}
|
|
1951
2253
|
/**
|
|
2254
|
+
* @public
|
|
1952
2255
|
* <p>Describes the upload.</p>
|
|
1953
2256
|
*/
|
|
1954
2257
|
export interface UploadMetadata {
|
|
@@ -1961,6 +2264,9 @@ export interface UploadMetadata {
|
|
|
1961
2264
|
*/
|
|
1962
2265
|
SignedHeaders?: Record<string, string>;
|
|
1963
2266
|
}
|
|
2267
|
+
/**
|
|
2268
|
+
* @public
|
|
2269
|
+
*/
|
|
1964
2270
|
export interface InitiateDocumentVersionUploadResponse {
|
|
1965
2271
|
/**
|
|
1966
2272
|
* <p>The document metadata.</p>
|
|
@@ -1972,6 +2278,7 @@ export interface InitiateDocumentVersionUploadResponse {
|
|
|
1972
2278
|
UploadMetadata?: UploadMetadata;
|
|
1973
2279
|
}
|
|
1974
2280
|
/**
|
|
2281
|
+
* @public
|
|
1975
2282
|
* <p>The resource is already checked out.</p>
|
|
1976
2283
|
*/
|
|
1977
2284
|
export declare class ResourceAlreadyCheckedOutException extends __BaseException {
|
|
@@ -1984,6 +2291,7 @@ export declare class ResourceAlreadyCheckedOutException extends __BaseException
|
|
|
1984
2291
|
constructor(opts: __ExceptionOptionType<ResourceAlreadyCheckedOutException, __BaseException>);
|
|
1985
2292
|
}
|
|
1986
2293
|
/**
|
|
2294
|
+
* @public
|
|
1987
2295
|
* <p>The storage limit has been exceeded.</p>
|
|
1988
2296
|
*/
|
|
1989
2297
|
export declare class StorageLimitExceededException extends __BaseException {
|
|
@@ -1996,6 +2304,7 @@ export declare class StorageLimitExceededException extends __BaseException {
|
|
|
1996
2304
|
constructor(opts: __ExceptionOptionType<StorageLimitExceededException, __BaseException>);
|
|
1997
2305
|
}
|
|
1998
2306
|
/**
|
|
2307
|
+
* @public
|
|
1999
2308
|
* <p>The storage limit will be exceeded.</p>
|
|
2000
2309
|
*/
|
|
2001
2310
|
export declare class StorageLimitWillExceedException extends __BaseException {
|
|
@@ -2007,6 +2316,9 @@ export declare class StorageLimitWillExceedException extends __BaseException {
|
|
|
2007
2316
|
*/
|
|
2008
2317
|
constructor(opts: __ExceptionOptionType<StorageLimitWillExceedException, __BaseException>);
|
|
2009
2318
|
}
|
|
2319
|
+
/**
|
|
2320
|
+
* @public
|
|
2321
|
+
*/
|
|
2010
2322
|
export interface RemoveAllResourcePermissionsRequest {
|
|
2011
2323
|
/**
|
|
2012
2324
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2017,6 +2329,9 @@ export interface RemoveAllResourcePermissionsRequest {
|
|
|
2017
2329
|
*/
|
|
2018
2330
|
ResourceId: string | undefined;
|
|
2019
2331
|
}
|
|
2332
|
+
/**
|
|
2333
|
+
* @public
|
|
2334
|
+
*/
|
|
2020
2335
|
export interface RemoveResourcePermissionRequest {
|
|
2021
2336
|
/**
|
|
2022
2337
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2035,6 +2350,9 @@ export interface RemoveResourcePermissionRequest {
|
|
|
2035
2350
|
*/
|
|
2036
2351
|
PrincipalType?: PrincipalType | string;
|
|
2037
2352
|
}
|
|
2353
|
+
/**
|
|
2354
|
+
* @public
|
|
2355
|
+
*/
|
|
2038
2356
|
export interface RestoreDocumentVersionsRequest {
|
|
2039
2357
|
/**
|
|
2040
2358
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2045,6 +2363,9 @@ export interface RestoreDocumentVersionsRequest {
|
|
|
2045
2363
|
*/
|
|
2046
2364
|
DocumentId: string | undefined;
|
|
2047
2365
|
}
|
|
2366
|
+
/**
|
|
2367
|
+
* @public
|
|
2368
|
+
*/
|
|
2048
2369
|
export declare enum ContentCategoryType {
|
|
2049
2370
|
AUDIO = "AUDIO",
|
|
2050
2371
|
DOCUMENT = "DOCUMENT",
|
|
@@ -2057,6 +2378,7 @@ export declare enum ContentCategoryType {
|
|
|
2057
2378
|
VIDEO = "VIDEO"
|
|
2058
2379
|
}
|
|
2059
2380
|
/**
|
|
2381
|
+
* @public
|
|
2060
2382
|
* <p>Filters results based on timestamp range (in epochs).</p>
|
|
2061
2383
|
*/
|
|
2062
2384
|
export interface DateRangeType {
|
|
@@ -2069,6 +2391,9 @@ export interface DateRangeType {
|
|
|
2069
2391
|
*/
|
|
2070
2392
|
EndValue?: Date;
|
|
2071
2393
|
}
|
|
2394
|
+
/**
|
|
2395
|
+
* @public
|
|
2396
|
+
*/
|
|
2072
2397
|
export declare enum PrincipalRoleType {
|
|
2073
2398
|
CONTRIBUTOR = "CONTRIBUTOR",
|
|
2074
2399
|
COOWNER = "COOWNER",
|
|
@@ -2076,6 +2401,7 @@ export declare enum PrincipalRoleType {
|
|
|
2076
2401
|
VIEWER = "VIEWER"
|
|
2077
2402
|
}
|
|
2078
2403
|
/**
|
|
2404
|
+
* @public
|
|
2079
2405
|
* <p>Filter based on UserIds or GroupIds.</p>
|
|
2080
2406
|
*/
|
|
2081
2407
|
export interface SearchPrincipalType {
|
|
@@ -2088,17 +2414,24 @@ export interface SearchPrincipalType {
|
|
|
2088
2414
|
*/
|
|
2089
2415
|
Roles?: (PrincipalRoleType | string)[];
|
|
2090
2416
|
}
|
|
2417
|
+
/**
|
|
2418
|
+
* @public
|
|
2419
|
+
*/
|
|
2091
2420
|
export declare enum SearchResourceType {
|
|
2092
2421
|
COMMENT = "COMMENT",
|
|
2093
2422
|
DOCUMENT = "DOCUMENT",
|
|
2094
2423
|
DOCUMENT_VERSION = "DOCUMENT_VERSION",
|
|
2095
2424
|
FOLDER = "FOLDER"
|
|
2096
2425
|
}
|
|
2426
|
+
/**
|
|
2427
|
+
* @public
|
|
2428
|
+
*/
|
|
2097
2429
|
export declare enum SearchCollectionType {
|
|
2098
2430
|
OWNED = "OWNED",
|
|
2099
2431
|
SHARED_WITH_ME = "SHARED_WITH_ME"
|
|
2100
2432
|
}
|
|
2101
2433
|
/**
|
|
2434
|
+
* @public
|
|
2102
2435
|
* <p>Filter based on size (in bytes).</p>
|
|
2103
2436
|
*/
|
|
2104
2437
|
export interface LongRangeType {
|
|
@@ -2111,6 +2444,9 @@ export interface LongRangeType {
|
|
|
2111
2444
|
*/
|
|
2112
2445
|
EndValue?: number;
|
|
2113
2446
|
}
|
|
2447
|
+
/**
|
|
2448
|
+
* @public
|
|
2449
|
+
*/
|
|
2114
2450
|
export declare enum LanguageCodeType {
|
|
2115
2451
|
AR = "AR",
|
|
2116
2452
|
BG = "BG",
|
|
@@ -2145,6 +2481,7 @@ export declare enum LanguageCodeType {
|
|
|
2145
2481
|
ZH = "ZH"
|
|
2146
2482
|
}
|
|
2147
2483
|
/**
|
|
2484
|
+
* @public
|
|
2148
2485
|
* <p>Filters results based on entity metadata.</p>
|
|
2149
2486
|
*/
|
|
2150
2487
|
export interface Filters {
|
|
@@ -2189,6 +2526,9 @@ export interface Filters {
|
|
|
2189
2526
|
*/
|
|
2190
2527
|
ModifiedRange?: DateRangeType;
|
|
2191
2528
|
}
|
|
2529
|
+
/**
|
|
2530
|
+
* @public
|
|
2531
|
+
*/
|
|
2192
2532
|
export declare enum OrderByFieldType {
|
|
2193
2533
|
CREATED_TIMESTAMP = "CREATED_TIMESTAMP",
|
|
2194
2534
|
MODIFIED_TIMESTAMP = "MODIFIED_TIMESTAMP",
|
|
@@ -2196,11 +2536,15 @@ export declare enum OrderByFieldType {
|
|
|
2196
2536
|
RELEVANCE = "RELEVANCE",
|
|
2197
2537
|
SIZE = "SIZE"
|
|
2198
2538
|
}
|
|
2539
|
+
/**
|
|
2540
|
+
* @public
|
|
2541
|
+
*/
|
|
2199
2542
|
export declare enum SortOrder {
|
|
2200
2543
|
ASC = "ASC",
|
|
2201
2544
|
DESC = "DESC"
|
|
2202
2545
|
}
|
|
2203
2546
|
/**
|
|
2547
|
+
* @public
|
|
2204
2548
|
* <p>The result of the sort operation.</p>
|
|
2205
2549
|
*/
|
|
2206
2550
|
export interface SearchSortResult {
|
|
@@ -2213,10 +2557,16 @@ export interface SearchSortResult {
|
|
|
2213
2557
|
*/
|
|
2214
2558
|
Order?: SortOrder | string;
|
|
2215
2559
|
}
|
|
2560
|
+
/**
|
|
2561
|
+
* @public
|
|
2562
|
+
*/
|
|
2216
2563
|
export declare enum SearchQueryScopeType {
|
|
2217
2564
|
CONTENT = "CONTENT",
|
|
2218
2565
|
NAME = "NAME"
|
|
2219
2566
|
}
|
|
2567
|
+
/**
|
|
2568
|
+
* @public
|
|
2569
|
+
*/
|
|
2220
2570
|
export interface SearchResourcesRequest {
|
|
2221
2571
|
/**
|
|
2222
2572
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2256,6 +2606,9 @@ export interface SearchResourcesRequest {
|
|
|
2256
2606
|
*/
|
|
2257
2607
|
Marker?: string;
|
|
2258
2608
|
}
|
|
2609
|
+
/**
|
|
2610
|
+
* @public
|
|
2611
|
+
*/
|
|
2259
2612
|
export declare enum ResponseItemType {
|
|
2260
2613
|
COMMENT = "COMMENT",
|
|
2261
2614
|
DOCUMENT = "DOCUMENT",
|
|
@@ -2263,6 +2616,7 @@ export declare enum ResponseItemType {
|
|
|
2263
2616
|
FOLDER = "FOLDER"
|
|
2264
2617
|
}
|
|
2265
2618
|
/**
|
|
2619
|
+
* @public
|
|
2266
2620
|
* <p>List of Documents, Folders, Comments, and Document Versions matching the query.</p>
|
|
2267
2621
|
*/
|
|
2268
2622
|
export interface ResponseItem {
|
|
@@ -2291,6 +2645,9 @@ export interface ResponseItem {
|
|
|
2291
2645
|
*/
|
|
2292
2646
|
DocumentVersionMetadata?: DocumentVersionMetadata;
|
|
2293
2647
|
}
|
|
2648
|
+
/**
|
|
2649
|
+
* @public
|
|
2650
|
+
*/
|
|
2294
2651
|
export interface SearchResourcesResponse {
|
|
2295
2652
|
/**
|
|
2296
2653
|
* <p>List of Documents, Folders, Comments, and Document Versions matching the query.</p>
|
|
@@ -2301,6 +2658,9 @@ export interface SearchResourcesResponse {
|
|
|
2301
2658
|
*/
|
|
2302
2659
|
Marker?: string;
|
|
2303
2660
|
}
|
|
2661
|
+
/**
|
|
2662
|
+
* @public
|
|
2663
|
+
*/
|
|
2304
2664
|
export interface UpdateDocumentRequest {
|
|
2305
2665
|
/**
|
|
2306
2666
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2324,9 +2684,15 @@ export interface UpdateDocumentRequest {
|
|
|
2324
2684
|
*/
|
|
2325
2685
|
ResourceState?: ResourceStateType | string;
|
|
2326
2686
|
}
|
|
2687
|
+
/**
|
|
2688
|
+
* @public
|
|
2689
|
+
*/
|
|
2327
2690
|
export declare enum DocumentVersionStatus {
|
|
2328
2691
|
ACTIVE = "ACTIVE"
|
|
2329
2692
|
}
|
|
2693
|
+
/**
|
|
2694
|
+
* @public
|
|
2695
|
+
*/
|
|
2330
2696
|
export interface UpdateDocumentVersionRequest {
|
|
2331
2697
|
/**
|
|
2332
2698
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2345,6 +2711,9 @@ export interface UpdateDocumentVersionRequest {
|
|
|
2345
2711
|
*/
|
|
2346
2712
|
VersionStatus?: DocumentVersionStatus | string;
|
|
2347
2713
|
}
|
|
2714
|
+
/**
|
|
2715
|
+
* @public
|
|
2716
|
+
*/
|
|
2348
2717
|
export interface UpdateFolderRequest {
|
|
2349
2718
|
/**
|
|
2350
2719
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2369,6 +2738,7 @@ export interface UpdateFolderRequest {
|
|
|
2369
2738
|
ResourceState?: ResourceStateType | string;
|
|
2370
2739
|
}
|
|
2371
2740
|
/**
|
|
2741
|
+
* @public
|
|
2372
2742
|
* <p>The last user in the organization is being deactivated.</p>
|
|
2373
2743
|
*/
|
|
2374
2744
|
export declare class DeactivatingLastSystemUserException extends __BaseException {
|
|
@@ -2382,6 +2752,7 @@ export declare class DeactivatingLastSystemUserException extends __BaseException
|
|
|
2382
2752
|
constructor(opts: __ExceptionOptionType<DeactivatingLastSystemUserException, __BaseException>);
|
|
2383
2753
|
}
|
|
2384
2754
|
/**
|
|
2755
|
+
* @public
|
|
2385
2756
|
* <p>The user is undergoing transfer of ownership.</p>
|
|
2386
2757
|
*/
|
|
2387
2758
|
export declare class IllegalUserStateException extends __BaseException {
|
|
@@ -2393,10 +2764,16 @@ export declare class IllegalUserStateException extends __BaseException {
|
|
|
2393
2764
|
*/
|
|
2394
2765
|
constructor(opts: __ExceptionOptionType<IllegalUserStateException, __BaseException>);
|
|
2395
2766
|
}
|
|
2767
|
+
/**
|
|
2768
|
+
* @public
|
|
2769
|
+
*/
|
|
2396
2770
|
export declare enum BooleanEnumType {
|
|
2397
2771
|
FALSE = "FALSE",
|
|
2398
2772
|
TRUE = "TRUE"
|
|
2399
2773
|
}
|
|
2774
|
+
/**
|
|
2775
|
+
* @public
|
|
2776
|
+
*/
|
|
2400
2777
|
export interface UpdateUserRequest {
|
|
2401
2778
|
/**
|
|
2402
2779
|
* <p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p>
|
|
@@ -2435,6 +2812,9 @@ export interface UpdateUserRequest {
|
|
|
2435
2812
|
*/
|
|
2436
2813
|
GrantPoweruserPrivileges?: BooleanEnumType | string;
|
|
2437
2814
|
}
|
|
2815
|
+
/**
|
|
2816
|
+
* @public
|
|
2817
|
+
*/
|
|
2438
2818
|
export interface UpdateUserResponse {
|
|
2439
2819
|
/**
|
|
2440
2820
|
* <p>The user information.</p>
|
|
@@ -2449,14 +2829,6 @@ export declare const AbortDocumentVersionUploadRequestFilterSensitiveLog: (obj:
|
|
|
2449
2829
|
* @internal
|
|
2450
2830
|
*/
|
|
2451
2831
|
export declare const ActivateUserRequestFilterSensitiveLog: (obj: ActivateUserRequest) => any;
|
|
2452
|
-
/**
|
|
2453
|
-
* @internal
|
|
2454
|
-
*/
|
|
2455
|
-
export declare const StorageRuleTypeFilterSensitiveLog: (obj: StorageRuleType) => any;
|
|
2456
|
-
/**
|
|
2457
|
-
* @internal
|
|
2458
|
-
*/
|
|
2459
|
-
export declare const UserStorageMetadataFilterSensitiveLog: (obj: UserStorageMetadata) => any;
|
|
2460
2832
|
/**
|
|
2461
2833
|
* @internal
|
|
2462
2834
|
*/
|
|
@@ -2477,10 +2849,6 @@ export declare const UserMetadataFilterSensitiveLog: (obj: UserMetadata) => any;
|
|
|
2477
2849
|
* @internal
|
|
2478
2850
|
*/
|
|
2479
2851
|
export declare const ResourceMetadataFilterSensitiveLog: (obj: ResourceMetadata) => any;
|
|
2480
|
-
/**
|
|
2481
|
-
* @internal
|
|
2482
|
-
*/
|
|
2483
|
-
export declare const GroupMetadataFilterSensitiveLog: (obj: GroupMetadata) => any;
|
|
2484
2852
|
/**
|
|
2485
2853
|
* @internal
|
|
2486
2854
|
*/
|
|
@@ -2493,10 +2861,6 @@ export declare const ActivityFilterSensitiveLog: (obj: Activity) => any;
|
|
|
2493
2861
|
* @internal
|
|
2494
2862
|
*/
|
|
2495
2863
|
export declare const NotificationOptionsFilterSensitiveLog: (obj: NotificationOptions) => any;
|
|
2496
|
-
/**
|
|
2497
|
-
* @internal
|
|
2498
|
-
*/
|
|
2499
|
-
export declare const SharePrincipalFilterSensitiveLog: (obj: SharePrincipal) => any;
|
|
2500
2864
|
/**
|
|
2501
2865
|
* @internal
|
|
2502
2866
|
*/
|
|
@@ -2525,10 +2889,6 @@ export declare const CreateCommentResponseFilterSensitiveLog: (obj: CreateCommen
|
|
|
2525
2889
|
* @internal
|
|
2526
2890
|
*/
|
|
2527
2891
|
export declare const CreateCustomMetadataRequestFilterSensitiveLog: (obj: CreateCustomMetadataRequest) => any;
|
|
2528
|
-
/**
|
|
2529
|
-
* @internal
|
|
2530
|
-
*/
|
|
2531
|
-
export declare const CreateCustomMetadataResponseFilterSensitiveLog: (obj: CreateCustomMetadataResponse) => any;
|
|
2532
2892
|
/**
|
|
2533
2893
|
* @internal
|
|
2534
2894
|
*/
|
|
@@ -2545,22 +2905,6 @@ export declare const CreateFolderResponseFilterSensitiveLog: (obj: CreateFolderR
|
|
|
2545
2905
|
* @internal
|
|
2546
2906
|
*/
|
|
2547
2907
|
export declare const CreateLabelsRequestFilterSensitiveLog: (obj: CreateLabelsRequest) => any;
|
|
2548
|
-
/**
|
|
2549
|
-
* @internal
|
|
2550
|
-
*/
|
|
2551
|
-
export declare const CreateLabelsResponseFilterSensitiveLog: (obj: CreateLabelsResponse) => any;
|
|
2552
|
-
/**
|
|
2553
|
-
* @internal
|
|
2554
|
-
*/
|
|
2555
|
-
export declare const CreateNotificationSubscriptionRequestFilterSensitiveLog: (obj: CreateNotificationSubscriptionRequest) => any;
|
|
2556
|
-
/**
|
|
2557
|
-
* @internal
|
|
2558
|
-
*/
|
|
2559
|
-
export declare const SubscriptionFilterSensitiveLog: (obj: Subscription) => any;
|
|
2560
|
-
/**
|
|
2561
|
-
* @internal
|
|
2562
|
-
*/
|
|
2563
|
-
export declare const CreateNotificationSubscriptionResponseFilterSensitiveLog: (obj: CreateNotificationSubscriptionResponse) => any;
|
|
2564
2908
|
/**
|
|
2565
2909
|
* @internal
|
|
2566
2910
|
*/
|
|
@@ -2581,10 +2925,6 @@ export declare const DeleteCommentRequestFilterSensitiveLog: (obj: DeleteComment
|
|
|
2581
2925
|
* @internal
|
|
2582
2926
|
*/
|
|
2583
2927
|
export declare const DeleteCustomMetadataRequestFilterSensitiveLog: (obj: DeleteCustomMetadataRequest) => any;
|
|
2584
|
-
/**
|
|
2585
|
-
* @internal
|
|
2586
|
-
*/
|
|
2587
|
-
export declare const DeleteCustomMetadataResponseFilterSensitiveLog: (obj: DeleteCustomMetadataResponse) => any;
|
|
2588
2928
|
/**
|
|
2589
2929
|
* @internal
|
|
2590
2930
|
*/
|
|
@@ -2605,14 +2945,6 @@ export declare const DeleteFolderContentsRequestFilterSensitiveLog: (obj: Delete
|
|
|
2605
2945
|
* @internal
|
|
2606
2946
|
*/
|
|
2607
2947
|
export declare const DeleteLabelsRequestFilterSensitiveLog: (obj: DeleteLabelsRequest) => any;
|
|
2608
|
-
/**
|
|
2609
|
-
* @internal
|
|
2610
|
-
*/
|
|
2611
|
-
export declare const DeleteLabelsResponseFilterSensitiveLog: (obj: DeleteLabelsResponse) => any;
|
|
2612
|
-
/**
|
|
2613
|
-
* @internal
|
|
2614
|
-
*/
|
|
2615
|
-
export declare const DeleteNotificationSubscriptionRequestFilterSensitiveLog: (obj: DeleteNotificationSubscriptionRequest) => any;
|
|
2616
2948
|
/**
|
|
2617
2949
|
* @internal
|
|
2618
2950
|
*/
|
|
@@ -2661,34 +2993,10 @@ export declare const DescribeFolderContentsResponseFilterSensitiveLog: (obj: Des
|
|
|
2661
2993
|
* @internal
|
|
2662
2994
|
*/
|
|
2663
2995
|
export declare const DescribeGroupsRequestFilterSensitiveLog: (obj: DescribeGroupsRequest) => any;
|
|
2664
|
-
/**
|
|
2665
|
-
* @internal
|
|
2666
|
-
*/
|
|
2667
|
-
export declare const DescribeGroupsResponseFilterSensitiveLog: (obj: DescribeGroupsResponse) => any;
|
|
2668
|
-
/**
|
|
2669
|
-
* @internal
|
|
2670
|
-
*/
|
|
2671
|
-
export declare const DescribeNotificationSubscriptionsRequestFilterSensitiveLog: (obj: DescribeNotificationSubscriptionsRequest) => any;
|
|
2672
|
-
/**
|
|
2673
|
-
* @internal
|
|
2674
|
-
*/
|
|
2675
|
-
export declare const DescribeNotificationSubscriptionsResponseFilterSensitiveLog: (obj: DescribeNotificationSubscriptionsResponse) => any;
|
|
2676
2996
|
/**
|
|
2677
2997
|
* @internal
|
|
2678
2998
|
*/
|
|
2679
2999
|
export declare const DescribeResourcePermissionsRequestFilterSensitiveLog: (obj: DescribeResourcePermissionsRequest) => any;
|
|
2680
|
-
/**
|
|
2681
|
-
* @internal
|
|
2682
|
-
*/
|
|
2683
|
-
export declare const PermissionInfoFilterSensitiveLog: (obj: PermissionInfo) => any;
|
|
2684
|
-
/**
|
|
2685
|
-
* @internal
|
|
2686
|
-
*/
|
|
2687
|
-
export declare const PrincipalFilterSensitiveLog: (obj: Principal) => any;
|
|
2688
|
-
/**
|
|
2689
|
-
* @internal
|
|
2690
|
-
*/
|
|
2691
|
-
export declare const DescribeResourcePermissionsResponseFilterSensitiveLog: (obj: DescribeResourcePermissionsResponse) => any;
|
|
2692
3000
|
/**
|
|
2693
3001
|
* @internal
|
|
2694
3002
|
*/
|
|
@@ -2793,26 +3101,6 @@ export declare const RemoveResourcePermissionRequestFilterSensitiveLog: (obj: Re
|
|
|
2793
3101
|
* @internal
|
|
2794
3102
|
*/
|
|
2795
3103
|
export declare const RestoreDocumentVersionsRequestFilterSensitiveLog: (obj: RestoreDocumentVersionsRequest) => any;
|
|
2796
|
-
/**
|
|
2797
|
-
* @internal
|
|
2798
|
-
*/
|
|
2799
|
-
export declare const DateRangeTypeFilterSensitiveLog: (obj: DateRangeType) => any;
|
|
2800
|
-
/**
|
|
2801
|
-
* @internal
|
|
2802
|
-
*/
|
|
2803
|
-
export declare const SearchPrincipalTypeFilterSensitiveLog: (obj: SearchPrincipalType) => any;
|
|
2804
|
-
/**
|
|
2805
|
-
* @internal
|
|
2806
|
-
*/
|
|
2807
|
-
export declare const LongRangeTypeFilterSensitiveLog: (obj: LongRangeType) => any;
|
|
2808
|
-
/**
|
|
2809
|
-
* @internal
|
|
2810
|
-
*/
|
|
2811
|
-
export declare const FiltersFilterSensitiveLog: (obj: Filters) => any;
|
|
2812
|
-
/**
|
|
2813
|
-
* @internal
|
|
2814
|
-
*/
|
|
2815
|
-
export declare const SearchSortResultFilterSensitiveLog: (obj: SearchSortResult) => any;
|
|
2816
3104
|
/**
|
|
2817
3105
|
* @internal
|
|
2818
3106
|
*/
|