@aws-sdk/client-docdb 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 (217) hide show
  1. package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
  2. package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
  3. package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
  4. package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +18 -41
  5. package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +19 -42
  6. package/dist-cjs/commands/CreateDBClusterCommand.js +18 -41
  7. package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +18 -41
  8. package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +18 -41
  9. package/dist-cjs/commands/CreateDBInstanceCommand.js +18 -41
  10. package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +18 -41
  11. package/dist-cjs/commands/CreateEventSubscriptionCommand.js +18 -41
  12. package/dist-cjs/commands/CreateGlobalClusterCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteDBClusterCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteDBInstanceCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteGlobalClusterCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeCertificatesCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeDBClustersCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeDBInstancesCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeEventCategoriesCommand.js +18 -41
  31. package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeGlobalClustersCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
  35. package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
  36. package/dist-cjs/commands/FailoverDBClusterCommand.js +18 -41
  37. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  38. package/dist-cjs/commands/ModifyDBClusterCommand.js +18 -41
  39. package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
  40. package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
  41. package/dist-cjs/commands/ModifyDBInstanceCommand.js +18 -41
  42. package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +18 -41
  43. package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +18 -41
  44. package/dist-cjs/commands/ModifyGlobalClusterCommand.js +18 -41
  45. package/dist-cjs/commands/RebootDBInstanceCommand.js +18 -41
  46. package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +18 -41
  47. package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
  48. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
  49. package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +18 -41
  50. package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
  51. package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
  52. package/dist-cjs/commands/StartDBClusterCommand.js +18 -41
  53. package/dist-cjs/commands/StopDBClusterCommand.js +18 -41
  54. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  55. package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +18 -41
  56. package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
  57. package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +18 -41
  58. package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +18 -41
  59. package/dist-es/commands/CopyDBClusterSnapshotCommand.js +19 -42
  60. package/dist-es/commands/CreateDBClusterCommand.js +18 -41
  61. package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +18 -41
  62. package/dist-es/commands/CreateDBClusterSnapshotCommand.js +18 -41
  63. package/dist-es/commands/CreateDBInstanceCommand.js +18 -41
  64. package/dist-es/commands/CreateDBSubnetGroupCommand.js +18 -41
  65. package/dist-es/commands/CreateEventSubscriptionCommand.js +18 -41
  66. package/dist-es/commands/CreateGlobalClusterCommand.js +18 -41
  67. package/dist-es/commands/DeleteDBClusterCommand.js +18 -41
  68. package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +18 -41
  69. package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +18 -41
  70. package/dist-es/commands/DeleteDBInstanceCommand.js +18 -41
  71. package/dist-es/commands/DeleteDBSubnetGroupCommand.js +18 -41
  72. package/dist-es/commands/DeleteEventSubscriptionCommand.js +18 -41
  73. package/dist-es/commands/DeleteGlobalClusterCommand.js +18 -41
  74. package/dist-es/commands/DescribeCertificatesCommand.js +18 -41
  75. package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +18 -41
  76. package/dist-es/commands/DescribeDBClusterParametersCommand.js +18 -41
  77. package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +18 -41
  78. package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +18 -41
  79. package/dist-es/commands/DescribeDBClustersCommand.js +18 -41
  80. package/dist-es/commands/DescribeDBEngineVersionsCommand.js +18 -41
  81. package/dist-es/commands/DescribeDBInstancesCommand.js +18 -41
  82. package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +18 -41
  83. package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +18 -41
  84. package/dist-es/commands/DescribeEventCategoriesCommand.js +18 -41
  85. package/dist-es/commands/DescribeEventSubscriptionsCommand.js +18 -41
  86. package/dist-es/commands/DescribeEventsCommand.js +18 -41
  87. package/dist-es/commands/DescribeGlobalClustersCommand.js +18 -41
  88. package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +18 -41
  89. package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +18 -41
  90. package/dist-es/commands/FailoverDBClusterCommand.js +18 -41
  91. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  92. package/dist-es/commands/ModifyDBClusterCommand.js +18 -41
  93. package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +18 -41
  94. package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +18 -41
  95. package/dist-es/commands/ModifyDBInstanceCommand.js +18 -41
  96. package/dist-es/commands/ModifyDBSubnetGroupCommand.js +18 -41
  97. package/dist-es/commands/ModifyEventSubscriptionCommand.js +18 -41
  98. package/dist-es/commands/ModifyGlobalClusterCommand.js +18 -41
  99. package/dist-es/commands/RebootDBInstanceCommand.js +18 -41
  100. package/dist-es/commands/RemoveFromGlobalClusterCommand.js +18 -41
  101. package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +18 -41
  102. package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
  103. package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +18 -41
  104. package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +18 -41
  105. package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +18 -41
  106. package/dist-es/commands/StartDBClusterCommand.js +18 -41
  107. package/dist-es/commands/StopDBClusterCommand.js +18 -41
  108. package/dist-es/endpoint/EndpointParameters.js +6 -0
  109. package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +6 -21
  110. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
  111. package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +6 -21
  112. package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +6 -21
  113. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateDBClusterCommand.d.ts +6 -21
  115. package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +6 -21
  116. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +6 -21
  117. package/dist-types/commands/CreateDBInstanceCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateGlobalClusterCommand.d.ts +6 -21
  121. package/dist-types/commands/DeleteDBClusterCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +6 -21
  123. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +6 -21
  124. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeCertificatesCommand.d.ts +6 -21
  129. package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +6 -21
  130. package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +6 -21
  131. package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +6 -21
  132. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeDBClustersCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +6 -21
  136. package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +6 -21
  139. package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +6 -21
  140. package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
  141. package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +6 -21
  142. package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +6 -21
  143. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +6 -21
  144. package/dist-types/commands/FailoverDBClusterCommand.d.ts +6 -21
  145. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  146. package/dist-types/commands/ModifyDBClusterCommand.d.ts +6 -21
  147. package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +6 -21
  148. package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +6 -21
  149. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +6 -21
  150. package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +6 -21
  151. package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +6 -21
  152. package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +6 -21
  153. package/dist-types/commands/RebootDBInstanceCommand.d.ts +6 -21
  154. package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +6 -21
  155. package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +6 -21
  156. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
  157. package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +6 -21
  158. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +6 -21
  159. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +6 -21
  160. package/dist-types/commands/StartDBClusterCommand.d.ts +6 -21
  161. package/dist-types/commands/StopDBClusterCommand.d.ts +6 -21
  162. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  163. package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +12 -24
  166. package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +12 -24
  167. package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +12 -24
  170. package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  217. 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_query_1 = require("../protocols/Aws_query");
