@aws-sdk/client-workdocs 3.478.0 → 3.481.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 +18 -41
- package/dist-cjs/commands/ActivateUserCommand.js +18 -41
- package/dist-cjs/commands/AddResourcePermissionsCommand.js +18 -41
- package/dist-cjs/commands/CreateCommentCommand.js +18 -41
- package/dist-cjs/commands/CreateCustomMetadataCommand.js +18 -41
- package/dist-cjs/commands/CreateFolderCommand.js +18 -41
- package/dist-cjs/commands/CreateLabelsCommand.js +18 -41
- package/dist-cjs/commands/CreateNotificationSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/CreateUserCommand.js +18 -41
- package/dist-cjs/commands/DeactivateUserCommand.js +18 -41
- package/dist-cjs/commands/DeleteCommentCommand.js +18 -41
- package/dist-cjs/commands/DeleteCustomMetadataCommand.js +18 -41
- package/dist-cjs/commands/DeleteDocumentCommand.js +18 -41
- package/dist-cjs/commands/DeleteDocumentVersionCommand.js +18 -41
- package/dist-cjs/commands/DeleteFolderCommand.js +18 -41
- package/dist-cjs/commands/DeleteFolderContentsCommand.js +18 -41
- package/dist-cjs/commands/DeleteLabelsCommand.js +18 -41
- package/dist-cjs/commands/DeleteNotificationSubscriptionCommand.js +18 -41
- package/dist-cjs/commands/DeleteUserCommand.js +18 -41
- package/dist-cjs/commands/DescribeActivitiesCommand.js +18 -41
- package/dist-cjs/commands/DescribeCommentsCommand.js +18 -41
- package/dist-cjs/commands/DescribeDocumentVersionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeFolderContentsCommand.js +18 -41
- package/dist-cjs/commands/DescribeGroupsCommand.js +18 -41
- package/dist-cjs/commands/DescribeNotificationSubscriptionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeResourcePermissionsCommand.js +18 -41
- package/dist-cjs/commands/DescribeRootFoldersCommand.js +18 -41
- package/dist-cjs/commands/DescribeUsersCommand.js +18 -41
- package/dist-cjs/commands/GetCurrentUserCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentPathCommand.js +18 -41
- package/dist-cjs/commands/GetDocumentVersionCommand.js +18 -41
- package/dist-cjs/commands/GetFolderCommand.js +18 -41
- package/dist-cjs/commands/GetFolderPathCommand.js +18 -41
- package/dist-cjs/commands/GetResourcesCommand.js +18 -41
- package/dist-cjs/commands/InitiateDocumentVersionUploadCommand.js +18 -41
- package/dist-cjs/commands/RemoveAllResourcePermissionsCommand.js +18 -41
- package/dist-cjs/commands/RemoveResourcePermissionCommand.js +18 -41
- package/dist-cjs/commands/RestoreDocumentVersionsCommand.js +18 -41
- package/dist-cjs/commands/SearchResourcesCommand.js +18 -41
- package/dist-cjs/commands/UpdateDocumentCommand.js +18 -41
- package/dist-cjs/commands/UpdateDocumentVersionCommand.js +18 -41
- package/dist-cjs/commands/UpdateFolderCommand.js +18 -41
- package/dist-cjs/commands/UpdateUserCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AbortDocumentVersionUploadCommand.js +18 -41
- package/dist-es/commands/ActivateUserCommand.js +18 -41
- package/dist-es/commands/AddResourcePermissionsCommand.js +18 -41
- package/dist-es/commands/CreateCommentCommand.js +18 -41
- package/dist-es/commands/CreateCustomMetadataCommand.js +18 -41
- package/dist-es/commands/CreateFolderCommand.js +18 -41
- package/dist-es/commands/CreateLabelsCommand.js +18 -41
- package/dist-es/commands/CreateNotificationSubscriptionCommand.js +18 -41
- package/dist-es/commands/CreateUserCommand.js +18 -41
- package/dist-es/commands/DeactivateUserCommand.js +18 -41
- package/dist-es/commands/DeleteCommentCommand.js +18 -41
- package/dist-es/commands/DeleteCustomMetadataCommand.js +18 -41
- package/dist-es/commands/DeleteDocumentCommand.js +18 -41
- package/dist-es/commands/DeleteDocumentVersionCommand.js +18 -41
- package/dist-es/commands/DeleteFolderCommand.js +18 -41
- package/dist-es/commands/DeleteFolderContentsCommand.js +18 -41
- package/dist-es/commands/DeleteLabelsCommand.js +18 -41
- package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +18 -41
- package/dist-es/commands/DeleteUserCommand.js +18 -41
- package/dist-es/commands/DescribeActivitiesCommand.js +18 -41
- package/dist-es/commands/DescribeCommentsCommand.js +18 -41
- package/dist-es/commands/DescribeDocumentVersionsCommand.js +18 -41
- package/dist-es/commands/DescribeFolderContentsCommand.js +18 -41
- package/dist-es/commands/DescribeGroupsCommand.js +18 -41
- package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +18 -41
- package/dist-es/commands/DescribeResourcePermissionsCommand.js +18 -41
- package/dist-es/commands/DescribeRootFoldersCommand.js +18 -41
- package/dist-es/commands/DescribeUsersCommand.js +18 -41
- package/dist-es/commands/GetCurrentUserCommand.js +18 -41
- package/dist-es/commands/GetDocumentCommand.js +18 -41
- package/dist-es/commands/GetDocumentPathCommand.js +18 -41
- package/dist-es/commands/GetDocumentVersionCommand.js +18 -41
- package/dist-es/commands/GetFolderCommand.js +18 -41
- package/dist-es/commands/GetFolderPathCommand.js +18 -41
- package/dist-es/commands/GetResourcesCommand.js +18 -41
- package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +18 -41
- package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +18 -41
- package/dist-es/commands/RemoveResourcePermissionCommand.js +18 -41
- package/dist-es/commands/RestoreDocumentVersionsCommand.js +18 -41
- package/dist-es/commands/SearchResourcesCommand.js +18 -41
- package/dist-es/commands/UpdateDocumentCommand.js +18 -41
- package/dist-es/commands/UpdateDocumentVersionCommand.js +18 -41
- package/dist-es/commands/UpdateFolderCommand.js +18 -41
- package/dist-es/commands/UpdateUserCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AbortDocumentVersionUploadCommand.d.ts +6 -21
- package/dist-types/commands/ActivateUserCommand.d.ts +6 -21
- package/dist-types/commands/AddResourcePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/CreateCommentCommand.d.ts +6 -21
- package/dist-types/commands/CreateCustomMetadataCommand.d.ts +6 -21
- package/dist-types/commands/CreateFolderCommand.d.ts +6 -21
- package/dist-types/commands/CreateLabelsCommand.d.ts +6 -21
- package/dist-types/commands/CreateNotificationSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/CreateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeactivateUserCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCommentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCustomMetadataCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDocumentCommand.d.ts +6 -21
- package/dist-types/commands/DeleteDocumentVersionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFolderCommand.d.ts +6 -21
- package/dist-types/commands/DeleteFolderContentsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLabelsCommand.d.ts +6 -21
- package/dist-types/commands/DeleteNotificationSubscriptionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
- package/dist-types/commands/DescribeActivitiesCommand.d.ts +6 -21
- package/dist-types/commands/DescribeCommentsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeDocumentVersionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeFolderContentsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGroupsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeNotificationSubscriptionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeResourcePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRootFoldersCommand.d.ts +6 -21
- package/dist-types/commands/DescribeUsersCommand.d.ts +6 -21
- package/dist-types/commands/GetCurrentUserCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentPathCommand.d.ts +6 -21
- package/dist-types/commands/GetDocumentVersionCommand.d.ts +6 -21
- package/dist-types/commands/GetFolderCommand.d.ts +6 -21
- package/dist-types/commands/GetFolderPathCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcesCommand.d.ts +6 -21
- package/dist-types/commands/InitiateDocumentVersionUploadCommand.d.ts +6 -21
- package/dist-types/commands/RemoveAllResourcePermissionsCommand.d.ts +6 -21
- package/dist-types/commands/RemoveResourcePermissionCommand.d.ts +6 -21
- package/dist-types/commands/RestoreDocumentVersionsCommand.d.ts +6 -21
- package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDocumentCommand.d.ts +6 -21
- package/dist-types/commands/UpdateDocumentVersionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateFolderCommand.d.ts +6 -21
- package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AbortDocumentVersionUploadCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ActivateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/AddResourcePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateCommentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateCustomMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateLabelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateNotificationSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeactivateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCommentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteCustomMetadataCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteDocumentVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteFolderContentsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteLabelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteNotificationSubscriptionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeActivitiesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeCommentsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeDocumentVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeFolderContentsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeGroupsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeNotificationSubscriptionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeResourcePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeRootFoldersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCurrentUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentPathCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDocumentVersionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetFolderPathCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/InitiateDocumentVersionUploadCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveAllResourcePermissionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveResourcePermissionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RestoreDocumentVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateDocumentVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateFolderCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetCurrentUserRequestFilterSensitiveLog, GetCurrentUserResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetCurrentUserCommand, se_GetCurrentUserCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetCurrentUserCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "GetCurrentUserCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetCurrentUserRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetCurrentUserResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "GetCurrentUser",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetCurrentUserCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetCurrentUserCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetCurrentUserCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "GetCurrentUser", {})
|
|
20
|
+
.n("WorkDocsClient", "GetCurrentUserCommand")
|
|
21
|
+
.f(GetCurrentUserRequestFilterSensitiveLog, GetCurrentUserResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetCurrentUserCommand)
|
|
23
|
+
.de(de_GetCurrentUserCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetDocumentRequestFilterSensitiveLog, GetDocumentResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetDocumentCommand, se_GetDocumentCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetDocumentCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "GetDocumentCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetDocumentRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetDocumentResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "GetDocument",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetDocumentCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetDocumentCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetDocumentCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "GetDocument", {})
|
|
20
|
+
.n("WorkDocsClient", "GetDocumentCommand")
|
|
21
|
+
.f(GetDocumentRequestFilterSensitiveLog, GetDocumentResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetDocumentCommand)
|
|
23
|
+
.de(de_GetDocumentCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetDocumentPathRequestFilterSensitiveLog, GetDocumentPathResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetDocumentPathCommand, se_GetDocumentPathCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetDocumentPathCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "GetDocumentPathCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetDocumentPathRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetDocumentPathResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "GetDocumentPath",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetDocumentPathCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetDocumentPathCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetDocumentPathCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "GetDocumentPath", {})
|
|
20
|
+
.n("WorkDocsClient", "GetDocumentPathCommand")
|
|
21
|
+
.f(GetDocumentPathRequestFilterSensitiveLog, GetDocumentPathResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetDocumentPathCommand)
|
|
23
|
+
.de(de_GetDocumentPathCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetDocumentVersionRequestFilterSensitiveLog, GetDocumentVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetDocumentVersionCommand, se_GetDocumentVersionCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetDocumentVersionCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "GetDocumentVersionCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetDocumentVersionRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetDocumentVersionResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "GetDocumentVersion",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetDocumentVersionCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetDocumentVersionCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetDocumentVersionCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "GetDocumentVersion", {})
|
|
20
|
+
.n("WorkDocsClient", "GetDocumentVersionCommand")
|
|
21
|
+
.f(GetDocumentVersionRequestFilterSensitiveLog, GetDocumentVersionResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetDocumentVersionCommand)
|
|
23
|
+
.de(de_GetDocumentVersionCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetFolderRequestFilterSensitiveLog, GetFolderResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetFolderCommand, se_GetFolderCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetFolderCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "GetFolderCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetFolderRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetFolderResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "GetFolder",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetFolderCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetFolderCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetFolderCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "GetFolder", {})
|
|
20
|
+
.n("WorkDocsClient", "GetFolderCommand")
|
|
21
|
+
.f(GetFolderRequestFilterSensitiveLog, GetFolderResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetFolderCommand)
|
|
23
|
+
.de(de_GetFolderCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetFolderPathRequestFilterSensitiveLog, GetFolderPathResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetFolderPathCommand, se_GetFolderPathCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetFolderPathCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "GetFolderPathCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetFolderPathRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetFolderPathResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "GetFolderPath",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetFolderPathCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetFolderPathCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetFolderPathCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "GetFolderPath", {})
|
|
20
|
+
.n("WorkDocsClient", "GetFolderPathCommand")
|
|
21
|
+
.f(GetFolderPathRequestFilterSensitiveLog, GetFolderPathResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetFolderPathCommand)
|
|
23
|
+
.de(de_GetFolderPathCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetResourcesRequestFilterSensitiveLog, GetResourcesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_GetResourcesCommand, se_GetResourcesCommand } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class GetResourcesCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "GetResourcesCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: GetResourcesRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: GetResourcesResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "GetResources",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_GetResourcesCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_GetResourcesCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class GetResourcesCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "GetResources", {})
|
|
20
|
+
.n("WorkDocsClient", "GetResourcesCommand")
|
|
21
|
+
.f(GetResourcesRequestFilterSensitiveLog, GetResourcesResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_GetResourcesCommand)
|
|
23
|
+
.de(de_GetResourcesCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { InitiateDocumentVersionUploadRequestFilterSensitiveLog, InitiateDocumentVersionUploadResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_InitiateDocumentVersionUploadCommand, se_InitiateDocumentVersionUploadCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class InitiateDocumentVersionUploadCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "InitiateDocumentVersionUploadCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: InitiateDocumentVersionUploadRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: InitiateDocumentVersionUploadResponseFilterSensitiveLog,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "InitiateDocumentVersionUpload",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_InitiateDocumentVersionUploadCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_InitiateDocumentVersionUploadCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class InitiateDocumentVersionUploadCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "InitiateDocumentVersionUpload", {})
|
|
20
|
+
.n("WorkDocsClient", "InitiateDocumentVersionUploadCommand")
|
|
21
|
+
.f(InitiateDocumentVersionUploadRequestFilterSensitiveLog, InitiateDocumentVersionUploadResponseFilterSensitiveLog)
|
|
22
|
+
.ser(se_InitiateDocumentVersionUploadCommand)
|
|
23
|
+
.de(de_InitiateDocumentVersionUploadCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { RemoveAllResourcePermissionsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_RemoveAllResourcePermissionsCommand, se_RemoveAllResourcePermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class RemoveAllResourcePermissionsCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "WorkDocsClient";
|
|
27
|
-
const commandName = "RemoveAllResourcePermissionsCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: RemoveAllResourcePermissionsRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "AWSGorillaBoyService",
|
|
36
|
-
operation: "RemoveAllResourcePermissions",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_RemoveAllResourcePermissionsCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_RemoveAllResourcePermissionsCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class RemoveAllResourcePermissionsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("AWSGorillaBoyService", "RemoveAllResourcePermissions", {})
|
|
20
|
+
.n("WorkDocsClient", "RemoveAllResourcePermissionsCommand")
|
|
21
|
+
.f(RemoveAllResourcePermissionsRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_RemoveAllResourcePermissionsCommand)
|
|
23
|
+
.de(de_RemoveAllResourcePermissionsCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|