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