@aws-sdk/client-workspaces-instances 3.835.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 (151) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +309 -0
  3. package/dist-cjs/WorkspacesInstances.js +37 -0
  4. package/dist-cjs/WorkspacesInstancesClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssociateVolumeCommand.js +26 -0
  8. package/dist-cjs/commands/CreateVolumeCommand.js +27 -0
  9. package/dist-cjs/commands/CreateWorkspaceInstanceCommand.js +27 -0
  10. package/dist-cjs/commands/DeleteVolumeCommand.js +26 -0
  11. package/dist-cjs/commands/DeleteWorkspaceInstanceCommand.js +26 -0
  12. package/dist-cjs/commands/DisassociateVolumeCommand.js +26 -0
  13. package/dist-cjs/commands/GetWorkspaceInstanceCommand.js +26 -0
  14. package/dist-cjs/commands/ListInstanceTypesCommand.js +27 -0
  15. package/dist-cjs/commands/ListRegionsCommand.js +27 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  17. package/dist-cjs/commands/ListWorkspaceInstancesCommand.js +27 -0
  18. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  19. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  20. package/dist-cjs/commands/index.js +16 -0
  21. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  22. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  23. package/dist-cjs/endpoint/ruleset.js +7 -0
  24. package/dist-cjs/extensionConfiguration.js +2 -0
  25. package/dist-cjs/index.js +11 -0
  26. package/dist-cjs/models/WorkspacesInstancesServiceException.js +12 -0
  27. package/dist-cjs/models/index.js +4 -0
  28. package/dist-cjs/models/models_0.js +329 -0
  29. package/dist-cjs/pagination/Interfaces.js +2 -0
  30. package/dist-cjs/pagination/ListInstanceTypesPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListRegionsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListWorkspaceInstancesPaginator.js +7 -0
  33. package/dist-cjs/pagination/index.js +7 -0
  34. package/dist-cjs/protocols/Aws_json1_0.js +486 -0
  35. package/dist-cjs/runtimeConfig.browser.js +39 -0
  36. package/dist-cjs/runtimeConfig.js +56 -0
  37. package/dist-cjs/runtimeConfig.native.js +15 -0
  38. package/dist-cjs/runtimeConfig.shared.js +34 -0
  39. package/dist-cjs/runtimeExtensions.js +13 -0
  40. package/dist-es/WorkspacesInstances.js +33 -0
  41. package/dist-es/WorkspacesInstancesClient.js +48 -0
  42. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  43. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  44. package/dist-es/commands/AssociateVolumeCommand.js +22 -0
  45. package/dist-es/commands/CreateVolumeCommand.js +23 -0
  46. package/dist-es/commands/CreateWorkspaceInstanceCommand.js +23 -0
  47. package/dist-es/commands/DeleteVolumeCommand.js +22 -0
  48. package/dist-es/commands/DeleteWorkspaceInstanceCommand.js +22 -0
  49. package/dist-es/commands/DisassociateVolumeCommand.js +22 -0
  50. package/dist-es/commands/GetWorkspaceInstanceCommand.js +22 -0
  51. package/dist-es/commands/ListInstanceTypesCommand.js +23 -0
  52. package/dist-es/commands/ListRegionsCommand.js +23 -0
  53. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  54. package/dist-es/commands/ListWorkspaceInstancesCommand.js +23 -0
  55. package/dist-es/commands/TagResourceCommand.js +22 -0
  56. package/dist-es/commands/UntagResourceCommand.js +22 -0
  57. package/dist-es/commands/index.js +13 -0
  58. package/dist-es/endpoint/EndpointParameters.js +11 -0
  59. package/dist-es/endpoint/endpointResolver.js +14 -0
  60. package/dist-es/endpoint/ruleset.js +4 -0
  61. package/dist-es/extensionConfiguration.js +1 -0
  62. package/dist-es/index.js +6 -0
  63. package/dist-es/models/WorkspacesInstancesServiceException.js +8 -0
  64. package/dist-es/models/index.js +1 -0
  65. package/dist-es/models/models_0.js +305 -0
  66. package/dist-es/pagination/Interfaces.js +1 -0
  67. package/dist-es/pagination/ListInstanceTypesPaginator.js +4 -0
  68. package/dist-es/pagination/ListRegionsPaginator.js +4 -0
  69. package/dist-es/pagination/ListWorkspaceInstancesPaginator.js +4 -0
  70. package/dist-es/pagination/index.js +4 -0
  71. package/dist-es/protocols/Aws_json1_0.js +457 -0
  72. package/dist-es/runtimeConfig.browser.js +34 -0
  73. package/dist-es/runtimeConfig.js +51 -0
  74. package/dist-es/runtimeConfig.native.js +11 -0
  75. package/dist-es/runtimeConfig.shared.js +30 -0
  76. package/dist-es/runtimeExtensions.js +9 -0
  77. package/dist-types/WorkspacesInstances.d.ts +104 -0
  78. package/dist-types/WorkspacesInstancesClient.d.ts +200 -0
  79. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  80. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  81. package/dist-types/commands/AssociateVolumeCommand.d.ts +90 -0
  82. package/dist-types/commands/CreateVolumeCommand.d.ts +109 -0
  83. package/dist-types/commands/CreateWorkspaceInstanceCommand.d.ts +273 -0
  84. package/dist-types/commands/DeleteVolumeCommand.d.ts +88 -0
  85. package/dist-types/commands/DeleteWorkspaceInstanceCommand.d.ts +88 -0
  86. package/dist-types/commands/DisassociateVolumeCommand.d.ts +91 -0
  87. package/dist-types/commands/GetWorkspaceInstanceCommand.d.ts +104 -0
  88. package/dist-types/commands/ListInstanceTypesCommand.d.ts +90 -0
  89. package/dist-types/commands/ListRegionsCommand.d.ts +90 -0
  90. package/dist-types/commands/ListTagsForResourceCommand.d.ts +92 -0
  91. package/dist-types/commands/ListWorkspaceInstancesCommand.d.ts +97 -0
  92. package/dist-types/commands/TagResourceCommand.d.ts +91 -0
  93. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  94. package/dist-types/commands/index.d.ts +13 -0
  95. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  96. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  97. package/dist-types/endpoint/ruleset.d.ts +2 -0
  98. package/dist-types/extensionConfiguration.d.ts +9 -0
  99. package/dist-types/index.d.ts +14 -0
  100. package/dist-types/models/WorkspacesInstancesServiceException.d.ts +14 -0
  101. package/dist-types/models/index.d.ts +1 -0
  102. package/dist-types/models/models_0.d.ts +1787 -0
  103. package/dist-types/pagination/Interfaces.d.ts +8 -0
  104. package/dist-types/pagination/ListInstanceTypesPaginator.d.ts +7 -0
  105. package/dist-types/pagination/ListRegionsPaginator.d.ts +7 -0
  106. package/dist-types/pagination/ListWorkspaceInstancesPaginator.d.ts +7 -0
  107. package/dist-types/pagination/index.d.ts +4 -0
  108. package/dist-types/protocols/Aws_json1_0.d.ts +119 -0
  109. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  110. package/dist-types/runtimeConfig.d.ts +50 -0
  111. package/dist-types/runtimeConfig.native.d.ts +49 -0
  112. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  113. package/dist-types/runtimeExtensions.d.ts +17 -0
  114. package/dist-types/ts3.4/WorkspacesInstances.d.ts +231 -0
  115. package/dist-types/ts3.4/WorkspacesInstancesClient.d.ts +200 -0
  116. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  117. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  118. package/dist-types/ts3.4/commands/AssociateVolumeCommand.d.ts +50 -0
  119. package/dist-types/ts3.4/commands/CreateVolumeCommand.d.ts +47 -0
  120. package/dist-types/ts3.4/commands/CreateWorkspaceInstanceCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/DeleteVolumeCommand.d.ts +47 -0
  122. package/dist-types/ts3.4/commands/DeleteWorkspaceInstanceCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/DisassociateVolumeCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/GetWorkspaceInstanceCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/ListInstanceTypesCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/ListRegionsCommand.d.ts +47 -0
  127. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  128. package/dist-types/ts3.4/commands/ListWorkspaceInstancesCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  130. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  132. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  133. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  134. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  135. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  136. package/dist-types/ts3.4/index.d.ts +9 -0
  137. package/dist-types/ts3.4/models/WorkspacesInstancesServiceException.d.ts +9 -0
  138. package/dist-types/ts3.4/models/index.d.ts +1 -0
  139. package/dist-types/ts3.4/models/models_0.d.ts +558 -0
  140. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  141. package/dist-types/ts3.4/pagination/ListInstanceTypesPaginator.d.ts +11 -0
  142. package/dist-types/ts3.4/pagination/ListRegionsPaginator.d.ts +11 -0
  143. package/dist-types/ts3.4/pagination/ListWorkspaceInstancesPaginator.d.ts +11 -0
  144. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  145. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +161 -0
  146. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  147. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  148. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  149. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  150. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  151. package/package.json +101 -0
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveHttpAuthSchemeConfig = exports.defaultWorkspacesInstancesHttpAuthSchemeProvider = exports.defaultWorkspacesInstancesHttpAuthSchemeParametersProvider = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const util_middleware_1 = require("@smithy/util-middleware");
6
+ const defaultWorkspacesInstancesHttpAuthSchemeParametersProvider = async (config, context, input) => {
7
+ return {
8
+ operation: (0, util_middleware_1.getSmithyContext)(context).operation,
9
+ region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) ||
10
+ (() => {
11
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
12
+ })(),
13
+ };
14
+ };
15
+ exports.defaultWorkspacesInstancesHttpAuthSchemeParametersProvider = defaultWorkspacesInstancesHttpAuthSchemeParametersProvider;
16
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
17
+ return {
18
+ schemeId: "aws.auth#sigv4",
19
+ signingProperties: {
20
+ name: "workspaces-instances",
21
+ region: authParameters.region,
22
+ },
23
+ propertiesExtractor: (config, context) => ({
24
+ signingProperties: {
25
+ config,
26
+ context,
27
+ },
28
+ }),
29
+ };
30
+ }
31
+ const defaultWorkspacesInstancesHttpAuthSchemeProvider = (authParameters) => {
32
+ const options = [];
33
+ switch (authParameters.operation) {
34
+ default: {
35
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
36
+ }
37
+ }
38
+ return options;
39
+ };
40
+ exports.defaultWorkspacesInstancesHttpAuthSchemeProvider = defaultWorkspacesInstancesHttpAuthSchemeProvider;
41
+ const resolveHttpAuthSchemeConfig = (config) => {
42
+ const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
+ return Object.assign(config_0, {
44
+ authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
45
+ });
46
+ };
47
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssociateVolumeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class AssociateVolumeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "AssociateVolume", {})
20
+ .n("WorkspacesInstancesClient", "AssociateVolumeCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_AssociateVolumeCommand)
23
+ .de(Aws_json1_0_1.de_AssociateVolumeCommand)
24
+ .build() {
25
+ }
26
+ exports.AssociateVolumeCommand = AssociateVolumeCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateVolumeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
+ class CreateVolumeCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("EUCMIFrontendAPIService", "CreateVolume", {})
21
+ .n("WorkspacesInstancesClient", "CreateVolumeCommand")
22
+ .f(models_0_1.CreateVolumeRequestFilterSensitiveLog, void 0)
23
+ .ser(Aws_json1_0_1.se_CreateVolumeCommand)
24
+ .de(Aws_json1_0_1.de_CreateVolumeCommand)
25
+ .build() {
26
+ }
27
+ exports.CreateVolumeCommand = CreateVolumeCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateWorkspaceInstanceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
+ class CreateWorkspaceInstanceCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("EUCMIFrontendAPIService", "CreateWorkspaceInstance", {})
21
+ .n("WorkspacesInstancesClient", "CreateWorkspaceInstanceCommand")
22
+ .f(models_0_1.CreateWorkspaceInstanceRequestFilterSensitiveLog, void 0)
23
+ .ser(Aws_json1_0_1.se_CreateWorkspaceInstanceCommand)
24
+ .de(Aws_json1_0_1.de_CreateWorkspaceInstanceCommand)
25
+ .build() {
26
+ }
27
+ exports.CreateWorkspaceInstanceCommand = CreateWorkspaceInstanceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteVolumeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class DeleteVolumeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "DeleteVolume", {})
20
+ .n("WorkspacesInstancesClient", "DeleteVolumeCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DeleteVolumeCommand)
23
+ .de(Aws_json1_0_1.de_DeleteVolumeCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteVolumeCommand = DeleteVolumeCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteWorkspaceInstanceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class DeleteWorkspaceInstanceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "DeleteWorkspaceInstance", {})
20
+ .n("WorkspacesInstancesClient", "DeleteWorkspaceInstanceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DeleteWorkspaceInstanceCommand)
23
+ .de(Aws_json1_0_1.de_DeleteWorkspaceInstanceCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteWorkspaceInstanceCommand = DeleteWorkspaceInstanceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisassociateVolumeCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class DisassociateVolumeCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "DisassociateVolume", {})
20
+ .n("WorkspacesInstancesClient", "DisassociateVolumeCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DisassociateVolumeCommand)
23
+ .de(Aws_json1_0_1.de_DisassociateVolumeCommand)
24
+ .build() {
25
+ }
26
+ exports.DisassociateVolumeCommand = DisassociateVolumeCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetWorkspaceInstanceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class GetWorkspaceInstanceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "GetWorkspaceInstance", {})
20
+ .n("WorkspacesInstancesClient", "GetWorkspaceInstanceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_GetWorkspaceInstanceCommand)
23
+ .de(Aws_json1_0_1.de_GetWorkspaceInstanceCommand)
24
+ .build() {
25
+ }
26
+ exports.GetWorkspaceInstanceCommand = GetWorkspaceInstanceCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListInstanceTypesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
+ class ListInstanceTypesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("EUCMIFrontendAPIService", "ListInstanceTypes", {})
21
+ .n("WorkspacesInstancesClient", "ListInstanceTypesCommand")
22
+ .f(models_0_1.ListInstanceTypesRequestFilterSensitiveLog, models_0_1.ListInstanceTypesResponseFilterSensitiveLog)
23
+ .ser(Aws_json1_0_1.se_ListInstanceTypesCommand)
24
+ .de(Aws_json1_0_1.de_ListInstanceTypesCommand)
25
+ .build() {
26
+ }
27
+ exports.ListInstanceTypesCommand = ListInstanceTypesCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListRegionsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
+ class ListRegionsCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("EUCMIFrontendAPIService", "ListRegions", {})
21
+ .n("WorkspacesInstancesClient", "ListRegionsCommand")
22
+ .f(models_0_1.ListRegionsRequestFilterSensitiveLog, models_0_1.ListRegionsResponseFilterSensitiveLog)
23
+ .ser(Aws_json1_0_1.se_ListRegionsCommand)
24
+ .de(Aws_json1_0_1.de_ListRegionsCommand)
25
+ .build() {
26
+ }
27
+ exports.ListRegionsCommand = ListRegionsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListTagsForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "ListTagsForResource", {})
20
+ .n("WorkspacesInstancesClient", "ListTagsForResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListTagsForResourceCommand)
23
+ .de(Aws_json1_0_1.de_ListTagsForResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkspaceInstancesCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
+ class ListWorkspaceInstancesCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("EUCMIFrontendAPIService", "ListWorkspaceInstances", {})
21
+ .n("WorkspacesInstancesClient", "ListWorkspaceInstancesCommand")
22
+ .f(models_0_1.ListWorkspaceInstancesRequestFilterSensitiveLog, models_0_1.ListWorkspaceInstancesResponseFilterSensitiveLog)
23
+ .ser(Aws_json1_0_1.se_ListWorkspaceInstancesCommand)
24
+ .de(Aws_json1_0_1.de_ListWorkspaceInstancesCommand)
25
+ .build() {
26
+ }
27
+ exports.ListWorkspaceInstancesCommand = ListWorkspaceInstancesCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class TagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "TagResource", {})
20
+ .n("WorkspacesInstancesClient", "TagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_TagResourceCommand)
23
+ .de(Aws_json1_0_1.de_TagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class UntagResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("EUCMIFrontendAPIService", "UntagResource", {})
20
+ .n("WorkspacesInstancesClient", "UntagResourceCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_UntagResourceCommand)
23
+ .de(Aws_json1_0_1.de_UntagResourceCommand)
24
+ .build() {
25
+ }
26
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AssociateVolumeCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateVolumeCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateWorkspaceInstanceCommand"), exports);
7
+ tslib_1.__exportStar(require("./DeleteVolumeCommand"), exports);
8
+ tslib_1.__exportStar(require("./DeleteWorkspaceInstanceCommand"), exports);
9
+ tslib_1.__exportStar(require("./DisassociateVolumeCommand"), exports);
10
+ tslib_1.__exportStar(require("./GetWorkspaceInstanceCommand"), exports);
11
+ tslib_1.__exportStar(require("./ListInstanceTypesCommand"), exports);
12
+ tslib_1.__exportStar(require("./ListRegionsCommand"), exports);
13
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
14
+ tslib_1.__exportStar(require("./ListWorkspaceInstancesCommand"), exports);
15
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
16
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return Object.assign(options, {
6
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
7
+ defaultSigningName: "workspaces-instances",
8
+ });
9
+ };
10
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
11
+ exports.commonParams = {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
6
+ const ruleset_1 = require("./ruleset");
7
+ const cache = new util_endpoints_2.EndpointCache({
8
+ size: 50,
9
+ params: ["Endpoint", "Region", "UseFIPS"],
10
+ });
11
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
12
+ return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
13
+ endpointParams: endpointParams,
14
+ logger: context.logger,
15
+ }));
16
+ };
17
+ exports.defaultEndpointResolver = defaultEndpointResolver;
18
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const l = "ref";
5
+ const a = true, b = false, c = "isSet", d = "error", e = "endpoint", f = "tree", g = { "required": false, "type": "String" }, h = { [l]: "Endpoint" }, i = {}, j = [{ "fn": "booleanEquals", "argv": [{ [l]: "UseFIPS" }, true] }], k = [{ [l]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { UseFIPS: { required: a, default: b, type: "Boolean" }, Endpoint: g, Region: g }, rules: [{ conditions: [{ fn: c, argv: [h] }], rules: [{ conditions: j, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { endpoint: { url: h, properties: i, headers: i }, type: e }], type: f }, { rules: [{ conditions: [{ fn: c, argv: k }], rules: [{ conditions: [{ fn: "aws.partition", argv: k, assign: "PartitionResult" }], rules: [{ conditions: j, endpoint: { url: "https://workspaces-instances-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }, { endpoint: { url: "https://workspaces-instances.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: i, headers: i }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkspacesInstancesServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./WorkspacesInstancesClient"), exports);
6
+ tslib_1.__exportStar(require("./WorkspacesInstances"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var WorkspacesInstancesServiceException_1 = require("./models/WorkspacesInstancesServiceException");
11
+ Object.defineProperty(exports, "WorkspacesInstancesServiceException", { enumerable: true, get: function () { return WorkspacesInstancesServiceException_1.WorkspacesInstancesServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WorkspacesInstancesServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class WorkspacesInstancesServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, WorkspacesInstancesServiceException.prototype);
10
+ }
11
+ }
12
+ exports.WorkspacesInstancesServiceException = WorkspacesInstancesServiceException;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./models_0"), exports);