@aws-sdk/client-workdocs 3.928.0 → 3.929.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2697 -2674
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/WorkDocsClient.js +2 -0
- package/dist-es/commands/AbortDocumentVersionUploadCommand.js +3 -10
- package/dist-es/commands/ActivateUserCommand.js +3 -10
- package/dist-es/commands/AddResourcePermissionsCommand.js +3 -10
- package/dist-es/commands/CreateCommentCommand.js +3 -10
- package/dist-es/commands/CreateCustomMetadataCommand.js +3 -10
- package/dist-es/commands/CreateFolderCommand.js +3 -10
- package/dist-es/commands/CreateLabelsCommand.js +3 -10
- package/dist-es/commands/CreateNotificationSubscriptionCommand.js +3 -9
- package/dist-es/commands/CreateUserCommand.js +3 -10
- package/dist-es/commands/DeactivateUserCommand.js +3 -10
- package/dist-es/commands/DeleteCommentCommand.js +3 -10
- package/dist-es/commands/DeleteCustomMetadataCommand.js +3 -10
- package/dist-es/commands/DeleteDocumentCommand.js +3 -10
- package/dist-es/commands/DeleteDocumentVersionCommand.js +3 -10
- package/dist-es/commands/DeleteFolderCommand.js +3 -10
- package/dist-es/commands/DeleteFolderContentsCommand.js +3 -10
- package/dist-es/commands/DeleteLabelsCommand.js +3 -10
- package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +3 -9
- package/dist-es/commands/DeleteUserCommand.js +3 -10
- package/dist-es/commands/DescribeActivitiesCommand.js +3 -10
- package/dist-es/commands/DescribeCommentsCommand.js +3 -10
- package/dist-es/commands/DescribeDocumentVersionsCommand.js +3 -10
- package/dist-es/commands/DescribeFolderContentsCommand.js +3 -10
- package/dist-es/commands/DescribeGroupsCommand.js +3 -10
- package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +3 -9
- package/dist-es/commands/DescribeResourcePermissionsCommand.js +3 -10
- package/dist-es/commands/DescribeRootFoldersCommand.js +3 -10
- package/dist-es/commands/DescribeUsersCommand.js +3 -10
- package/dist-es/commands/GetCurrentUserCommand.js +3 -10
- package/dist-es/commands/GetDocumentCommand.js +3 -10
- package/dist-es/commands/GetDocumentPathCommand.js +3 -10
- package/dist-es/commands/GetDocumentVersionCommand.js +3 -10
- package/dist-es/commands/GetFolderCommand.js +3 -10
- package/dist-es/commands/GetFolderPathCommand.js +3 -10
- package/dist-es/commands/GetResourcesCommand.js +3 -10
- package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +3 -10
- package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +3 -10
- package/dist-es/commands/RemoveResourcePermissionCommand.js +3 -10
- package/dist-es/commands/RestoreDocumentVersionsCommand.js +3 -10
- package/dist-es/commands/SearchResourcesCommand.js +3 -10
- package/dist-es/commands/UpdateDocumentCommand.js +3 -10
- package/dist-es/commands/UpdateDocumentVersionCommand.js +3 -10
- package/dist-es/commands/UpdateFolderCommand.js +3 -10
- package/dist-es/commands/UpdateUserCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -359
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2591 -0
- package/dist-types/WorkDocsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -312
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +217 -0
- package/dist-types/ts3.4/WorkDocsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -218
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +224 -0
- package/package.json +2 -2
- package/dist-es/protocols/Aws_restJson1.js +0 -1901
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -398
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -533
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeDocumentVersionsCommand, se_DescribeDocumentVersionsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeDocumentVersions } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeDocumentVersionsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "DescribeDocumentVersions", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeDocumentVersionsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeDocumentVersionsCommand)
|
|
21
|
-
.de(de_DescribeDocumentVersionsCommand)
|
|
14
|
+
.sc(DescribeDocumentVersions)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeFolderContentsCommand, se_DescribeFolderContentsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeFolderContents } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeFolderContentsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "DescribeFolderContents", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeFolderContentsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeFolderContentsCommand)
|
|
21
|
-
.de(de_DescribeFolderContentsCommand)
|
|
14
|
+
.sc(DescribeFolderContents)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeGroupsCommand, se_DescribeGroupsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeGroups } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeGroupsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "DescribeGroups", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeGroupsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeGroupsCommand)
|
|
21
|
-
.de(de_DescribeGroupsCommand)
|
|
14
|
+
.sc(DescribeGroups)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeNotificationSubscriptions } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeNotificationSubscriptionsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSGorillaBoyService", "DescribeNotificationSubscriptions", {})
|
|
17
13
|
.n("WorkDocsClient", "DescribeNotificationSubscriptionsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeNotificationSubscriptionsCommand)
|
|
20
|
-
.de(de_DescribeNotificationSubscriptionsCommand)
|
|
14
|
+
.sc(DescribeNotificationSubscriptions)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeResourcePermissionsCommand, se_DescribeResourcePermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeResourcePermissions } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeResourcePermissionsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "DescribeResourcePermissions", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeResourcePermissionsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeResourcePermissionsCommand)
|
|
21
|
-
.de(de_DescribeResourcePermissionsCommand)
|
|
14
|
+
.sc(DescribeResourcePermissions)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeRootFoldersCommand, se_DescribeRootFoldersCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeRootFolders } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeRootFoldersCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "DescribeRootFolders", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeRootFoldersCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeRootFoldersCommand)
|
|
21
|
-
.de(de_DescribeRootFoldersCommand)
|
|
14
|
+
.sc(DescribeRootFolders)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_DescribeUsersCommand, se_DescribeUsersCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeUsers } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeUsersCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "DescribeUsers", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeUsersCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeUsersCommand)
|
|
21
|
-
.de(de_DescribeUsersCommand)
|
|
14
|
+
.sc(DescribeUsers)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetCurrentUserCommand, se_GetCurrentUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetCurrentUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetCurrentUserCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "GetCurrentUser", {})
|
|
18
13
|
.n("WorkDocsClient", "GetCurrentUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetCurrentUserCommand)
|
|
21
|
-
.de(de_GetCurrentUserCommand)
|
|
14
|
+
.sc(GetCurrentUser)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetDocumentCommand, se_GetDocumentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetDocument } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetDocumentCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "GetDocument", {})
|
|
18
13
|
.n("WorkDocsClient", "GetDocumentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetDocumentCommand)
|
|
21
|
-
.de(de_GetDocumentCommand)
|
|
14
|
+
.sc(GetDocument)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetDocumentPathCommand, se_GetDocumentPathCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetDocumentPath } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetDocumentPathCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "GetDocumentPath", {})
|
|
18
13
|
.n("WorkDocsClient", "GetDocumentPathCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetDocumentPathCommand)
|
|
21
|
-
.de(de_GetDocumentPathCommand)
|
|
14
|
+
.sc(GetDocumentPath)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetDocumentVersionCommand, se_GetDocumentVersionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetDocumentVersion } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetDocumentVersionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "GetDocumentVersion", {})
|
|
18
13
|
.n("WorkDocsClient", "GetDocumentVersionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetDocumentVersionCommand)
|
|
21
|
-
.de(de_GetDocumentVersionCommand)
|
|
14
|
+
.sc(GetDocumentVersion)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetFolderCommand, se_GetFolderCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetFolder } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetFolderCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "GetFolder", {})
|
|
18
13
|
.n("WorkDocsClient", "GetFolderCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetFolderCommand)
|
|
21
|
-
.de(de_GetFolderCommand)
|
|
14
|
+
.sc(GetFolder)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetFolderPathCommand, se_GetFolderPathCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetFolderPath } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetFolderPathCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "GetFolderPath", {})
|
|
18
13
|
.n("WorkDocsClient", "GetFolderPathCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetFolderPathCommand)
|
|
21
|
-
.de(de_GetFolderPathCommand)
|
|
14
|
+
.sc(GetFolderPath)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_GetResourcesCommand, se_GetResourcesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { GetResources } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class GetResourcesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "GetResources", {})
|
|
18
13
|
.n("WorkDocsClient", "GetResourcesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_GetResourcesCommand)
|
|
21
|
-
.de(de_GetResourcesCommand)
|
|
14
|
+
.sc(GetResources)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_InitiateDocumentVersionUploadCommand, se_InitiateDocumentVersionUploadCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { InitiateDocumentVersionUpload } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class InitiateDocumentVersionUploadCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "InitiateDocumentVersionUpload", {})
|
|
18
13
|
.n("WorkDocsClient", "InitiateDocumentVersionUploadCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_InitiateDocumentVersionUploadCommand)
|
|
21
|
-
.de(de_InitiateDocumentVersionUploadCommand)
|
|
14
|
+
.sc(InitiateDocumentVersionUpload)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_RemoveAllResourcePermissionsCommand, se_RemoveAllResourcePermissionsCommand, } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { RemoveAllResourcePermissions } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RemoveAllResourcePermissionsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "RemoveAllResourcePermissions", {})
|
|
18
13
|
.n("WorkDocsClient", "RemoveAllResourcePermissionsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_RemoveAllResourcePermissionsCommand)
|
|
21
|
-
.de(de_RemoveAllResourcePermissionsCommand)
|
|
14
|
+
.sc(RemoveAllResourcePermissions)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_RemoveResourcePermissionCommand, se_RemoveResourcePermissionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { RemoveResourcePermission } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RemoveResourcePermissionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "RemoveResourcePermission", {})
|
|
18
13
|
.n("WorkDocsClient", "RemoveResourcePermissionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_RemoveResourcePermissionCommand)
|
|
21
|
-
.de(de_RemoveResourcePermissionCommand)
|
|
14
|
+
.sc(RemoveResourcePermission)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_RestoreDocumentVersionsCommand, se_RestoreDocumentVersionsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { RestoreDocumentVersions } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class RestoreDocumentVersionsCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "RestoreDocumentVersions", {})
|
|
18
13
|
.n("WorkDocsClient", "RestoreDocumentVersionsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_RestoreDocumentVersionsCommand)
|
|
21
|
-
.de(de_RestoreDocumentVersionsCommand)
|
|
14
|
+
.sc(RestoreDocumentVersions)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_SearchResourcesCommand, se_SearchResourcesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { SearchResources } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class SearchResourcesCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "SearchResources", {})
|
|
18
13
|
.n("WorkDocsClient", "SearchResourcesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_SearchResourcesCommand)
|
|
21
|
-
.de(de_SearchResourcesCommand)
|
|
14
|
+
.sc(SearchResources)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateDocumentCommand, se_UpdateDocumentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateDocument } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateDocumentCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "UpdateDocument", {})
|
|
18
13
|
.n("WorkDocsClient", "UpdateDocumentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateDocumentCommand)
|
|
21
|
-
.de(de_UpdateDocumentCommand)
|
|
14
|
+
.sc(UpdateDocument)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateDocumentVersionCommand, se_UpdateDocumentVersionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateDocumentVersion } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateDocumentVersionCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "UpdateDocumentVersion", {})
|
|
18
13
|
.n("WorkDocsClient", "UpdateDocumentVersionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateDocumentVersionCommand)
|
|
21
|
-
.de(de_UpdateDocumentVersionCommand)
|
|
14
|
+
.sc(UpdateDocumentVersion)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateFolderCommand, se_UpdateFolderCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateFolder } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateFolderCommand extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("AWSGorillaBoyService", "UpdateFolder", {})
|
|
18
13
|
.n("WorkDocsClient", "UpdateFolderCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateFolderCommand)
|
|
21
|
-
.de(de_UpdateFolderCommand)
|
|
14
|
+
.sc(UpdateFolder)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|