@aws-sdk/client-workdocs 3.934.0 → 3.936.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 +243 -242
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +242 -0
- package/dist-es/models/errors.js +357 -0
- package/dist-es/models/models_0.js +1 -599
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +530 -0
- package/dist-types/models/errors.d.ts +341 -0
- package/dist-types/models/models_0.d.ts +1 -871
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +304 -0
- package/dist-types/ts3.4/models/errors.d.ts +232 -0
- package/dist-types/ts3.4/models/models_0.d.ts +38 -536
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { WorkDocsServiceException as __BaseException } from "./WorkDocsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The resource hierarchy is changing.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ConcurrentModificationException extends __BaseException {
|
|
8
|
+
readonly name: "ConcurrentModificationException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>The resource does not exist.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare class EntityNotExistsException extends __BaseException {
|
|
21
|
+
readonly name: "EntityNotExistsException";
|
|
22
|
+
readonly $fault: "client";
|
|
23
|
+
Message?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The IDs of the non-existent resources.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
EntityIds?: string[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
constructor(opts: __ExceptionOptionType<EntityNotExistsException, __BaseException>);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* <p>The Directory Service cannot reach an on-premises instance. Or a dependency
|
|
36
|
+
* under the control of the organization is failing, such as a connected Active
|
|
37
|
+
* Directory.</p>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export declare class FailedDependencyException extends __BaseException {
|
|
41
|
+
readonly name: "FailedDependencyException";
|
|
42
|
+
readonly $fault: "client";
|
|
43
|
+
Message?: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
constructor(opts: __ExceptionOptionType<FailedDependencyException, __BaseException>);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* <p>The specified document version is not in the INITIALIZED state.</p>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
export declare class ProhibitedStateException extends __BaseException {
|
|
54
|
+
readonly name: "ProhibitedStateException";
|
|
55
|
+
readonly $fault: "client";
|
|
56
|
+
Message?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
constructor(opts: __ExceptionOptionType<ProhibitedStateException, __BaseException>);
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* <p>One or more of the dependencies is unavailable.</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
67
|
+
readonly name: "ServiceUnavailableException";
|
|
68
|
+
readonly $fault: "server";
|
|
69
|
+
Message?: string | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>The operation is not permitted.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export declare class UnauthorizedOperationException extends __BaseException {
|
|
80
|
+
readonly name: "UnauthorizedOperationException";
|
|
81
|
+
readonly $fault: "client";
|
|
82
|
+
Message?: string | undefined;
|
|
83
|
+
Code?: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedOperationException, __BaseException>);
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* <p>The caller does not have access to perform the action on the resource.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class UnauthorizedResourceAccessException extends __BaseException {
|
|
94
|
+
readonly name: "UnauthorizedResourceAccessException";
|
|
95
|
+
readonly $fault: "client";
|
|
96
|
+
Message?: string | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedResourceAccessException, __BaseException>);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>This exception is thrown when the document is locked for comments and user tries to
|
|
104
|
+
* create or delete a comment on that document.</p>
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class DocumentLockedForCommentsException extends __BaseException {
|
|
108
|
+
readonly name: "DocumentLockedForCommentsException";
|
|
109
|
+
readonly $fault: "client";
|
|
110
|
+
Message?: string | undefined;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
constructor(opts: __ExceptionOptionType<DocumentLockedForCommentsException, __BaseException>);
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* <p>The requested operation is not allowed on the specified comment object.</p>
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export declare class InvalidCommentOperationException extends __BaseException {
|
|
121
|
+
readonly name: "InvalidCommentOperationException";
|
|
122
|
+
readonly $fault: "client";
|
|
123
|
+
Message?: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
constructor(opts: __ExceptionOptionType<InvalidCommentOperationException, __BaseException>);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <p>The limit has been reached on the number of custom properties for the specified
|
|
131
|
+
* resource.</p>
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class CustomMetadataLimitExceededException extends __BaseException {
|
|
135
|
+
readonly name: "CustomMetadataLimitExceededException";
|
|
136
|
+
readonly $fault: "client";
|
|
137
|
+
Message?: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
constructor(opts: __ExceptionOptionType<CustomMetadataLimitExceededException, __BaseException>);
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* <p>Another operation is in progress on the resource that conflicts with the current operation.</p>
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare class ConflictingOperationException extends __BaseException {
|
|
148
|
+
readonly name: "ConflictingOperationException";
|
|
149
|
+
readonly $fault: "client";
|
|
150
|
+
Message?: string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* @internal
|
|
153
|
+
*/
|
|
154
|
+
constructor(opts: __ExceptionOptionType<ConflictingOperationException, __BaseException>);
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* <p>The resource already exists.</p>
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export declare class EntityAlreadyExistsException extends __BaseException {
|
|
161
|
+
readonly name: "EntityAlreadyExistsException";
|
|
162
|
+
readonly $fault: "client";
|
|
163
|
+
Message?: string | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
constructor(opts: __ExceptionOptionType<EntityAlreadyExistsException, __BaseException>);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* <p>The maximum of 100,000 files and folders under the parent folder has been exceeded.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export declare class LimitExceededException extends __BaseException {
|
|
174
|
+
readonly name: "LimitExceededException";
|
|
175
|
+
readonly $fault: "client";
|
|
176
|
+
Message?: string | undefined;
|
|
177
|
+
/**
|
|
178
|
+
* @internal
|
|
179
|
+
*/
|
|
180
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* <p>The limit has been reached on the number of labels for the specified
|
|
184
|
+
* resource.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export declare class TooManyLabelsException extends __BaseException {
|
|
188
|
+
readonly name: "TooManyLabelsException";
|
|
189
|
+
readonly $fault: "client";
|
|
190
|
+
Message?: string | undefined;
|
|
191
|
+
/**
|
|
192
|
+
* @internal
|
|
193
|
+
*/
|
|
194
|
+
constructor(opts: __ExceptionOptionType<TooManyLabelsException, __BaseException>);
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* <p>The pagination marker or limit fields are not valid.</p>
|
|
198
|
+
* @public
|
|
199
|
+
*/
|
|
200
|
+
export declare class InvalidArgumentException extends __BaseException {
|
|
201
|
+
readonly name: "InvalidArgumentException";
|
|
202
|
+
readonly $fault: "client";
|
|
203
|
+
Message?: string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* @internal
|
|
206
|
+
*/
|
|
207
|
+
constructor(opts: __ExceptionOptionType<InvalidArgumentException, __BaseException>);
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* <p>You've reached the limit on the number of subscriptions for the WorkDocs
|
|
211
|
+
* instance.</p>
|
|
212
|
+
* @public
|
|
213
|
+
*/
|
|
214
|
+
export declare class TooManySubscriptionsException extends __BaseException {
|
|
215
|
+
readonly name: "TooManySubscriptionsException";
|
|
216
|
+
readonly $fault: "client";
|
|
217
|
+
Message?: string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* @internal
|
|
220
|
+
*/
|
|
221
|
+
constructor(opts: __ExceptionOptionType<TooManySubscriptionsException, __BaseException>);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* <p>The operation is invalid.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export declare class InvalidOperationException extends __BaseException {
|
|
228
|
+
readonly name: "InvalidOperationException";
|
|
229
|
+
readonly $fault: "client";
|
|
230
|
+
Message?: string | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* @internal
|
|
233
|
+
*/
|
|
234
|
+
constructor(opts: __ExceptionOptionType<InvalidOperationException, __BaseException>);
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* <p>The password is invalid.</p>
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
export declare class InvalidPasswordException extends __BaseException {
|
|
241
|
+
readonly name: "InvalidPasswordException";
|
|
242
|
+
readonly $fault: "client";
|
|
243
|
+
Message?: string | undefined;
|
|
244
|
+
/**
|
|
245
|
+
* @internal
|
|
246
|
+
*/
|
|
247
|
+
constructor(opts: __ExceptionOptionType<InvalidPasswordException, __BaseException>);
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* <p>The response is too large to return. The request must include a filter to reduce the size of the response.</p>
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
export declare class RequestedEntityTooLargeException extends __BaseException {
|
|
254
|
+
readonly name: "RequestedEntityTooLargeException";
|
|
255
|
+
readonly $fault: "client";
|
|
256
|
+
Message?: string | undefined;
|
|
257
|
+
/**
|
|
258
|
+
* @internal
|
|
259
|
+
*/
|
|
260
|
+
constructor(opts: __ExceptionOptionType<RequestedEntityTooLargeException, __BaseException>);
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* <p>This exception is thrown when a valid checkout ID is not presented on document
|
|
264
|
+
* version upload calls for a document that has been checked out from Web client.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
export declare class DraftUploadOutOfSyncException extends __BaseException {
|
|
268
|
+
readonly name: "DraftUploadOutOfSyncException";
|
|
269
|
+
readonly $fault: "client";
|
|
270
|
+
Message?: string | undefined;
|
|
271
|
+
/**
|
|
272
|
+
* @internal
|
|
273
|
+
*/
|
|
274
|
+
constructor(opts: __ExceptionOptionType<DraftUploadOutOfSyncException, __BaseException>);
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* <p>The resource is already checked out.</p>
|
|
278
|
+
* @public
|
|
279
|
+
*/
|
|
280
|
+
export declare class ResourceAlreadyCheckedOutException extends __BaseException {
|
|
281
|
+
readonly name: "ResourceAlreadyCheckedOutException";
|
|
282
|
+
readonly $fault: "client";
|
|
283
|
+
Message?: string | undefined;
|
|
284
|
+
/**
|
|
285
|
+
* @internal
|
|
286
|
+
*/
|
|
287
|
+
constructor(opts: __ExceptionOptionType<ResourceAlreadyCheckedOutException, __BaseException>);
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* <p>The storage limit has been exceeded.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
export declare class StorageLimitExceededException extends __BaseException {
|
|
294
|
+
readonly name: "StorageLimitExceededException";
|
|
295
|
+
readonly $fault: "client";
|
|
296
|
+
Message?: string | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* @internal
|
|
299
|
+
*/
|
|
300
|
+
constructor(opts: __ExceptionOptionType<StorageLimitExceededException, __BaseException>);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* <p>The storage limit will be exceeded.</p>
|
|
304
|
+
* @public
|
|
305
|
+
*/
|
|
306
|
+
export declare class StorageLimitWillExceedException extends __BaseException {
|
|
307
|
+
readonly name: "StorageLimitWillExceedException";
|
|
308
|
+
readonly $fault: "client";
|
|
309
|
+
Message?: string | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* @internal
|
|
312
|
+
*/
|
|
313
|
+
constructor(opts: __ExceptionOptionType<StorageLimitWillExceedException, __BaseException>);
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* <p>The last user in the organization is being deactivated.</p>
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
export declare class DeactivatingLastSystemUserException extends __BaseException {
|
|
320
|
+
readonly name: "DeactivatingLastSystemUserException";
|
|
321
|
+
readonly $fault: "client";
|
|
322
|
+
Message?: string | undefined;
|
|
323
|
+
Code?: string | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* @internal
|
|
326
|
+
*/
|
|
327
|
+
constructor(opts: __ExceptionOptionType<DeactivatingLastSystemUserException, __BaseException>);
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* <p>The user is undergoing transfer of ownership.</p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
export declare class IllegalUserStateException extends __BaseException {
|
|
334
|
+
readonly name: "IllegalUserStateException";
|
|
335
|
+
readonly $fault: "client";
|
|
336
|
+
Message?: string | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* @internal
|
|
339
|
+
*/
|
|
340
|
+
constructor(opts: __ExceptionOptionType<IllegalUserStateException, __BaseException>);
|
|
341
|
+
}
|