@aws-sdk/client-rds 3.150.0 → 3.156.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 (32) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/RDS.js +15 -0
  3. package/dist-cjs/commands/SwitchoverReadReplicaCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_1.js +9 -1
  6. package/dist-cjs/protocols/Aws_query.js +93 -4
  7. package/dist-es/RDS.js +15 -0
  8. package/dist-es/commands/SwitchoverReadReplicaCommand.js +39 -0
  9. package/dist-es/commands/index.js +1 -0
  10. package/dist-es/models/models_1.js +2 -0
  11. package/dist-es/protocols/Aws_query.js +104 -0
  12. package/dist-types/RDS.d.ts +52 -11
  13. package/dist-types/RDSClient.d.ts +3 -2
  14. package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +9 -4
  15. package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +6 -1
  16. package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +6 -4
  17. package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +6 -1
  18. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +7 -0
  19. package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +10 -1
  20. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +36 -0
  21. package/dist-types/commands/index.d.ts +1 -0
  22. package/dist-types/models/models_0.d.ts +59 -0
  23. package/dist-types/models/models_1.d.ts +130 -0
  24. package/dist-types/protocols/Aws_query.d.ts +3 -0
  25. package/dist-types/ts3.4/RDS.d.ts +5 -0
  26. package/dist-types/ts3.4/RDSClient.d.ts +3 -2
  27. package/dist-types/ts3.4/commands/SwitchoverReadReplicaCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +6 -0
  30. package/dist-types/ts3.4/models/models_1.d.ts +20 -0
  31. package/dist-types/ts3.4/protocols/Aws_query.d.ts +3 -0
  32. package/package.json +4 -4
@@ -1366,6 +1366,16 @@ export var serializeAws_queryStopDBInstanceAutomatedBackupsReplicationCommand =
1366
1366
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
1367
1367
  });
1368
1368
  }); };
1369
+ export var serializeAws_querySwitchoverReadReplicaCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
1370
+ var headers, body;
1371
+ return __generator(this, function (_a) {
1372
+ headers = {
1373
+ "content-type": "application/x-www-form-urlencoded",
1374
+ };
1375
+ body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_querySwitchoverReadReplicaMessage(input, context)), { Action: "SwitchoverReadReplica", Version: "2014-10-31" }));
1376
+ return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
1377
+ });
1378
+ }); };
1369
1379
  export var deserializeAws_queryAddRoleToDBClusterCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
1370
1380
  var response;
1371
1381
  return __generator(this, function (_a) {
@@ -9864,6 +9874,61 @@ var deserializeAws_queryStopDBInstanceAutomatedBackupsReplicationCommandError =
9864
9874
  }
9865
9875
  });
9866
9876
  }); };
9877
+ export var deserializeAws_querySwitchoverReadReplicaCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9878
+ var data, contents, response;
9879
+ return __generator(this, function (_a) {
9880
+ switch (_a.label) {
9881
+ case 0:
9882
+ if (output.statusCode >= 300) {
9883
+ return [2, deserializeAws_querySwitchoverReadReplicaCommandError(output, context)];
9884
+ }
9885
+ return [4, parseBody(output.body, context)];
9886
+ case 1:
9887
+ data = _a.sent();
9888
+ contents = {};
9889
+ contents = deserializeAws_querySwitchoverReadReplicaResult(data.SwitchoverReadReplicaResult, context);
9890
+ response = __assign({ $metadata: deserializeMetadata(output) }, contents);
9891
+ return [2, Promise.resolve(response)];
9892
+ }
9893
+ });
9894
+ }); };
9895
+ var deserializeAws_querySwitchoverReadReplicaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
9896
+ var parsedOutput, _a, errorCode, _b, parsedBody;
9897
+ var _c;
9898
+ return __generator(this, function (_d) {
9899
+ switch (_d.label) {
9900
+ case 0:
9901
+ _a = [__assign({}, output)];
9902
+ _c = {};
9903
+ return [4, parseBody(output.body, context)];
9904
+ case 1:
9905
+ parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
9906
+ errorCode = loadQueryErrorCode(output, parsedOutput.body);
9907
+ _b = errorCode;
9908
+ switch (_b) {
9909
+ case "DBInstanceNotFoundFault": return [3, 2];
9910
+ case "com.amazonaws.rds#DBInstanceNotFoundFault": return [3, 2];
9911
+ case "InvalidDBInstanceStateFault": return [3, 4];
9912
+ case "com.amazonaws.rds#InvalidDBInstanceStateFault": return [3, 4];
9913
+ }
9914
+ return [3, 6];
9915
+ case 2: return [4, deserializeAws_queryDBInstanceNotFoundFaultResponse(parsedOutput, context)];
9916
+ case 3: throw _d.sent();
9917
+ case 4: return [4, deserializeAws_queryInvalidDBInstanceStateFaultResponse(parsedOutput, context)];
9918
+ case 5: throw _d.sent();
9919
+ case 6:
9920
+ parsedBody = parsedOutput.body;
9921
+ throwDefaultError({
9922
+ output: output,
9923
+ parsedBody: parsedBody.Error,
9924
+ exceptionCtor: __BaseException,
9925
+ errorCode: errorCode,
9926
+ });
9927
+ _d.label = 7;
9928
+ case 7: return [2];
9929
+ }
9930
+ });
9931
+ }); };
9867
9932
  var deserializeAws_queryAuthorizationAlreadyExistsFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
9868
9933
  var body, deserialized, exception;
9869
9934
  return __generator(this, function (_a) {
@@ -11482,6 +11547,9 @@ var serializeAws_queryCreateDBClusterMessage = function (input, context) {
11482
11547
  entries[loc] = value;
11483
11548
  });
11484
11549
  }
11550
+ if (input.NetworkType != null) {
11551
+ entries["NetworkType"] = input.NetworkType;
11552
+ }
11485
11553
  return entries;
11486
11554
  };
11487
11555
  var serializeAws_queryCreateDBClusterParameterGroupMessage = function (input, context) {
@@ -13589,6 +13657,9 @@ var serializeAws_queryModifyDBClusterMessage = function (input, context) {
13589
13657
  entries[loc] = value;
13590
13658
  });
13591
13659
  }
13660
+ if (input.NetworkType != null) {
13661
+ entries["NetworkType"] = input.NetworkType;
13662
+ }
13592
13663
  return entries;
13593
13664
  };
13594
13665
  var serializeAws_queryModifyDBClusterParameterGroupMessage = function (input, context) {
@@ -14573,6 +14644,9 @@ var serializeAws_queryRestoreDBClusterFromS3Message = function (input, context)
14573
14644
  entries[loc] = value;
14574
14645
  });
14575
14646
  }
14647
+ if (input.NetworkType != null) {
14648
+ entries["NetworkType"] = input.NetworkType;
14649
+ }
14576
14650
  return entries;
14577
14651
  };
14578
14652
  var serializeAws_queryRestoreDBClusterFromSnapshotMessage = function (input, context) {
@@ -14688,6 +14762,9 @@ var serializeAws_queryRestoreDBClusterFromSnapshotMessage = function (input, con
14688
14762
  entries[loc] = value;
14689
14763
  });
