@aws-sdk/client-redshift-serverless 3.478.0 → 3.481.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 (225) hide show
  1. package/dist-cjs/commands/ConvertRecoveryPointToSnapshotCommand.js +18 -41
  2. package/dist-cjs/commands/CreateCustomDomainAssociationCommand.js +18 -41
  3. package/dist-cjs/commands/CreateEndpointAccessCommand.js +18 -41
  4. package/dist-cjs/commands/CreateNamespaceCommand.js +18 -41
  5. package/dist-cjs/commands/CreateScheduledActionCommand.js +18 -41
  6. package/dist-cjs/commands/CreateSnapshotCommand.js +18 -41
  7. package/dist-cjs/commands/CreateSnapshotCopyConfigurationCommand.js +18 -41
  8. package/dist-cjs/commands/CreateUsageLimitCommand.js +18 -41
  9. package/dist-cjs/commands/CreateWorkgroupCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteCustomDomainAssociationCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteEndpointAccessCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteNamespaceCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteScheduledActionCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteSnapshotCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteSnapshotCopyConfigurationCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteUsageLimitCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteWorkgroupCommand.js +18 -41
  19. package/dist-cjs/commands/GetCredentialsCommand.js +18 -41
  20. package/dist-cjs/commands/GetCustomDomainAssociationCommand.js +18 -41
  21. package/dist-cjs/commands/GetEndpointAccessCommand.js +18 -41
  22. package/dist-cjs/commands/GetNamespaceCommand.js +18 -41
  23. package/dist-cjs/commands/GetRecoveryPointCommand.js +18 -41
  24. package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
  25. package/dist-cjs/commands/GetScheduledActionCommand.js +18 -41
  26. package/dist-cjs/commands/GetSnapshotCommand.js +18 -41
  27. package/dist-cjs/commands/GetTableRestoreStatusCommand.js +18 -41
  28. package/dist-cjs/commands/GetUsageLimitCommand.js +18 -41
  29. package/dist-cjs/commands/GetWorkgroupCommand.js +18 -41
  30. package/dist-cjs/commands/ListCustomDomainAssociationsCommand.js +18 -41
  31. package/dist-cjs/commands/ListEndpointAccessCommand.js +18 -41
  32. package/dist-cjs/commands/ListNamespacesCommand.js +18 -41
  33. package/dist-cjs/commands/ListRecoveryPointsCommand.js +18 -41
  34. package/dist-cjs/commands/ListScheduledActionsCommand.js +18 -41
  35. package/dist-cjs/commands/ListSnapshotCopyConfigurationsCommand.js +18 -41
  36. package/dist-cjs/commands/ListSnapshotsCommand.js +18 -41
  37. package/dist-cjs/commands/ListTableRestoreStatusCommand.js +18 -41
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  39. package/dist-cjs/commands/ListUsageLimitsCommand.js +18 -41
  40. package/dist-cjs/commands/ListWorkgroupsCommand.js +18 -41
  41. package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
  42. package/dist-cjs/commands/RestoreFromRecoveryPointCommand.js +18 -41
  43. package/dist-cjs/commands/RestoreFromSnapshotCommand.js +18 -41
  44. package/dist-cjs/commands/RestoreTableFromRecoveryPointCommand.js +18 -41
  45. package/dist-cjs/commands/RestoreTableFromSnapshotCommand.js +18 -41
  46. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  47. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateCustomDomainAssociationCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateEndpointAccessCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateNamespaceCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateScheduledActionCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateSnapshotCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateSnapshotCopyConfigurationCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateUsageLimitCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateWorkgroupCommand.js +18 -41
  56. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  57. package/dist-es/commands/ConvertRecoveryPointToSnapshotCommand.js +18 -41
  58. package/dist-es/commands/CreateCustomDomainAssociationCommand.js +18 -41
  59. package/dist-es/commands/CreateEndpointAccessCommand.js +18 -41
  60. package/dist-es/commands/CreateNamespaceCommand.js +18 -41
  61. package/dist-es/commands/CreateScheduledActionCommand.js +18 -41
  62. package/dist-es/commands/CreateSnapshotCommand.js +18 -41
  63. package/dist-es/commands/CreateSnapshotCopyConfigurationCommand.js +18 -41
  64. package/dist-es/commands/CreateUsageLimitCommand.js +18 -41
  65. package/dist-es/commands/CreateWorkgroupCommand.js +18 -41
  66. package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +18 -41
  67. package/dist-es/commands/DeleteEndpointAccessCommand.js +18 -41
  68. package/dist-es/commands/DeleteNamespaceCommand.js +18 -41
  69. package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
  70. package/dist-es/commands/DeleteScheduledActionCommand.js +18 -41
  71. package/dist-es/commands/DeleteSnapshotCommand.js +18 -41
  72. package/dist-es/commands/DeleteSnapshotCopyConfigurationCommand.js +18 -41
  73. package/dist-es/commands/DeleteUsageLimitCommand.js +18 -41
  74. package/dist-es/commands/DeleteWorkgroupCommand.js +18 -41
  75. package/dist-es/commands/GetCredentialsCommand.js +18 -41
  76. package/dist-es/commands/GetCustomDomainAssociationCommand.js +18 -41
  77. package/dist-es/commands/GetEndpointAccessCommand.js +18 -41
  78. package/dist-es/commands/GetNamespaceCommand.js +18 -41
  79. package/dist-es/commands/GetRecoveryPointCommand.js +18 -41
  80. package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
  81. package/dist-es/commands/GetScheduledActionCommand.js +18 -41
  82. package/dist-es/commands/GetSnapshotCommand.js +18 -41
  83. package/dist-es/commands/GetTableRestoreStatusCommand.js +18 -41
  84. package/dist-es/commands/GetUsageLimitCommand.js +18 -41
  85. package/dist-es/commands/GetWorkgroupCommand.js +18 -41
  86. package/dist-es/commands/ListCustomDomainAssociationsCommand.js +18 -41
  87. package/dist-es/commands/ListEndpointAccessCommand.js +18 -41
  88. package/dist-es/commands/ListNamespacesCommand.js +18 -41
  89. package/dist-es/commands/ListRecoveryPointsCommand.js +18 -41
  90. package/dist-es/commands/ListScheduledActionsCommand.js +18 -41
  91. package/dist-es/commands/ListSnapshotCopyConfigurationsCommand.js +18 -41
  92. package/dist-es/commands/ListSnapshotsCommand.js +18 -41
  93. package/dist-es/commands/ListTableRestoreStatusCommand.js +18 -41
  94. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  95. package/dist-es/commands/ListUsageLimitsCommand.js +18 -41
  96. package/dist-es/commands/ListWorkgroupsCommand.js +18 -41
  97. package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
  98. package/dist-es/commands/RestoreFromRecoveryPointCommand.js +18 -41
  99. package/dist-es/commands/RestoreFromSnapshotCommand.js +18 -41
  100. package/dist-es/commands/RestoreTableFromRecoveryPointCommand.js +18 -41
  101. package/dist-es/commands/RestoreTableFromSnapshotCommand.js +18 -41
  102. package/dist-es/commands/TagResourceCommand.js +18 -41
  103. package/dist-es/commands/UntagResourceCommand.js +18 -41
  104. package/dist-es/commands/UpdateCustomDomainAssociationCommand.js +18 -41
  105. package/dist-es/commands/UpdateEndpointAccessCommand.js +18 -41
  106. package/dist-es/commands/UpdateNamespaceCommand.js +18 -41
  107. package/dist-es/commands/UpdateScheduledActionCommand.js +18 -41
  108. package/dist-es/commands/UpdateSnapshotCommand.js +18 -41
  109. package/dist-es/commands/UpdateSnapshotCopyConfigurationCommand.js +18 -41
  110. package/dist-es/commands/UpdateUsageLimitCommand.js +18 -41
  111. package/dist-es/commands/UpdateWorkgroupCommand.js +18 -41
  112. package/dist-es/endpoint/EndpointParameters.js +6 -0
  113. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +6 -21
  115. package/dist-types/commands/CreateEndpointAccessCommand.d.ts +6 -21
  116. package/dist-types/commands/CreateNamespaceCommand.d.ts +6 -21
  117. package/dist-types/commands/CreateScheduledActionCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateSnapshotCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateSnapshotCopyConfigurationCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateUsageLimitCommand.d.ts +6 -21
  121. package/dist-types/commands/CreateWorkgroupCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteEndpointAccessCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteNamespaceCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteSnapshotCommand.d.ts +6 -21
  128. package/dist-types/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +6 -21
  129. package/dist-types/commands/DeleteUsageLimitCommand.d.ts +6 -21
  130. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +6 -21
  131. package/dist-types/commands/GetCredentialsCommand.d.ts +6 -21
  132. package/dist-types/commands/GetCustomDomainAssociationCommand.d.ts +6 -21
  133. package/dist-types/commands/GetEndpointAccessCommand.d.ts +6 -21
  134. package/dist-types/commands/GetNamespaceCommand.d.ts +6 -21
  135. package/dist-types/commands/GetRecoveryPointCommand.d.ts +6 -21
  136. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
  137. package/dist-types/commands/GetScheduledActionCommand.d.ts +6 -21
  138. package/dist-types/commands/GetSnapshotCommand.d.ts +6 -21
  139. package/dist-types/commands/GetTableRestoreStatusCommand.d.ts +6 -21
  140. package/dist-types/commands/GetUsageLimitCommand.d.ts +6 -21
  141. package/dist-types/commands/GetWorkgroupCommand.d.ts +6 -21
  142. package/dist-types/commands/ListCustomDomainAssociationsCommand.d.ts +6 -21
  143. package/dist-types/commands/ListEndpointAccessCommand.d.ts +6 -21
  144. package/dist-types/commands/ListNamespacesCommand.d.ts +6 -21
  145. package/dist-types/commands/ListRecoveryPointsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListScheduledActionsCommand.d.ts +6 -21
  147. package/dist-types/commands/ListSnapshotCopyConfigurationsCommand.d.ts +6 -21
  148. package/dist-types/commands/ListSnapshotsCommand.d.ts +6 -21
  149. package/dist-types/commands/ListTableRestoreStatusCommand.d.ts +6 -21
  150. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  151. package/dist-types/commands/ListUsageLimitsCommand.d.ts +6 -21
  152. package/dist-types/commands/ListWorkgroupsCommand.d.ts +6 -21
  153. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
  154. package/dist-types/commands/RestoreFromRecoveryPointCommand.d.ts +6 -21
  155. package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +6 -21
  156. package/dist-types/commands/RestoreTableFromRecoveryPointCommand.d.ts +6 -21
  157. package/dist-types/commands/RestoreTableFromSnapshotCommand.d.ts +6 -21
  158. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  159. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  160. package/dist-types/commands/UpdateCustomDomainAssociationCommand.d.ts +6 -21
  161. package/dist-types/commands/UpdateEndpointAccessCommand.d.ts +6 -21
  162. package/dist-types/commands/UpdateNamespaceCommand.d.ts +6 -21
  163. package/dist-types/commands/UpdateScheduledActionCommand.d.ts +6 -21
  164. package/dist-types/commands/UpdateSnapshotCommand.d.ts +6 -21
  165. package/dist-types/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +6 -21
  166. package/dist-types/commands/UpdateUsageLimitCommand.d.ts +6 -21
  167. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +6 -21
  168. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  169. package/dist-types/ts3.4/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/CreateCustomDomainAssociationCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/CreateEndpointAccessCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/CreateScheduledActionCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/CreateSnapshotCopyConfigurationCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/CreateUsageLimitCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/CreateWorkgroupCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DeleteEndpointAccessCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/DeleteScheduledActionCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DeleteSnapshotCopyConfigurationCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/DeleteUsageLimitCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/DeleteWorkgroupCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/GetCredentialsCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/GetCustomDomainAssociationCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/GetEndpointAccessCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/GetRecoveryPointCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/GetScheduledActionCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/GetSnapshotCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/GetTableRestoreStatusCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/GetUsageLimitCommand.d.ts +14 -23
  197. package/dist-types/ts3.4/commands/GetWorkgroupCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/ListCustomDomainAssociationsCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/ListEndpointAccessCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/ListRecoveryPointsCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/ListScheduledActionsCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/ListSnapshotCopyConfigurationsCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/ListSnapshotsCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ListTableRestoreStatusCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/ListUsageLimitsCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/ListWorkgroupsCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/RestoreFromRecoveryPointCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/RestoreTableFromRecoveryPointCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/RestoreTableFromSnapshotCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/UpdateCustomDomainAssociationCommand.d.ts +12 -24
  217. package/dist-types/ts3.4/commands/UpdateEndpointAccessCommand.d.ts +12 -24
  218. package/dist-types/ts3.4/commands/UpdateNamespaceCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/UpdateScheduledActionCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/UpdateSnapshotCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/UpdateSnapshotCopyConfigurationCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/UpdateUsageLimitCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/UpdateWorkgroupCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  225. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteCustomDomainAssociationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCustomDomainAssociationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteCustomDomainAssociationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteCustomDomainAssociation",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteCustomDomainAssociationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteCustomDomainAssociationCommand)(output, context);
