@aws-sdk/client-rds 3.216.0 → 3.218.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 (63) hide show
  1. package/dist-cjs/RDS.js +60 -0
  2. package/dist-cjs/commands/CreateBlueGreenDeploymentCommand.js +46 -0
  3. package/dist-cjs/commands/DeleteBlueGreenDeploymentCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeBlueGreenDeploymentsCommand.js +46 -0
  5. package/dist-cjs/commands/DescribeDBProxyTargetGroupsCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeDBProxyTargetsCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeDBSecurityGroupsCommand.js +3 -3
  8. package/dist-cjs/commands/SwitchoverBlueGreenDeploymentCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +4 -0
  10. package/dist-cjs/endpoint/ruleset.js +1 -1
  11. package/dist-cjs/models/models_0.js +150 -115
  12. package/dist-cjs/models/models_1.js +78 -4
  13. package/dist-cjs/pagination/DescribeBlueGreenDeploymentsPaginator.js +36 -0
  14. package/dist-cjs/pagination/index.js +2 -1
  15. package/dist-cjs/protocols/Aws_query.js +544 -6
  16. package/dist-es/RDS.js +60 -0
  17. package/dist-es/commands/CreateBlueGreenDeploymentCommand.js +42 -0
  18. package/dist-es/commands/DeleteBlueGreenDeploymentCommand.js +42 -0
  19. package/dist-es/commands/DescribeBlueGreenDeploymentsCommand.js +42 -0
  20. package/dist-es/commands/DescribeDBProxyTargetGroupsCommand.js +1 -1
  21. package/dist-es/commands/DescribeDBProxyTargetsCommand.js +1 -1
  22. package/dist-es/commands/DescribeDBSecurityGroupsCommand.js +1 -1
  23. package/dist-es/commands/SwitchoverBlueGreenDeploymentCommand.js +42 -0
  24. package/dist-es/commands/index.js +4 -0
  25. package/dist-es/endpoint/ruleset.js +1 -1
  26. package/dist-es/models/models_0.js +126 -95
  27. package/dist-es/models/models_1.js +62 -0
  28. package/dist-es/pagination/DescribeBlueGreenDeploymentsPaginator.js +32 -0
  29. package/dist-es/pagination/index.js +2 -1
  30. package/dist-es/protocols/Aws_query.js +531 -1
  31. package/dist-types/RDS.d.ts +59 -0
  32. package/dist-types/RDSClient.d.ts +6 -2
  33. package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +51 -0
  34. package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +42 -0
  35. package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +42 -0
  36. package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  39. package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +44 -0
  40. package/dist-types/commands/index.d.ts +4 -0
  41. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  42. package/dist-types/models/models_0.d.ts +516 -431
  43. package/dist-types/models/models_1.d.ts +370 -1
  44. package/dist-types/pagination/DescribeBlueGreenDeploymentsPaginator.d.ts +4 -0
  45. package/dist-types/pagination/index.d.ts +2 -1
  46. package/dist-types/protocols/Aws_query.d.ts +12 -0
  47. package/dist-types/ts3.4/RDS.d.ts +68 -0
  48. package/dist-types/ts3.4/RDSClient.d.ts +24 -0
  49. package/dist-types/ts3.4/commands/CreateBlueGreenDeploymentCommand.d.ts +41 -0
  50. package/dist-types/ts3.4/commands/DeleteBlueGreenDeploymentCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/DescribeBlueGreenDeploymentsCommand.d.ts +41 -0
  52. package/dist-types/ts3.4/commands/DescribeDBProxyTargetGroupsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeDBProxyTargetsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +41 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  57. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  58. package/dist-types/ts3.4/models/models_0.d.ts +153 -143
  59. package/dist-types/ts3.4/models/models_1.d.ts +128 -2
  60. package/dist-types/ts3.4/pagination/DescribeBlueGreenDeploymentsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/index.d.ts +2 -1
  62. package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
  63. package/package.json +3 -3
