@aws-sdk/client-evs 3.824.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 (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +293 -0
  3. package/dist-cjs/Evs.js +33 -0
  4. package/dist-cjs/EvsClient.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/CreateEnvironmentCommand.js +26 -0
  8. package/dist-cjs/commands/CreateEnvironmentHostCommand.js +26 -0
  9. package/dist-cjs/commands/DeleteEnvironmentCommand.js +26 -0
  10. package/dist-cjs/commands/DeleteEnvironmentHostCommand.js +26 -0
  11. package/dist-cjs/commands/GetEnvironmentCommand.js +26 -0
  12. package/dist-cjs/commands/ListEnvironmentHostsCommand.js +26 -0
  13. package/dist-cjs/commands/ListEnvironmentVlansCommand.js +26 -0
  14. package/dist-cjs/commands/ListEnvironmentsCommand.js +26 -0
  15. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  16. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  17. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  18. package/dist-cjs/commands/index.js +14 -0
  19. package/dist-cjs/endpoint/EndpointParameters.js +17 -0
  20. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  21. package/dist-cjs/endpoint/ruleset.js +7 -0
  22. package/dist-cjs/extensionConfiguration.js +2 -0
  23. package/dist-cjs/index.js +11 -0
  24. package/dist-cjs/models/EvsServiceException.js +12 -0
  25. package/dist-cjs/models/index.js +4 -0
  26. package/dist-cjs/models/models_0.js +126 -0
  27. package/dist-cjs/pagination/Interfaces.js +2 -0
  28. package/dist-cjs/pagination/ListEnvironmentHostsPaginator.js +7 -0
  29. package/dist-cjs/pagination/ListEnvironmentVlansPaginator.js +7 -0
  30. package/dist-cjs/pagination/ListEnvironmentsPaginator.js +7 -0
  31. package/dist-cjs/pagination/index.js +7 -0
  32. package/dist-cjs/protocols/Aws_json1_0.js +536 -0
  33. package/dist-cjs/runtimeConfig.browser.js +39 -0
  34. package/dist-cjs/runtimeConfig.js +56 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +34 -0
  37. package/dist-cjs/runtimeExtensions.js +13 -0
  38. package/dist-es/Evs.js +29 -0
  39. package/dist-es/EvsClient.js +48 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/CreateEnvironmentCommand.js +22 -0
  43. package/dist-es/commands/CreateEnvironmentHostCommand.js +22 -0
  44. package/dist-es/commands/DeleteEnvironmentCommand.js +22 -0
  45. package/dist-es/commands/DeleteEnvironmentHostCommand.js +22 -0
  46. package/dist-es/commands/GetEnvironmentCommand.js +22 -0
  47. package/dist-es/commands/ListEnvironmentHostsCommand.js +22 -0
  48. package/dist-es/commands/ListEnvironmentVlansCommand.js +22 -0
  49. package/dist-es/commands/ListEnvironmentsCommand.js +22 -0
  50. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  51. package/dist-es/commands/TagResourceCommand.js +22 -0
  52. package/dist-es/commands/UntagResourceCommand.js +22 -0
  53. package/dist-es/commands/index.js +11 -0
  54. package/dist-es/endpoint/EndpointParameters.js +13 -0
  55. package/dist-es/endpoint/endpointResolver.js +14 -0
  56. package/dist-es/endpoint/ruleset.js +4 -0
  57. package/dist-es/extensionConfiguration.js +1 -0
  58. package/dist-es/index.js +6 -0
  59. package/dist-es/models/EvsServiceException.js +8 -0
  60. package/dist-es/models/index.js +1 -0
  61. package/dist-es/models/models_0.js +118 -0
  62. package/dist-es/pagination/Interfaces.js +1 -0
  63. package/dist-es/pagination/ListEnvironmentHostsPaginator.js +4 -0
  64. package/dist-es/pagination/ListEnvironmentVlansPaginator.js +4 -0
  65. package/dist-es/pagination/ListEnvironmentsPaginator.js +4 -0
  66. package/dist-es/pagination/index.js +4 -0
  67. package/dist-es/protocols/Aws_json1_0.js +511 -0
  68. package/dist-es/runtimeConfig.browser.js +34 -0
  69. package/dist-es/runtimeConfig.js +51 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +30 -0
  72. package/dist-es/runtimeExtensions.js +9 -0
  73. package/dist-types/Evs.d.ts +88 -0
  74. package/dist-types/EvsClient.d.ts +198 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  77. package/dist-types/commands/CreateEnvironmentCommand.d.ts +197 -0
  78. package/dist-types/commands/CreateEnvironmentHostCommand.d.ts +113 -0
  79. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +133 -0
  80. package/dist-types/commands/DeleteEnvironmentHostCommand.d.ts +107 -0
  81. package/dist-types/commands/GetEnvironmentCommand.d.ts +132 -0
  82. package/dist-types/commands/ListEnvironmentHostsCommand.d.ts +100 -0
  83. package/dist-types/commands/ListEnvironmentVlansCommand.d.ts +93 -0
  84. package/dist-types/commands/ListEnvironmentsCommand.d.ts +91 -0
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +77 -0
  86. package/dist-types/commands/TagResourceCommand.d.ts +82 -0
  87. package/dist-types/commands/UntagResourceCommand.d.ts +79 -0
  88. package/dist-types/commands/index.d.ts +11 -0
  89. package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
  90. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  91. package/dist-types/endpoint/ruleset.d.ts +2 -0
  92. package/dist-types/extensionConfiguration.d.ts +9 -0
  93. package/dist-types/index.d.ts +14 -0
  94. package/dist-types/models/EvsServiceException.d.ts +14 -0
  95. package/dist-types/models/index.d.ts +1 -0
  96. package/dist-types/models/models_0.d.ts +1083 -0
  97. package/dist-types/pagination/Interfaces.d.ts +8 -0
  98. package/dist-types/pagination/ListEnvironmentHostsPaginator.d.ts +7 -0
  99. package/dist-types/pagination/ListEnvironmentVlansPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +4 -0
  102. package/dist-types/protocols/Aws_json1_0.d.ts +101 -0
  103. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  104. package/dist-types/runtimeConfig.d.ts +50 -0
  105. package/dist-types/runtimeConfig.native.d.ts +49 -0
  106. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  107. package/dist-types/runtimeExtensions.d.ts +17 -0
  108. package/dist-types/ts3.4/Evs.d.ts +193 -0
  109. package/dist-types/ts3.4/EvsClient.d.ts +182 -0
  110. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  111. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +46 -0
  112. package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +51 -0
  113. package/dist-types/ts3.4/commands/CreateEnvironmentHostCommand.d.ts +51 -0
  114. package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +51 -0
  115. package/dist-types/ts3.4/commands/DeleteEnvironmentHostCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +50 -0
  117. package/dist-types/ts3.4/commands/ListEnvironmentHostsCommand.d.ts +51 -0
  118. package/dist-types/ts3.4/commands/ListEnvironmentVlansCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +50 -0
  120. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  121. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  122. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  123. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  124. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +48 -0
  125. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  126. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  127. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  128. package/dist-types/ts3.4/index.d.ts +9 -0
  129. package/dist-types/ts3.4/models/EvsServiceException.d.ts +9 -0
  130. package/dist-types/ts3.4/models/index.d.ts +1 -0
  131. package/dist-types/ts3.4/models/models_0.d.ts +306 -0
  132. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  133. package/dist-types/ts3.4/pagination/ListEnvironmentHostsPaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListEnvironmentVlansPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListEnvironmentsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  137. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +137 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +90 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +94 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  142. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  143. package/package.json +101 -0
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEnvironmentCommand = 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 CreateEnvironmentCommand 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("AmazonElasticVMwareService", "CreateEnvironment", {})
20
+ .n("EvsClient", "CreateEnvironmentCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_CreateEnvironmentCommand)
23
+ .de(Aws_json1_0_1.de_CreateEnvironmentCommand)
24
+ .build() {
25
+ }
26
+ exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEnvironmentHostCommand = 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 CreateEnvironmentHostCommand 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("AmazonElasticVMwareService", "CreateEnvironmentHost", {})
20
+ .n("EvsClient", "CreateEnvironmentHostCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_CreateEnvironmentHostCommand)
23
+ .de(Aws_json1_0_1.de_CreateEnvironmentHostCommand)
24
+ .build() {
25
+ }
26
+ exports.CreateEnvironmentHostCommand = CreateEnvironmentHostCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEnvironmentCommand = 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 DeleteEnvironmentCommand 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("AmazonElasticVMwareService", "DeleteEnvironment", {})
20
+ .n("EvsClient", "DeleteEnvironmentCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DeleteEnvironmentCommand)
23
+ .de(Aws_json1_0_1.de_DeleteEnvironmentCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEnvironmentHostCommand = 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 DeleteEnvironmentHostCommand 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("AmazonElasticVMwareService", "DeleteEnvironmentHost", {})
20
+ .n("EvsClient", "DeleteEnvironmentHostCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DeleteEnvironmentHostCommand)
23
+ .de(Aws_json1_0_1.de_DeleteEnvironmentHostCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteEnvironmentHostCommand = DeleteEnvironmentHostCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetEnvironmentCommand = 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 GetEnvironmentCommand 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("AmazonElasticVMwareService", "GetEnvironment", {})
20
+ .n("EvsClient", "GetEnvironmentCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_GetEnvironmentCommand)
23
+ .de(Aws_json1_0_1.de_GetEnvironmentCommand)
24
+ .build() {
25
+ }
26
+ exports.GetEnvironmentCommand = GetEnvironmentCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEnvironmentHostsCommand = 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 ListEnvironmentHostsCommand 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("AmazonElasticVMwareService", "ListEnvironmentHosts", {})
20
+ .n("EvsClient", "ListEnvironmentHostsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListEnvironmentHostsCommand)
23
+ .de(Aws_json1_0_1.de_ListEnvironmentHostsCommand)
24
+ .build() {
25
+ }
26
+ exports.ListEnvironmentHostsCommand = ListEnvironmentHostsCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEnvironmentVlansCommand = 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 ListEnvironmentVlansCommand 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("AmazonElasticVMwareService", "ListEnvironmentVlans", {})
20
+ .n("EvsClient", "ListEnvironmentVlansCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListEnvironmentVlansCommand)
23
+ .de(Aws_json1_0_1.de_ListEnvironmentVlansCommand)
24
+ .build() {
25
+ }
26
+ exports.ListEnvironmentVlansCommand = ListEnvironmentVlansCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEnvironmentsCommand = 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 ListEnvironmentsCommand 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("AmazonElasticVMwareService", "ListEnvironments", {})
20
+ .n("EvsClient", "ListEnvironmentsCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListEnvironmentsCommand)
23
+ .de(Aws_json1_0_1.de_ListEnvironmentsCommand)
24
+ .build() {
25
+ }
26
+ exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
@@ -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("AmazonElasticVMwareService", "ListTagsForResource", {})
20
+ .n("EvsClient", "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,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("AmazonElasticVMwareService", "TagResource", {})
20
+ .n("EvsClient", "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("AmazonElasticVMwareService", "UntagResource", {})
20
+ .n("EvsClient", "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,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateEnvironmentCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateEnvironmentHostCommand"), exports);
6
+ tslib_1.__exportStar(require("./DeleteEnvironmentCommand"), exports);
7
+ tslib_1.__exportStar(require("./DeleteEnvironmentHostCommand"), exports);
8
+ tslib_1.__exportStar(require("./GetEnvironmentCommand"), exports);
9
+ tslib_1.__exportStar(require("./ListEnvironmentHostsCommand"), exports);
10
+ tslib_1.__exportStar(require("./ListEnvironmentVlansCommand"), exports);
11
+ tslib_1.__exportStar(require("./ListEnvironmentsCommand"), exports);
12
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
13
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
14
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
@@ -0,0 +1,17 @@
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
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
7
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
8
+ defaultSigningName: "evs",
9
+ });
10
+ };
11
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
12
+ exports.commonParams = {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
@@ -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", "UseDualStack", "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 s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://evs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://evs-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://evs.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://evs.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], 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.EvsServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./EvsClient"), exports);
6
+ tslib_1.__exportStar(require("./Evs"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./models"), exports);
10
+ var EvsServiceException_1 = require("./models/EvsServiceException");
11
+ Object.defineProperty(exports, "EvsServiceException", { enumerable: true, get: function () { return EvsServiceException_1.EvsServiceException; } });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EvsServiceException = 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 EvsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, EvsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.EvsServiceException = EvsServiceException;
@@ -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);
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TooManyTagsException = exports.TagPolicyException = exports.VlanState = exports.ResourceNotFoundException = exports.ThrottlingException = exports.HostState = exports.ValidationException = exports.ValidationExceptionReason = exports.EnvironmentState = exports.CheckType = exports.CheckResult = exports.VcfVersion = exports._InstanceType = void 0;
4
+ const EvsServiceException_1 = require("./EvsServiceException");
5
+ exports._InstanceType = {
6
+ I4I_METAL: "i4i.metal",
7
+ };
8
+ exports.VcfVersion = {
9
+ VCF_5_2_1: "VCF-5.2.1",
10
+ };
11
+ exports.CheckResult = {
12
+ FAILED: "FAILED",
13
+ PASSED: "PASSED",
14
+ UNKNOWN: "UNKNOWN",
15
+ };
16
+ exports.CheckType = {
17
+ HOST_COUNT: "HOST_COUNT",
18
+ KEY_COVERAGE: "KEY_COVERAGE",
19
+ KEY_REUSE: "KEY_REUSE",
20
+ REACHABILITY: "REACHABILITY",
21
+ };
22
+ exports.EnvironmentState = {
23
+ CREATED: "CREATED",
24
+ CREATE_FAILED: "CREATE_FAILED",
25
+ CREATING: "CREATING",
26
+ DELETED: "DELETED",
27
+ DELETING: "DELETING",
28
+ };
29
+ exports.ValidationExceptionReason = {
30
+ CANNOT_PARSE: "cannotParse",
31
+ FIELD_VALIDATION_FAILED: "fieldValidationFailed",
32
+ OTHER: "other",
33
+ UNKNOWN_OPERATION: "unknownOperation",
34
+ };
35
+ class ValidationException extends EvsServiceException_1.EvsServiceException {
36
+ name = "ValidationException";
37
+ $fault = "client";
38
+ reason;
39
+ fieldList;
40
+ constructor(opts) {
41
+ super({
42
+ name: "ValidationException",
43
+ $fault: "client",
44
+ ...opts,
45
+ });
46
+ Object.setPrototypeOf(this, ValidationException.prototype);
47
+ this.reason = opts.reason;
48
+ this.fieldList = opts.fieldList;
49
+ }
50
+ }
51
+ exports.ValidationException = ValidationException;
52
+ exports.HostState = {
53
+ CREATED: "CREATED",
54
+ CREATE_FAILED: "CREATE_FAILED",
55
+ CREATING: "CREATING",
56
+ DELETED: "DELETED",
57
+ DELETING: "DELETING",
58
+ UPDATE_FAILED: "UPDATE_FAILED",
59
+ UPDATING: "UPDATING",
60
+ };
61
+ class ThrottlingException extends EvsServiceException_1.EvsServiceException {
62
+ name = "ThrottlingException";
63
+ $fault = "client";
64
+ $retryable = {};
65
+ retryAfterSeconds;
66
+ constructor(opts) {
67
+ super({
68
+ name: "ThrottlingException",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
73
+ this.retryAfterSeconds = opts.retryAfterSeconds;
74
+ }
75
+ }
76
+ exports.ThrottlingException = ThrottlingException;
77
+ class ResourceNotFoundException extends EvsServiceException_1.EvsServiceException {
78
+ name = "ResourceNotFoundException";
79
+ $fault = "client";
80
+ resourceId;
81
+ resourceType;
82
+ constructor(opts) {
83
+ super({
84
+ name: "ResourceNotFoundException",
85
+ $fault: "client",
86
+ ...opts,
87
+ });
88
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
89
+ this.resourceId = opts.resourceId;
90
+ this.resourceType = opts.resourceType;
91
+ }
92
+ }
93
+ exports.ResourceNotFoundException = ResourceNotFoundException;
94
+ exports.VlanState = {
95
+ CREATED: "CREATED",
96
+ CREATE_FAILED: "CREATE_FAILED",
97
+ CREATING: "CREATING",
98
+ DELETED: "DELETED",
99
+ DELETING: "DELETING",
100
+ };
101
+ class TagPolicyException extends EvsServiceException_1.EvsServiceException {
102
+ name = "TagPolicyException";
103
+ $fault = "client";
104
+ constructor(opts) {
105
+ super({
106
+ name: "TagPolicyException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, TagPolicyException.prototype);
111
+ }
112
+ }
113
+ exports.TagPolicyException = TagPolicyException;
114
+ class TooManyTagsException extends EvsServiceException_1.EvsServiceException {
115
+ name = "TooManyTagsException";
116
+ $fault = "client";
117
+ constructor(opts) {
118
+ super({
119
+ name: "TooManyTagsException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
124
+ }
125
+ }
126
+ exports.TooManyTagsException = TooManyTagsException;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListEnvironmentHosts = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListEnvironmentHostsCommand_1 = require("../commands/ListEnvironmentHostsCommand");
6
+ const EvsClient_1 = require("../EvsClient");
7
+ exports.paginateListEnvironmentHosts = (0, core_1.createPaginator)(EvsClient_1.EvsClient, ListEnvironmentHostsCommand_1.ListEnvironmentHostsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListEnvironmentVlans = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListEnvironmentVlansCommand_1 = require("../commands/ListEnvironmentVlansCommand");
6
+ const EvsClient_1 = require("../EvsClient");
7
+ exports.paginateListEnvironmentVlans = (0, core_1.createPaginator)(EvsClient_1.EvsClient, ListEnvironmentVlansCommand_1.ListEnvironmentVlansCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListEnvironments = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListEnvironmentsCommand_1 = require("../commands/ListEnvironmentsCommand");
6
+ const EvsClient_1 = require("../EvsClient");
7
+ exports.paginateListEnvironments = (0, core_1.createPaginator)(EvsClient_1.EvsClient, ListEnvironmentsCommand_1.ListEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListEnvironmentHostsPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListEnvironmentVlansPaginator"), exports);
7
+ tslib_1.__exportStar(require("./ListEnvironmentsPaginator"), exports);