@aws-sdk/client-redshift-serverless 3.107.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 (236) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +225 -0
  4. package/dist-cjs/RedshiftServerless.js +562 -0
  5. package/dist-cjs/RedshiftServerlessClient.js +37 -0
  6. package/dist-cjs/commands/ConvertRecoveryPointToSnapshotCommand.js +36 -0
  7. package/dist-cjs/commands/CreateEndpointAccessCommand.js +36 -0
  8. package/dist-cjs/commands/CreateNamespaceCommand.js +36 -0
  9. package/dist-cjs/commands/CreateSnapshotCommand.js +36 -0
  10. package/dist-cjs/commands/CreateUsageLimitCommand.js +36 -0
  11. package/dist-cjs/commands/CreateWorkgroupCommand.js +36 -0
  12. package/dist-cjs/commands/DeleteEndpointAccessCommand.js +36 -0
  13. package/dist-cjs/commands/DeleteNamespaceCommand.js +36 -0
  14. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +36 -0
  15. package/dist-cjs/commands/DeleteSnapshotCommand.js +36 -0
  16. package/dist-cjs/commands/DeleteUsageLimitCommand.js +36 -0
  17. package/dist-cjs/commands/DeleteWorkgroupCommand.js +36 -0
  18. package/dist-cjs/commands/GetCredentialsCommand.js +36 -0
  19. package/dist-cjs/commands/GetEndpointAccessCommand.js +36 -0
  20. package/dist-cjs/commands/GetNamespaceCommand.js +36 -0
  21. package/dist-cjs/commands/GetRecoveryPointCommand.js +36 -0
  22. package/dist-cjs/commands/GetResourcePolicyCommand.js +36 -0
  23. package/dist-cjs/commands/GetSnapshotCommand.js +36 -0
  24. package/dist-cjs/commands/GetUsageLimitCommand.js +36 -0
  25. package/dist-cjs/commands/GetWorkgroupCommand.js +36 -0
  26. package/dist-cjs/commands/ListEndpointAccessCommand.js +36 -0
  27. package/dist-cjs/commands/ListNamespacesCommand.js +36 -0
  28. package/dist-cjs/commands/ListRecoveryPointsCommand.js +36 -0
  29. package/dist-cjs/commands/ListSnapshotsCommand.js +36 -0
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  31. package/dist-cjs/commands/ListUsageLimitsCommand.js +36 -0
  32. package/dist-cjs/commands/ListWorkgroupsCommand.js +36 -0
  33. package/dist-cjs/commands/PutResourcePolicyCommand.js +36 -0
  34. package/dist-cjs/commands/RestoreFromRecoveryPointCommand.js +36 -0
  35. package/dist-cjs/commands/RestoreFromSnapshotCommand.js +36 -0
  36. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  37. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  38. package/dist-cjs/commands/UpdateEndpointAccessCommand.js +36 -0
  39. package/dist-cjs/commands/UpdateNamespaceCommand.js +36 -0
  40. package/dist-cjs/commands/UpdateSnapshotCommand.js +36 -0
  41. package/dist-cjs/commands/UpdateUsageLimitCommand.js +36 -0
  42. package/dist-cjs/commands/UpdateWorkgroupCommand.js +36 -0
  43. package/dist-cjs/commands/index.js +40 -0
  44. package/dist-cjs/endpoints.js +131 -0
  45. package/dist-cjs/index.js +11 -0
  46. package/dist-cjs/models/RedshiftServerlessServiceException.js +11 -0
  47. package/dist-cjs/models/index.js +4 -0
  48. package/dist-cjs/models/models_0.js +725 -0
  49. package/dist-cjs/pagination/Interfaces.js +2 -0
  50. package/dist-cjs/pagination/ListEndpointAccessPaginator.js +36 -0
  51. package/dist-cjs/pagination/ListNamespacesPaginator.js +36 -0
  52. package/dist-cjs/pagination/ListRecoveryPointsPaginator.js +36 -0
  53. package/dist-cjs/pagination/ListSnapshotsPaginator.js +36 -0
  54. package/dist-cjs/pagination/ListUsageLimitsPaginator.js +36 -0
  55. package/dist-cjs/pagination/ListWorkgroupsPaginator.js +36 -0
  56. package/dist-cjs/pagination/index.js +10 -0
  57. package/dist-cjs/protocols/Aws_json1_1.js +3265 -0
  58. package/dist-cjs/runtimeConfig.browser.js +45 -0
  59. package/dist-cjs/runtimeConfig.js +52 -0
  60. package/dist-cjs/runtimeConfig.native.js +16 -0
  61. package/dist-cjs/runtimeConfig.shared.js +17 -0
  62. package/dist-es/RedshiftServerless.js +565 -0
  63. package/dist-es/RedshiftServerlessClient.js +39 -0
  64. package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +39 -0
  65. package/dist-es/commands/CreateEndpointAccessCommand.js +39 -0
  66. package/dist-es/commands/CreateNamespaceCommand.js +39 -0
  67. package/dist-es/commands/CreateSnapshotCommand.js +39 -0
  68. package/dist-es/commands/CreateUsageLimitCommand.js +39 -0
  69. package/dist-es/commands/CreateWorkgroupCommand.js +39 -0
  70. package/dist-es/commands/DeleteEndpointAccessCommand.js +39 -0
  71. package/dist-es/commands/DeleteNamespaceCommand.js +39 -0
  72. package/dist-es/commands/DeleteResourcePolicyCommand.js +39 -0
  73. package/dist-es/commands/DeleteSnapshotCommand.js +39 -0
  74. package/dist-es/commands/DeleteUsageLimitCommand.js +39 -0
  75. package/dist-es/commands/DeleteWorkgroupCommand.js +39 -0
  76. package/dist-es/commands/GetCredentialsCommand.js +39 -0
  77. package/dist-es/commands/GetEndpointAccessCommand.js +39 -0
  78. package/dist-es/commands/GetNamespaceCommand.js +39 -0
  79. package/dist-es/commands/GetRecoveryPointCommand.js +39 -0
  80. package/dist-es/commands/GetResourcePolicyCommand.js +39 -0
  81. package/dist-es/commands/GetSnapshotCommand.js +39 -0
  82. package/dist-es/commands/GetUsageLimitCommand.js +39 -0
  83. package/dist-es/commands/GetWorkgroupCommand.js +39 -0
  84. package/dist-es/commands/ListEndpointAccessCommand.js +39 -0
  85. package/dist-es/commands/ListNamespacesCommand.js +39 -0
  86. package/dist-es/commands/ListRecoveryPointsCommand.js +39 -0
  87. package/dist-es/commands/ListSnapshotsCommand.js +39 -0
  88. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  89. package/dist-es/commands/ListUsageLimitsCommand.js +39 -0
  90. package/dist-es/commands/ListWorkgroupsCommand.js +39 -0
  91. package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
  92. package/dist-es/commands/RestoreFromRecoveryPointCommand.js +39 -0
  93. package/dist-es/commands/RestoreFromSnapshotCommand.js +39 -0
  94. package/dist-es/commands/TagResourceCommand.js +39 -0
  95. package/dist-es/commands/UntagResourceCommand.js +39 -0
  96. package/dist-es/commands/UpdateEndpointAccessCommand.js +39 -0
  97. package/dist-es/commands/UpdateNamespaceCommand.js +39 -0
  98. package/dist-es/commands/UpdateSnapshotCommand.js +39 -0
  99. package/dist-es/commands/UpdateUsageLimitCommand.js +39 -0
  100. package/dist-es/commands/UpdateWorkgroupCommand.js +39 -0
  101. package/dist-es/commands/index.js +37 -0
  102. package/dist-es/endpoints.js +127 -0
  103. package/dist-es/index.js +6 -0
  104. package/dist-es/models/RedshiftServerlessServiceException.js +12 -0
  105. package/dist-es/models/index.js +1 -0
  106. package/dist-es/models/models_0.js +523 -0
  107. package/dist-es/pagination/Interfaces.js +1 -0
  108. package/dist-es/pagination/ListEndpointAccessPaginator.js +75 -0
  109. package/dist-es/pagination/ListNamespacesPaginator.js +75 -0
  110. package/dist-es/pagination/ListRecoveryPointsPaginator.js +75 -0
  111. package/dist-es/pagination/ListSnapshotsPaginator.js +75 -0
  112. package/dist-es/pagination/ListUsageLimitsPaginator.js +75 -0
  113. package/dist-es/pagination/ListWorkgroupsPaginator.js +75 -0
  114. package/dist-es/pagination/index.js +7 -0
  115. package/dist-es/protocols/Aws_json1_1.js +3784 -0
  116. package/dist-es/runtimeConfig.browser.js +26 -0
  117. package/dist-es/runtimeConfig.js +30 -0
  118. package/dist-es/runtimeConfig.native.js +8 -0
  119. package/dist-es/runtimeConfig.shared.js +13 -0
  120. package/dist-types/RedshiftServerless.d.ts +302 -0
  121. package/dist-types/RedshiftServerlessClient.d.ts +198 -0
  122. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +36 -0
  123. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +35 -0
  124. package/dist-types/commands/CreateNamespaceCommand.d.ts +35 -0
  125. package/dist-types/commands/CreateSnapshotCommand.d.ts +38 -0
  126. package/dist-types/commands/CreateUsageLimitCommand.d.ts +36 -0
  127. package/dist-types/commands/CreateWorkgroupCommand.d.ts +35 -0
  128. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +35 -0
  129. package/dist-types/commands/DeleteNamespaceCommand.d.ts +36 -0
  130. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +35 -0
  131. package/dist-types/commands/DeleteSnapshotCommand.d.ts +35 -0
  132. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +35 -0
  133. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +35 -0
  134. package/dist-types/commands/GetCredentialsCommand.d.ts +48 -0
  135. package/dist-types/commands/GetEndpointAccessCommand.d.ts +35 -0
  136. package/dist-types/commands/GetNamespaceCommand.d.ts +35 -0
  137. package/dist-types/commands/GetRecoveryPointCommand.d.ts +35 -0
  138. package/dist-types/commands/GetResourcePolicyCommand.d.ts +35 -0
  139. package/dist-types/commands/GetSnapshotCommand.d.ts +35 -0
  140. package/dist-types/commands/GetUsageLimitCommand.d.ts +35 -0
  141. package/dist-types/commands/GetWorkgroupCommand.d.ts +35 -0
  142. package/dist-types/commands/ListEndpointAccessCommand.d.ts +35 -0
  143. package/dist-types/commands/ListNamespacesCommand.d.ts +35 -0
  144. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +35 -0
  145. package/dist-types/commands/ListSnapshotsCommand.d.ts +35 -0
  146. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  147. package/dist-types/commands/ListUsageLimitsCommand.d.ts +35 -0
  148. package/dist-types/commands/ListWorkgroupsCommand.d.ts +35 -0
  149. package/dist-types/commands/PutResourcePolicyCommand.d.ts +35 -0
  150. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +35 -0
  151. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +35 -0
  152. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  153. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  154. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +35 -0
  155. package/dist-types/commands/UpdateNamespaceCommand.d.ts +35 -0
  156. package/dist-types/commands/UpdateSnapshotCommand.d.ts +35 -0
  157. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +35 -0
  158. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +35 -0
  159. package/dist-types/commands/index.d.ts +37 -0
  160. package/dist-types/endpoints.d.ts +2 -0
  161. package/dist-types/index.d.ts +6 -0
  162. package/dist-types/models/RedshiftServerlessServiceException.d.ts +10 -0
  163. package/dist-types/models/index.d.ts +1 -0
  164. package/dist-types/models/models_0.d.ts +1960 -0
  165. package/dist-types/pagination/Interfaces.d.ts +6 -0
  166. package/dist-types/pagination/ListEndpointAccessPaginator.d.ts +4 -0
  167. package/dist-types/pagination/ListNamespacesPaginator.d.ts +4 -0
  168. package/dist-types/pagination/ListRecoveryPointsPaginator.d.ts +4 -0
  169. package/dist-types/pagination/ListSnapshotsPaginator.d.ts +4 -0
  170. package/dist-types/pagination/ListUsageLimitsPaginator.d.ts +4 -0
  171. package/dist-types/pagination/ListWorkgroupsPaginator.d.ts +4 -0
  172. package/dist-types/pagination/index.d.ts +7 -0
  173. package/dist-types/protocols/Aws_json1_1.d.ts +113 -0
  174. package/dist-types/runtimeConfig.browser.d.ts +40 -0
  175. package/dist-types/runtimeConfig.d.ts +40 -0
  176. package/dist-types/runtimeConfig.native.d.ts +39 -0
  177. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  178. package/dist-types/ts3.4/RedshiftServerless.d.ts +190 -0
  179. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +110 -0
  180. package/dist-types/ts3.4/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/CreateEndpointAccessCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/CreateUsageLimitCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/CreateWorkgroupCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/DeleteEndpointAccessCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/DeleteUsageLimitCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/DeleteWorkgroupCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/GetCredentialsCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/GetEndpointAccessCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/GetRecoveryPointCommand.d.ts +17 -0
  196. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +17 -0
  197. package/dist-types/ts3.4/commands/GetSnapshotCommand.d.ts +17 -0
  198. package/dist-types/ts3.4/commands/GetUsageLimitCommand.d.ts +17 -0
  199. package/dist-types/ts3.4/commands/GetWorkgroupCommand.d.ts +17 -0
  200. package/dist-types/ts3.4/commands/ListEndpointAccessCommand.d.ts +17 -0
  201. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +17 -0
  202. package/dist-types/ts3.4/commands/ListRecoveryPointsCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/ListSnapshotsCommand.d.ts +17 -0
  204. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  205. package/dist-types/ts3.4/commands/ListUsageLimitsCommand.d.ts +17 -0
  206. package/dist-types/ts3.4/commands/ListWorkgroupsCommand.d.ts +17 -0
  207. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +17 -0
  208. package/dist-types/ts3.4/commands/RestoreFromRecoveryPointCommand.d.ts +17 -0
  209. package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +17 -0
  210. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  211. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  212. package/dist-types/ts3.4/commands/UpdateEndpointAccessCommand.d.ts +17 -0
  213. package/dist-types/ts3.4/commands/UpdateNamespaceCommand.d.ts +17 -0
  214. package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +17 -0
  215. package/dist-types/ts3.4/commands/UpdateUsageLimitCommand.d.ts +17 -0
  216. package/dist-types/ts3.4/commands/UpdateWorkgroupCommand.d.ts +17 -0
  217. package/dist-types/ts3.4/commands/index.d.ts +37 -0
  218. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  219. package/dist-types/ts3.4/index.d.ts +6 -0
  220. package/dist-types/ts3.4/models/RedshiftServerlessServiceException.d.ts +6 -0
  221. package/dist-types/ts3.4/models/index.d.ts +1 -0
  222. package/dist-types/ts3.4/models/models_0.d.ts +1140 -0
  223. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  224. package/dist-types/ts3.4/pagination/ListEndpointAccessPaginator.d.ts +4 -0
  225. package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +4 -0
  226. package/dist-types/ts3.4/pagination/ListRecoveryPointsPaginator.d.ts +4 -0
  227. package/dist-types/ts3.4/pagination/ListSnapshotsPaginator.d.ts +4 -0
  228. package/dist-types/ts3.4/pagination/ListUsageLimitsPaginator.d.ts +4 -0
  229. package/dist-types/ts3.4/pagination/ListWorkgroupsPaginator.d.ts +4 -0
  230. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  231. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +113 -0
  232. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  233. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  234. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  235. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  236. package/package.json +94 -0
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetWorkgroupCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class GetWorkgroupCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "GetWorkgroupCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetWorkgroupRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetWorkgroupResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetWorkgroupCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetWorkgroupCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetWorkgroupCommand = GetWorkgroupCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEndpointAccessCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListEndpointAccessCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "ListEndpointAccessCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListEndpointAccessRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListEndpointAccessResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListEndpointAccessCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListEndpointAccessCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListEndpointAccessCommand = ListEndpointAccessCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListNamespacesCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListNamespacesCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "ListNamespacesCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListNamespacesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListNamespacesResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListNamespacesCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListNamespacesCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListNamespacesCommand = ListNamespacesCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListRecoveryPointsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListRecoveryPointsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "ListRecoveryPointsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListRecoveryPointsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListRecoveryPointsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListRecoveryPointsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListRecoveryPointsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListRecoveryPointsCommand = ListRecoveryPointsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListSnapshotsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListSnapshotsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "ListSnapshotsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListSnapshotsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListSnapshotsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListSnapshotsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListSnapshotsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListSnapshotsCommand = ListSnapshotsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListTagsForResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListTagsForResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "ListTagsForResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListTagsForResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListTagsForResourceResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListUsageLimitsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListUsageLimitsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "ListUsageLimitsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListUsageLimitsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListUsageLimitsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListUsageLimitsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListUsageLimitsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListUsageLimitsCommand = ListUsageLimitsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListWorkgroupsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class ListWorkgroupsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "ListWorkgroupsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListWorkgroupsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListWorkgroupsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListWorkgroupsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListWorkgroupsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListWorkgroupsCommand = ListWorkgroupsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PutResourcePolicyCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class PutResourcePolicyCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "PutResourcePolicyCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.PutResourcePolicyRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.PutResourcePolicyResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1PutResourcePolicyCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1PutResourcePolicyCommand)(output, context);
34
+ }
35
+ }
36
+ exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RestoreFromRecoveryPointCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class RestoreFromRecoveryPointCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "RestoreFromRecoveryPointCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.RestoreFromRecoveryPointRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.RestoreFromRecoveryPointResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1RestoreFromRecoveryPointCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1RestoreFromRecoveryPointCommand)(output, context);
34
+ }
35
+ }
36
+ exports.RestoreFromRecoveryPointCommand = RestoreFromRecoveryPointCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RestoreFromSnapshotCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class RestoreFromSnapshotCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "RestoreFromSnapshotCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.RestoreFromSnapshotRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.RestoreFromSnapshotResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1RestoreFromSnapshotCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1RestoreFromSnapshotCommand)(output, context);
34
+ }
35
+ }
36
+ exports.RestoreFromSnapshotCommand = RestoreFromSnapshotCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TagResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class TagResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "TagResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.TagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.TagResourceResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.TagResourceCommand = TagResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResourceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class UntagResourceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "UntagResourceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UntagResourceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UntagResourceResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UntagResourceCommand = UntagResourceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEndpointAccessCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class UpdateEndpointAccessCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "UpdateEndpointAccessCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateEndpointAccessRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateEndpointAccessResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateEndpointAccessCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateEndpointAccessCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateEndpointAccessCommand = UpdateEndpointAccessCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateNamespaceCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class UpdateNamespaceCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "UpdateNamespaceCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateNamespaceRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateNamespaceResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateNamespaceCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateNamespaceCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateNamespaceCommand = UpdateNamespaceCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateSnapshotCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class UpdateSnapshotCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "UpdateSnapshotCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateSnapshotRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateSnapshotResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateSnapshotCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateSnapshotCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateSnapshotCommand = UpdateSnapshotCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateUsageLimitCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
+ class UpdateUsageLimitCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "RedshiftServerlessClient";
18
+ const commandName = "UpdateUsageLimitCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateUsageLimitRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateUsageLimitResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateUsageLimitCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateUsageLimitCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateUsageLimitCommand = UpdateUsageLimitCommand;