14690
14764
  }
14765
+ if (input.NetworkType != null) {
14766
+ entries["NetworkType"] = input.NetworkType;
14767
+ }
14691
14768
  return entries;
14692
14769
  };
14693
14770
  var serializeAws_queryRestoreDBClusterToPointInTimeMessage = function (input, context) {
@@ -14795,6 +14872,9 @@ var serializeAws_queryRestoreDBClusterToPointInTimeMessage = function (input, co
14795
14872
  entries[loc] = value;
14796
14873
  });
14797
14874
  }
14875
+ if (input.NetworkType != null) {
14876
+ entries["NetworkType"] = input.NetworkType;
14877
+ }
14798
14878
  return entries;
14799
14879
  };
14800
14880
  var serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = function (input, context) {
@@ -15449,6 +15529,13 @@ var serializeAws_querySubnetIdentifierList = function (input, context) {
15449
15529
  }
15450
15530
  return entries;
15451
15531
  };
15532
+ var serializeAws_querySwitchoverReadReplicaMessage = function (input, context) {
15533
+ var entries = {};
15534
+ if (input.DBInstanceIdentifier != null) {
15535
+ entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
15536
+ }
15537
+ return entries;
15538
+ };
15452
15539
  var serializeAws_queryTag = function (input, context) {
15453
15540
  var entries = {};
15454
15541
  if (input.Key != null) {
@@ -16127,6 +16214,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
16127
16214
  PerformanceInsightsKMSKeyId: undefined,
16128
16215
  PerformanceInsightsRetentionPeriod: undefined,
16129
16216
  ServerlessV2ScalingConfiguration: undefined,
16217
+ NetworkType: undefined,
16130
16218
  };
16131
16219
  if (output["AllocatedStorage"] !== undefined) {
16132
16220
  contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]);
@@ -16368,6 +16456,9 @@ var deserializeAws_queryDBCluster = function (output, context) {
16368
16456
  if (output["ServerlessV2ScalingConfiguration"] !== undefined) {
16369
16457
  contents.ServerlessV2ScalingConfiguration = deserializeAws_queryServerlessV2ScalingConfigurationInfo(output["ServerlessV2ScalingConfiguration"], context);
16370
16458
  }
16459
+ if (output["NetworkType"] !== undefined) {
16460
+ contents.NetworkType = __expectString(output["NetworkType"]);
16461
+ }
16371
16462
  return contents;
16372
16463
  };
