@aws-sdk/client-workdocs 3.927.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 +5 -5
- 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
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.workdocs" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "WorkDocs",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class WorkDocsClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -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_AbortDocumentVersionUploadCommand, se_AbortDocumentVersionUploadCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { AbortDocumentVersionUpload } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class AbortDocumentVersionUploadCommand 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", "AbortDocumentVersionUpload", {})
|
|
18
13
|
.n("WorkDocsClient", "AbortDocumentVersionUploadCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_AbortDocumentVersionUploadCommand)
|
|
21
|
-
.de(de_AbortDocumentVersionUploadCommand)
|
|
14
|
+
.sc(AbortDocumentVersionUpload)
|
|
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_ActivateUserCommand, se_ActivateUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { ActivateUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class ActivateUserCommand 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", "ActivateUser", {})
|
|
18
13
|
.n("WorkDocsClient", "ActivateUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_ActivateUserCommand)
|
|
21
|
-
.de(de_ActivateUserCommand)
|
|
14
|
+
.sc(ActivateUser)
|
|
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_AddResourcePermissionsCommand, se_AddResourcePermissionsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { AddResourcePermissions } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class AddResourcePermissionsCommand 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", "AddResourcePermissions", {})
|
|
18
13
|
.n("WorkDocsClient", "AddResourcePermissionsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_AddResourcePermissionsCommand)
|
|
21
|
-
.de(de_AddResourcePermissionsCommand)
|
|
14
|
+
.sc(AddResourcePermissions)
|
|
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_CreateCommentCommand, se_CreateCommentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateComment } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateCommentCommand 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", "CreateComment", {})
|
|
18
13
|
.n("WorkDocsClient", "CreateCommentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateCommentCommand)
|
|
21
|
-
.de(de_CreateCommentCommand)
|
|
14
|
+
.sc(CreateComment)
|
|
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_CreateCustomMetadataCommand, se_CreateCustomMetadataCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateCustomMetadata } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateCustomMetadataCommand 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", "CreateCustomMetadata", {})
|
|
18
13
|
.n("WorkDocsClient", "CreateCustomMetadataCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateCustomMetadataCommand)
|
|
21
|
-
.de(de_CreateCustomMetadataCommand)
|
|
14
|
+
.sc(CreateCustomMetadata)
|
|
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_CreateFolderCommand, se_CreateFolderCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateFolder } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateFolderCommand 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", "CreateFolder", {})
|
|
18
13
|
.n("WorkDocsClient", "CreateFolderCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateFolderCommand)
|
|
21
|
-
.de(de_CreateFolderCommand)
|
|
14
|
+
.sc(CreateFolder)
|
|
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_CreateLabelsCommand, se_CreateLabelsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateLabels } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateLabelsCommand 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", "CreateLabels", {})
|
|
18
13
|
.n("WorkDocsClient", "CreateLabelsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateLabelsCommand)
|
|
21
|
-
.de(de_CreateLabelsCommand)
|
|
14
|
+
.sc(CreateLabels)
|
|
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 { CreateNotificationSubscription } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateNotificationSubscriptionCommand 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", "CreateNotificationSubscription", {})
|
|
17
13
|
.n("WorkDocsClient", "CreateNotificationSubscriptionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateNotificationSubscriptionCommand)
|
|
20
|
-
.de(de_CreateNotificationSubscriptionCommand)
|
|
14
|
+
.sc(CreateNotificationSubscription)
|
|
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_CreateUserCommand, se_CreateUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { CreateUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class CreateUserCommand 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", "CreateUser", {})
|
|
18
13
|
.n("WorkDocsClient", "CreateUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_CreateUserCommand)
|
|
21
|
-
.de(de_CreateUserCommand)
|
|
14
|
+
.sc(CreateUser)
|
|
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_DeactivateUserCommand, se_DeactivateUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeactivateUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeactivateUserCommand 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", "DeactivateUser", {})
|
|
18
13
|
.n("WorkDocsClient", "DeactivateUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeactivateUserCommand)
|
|
21
|
-
.de(de_DeactivateUserCommand)
|
|
14
|
+
.sc(DeactivateUser)
|
|
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_DeleteCommentCommand, se_DeleteCommentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteComment } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteCommentCommand 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", "DeleteComment", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteCommentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteCommentCommand)
|
|
21
|
-
.de(de_DeleteCommentCommand)
|
|
14
|
+
.sc(DeleteComment)
|
|
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_DeleteCustomMetadataCommand, se_DeleteCustomMetadataCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteCustomMetadata } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteCustomMetadataCommand 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", "DeleteCustomMetadata", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteCustomMetadataCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteCustomMetadataCommand)
|
|
21
|
-
.de(de_DeleteCustomMetadataCommand)
|
|
14
|
+
.sc(DeleteCustomMetadata)
|
|
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_DeleteDocumentCommand, se_DeleteDocumentCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteDocument } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteDocumentCommand 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", "DeleteDocument", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteDocumentCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteDocumentCommand)
|
|
21
|
-
.de(de_DeleteDocumentCommand)
|
|
14
|
+
.sc(DeleteDocument)
|
|
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_DeleteDocumentVersionCommand, se_DeleteDocumentVersionCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteDocumentVersion } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteDocumentVersionCommand 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", "DeleteDocumentVersion", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteDocumentVersionCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteDocumentVersionCommand)
|
|
21
|
-
.de(de_DeleteDocumentVersionCommand)
|
|
14
|
+
.sc(DeleteDocumentVersion)
|
|
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_DeleteFolderCommand, se_DeleteFolderCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteFolder } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteFolderCommand 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", "DeleteFolder", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteFolderCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteFolderCommand)
|
|
21
|
-
.de(de_DeleteFolderCommand)
|
|
14
|
+
.sc(DeleteFolder)
|
|
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_DeleteFolderContentsCommand, se_DeleteFolderContentsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteFolderContents } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteFolderContentsCommand 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", "DeleteFolderContents", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteFolderContentsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteFolderContentsCommand)
|
|
21
|
-
.de(de_DeleteFolderContentsCommand)
|
|
14
|
+
.sc(DeleteFolderContents)
|
|
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_DeleteLabelsCommand, se_DeleteLabelsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteLabels } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteLabelsCommand 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", "DeleteLabels", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteLabelsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteLabelsCommand)
|
|
21
|
-
.de(de_DeleteLabelsCommand)
|
|
14
|
+
.sc(DeleteLabels)
|
|
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 { DeleteNotificationSubscription } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteNotificationSubscriptionCommand 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", "DeleteNotificationSubscription", {})
|
|
17
13
|
.n("WorkDocsClient", "DeleteNotificationSubscriptionCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteNotificationSubscriptionCommand)
|
|
20
|
-
.de(de_DeleteNotificationSubscriptionCommand)
|
|
14
|
+
.sc(DeleteNotificationSubscription)
|
|
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_DeleteUserCommand, se_DeleteUserCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DeleteUser } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DeleteUserCommand 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", "DeleteUser", {})
|
|
18
13
|
.n("WorkDocsClient", "DeleteUserCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DeleteUserCommand)
|
|
21
|
-
.de(de_DeleteUserCommand)
|
|
14
|
+
.sc(DeleteUser)
|
|
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_DescribeActivitiesCommand, se_DescribeActivitiesCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeActivities } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeActivitiesCommand 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", "DescribeActivities", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeActivitiesCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeActivitiesCommand)
|
|
21
|
-
.de(de_DescribeActivitiesCommand)
|
|
14
|
+
.sc(DescribeActivities)
|
|
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_DescribeCommentsCommand, se_DescribeCommentsCommand } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { DescribeComments } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class DescribeCommentsCommand 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", "DescribeComments", {})
|
|
18
13
|
.n("WorkDocsClient", "DescribeCommentsCommand")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_DescribeCommentsCommand)
|
|
21
|
-
.de(de_DescribeCommentsCommand)
|
|
14
|
+
.sc(DescribeComments)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|