@aws-sdk/client-workspaces 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist-cjs/index.js +3098 -3222
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/WorkSpacesClient.js +2 -0
  4. package/dist-es/commands/AcceptAccountLinkInvitationCommand.js +3 -9
  5. package/dist-es/commands/AssociateConnectionAliasCommand.js +3 -9
  6. package/dist-es/commands/AssociateIpGroupsCommand.js +3 -9
  7. package/dist-es/commands/AssociateWorkspaceApplicationCommand.js +3 -9
  8. package/dist-es/commands/AuthorizeIpRulesCommand.js +3 -9
  9. package/dist-es/commands/CopyWorkspaceImageCommand.js +3 -9
  10. package/dist-es/commands/CreateAccountLinkInvitationCommand.js +3 -9
  11. package/dist-es/commands/CreateConnectClientAddInCommand.js +3 -9
  12. package/dist-es/commands/CreateConnectionAliasCommand.js +3 -9
  13. package/dist-es/commands/CreateIpGroupCommand.js +3 -9
  14. package/dist-es/commands/CreateStandbyWorkspacesCommand.js +3 -9
  15. package/dist-es/commands/CreateTagsCommand.js +3 -9
  16. package/dist-es/commands/CreateUpdatedWorkspaceImageCommand.js +3 -9
  17. package/dist-es/commands/CreateWorkspaceBundleCommand.js +3 -9
  18. package/dist-es/commands/CreateWorkspaceImageCommand.js +3 -9
  19. package/dist-es/commands/CreateWorkspacesCommand.js +3 -9
  20. package/dist-es/commands/CreateWorkspacesPoolCommand.js +3 -9
  21. package/dist-es/commands/DeleteAccountLinkInvitationCommand.js +3 -9
  22. package/dist-es/commands/DeleteClientBrandingCommand.js +3 -9
  23. package/dist-es/commands/DeleteConnectClientAddInCommand.js +3 -9
  24. package/dist-es/commands/DeleteConnectionAliasCommand.js +3 -9
  25. package/dist-es/commands/DeleteIpGroupCommand.js +3 -9
  26. package/dist-es/commands/DeleteTagsCommand.js +3 -9
  27. package/dist-es/commands/DeleteWorkspaceBundleCommand.js +3 -9
  28. package/dist-es/commands/DeleteWorkspaceImageCommand.js +3 -9
  29. package/dist-es/commands/DeployWorkspaceApplicationsCommand.js +3 -9
  30. package/dist-es/commands/DeregisterWorkspaceDirectoryCommand.js +3 -9
  31. package/dist-es/commands/DescribeAccountCommand.js +3 -9
  32. package/dist-es/commands/DescribeAccountModificationsCommand.js +3 -9
  33. package/dist-es/commands/DescribeApplicationAssociationsCommand.js +3 -9
  34. package/dist-es/commands/DescribeApplicationsCommand.js +3 -9
  35. package/dist-es/commands/DescribeBundleAssociationsCommand.js +3 -9
  36. package/dist-es/commands/DescribeClientBrandingCommand.js +3 -9
  37. package/dist-es/commands/DescribeClientPropertiesCommand.js +3 -9
  38. package/dist-es/commands/DescribeConnectClientAddInsCommand.js +3 -9
  39. package/dist-es/commands/DescribeConnectionAliasPermissionsCommand.js +3 -9
  40. package/dist-es/commands/DescribeConnectionAliasesCommand.js +3 -9
  41. package/dist-es/commands/DescribeCustomWorkspaceImageImportCommand.js +3 -9
  42. package/dist-es/commands/DescribeImageAssociationsCommand.js +3 -9
  43. package/dist-es/commands/DescribeIpGroupsCommand.js +3 -9
  44. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  45. package/dist-es/commands/DescribeWorkspaceAssociationsCommand.js +3 -9
  46. package/dist-es/commands/DescribeWorkspaceBundlesCommand.js +3 -9
  47. package/dist-es/commands/DescribeWorkspaceDirectoriesCommand.js +3 -9
  48. package/dist-es/commands/DescribeWorkspaceImagePermissionsCommand.js +3 -9
  49. package/dist-es/commands/DescribeWorkspaceImagesCommand.js +3 -9
  50. package/dist-es/commands/DescribeWorkspaceSnapshotsCommand.js +3 -9
  51. package/dist-es/commands/DescribeWorkspacesCommand.js +3 -9
  52. package/dist-es/commands/DescribeWorkspacesConnectionStatusCommand.js +3 -9
  53. package/dist-es/commands/DescribeWorkspacesPoolSessionsCommand.js +3 -9
  54. package/dist-es/commands/DescribeWorkspacesPoolsCommand.js +3 -9
  55. package/dist-es/commands/DisassociateConnectionAliasCommand.js +3 -9
  56. package/dist-es/commands/DisassociateIpGroupsCommand.js +3 -9
  57. package/dist-es/commands/DisassociateWorkspaceApplicationCommand.js +3 -9
  58. package/dist-es/commands/GetAccountLinkCommand.js +3 -9
  59. package/dist-es/commands/ImportClientBrandingCommand.js +3 -9
  60. package/dist-es/commands/ImportCustomWorkspaceImageCommand.js +3 -9
  61. package/dist-es/commands/ImportWorkspaceImageCommand.js +3 -9
  62. package/dist-es/commands/ListAccountLinksCommand.js +3 -9
  63. package/dist-es/commands/ListAvailableManagementCidrRangesCommand.js +3 -9
  64. package/dist-es/commands/MigrateWorkspaceCommand.js +3 -9
  65. package/dist-es/commands/ModifyAccountCommand.js +3 -9
  66. package/dist-es/commands/ModifyCertificateBasedAuthPropertiesCommand.js +3 -9
  67. package/dist-es/commands/ModifyClientPropertiesCommand.js +3 -9
  68. package/dist-es/commands/ModifyEndpointEncryptionModeCommand.js +3 -9
  69. package/dist-es/commands/ModifySamlPropertiesCommand.js +3 -9
  70. package/dist-es/commands/ModifySelfservicePermissionsCommand.js +3 -9
  71. package/dist-es/commands/ModifyStreamingPropertiesCommand.js +3 -9
  72. package/dist-es/commands/ModifyWorkspaceAccessPropertiesCommand.js +3 -9
  73. package/dist-es/commands/ModifyWorkspaceCreationPropertiesCommand.js +3 -9
  74. package/dist-es/commands/ModifyWorkspacePropertiesCommand.js +3 -9
  75. package/dist-es/commands/ModifyWorkspaceStateCommand.js +3 -9
  76. package/dist-es/commands/RebootWorkspacesCommand.js +3 -9
  77. package/dist-es/commands/RebuildWorkspacesCommand.js +3 -9
  78. package/dist-es/commands/RegisterWorkspaceDirectoryCommand.js +3 -9
  79. package/dist-es/commands/RejectAccountLinkInvitationCommand.js +3 -9
  80. package/dist-es/commands/RestoreWorkspaceCommand.js +3 -9
  81. package/dist-es/commands/RevokeIpRulesCommand.js +3 -9
  82. package/dist-es/commands/StartWorkspacesCommand.js +3 -9
  83. package/dist-es/commands/StartWorkspacesPoolCommand.js +3 -9
  84. package/dist-es/commands/StopWorkspacesCommand.js +3 -9
  85. package/dist-es/commands/StopWorkspacesPoolCommand.js +3 -9
  86. package/dist-es/commands/TerminateWorkspacesCommand.js +3 -9
  87. package/dist-es/commands/TerminateWorkspacesPoolCommand.js +3 -9
  88. package/dist-es/commands/TerminateWorkspacesPoolSessionCommand.js +3 -9
  89. package/dist-es/commands/UpdateConnectClientAddInCommand.js +3 -9
  90. package/dist-es/commands/UpdateConnectionAliasPermissionCommand.js +3 -9
  91. package/dist-es/commands/UpdateRulesOfIpGroupCommand.js +3 -9
  92. package/dist-es/commands/UpdateWorkspaceBundleCommand.js +3 -9
  93. package/dist-es/commands/UpdateWorkspaceImagePermissionCommand.js +3 -9
  94. package/dist-es/commands/UpdateWorkspacesPoolCommand.js +3 -9
  95. package/dist-es/runtimeConfig.shared.js +7 -0
  96. package/dist-es/schemas/schemas_0.js +2878 -0
  97. package/dist-types/WorkSpacesClient.d.ts +10 -1
  98. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  99. package/dist-types/runtimeConfig.d.ts +1 -0
  100. package/dist-types/runtimeConfig.native.d.ts +1 -0
  101. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  102. package/dist-types/schemas/schemas_0.d.ts +461 -0
  103. package/dist-types/ts3.4/WorkSpacesClient.d.ts +4 -0
  104. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  105. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  106. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  107. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  108. package/dist-types/ts3.4/schemas/schemas_0.d.ts +466 -0
  109. package/package.json +5 -5
  110. package/dist-es/protocols/Aws_json1_1.js +0 -2521
  111. package/dist-types/protocols/Aws_json1_1.d.ts +0 -821
  112. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -1097
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ModifyWorkspaceAccessPropertiesCommand, se_ModifyWorkspaceAccessPropertiesCommand, } from "../protocols/Aws_json1_1";
4
+ import { ModifyWorkspaceAccessProperties } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ModifyWorkspaceAccessPropertiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "ModifyWorkspaceAccessProperties", {})
17
13
  .n("WorkSpacesClient", "ModifyWorkspaceAccessPropertiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ModifyWorkspaceAccessPropertiesCommand)
20
- .de(de_ModifyWorkspaceAccessPropertiesCommand)
14
+ .sc(ModifyWorkspaceAccessProperties)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ModifyWorkspaceCreationPropertiesCommand, se_ModifyWorkspaceCreationPropertiesCommand, } from "../protocols/Aws_json1_1";
4
+ import { ModifyWorkspaceCreationProperties } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ModifyWorkspaceCreationPropertiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "ModifyWorkspaceCreationProperties", {})
17
13
  .n("WorkSpacesClient", "ModifyWorkspaceCreationPropertiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ModifyWorkspaceCreationPropertiesCommand)
20
- .de(de_ModifyWorkspaceCreationPropertiesCommand)
14
+ .sc(ModifyWorkspaceCreationProperties)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ModifyWorkspacePropertiesCommand, se_ModifyWorkspacePropertiesCommand } from "../protocols/Aws_json1_1";
4
+ import { ModifyWorkspaceProperties } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ModifyWorkspacePropertiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "ModifyWorkspaceProperties", {})
17
13
  .n("WorkSpacesClient", "ModifyWorkspacePropertiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ModifyWorkspacePropertiesCommand)
20
- .de(de_ModifyWorkspacePropertiesCommand)
14
+ .sc(ModifyWorkspaceProperties)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ModifyWorkspaceStateCommand, se_ModifyWorkspaceStateCommand } from "../protocols/Aws_json1_1";
4
+ import { ModifyWorkspaceState } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ModifyWorkspaceStateCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "ModifyWorkspaceState", {})
17
13
  .n("WorkSpacesClient", "ModifyWorkspaceStateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ModifyWorkspaceStateCommand)
20
- .de(de_ModifyWorkspaceStateCommand)
14
+ .sc(ModifyWorkspaceState)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RebootWorkspacesCommand, se_RebootWorkspacesCommand } from "../protocols/Aws_json1_1";
4
+ import { RebootWorkspaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RebootWorkspacesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "RebootWorkspaces", {})
17
13
  .n("WorkSpacesClient", "RebootWorkspacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RebootWorkspacesCommand)
20
- .de(de_RebootWorkspacesCommand)
14
+ .sc(RebootWorkspaces)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RebuildWorkspacesCommand, se_RebuildWorkspacesCommand } from "../protocols/Aws_json1_1";
4
+ import { RebuildWorkspaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RebuildWorkspacesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "RebuildWorkspaces", {})
17
13
  .n("WorkSpacesClient", "RebuildWorkspacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RebuildWorkspacesCommand)
20
- .de(de_RebuildWorkspacesCommand)
14
+ .sc(RebuildWorkspaces)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RegisterWorkspaceDirectoryCommand, se_RegisterWorkspaceDirectoryCommand } from "../protocols/Aws_json1_1";
4
+ import { RegisterWorkspaceDirectory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterWorkspaceDirectoryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "RegisterWorkspaceDirectory", {})
17
13
  .n("WorkSpacesClient", "RegisterWorkspaceDirectoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterWorkspaceDirectoryCommand)
20
- .de(de_RegisterWorkspaceDirectoryCommand)
14
+ .sc(RegisterWorkspaceDirectory)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RejectAccountLinkInvitationCommand, se_RejectAccountLinkInvitationCommand } from "../protocols/Aws_json1_1";
4
+ import { RejectAccountLinkInvitation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RejectAccountLinkInvitationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "RejectAccountLinkInvitation", {})
17
13
  .n("WorkSpacesClient", "RejectAccountLinkInvitationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RejectAccountLinkInvitationCommand)
20
- .de(de_RejectAccountLinkInvitationCommand)
14
+ .sc(RejectAccountLinkInvitation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RestoreWorkspaceCommand, se_RestoreWorkspaceCommand } from "../protocols/Aws_json1_1";
4
+ import { RestoreWorkspace } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreWorkspaceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "RestoreWorkspace", {})
17
13
  .n("WorkSpacesClient", "RestoreWorkspaceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreWorkspaceCommand)
20
- .de(de_RestoreWorkspaceCommand)
14
+ .sc(RestoreWorkspace)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RevokeIpRulesCommand, se_RevokeIpRulesCommand } from "../protocols/Aws_json1_1";
4
+ import { RevokeIpRules } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RevokeIpRulesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "RevokeIpRules", {})
17
13
  .n("WorkSpacesClient", "RevokeIpRulesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RevokeIpRulesCommand)
20
- .de(de_RevokeIpRulesCommand)
14
+ .sc(RevokeIpRules)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartWorkspacesCommand, se_StartWorkspacesCommand } from "../protocols/Aws_json1_1";
4
+ import { StartWorkspaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartWorkspacesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "StartWorkspaces", {})
17
13
  .n("WorkSpacesClient", "StartWorkspacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartWorkspacesCommand)
20
- .de(de_StartWorkspacesCommand)
14
+ .sc(StartWorkspaces)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartWorkspacesPoolCommand, se_StartWorkspacesPoolCommand } from "../protocols/Aws_json1_1";
4
+ import { StartWorkspacesPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartWorkspacesPoolCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "StartWorkspacesPool", {})
17
13
  .n("WorkSpacesClient", "StartWorkspacesPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartWorkspacesPoolCommand)
20
- .de(de_StartWorkspacesPoolCommand)
14
+ .sc(StartWorkspacesPool)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopWorkspacesCommand, se_StopWorkspacesCommand } from "../protocols/Aws_json1_1";
4
+ import { StopWorkspaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopWorkspacesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "StopWorkspaces", {})
17
13
  .n("WorkSpacesClient", "StopWorkspacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopWorkspacesCommand)
20
- .de(de_StopWorkspacesCommand)
14
+ .sc(StopWorkspaces)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopWorkspacesPoolCommand, se_StopWorkspacesPoolCommand } from "../protocols/Aws_json1_1";
4
+ import { StopWorkspacesPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopWorkspacesPoolCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "StopWorkspacesPool", {})
17
13
  .n("WorkSpacesClient", "StopWorkspacesPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopWorkspacesPoolCommand)
20
- .de(de_StopWorkspacesPoolCommand)
14
+ .sc(StopWorkspacesPool)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TerminateWorkspacesCommand, se_TerminateWorkspacesCommand } from "../protocols/Aws_json1_1";
4
+ import { TerminateWorkspaces } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateWorkspacesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "TerminateWorkspaces", {})
17
13
  .n("WorkSpacesClient", "TerminateWorkspacesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateWorkspacesCommand)
20
- .de(de_TerminateWorkspacesCommand)
14
+ .sc(TerminateWorkspaces)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TerminateWorkspacesPoolCommand, se_TerminateWorkspacesPoolCommand } from "../protocols/Aws_json1_1";
4
+ import { TerminateWorkspacesPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateWorkspacesPoolCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "TerminateWorkspacesPool", {})
17
13
  .n("WorkSpacesClient", "TerminateWorkspacesPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateWorkspacesPoolCommand)
20
- .de(de_TerminateWorkspacesPoolCommand)
14
+ .sc(TerminateWorkspacesPool)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TerminateWorkspacesPoolSessionCommand, se_TerminateWorkspacesPoolSessionCommand, } from "../protocols/Aws_json1_1";
4
+ import { TerminateWorkspacesPoolSession } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TerminateWorkspacesPoolSessionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "TerminateWorkspacesPoolSession", {})
17
13
  .n("WorkSpacesClient", "TerminateWorkspacesPoolSessionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TerminateWorkspacesPoolSessionCommand)
20
- .de(de_TerminateWorkspacesPoolSessionCommand)
14
+ .sc(TerminateWorkspacesPoolSession)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateConnectClientAddInCommand, se_UpdateConnectClientAddInCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateConnectClientAddIn } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateConnectClientAddInCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "UpdateConnectClientAddIn", {})
17
13
  .n("WorkSpacesClient", "UpdateConnectClientAddInCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateConnectClientAddInCommand)
20
- .de(de_UpdateConnectClientAddInCommand)
14
+ .sc(UpdateConnectClientAddIn)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateConnectionAliasPermissionCommand, se_UpdateConnectionAliasPermissionCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateConnectionAliasPermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateConnectionAliasPermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "UpdateConnectionAliasPermission", {})
17
13
  .n("WorkSpacesClient", "UpdateConnectionAliasPermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateConnectionAliasPermissionCommand)
20
- .de(de_UpdateConnectionAliasPermissionCommand)
14
+ .sc(UpdateConnectionAliasPermission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateRulesOfIpGroupCommand, se_UpdateRulesOfIpGroupCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateRulesOfIpGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateRulesOfIpGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "UpdateRulesOfIpGroup", {})
17
13
  .n("WorkSpacesClient", "UpdateRulesOfIpGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateRulesOfIpGroupCommand)
20
- .de(de_UpdateRulesOfIpGroupCommand)
14
+ .sc(UpdateRulesOfIpGroup)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateWorkspaceBundleCommand, se_UpdateWorkspaceBundleCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateWorkspaceBundle } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateWorkspaceBundleCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "UpdateWorkspaceBundle", {})
17
13
  .n("WorkSpacesClient", "UpdateWorkspaceBundleCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateWorkspaceBundleCommand)
20
- .de(de_UpdateWorkspaceBundleCommand)
14
+ .sc(UpdateWorkspaceBundle)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateWorkspaceImagePermissionCommand, se_UpdateWorkspaceImagePermissionCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateWorkspaceImagePermission } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateWorkspaceImagePermissionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "UpdateWorkspaceImagePermission", {})
17
13
  .n("WorkSpacesClient", "UpdateWorkspaceImagePermissionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateWorkspaceImagePermissionCommand)
20
- .de(de_UpdateWorkspaceImagePermissionCommand)
14
+ .sc(UpdateWorkspaceImagePermission)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateWorkspacesPoolCommand, se_UpdateWorkspacesPoolCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateWorkspacesPool } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateWorkspacesPoolCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("WorkspacesService", "UpdateWorkspacesPool", {})
17
13
  .n("WorkSpacesClient", "UpdateWorkspacesPoolCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateWorkspacesPoolCommand)
20
- .de(de_UpdateWorkspacesPoolCommand)
14
+ .sc(UpdateWorkspacesPool)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.workspaces",
29
+ serviceTarget: "WorkspacesService",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "WorkSpaces",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,