16373
16464
  var deserializeAws_queryDBClusterAlreadyExistsFault = function (output, context) {
@@ -18355,6 +18446,7 @@ var deserializeAws_queryDBSnapshot = function (output, context) {
18355
18446
  DbiResourceId: undefined,
18356
18447
  TagList: undefined,
18357
18448
  OriginalSnapshotCreateTime: undefined,
18449
+ SnapshotDatabaseTime: undefined,
18358
18450
  SnapshotTarget: undefined,
18359
18451
  };
18360
18452
  if (output["DBSnapshotIdentifier"] !== undefined) {
@@ -18454,6 +18546,9 @@ var deserializeAws_queryDBSnapshot = function (output, context) {
18454
18546
  if (output["OriginalSnapshotCreateTime"] !== undefined) {
18455
18547
  contents.OriginalSnapshotCreateTime = __expectNonNull(__parseRfc3339DateTime(output["OriginalSnapshotCreateTime"]));
18456
18548
  }
18549
+ if (output["SnapshotDatabaseTime"] !== undefined) {
18550
+ contents.SnapshotDatabaseTime = __expectNonNull(__parseRfc3339DateTime(output["SnapshotDatabaseTime"]));
18551
+ }
18457
18552
  if (output["SnapshotTarget"] !== undefined) {
18458
18553
  contents.SnapshotTarget = __expectString(output["SnapshotTarget"]);
18459
18554
  }
@@ -21656,6 +21751,15 @@ var deserializeAws_querySupportedTimezonesList = function (output, context) {
21656
21751
  return deserializeAws_queryTimezone(entry, context);
21657
21752
  });
21658
21753
  };
21754
+ var deserializeAws_querySwitchoverReadReplicaResult = function (output, context) {
21755
+ var contents = {
21756
+ DBInstance: undefined,
21757
+ };
21758
+ if (output["DBInstance"] !== undefined) {
21759
+ contents.DBInstance = deserializeAws_queryDBInstance(output["DBInstance"], context);
21760
+ }
21761
+ return contents;
21762
+ };
21659
21763
  var deserializeAws_queryTag = function (output, context) {
21660
21764
  var contents = {
21661
21765
  Key: undefined,
@@ -135,6 +135,7 @@ import { StopActivityStreamCommandInput, StopActivityStreamCommandOutput } from
135
135
  import { StopDBClusterCommandInput, StopDBClusterCommandOutput } from "./commands/StopDBClusterCommand";
136
136
  import { StopDBInstanceAutomatedBackupsReplicationCommandInput, StopDBInstanceAutomatedBackupsReplicationCommandOutput } from "./commands/StopDBInstanceAutomatedBackupsReplicationCommand";
137
137
  import { StopDBInstanceCommandInput, StopDBInstanceCommandOutput } from "./commands/StopDBInstanceCommand";
138
+ import { SwitchoverReadReplicaCommandInput, SwitchoverReadReplicaCommandOutput } from "./commands/SwitchoverReadReplicaCommand";
138
139
  import { RDSClient } from "./RDSClient";
139
140
  /**
140
141
  * <fullname>Amazon Relational Database Service</fullname>
@@ -235,12 +236,17 @@ export declare class RDS extends RDSClient {
235
236
  * instances. Second, IP ranges are available if the application accessing your database is running on the internet.
236
237
  * Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId
237
238
  * and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).</p>
238
- * <note>
239
- * <p>You can't authorize ingress from an EC2 security group in one Amazon Web Services Region to an Amazon RDS DB instance in
240
- * another. You can't authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.</p>
241
- * </note>
239
+ * <p>You can't authorize ingress from an EC2 security group in one Amazon Web Services Region to an Amazon RDS DB instance in
240
+ * another. You can't authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.</p>
242
241
  * <p>For an overview of CIDR ranges, go to the
243
242
  * <a href="http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Wikipedia Tutorial</a>.</p>
243
+ * <note>
244
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
245
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
246
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
247
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
248
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
249
+ * </note>
244
250
  */
245
251
  authorizeDBSecurityGroupIngress(args: AuthorizeDBSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<AuthorizeDBSecurityGroupIngressCommandOutput>;
246
252
  authorizeDBSecurityGroupIngress(args: AuthorizeDBSecurityGroupIngressCommandInput, cb: (err: any, data?: AuthorizeDBSecurityGroupIngressCommandOutput) => void): void;
@@ -515,8 +521,13 @@ export declare class RDS extends RDSClient {
515
521
  createDBProxyEndpoint(args: CreateDBProxyEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDBProxyEndpointCommandOutput) => void): void;
516
522
  /**
517
523
  * <p>Creates a new DB security group. DB security groups control access to a DB instance.</p>
524
+ * <p>A DB security group controls access to EC2-Classic DB instances that are not in a VPC.</p>
518
525
  * <note>
519
- * <p>A DB security group controls access to EC2-Classic DB instances that are not in a VPC.</p>
526
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
527
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
528
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
529
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
530
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
520
531
  * </note>
521
532
  */
522
533
  createDBSecurityGroup(args: CreateDBSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateDBSecurityGroupCommandOutput>;
@@ -554,10 +565,12 @@ export declare class RDS extends RDSClient {
554
565
  * you receive notice of the events for that source type for all your RDS sources. If you
555
566
  * don't specify either the SourceType or the <code>SourceIds</code>, you are notified of events
556
567
  * generated from all RDS sources belonging to your customer account.</p>
557
- * <note>
558
- * <p>RDS event notification is only available for unencrypted SNS topics. If you specify an
559
- * encrypted SNS topic, event notifications aren't sent for the topic.</p>
560
- * </note>
568
+ * <p>For more information about subscribing to an event for RDS DB engines, see
569
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Subscribing.html">
570
+ * Subscribing to Amazon RDS event notification</a> in the <i>Amazon RDS User Guide</i>.</p>
571
+ * <p>For more information about subscribing to an event for Aurora DB engines, see
572
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Subscribing.html">
573
+ * Subscribing to Amazon RDS event notification</a> in the <i>Amazon Aurora User Guide</i>.</p>
561
574
  */
562
575
  createEventSubscription(args: CreateEventSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<CreateEventSubscriptionCommandOutput>;
563
576
  createEventSubscription(args: CreateEventSubscriptionCommandInput, cb: (err: any, data?: CreateEventSubscriptionCommandOutput) => void): void;
@@ -720,8 +733,13 @@ export declare class RDS extends RDSClient {
720
733
  deleteDBProxyEndpoint(args: DeleteDBProxyEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDBProxyEndpointCommandOutput) => void): void;
721
734
  /**
722
735
  * <p>Deletes a DB security group.</p>
736
+ * <p>The specified DB security group must not be associated with any DB instances.</p>
723
737
  * <note>
724
- * <p>The specified DB security group must not be associated with any DB instances.</p>
738
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
739
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
740
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
741
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
742
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
725
743
  * </note>
726
744
  */
727
745
  deleteDBSecurityGroup(args: DeleteDBSecurityGroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDBSecurityGroupCommandOutput>;
@@ -946,6 +964,13 @@ export declare class RDS extends RDSClient {
946
964
  /**
947
965
  * <p>Returns a list of <code>DBSecurityGroup</code> descriptions. If a <code>DBSecurityGroupName</code> is specified,
948
966
  * the list will contain only the descriptions of the specified DB security group.</p>
967
+ * <note>
968
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
969
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
970
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
971
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
972
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
973
+ * </note>
949
974
  */
950
975
  describeDBSecurityGroups(args: DescribeDBSecurityGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDBSecurityGroupsCommandOutput>;
951
976
  describeDBSecurityGroups(args: DescribeDBSecurityGroupsCommandInput, cb: (err: any, data?: DescribeDBSecurityGroupsCommandOutput) => void): void;
@@ -1697,7 +1722,16 @@ export declare class RDS extends RDSClient {
1697
1722
  restoreDBInstanceToPointInTime(args: RestoreDBInstanceToPointInTimeCommandInput, cb: (err: any, data?: RestoreDBInstanceToPointInTimeCommandOutput) => void): void;
1698
1723
  restoreDBInstanceToPointInTime(args: RestoreDBInstanceToPointInTimeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreDBInstanceToPointInTimeCommandOutput) => void): void;
1699
1724
  /**
1700
- * <p>Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).</p>
1725
+ * <p>Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required
1726
+ * parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either
1727
+ * EC2SecurityGroupName or EC2SecurityGroupId).</p>
1728
+ * <note>
1729
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
1730
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
1731
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
1732
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
1733
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
1734
+ * </note>
1701
1735
  */
1702
1736
  revokeDBSecurityGroupIngress(args: RevokeDBSecurityGroupIngressCommandInput, options?: __HttpHandlerOptions): Promise<RevokeDBSecurityGroupIngressCommandOutput>;
1703
1737
  revokeDBSecurityGroupIngress(args: RevokeDBSecurityGroupIngressCommandInput, cb: (err: any, data?: RevokeDBSecurityGroupIngressCommandOutput) => void): void;
@@ -1807,4 +1841,11 @@ export declare class RDS extends RDSClient {
1807
1841
  stopDBInstanceAutomatedBackupsReplication(args: StopDBInstanceAutomatedBackupsReplicationCommandInput, options?: __HttpHandlerOptions): Promise<StopDBInstanceAutomatedBackupsReplicationCommandOutput>;
1808
1842
  stopDBInstanceAutomatedBackupsReplication(args: StopDBInstanceAutomatedBackupsReplicationCommandInput, cb: (err: any, data?: StopDBInstanceAutomatedBackupsReplicationCommandOutput) => void): void;
1809
1843
  stopDBInstanceAutomatedBackupsReplication(args: StopDBInstanceAutomatedBackupsReplicationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopDBInstanceAutomatedBackupsReplicationCommandOutput) => void): void;
1844
+ /**
1845
+ * <p>Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new
1846
+ * primary database. Issue this command in the AWS Region that hosts the current standby database.</p>
1847
+ */
1848
+ switchoverReadReplica(args: SwitchoverReadReplicaCommandInput, options?: __HttpHandlerOptions): Promise<SwitchoverReadReplicaCommandOutput>;
1849
+ switchoverReadReplica(args: SwitchoverReadReplicaCommandInput, cb: (err: any, data?: SwitchoverReadReplicaCommandOutput) => void): void;
1850
+ switchoverReadReplica(args: SwitchoverReadReplicaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SwitchoverReadReplicaCommandOutput) => void): void;
1810
1851
  }
@@ -142,8 +142,9 @@ import { StopActivityStreamCommandInput, StopActivityStreamCommandOutput } from
142
142
  import { StopDBClusterCommandInput, StopDBClusterCommandOutput } from "./commands/StopDBClusterCommand";
143
143
  import { StopDBInstanceAutomatedBackupsReplicationCommandInput, StopDBInstanceAutomatedBackupsReplicationCommandOutput } from "./commands/StopDBInstanceAutomatedBackupsReplicationCommand";
144
144
  import { StopDBInstanceCommandInput, StopDBInstanceCommandOutput } from "./commands/StopDBInstanceCommand";
145
- export declare type ServiceInputTypes = AddRoleToDBClusterCommandInput | AddRoleToDBInstanceCommandInput | AddSourceIdentifierToSubscriptionCommandInput | AddTagsToResourceCommandInput | ApplyPendingMaintenanceActionCommandInput | AuthorizeDBSecurityGroupIngressCommandInput | BacktrackDBClusterCommandInput | CancelExportTaskCommandInput | CopyDBClusterParameterGroupCommandInput | CopyDBClusterSnapshotCommandInput | CopyDBParameterGroupCommandInput | CopyDBSnapshotCommandInput | CopyOptionGroupCommandInput | CreateCustomDBEngineVersionCommandInput | CreateDBClusterCommandInput | CreateDBClusterEndpointCommandInput | CreateDBClusterParameterGroupCommandInput | CreateDBClusterSnapshotCommandInput | CreateDBInstanceCommandInput | CreateDBInstanceReadReplicaCommandInput | CreateDBParameterGroupCommandInput | CreateDBProxyCommandInput | CreateDBProxyEndpointCommandInput | CreateDBSecurityGroupCommandInput | CreateDBSnapshotCommandInput | CreateDBSubnetGroupCommandInput | CreateEventSubscriptionCommandInput | CreateGlobalClusterCommandInput | CreateOptionGroupCommandInput | DeleteCustomDBEngineVersionCommandInput | DeleteDBClusterCommandInput | DeleteDBClusterEndpointCommandInput | DeleteDBClusterParameterGroupCommandInput | DeleteDBClusterSnapshotCommandInput | DeleteDBInstanceAutomatedBackupCommandInput | DeleteDBInstanceCommandInput | DeleteDBParameterGroupCommandInput | DeleteDBProxyCommandInput | DeleteDBProxyEndpointCommandInput | DeleteDBSecurityGroupCommandInput | DeleteDBSnapshotCommandInput | DeleteDBSubnetGroupCommandInput | DeleteEventSubscriptionCommandInput | DeleteGlobalClusterCommandInput | DeleteOptionGroupCommandInput | DeregisterDBProxyTargetsCommandInput | DescribeAccountAttributesCommandInput | DescribeCertificatesCommandInput | DescribeDBClusterBacktracksCommandInput | DescribeDBClusterEndpointsCommandInput | DescribeDBClusterParameterGroupsCommandInput | DescribeDBClusterParametersCommandInput | DescribeDBClusterSnapshotAttributesCommandInput | DescribeDBClusterSnapshotsCommandInput | DescribeDBClustersCommandInput | DescribeDBEngineVersionsCommandInput | DescribeDBInstanceAutomatedBackupsCommandInput | DescribeDBInstancesCommandInput | DescribeDBLogFilesCommandInput | DescribeDBParameterGroupsCommandInput | DescribeDBParametersCommandInput | DescribeDBProxiesCommandInput | DescribeDBProxyEndpointsCommandInput | DescribeDBProxyTargetGroupsCommandInput | DescribeDBProxyTargetsCommandInput | DescribeDBSecurityGroupsCommandInput | DescribeDBSnapshotAttributesCommandInput | DescribeDBSnapshotsCommandInput | DescribeDBSubnetGroupsCommandInput | DescribeEngineDefaultClusterParametersCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeExportTasksCommandInput | DescribeGlobalClustersCommandInput | DescribeOptionGroupOptionsCommandInput | DescribeOptionGroupsCommandInput | DescribeOrderableDBInstanceOptionsCommandInput | DescribePendingMaintenanceActionsCommandInput | DescribeReservedDBInstancesCommandInput | DescribeReservedDBInstancesOfferingsCommandInput | DescribeSourceRegionsCommandInput | DescribeValidDBInstanceModificationsCommandInput | DownloadDBLogFilePortionCommandInput | FailoverDBClusterCommandInput | FailoverGlobalClusterCommandInput | ListTagsForResourceCommandInput | ModifyActivityStreamCommandInput | ModifyCertificatesCommandInput | ModifyCurrentDBClusterCapacityCommandInput | ModifyCustomDBEngineVersionCommandInput | ModifyDBClusterCommandInput | ModifyDBClusterEndpointCommandInput | ModifyDBClusterParameterGroupCommandInput | ModifyDBClusterSnapshotAttributeCommandInput | ModifyDBInstanceCommandInput | ModifyDBParameterGroupCommandInput | ModifyDBProxyCommandInput | ModifyDBProxyEndpointCommandInput | ModifyDBProxyTargetGroupCommandInput | ModifyDBSnapshotAttributeCommandInput | ModifyDBSnapshotCommandInput | ModifyDBSubnetGroupCommandInput | ModifyEventSubscriptionCommandInput | ModifyGlobalClusterCommandInput | ModifyOptionGroupCommandInput | PromoteReadReplicaCommandInput | PromoteReadReplicaDBClusterCommandInput | PurchaseReservedDBInstancesOfferingCommandInput | RebootDBClusterCommandInput | RebootDBInstanceCommandInput | RegisterDBProxyTargetsCommandInput | RemoveFromGlobalClusterCommandInput | RemoveRoleFromDBClusterCommandInput | RemoveRoleFromDBInstanceCommandInput | RemoveSourceIdentifierFromSubscriptionCommandInput | RemoveTagsFromResourceCommandInput | ResetDBClusterParameterGroupCommandInput | ResetDBParameterGroupCommandInput | RestoreDBClusterFromS3CommandInput | RestoreDBClusterFromSnapshotCommandInput | RestoreDBClusterToPointInTimeCommandInput | RestoreDBInstanceFromDBSnapshotCommandInput | RestoreDBInstanceFromS3CommandInput | RestoreDBInstanceToPointInTimeCommandInput | RevokeDBSecurityGroupIngressCommandInput | StartActivityStreamCommandInput | StartDBClusterCommandInput | StartDBInstanceAutomatedBackupsReplicationCommandInput | StartDBInstanceCommandInput | StartExportTaskCommandInput | StopActivityStreamCommandInput | StopDBClusterCommandInput | StopDBInstanceAutomatedBackupsReplicationCommandInput | StopDBInstanceCommandInput;
146
- export declare type ServiceOutputTypes = AddRoleToDBClusterCommandOutput | AddRoleToDBInstanceCommandOutput | AddSourceIdentifierToSubscriptionCommandOutput | AddTagsToResourceCommandOutput | ApplyPendingMaintenanceActionCommandOutput | AuthorizeDBSecurityGroupIngressCommandOutput | BacktrackDBClusterCommandOutput | CancelExportTaskCommandOutput | CopyDBClusterParameterGroupCommandOutput | CopyDBClusterSnapshotCommandOutput | CopyDBParameterGroupCommandOutput | CopyDBSnapshotCommandOutput | CopyOptionGroupCommandOutput | CreateCustomDBEngineVersionCommandOutput | CreateDBClusterCommandOutput | CreateDBClusterEndpointCommandOutput | CreateDBClusterParameterGroupCommandOutput | CreateDBClusterSnapshotCommandOutput | CreateDBInstanceCommandOutput | CreateDBInstanceReadReplicaCommandOutput | CreateDBParameterGroupCommandOutput | CreateDBProxyCommandOutput | CreateDBProxyEndpointCommandOutput | CreateDBSecurityGroupCommandOutput | CreateDBSnapshotCommandOutput | CreateDBSubnetGroupCommandOutput | CreateEventSubscriptionCommandOutput | CreateGlobalClusterCommandOutput | CreateOptionGroupCommandOutput | DeleteCustomDBEngineVersionCommandOutput | DeleteDBClusterCommandOutput | DeleteDBClusterEndpointCommandOutput | DeleteDBClusterParameterGroupCommandOutput | DeleteDBClusterSnapshotCommandOutput | DeleteDBInstanceAutomatedBackupCommandOutput | DeleteDBInstanceCommandOutput | DeleteDBParameterGroupCommandOutput | DeleteDBProxyCommandOutput | DeleteDBProxyEndpointCommandOutput | DeleteDBSecurityGroupCommandOutput | DeleteDBSnapshotCommandOutput | DeleteDBSubnetGroupCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteGlobalClusterCommandOutput | DeleteOptionGroupCommandOutput | DeregisterDBProxyTargetsCommandOutput | DescribeAccountAttributesCommandOutput | DescribeCertificatesCommandOutput | DescribeDBClusterBacktracksCommandOutput | DescribeDBClusterEndpointsCommandOutput | DescribeDBClusterParameterGroupsCommandOutput | DescribeDBClusterParametersCommandOutput | DescribeDBClusterSnapshotAttributesCommandOutput | DescribeDBClusterSnapshotsCommandOutput | DescribeDBClustersCommandOutput | DescribeDBEngineVersionsCommandOutput | DescribeDBInstanceAutomatedBackupsCommandOutput | DescribeDBInstancesCommandOutput | DescribeDBLogFilesCommandOutput | DescribeDBParameterGroupsCommandOutput | DescribeDBParametersCommandOutput | DescribeDBProxiesCommandOutput | DescribeDBProxyEndpointsCommandOutput | DescribeDBProxyTargetGroupsCommandOutput | DescribeDBProxyTargetsCommandOutput | DescribeDBSecurityGroupsCommandOutput | DescribeDBSnapshotAttributesCommandOutput | DescribeDBSnapshotsCommandOutput | DescribeDBSubnetGroupsCommandOutput | DescribeEngineDefaultClusterParametersCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeExportTasksCommandOutput | DescribeGlobalClustersCommandOutput | DescribeOptionGroupOptionsCommandOutput | DescribeOptionGroupsCommandOutput | DescribeOrderableDBInstanceOptionsCommandOutput | DescribePendingMaintenanceActionsCommandOutput | DescribeReservedDBInstancesCommandOutput | DescribeReservedDBInstancesOfferingsCommandOutput | DescribeSourceRegionsCommandOutput | DescribeValidDBInstanceModificationsCommandOutput | DownloadDBLogFilePortionCommandOutput | FailoverDBClusterCommandOutput | FailoverGlobalClusterCommandOutput | ListTagsForResourceCommandOutput | ModifyActivityStreamCommandOutput | ModifyCertificatesCommandOutput | ModifyCurrentDBClusterCapacityCommandOutput | ModifyCustomDBEngineVersionCommandOutput | ModifyDBClusterCommandOutput | ModifyDBClusterEndpointCommandOutput | ModifyDBClusterParameterGroupCommandOutput | ModifyDBClusterSnapshotAttributeCommandOutput | ModifyDBInstanceCommandOutput | ModifyDBParameterGroupCommandOutput | ModifyDBProxyCommandOutput | ModifyDBProxyEndpointCommandOutput | ModifyDBProxyTargetGroupCommandOutput | ModifyDBSnapshotAttributeCommandOutput | ModifyDBSnapshotCommandOutput | ModifyDBSubnetGroupCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyGlobalClusterCommandOutput | ModifyOptionGroupCommandOutput | PromoteReadReplicaCommandOutput | PromoteReadReplicaDBClusterCommandOutput | PurchaseReservedDBInstancesOfferingCommandOutput | RebootDBClusterCommandOutput | RebootDBInstanceCommandOutput | RegisterDBProxyTargetsCommandOutput | RemoveFromGlobalClusterCommandOutput | RemoveRoleFromDBClusterCommandOutput | RemoveRoleFromDBInstanceCommandOutput | RemoveSourceIdentifierFromSubscriptionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetDBClusterParameterGroupCommandOutput | ResetDBParameterGroupCommandOutput | RestoreDBClusterFromS3CommandOutput | RestoreDBClusterFromSnapshotCommandOutput | RestoreDBClusterToPointInTimeCommandOutput | RestoreDBInstanceFromDBSnapshotCommandOutput | RestoreDBInstanceFromS3CommandOutput | RestoreDBInstanceToPointInTimeCommandOutput | RevokeDBSecurityGroupIngressCommandOutput | StartActivityStreamCommandOutput | StartDBClusterCommandOutput | StartDBInstanceAutomatedBackupsReplicationCommandOutput | StartDBInstanceCommandOutput | StartExportTaskCommandOutput | StopActivityStreamCommandOutput | StopDBClusterCommandOutput | StopDBInstanceAutomatedBackupsReplicationCommandOutput | StopDBInstanceCommandOutput;
145
+ import { SwitchoverReadReplicaCommandInput, SwitchoverReadReplicaCommandOutput } from "./commands/SwitchoverReadReplicaCommand";
146
+ export declare type ServiceInputTypes = AddRoleToDBClusterCommandInput | AddRoleToDBInstanceCommandInput | AddSourceIdentifierToSubscriptionCommandInput | AddTagsToResourceCommandInput | ApplyPendingMaintenanceActionCommandInput | AuthorizeDBSecurityGroupIngressCommandInput | BacktrackDBClusterCommandInput | CancelExportTaskCommandInput | CopyDBClusterParameterGroupCommandInput | CopyDBClusterSnapshotCommandInput | CopyDBParameterGroupCommandInput | CopyDBSnapshotCommandInput | CopyOptionGroupCommandInput | CreateCustomDBEngineVersionCommandInput | CreateDBClusterCommandInput | CreateDBClusterEndpointCommandInput | CreateDBClusterParameterGroupCommandInput | CreateDBClusterSnapshotCommandInput | CreateDBInstanceCommandInput | CreateDBInstanceReadReplicaCommandInput | CreateDBParameterGroupCommandInput | CreateDBProxyCommandInput | CreateDBProxyEndpointCommandInput | CreateDBSecurityGroupCommandInput | CreateDBSnapshotCommandInput | CreateDBSubnetGroupCommandInput | CreateEventSubscriptionCommandInput | CreateGlobalClusterCommandInput | CreateOptionGroupCommandInput | DeleteCustomDBEngineVersionCommandInput | DeleteDBClusterCommandInput | DeleteDBClusterEndpointCommandInput | DeleteDBClusterParameterGroupCommandInput | DeleteDBClusterSnapshotCommandInput | DeleteDBInstanceAutomatedBackupCommandInput | DeleteDBInstanceCommandInput | DeleteDBParameterGroupCommandInput | DeleteDBProxyCommandInput | DeleteDBProxyEndpointCommandInput | DeleteDBSecurityGroupCommandInput | DeleteDBSnapshotCommandInput | DeleteDBSubnetGroupCommandInput | DeleteEventSubscriptionCommandInput | DeleteGlobalClusterCommandInput | DeleteOptionGroupCommandInput | DeregisterDBProxyTargetsCommandInput | DescribeAccountAttributesCommandInput | DescribeCertificatesCommandInput | DescribeDBClusterBacktracksCommandInput | DescribeDBClusterEndpointsCommandInput | DescribeDBClusterParameterGroupsCommandInput | DescribeDBClusterParametersCommandInput | DescribeDBClusterSnapshotAttributesCommandInput | DescribeDBClusterSnapshotsCommandInput | DescribeDBClustersCommandInput | DescribeDBEngineVersionsCommandInput | DescribeDBInstanceAutomatedBackupsCommandInput | DescribeDBInstancesCommandInput | DescribeDBLogFilesCommandInput | DescribeDBParameterGroupsCommandInput | DescribeDBParametersCommandInput | DescribeDBProxiesCommandInput | DescribeDBProxyEndpointsCommandInput | DescribeDBProxyTargetGroupsCommandInput | DescribeDBProxyTargetsCommandInput | DescribeDBSecurityGroupsCommandInput | DescribeDBSnapshotAttributesCommandInput | DescribeDBSnapshotsCommandInput | DescribeDBSubnetGroupsCommandInput | DescribeEngineDefaultClusterParametersCommandInput | DescribeEngineDefaultParametersCommandInput | DescribeEventCategoriesCommandInput | DescribeEventSubscriptionsCommandInput | DescribeEventsCommandInput | DescribeExportTasksCommandInput | DescribeGlobalClustersCommandInput | DescribeOptionGroupOptionsCommandInput | DescribeOptionGroupsCommandInput | DescribeOrderableDBInstanceOptionsCommandInput | DescribePendingMaintenanceActionsCommandInput | DescribeReservedDBInstancesCommandInput | DescribeReservedDBInstancesOfferingsCommandInput | DescribeSourceRegionsCommandInput | DescribeValidDBInstanceModificationsCommandInput | DownloadDBLogFilePortionCommandInput | FailoverDBClusterCommandInput | FailoverGlobalClusterCommandInput | ListTagsForResourceCommandInput | ModifyActivityStreamCommandInput | ModifyCertificatesCommandInput | ModifyCurrentDBClusterCapacityCommandInput | ModifyCustomDBEngineVersionCommandInput | ModifyDBClusterCommandInput | ModifyDBClusterEndpointCommandInput | ModifyDBClusterParameterGroupCommandInput | ModifyDBClusterSnapshotAttributeCommandInput | ModifyDBInstanceCommandInput | ModifyDBParameterGroupCommandInput | ModifyDBProxyCommandInput | ModifyDBProxyEndpointCommandInput | ModifyDBProxyTargetGroupCommandInput | ModifyDBSnapshotAttributeCommandInput | ModifyDBSnapshotCommandInput | ModifyDBSubnetGroupCommandInput | ModifyEventSubscriptionCommandInput | ModifyGlobalClusterCommandInput | ModifyOptionGroupCommandInput | PromoteReadReplicaCommandInput | PromoteReadReplicaDBClusterCommandInput | PurchaseReservedDBInstancesOfferingCommandInput | RebootDBClusterCommandInput | RebootDBInstanceCommandInput | RegisterDBProxyTargetsCommandInput | RemoveFromGlobalClusterCommandInput | RemoveRoleFromDBClusterCommandInput | RemoveRoleFromDBInstanceCommandInput | RemoveSourceIdentifierFromSubscriptionCommandInput | RemoveTagsFromResourceCommandInput | ResetDBClusterParameterGroupCommandInput | ResetDBParameterGroupCommandInput | RestoreDBClusterFromS3CommandInput | RestoreDBClusterFromSnapshotCommandInput | RestoreDBClusterToPointInTimeCommandInput | RestoreDBInstanceFromDBSnapshotCommandInput | RestoreDBInstanceFromS3CommandInput | RestoreDBInstanceToPointInTimeCommandInput | RevokeDBSecurityGroupIngressCommandInput | StartActivityStreamCommandInput | StartDBClusterCommandInput | StartDBInstanceAutomatedBackupsReplicationCommandInput | StartDBInstanceCommandInput | StartExportTaskCommandInput | StopActivityStreamCommandInput | StopDBClusterCommandInput | StopDBInstanceAutomatedBackupsReplicationCommandInput | StopDBInstanceCommandInput | SwitchoverReadReplicaCommandInput;
147
+ export declare type ServiceOutputTypes = AddRoleToDBClusterCommandOutput | AddRoleToDBInstanceCommandOutput | AddSourceIdentifierToSubscriptionCommandOutput | AddTagsToResourceCommandOutput | ApplyPendingMaintenanceActionCommandOutput | AuthorizeDBSecurityGroupIngressCommandOutput | BacktrackDBClusterCommandOutput | CancelExportTaskCommandOutput | CopyDBClusterParameterGroupCommandOutput | CopyDBClusterSnapshotCommandOutput | CopyDBParameterGroupCommandOutput | CopyDBSnapshotCommandOutput | CopyOptionGroupCommandOutput | CreateCustomDBEngineVersionCommandOutput | CreateDBClusterCommandOutput | CreateDBClusterEndpointCommandOutput | CreateDBClusterParameterGroupCommandOutput | CreateDBClusterSnapshotCommandOutput | CreateDBInstanceCommandOutput | CreateDBInstanceReadReplicaCommandOutput | CreateDBParameterGroupCommandOutput | CreateDBProxyCommandOutput | CreateDBProxyEndpointCommandOutput | CreateDBSecurityGroupCommandOutput | CreateDBSnapshotCommandOutput | CreateDBSubnetGroupCommandOutput | CreateEventSubscriptionCommandOutput | CreateGlobalClusterCommandOutput | CreateOptionGroupCommandOutput | DeleteCustomDBEngineVersionCommandOutput | DeleteDBClusterCommandOutput | DeleteDBClusterEndpointCommandOutput | DeleteDBClusterParameterGroupCommandOutput | DeleteDBClusterSnapshotCommandOutput | DeleteDBInstanceAutomatedBackupCommandOutput | DeleteDBInstanceCommandOutput | DeleteDBParameterGroupCommandOutput | DeleteDBProxyCommandOutput | DeleteDBProxyEndpointCommandOutput | DeleteDBSecurityGroupCommandOutput | DeleteDBSnapshotCommandOutput | DeleteDBSubnetGroupCommandOutput | DeleteEventSubscriptionCommandOutput | DeleteGlobalClusterCommandOutput | DeleteOptionGroupCommandOutput | DeregisterDBProxyTargetsCommandOutput | DescribeAccountAttributesCommandOutput | DescribeCertificatesCommandOutput | DescribeDBClusterBacktracksCommandOutput | DescribeDBClusterEndpointsCommandOutput | DescribeDBClusterParameterGroupsCommandOutput | DescribeDBClusterParametersCommandOutput | DescribeDBClusterSnapshotAttributesCommandOutput | DescribeDBClusterSnapshotsCommandOutput | DescribeDBClustersCommandOutput | DescribeDBEngineVersionsCommandOutput | DescribeDBInstanceAutomatedBackupsCommandOutput | DescribeDBInstancesCommandOutput | DescribeDBLogFilesCommandOutput | DescribeDBParameterGroupsCommandOutput | DescribeDBParametersCommandOutput | DescribeDBProxiesCommandOutput | DescribeDBProxyEndpointsCommandOutput | DescribeDBProxyTargetGroupsCommandOutput | DescribeDBProxyTargetsCommandOutput | DescribeDBSecurityGroupsCommandOutput | DescribeDBSnapshotAttributesCommandOutput | DescribeDBSnapshotsCommandOutput | DescribeDBSubnetGroupsCommandOutput | DescribeEngineDefaultClusterParametersCommandOutput | DescribeEngineDefaultParametersCommandOutput | DescribeEventCategoriesCommandOutput | DescribeEventSubscriptionsCommandOutput | DescribeEventsCommandOutput | DescribeExportTasksCommandOutput | DescribeGlobalClustersCommandOutput | DescribeOptionGroupOptionsCommandOutput | DescribeOptionGroupsCommandOutput | DescribeOrderableDBInstanceOptionsCommandOutput | DescribePendingMaintenanceActionsCommandOutput | DescribeReservedDBInstancesCommandOutput | DescribeReservedDBInstancesOfferingsCommandOutput | DescribeSourceRegionsCommandOutput | DescribeValidDBInstanceModificationsCommandOutput | DownloadDBLogFilePortionCommandOutput | FailoverDBClusterCommandOutput | FailoverGlobalClusterCommandOutput | ListTagsForResourceCommandOutput | ModifyActivityStreamCommandOutput | ModifyCertificatesCommandOutput | ModifyCurrentDBClusterCapacityCommandOutput | ModifyCustomDBEngineVersionCommandOutput | ModifyDBClusterCommandOutput | ModifyDBClusterEndpointCommandOutput | ModifyDBClusterParameterGroupCommandOutput | ModifyDBClusterSnapshotAttributeCommandOutput | ModifyDBInstanceCommandOutput | ModifyDBParameterGroupCommandOutput | ModifyDBProxyCommandOutput | ModifyDBProxyEndpointCommandOutput | ModifyDBProxyTargetGroupCommandOutput | ModifyDBSnapshotAttributeCommandOutput | ModifyDBSnapshotCommandOutput | ModifyDBSubnetGroupCommandOutput | ModifyEventSubscriptionCommandOutput | ModifyGlobalClusterCommandOutput | ModifyOptionGroupCommandOutput | PromoteReadReplicaCommandOutput | PromoteReadReplicaDBClusterCommandOutput | PurchaseReservedDBInstancesOfferingCommandOutput | RebootDBClusterCommandOutput | RebootDBInstanceCommandOutput | RegisterDBProxyTargetsCommandOutput | RemoveFromGlobalClusterCommandOutput | RemoveRoleFromDBClusterCommandOutput | RemoveRoleFromDBInstanceCommandOutput | RemoveSourceIdentifierFromSubscriptionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetDBClusterParameterGroupCommandOutput | ResetDBParameterGroupCommandOutput | RestoreDBClusterFromS3CommandOutput | RestoreDBClusterFromSnapshotCommandOutput | RestoreDBClusterToPointInTimeCommandOutput | RestoreDBInstanceFromDBSnapshotCommandOutput | RestoreDBInstanceFromS3CommandOutput | RestoreDBInstanceToPointInTimeCommandOutput | RevokeDBSecurityGroupIngressCommandOutput | StartActivityStreamCommandOutput | StartDBClusterCommandOutput | StartDBInstanceAutomatedBackupsReplicationCommandOutput | StartDBInstanceCommandOutput | StartExportTaskCommandOutput | StopActivityStreamCommandOutput | StopDBClusterCommandOutput | StopDBInstanceAutomatedBackupsReplicationCommandOutput | StopDBInstanceCommandOutput | SwitchoverReadReplicaCommandOutput;
147
148
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
148
149
  /**
149
150
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -12,12 +12,17 @@ export interface AuthorizeDBSecurityGroupIngressCommandOutput extends AuthorizeD
12
12
  * instances. Second, IP ranges are available if the application accessing your database is running on the internet.
13
13
  * Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId
14
14
  * and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).</p>
15
- * <note>
16
- * <p>You can't authorize ingress from an EC2 security group in one Amazon Web Services Region to an Amazon RDS DB instance in
17
- * another. You can't authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.</p>
18
- * </note>
15
+ * <p>You can't authorize ingress from an EC2 security group in one Amazon Web Services Region to an Amazon RDS DB instance in
16
+ * another. You can't authorize ingress from a VPC security group in one VPC to an Amazon RDS DB instance in another.</p>
19
17
  * <p>For an overview of CIDR ranges, go to the
20
18
  * <a href="http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">Wikipedia Tutorial</a>.</p>
19
+ * <note>
20
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
21
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
22
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
23
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
24
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
25
+ * </note>
21
26
  * @example
22
27
  * Use a bare-bones client and the command you need to make an API call.
23
28
  * ```javascript
@@ -8,8 +8,13 @@ export interface CreateDBSecurityGroupCommandOutput extends CreateDBSecurityGrou
8
8
  }
9
9
  /**
10
10
  * <p>Creates a new DB security group. DB security groups control access to a DB instance.</p>
11
+ * <p>A DB security group controls access to EC2-Classic DB instances that are not in a VPC.</p>
11
12
  * <note>
12
- * <p>A DB security group controls access to EC2-Classic DB instances that are not in a VPC.</p>
13
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
14
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
15
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
16
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
17
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
13
18
  * </note>
14
19
  * @example
15
20
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,10 +25,12 @@ export interface CreateEventSubscriptionCommandOutput extends CreateEventSubscri
25
25
  * you receive notice of the events for that source type for all your RDS sources. If you
26
26
  * don't specify either the SourceType or the <code>SourceIds</code>, you are notified of events
27
27
  * generated from all RDS sources belonging to your customer account.</p>
28
- * <note>
29
- * <p>RDS event notification is only available for unencrypted SNS topics. If you specify an
30
- * encrypted SNS topic, event notifications aren't sent for the topic.</p>
31
- * </note>
28
+ * <p>For more information about subscribing to an event for RDS DB engines, see
29
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.Subscribing.html">
30
+ * Subscribing to Amazon RDS event notification</a> in the <i>Amazon RDS User Guide</i>.</p>
31
+ * <p>For more information about subscribing to an event for Aurora DB engines, see
32
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Events.Subscribing.html">
33
+ * Subscribing to Amazon RDS event notification</a> in the <i>Amazon Aurora User Guide</i>.</p>
32
34
  * @example
33
35
  * Use a bare-bones client and the command you need to make an API call.
34
36
  * ```javascript
@@ -8,8 +8,13 @@ export interface DeleteDBSecurityGroupCommandOutput extends __MetadataBearer {
8
8
  }
9
9
  /**
10
10
  * <p>Deletes a DB security group.</p>
11
+ * <p>The specified DB security group must not be associated with any DB instances.</p>
11
12
  * <note>
12
- * <p>The specified DB security group must not be associated with any DB instances.</p>
13
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
14
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
15
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
16
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
17
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
13
18
  * </note>
14
19
  * @example
15
20
  * Use a bare-bones client and the command you need to make an API call.
@@ -9,6 +9,13 @@ export interface DescribeDBSecurityGroupsCommandOutput extends DBSecurityGroupMe
9
9
  /**
10
10
  * <p>Returns a list of <code>DBSecurityGroup</code> descriptions. If a <code>DBSecurityGroupName</code> is specified,
11
11
  * the list will contain only the descriptions of the specified DB security group.</p>
12
+ * <note>
13
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
14
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
15
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
16
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
17
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
18
+ * </note>
12
19
  * @example
13
20
  * Use a bare-bones client and the command you need to make an API call.
14
21
  * ```javascript
@@ -7,7 +7,16 @@ export interface RevokeDBSecurityGroupIngressCommandInput extends RevokeDBSecuri
7
7
  export interface RevokeDBSecurityGroupIngressCommandOutput extends RevokeDBSecurityGroupIngressResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).</p>
10
+ * <p>Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required
11
+ * parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either
12
+ * EC2SecurityGroupName or EC2SecurityGroupId).</p>
13
+ * <note>
14
+ * <p>EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that
15
+ * you migrate as soon as possible. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html">Migrate from EC2-Classic to a VPC</a> in the
16
+ * <i>Amazon EC2 User Guide</i>, the blog <a href="http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/">EC2-Classic Networking is Retiring –
17
+ * Here’s How to Prepare</a>, and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.Non-VPC2VPC.html">Moving a DB instance not in a VPC
18
+ * into a VPC</a> in the <i>Amazon RDS User Guide</i>.</p>
19
+ * </note>
11
20
  * @example
12
21
  * Use a bare-bones client and the command you need to make an API call.
13
22
  * ```javascript
@@ -0,0 +1,36 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { SwitchoverReadReplicaMessage, SwitchoverReadReplicaResult } from "../models/models_1";
4
+ import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
5
+ export interface SwitchoverReadReplicaCommandInput extends SwitchoverReadReplicaMessage {
6
+ }
7
+ export interface SwitchoverReadReplicaCommandOutput extends SwitchoverReadReplicaResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new
11
+ * primary database. Issue this command in the AWS Region that hosts the current standby database.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { RDSClient, SwitchoverReadReplicaCommand } from "@aws-sdk/client-rds"; // ES Modules import
16
+ * // const { RDSClient, SwitchoverReadReplicaCommand } = require("@aws-sdk/client-rds"); // CommonJS import
17
+ * const client = new RDSClient(config);
18
+ * const command = new SwitchoverReadReplicaCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link SwitchoverReadReplicaCommandInput} for command's `input` shape.
23
+ * @see {@link SwitchoverReadReplicaCommandOutput} for command's `response` shape.
24
+ * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class SwitchoverReadReplicaCommand extends $Command<SwitchoverReadReplicaCommandInput, SwitchoverReadReplicaCommandOutput, RDSClientResolvedConfig> {
28
+ readonly input: SwitchoverReadReplicaCommandInput;
29
+ constructor(input: SwitchoverReadReplicaCommandInput);
30
+ /**
31
+ * @internal
32
+ */
33
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RDSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SwitchoverReadReplicaCommandInput, SwitchoverReadReplicaCommandOutput>;
34
+ private serialize;
35
+ private deserialize;
36
+ }
@@ -134,3 +134,4 @@ export * from "./StopActivityStreamCommand";
134
134
  export * from "./StopDBClusterCommand";
135
135
  export * from "./StopDBInstanceAutomatedBackupsReplicationCommand";
136
136
  export * from "./StopDBInstanceCommand";
137
+ export * from "./SwitchoverReadReplicaCommand";
@@ -1817,6 +1817,15 @@ export interface DBSnapshot {
1817
1817
  * <p>Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.</p>
1818
1818
  */
1819
1819
  OriginalSnapshotCreateTime?: Date;
1820
+ /**
1821
+ * <p>The timestamp of the most recent transaction applied to the database that you're backing up.
1822
+ * Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance.
1823
+ * In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.</p>
1824
+ * <p>If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime
1825
+ * with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than
1826
+ * SnapshotDatabaseTime, then the replica lag is two hours. *** REVIEWERS 7/27: Switchover</p>
1827
+ */
1828
+ SnapshotDatabaseTime?: Date;
1820
1829
  /**
1821
1830
  * <p>Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.</p>
1822
1831
  */
@@ -3129,6 +3138,31 @@ export interface CreateDBClusterMessage {
3129
3138
  * <i>Amazon Aurora User Guide</i>.</p>
3130
3139
  */
3131
3140
  ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfiguration;
3141
+ /**
3142
+ * <p>The network type of the DB cluster.</p>
3143
+ * <p>Valid values:</p>
3144
+ * <ul>
3145
+ * <li>
3146
+ * <p>
3147
+ * <code>IPV4</code>
3148
+ * </p>
3149
+ * </li>
3150
+ * <li>
3151
+ * <p>
3152
+ * <code>DUAL</code>
3153
+ * </p>
3154
+ * </li>
3155
+ * </ul>
3156
+ * <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster.
3157
+ * A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
3158
+ * protocols (<code>DUAL</code>).</p>
3159
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
3160
+ * Working with a DB instance in a VPC</a> in the
3161
+ * <i>Amazon Aurora User Guide.</i>
3162
+ * </p>
3163
+ * <p>Valid for: Aurora DB clusters only</p>
3164
+ */
3165
+ NetworkType?: string;
3132
3166
  }
3133
3167
  /**
3134
3168
  * <p>Describes an Amazon Web Services Identity and Access Management (IAM) role that is associated with a DB cluster.</p>
@@ -3716,6 +3750,31 @@ export interface DBCluster {
3716
3750
  * <i>Amazon Aurora User Guide</i>.</p>
3717
3751
  */
3718
3752
  ServerlessV2ScalingConfiguration?: ServerlessV2ScalingConfigurationInfo;
3753
+ /**
3754
+ * <p>The network type of the DB instance.</p>
3755
+ * <p>Valid values:</p>
3756
+ * <ul>
3757
+ * <li>
3758
+ * <p>
3759
+ * <code>IPV4</code>
3760
+ * </p>
3761
+ * </li>
3762
+ * <li>
3763
+ * <p>
3764
+ * <code>DUAL</code>
3765
+ * </p>
3766
+ * </li>
3767
+ * </ul>
3768
+ * <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster.
3769
+ * A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
3770
+ * protocols (<code>DUAL</code>).</p>
3771
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
3772
+ * Working with a DB instance in a VPC</a> in the
3773
+ * <i>Amazon Aurora User Guide.</i>
3774
+ * </p>
3775
+ * <p>This setting is only for Aurora DB clusters.</p>
3776
+ */
3777
+ NetworkType?: string;
3719
3778
  }
3720
3779
  export interface CreateDBClusterResult {
3721
3780
  /**