10
- class DescribeDBSubnetGroupsCommand 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, DescribeDBSubnetGroupsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribeDBSubnetGroupsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribeDBSubnetGroups",
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_query_1.se_DescribeDBSubnetGroupsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribeDBSubnetGroupsCommand)(output, context);
49
- }
10
+ class DescribeDBSubnetGroupsCommand 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("AmazonRDSv19", "DescribeDBSubnetGroups", {})
22
+ .n("DocDBClient", "DescribeDBSubnetGroupsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribeDBSubnetGroupsCommand)
25
+ .de(Aws_query_1.de_DescribeDBSubnetGroupsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeDBSubnetGroupsCommand = DescribeDBSubnetGroupsCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class DescribeEngineDefaultClusterParametersCommand 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, DescribeEngineDefaultClusterParametersCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribeEngineDefaultClusterParametersCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribeEngineDefaultClusterParameters",
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_query_1.se_DescribeEngineDefaultClusterParametersCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribeEngineDefaultClusterParametersCommand)(output, context);
49
- }
10
+ class DescribeEngineDefaultClusterParametersCommand 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("AmazonRDSv19", "DescribeEngineDefaultClusterParameters", {})
22
+ .n("DocDBClient", "DescribeEngineDefaultClusterParametersCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribeEngineDefaultClusterParametersCommand)
25
+ .de(Aws_query_1.de_DescribeEngineDefaultClusterParametersCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeEngineDefaultClusterParametersCommand = DescribeEngineDefaultClusterParametersCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class DescribeEventCategoriesCommand 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, DescribeEventCategoriesCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribeEventCategoriesCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribeEventCategories",
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_query_1.se_DescribeEventCategoriesCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribeEventCategoriesCommand)(output, context);
49
- }
10
+ class DescribeEventCategoriesCommand 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("AmazonRDSv19", "DescribeEventCategories", {})
22
+ .n("DocDBClient", "DescribeEventCategoriesCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribeEventCategoriesCommand)
25
+ .de(Aws_query_1.de_DescribeEventCategoriesCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeEventCategoriesCommand = DescribeEventCategoriesCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class DescribeEventSubscriptionsCommand 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, DescribeEventSubscriptionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribeEventSubscriptionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribeEventSubscriptions",
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_query_1.se_DescribeEventSubscriptionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribeEventSubscriptionsCommand)(output, context);
49
- }
10
+ class DescribeEventSubscriptionsCommand 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("AmazonRDSv19", "DescribeEventSubscriptions", {})
22
+ .n("DocDBClient", "DescribeEventSubscriptionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribeEventSubscriptionsCommand)
25
+ .de(Aws_query_1.de_DescribeEventSubscriptionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeEventSubscriptionsCommand = DescribeEventSubscriptionsCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class DescribeEventsCommand 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, DescribeEventsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribeEventsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribeEvents",
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_query_1.se_DescribeEventsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribeEventsCommand)(output, context);
49
- }
10
+ class DescribeEventsCommand 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("AmazonRDSv19", "DescribeEvents", {})
22
+ .n("DocDBClient", "DescribeEventsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribeEventsCommand)
25
+ .de(Aws_query_1.de_DescribeEventsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeEventsCommand = DescribeEventsCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class DescribeGlobalClustersCommand 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, DescribeGlobalClustersCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribeGlobalClustersCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribeGlobalClusters",
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_query_1.se_DescribeGlobalClustersCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribeGlobalClustersCommand)(output, context);
49
- }
10
+ class DescribeGlobalClustersCommand 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("AmazonRDSv19", "DescribeGlobalClusters", {})
22
+ .n("DocDBClient", "DescribeGlobalClustersCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribeGlobalClustersCommand)
25
+ .de(Aws_query_1.de_DescribeGlobalClustersCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeGlobalClustersCommand = DescribeGlobalClustersCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class DescribeOrderableDBInstanceOptionsCommand 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, DescribeOrderableDBInstanceOptionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribeOrderableDBInstanceOptionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribeOrderableDBInstanceOptions",
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_query_1.se_DescribeOrderableDBInstanceOptionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribeOrderableDBInstanceOptionsCommand)(output, context);
49
- }
10
+ class DescribeOrderableDBInstanceOptionsCommand 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("AmazonRDSv19", "DescribeOrderableDBInstanceOptions", {})
22
+ .n("DocDBClient", "DescribeOrderableDBInstanceOptionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribeOrderableDBInstanceOptionsCommand)
25
+ .de(Aws_query_1.de_DescribeOrderableDBInstanceOptionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribeOrderableDBInstanceOptionsCommand = DescribeOrderableDBInstanceOptionsCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class DescribePendingMaintenanceActionsCommand 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, DescribePendingMaintenanceActionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "DescribePendingMaintenanceActionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "DescribePendingMaintenanceActions",
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_query_1.se_DescribePendingMaintenanceActionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_DescribePendingMaintenanceActionsCommand)(output, context);
49
- }
10
+ class DescribePendingMaintenanceActionsCommand 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("AmazonRDSv19", "DescribePendingMaintenanceActions", {})
22
+ .n("DocDBClient", "DescribePendingMaintenanceActionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_DescribePendingMaintenanceActionsCommand)
25
+ .de(Aws_query_1.de_DescribePendingMaintenanceActionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DescribePendingMaintenanceActionsCommand = DescribePendingMaintenanceActionsCommand;
@@ -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_query_1 = require("../protocols/Aws_query");
10
- class FailoverDBClusterCommand 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, FailoverDBClusterCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "DocDBClient";
29
- const commandName = "FailoverDBClusterCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonRDSv19",
38
- operation: "FailoverDBCluster",
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_query_1.se_FailoverDBClusterCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_query_1.de_FailoverDBClusterCommand)(output, context);
49
- }
10
+ class FailoverDBClusterCommand 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("AmazonRDSv19", "FailoverDBCluster", {})
22
+ .n("DocDBClient", "FailoverDBClusterCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_query_1.se_FailoverDBClusterCommand)
25
+ .de(Aws_query_1.de_FailoverDBClusterCommand)
26
+ .build() {
50
27
  }
51
28
  exports.FailoverDBClusterCommand = FailoverDBClusterCommand;