@aws-sdk/client-workdocs 3.183.0 → 3.186.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.
Files changed (57) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/WorkDocs.js +173 -166
  4. package/dist-es/WorkDocsClient.js +28 -22
  5. package/dist-es/commands/AbortDocumentVersionUploadCommand.js +29 -22
  6. package/dist-es/commands/ActivateUserCommand.js +28 -21
  7. package/dist-es/commands/AddResourcePermissionsCommand.js +28 -21
  8. package/dist-es/commands/CreateCommentCommand.js +28 -21
  9. package/dist-es/commands/CreateCustomMetadataCommand.js +28 -21
  10. package/dist-es/commands/CreateFolderCommand.js +28 -21
  11. package/dist-es/commands/CreateLabelsCommand.js +28 -21
  12. package/dist-es/commands/CreateNotificationSubscriptionCommand.js +28 -21
  13. package/dist-es/commands/CreateUserCommand.js +28 -21
  14. package/dist-es/commands/DeactivateUserCommand.js +29 -22
  15. package/dist-es/commands/DeleteCommentCommand.js +29 -22
  16. package/dist-es/commands/DeleteCustomMetadataCommand.js +28 -21
  17. package/dist-es/commands/DeleteDocumentCommand.js +29 -22
  18. package/dist-es/commands/DeleteFolderCommand.js +29 -22
  19. package/dist-es/commands/DeleteFolderContentsCommand.js +29 -22
  20. package/dist-es/commands/DeleteLabelsCommand.js +28 -21
  21. package/dist-es/commands/DeleteNotificationSubscriptionCommand.js +29 -22
  22. package/dist-es/commands/DeleteUserCommand.js +29 -22
  23. package/dist-es/commands/DescribeActivitiesCommand.js +28 -21
  24. package/dist-es/commands/DescribeCommentsCommand.js +28 -21
  25. package/dist-es/commands/DescribeDocumentVersionsCommand.js +28 -21
  26. package/dist-es/commands/DescribeFolderContentsCommand.js +28 -21
  27. package/dist-es/commands/DescribeGroupsCommand.js +28 -21
  28. package/dist-es/commands/DescribeNotificationSubscriptionsCommand.js +28 -21
  29. package/dist-es/commands/DescribeResourcePermissionsCommand.js +28 -21
  30. package/dist-es/commands/DescribeRootFoldersCommand.js +28 -21
  31. package/dist-es/commands/DescribeUsersCommand.js +28 -21
  32. package/dist-es/commands/GetCurrentUserCommand.js +28 -21
  33. package/dist-es/commands/GetDocumentCommand.js +28 -21
  34. package/dist-es/commands/GetDocumentPathCommand.js +28 -21
  35. package/dist-es/commands/GetDocumentVersionCommand.js +28 -21
  36. package/dist-es/commands/GetFolderCommand.js +28 -21
  37. package/dist-es/commands/GetFolderPathCommand.js +28 -21
  38. package/dist-es/commands/GetResourcesCommand.js +28 -21
  39. package/dist-es/commands/InitiateDocumentVersionUploadCommand.js +28 -21
  40. package/dist-es/commands/RemoveAllResourcePermissionsCommand.js +29 -22
  41. package/dist-es/commands/RemoveResourcePermissionCommand.js +29 -22
  42. package/dist-es/commands/UpdateDocumentCommand.js +29 -22
  43. package/dist-es/commands/UpdateDocumentVersionCommand.js +29 -22
  44. package/dist-es/commands/UpdateFolderCommand.js +29 -22
  45. package/dist-es/commands/UpdateUserCommand.js +28 -21
  46. package/dist-es/endpoints.js +8 -8
  47. package/dist-es/models/WorkDocsServiceException.js +10 -5
  48. package/dist-es/models/models_0.js +401 -642
  49. package/dist-es/pagination/DescribeDocumentVersionsPaginator.js +68 -25
  50. package/dist-es/pagination/DescribeFolderContentsPaginator.js +68 -25
  51. package/dist-es/pagination/DescribeUsersPaginator.js +68 -25
  52. package/dist-es/protocols/Aws_restJson1.js +4635 -3321
  53. package/dist-es/runtimeConfig.browser.js +12 -26
  54. package/dist-es/runtimeConfig.js +12 -30
  55. package/dist-es/runtimeConfig.native.js +5 -8
  56. package/dist-es/runtimeConfig.shared.js +11 -8
  57. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeactivateUserRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeactivateUserCommand, serializeAws_restJson1DeactivateUserCommand, } from "../protocols/Aws_restJson1";
