@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
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { RemoveResourcePermissionRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link RemoveResourcePermissionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface RemoveResourcePermissionCommandInput extends RemoveResourcePermissionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link RemoveResourcePermissionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface RemoveResourcePermissionCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the permission for the specified principal from the specified
|
|
18
23
|
* resource.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface RemoveResourcePermissionCommandOutput extends __MetadataBearer
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param RemoveResourcePermissionCommandInput - {@link RemoveResourcePermissionCommandInput}
|
|
35
|
+
* @returns {@link RemoveResourcePermissionCommandOutput}
|
|
29
36
|
* @see {@link RemoveResourcePermissionCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link RemoveResourcePermissionCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -49,11 +56,20 @@ export interface RemoveResourcePermissionCommandOutput extends __MetadataBearer
|
|
|
49
56
|
export declare class RemoveResourcePermissionCommand extends $Command<RemoveResourcePermissionCommandInput, RemoveResourcePermissionCommandOutput, WorkDocsClientResolvedConfig> {
|
|
50
57
|
readonly input: RemoveResourcePermissionCommandInput;
|
|
51
58
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
52
62
|
constructor(input: RemoveResourcePermissionCommandInput);
|
|
53
63
|
/**
|
|
54
64
|
* @internal
|
|
55
65
|
*/
|
|
56
66
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RemoveResourcePermissionCommandInput, RemoveResourcePermissionCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
57
70
|
private serialize;
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
*/
|
|
58
74
|
private deserialize;
|
|
59
75
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { RestoreDocumentVersionsRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link RestoreDocumentVersionsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface RestoreDocumentVersionsCommandInput extends RestoreDocumentVersionsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link RestoreDocumentVersionsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface RestoreDocumentVersionsCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Recovers a deleted version of an Amazon WorkDocs document.</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 RestoreDocumentVersionsCommandOutput extends __MetadataBearer {
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param RestoreDocumentVersionsCommandInput - {@link RestoreDocumentVersionsCommandInput}
|
|
34
|
+
* @returns {@link RestoreDocumentVersionsCommandOutput}
|
|
28
35
|
* @see {@link RestoreDocumentVersionsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link RestoreDocumentVersionsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -60,11 +67,20 @@ export interface RestoreDocumentVersionsCommandOutput extends __MetadataBearer {
|
|
|
60
67
|
export declare class RestoreDocumentVersionsCommand extends $Command<RestoreDocumentVersionsCommandInput, RestoreDocumentVersionsCommandOutput, WorkDocsClientResolvedConfig> {
|
|
61
68
|
readonly input: RestoreDocumentVersionsCommandInput;
|
|
62
69
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
70
|
+
/**
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
63
73
|
constructor(input: RestoreDocumentVersionsCommandInput);
|
|
64
74
|
/**
|
|
65
75
|
* @internal
|
|
66
76
|
*/
|
|
67
77
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreDocumentVersionsCommandInput, RestoreDocumentVersionsCommandOutput>;
|
|
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 { SearchResourcesRequest, SearchResourcesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link SearchResourcesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface SearchResourcesCommandInput extends SearchResourcesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link SearchResourcesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface SearchResourcesCommandOutput extends SearchResourcesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Searches metadata and the content of folders, documents, document versions, and comments.</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 SearchResourcesCommandOutput extends SearchResourcesResponse, _
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param SearchResourcesCommandInput - {@link SearchResourcesCommandInput}
|
|
34
|
+
* @returns {@link SearchResourcesCommandOutput}
|
|
28
35
|
* @see {@link SearchResourcesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link SearchResourcesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface SearchResourcesCommandOutput extends SearchResourcesResponse, _
|
|
|
46
53
|
export declare class SearchResourcesCommand extends $Command<SearchResourcesCommandInput, SearchResourcesCommandOutput, WorkDocsClientResolvedConfig> {
|
|
47
54
|
readonly input: SearchResourcesCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: SearchResourcesCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchResourcesCommandInput, SearchResourcesCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateDocumentRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateDocumentCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateDocumentCommandInput extends UpdateDocumentRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateDocumentCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateDocumentCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the specified attributes of a document. The user must have access to both
|
|
18
23
|
* the document and its parent folder, if applicable.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UpdateDocumentCommandOutput extends __MetadataBearer {
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UpdateDocumentCommandInput - {@link UpdateDocumentCommandInput}
|
|
35
|
+
* @returns {@link UpdateDocumentCommandOutput}
|
|
29
36
|
* @see {@link UpdateDocumentCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UpdateDocumentCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -67,11 +74,20 @@ export interface UpdateDocumentCommandOutput extends __MetadataBearer {
|
|
|
67
74
|
export declare class UpdateDocumentCommand extends $Command<UpdateDocumentCommandInput, UpdateDocumentCommandOutput, WorkDocsClientResolvedConfig> {
|
|
68
75
|
readonly input: UpdateDocumentCommandInput;
|
|
69
76
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
70
80
|
constructor(input: UpdateDocumentCommandInput);
|
|
71
81
|
/**
|
|
72
82
|
* @internal
|
|
73
83
|
*/
|
|
74
84
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDocumentCommandInput, UpdateDocumentCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
75
88
|
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
76
92
|
private deserialize;
|
|
77
93
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateDocumentVersionRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateDocumentVersionCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateDocumentVersionCommandInput extends UpdateDocumentVersionRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateDocumentVersionCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateDocumentVersionCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Changes the status of the document version to ACTIVE. </p>
|
|
18
23
|
* <p>Amazon WorkDocs also sets its document container to ACTIVE. This is the last step
|
|
19
24
|
* in a document upload, after the client uploads the document to an S3-presigned URL
|
|
@@ -28,6 +33,8 @@ export interface UpdateDocumentVersionCommandOutput extends __MetadataBearer {
|
|
|
28
33
|
* const response = await client.send(command);
|
|
29
34
|
* ```
|
|
30
35
|
*
|
|
36
|
+
* @param UpdateDocumentVersionCommandInput - {@link UpdateDocumentVersionCommandInput}
|
|
37
|
+
* @returns {@link UpdateDocumentVersionCommandOutput}
|
|
31
38
|
* @see {@link UpdateDocumentVersionCommandInput} for command's `input` shape.
|
|
32
39
|
* @see {@link UpdateDocumentVersionCommandOutput} for command's `response` shape.
|
|
33
40
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -63,11 +70,20 @@ export interface UpdateDocumentVersionCommandOutput extends __MetadataBearer {
|
|
|
63
70
|
export declare class UpdateDocumentVersionCommand extends $Command<UpdateDocumentVersionCommandInput, UpdateDocumentVersionCommandOutput, WorkDocsClientResolvedConfig> {
|
|
64
71
|
readonly input: UpdateDocumentVersionCommandInput;
|
|
65
72
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
66
76
|
constructor(input: UpdateDocumentVersionCommandInput);
|
|
67
77
|
/**
|
|
68
78
|
* @internal
|
|
69
79
|
*/
|
|
70
80
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDocumentVersionCommandInput, UpdateDocumentVersionCommandOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
71
84
|
private serialize;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
72
88
|
private deserialize;
|
|
73
89
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateFolderRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateFolderCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateFolderCommandInput extends UpdateFolderRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateFolderCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateFolderCommandOutput extends __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the specified attributes of the specified folder. The user must have access
|
|
18
23
|
* to both the folder and its parent folder, if applicable.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UpdateFolderCommandOutput extends __MetadataBearer {
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UpdateFolderCommandInput - {@link UpdateFolderCommandInput}
|
|
35
|
+
* @returns {@link UpdateFolderCommandOutput}
|
|
29
36
|
* @see {@link UpdateFolderCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UpdateFolderCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -67,11 +74,20 @@ export interface UpdateFolderCommandOutput extends __MetadataBearer {
|
|
|
67
74
|
export declare class UpdateFolderCommand extends $Command<UpdateFolderCommandInput, UpdateFolderCommandOutput, WorkDocsClientResolvedConfig> {
|
|
68
75
|
readonly input: UpdateFolderCommandInput;
|
|
69
76
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
70
80
|
constructor(input: UpdateFolderCommandInput);
|
|
71
81
|
/**
|
|
72
82
|
* @internal
|
|
73
83
|
*/
|
|
74
84
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateFolderCommandInput, UpdateFolderCommandOutput>;
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
75
88
|
private serialize;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
76
92
|
private deserialize;
|
|
77
93
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UpdateUserRequest, UpdateUserResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, WorkDocsClientResolvedConfig } from "../WorkDocsClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UpdateUserCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UpdateUserCommandInput extends UpdateUserRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UpdateUserCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Updates the specified attributes of the specified user, and grants or revokes
|
|
18
23
|
* administrative privileges to the Amazon WorkDocs site.</p>
|
|
19
24
|
* @example
|
|
@@ -26,6 +31,8 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
|
|
|
26
31
|
* const response = await client.send(command);
|
|
27
32
|
* ```
|
|
28
33
|
*
|
|
34
|
+
* @param UpdateUserCommandInput - {@link UpdateUserCommandInput}
|
|
35
|
+
* @returns {@link UpdateUserCommandOutput}
|
|
29
36
|
* @see {@link UpdateUserCommandInput} for command's `input` shape.
|
|
30
37
|
* @see {@link UpdateUserCommandOutput} for command's `response` shape.
|
|
31
38
|
* @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape.
|
|
@@ -64,11 +71,20 @@ export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataB
|
|
|
64
71
|
export declare class UpdateUserCommand extends $Command<UpdateUserCommandInput, UpdateUserCommandOutput, WorkDocsClientResolvedConfig> {
|
|
65
72
|
readonly input: UpdateUserCommandInput;
|
|
66
73
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
67
77
|
constructor(input: UpdateUserCommandInput);
|
|
68
78
|
/**
|
|
69
79
|
* @internal
|
|
70
80
|
*/
|
|
71
81
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WorkDocsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateUserCommandInput, UpdateUserCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
72
85
|
private serialize;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
73
89
|
private deserialize;
|
|
74
90
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from WorkDocs service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class WorkDocsServiceException extends __ServiceException {
|