@aws-sdk/client-tnb 3.276.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 (223) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +205 -0
  3. package/dist-cjs/Tnb.js +502 -0
  4. package/dist-cjs/TnbClient.js +40 -0
  5. package/dist-cjs/commands/CancelSolNetworkOperationCommand.js +46 -0
  6. package/dist-cjs/commands/CreateSolFunctionPackageCommand.js +46 -0
  7. package/dist-cjs/commands/CreateSolNetworkInstanceCommand.js +46 -0
  8. package/dist-cjs/commands/CreateSolNetworkPackageCommand.js +46 -0
  9. package/dist-cjs/commands/DeleteSolFunctionPackageCommand.js +46 -0
  10. package/dist-cjs/commands/DeleteSolNetworkInstanceCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteSolNetworkPackageCommand.js +46 -0
  12. package/dist-cjs/commands/GetSolFunctionInstanceCommand.js +46 -0
  13. package/dist-cjs/commands/GetSolFunctionPackageCommand.js +46 -0
  14. package/dist-cjs/commands/GetSolFunctionPackageContentCommand.js +46 -0
  15. package/dist-cjs/commands/GetSolFunctionPackageDescriptorCommand.js +46 -0
  16. package/dist-cjs/commands/GetSolNetworkInstanceCommand.js +46 -0
  17. package/dist-cjs/commands/GetSolNetworkOperationCommand.js +46 -0
  18. package/dist-cjs/commands/GetSolNetworkPackageCommand.js +46 -0
  19. package/dist-cjs/commands/GetSolNetworkPackageContentCommand.js +46 -0
  20. package/dist-cjs/commands/GetSolNetworkPackageDescriptorCommand.js +46 -0
  21. package/dist-cjs/commands/InstantiateSolNetworkInstanceCommand.js +46 -0
  22. package/dist-cjs/commands/ListSolFunctionInstancesCommand.js +46 -0
  23. package/dist-cjs/commands/ListSolFunctionPackagesCommand.js +46 -0
  24. package/dist-cjs/commands/ListSolNetworkInstancesCommand.js +46 -0
  25. package/dist-cjs/commands/ListSolNetworkOperationsCommand.js +46 -0
  26. package/dist-cjs/commands/ListSolNetworkPackagesCommand.js +46 -0
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  28. package/dist-cjs/commands/PutSolFunctionPackageContentCommand.js +46 -0
  29. package/dist-cjs/commands/PutSolNetworkPackageContentCommand.js +46 -0
  30. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  31. package/dist-cjs/commands/TerminateSolNetworkInstanceCommand.js +46 -0
  32. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  33. package/dist-cjs/commands/UpdateSolFunctionPackageCommand.js +46 -0
  34. package/dist-cjs/commands/UpdateSolNetworkInstanceCommand.js +46 -0
  35. package/dist-cjs/commands/UpdateSolNetworkPackageCommand.js +46 -0
  36. package/dist-cjs/commands/ValidateSolFunctionPackageContentCommand.js +46 -0
  37. package/dist-cjs/commands/ValidateSolNetworkPackageContentCommand.js +46 -0
  38. package/dist-cjs/commands/index.js +36 -0
  39. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  40. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  41. package/dist-cjs/endpoint/ruleset.js +7 -0
  42. package/dist-cjs/index.js +11 -0
  43. package/dist-cjs/models/TnbServiceException.js +11 -0
  44. package/dist-cjs/models/index.js +4 -0
  45. package/dist-cjs/models/models_0.js +559 -0
  46. package/dist-cjs/pagination/Interfaces.js +2 -0
  47. package/dist-cjs/pagination/ListSolFunctionInstancesPaginator.js +36 -0
  48. package/dist-cjs/pagination/ListSolFunctionPackagesPaginator.js +36 -0
  49. package/dist-cjs/pagination/ListSolNetworkInstancesPaginator.js +36 -0
  50. package/dist-cjs/pagination/ListSolNetworkOperationsPaginator.js +36 -0
  51. package/dist-cjs/pagination/ListSolNetworkPackagesPaginator.js +36 -0
  52. package/dist-cjs/pagination/index.js +9 -0
  53. package/dist-cjs/protocols/Aws_restJson1.js +2944 -0
  54. package/dist-cjs/runtimeConfig.browser.js +39 -0
  55. package/dist-cjs/runtimeConfig.js +48 -0
  56. package/dist-cjs/runtimeConfig.native.js +15 -0
  57. package/dist-cjs/runtimeConfig.shared.js +21 -0
  58. package/dist-es/Tnb.js +498 -0
  59. package/dist-es/TnbClient.js +36 -0
  60. package/dist-es/commands/CancelSolNetworkOperationCommand.js +42 -0
  61. package/dist-es/commands/CreateSolFunctionPackageCommand.js +42 -0
  62. package/dist-es/commands/CreateSolNetworkInstanceCommand.js +42 -0
  63. package/dist-es/commands/CreateSolNetworkPackageCommand.js +42 -0
  64. package/dist-es/commands/DeleteSolFunctionPackageCommand.js +42 -0
  65. package/dist-es/commands/DeleteSolNetworkInstanceCommand.js +42 -0
  66. package/dist-es/commands/DeleteSolNetworkPackageCommand.js +42 -0
  67. package/dist-es/commands/GetSolFunctionInstanceCommand.js +42 -0
  68. package/dist-es/commands/GetSolFunctionPackageCommand.js +42 -0
  69. package/dist-es/commands/GetSolFunctionPackageContentCommand.js +42 -0
  70. package/dist-es/commands/GetSolFunctionPackageDescriptorCommand.js +42 -0
  71. package/dist-es/commands/GetSolNetworkInstanceCommand.js +42 -0
  72. package/dist-es/commands/GetSolNetworkOperationCommand.js +42 -0
  73. package/dist-es/commands/GetSolNetworkPackageCommand.js +42 -0
  74. package/dist-es/commands/GetSolNetworkPackageContentCommand.js +42 -0
  75. package/dist-es/commands/GetSolNetworkPackageDescriptorCommand.js +42 -0
  76. package/dist-es/commands/InstantiateSolNetworkInstanceCommand.js +42 -0
  77. package/dist-es/commands/ListSolFunctionInstancesCommand.js +42 -0
  78. package/dist-es/commands/ListSolFunctionPackagesCommand.js +42 -0
  79. package/dist-es/commands/ListSolNetworkInstancesCommand.js +42 -0
  80. package/dist-es/commands/ListSolNetworkOperationsCommand.js +42 -0
  81. package/dist-es/commands/ListSolNetworkPackagesCommand.js +42 -0
  82. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  83. package/dist-es/commands/PutSolFunctionPackageContentCommand.js +42 -0
  84. package/dist-es/commands/PutSolNetworkPackageContentCommand.js +42 -0
  85. package/dist-es/commands/TagResourceCommand.js +42 -0
  86. package/dist-es/commands/TerminateSolNetworkInstanceCommand.js +42 -0
  87. package/dist-es/commands/UntagResourceCommand.js +42 -0
  88. package/dist-es/commands/UpdateSolFunctionPackageCommand.js +42 -0
  89. package/dist-es/commands/UpdateSolNetworkInstanceCommand.js +42 -0
  90. package/dist-es/commands/UpdateSolNetworkPackageCommand.js +42 -0
  91. package/dist-es/commands/ValidateSolFunctionPackageContentCommand.js +42 -0
  92. package/dist-es/commands/ValidateSolNetworkPackageContentCommand.js +42 -0
  93. package/dist-es/commands/index.js +33 -0
  94. package/dist-es/endpoint/EndpointParameters.js +8 -0
  95. package/dist-es/endpoint/endpointResolver.js +8 -0
  96. package/dist-es/endpoint/ruleset.js +4 -0
  97. package/dist-es/index.js +6 -0
  98. package/dist-es/models/TnbServiceException.js +7 -0
  99. package/dist-es/models/index.js +1 -0
  100. package/dist-es/models/models_0.js +455 -0
  101. package/dist-es/pagination/Interfaces.js +1 -0
  102. package/dist-es/pagination/ListSolFunctionInstancesPaginator.js +32 -0
  103. package/dist-es/pagination/ListSolFunctionPackagesPaginator.js +32 -0
  104. package/dist-es/pagination/ListSolNetworkInstancesPaginator.js +32 -0
  105. package/dist-es/pagination/ListSolNetworkOperationsPaginator.js +32 -0
  106. package/dist-es/pagination/ListSolNetworkPackagesPaginator.js +32 -0
  107. package/dist-es/pagination/index.js +6 -0
  108. package/dist-es/protocols/Aws_restJson1.js +2874 -0
  109. package/dist-es/runtimeConfig.browser.js +34 -0
  110. package/dist-es/runtimeConfig.js +43 -0
  111. package/dist-es/runtimeConfig.native.js +11 -0
  112. package/dist-es/runtimeConfig.shared.js +17 -0
  113. package/dist-types/Tnb.d.ts +284 -0
  114. package/dist-types/TnbClient.d.ts +174 -0
  115. package/dist-types/commands/CancelSolNetworkOperationCommand.d.ts +38 -0
  116. package/dist-types/commands/CreateSolFunctionPackageCommand.d.ts +40 -0
  117. package/dist-types/commands/CreateSolNetworkInstanceCommand.d.ts +39 -0
  118. package/dist-types/commands/CreateSolNetworkPackageCommand.d.ts +41 -0
  119. package/dist-types/commands/DeleteSolFunctionPackageCommand.d.ts +40 -0
  120. package/dist-types/commands/DeleteSolNetworkInstanceCommand.d.ts +39 -0
  121. package/dist-types/commands/DeleteSolNetworkPackageCommand.d.ts +39 -0
  122. package/dist-types/commands/GetSolFunctionInstanceCommand.d.ts +38 -0
  123. package/dist-types/commands/GetSolFunctionPackageCommand.d.ts +38 -0
  124. package/dist-types/commands/GetSolFunctionPackageContentCommand.d.ts +38 -0
  125. package/dist-types/commands/GetSolFunctionPackageDescriptorCommand.d.ts +39 -0
  126. package/dist-types/commands/GetSolNetworkInstanceCommand.d.ts +38 -0
  127. package/dist-types/commands/GetSolNetworkOperationCommand.d.ts +38 -0
  128. package/dist-types/commands/GetSolNetworkPackageCommand.d.ts +38 -0
  129. package/dist-types/commands/GetSolNetworkPackageContentCommand.d.ts +38 -0
  130. package/dist-types/commands/GetSolNetworkPackageDescriptorCommand.d.ts +38 -0
  131. package/dist-types/commands/InstantiateSolNetworkInstanceCommand.d.ts +39 -0
  132. package/dist-types/commands/ListSolFunctionInstancesCommand.d.ts +38 -0
  133. package/dist-types/commands/ListSolFunctionPackagesCommand.d.ts +38 -0
  134. package/dist-types/commands/ListSolNetworkInstancesCommand.d.ts +38 -0
  135. package/dist-types/commands/ListSolNetworkOperationsCommand.d.ts +38 -0
  136. package/dist-types/commands/ListSolNetworkPackagesCommand.d.ts +38 -0
  137. package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
  138. package/dist-types/commands/PutSolFunctionPackageContentCommand.d.ts +38 -0
  139. package/dist-types/commands/PutSolNetworkPackageContentCommand.d.ts +38 -0
  140. package/dist-types/commands/TagResourceCommand.d.ts +38 -0
  141. package/dist-types/commands/TerminateSolNetworkInstanceCommand.d.ts +39 -0
  142. package/dist-types/commands/UntagResourceCommand.d.ts +38 -0
  143. package/dist-types/commands/UpdateSolFunctionPackageCommand.d.ts +38 -0
  144. package/dist-types/commands/UpdateSolNetworkInstanceCommand.d.ts +38 -0
  145. package/dist-types/commands/UpdateSolNetworkPackageCommand.d.ts +39 -0
  146. package/dist-types/commands/ValidateSolFunctionPackageContentCommand.d.ts +38 -0
  147. package/dist-types/commands/ValidateSolNetworkPackageContentCommand.d.ts +38 -0
  148. package/dist-types/commands/index.d.ts +33 -0
  149. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  150. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  151. package/dist-types/endpoint/ruleset.d.ts +2 -0
  152. package/dist-types/index.d.ts +6 -0
  153. package/dist-types/models/TnbServiceException.d.ts +10 -0
  154. package/dist-types/models/index.d.ts +1 -0
  155. package/dist-types/models/models_0.d.ts +1935 -0
  156. package/dist-types/pagination/Interfaces.d.ts +6 -0
  157. package/dist-types/pagination/ListSolFunctionInstancesPaginator.d.ts +4 -0
  158. package/dist-types/pagination/ListSolFunctionPackagesPaginator.d.ts +4 -0
  159. package/dist-types/pagination/ListSolNetworkInstancesPaginator.d.ts +4 -0
  160. package/dist-types/pagination/ListSolNetworkOperationsPaginator.d.ts +4 -0
  161. package/dist-types/pagination/ListSolNetworkPackagesPaginator.d.ts +4 -0
  162. package/dist-types/pagination/index.d.ts +6 -0
  163. package/dist-types/protocols/Aws_restJson1.d.ts +101 -0
  164. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  165. package/dist-types/runtimeConfig.d.ts +42 -0
  166. package/dist-types/runtimeConfig.native.d.ts +41 -0
  167. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  168. package/dist-types/ts3.4/Tnb.d.ts +571 -0
  169. package/dist-types/ts3.4/TnbClient.d.ts +309 -0
  170. package/dist-types/ts3.4/commands/CancelSolNetworkOperationCommand.d.ts +37 -0
  171. package/dist-types/ts3.4/commands/CreateSolFunctionPackageCommand.d.ts +41 -0
  172. package/dist-types/ts3.4/commands/CreateSolNetworkInstanceCommand.d.ts +41 -0
  173. package/dist-types/ts3.4/commands/CreateSolNetworkPackageCommand.d.ts +41 -0
  174. package/dist-types/ts3.4/commands/DeleteSolFunctionPackageCommand.d.ts +37 -0
  175. package/dist-types/ts3.4/commands/DeleteSolNetworkInstanceCommand.d.ts +37 -0
  176. package/dist-types/ts3.4/commands/DeleteSolNetworkPackageCommand.d.ts +37 -0
  177. package/dist-types/ts3.4/commands/GetSolFunctionInstanceCommand.d.ts +41 -0
  178. package/dist-types/ts3.4/commands/GetSolFunctionPackageCommand.d.ts +41 -0
  179. package/dist-types/ts3.4/commands/GetSolFunctionPackageContentCommand.d.ts +41 -0
  180. package/dist-types/ts3.4/commands/GetSolFunctionPackageDescriptorCommand.d.ts +41 -0
  181. package/dist-types/ts3.4/commands/GetSolNetworkInstanceCommand.d.ts +41 -0
  182. package/dist-types/ts3.4/commands/GetSolNetworkOperationCommand.d.ts +41 -0
  183. package/dist-types/ts3.4/commands/GetSolNetworkPackageCommand.d.ts +41 -0
  184. package/dist-types/ts3.4/commands/GetSolNetworkPackageContentCommand.d.ts +41 -0
  185. package/dist-types/ts3.4/commands/GetSolNetworkPackageDescriptorCommand.d.ts +41 -0
  186. package/dist-types/ts3.4/commands/InstantiateSolNetworkInstanceCommand.d.ts +41 -0
  187. package/dist-types/ts3.4/commands/ListSolFunctionInstancesCommand.d.ts +41 -0
  188. package/dist-types/ts3.4/commands/ListSolFunctionPackagesCommand.d.ts +41 -0
  189. package/dist-types/ts3.4/commands/ListSolNetworkInstancesCommand.d.ts +41 -0
  190. package/dist-types/ts3.4/commands/ListSolNetworkOperationsCommand.d.ts +41 -0
  191. package/dist-types/ts3.4/commands/ListSolNetworkPackagesCommand.d.ts +41 -0
  192. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  193. package/dist-types/ts3.4/commands/PutSolFunctionPackageContentCommand.d.ts +41 -0
  194. package/dist-types/ts3.4/commands/PutSolNetworkPackageContentCommand.d.ts +41 -0
  195. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  196. package/dist-types/ts3.4/commands/TerminateSolNetworkInstanceCommand.d.ts +41 -0
  197. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  198. package/dist-types/ts3.4/commands/UpdateSolFunctionPackageCommand.d.ts +41 -0
  199. package/dist-types/ts3.4/commands/UpdateSolNetworkInstanceCommand.d.ts +41 -0
  200. package/dist-types/ts3.4/commands/UpdateSolNetworkPackageCommand.d.ts +41 -0
  201. package/dist-types/ts3.4/commands/ValidateSolFunctionPackageContentCommand.d.ts +41 -0
  202. package/dist-types/ts3.4/commands/ValidateSolNetworkPackageContentCommand.d.ts +41 -0
  203. package/dist-types/ts3.4/commands/index.d.ts +33 -0
  204. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
  205. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  206. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  207. package/dist-types/ts3.4/index.d.ts +6 -0
  208. package/dist-types/ts3.4/models/TnbServiceException.d.ts +7 -0
  209. package/dist-types/ts3.4/models/index.d.ts +1 -0
  210. package/dist-types/ts3.4/models/models_0.d.ts +855 -0
  211. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  212. package/dist-types/ts3.4/pagination/ListSolFunctionInstancesPaginator.d.ts +11 -0
  213. package/dist-types/ts3.4/pagination/ListSolFunctionPackagesPaginator.d.ts +11 -0
  214. package/dist-types/ts3.4/pagination/ListSolNetworkInstancesPaginator.d.ts +11 -0
  215. package/dist-types/ts3.4/pagination/ListSolNetworkOperationsPaginator.d.ts +11 -0
  216. package/dist-types/ts3.4/pagination/ListSolNetworkPackagesPaginator.d.ts +11 -0
  217. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  218. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +401 -0
  219. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
  220. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  221. package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
  222. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
  223. package/package.json +102 -0
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSolFunctionPackageCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateSolFunctionPackageCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSolFunctionPackageCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "TnbClient";
28
+ const commandName = "UpdateSolFunctionPackageCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.UpdateSolFunctionPackageInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.UpdateSolFunctionPackageOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateSolFunctionPackageCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateSolFunctionPackageCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateSolFunctionPackageCommand = UpdateSolFunctionPackageCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSolNetworkInstanceCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateSolNetworkInstanceCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSolNetworkInstanceCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "TnbClient";
28
+ const commandName = "UpdateSolNetworkInstanceCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.UpdateSolNetworkInstanceInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.UpdateSolNetworkInstanceOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateSolNetworkInstanceCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateSolNetworkInstanceCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateSolNetworkInstanceCommand = UpdateSolNetworkInstanceCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSolNetworkPackageCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateSolNetworkPackageCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSolNetworkPackageCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "TnbClient";
28
+ const commandName = "UpdateSolNetworkPackageCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.UpdateSolNetworkPackageInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.UpdateSolNetworkPackageOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateSolNetworkPackageCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateSolNetworkPackageCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateSolNetworkPackageCommand = UpdateSolNetworkPackageCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidateSolFunctionPackageContentCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ValidateSolFunctionPackageContentCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ValidateSolFunctionPackageContentCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "TnbClient";
28
+ const commandName = "ValidateSolFunctionPackageContentCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ValidateSolFunctionPackageContentInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ValidateSolFunctionPackageContentOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ValidateSolFunctionPackageContentCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ValidateSolFunctionPackageContentCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ValidateSolFunctionPackageContentCommand = ValidateSolFunctionPackageContentCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidateSolNetworkPackageContentCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ValidateSolNetworkPackageContentCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ValidateSolNetworkPackageContentCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "TnbClient";
28
+ const commandName = "ValidateSolNetworkPackageContentCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.ValidateSolNetworkPackageContentInputFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.ValidateSolNetworkPackageContentOutputFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.serializeAws_restJson1ValidateSolNetworkPackageContentCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ValidateSolNetworkPackageContentCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ValidateSolNetworkPackageContentCommand = ValidateSolNetworkPackageContentCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CancelSolNetworkOperationCommand"), exports);
5
+ tslib_1.__exportStar(require("./CreateSolFunctionPackageCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateSolNetworkInstanceCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateSolNetworkPackageCommand"), exports);
8
+ tslib_1.__exportStar(require("./DeleteSolFunctionPackageCommand"), exports);
9
+ tslib_1.__exportStar(require("./DeleteSolNetworkInstanceCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteSolNetworkPackageCommand"), exports);
11
+ tslib_1.__exportStar(require("./GetSolFunctionInstanceCommand"), exports);
12
+ tslib_1.__exportStar(require("./GetSolFunctionPackageCommand"), exports);
13
+ tslib_1.__exportStar(require("./GetSolFunctionPackageContentCommand"), exports);
14
+ tslib_1.__exportStar(require("./GetSolFunctionPackageDescriptorCommand"), exports);
15
+ tslib_1.__exportStar(require("./GetSolNetworkInstanceCommand"), exports);
16
+ tslib_1.__exportStar(require("./GetSolNetworkOperationCommand"), exports);
17
+ tslib_1.__exportStar(require("./GetSolNetworkPackageCommand"), exports);
18
+ tslib_1.__exportStar(require("./GetSolNetworkPackageContentCommand"), exports);
19
+ tslib_1.__exportStar(require("./GetSolNetworkPackageDescriptorCommand"), exports);
20
+ tslib_1.__exportStar(require("./InstantiateSolNetworkInstanceCommand"), exports);
21
+ tslib_1.__exportStar(require("./ListSolFunctionInstancesCommand"), exports);
22
+ tslib_1.__exportStar(require("./ListSolFunctionPackagesCommand"), exports);
23
+ tslib_1.__exportStar(require("./ListSolNetworkInstancesCommand"), exports);
24
+ tslib_1.__exportStar(require("./ListSolNetworkOperationsCommand"), exports);
25
+ tslib_1.__exportStar(require("./ListSolNetworkPackagesCommand"), exports);
26
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
27
+ tslib_1.__exportStar(require("./PutSolFunctionPackageContentCommand"), exports);
28
+ tslib_1.__exportStar(require("./PutSolNetworkPackageContentCommand"), exports);
29
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
30
+ tslib_1.__exportStar(require("./TerminateSolNetworkInstanceCommand"), exports);
31
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
32
+ tslib_1.__exportStar(require("./UpdateSolFunctionPackageCommand"), exports);
33
+ tslib_1.__exportStar(require("./UpdateSolNetworkInstanceCommand"), exports);
34
+ tslib_1.__exportStar(require("./UpdateSolNetworkPackageCommand"), exports);
35
+ tslib_1.__exportStar(require("./ValidateSolFunctionPackageContentCommand"), exports);
36
+ tslib_1.__exportStar(require("./ValidateSolNetworkPackageContentCommand"), exports);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ return {
6
+ ...options,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
9
+ defaultSigningName: "tnb",
10
+ };
11
+ };
12
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
@@ -0,0 +1,12 @@
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 ruleset_1 = require("./ruleset");
6
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
7
+ return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ endpointParams: endpointParams,
9
+ logger: context.logger,
10
+ });
11
+ };
12
+ exports.defaultEndpointResolver = defaultEndpointResolver;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ruleSet = void 0;
4
+ const q = "required", r = "fn", s = "argv", t = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://tnb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://tnb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://tnb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://tnb.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
+ exports.ruleSet = _data;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TnbServiceException = void 0;
4
+ const tslib_1 = require("tslib");
5
+ tslib_1.__exportStar(require("./Tnb"), exports);
6
+ tslib_1.__exportStar(require("./TnbClient"), exports);
7
+ tslib_1.__exportStar(require("./commands"), exports);
8
+ tslib_1.__exportStar(require("./models"), exports);
9
+ tslib_1.__exportStar(require("./pagination"), exports);
10
+ var TnbServiceException_1 = require("./models/TnbServiceException");
11
+ Object.defineProperty(exports, "TnbServiceException", { enumerable: true, get: function () { return TnbServiceException_1.TnbServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TnbServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class TnbServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, TnbServiceException.prototype);
9
+ }
10
+ }
11
+ exports.TnbServiceException = TnbServiceException;
@@ -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);