5
- export class DeactivateUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeactivateUserCommand = (function (_super) {
7
+ __extends(DeactivateUserCommand, _super);
8
+ function DeactivateUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeactivateUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeactivateUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeactivateUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeactivateUserRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeactivateUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeactivateUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeactivateUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeactivateUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeactivateUserCommand;
38
+ }($Command));
39
+ export { DeactivateUserCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCommentRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteCommentCommand, serializeAws_restJson1DeleteCommentCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteCommentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCommentCommand = (function (_super) {
7
+ __extends(DeleteCommentCommand, _super);
8
+ function DeleteCommentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCommentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteCommentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteCommentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCommentRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCommentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteCommentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCommentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteCommentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCommentCommand;
38
+ }($Command));
39
+ export { DeleteCommentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCustomMetadataRequestFilterSensitiveLog, DeleteCustomMetadataResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteCustomMetadataCommand, serializeAws_restJson1DeleteCustomMetadataCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteCustomMetadataCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCustomMetadataCommand = (function (_super) {
7
+ __extends(DeleteCustomMetadataCommand, _super);
8
+ function DeleteCustomMetadataCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCustomMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteCustomMetadataCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteCustomMetadataCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCustomMetadataRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteCustomMetadataResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteCustomMetadataCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteCustomMetadataCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCustomMetadataCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteCustomMetadataCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCustomMetadataCommand;
38
+ }($Command));
39
+ export { DeleteCustomMetadataCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteDocumentRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteDocumentCommand, serializeAws_restJson1DeleteDocumentCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteDocumentCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDocumentCommand = (function (_super) {
7
+ __extends(DeleteDocumentCommand, _super);
8
+ function DeleteDocumentCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDocumentCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteDocumentCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteDocumentCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDocumentRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDocumentCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteDocumentCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDocumentCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteDocumentCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDocumentCommand;
38
+ }($Command));
39
+ export { DeleteDocumentCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFolderRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteFolderCommand, serializeAws_restJson1DeleteFolderCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteFolderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteFolderCommand = (function (_super) {
7
+ __extends(DeleteFolderCommand, _super);
8
+ function DeleteFolderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFolderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteFolderCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteFolderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteFolderRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteFolderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteFolderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFolderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteFolderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFolderCommand;
38
+ }($Command));
39
+ export { DeleteFolderCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteFolderContentsRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteFolderContentsCommand, serializeAws_restJson1DeleteFolderContentsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteFolderContentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteFolderContentsCommand = (function (_super) {
7
+ __extends(DeleteFolderContentsCommand, _super);
8
+ function DeleteFolderContentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteFolderContentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteFolderContentsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteFolderContentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteFolderContentsRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteFolderContentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteFolderContentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteFolderContentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteFolderContentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteFolderContentsCommand;
38
+ }($Command));
39
+ export { DeleteFolderContentsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteLabelsRequestFilterSensitiveLog, DeleteLabelsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteLabelsCommand, serializeAws_restJson1DeleteLabelsCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteLabelsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteLabelsCommand = (function (_super) {
7
+ __extends(DeleteLabelsCommand, _super);
8
+ function DeleteLabelsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteLabelsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteLabelsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteLabelsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteLabelsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteLabelsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteLabelsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteLabelsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteLabelsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteLabelsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteLabelsCommand;
38
+ }($Command));
39
+ export { DeleteLabelsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteNotificationSubscriptionRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteNotificationSubscriptionCommand, serializeAws_restJson1DeleteNotificationSubscriptionCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteNotificationSubscriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteNotificationSubscriptionCommand = (function (_super) {
7
+ __extends(DeleteNotificationSubscriptionCommand, _super);
8
+ function DeleteNotificationSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteNotificationSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteNotificationSubscriptionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteNotificationSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteNotificationSubscriptionRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteNotificationSubscriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteNotificationSubscriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteNotificationSubscriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteNotificationSubscriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteNotificationSubscriptionCommand;
38
+ }($Command));
39
+ export { DeleteNotificationSubscriptionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteUserRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteUserCommand, serializeAws_restJson1DeleteUserCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteUserCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteUserCommand = (function (_super) {
7
+ __extends(DeleteUserCommand, _super);
8
+ function DeleteUserCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteUserCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DeleteUserCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DeleteUserCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteUserRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteUserCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteUserCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteUserCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteUserCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteUserCommand;
38
+ }($Command));
39
+ export { DeleteUserCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeActivitiesRequestFilterSensitiveLog, DescribeActivitiesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DescribeActivitiesCommand, serializeAws_restJson1DescribeActivitiesCommand, } from "../protocols/Aws_restJson1";
5
- export class DescribeActivitiesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeActivitiesCommand = (function (_super) {
7
+ __extends(DescribeActivitiesCommand, _super);
8
+ function DescribeActivitiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeActivitiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WorkDocsClient";
15
- const commandName = "DescribeActivitiesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WorkDocsClient";
18
+ var commandName = "DescribeActivitiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeActivitiesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeActivitiesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeActivitiesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DescribeActivitiesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeActivitiesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DescribeActivitiesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeActivitiesCommand;
38
+ }($Command));
39
+ export { DescribeActivitiesCommand };