49
- }
10
+ class DeleteCustomDomainAssociationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteCustomDomainAssociation", {})
22
+ .n("RedshiftServerlessClient", "DeleteCustomDomainAssociationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteCustomDomainAssociationCommand)
25
+ .de(Aws_json1_1_1.de_DeleteCustomDomainAssociationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteCustomDomainAssociationCommand = DeleteCustomDomainAssociationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteEndpointAccessCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEndpointAccessCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteEndpointAccessCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteEndpointAccess",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteEndpointAccessCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteEndpointAccessCommand)(output, context);
49
- }
10
+ class DeleteEndpointAccessCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteEndpointAccess", {})
22
+ .n("RedshiftServerlessClient", "DeleteEndpointAccessCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteEndpointAccessCommand)
25
+ .de(Aws_json1_1_1.de_DeleteEndpointAccessCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteEndpointAccessCommand = DeleteEndpointAccessCommand;
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const models_0_1 = require("../models/models_0");
10
10
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
11
- class DeleteNamespaceCommand extends smithy_client_1.Command {
12
- static getEndpointParameterInstructions() {
13
- return {
14
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
- Endpoint: { type: "builtInParams", name: "endpoint" },
16
- Region: { type: "builtInParams", name: "region" },
17
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
- };
19
- }
20
- constructor(input) {
21
- super();
22
- this.input = input;
23
- }
24
- resolveMiddleware(clientStack, configuration, options) {
25
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
26
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteNamespaceCommand.getEndpointParameterInstructions()));
27
- const stack = clientStack.concat(this.middlewareStack);
28
- const { logger } = configuration;
29
- const clientName = "RedshiftServerlessClient";
30
- const commandName = "DeleteNamespaceCommand";
31
- const handlerExecutionContext = {
32
- logger,
33
- clientName,
34
- commandName,
35
- inputFilterSensitiveLog: (_) => _,
36
- outputFilterSensitiveLog: models_0_1.DeleteNamespaceResponseFilterSensitiveLog,
37
- [types_1.SMITHY_CONTEXT_KEY]: {
38
- service: "RedshiftServerless",
39
- operation: "DeleteNamespace",
40
- },
41
- };
42
- const { requestHandler } = configuration;
43
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
44
- }
45
- serialize(input, context) {
46
- return (0, Aws_json1_1_1.se_DeleteNamespaceCommand)(input, context);
47
- }
48
- deserialize(output, context) {
49
- return (0, Aws_json1_1_1.de_DeleteNamespaceCommand)(output, context);
50
- }
11
+ class DeleteNamespaceCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep({
14
+ ...EndpointParameters_1.commonParams,
15
+ })
16
+ .m(function (Command, cs, config, o) {
17
+ return [
18
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
19
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
20
+ ];
21
+ })
22
+ .s("RedshiftServerless", "DeleteNamespace", {})
23
+ .n("RedshiftServerlessClient", "DeleteNamespaceCommand")
24
+ .f(void 0, models_0_1.DeleteNamespaceResponseFilterSensitiveLog)
25
+ .ser(Aws_json1_1_1.se_DeleteNamespaceCommand)
26
+ .de(Aws_json1_1_1.de_DeleteNamespaceCommand)
27
+ .build() {
51
28
  }
52
29
  exports.DeleteNamespaceCommand = DeleteNamespaceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteResourcePolicyCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteResourcePolicyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteResourcePolicy",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteResourcePolicyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteResourcePolicyCommand)(output, context);
49
- }
10
+ class DeleteResourcePolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteResourcePolicy", {})
22
+ .n("RedshiftServerlessClient", "DeleteResourcePolicyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteResourcePolicyCommand)
25
+ .de(Aws_json1_1_1.de_DeleteResourcePolicyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteScheduledActionCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteScheduledActionCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteScheduledActionCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteScheduledAction",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteScheduledActionCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteScheduledActionCommand)(output, context);
49
- }
10
+ class DeleteScheduledActionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteScheduledAction", {})
22
+ .n("RedshiftServerlessClient", "DeleteScheduledActionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteScheduledActionCommand)
25
+ .de(Aws_json1_1_1.de_DeleteScheduledActionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteScheduledActionCommand = DeleteScheduledActionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteSnapshotCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSnapshotCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteSnapshotCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteSnapshot",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteSnapshotCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteSnapshotCommand)(output, context);
49
- }
10
+ class DeleteSnapshotCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteSnapshot", {})
22
+ .n("RedshiftServerlessClient", "DeleteSnapshotCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteSnapshotCommand)
25
+ .de(Aws_json1_1_1.de_DeleteSnapshotCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteSnapshotCommand = DeleteSnapshotCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteSnapshotCopyConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteSnapshotCopyConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteSnapshotCopyConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteSnapshotCopyConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteSnapshotCopyConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteSnapshotCopyConfigurationCommand)(output, context);
49
- }
10
+ class DeleteSnapshotCopyConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteSnapshotCopyConfiguration", {})
22
+ .n("RedshiftServerlessClient", "DeleteSnapshotCopyConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteSnapshotCopyConfigurationCommand)
25
+ .de(Aws_json1_1_1.de_DeleteSnapshotCopyConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteSnapshotCopyConfigurationCommand = DeleteSnapshotCopyConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteUsageLimitCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteUsageLimitCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteUsageLimitCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteUsageLimit",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteUsageLimitCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteUsageLimitCommand)(output, context);
49
- }
10
+ class DeleteUsageLimitCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteUsageLimit", {})
22
+ .n("RedshiftServerlessClient", "DeleteUsageLimitCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteUsageLimitCommand)
25
+ .de(Aws_json1_1_1.de_DeleteUsageLimitCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteUsageLimitCommand = DeleteUsageLimitCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteWorkgroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
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
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteWorkgroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "RedshiftServerlessClient";
29
- const commandName = "DeleteWorkgroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "RedshiftServerless",
38
- operation: "DeleteWorkgroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteWorkgroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteWorkgroupCommand)(output, context);
49
- }
10
+ class DeleteWorkgroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("RedshiftServerless", "DeleteWorkgroup", {})
22
+ .n("RedshiftServerlessClient", "DeleteWorkgroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteWorkgroupCommand)
25
+ .de(Aws_json1_1_1.de_DeleteWorkgroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteWorkgroupCommand = DeleteWorkgroupCommand;