@aws-sdk/client-workdocs 3.295.0 → 3.297.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-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 -0
- 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/package.json +29 -29
package/dist-types/WorkDocs.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ import { UpdateFolderCommandInput, UpdateFolderCommandOutput } from "./commands/
|
|
|
45
45
|
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
46
46
|
import { WorkDocsClient } from "./WorkDocsClient";
|
|
47
47
|
/**
|
|
48
|
+
* @public
|
|
48
49
|
* <p>The Amazon WorkDocs API is designed for the following use cases:</p>
|
|
49
50
|
* <ul>
|
|
50
51
|
* <li>
|
|
@@ -107,6 +108,7 @@ import { WorkDocsClient } from "./WorkDocsClient";
|
|
|
107
108
|
*/
|
|
108
109
|
export declare class WorkDocs extends WorkDocsClient {
|
|
109
110
|
/**
|
|
111
|
+
* @public
|
|
110
112
|
* <p>Aborts the upload of the specified document version that was previously initiated
|
|
111
113
|
* by <a>InitiateDocumentVersionUpload</a>. The client should make this call
|
|
112
114
|
* only when it no longer intends to upload the document version, or fails to do
|
|
@@ -116,6 +118,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
116
118
|
abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void): void;
|
|
117
119
|
abortDocumentVersionUpload(args: AbortDocumentVersionUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AbortDocumentVersionUploadCommandOutput) => void): void;
|
|
118
120
|
/**
|
|
121
|
+
* @public
|
|
119
122
|
* <p>Activates the specified user. Only active users can access Amazon
|
|
120
123
|
* WorkDocs.</p>
|
|
121
124
|
*/
|
|
@@ -123,6 +126,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
123
126
|
activateUser(args: ActivateUserCommandInput, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
|
|
124
127
|
activateUser(args: ActivateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateUserCommandOutput) => void): void;
|
|
125
128
|
/**
|
|
129
|
+
* @public
|
|
126
130
|
* <p>Creates a set of permissions for the specified folder or document. The resource
|
|
127
131
|
* permissions are overwritten if the principals already have different
|
|
128
132
|
* permissions.</p>
|
|
@@ -131,12 +135,14 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
131
135
|
addResourcePermissions(args: AddResourcePermissionsCommandInput, cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void): void;
|
|
132
136
|
addResourcePermissions(args: AddResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddResourcePermissionsCommandOutput) => void): void;
|
|
133
137
|
/**
|
|
138
|
+
* @public
|
|
134
139
|
* <p>Adds a new comment to the specified document version.</p>
|
|
135
140
|
*/
|
|
136
141
|
createComment(args: CreateCommentCommandInput, options?: __HttpHandlerOptions): Promise<CreateCommentCommandOutput>;
|
|
137
142
|
createComment(args: CreateCommentCommandInput, cb: (err: any, data?: CreateCommentCommandOutput) => void): void;
|
|
138
143
|
createComment(args: CreateCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCommentCommandOutput) => void): void;
|
|
139
144
|
/**
|
|
145
|
+
* @public
|
|
140
146
|
* <p>Adds one or more custom properties to the specified resource (a folder, document,
|
|
141
147
|
* or version).</p>
|
|
142
148
|
*/
|
|
@@ -144,12 +150,14 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
144
150
|
createCustomMetadata(args: CreateCustomMetadataCommandInput, cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void): void;
|
|
145
151
|
createCustomMetadata(args: CreateCustomMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCustomMetadataCommandOutput) => void): void;
|
|
146
152
|
/**
|
|
153
|
+
* @public
|
|
147
154
|
* <p>Creates a folder with the specified name and parent folder.</p>
|
|
148
155
|
*/
|
|
149
156
|
createFolder(args: CreateFolderCommandInput, options?: __HttpHandlerOptions): Promise<CreateFolderCommandOutput>;
|
|
150
157
|
createFolder(args: CreateFolderCommandInput, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
|
|
151
158
|
createFolder(args: CreateFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFolderCommandOutput) => void): void;
|
|
152
159
|
/**
|
|
160
|
+
* @public
|
|
153
161
|
* <p>Adds the specified list of labels to the given resource (a document or
|
|
154
162
|
* folder)</p>
|
|
155
163
|
*/
|
|
@@ -157,6 +165,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
157
165
|
createLabels(args: CreateLabelsCommandInput, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
|
|
158
166
|
createLabels(args: CreateLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLabelsCommandOutput) => void): void;
|
|
159
167
|
/**
|
|
168
|
+
* @public
|
|
160
169
|
* <p>Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a
|
|
161
170
|
* confirmation message, and must confirm the subscription.</p>
|
|
162
171
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/workdocs/latest/developerguide/manage-notifications.html">Setting up notifications for an IAM user or role</a> in the <i>Amazon WorkDocs Developer
|
|
@@ -166,6 +175,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
166
175
|
createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void): void;
|
|
167
176
|
createNotificationSubscription(args: CreateNotificationSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNotificationSubscriptionCommandOutput) => void): void;
|
|
168
177
|
/**
|
|
178
|
+
* @public
|
|
169
179
|
* <p>Creates a user in a Simple AD or Microsoft AD directory. The status of a newly
|
|
170
180
|
* created user is "ACTIVE". New users can access Amazon WorkDocs.</p>
|
|
171
181
|
*/
|
|
@@ -173,6 +183,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
173
183
|
createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
|
|
174
184
|
createUser(args: CreateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
|
|
175
185
|
/**
|
|
186
|
+
* @public
|
|
176
187
|
* <p>Deactivates the specified user, which revokes the user's access to Amazon
|
|
177
188
|
* WorkDocs.</p>
|
|
178
189
|
*/
|
|
@@ -180,54 +191,63 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
180
191
|
deactivateUser(args: DeactivateUserCommandInput, cb: (err: any, data?: DeactivateUserCommandOutput) => void): void;
|
|
181
192
|
deactivateUser(args: DeactivateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeactivateUserCommandOutput) => void): void;
|
|
182
193
|
/**
|
|
194
|
+
* @public
|
|
183
195
|
* <p>Deletes the specified comment from the document version.</p>
|
|
184
196
|
*/
|
|
185
197
|
deleteComment(args: DeleteCommentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCommentCommandOutput>;
|
|
186
198
|
deleteComment(args: DeleteCommentCommandInput, cb: (err: any, data?: DeleteCommentCommandOutput) => void): void;
|
|
187
199
|
deleteComment(args: DeleteCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommentCommandOutput) => void): void;
|
|
188
200
|
/**
|
|
201
|
+
* @public
|
|
189
202
|
* <p>Deletes custom metadata from the specified resource.</p>
|
|
190
203
|
*/
|
|
191
204
|
deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCustomMetadataCommandOutput>;
|
|
192
205
|
deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void): void;
|
|
193
206
|
deleteCustomMetadata(args: DeleteCustomMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomMetadataCommandOutput) => void): void;
|
|
194
207
|
/**
|
|
208
|
+
* @public
|
|
195
209
|
* <p>Permanently deletes the specified document and its associated metadata.</p>
|
|
196
210
|
*/
|
|
197
211
|
deleteDocument(args: DeleteDocumentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentCommandOutput>;
|
|
198
212
|
deleteDocument(args: DeleteDocumentCommandInput, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
|
|
199
213
|
deleteDocument(args: DeleteDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void;
|
|
200
214
|
/**
|
|
215
|
+
* @public
|
|
201
216
|
* <p>Deletes a specific version of a document.</p>
|
|
202
217
|
*/
|
|
203
218
|
deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDocumentVersionCommandOutput>;
|
|
204
219
|
deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
|
|
205
220
|
deleteDocumentVersion(args: DeleteDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentVersionCommandOutput) => void): void;
|
|
206
221
|
/**
|
|
222
|
+
* @public
|
|
207
223
|
* <p>Permanently deletes the specified folder and its contents.</p>
|
|
208
224
|
*/
|
|
209
225
|
deleteFolder(args: DeleteFolderCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFolderCommandOutput>;
|
|
210
226
|
deleteFolder(args: DeleteFolderCommandInput, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
|
|
211
227
|
deleteFolder(args: DeleteFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFolderCommandOutput) => void): void;
|
|
212
228
|
/**
|
|
229
|
+
* @public
|
|
213
230
|
* <p>Deletes the contents of the specified folder.</p>
|
|
214
231
|
*/
|
|
215
232
|
deleteFolderContents(args: DeleteFolderContentsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFolderContentsCommandOutput>;
|
|
216
233
|
deleteFolderContents(args: DeleteFolderContentsCommandInput, cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void): void;
|
|
217
234
|
deleteFolderContents(args: DeleteFolderContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFolderContentsCommandOutput) => void): void;
|
|
218
235
|
/**
|
|
236
|
+
* @public
|
|
219
237
|
* <p>Deletes the specified list of labels from a resource.</p>
|
|
220
238
|
*/
|
|
221
239
|
deleteLabels(args: DeleteLabelsCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLabelsCommandOutput>;
|
|
222
240
|
deleteLabels(args: DeleteLabelsCommandInput, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
|
|
223
241
|
deleteLabels(args: DeleteLabelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLabelsCommandOutput) => void): void;
|
|
224
242
|
/**
|
|
243
|
+
* @public
|
|
225
244
|
* <p>Deletes the specified subscription from the specified organization.</p>
|
|
226
245
|
*/
|
|
227
246
|
deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNotificationSubscriptionCommandOutput>;
|
|
228
247
|
deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void): void;
|
|
229
248
|
deleteNotificationSubscription(args: DeleteNotificationSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNotificationSubscriptionCommandOutput) => void): void;
|
|
230
249
|
/**
|
|
250
|
+
* @public
|
|
231
251
|
* <p>Deletes the specified user from a Simple AD or Microsoft AD directory.</p>
|
|
232
252
|
* <important>
|
|
233
253
|
* <p>Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.</p>
|
|
@@ -237,18 +257,21 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
237
257
|
deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
238
258
|
deleteUser(args: DeleteUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
|
|
239
259
|
/**
|
|
260
|
+
* @public
|
|
240
261
|
* <p>Describes the user activities in a specified time period.</p>
|
|
241
262
|
*/
|
|
242
263
|
describeActivities(args: DescribeActivitiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeActivitiesCommandOutput>;
|
|
243
264
|
describeActivities(args: DescribeActivitiesCommandInput, cb: (err: any, data?: DescribeActivitiesCommandOutput) => void): void;
|
|
244
265
|
describeActivities(args: DescribeActivitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeActivitiesCommandOutput) => void): void;
|
|
245
266
|
/**
|
|
267
|
+
* @public
|
|
246
268
|
* <p>List all the comments for the specified document version.</p>
|
|
247
269
|
*/
|
|
248
270
|
describeComments(args: DescribeCommentsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCommentsCommandOutput>;
|
|
249
271
|
describeComments(args: DescribeCommentsCommandInput, cb: (err: any, data?: DescribeCommentsCommandOutput) => void): void;
|
|
250
272
|
describeComments(args: DescribeCommentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCommentsCommandOutput) => void): void;
|
|
251
273
|
/**
|
|
274
|
+
* @public
|
|
252
275
|
* <p>Retrieves the document versions for the specified document.</p>
|
|
253
276
|
* <p>By default, only active versions are returned.</p>
|
|
254
277
|
*/
|
|
@@ -256,6 +279,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
256
279
|
describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void): void;
|
|
257
280
|
describeDocumentVersions(args: DescribeDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDocumentVersionsCommandOutput) => void): void;
|
|
258
281
|
/**
|
|
282
|
+
* @public
|
|
259
283
|
* <p>Describes the contents of the specified folder, including its documents and
|
|
260
284
|
* subfolders.</p>
|
|
261
285
|
* <p>By default, Amazon WorkDocs returns the first 100 active document and folder
|
|
@@ -267,6 +291,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
267
291
|
describeFolderContents(args: DescribeFolderContentsCommandInput, cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void): void;
|
|
268
292
|
describeFolderContents(args: DescribeFolderContentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFolderContentsCommandOutput) => void): void;
|
|
269
293
|
/**
|
|
294
|
+
* @public
|
|
270
295
|
* <p>Describes the groups specified by the query. Groups are defined by the underlying
|
|
271
296
|
* Active Directory.</p>
|
|
272
297
|
*/
|
|
@@ -274,18 +299,21 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
274
299
|
describeGroups(args: DescribeGroupsCommandInput, cb: (err: any, data?: DescribeGroupsCommandOutput) => void): void;
|
|
275
300
|
describeGroups(args: DescribeGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGroupsCommandOutput) => void): void;
|
|
276
301
|
/**
|
|
302
|
+
* @public
|
|
277
303
|
* <p>Lists the specified notification subscriptions.</p>
|
|
278
304
|
*/
|
|
279
305
|
describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeNotificationSubscriptionsCommandOutput>;
|
|
280
306
|
describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void): void;
|
|
281
307
|
describeNotificationSubscriptions(args: DescribeNotificationSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNotificationSubscriptionsCommandOutput) => void): void;
|
|
282
308
|
/**
|
|
309
|
+
* @public
|
|
283
310
|
* <p>Describes the permissions of a specified resource.</p>
|
|
284
311
|
*/
|
|
285
312
|
describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourcePermissionsCommandOutput>;
|
|
286
313
|
describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void): void;
|
|
287
314
|
describeResourcePermissions(args: DescribeResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePermissionsCommandOutput) => void): void;
|
|
288
315
|
/**
|
|
316
|
+
* @public
|
|
289
317
|
* <p>Describes the current user's special folders; the <code>RootFolder</code> and the
|
|
290
318
|
* <code>RecycleBin</code>. <code>RootFolder</code> is the root of user's files and
|
|
291
319
|
* folders and <code>RecycleBin</code> is the root of recycled items. This is not a valid
|
|
@@ -300,6 +328,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
300
328
|
describeRootFolders(args: DescribeRootFoldersCommandInput, cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void): void;
|
|
301
329
|
describeRootFolders(args: DescribeRootFoldersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRootFoldersCommandOutput) => void): void;
|
|
302
330
|
/**
|
|
331
|
+
* @public
|
|
303
332
|
* <p>Describes the specified users. You can describe all users or filter the results
|
|
304
333
|
* (for example, by status or organization).</p>
|
|
305
334
|
* <p>By default, Amazon WorkDocs returns the first 24 active or pending users. If there
|
|
@@ -310,6 +339,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
310
339
|
describeUsers(args: DescribeUsersCommandInput, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
|
|
311
340
|
describeUsers(args: DescribeUsersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUsersCommandOutput) => void): void;
|
|
312
341
|
/**
|
|
342
|
+
* @public
|
|
313
343
|
* <p>Retrieves details of the current user for whom the authentication token was
|
|
314
344
|
* generated. This is not a valid action for SigV4 (administrative API) clients.</p>
|
|
315
345
|
* <p>This action requires an authentication token. To get an authentication token,
|
|
@@ -322,12 +352,14 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
322
352
|
getCurrentUser(args: GetCurrentUserCommandInput, cb: (err: any, data?: GetCurrentUserCommandOutput) => void): void;
|
|
323
353
|
getCurrentUser(args: GetCurrentUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCurrentUserCommandOutput) => void): void;
|
|
324
354
|
/**
|
|
355
|
+
* @public
|
|
325
356
|
* <p>Retrieves details of a document.</p>
|
|
326
357
|
*/
|
|
327
358
|
getDocument(args: GetDocumentCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentCommandOutput>;
|
|
328
359
|
getDocument(args: GetDocumentCommandInput, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
|
|
329
360
|
getDocument(args: GetDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentCommandOutput) => void): void;
|
|
330
361
|
/**
|
|
362
|
+
* @public
|
|
331
363
|
* <p>Retrieves the path information (the hierarchy from the root folder) for the
|
|
332
364
|
* requested document.</p>
|
|
333
365
|
* <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
|
|
@@ -339,18 +371,21 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
339
371
|
getDocumentPath(args: GetDocumentPathCommandInput, cb: (err: any, data?: GetDocumentPathCommandOutput) => void): void;
|
|
340
372
|
getDocumentPath(args: GetDocumentPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentPathCommandOutput) => void): void;
|
|
341
373
|
/**
|
|
374
|
+
* @public
|
|
342
375
|
* <p>Retrieves version metadata for the specified document.</p>
|
|
343
376
|
*/
|
|
344
377
|
getDocumentVersion(args: GetDocumentVersionCommandInput, options?: __HttpHandlerOptions): Promise<GetDocumentVersionCommandOutput>;
|
|
345
378
|
getDocumentVersion(args: GetDocumentVersionCommandInput, cb: (err: any, data?: GetDocumentVersionCommandOutput) => void): void;
|
|
346
379
|
getDocumentVersion(args: GetDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentVersionCommandOutput) => void): void;
|
|
347
380
|
/**
|
|
381
|
+
* @public
|
|
348
382
|
* <p>Retrieves the metadata of the specified folder.</p>
|
|
349
383
|
*/
|
|
350
384
|
getFolder(args: GetFolderCommandInput, options?: __HttpHandlerOptions): Promise<GetFolderCommandOutput>;
|
|
351
385
|
getFolder(args: GetFolderCommandInput, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
|
|
352
386
|
getFolder(args: GetFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
|
|
353
387
|
/**
|
|
388
|
+
* @public
|
|
354
389
|
* <p>Retrieves the path information (the hierarchy from the root folder) for the
|
|
355
390
|
* specified folder.</p>
|
|
356
391
|
* <p>By default, Amazon WorkDocs returns a maximum of 100 levels upwards from the
|
|
@@ -362,6 +397,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
362
397
|
getFolderPath(args: GetFolderPathCommandInput, cb: (err: any, data?: GetFolderPathCommandOutput) => void): void;
|
|
363
398
|
getFolderPath(args: GetFolderPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderPathCommandOutput) => void): void;
|
|
364
399
|
/**
|
|
400
|
+
* @public
|
|
365
401
|
* <p>Retrieves a collection of resources, including folders and documents. The only
|
|
366
402
|
* <code>CollectionType</code> supported is <code>SHARED_WITH_ME</code>.</p>
|
|
367
403
|
*/
|
|
@@ -369,6 +405,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
369
405
|
getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
370
406
|
getResources(args: GetResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
371
407
|
/**
|
|
408
|
+
* @public
|
|
372
409
|
* <p>Creates a new document object and version object.</p>
|
|
373
410
|
* <p>The client specifies the parent folder ID and name of the document to upload. The
|
|
374
411
|
* ID is optionally specified when creating a new version of an existing document. This is
|
|
@@ -380,12 +417,14 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
380
417
|
initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void): void;
|
|
381
418
|
initiateDocumentVersionUpload(args: InitiateDocumentVersionUploadCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InitiateDocumentVersionUploadCommandOutput) => void): void;
|
|
382
419
|
/**
|
|
420
|
+
* @public
|
|
383
421
|
* <p>Removes all the permissions from the specified resource.</p>
|
|
384
422
|
*/
|
|
385
423
|
removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAllResourcePermissionsCommandOutput>;
|
|
386
424
|
removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void): void;
|
|
387
425
|
removeAllResourcePermissions(args: RemoveAllResourcePermissionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAllResourcePermissionsCommandOutput) => void): void;
|
|
388
426
|
/**
|
|
427
|
+
* @public
|
|
389
428
|
* <p>Removes the permission for the specified principal from the specified
|
|
390
429
|
* resource.</p>
|
|
391
430
|
*/
|
|
@@ -393,18 +432,21 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
393
432
|
removeResourcePermission(args: RemoveResourcePermissionCommandInput, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
|
|
394
433
|
removeResourcePermission(args: RemoveResourcePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveResourcePermissionCommandOutput) => void): void;
|
|
395
434
|
/**
|
|
435
|
+
* @public
|
|
396
436
|
* <p>Recovers a deleted version of an Amazon WorkDocs document.</p>
|
|
397
437
|
*/
|
|
398
438
|
restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<RestoreDocumentVersionsCommandOutput>;
|
|
399
439
|
restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
|
|
400
440
|
restoreDocumentVersions(args: RestoreDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreDocumentVersionsCommandOutput) => void): void;
|
|
401
441
|
/**
|
|
442
|
+
* @public
|
|
402
443
|
* <p>Searches metadata and the content of folders, documents, document versions, and comments.</p>
|
|
403
444
|
*/
|
|
404
445
|
searchResources(args: SearchResourcesCommandInput, options?: __HttpHandlerOptions): Promise<SearchResourcesCommandOutput>;
|
|
405
446
|
searchResources(args: SearchResourcesCommandInput, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
|
|
406
447
|
searchResources(args: SearchResourcesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchResourcesCommandOutput) => void): void;
|
|
407
448
|
/**
|
|
449
|
+
* @public
|
|
408
450
|
* <p>Updates the specified attributes of a document. The user must have access to both
|
|
409
451
|
* the document and its parent folder, if applicable.</p>
|
|
410
452
|
*/
|
|
@@ -412,6 +454,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
412
454
|
updateDocument(args: UpdateDocumentCommandInput, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void;
|
|
413
455
|
updateDocument(args: UpdateDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void;
|
|
414
456
|
/**
|
|
457
|
+
* @public
|
|
415
458
|
* <p>Changes the status of the document version to ACTIVE. </p>
|
|
416
459
|
* <p>Amazon WorkDocs also sets its document container to ACTIVE. This is the last step
|
|
417
460
|
* in a document upload, after the client uploads the document to an S3-presigned URL
|
|
@@ -421,6 +464,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
421
464
|
updateDocumentVersion(args: UpdateDocumentVersionCommandInput, cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void): void;
|
|
422
465
|
updateDocumentVersion(args: UpdateDocumentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentVersionCommandOutput) => void): void;
|
|
423
466
|
/**
|
|
467
|
+
* @public
|
|
424
468
|
* <p>Updates the specified attributes of the specified folder. The user must have access
|
|
425
469
|
* to both the folder and its parent folder, if applicable.</p>
|
|
426
470
|
*/
|
|
@@ -428,6 +472,7 @@ export declare class WorkDocs extends WorkDocsClient {
|
|
|
428
472
|
updateFolder(args: UpdateFolderCommandInput, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
|
|
429
473
|
updateFolder(args: UpdateFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFolderCommandOutput) => void): void;
|
|
430
474
|
/**
|
|
475
|
+
* @public
|
|
431
476
|
* <p>Updates the specified attributes of the specified user, and grants or revokes
|
|
432
477
|
* administrative privileges to the Amazon WorkDocs site.</p>
|
|
433
478
|
*/
|
|
@@ -52,15 +52,24 @@ import { UpdateDocumentVersionCommandInput, UpdateDocumentVersionCommandOutput }
|
|
|
52
52
|
import { UpdateFolderCommandInput, UpdateFolderCommandOutput } from "./commands/UpdateFolderCommand";
|
|
53
53
|
import { UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
|
|
54
54
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
55
58
|
export type ServiceInputTypes = AbortDocumentVersionUploadCommandInput | ActivateUserCommandInput | AddResourcePermissionsCommandInput | CreateCommentCommandInput | CreateCustomMetadataCommandInput | CreateFolderCommandInput | CreateLabelsCommandInput | CreateNotificationSubscriptionCommandInput | CreateUserCommandInput | DeactivateUserCommandInput | DeleteCommentCommandInput | DeleteCustomMetadataCommandInput | DeleteDocumentCommandInput | DeleteDocumentVersionCommandInput | DeleteFolderCommandInput | DeleteFolderContentsCommandInput | DeleteLabelsCommandInput | DeleteNotificationSubscriptionCommandInput | DeleteUserCommandInput | DescribeActivitiesCommandInput | DescribeCommentsCommandInput | DescribeDocumentVersionsCommandInput | DescribeFolderContentsCommandInput | DescribeGroupsCommandInput | DescribeNotificationSubscriptionsCommandInput | DescribeResourcePermissionsCommandInput | DescribeRootFoldersCommandInput | DescribeUsersCommandInput | GetCurrentUserCommandInput | GetDocumentCommandInput | GetDocumentPathCommandInput | GetDocumentVersionCommandInput | GetFolderCommandInput | GetFolderPathCommandInput | GetResourcesCommandInput | InitiateDocumentVersionUploadCommandInput | RemoveAllResourcePermissionsCommandInput | RemoveResourcePermissionCommandInput | RestoreDocumentVersionsCommandInput | SearchResourcesCommandInput | UpdateDocumentCommandInput | UpdateDocumentVersionCommandInput | UpdateFolderCommandInput | UpdateUserCommandInput;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
56
62
|
export type ServiceOutputTypes = AbortDocumentVersionUploadCommandOutput | ActivateUserCommandOutput | AddResourcePermissionsCommandOutput | CreateCommentCommandOutput | CreateCustomMetadataCommandOutput | CreateFolderCommandOutput | CreateLabelsCommandOutput | CreateNotificationSubscriptionCommandOutput | CreateUserCommandOutput | DeactivateUserCommandOutput | DeleteCommentCommandOutput | DeleteCustomMetadataCommandOutput | DeleteDocumentCommandOutput | DeleteDocumentVersionCommandOutput | DeleteFolderCommandOutput | DeleteFolderContentsCommandOutput | DeleteLabelsCommandOutput | DeleteNotificationSubscriptionCommandOutput | DeleteUserCommandOutput | DescribeActivitiesCommandOutput | DescribeCommentsCommandOutput | DescribeDocumentVersionsCommandOutput | DescribeFolderContentsCommandOutput | DescribeGroupsCommandOutput | DescribeNotificationSubscriptionsCommandOutput | DescribeResourcePermissionsCommandOutput | DescribeRootFoldersCommandOutput | DescribeUsersCommandOutput | GetCurrentUserCommandOutput | GetDocumentCommandOutput | GetDocumentPathCommandOutput | GetDocumentVersionCommandOutput | GetFolderCommandOutput | GetFolderPathCommandOutput | GetResourcesCommandOutput | InitiateDocumentVersionUploadCommandOutput | RemoveAllResourcePermissionsCommandOutput | RemoveResourcePermissionCommandOutput | RestoreDocumentVersionsCommandOutput | SearchResourcesCommandOutput | UpdateDocumentCommandOutput | UpdateDocumentVersionCommandOutput | UpdateFolderCommandOutput | UpdateUserCommandOutput;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
57
66
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
58
67
|
/**
|
|
59
68
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
60
69
|
*/
|
|
61
70
|
requestHandler?: __HttpHandler;
|
|
62
71
|
/**
|
|
63
|
-
* A constructor for a class implementing the {@link
|
|
72
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
64
73
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
65
74
|
* @internal
|
|
66
75
|
*/
|
|
@@ -150,23 +159,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
150
159
|
*/
|
|
151
160
|
logger?: __Logger;
|
|
152
161
|
/**
|
|
153
|
-
* The {@link
|
|
162
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
154
163
|
*/
|
|
155
164
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
156
165
|
}
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
157
169
|
type WorkDocsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
158
170
|
/**
|
|
159
|
-
*
|
|
171
|
+
* @public
|
|
172
|
+
*
|
|
173
|
+
* The configuration interface of WorkDocsClient class constructor that set the region, credentials and other options.
|
|
160
174
|
*/
|
|
161
175
|
export interface WorkDocsClientConfig extends WorkDocsClientConfigType {
|
|
162
176
|
}
|
|
177
|
+
/**
|
|
178
|
+
* @public
|
|
179
|
+
*/
|
|
163
180
|
type WorkDocsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
164
181
|
/**
|
|
165
|
-
*
|
|
182
|
+
* @public
|
|
183
|
+
*
|
|
184
|
+
* The resolved configuration interface of WorkDocsClient class. This is resolved and normalized from the {@link WorkDocsClientConfig | constructor configuration interface}.
|
|
166
185
|
*/
|
|
167
186
|
export interface WorkDocsClientResolvedConfig extends WorkDocsClientResolvedConfigType {
|
|
168
187
|
}
|
|
169
188
|
/**
|
|
189
|
+
* @public
|
|
170
190
|
* <p>The Amazon WorkDocs API is designed for the following use cases:</p>
|
|
171
191
|
* <ul>
|
|
172
192
|
* <li>
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AbortDocumentVersionUploadRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AbortDocumentVersionUploadCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AbortDocumentVersionUploadCommandInput extends AbortDocumentVersionUploadRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AbortDocumentVersionUploadCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AbortDocumentVersionUploadCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Aborts the upload of the specified document version that was previously initiated
|
|
18
23
|
* by <a>InitiateDocumentVersionUpload</a>. The client should make this call
|
|
19
24
|
* only when it no longer intends to upload the document version, or fails to do
|
|
@@ -28,6 +33,8 @@ export interface AbortDocumentVersionUploadCommandOutput extends __MetadataBeare
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param AbortDocumentVersionUploadCommandInput - {@link AbortDocumentVersionUploadCommandInput}
|
|
37
|
+
* @returns {@link AbortDocumentVersionUploadCommandOutput}
|
|
31
38
|
* @see {@link AbortDocumentVersionUploadCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link AbortDocumentVersionUploadCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface AbortDocumentVersionUploadCommandOutput extends __MetadataBeare
|
|
|
60
67
|
export declare class AbortDocumentVersionUploadCommand extends $Command<AbortDocumentVersionUploadCommandInput, AbortDocumentVersionUploadCommandOutput, WorkDocsClientResolvedConfig> {
|
|
61
68
|
readonly input: AbortDocumentVersionUploadCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: AbortDocumentVersionUploadCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AbortDocumentVersionUploadCommandInput, AbortDocumentVersionUploadCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
68
81
|
private serialize;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
69
85
|
private deserialize;
|
|
70
86
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ActivateUserRequest, ActivateUserResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ActivateUserCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ActivateUserCommandInput extends ActivateUserRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ActivateUserCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ActivateUserCommandOutput extends ActivateUserResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Activates the specified user. Only active users can access Amazon
|
|
18
23
|
* WorkDocs.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface ActivateUserCommandOutput extends ActivateUserResponse, __Metad
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param ActivateUserCommandInput - {@link ActivateUserCommandInput}
|
|
35
|
+
* @returns {@link ActivateUserCommandOutput}
|
|
29
36
|
* @see {@link ActivateUserCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link ActivateUserCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -52,11 +59,20 @@ export interface ActivateUserCommandOutput extends ActivateUserResponse, __Metad
|
|
|
52
59
|
export declare class ActivateUserCommand extends $Command<ActivateUserCommandInput, ActivateUserCommandOutput, WorkDocsClientResolvedConfig> {
|
|
53
60
|
readonly input: ActivateUserCommandInput;
|
|
54
61
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
55
65
|
constructor(input: ActivateUserCommandInput);
|
|
56
66
|
/**
|
|
57
67
|
* @internal
|
|
58
68
|
*/
|
|
59
69
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ActivateUserCommandInput, ActivateUserCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
60
73
|
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
61
77
|
private deserialize;
|
|
62
78
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { AddResourcePermissionsRequest, AddResourcePermissionsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link AddResourcePermissionsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface AddResourcePermissionsCommandInput extends AddResourcePermissionsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link AddResourcePermissionsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface AddResourcePermissionsCommandOutput extends AddResourcePermissionsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a set of permissions for the specified folder or document. The resource
|
|
18
23
|
* permissions are overwritten if the principals already have different
|
|
19
24
|
* permissions.</p>
|
|
@@ -27,6 +32,8 @@ export interface AddResourcePermissionsCommandOutput extends AddResourcePermissi
|
|
|
27
32
|
* const response = await client.send(command);
|
|
28
33
|
* ```
|
|
29
34
|
*
|
|
35
|
+
* @param AddResourcePermissionsCommandInput - {@link AddResourcePermissionsCommandInput}
|
|
36
|
+
* @returns {@link AddResourcePermissionsCommandOutput}
|
|
30
37
|
* @see {@link AddResourcePermissionsCommandInput} for command's `input` shape.
|
|
31
38
|
* @see {@link AddResourcePermissionsCommandOutput} for command's `response` shape.
|
|
32
39
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -53,11 +60,20 @@ export interface AddResourcePermissionsCommandOutput extends AddResourcePermissi
|
|
|
53
60
|
export declare class AddResourcePermissionsCommand extends $Command<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput, WorkDocsClientResolvedConfig> {
|
|
54
61
|
readonly input: AddResourcePermissionsCommandInput;
|
|
55
62
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
63
|
+
/**
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
56
66
|
constructor(input: AddResourcePermissionsCommandInput);
|
|
57
67
|
/**
|
|
58
68
|
* @internal
|
|
59
69
|
*/
|
|
60
70
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddResourcePermissionsCommandInput, AddResourcePermissionsCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
61
74
|
private serialize;
|
|
75
|
+
/**
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
62
78
|
private deserialize;
|
|
63
79
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateCommentRequest, CreateCommentResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateCommentCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateCommentCommandInput extends CreateCommentRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateCommentCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateCommentCommandOutput extends CreateCommentResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds a new comment to the specified document version.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateCommentCommandOutput extends CreateCommentResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateCommentCommandInput - {@link CreateCommentCommandInput}
|
|
34
|
+
* @returns {@link CreateCommentCommandOutput}
|
|
28
35
|
* @see {@link CreateCommentCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateCommentCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -61,11 +68,20 @@ export interface CreateCommentCommandOutput extends CreateCommentResponse, __Met
|
|
|
61
68
|
export declare class CreateCommentCommand extends $Command<CreateCommentCommandInput, CreateCommentCommandOutput, WorkDocsClientResolvedConfig> {
|
|
62
69
|
readonly input: CreateCommentCommandInput;
|
|
63
70
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
|
+
/**
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
64
74
|
constructor(input: CreateCommentCommandInput);
|
|
65
75
|
/**
|
|
66
76
|
* @internal
|
|
67
77
|
*/
|
|
68
78
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCommentCommandInput, CreateCommentCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
69
82
|
private serialize;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
70
86
|
private deserialize;
|
|
71
87
|
}
|