package/dist-cjs/RDS.js CHANGED
@@ -14,6 +14,7 @@ const CopyDBClusterSnapshotCommand_1 = require("./commands/CopyDBClusterSnapshot
14
14
  const CopyDBParameterGroupCommand_1 = require("./commands/CopyDBParameterGroupCommand");
15
15
  const CopyDBSnapshotCommand_1 = require("./commands/CopyDBSnapshotCommand");
16
16
  const CopyOptionGroupCommand_1 = require("./commands/CopyOptionGroupCommand");
17
+ const CreateBlueGreenDeploymentCommand_1 = require("./commands/CreateBlueGreenDeploymentCommand");
17
18
  const CreateCustomDBEngineVersionCommand_1 = require("./commands/CreateCustomDBEngineVersionCommand");
18
19
  const CreateDBClusterCommand_1 = require("./commands/CreateDBClusterCommand");
19
20
  const CreateDBClusterEndpointCommand_1 = require("./commands/CreateDBClusterEndpointCommand");
@@ -30,6 +31,7 @@ const CreateDBSubnetGroupCommand_1 = require("./commands/CreateDBSubnetGroupComm
30
31
  const CreateEventSubscriptionCommand_1 = require("./commands/CreateEventSubscriptionCommand");
31
32
  const CreateGlobalClusterCommand_1 = require("./commands/CreateGlobalClusterCommand");
32
33
  const CreateOptionGroupCommand_1 = require("./commands/CreateOptionGroupCommand");
34
+ const DeleteBlueGreenDeploymentCommand_1 = require("./commands/DeleteBlueGreenDeploymentCommand");
33
35
  const DeleteCustomDBEngineVersionCommand_1 = require("./commands/DeleteCustomDBEngineVersionCommand");
34
36
  const DeleteDBClusterCommand_1 = require("./commands/DeleteDBClusterCommand");
35
37
  const DeleteDBClusterEndpointCommand_1 = require("./commands/DeleteDBClusterEndpointCommand");
@@ -48,6 +50,7 @@ const DeleteGlobalClusterCommand_1 = require("./commands/DeleteGlobalClusterComm
48
50
  const DeleteOptionGroupCommand_1 = require("./commands/DeleteOptionGroupCommand");
49
51
  const DeregisterDBProxyTargetsCommand_1 = require("./commands/DeregisterDBProxyTargetsCommand");
50
52
  const DescribeAccountAttributesCommand_1 = require("./commands/DescribeAccountAttributesCommand");
53
+ const DescribeBlueGreenDeploymentsCommand_1 = require("./commands/DescribeBlueGreenDeploymentsCommand");
51
54
  const DescribeCertificatesCommand_1 = require("./commands/DescribeCertificatesCommand");
52
55
  const DescribeDBClusterBacktracksCommand_1 = require("./commands/DescribeDBClusterBacktracksCommand");
53
56
  const DescribeDBClusterEndpointsCommand_1 = require("./commands/DescribeDBClusterEndpointsCommand");
@@ -137,6 +140,7 @@ const StopActivityStreamCommand_1 = require("./commands/StopActivityStreamComman
137
140
  const StopDBClusterCommand_1 = require("./commands/StopDBClusterCommand");
138
141
  const StopDBInstanceAutomatedBackupsReplicationCommand_1 = require("./commands/StopDBInstanceAutomatedBackupsReplicationCommand");
139
142
  const StopDBInstanceCommand_1 = require("./commands/StopDBInstanceCommand");
143
+ const SwitchoverBlueGreenDeploymentCommand_1 = require("./commands/SwitchoverBlueGreenDeploymentCommand");
140
144
  const SwitchoverReadReplicaCommand_1 = require("./commands/SwitchoverReadReplicaCommand");
141
145
  const RDSClient_1 = require("./RDSClient");
142
146
  class RDS extends RDSClient_1.RDSClient {
@@ -322,6 +326,20 @@ class RDS extends RDSClient_1.RDSClient {
322
326
  return this.send(command, optionsOrCb);
323
327
  }
324
328
  }
329
+ createBlueGreenDeployment(args, optionsOrCb, cb) {
330
+ const command = new CreateBlueGreenDeploymentCommand_1.CreateBlueGreenDeploymentCommand(args);
331
+ if (typeof optionsOrCb === "function") {
332
+ this.send(command, optionsOrCb);
333
+ }
334
+ else if (typeof cb === "function") {
335
+ if (typeof optionsOrCb !== "object")
336
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
337
+ this.send(command, optionsOrCb || {}, cb);
338
+ }
339
+ else {
340
+ return this.send(command, optionsOrCb);
341
+ }
342
+ }
325
343
  createCustomDBEngineVersion(args, optionsOrCb, cb) {
326
344
  const command = new CreateCustomDBEngineVersionCommand_1.CreateCustomDBEngineVersionCommand(args);
327
345
  if (typeof optionsOrCb === "function") {
@@ -546,6 +564,20 @@ class RDS extends RDSClient_1.RDSClient {
546
564
  return this.send(command, optionsOrCb);
547
565
  }
548
566
  }
567
+ deleteBlueGreenDeployment(args, optionsOrCb, cb) {
568
+ const command = new DeleteBlueGreenDeploymentCommand_1.DeleteBlueGreenDeploymentCommand(args);
569
+ if (typeof optionsOrCb === "function") {
570
+ this.send(command, optionsOrCb);
571
+ }
572
+ else if (typeof cb === "function") {
573
+ if (typeof optionsOrCb !== "object")
574
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
575
+ this.send(command, optionsOrCb || {}, cb);
576
+ }
577
+ else {
578
+ return this.send(command, optionsOrCb);
579
+ }
580
+ }
549
581
  deleteCustomDBEngineVersion(args, optionsOrCb, cb) {
550
582
  const command = new DeleteCustomDBEngineVersionCommand_1.DeleteCustomDBEngineVersionCommand(args);
551
583
  if (typeof optionsOrCb === "function") {
@@ -798,6 +830,20 @@ class RDS extends RDSClient_1.RDSClient {
798
830
  return this.send(command, optionsOrCb);
799
831
  }
800
832
  }
833
+ describeBlueGreenDeployments(args, optionsOrCb, cb) {
834
+ const command = new DescribeBlueGreenDeploymentsCommand_1.DescribeBlueGreenDeploymentsCommand(args);
835
+ if (typeof optionsOrCb === "function") {
836
+ this.send(command, optionsOrCb);
837
+ }
838
+ else if (typeof cb === "function") {
839
+ if (typeof optionsOrCb !== "object")
840
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
841
+ this.send(command, optionsOrCb || {}, cb);
842
+ }
843
+ else {
844
+ return this.send(command, optionsOrCb);
845
+ }
846
+ }
801
847
  describeCertificates(args, optionsOrCb, cb) {
802
848
  const command = new DescribeCertificatesCommand_1.DescribeCertificatesCommand(args);
803
849
  if (typeof optionsOrCb === "function") {
@@ -2044,6 +2090,20 @@ class RDS extends RDSClient_1.RDSClient {
2044
2090
  return this.send(command, optionsOrCb);
2045
2091
  }
2046
2092
  }
2093
+ switchoverBlueGreenDeployment(args, optionsOrCb, cb) {
2094
+ const command = new SwitchoverBlueGreenDeploymentCommand_1.SwitchoverBlueGreenDeploymentCommand(args);
2095
+ if (typeof optionsOrCb === "function") {
2096
+ this.send(command, optionsOrCb);
2097
+ }
2098
+ else if (typeof cb === "function") {
2099
+ if (typeof optionsOrCb !== "object")
2100
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
2101
+ this.send(command, optionsOrCb || {}, cb);
2102
+ }
2103
+ else {
2104
+ return this.send(command, optionsOrCb);
2105
+ }
2106
+ }
2047
2107
  switchoverReadReplica(args, optionsOrCb, cb) {
2048
2108
  const command = new SwitchoverReadReplicaCommand_1.SwitchoverReadReplicaCommand(args);
2049
2109
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateBlueGreenDeploymentCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_query_1 = require("../protocols/Aws_query");
9
+ class CreateBlueGreenDeploymentCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateBlueGreenDeploymentCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "RDSClient";
28
+ const commandName = "CreateBlueGreenDeploymentCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.CreateBlueGreenDeploymentRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.CreateBlueGreenDeploymentResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_query_1.serializeAws_queryCreateBlueGreenDeploymentCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_query_1.deserializeAws_queryCreateBlueGreenDeploymentCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CreateBlueGreenDeploymentCommand = CreateBlueGreenDeploymentCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteBlueGreenDeploymentCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_query_1 = require("../protocols/Aws_query");
9
+ class DeleteBlueGreenDeploymentCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBlueGreenDeploymentCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "RDSClient";
28
+ const commandName = "DeleteBlueGreenDeploymentCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DeleteBlueGreenDeploymentRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DeleteBlueGreenDeploymentResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_query_1.serializeAws_queryDeleteBlueGreenDeploymentCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_query_1.deserializeAws_queryDeleteBlueGreenDeploymentCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DeleteBlueGreenDeploymentCommand = DeleteBlueGreenDeploymentCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeBlueGreenDeploymentsCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_0_1 = require("../models/models_0");
8
+ const Aws_query_1 = require("../protocols/Aws_query");
9
+ class DescribeBlueGreenDeploymentsCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeBlueGreenDeploymentsCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "RDSClient";
28
+ const commandName = "DescribeBlueGreenDeploymentsCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_0_1.DescribeBlueGreenDeploymentsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_0_1.DescribeBlueGreenDeploymentsResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_query_1.serializeAws_queryDescribeBlueGreenDeploymentsCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_query_1.deserializeAws_queryDescribeBlueGreenDeploymentsCommand)(output, context);
44
+ }
45
+ }
46
+ exports.DescribeBlueGreenDeploymentsCommand = DescribeBlueGreenDeploymentsCommand;
@@ -4,7 +4,7 @@ exports.DescribeDBProxyTargetGroupsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_query_1 = require("../protocols/Aws_query");
9
9
  class DescribeDBProxyTargetGroupsCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class DescribeDBProxyTargetGroupsCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeDBProxyTargetGroupsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.DescribeDBProxyTargetGroupsResponseFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.DescribeDBProxyTargetGroupsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.DescribeDBProxyTargetGroupsResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,7 @@ exports.DescribeDBProxyTargetsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_query_1 = require("../protocols/Aws_query");
9
9
  class DescribeDBProxyTargetsCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class DescribeDBProxyTargetsCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeDBProxyTargetsRequestFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.DescribeDBProxyTargetsResponseFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.DescribeDBProxyTargetsRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.DescribeDBProxyTargetsResponseFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -4,7 +4,7 @@ exports.DescribeDBSecurityGroupsCommand = void 0;
4
4
  const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
- const models_0_1 = require("../models/models_0");
7
+ const models_1_1 = require("../models/models_1");
8
8
  const Aws_query_1 = require("../protocols/Aws_query");
9
9
  class DescribeDBSecurityGroupsCommand extends smithy_client_1.Command {
10
10
  constructor(input) {
@@ -30,8 +30,8 @@ class DescribeDBSecurityGroupsCommand extends smithy_client_1.Command {
30
30
  logger,
31
31
  clientName,
32
32
  commandName,
33
- inputFilterSensitiveLog: models_0_1.DescribeDBSecurityGroupsMessageFilterSensitiveLog,
34
- outputFilterSensitiveLog: models_0_1.DBSecurityGroupMessageFilterSensitiveLog,
33
+ inputFilterSensitiveLog: models_1_1.DescribeDBSecurityGroupsMessageFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.DBSecurityGroupMessageFilterSensitiveLog,
35
35
  };
36
36
  const { requestHandler } = configuration;
37
37
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SwitchoverBlueGreenDeploymentCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ const models_1_1 = require("../models/models_1");
8
+ const Aws_query_1 = require("../protocols/Aws_query");
9
+ class SwitchoverBlueGreenDeploymentCommand extends smithy_client_1.Command {
10
+ constructor(input) {
11
+ super();
12
+ this.input = input;
13
+ }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SwitchoverBlueGreenDeploymentCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "RDSClient";
28
+ const commandName = "SwitchoverBlueGreenDeploymentCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: models_1_1.SwitchoverBlueGreenDeploymentRequestFilterSensitiveLog,
34
+ outputFilterSensitiveLog: models_1_1.SwitchoverBlueGreenDeploymentResponseFilterSensitiveLog,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_query_1.serializeAws_querySwitchoverBlueGreenDeploymentCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_query_1.deserializeAws_querySwitchoverBlueGreenDeploymentCommand)(output, context);
44
+ }
45
+ }
46
+ exports.SwitchoverBlueGreenDeploymentCommand = SwitchoverBlueGreenDeploymentCommand;
@@ -14,6 +14,7 @@ tslib_1.__exportStar(require("./CopyDBClusterSnapshotCommand"), exports);
14
14
  tslib_1.__exportStar(require("./CopyDBParameterGroupCommand"), exports);
15
15
  tslib_1.__exportStar(require("./CopyDBSnapshotCommand"), exports);
16
16
  tslib_1.__exportStar(require("./CopyOptionGroupCommand"), exports);
17
+ tslib_1.__exportStar(require("./CreateBlueGreenDeploymentCommand"), exports);
17
18
  tslib_1.__exportStar(require("./CreateCustomDBEngineVersionCommand"), exports);
18
19
  tslib_1.__exportStar(require("./CreateDBClusterCommand"), exports);
19
20
  tslib_1.__exportStar(require("./CreateDBClusterEndpointCommand"), exports);
@@ -30,6 +31,7 @@ tslib_1.__exportStar(require("./CreateDBSubnetGroupCommand"), exports);
30
31
  tslib_1.__exportStar(require("./CreateEventSubscriptionCommand"), exports);
31
32
  tslib_1.__exportStar(require("./CreateGlobalClusterCommand"), exports);
32
33
  tslib_1.__exportStar(require("./CreateOptionGroupCommand"), exports);
34
+ tslib_1.__exportStar(require("./DeleteBlueGreenDeploymentCommand"), exports);
33
35
  tslib_1.__exportStar(require("./DeleteCustomDBEngineVersionCommand"), exports);
34
36
  tslib_1.__exportStar(require("./DeleteDBClusterCommand"), exports);
35
37
  tslib_1.__exportStar(require("./DeleteDBClusterEndpointCommand"), exports);
@@ -48,6 +50,7 @@ tslib_1.__exportStar(require("./DeleteGlobalClusterCommand"), exports);
48
50
  tslib_1.__exportStar(require("./DeleteOptionGroupCommand"), exports);
49
51
  tslib_1.__exportStar(require("./DeregisterDBProxyTargetsCommand"), exports);
50
52
  tslib_1.__exportStar(require("./DescribeAccountAttributesCommand"), exports);
53
+ tslib_1.__exportStar(require("./DescribeBlueGreenDeploymentsCommand"), exports);
51
54
  tslib_1.__exportStar(require("./DescribeCertificatesCommand"), exports);
52
55
  tslib_1.__exportStar(require("./DescribeDBClusterBacktracksCommand"), exports);
53
56
  tslib_1.__exportStar(require("./DescribeDBClusterEndpointsCommand"), exports);
@@ -137,4 +140,5 @@ tslib_1.__exportStar(require("./StopActivityStreamCommand"), exports);
137
140
  tslib_1.__exportStar(require("./StopDBClusterCommand"), exports);
138
141
  tslib_1.__exportStar(require("./StopDBInstanceAutomatedBackupsReplicationCommand"), exports);
139
142
  tslib_1.__exportStar(require("./StopDBInstanceCommand"), exports);
143
+ tslib_1.__exportStar(require("./SwitchoverBlueGreenDeploymentCommand"), exports);
140
144
  tslib_1.__exportStar(require("./SwitchoverReadReplicaCommand"), exports);
@@ -6,7 +6,7 @@ exports.ruleSet = {
6
6
  parameters: {
7
7
  Region: {
8
8
  builtIn: "AWS::Region",
9
- required: false,
9
+ required: true,
10
10
  documentation: "The AWS region used to dispatch the request.",
11
11
  type: "String",
12
12
  },