@aws-sdk/client-workspaces 3.185.0 → 3.188.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 (78) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/WorkSpaces.js +254 -261
  3. package/dist-es/WorkSpacesClient.js +22 -28
  4. package/dist-es/commands/AssociateConnectionAliasCommand.js +21 -28
  5. package/dist-es/commands/AssociateIpGroupsCommand.js +21 -28
  6. package/dist-es/commands/AuthorizeIpRulesCommand.js +21 -28
  7. package/dist-es/commands/CopyWorkspaceImageCommand.js +21 -28
  8. package/dist-es/commands/CreateConnectClientAddInCommand.js +21 -28
  9. package/dist-es/commands/CreateConnectionAliasCommand.js +21 -28
  10. package/dist-es/commands/CreateIpGroupCommand.js +21 -28
  11. package/dist-es/commands/CreateTagsCommand.js +21 -28
  12. package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +21 -28
  13. package/dist-es/commands/CreateWorkspaceBundleCommand.js +21 -28
  14. package/dist-es/commands/CreateWorkspaceImageCommand.js +21 -28
  15. package/dist-es/commands/CreateWorkspacesCommand.js +21 -28
  16. package/dist-es/commands/DeleteClientBrandingCommand.js +21 -28
  17. package/dist-es/commands/DeleteConnectClientAddInCommand.js +21 -28
  18. package/dist-es/commands/DeleteConnectionAliasCommand.js +21 -28
  19. package/dist-es/commands/DeleteIpGroupCommand.js +21 -28
  20. package/dist-es/commands/DeleteTagsCommand.js +21 -28
  21. package/dist-es/commands/DeleteWorkspaceBundleCommand.js +21 -28
  22. package/dist-es/commands/DeleteWorkspaceImageCommand.js +21 -28
  23. package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +21 -28
  24. package/dist-es/commands/DescribeAccountCommand.js +21 -28
  25. package/dist-es/commands/DescribeAccountModificationsCommand.js +21 -28
  26. package/dist-es/commands/DescribeClientBrandingCommand.js +21 -28
  27. package/dist-es/commands/DescribeClientPropertiesCommand.js +21 -28
  28. package/dist-es/commands/DescribeConnectClientAddInsCommand.js +21 -28
  29. package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +21 -28
  30. package/dist-es/commands/DescribeConnectionAliasesCommand.js +21 -28
  31. package/dist-es/commands/DescribeIpGroupsCommand.js +21 -28
  32. package/dist-es/commands/DescribeTagsCommand.js +21 -28
  33. package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +21 -28
  34. package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +21 -28
  35. package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +21 -28
  36. package/dist-es/commands/DescribeWorkspaceImagesCommand.js +21 -28
  37. package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +21 -28
  38. package/dist-es/commands/DescribeWorkspacesCommand.js +21 -28
  39. package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +21 -28
  40. package/dist-es/commands/DisassociateConnectionAliasCommand.js +21 -28
  41. package/dist-es/commands/DisassociateIpGroupsCommand.js +21 -28
  42. package/dist-es/commands/ImportClientBrandingCommand.js +21 -28
  43. package/dist-es/commands/ImportWorkspaceImageCommand.js +21 -28
  44. package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +21 -28
  45. package/dist-es/commands/MigrateWorkspaceCommand.js +21 -28
  46. package/dist-es/commands/ModifyAccountCommand.js +21 -28
  47. package/dist-es/commands/ModifyClientPropertiesCommand.js +21 -28
  48. package/dist-es/commands/ModifySamlPropertiesCommand.js +21 -28
  49. package/dist-es/commands/ModifySelfservicePermissionsCommand.js +21 -28
  50. package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +21 -28
  51. package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +21 -28
  52. package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +21 -28
  53. package/dist-es/commands/ModifyWorkspaceStateCommand.js +21 -28
  54. package/dist-es/commands/RebootWorkspacesCommand.js +21 -28
  55. package/dist-es/commands/RebuildWorkspacesCommand.js +21 -28
  56. package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +21 -28
  57. package/dist-es/commands/RestoreWorkspaceCommand.js +21 -28
  58. package/dist-es/commands/RevokeIpRulesCommand.js +21 -28
  59. package/dist-es/commands/StartWorkspacesCommand.js +21 -28
  60. package/dist-es/commands/StopWorkspacesCommand.js +21 -28
  61. package/dist-es/commands/TerminateWorkspacesCommand.js +21 -28
  62. package/dist-es/commands/UpdateConnectClientAddInCommand.js +21 -28
  63. package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +21 -28
  64. package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +21 -28
  65. package/dist-es/commands/UpdateWorkspaceBundleCommand.js +21 -28
  66. package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +21 -28
  67. package/dist-es/endpoints.js +8 -8
  68. package/dist-es/models/WorkSpacesServiceException.js +5 -10
  69. package/dist-es/models/models_0.js +658 -325
  70. package/dist-es/pagination/DescribeWorkspaceBundlesPaginator.js +24 -67
  71. package/dist-es/pagination/DescribeWorkspaceDirectoriesPaginator.js +24 -67
  72. package/dist-es/pagination/DescribeWorkspacesPaginator.js +25 -68
  73. package/dist-es/protocols/Aws_json1_1.js +4119 -5250
  74. package/dist-es/runtimeConfig.browser.js +26 -12
  75. package/dist-es/runtimeConfig.js +30 -12
  76. package/dist-es/runtimeConfig.native.js +8 -5
  77. package/dist-es/runtimeConfig.shared.js +8 -11
  78. package/package.json +33 -33
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var WorkSpacesClient = (function (_super) {
13
- __extends(WorkSpacesClient, _super);
14
- function WorkSpacesClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class WorkSpacesClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- WorkSpacesClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return WorkSpacesClient;
38
- }(__Client));
39
- export { WorkSpacesClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
33
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateConnectionAliasRequestFilterSensitiveLog, AssociateConnectionAliasResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AssociateConnectionAliasCommand, serializeAws_json1_1AssociateConnectionAliasCommand, } from "../protocols/Aws_json1_1";
6
- var AssociateConnectionAliasCommand = (function (_super) {
7
- __extends(AssociateConnectionAliasCommand, _super);
8
- function AssociateConnectionAliasCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateConnectionAliasCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateConnectionAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "AssociateConnectionAliasCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "AssociateConnectionAliasCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateConnectionAliasRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateConnectionAliasResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateConnectionAliasCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1AssociateConnectionAliasCommand(input, context);
33
- };
34
- AssociateConnectionAliasCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AssociateConnectionAliasCommand(output, context);
36
- };
37
- return AssociateConnectionAliasCommand;
38
- }($Command));
39
- export { AssociateConnectionAliasCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AssociateIpGroupsRequestFilterSensitiveLog, AssociateIpGroupsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AssociateIpGroupsCommand, serializeAws_json1_1AssociateIpGroupsCommand, } from "../protocols/Aws_json1_1";
6
- var AssociateIpGroupsCommand = (function (_super) {
7
- __extends(AssociateIpGroupsCommand, _super);
8
- function AssociateIpGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AssociateIpGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AssociateIpGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "AssociateIpGroupsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "AssociateIpGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AssociateIpGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AssociateIpGroupsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AssociateIpGroupsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1AssociateIpGroupsCommand(input, context);
33
- };
34
- AssociateIpGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AssociateIpGroupsCommand(output, context);
36
- };
37
- return AssociateIpGroupsCommand;
38
- }($Command));
39
- export { AssociateIpGroupsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { AuthorizeIpRulesRequestFilterSensitiveLog, AuthorizeIpRulesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AuthorizeIpRulesCommand, serializeAws_json1_1AuthorizeIpRulesCommand, } from "../protocols/Aws_json1_1";
6
- var AuthorizeIpRulesCommand = (function (_super) {
7
- __extends(AuthorizeIpRulesCommand, _super);
8
- function AuthorizeIpRulesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AuthorizeIpRulesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AuthorizeIpRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "AuthorizeIpRulesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "AuthorizeIpRulesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AuthorizeIpRulesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AuthorizeIpRulesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AuthorizeIpRulesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1AuthorizeIpRulesCommand(input, context);
33
- };
34
- AuthorizeIpRulesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AuthorizeIpRulesCommand(output, context);
36
- };
37
- return AuthorizeIpRulesCommand;
38
- }($Command));
39
- export { AuthorizeIpRulesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CopyWorkspaceImageRequestFilterSensitiveLog, CopyWorkspaceImageResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CopyWorkspaceImageCommand, serializeAws_json1_1CopyWorkspaceImageCommand, } from "../protocols/Aws_json1_1";
6
- var CopyWorkspaceImageCommand = (function (_super) {
7
- __extends(CopyWorkspaceImageCommand, _super);
8
- function CopyWorkspaceImageCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CopyWorkspaceImageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CopyWorkspaceImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "CopyWorkspaceImageCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "CopyWorkspaceImageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CopyWorkspaceImageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CopyWorkspaceImageResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CopyWorkspaceImageCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CopyWorkspaceImageCommand(input, context);
33
- };
34
- CopyWorkspaceImageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CopyWorkspaceImageCommand(output, context);
36
- };
37
- return CopyWorkspaceImageCommand;
38
- }($Command));
39
- export { CopyWorkspaceImageCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateConnectClientAddInRequestFilterSensitiveLog, CreateConnectClientAddInResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateConnectClientAddInCommand, serializeAws_json1_1CreateConnectClientAddInCommand, } from "../protocols/Aws_json1_1";
6
- var CreateConnectClientAddInCommand = (function (_super) {
7
- __extends(CreateConnectClientAddInCommand, _super);
8
- function CreateConnectClientAddInCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateConnectClientAddInCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateConnectClientAddInCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "CreateConnectClientAddInCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "CreateConnectClientAddInCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateConnectClientAddInRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateConnectClientAddInResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateConnectClientAddInCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateConnectClientAddInCommand(input, context);
33
- };
34
- CreateConnectClientAddInCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateConnectClientAddInCommand(output, context);
36
- };
37
- return CreateConnectClientAddInCommand;
38
- }($Command));
39
- export { CreateConnectClientAddInCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateConnectionAliasRequestFilterSensitiveLog, CreateConnectionAliasResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateConnectionAliasCommand, serializeAws_json1_1CreateConnectionAliasCommand, } from "../protocols/Aws_json1_1";
6
- var CreateConnectionAliasCommand = (function (_super) {
7
- __extends(CreateConnectionAliasCommand, _super);
8
- function CreateConnectionAliasCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateConnectionAliasCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateConnectionAliasCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "CreateConnectionAliasCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "CreateConnectionAliasCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateConnectionAliasRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateConnectionAliasResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateConnectionAliasCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateConnectionAliasCommand(input, context);
33
- };
34
- CreateConnectionAliasCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateConnectionAliasCommand(output, context);
36
- };
37
- return CreateConnectionAliasCommand;
38
- }($Command));
39
- export { CreateConnectionAliasCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateIpGroupRequestFilterSensitiveLog, CreateIpGroupResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateIpGroupCommand, serializeAws_json1_1CreateIpGroupCommand, } from "../protocols/Aws_json1_1";
6
- var CreateIpGroupCommand = (function (_super) {
7
- __extends(CreateIpGroupCommand, _super);
8
- function CreateIpGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateIpGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateIpGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "CreateIpGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "CreateIpGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateIpGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateIpGroupResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateIpGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateIpGroupCommand(input, context);
33
- };
34
- CreateIpGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateIpGroupCommand(output, context);
36
- };
37
- return CreateIpGroupCommand;
38
- }($Command));
39
- export { CreateIpGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateTagsRequestFilterSensitiveLog, CreateTagsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateTagsCommand, serializeAws_json1_1CreateTagsCommand, } from "../protocols/Aws_json1_1";
6
- var CreateTagsCommand = (function (_super) {
7
- __extends(CreateTagsCommand, _super);
8
- function CreateTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "CreateTagsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "CreateTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTagsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateTagsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateTagsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateTagsCommand(input, context);
33
- };
34
- CreateTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateTagsCommand(output, context);
36
- };
37
- return CreateTagsCommand;
38
- }($Command));
39
- export { CreateTagsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { CreateUpdatedWorkspaceImageRequestFilterSensitiveLog, CreateUpdatedWorkspaceImageResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateUpdatedWorkspaceImageCommand, serializeAws_json1_1CreateUpdatedWorkspaceImageCommand, } from "../protocols/Aws_json1_1";
6
- var CreateUpdatedWorkspaceImageCommand = (function (_super) {
7
- __extends(CreateUpdatedWorkspaceImageCommand, _super);
8
- function CreateUpdatedWorkspaceImageCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateUpdatedWorkspaceImageCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateUpdatedWorkspaceImageCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WorkSpacesClient";
18
- var commandName = "CreateUpdatedWorkspaceImageCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WorkSpacesClient";
15
+ const commandName = "CreateUpdatedWorkspaceImageCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateUpdatedWorkspaceImageRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateUpdatedWorkspaceImageResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateUpdatedWorkspaceImageCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1CreateUpdatedWorkspaceImageCommand(input, context);
33
- };
34
- CreateUpdatedWorkspaceImageCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateUpdatedWorkspaceImageCommand(output, context);
36
- };
37
- return CreateUpdatedWorkspaceImageCommand;
38
- }($Command));
39
- export { CreateUpdatedWorkspaceImageCommand };
31
+ }
32
+ }