@aws-sdk/client-workdocs 3.933.0 → 3.935.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.
@@ -0,0 +1,242 @@
1
+ export const LocaleType = {
2
+ DE: "de",
3
+ DEFAULT: "default",
4
+ EN: "en",
5
+ ES: "es",
6
+ FR: "fr",
7
+ JA: "ja",
8
+ KO: "ko",
9
+ PT_BR: "pt_BR",
10
+ RU: "ru",
11
+ ZH_CN: "zh_CN",
12
+ ZH_TW: "zh_TW",
13
+ };
14
+ export const UserStatusType = {
15
+ ACTIVE: "ACTIVE",
16
+ INACTIVE: "INACTIVE",
17
+ PENDING: "PENDING",
18
+ };
19
+ export const StorageType = {
20
+ QUOTA: "QUOTA",
21
+ UNLIMITED: "UNLIMITED",
22
+ };
23
+ export const UserType = {
24
+ ADMIN: "ADMIN",
25
+ MINIMALUSER: "MINIMALUSER",
26
+ POWERUSER: "POWERUSER",
27
+ USER: "USER",
28
+ WORKSPACESUSER: "WORKSPACESUSER",
29
+ };
30
+ export const CommentStatusType = {
31
+ DELETED: "DELETED",
32
+ DRAFT: "DRAFT",
33
+ PUBLISHED: "PUBLISHED",
34
+ };
35
+ export const ResourceType = {
36
+ DOCUMENT: "DOCUMENT",
37
+ FOLDER: "FOLDER",
38
+ };
39
+ export const ActivityType = {
40
+ DOCUMENT_ANNOTATION_ADDED: "DOCUMENT_ANNOTATION_ADDED",
41
+ DOCUMENT_ANNOTATION_DELETED: "DOCUMENT_ANNOTATION_DELETED",
42
+ DOCUMENT_CHECKED_IN: "DOCUMENT_CHECKED_IN",
43
+ DOCUMENT_CHECKED_OUT: "DOCUMENT_CHECKED_OUT",
44
+ DOCUMENT_COMMENT_ADDED: "DOCUMENT_COMMENT_ADDED",
45
+ DOCUMENT_COMMENT_DELETED: "DOCUMENT_COMMENT_DELETED",
46
+ DOCUMENT_MOVED: "DOCUMENT_MOVED",
47
+ DOCUMENT_RECYCLED: "DOCUMENT_RECYCLED",
48
+ DOCUMENT_RENAMED: "DOCUMENT_RENAMED",
49
+ DOCUMENT_RESTORED: "DOCUMENT_RESTORED",
50
+ DOCUMENT_REVERTED: "DOCUMENT_REVERTED",
51
+ DOCUMENT_SHAREABLE_LINK_CREATED: "DOCUMENT_SHAREABLE_LINK_CREATED",
52
+ DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED: "DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED",
53
+ DOCUMENT_SHAREABLE_LINK_REMOVED: "DOCUMENT_SHAREABLE_LINK_REMOVED",
54
+ DOCUMENT_SHARED: "DOCUMENT_SHARED",
55
+ DOCUMENT_SHARE_PERMISSION_CHANGED: "DOCUMENT_SHARE_PERMISSION_CHANGED",
56
+ DOCUMENT_UNSHARED: "DOCUMENT_UNSHARED",
57
+ DOCUMENT_VERSION_DELETED: "DOCUMENT_VERSION_DELETED",
58
+ DOCUMENT_VERSION_DOWNLOADED: "DOCUMENT_VERSION_DOWNLOADED",
59
+ DOCUMENT_VERSION_UPLOADED: "DOCUMENT_VERSION_UPLOADED",
60
+ DOCUMENT_VERSION_VIEWED: "DOCUMENT_VERSION_VIEWED",
61
+ FOLDER_CREATED: "FOLDER_CREATED",
62
+ FOLDER_DELETED: "FOLDER_DELETED",
63
+ FOLDER_MOVED: "FOLDER_MOVED",
64
+ FOLDER_RECYCLED: "FOLDER_RECYCLED",
65
+ FOLDER_RENAMED: "FOLDER_RENAMED",
66
+ FOLDER_RESTORED: "FOLDER_RESTORED",
67
+ FOLDER_SHAREABLE_LINK_CREATED: "FOLDER_SHAREABLE_LINK_CREATED",
68
+ FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED: "FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED",
69
+ FOLDER_SHAREABLE_LINK_REMOVED: "FOLDER_SHAREABLE_LINK_REMOVED",
70
+ FOLDER_SHARED: "FOLDER_SHARED",
71
+ FOLDER_SHARE_PERMISSION_CHANGED: "FOLDER_SHARE_PERMISSION_CHANGED",
72
+ FOLDER_UNSHARED: "FOLDER_UNSHARED",
73
+ };
74
+ export const AdditionalResponseFieldType = {
75
+ WEBURL: "WEBURL",
76
+ };
77
+ export const RoleType = {
78
+ CONTRIBUTOR: "CONTRIBUTOR",
79
+ COOWNER: "COOWNER",
80
+ OWNER: "OWNER",
81
+ VIEWER: "VIEWER",
82
+ };
83
+ export const PrincipalType = {
84
+ ANONYMOUS: "ANONYMOUS",
85
+ GROUP: "GROUP",
86
+ INVITE: "INVITE",
87
+ ORGANIZATION: "ORGANIZATION",
88
+ USER: "USER",
89
+ };
90
+ export const ShareStatusType = {
91
+ FAILURE: "FAILURE",
92
+ SUCCESS: "SUCCESS",
93
+ };
94
+ export const CommentVisibilityType = {
95
+ PRIVATE: "PRIVATE",
96
+ PUBLIC: "PUBLIC",
97
+ };
98
+ export const ResourceStateType = {
99
+ ACTIVE: "ACTIVE",
100
+ RECYCLED: "RECYCLED",
101
+ RECYCLING: "RECYCLING",
102
+ RESTORING: "RESTORING",
103
+ };
104
+ export const SubscriptionProtocolType = {
105
+ HTTPS: "HTTPS",
106
+ SQS: "SQS",
107
+ };
108
+ export const SubscriptionType = {
109
+ ALL: "ALL",
110
+ };
111
+ export const DocumentSourceType = {
112
+ ORIGINAL: "ORIGINAL",
113
+ WITH_COMMENTS: "WITH_COMMENTS",
114
+ };
115
+ export const DocumentStatusType = {
116
+ ACTIVE: "ACTIVE",
117
+ INITIALIZED: "INITIALIZED",
118
+ };
119
+ export const DocumentThumbnailType = {
120
+ LARGE: "LARGE",
121
+ SMALL: "SMALL",
122
+ SMALL_HQ: "SMALL_HQ",
123
+ };
124
+ export const OrderType = {
125
+ ASCENDING: "ASCENDING",
126
+ DESCENDING: "DESCENDING",
127
+ };
128
+ export const ResourceSortType = {
129
+ DATE: "DATE",
130
+ NAME: "NAME",
131
+ };
132
+ export const FolderContentType = {
133
+ ALL: "ALL",
134
+ DOCUMENT: "DOCUMENT",
135
+ FOLDER: "FOLDER",
136
+ };
137
+ export const RolePermissionType = {
138
+ DIRECT: "DIRECT",
139
+ INHERITED: "INHERITED",
140
+ };
141
+ export const UserFilterType = {
142
+ ACTIVE_PENDING: "ACTIVE_PENDING",
143
+ ALL: "ALL",
144
+ };
145
+ export const UserSortType = {
146
+ FULL_NAME: "FULL_NAME",
147
+ STORAGE_LIMIT: "STORAGE_LIMIT",
148
+ STORAGE_USED: "STORAGE_USED",
149
+ USER_NAME: "USER_NAME",
150
+ USER_STATUS: "USER_STATUS",
151
+ };
152
+ export const ResourceCollectionType = {
153
+ SHARED_WITH_ME: "SHARED_WITH_ME",
154
+ };
155
+ export const ContentCategoryType = {
156
+ AUDIO: "AUDIO",
157
+ DOCUMENT: "DOCUMENT",
158
+ IMAGE: "IMAGE",
159
+ OTHER: "OTHER",
160
+ PDF: "PDF",
161
+ PRESENTATION: "PRESENTATION",
162
+ SOURCE_CODE: "SOURCE_CODE",
163
+ SPREADSHEET: "SPREADSHEET",
164
+ VIDEO: "VIDEO",
165
+ };
166
+ export const PrincipalRoleType = {
167
+ CONTRIBUTOR: "CONTRIBUTOR",
168
+ COOWNER: "COOWNER",
169
+ OWNER: "OWNER",
170
+ VIEWER: "VIEWER",
171
+ };
172
+ export const SearchResourceType = {
173
+ COMMENT: "COMMENT",
174
+ DOCUMENT: "DOCUMENT",
175
+ DOCUMENT_VERSION: "DOCUMENT_VERSION",
176
+ FOLDER: "FOLDER",
177
+ };
178
+ export const SearchCollectionType = {
179
+ OWNED: "OWNED",
180
+ SHARED_WITH_ME: "SHARED_WITH_ME",
181
+ };
182
+ export const LanguageCodeType = {
183
+ AR: "AR",
184
+ BG: "BG",
185
+ BN: "BN",
186
+ CS: "CS",
187
+ DA: "DA",
188
+ DE: "DE",
189
+ DEFAULT: "DEFAULT",
190
+ EL: "EL",
191
+ EN: "EN",
192
+ ES: "ES",
193
+ FA: "FA",
194
+ FI: "FI",
195
+ FR: "FR",
196
+ HI: "HI",
197
+ HU: "HU",
198
+ ID: "ID",
199
+ IT: "IT",
200
+ JA: "JA",
201
+ KO: "KO",
202
+ LT: "LT",
203
+ LV: "LV",
204
+ NL: "NL",
205
+ NO: "NO",
206
+ PT: "PT",
207
+ RO: "RO",
208
+ RU: "RU",
209
+ SV: "SV",
210
+ SW: "SW",
211
+ TH: "TH",
212
+ TR: "TR",
213
+ ZH: "ZH",
214
+ };
215
+ export const OrderByFieldType = {
216
+ CREATED_TIMESTAMP: "CREATED_TIMESTAMP",
217
+ MODIFIED_TIMESTAMP: "MODIFIED_TIMESTAMP",
218
+ NAME: "NAME",
219
+ RELEVANCE: "RELEVANCE",
220
+ SIZE: "SIZE",
221
+ };
222
+ export const SortOrder = {
223
+ ASC: "ASC",
224
+ DESC: "DESC",
225
+ };
226
+ export const SearchQueryScopeType = {
227
+ CONTENT: "CONTENT",
228
+ NAME: "NAME",
229
+ };
230
+ export const ResponseItemType = {
231
+ COMMENT: "COMMENT",
232
+ DOCUMENT: "DOCUMENT",
233
+ DOCUMENT_VERSION: "DOCUMENT_VERSION",
234
+ FOLDER: "FOLDER",
235
+ };
236
+ export const DocumentVersionStatus = {
237
+ ACTIVE: "ACTIVE",
238
+ };
239
+ export const BooleanEnumType = {
240
+ FALSE: "FALSE",
241
+ TRUE: "TRUE",
242
+ };
@@ -0,0 +1,357 @@
1
+ import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
2
+ export class ConcurrentModificationException extends __BaseException {
3
+ name = "ConcurrentModificationException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "ConcurrentModificationException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class EntityNotExistsException extends __BaseException {
17
+ name = "EntityNotExistsException";
18
+ $fault = "client";
19
+ Message;
20
+ EntityIds;
21
+ constructor(opts) {
22
+ super({
23
+ name: "EntityNotExistsException",
24
+ $fault: "client",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, EntityNotExistsException.prototype);
28
+ this.Message = opts.Message;
29
+ this.EntityIds = opts.EntityIds;
30
+ }
31
+ }
32
+ export class FailedDependencyException extends __BaseException {
33
+ name = "FailedDependencyException";
34
+ $fault = "client";
35
+ Message;
36
+ constructor(opts) {
37
+ super({
38
+ name: "FailedDependencyException",
39
+ $fault: "client",
40
+ ...opts,
41
+ });
42
+ Object.setPrototypeOf(this, FailedDependencyException.prototype);
43
+ this.Message = opts.Message;
44
+ }
45
+ }
46
+ export class ProhibitedStateException extends __BaseException {
47
+ name = "ProhibitedStateException";
48
+ $fault = "client";
49
+ Message;
50
+ constructor(opts) {
51
+ super({
52
+ name: "ProhibitedStateException",
53
+ $fault: "client",
54
+ ...opts,
55
+ });
56
+ Object.setPrototypeOf(this, ProhibitedStateException.prototype);
57
+ this.Message = opts.Message;
58
+ }
59
+ }
60
+ export class ServiceUnavailableException extends __BaseException {
61
+ name = "ServiceUnavailableException";
62
+ $fault = "server";
63
+ Message;
64
+ constructor(opts) {
65
+ super({
66
+ name: "ServiceUnavailableException",
67
+ $fault: "server",
68
+ ...opts,
69
+ });
70
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
71
+ this.Message = opts.Message;
72
+ }
73
+ }
74
+ export class UnauthorizedOperationException extends __BaseException {
75
+ name = "UnauthorizedOperationException";
76
+ $fault = "client";
77
+ Message;
78
+ Code;
79
+ constructor(opts) {
80
+ super({
81
+ name: "UnauthorizedOperationException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ Object.setPrototypeOf(this, UnauthorizedOperationException.prototype);
86
+ this.Message = opts.Message;
87
+ this.Code = opts.Code;
88
+ }
89
+ }
90
+ export class UnauthorizedResourceAccessException extends __BaseException {
91
+ name = "UnauthorizedResourceAccessException";
92
+ $fault = "client";
93
+ Message;
94
+ constructor(opts) {
95
+ super({
96
+ name: "UnauthorizedResourceAccessException",
97
+ $fault: "client",
98
+ ...opts,
99
+ });
100
+ Object.setPrototypeOf(this, UnauthorizedResourceAccessException.prototype);
101
+ this.Message = opts.Message;
102
+ }
103
+ }
104
+ export class DocumentLockedForCommentsException extends __BaseException {
105
+ name = "DocumentLockedForCommentsException";
106
+ $fault = "client";
107
+ Message;
108
+ constructor(opts) {
109
+ super({
110
+ name: "DocumentLockedForCommentsException",
111
+ $fault: "client",
112
+ ...opts,
113
+ });
114
+ Object.setPrototypeOf(this, DocumentLockedForCommentsException.prototype);
115
+ this.Message = opts.Message;
116
+ }
117
+ }
118
+ export class InvalidCommentOperationException extends __BaseException {
119
+ name = "InvalidCommentOperationException";
120
+ $fault = "client";
121
+ Message;
122
+ constructor(opts) {
123
+ super({
124
+ name: "InvalidCommentOperationException",
125
+ $fault: "client",
126
+ ...opts,
127
+ });
128
+ Object.setPrototypeOf(this, InvalidCommentOperationException.prototype);
129
+ this.Message = opts.Message;
130
+ }
131
+ }
132
+ export class CustomMetadataLimitExceededException extends __BaseException {
133
+ name = "CustomMetadataLimitExceededException";
134
+ $fault = "client";
135
+ Message;
136
+ constructor(opts) {
137
+ super({
138
+ name: "CustomMetadataLimitExceededException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ Object.setPrototypeOf(this, CustomMetadataLimitExceededException.prototype);
143
+ this.Message = opts.Message;
144
+ }
145
+ }
146
+ export class ConflictingOperationException extends __BaseException {
147
+ name = "ConflictingOperationException";
148
+ $fault = "client";
149
+ Message;
150
+ constructor(opts) {
151
+ super({
152
+ name: "ConflictingOperationException",
153
+ $fault: "client",
154
+ ...opts,
155
+ });
156
+ Object.setPrototypeOf(this, ConflictingOperationException.prototype);
157
+ this.Message = opts.Message;
158
+ }
159
+ }
160
+ export class EntityAlreadyExistsException extends __BaseException {
161
+ name = "EntityAlreadyExistsException";
162
+ $fault = "client";
163
+ Message;
164
+ constructor(opts) {
165
+ super({
166
+ name: "EntityAlreadyExistsException",
167
+ $fault: "client",
168
+ ...opts,
169
+ });
170
+ Object.setPrototypeOf(this, EntityAlreadyExistsException.prototype);
171
+ this.Message = opts.Message;
172
+ }
173
+ }
174
+ export class LimitExceededException extends __BaseException {
175
+ name = "LimitExceededException";
176
+ $fault = "client";
177
+ Message;
178
+ constructor(opts) {
179
+ super({
180
+ name: "LimitExceededException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
185
+ this.Message = opts.Message;
186
+ }
187
+ }
188
+ export class TooManyLabelsException extends __BaseException {
189
+ name = "TooManyLabelsException";
190
+ $fault = "client";
191
+ Message;
192
+ constructor(opts) {
193
+ super({
194
+ name: "TooManyLabelsException",
195
+ $fault: "client",
196
+ ...opts,
197
+ });
198
+ Object.setPrototypeOf(this, TooManyLabelsException.prototype);
199
+ this.Message = opts.Message;
200
+ }
201
+ }
202
+ export class InvalidArgumentException extends __BaseException {
203
+ name = "InvalidArgumentException";
204
+ $fault = "client";
205
+ Message;
206
+ constructor(opts) {
207
+ super({
208
+ name: "InvalidArgumentException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
213
+ this.Message = opts.Message;
214
+ }
215
+ }
216
+ export class TooManySubscriptionsException extends __BaseException {
217
+ name = "TooManySubscriptionsException";
218
+ $fault = "client";
219
+ Message;
220
+ constructor(opts) {
221
+ super({
222
+ name: "TooManySubscriptionsException",
223
+ $fault: "client",
224
+ ...opts,
225
+ });
226
+ Object.setPrototypeOf(this, TooManySubscriptionsException.prototype);
227
+ this.Message = opts.Message;
228
+ }
229
+ }
230
+ export class InvalidOperationException extends __BaseException {
231
+ name = "InvalidOperationException";
232
+ $fault = "client";
233
+ Message;
234
+ constructor(opts) {
235
+ super({
236
+ name: "InvalidOperationException",
237
+ $fault: "client",
238
+ ...opts,
239
+ });
240
+ Object.setPrototypeOf(this, InvalidOperationException.prototype);
241
+ this.Message = opts.Message;
242
+ }
243
+ }
244
+ export class InvalidPasswordException extends __BaseException {
245
+ name = "InvalidPasswordException";
246
+ $fault = "client";
247
+ Message;
248
+ constructor(opts) {
249
+ super({
250
+ name: "InvalidPasswordException",
251
+ $fault: "client",
252
+ ...opts,
253
+ });
254
+ Object.setPrototypeOf(this, InvalidPasswordException.prototype);
255
+ this.Message = opts.Message;
256
+ }
257
+ }
258
+ export class RequestedEntityTooLargeException extends __BaseException {
259
+ name = "RequestedEntityTooLargeException";
260
+ $fault = "client";
261
+ Message;
262
+ constructor(opts) {
263
+ super({
264
+ name: "RequestedEntityTooLargeException",
265
+ $fault: "client",
266
+ ...opts,
267
+ });
268
+ Object.setPrototypeOf(this, RequestedEntityTooLargeException.prototype);
269
+ this.Message = opts.Message;
270
+ }
271
+ }
272
+ export class DraftUploadOutOfSyncException extends __BaseException {
273
+ name = "DraftUploadOutOfSyncException";
274
+ $fault = "client";
275
+ Message;
276
+ constructor(opts) {
277
+ super({
278
+ name: "DraftUploadOutOfSyncException",
279
+ $fault: "client",
280
+ ...opts,
281
+ });
282
+ Object.setPrototypeOf(this, DraftUploadOutOfSyncException.prototype);
283
+ this.Message = opts.Message;
284
+ }
285
+ }
286
+ export class ResourceAlreadyCheckedOutException extends __BaseException {
287
+ name = "ResourceAlreadyCheckedOutException";
288
+ $fault = "client";
289
+ Message;
290
+ constructor(opts) {
291
+ super({
292
+ name: "ResourceAlreadyCheckedOutException",
293
+ $fault: "client",
294
+ ...opts,
295
+ });
296
+ Object.setPrototypeOf(this, ResourceAlreadyCheckedOutException.prototype);
297
+ this.Message = opts.Message;
298
+ }
299
+ }
300
+ export class StorageLimitExceededException extends __BaseException {
301
+ name = "StorageLimitExceededException";
302
+ $fault = "client";
303
+ Message;
304
+ constructor(opts) {
305
+ super({
306
+ name: "StorageLimitExceededException",
307
+ $fault: "client",
308
+ ...opts,
309
+ });
310
+ Object.setPrototypeOf(this, StorageLimitExceededException.prototype);
311
+ this.Message = opts.Message;
312
+ }
313
+ }
314
+ export class StorageLimitWillExceedException extends __BaseException {
315
+ name = "StorageLimitWillExceedException";
316
+ $fault = "client";
317
+ Message;
318
+ constructor(opts) {
319
+ super({
320
+ name: "StorageLimitWillExceedException",
321
+ $fault: "client",
322
+ ...opts,
323
+ });
324
+ Object.setPrototypeOf(this, StorageLimitWillExceedException.prototype);
325
+ this.Message = opts.Message;
326
+ }
327
+ }
328
+ export class DeactivatingLastSystemUserException extends __BaseException {
329
+ name = "DeactivatingLastSystemUserException";
330
+ $fault = "client";
331
+ Message;
332
+ Code;
333
+ constructor(opts) {
334
+ super({
335
+ name: "DeactivatingLastSystemUserException",
336
+ $fault: "client",
337
+ ...opts,
338
+ });
339
+ Object.setPrototypeOf(this, DeactivatingLastSystemUserException.prototype);
340
+ this.Message = opts.Message;
341
+ this.Code = opts.Code;
342
+ }
343
+ }
344
+ export class IllegalUserStateException extends __BaseException {
345
+ name = "IllegalUserStateException";
346
+ $fault = "client";
347
+ Message;
348
+ constructor(opts) {
349
+ super({
350
+ name: "IllegalUserStateException",
351
+ $fault: "client",
352
+ ...opts,
353
+ });
354
+ Object.setPrototypeOf(this, IllegalUserStateException.prototype);
355
+ this.Message = opts.Message;
356
+ }
357
+ }