@aws-sdk/client-rds 3.1172.0 → 3.1173.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 (36) hide show
  1. package/dist-cjs/index.js +16 -9
  2. package/dist-es/schemas/schemas_0.js +14 -8
  3. package/dist-types/commands/CreateDBClusterCommand.d.ts +220 -1
  4. package/dist-types/commands/CreateDBInstanceCommand.d.ts +5 -0
  5. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +5 -0
  6. package/dist-types/commands/DeleteDBClusterCommand.d.ts +2 -0
  7. package/dist-types/commands/DeleteDBInstanceCommand.d.ts +5 -0
  8. package/dist-types/commands/DescribeDBClustersCommand.d.ts +2 -0
  9. package/dist-types/commands/DescribeDBInstancesCommand.d.ts +5 -0
  10. package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -1
  11. package/dist-types/commands/FailoverDBClusterCommand.d.ts +2 -0
  12. package/dist-types/commands/ModifyDBClusterCommand.d.ts +251 -1
  13. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +5 -0
  14. package/dist-types/commands/PromoteReadReplicaCommand.d.ts +5 -0
  15. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +2 -0
  16. package/dist-types/commands/RebootDBClusterCommand.d.ts +2 -0
  17. package/dist-types/commands/RebootDBInstanceCommand.d.ts +5 -0
  18. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +2 -0
  19. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -0
  20. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -0
  21. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +5 -0
  22. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +5 -0
  23. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +5 -0
  24. package/dist-types/commands/StartDBClusterCommand.d.ts +2 -0
  25. package/dist-types/commands/StartDBInstanceCommand.d.ts +5 -0
  26. package/dist-types/commands/StopDBClusterCommand.d.ts +2 -0
  27. package/dist-types/commands/StopDBInstanceCommand.d.ts +5 -0
  28. package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +5 -0
  29. package/dist-types/models/models_0.d.ts +53 -23
  30. package/dist-types/models/models_1.d.ts +34 -3
  31. package/dist-types/schemas/schemas_0.d.ts +1 -0
  32. package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -4
  33. package/dist-types/ts3.4/models/models_0.d.ts +10 -4
  34. package/dist-types/ts3.4/models/models_1.d.ts +8 -0
  35. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  36. package/package.json +1 -1
@@ -283,7 +283,7 @@ export interface ApplyPendingMaintenanceActionMessage {
283
283
  */
284
284
  ResourceIdentifier: string | undefined;
285
285
  /**
286
- * <p>The pending maintenance action to apply to this resource.</p> <p>Valid Values:</p> <ul> <li> <p> <code>ca-certificate-rotation</code> </p> </li> <li> <p> <code>db-upgrade</code> </p> </li> <li> <p> <code>hardware-maintenance</code> </p> </li> <li> <p> <code>os-upgrade</code> </p> </li> <li> <p> <code>system-update</code> </p> </li> </ul> <p>For more information about these actions, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora">Maintenance actions for Amazon Aurora</a> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds">Maintenance actions for Amazon RDS</a>.</p>
286
+ * <p>The pending maintenance action to apply to this resource.</p> <p>Valid Values:</p> <ul> <li> <p> <code>ca-certificate-rotation</code> </p> </li> <li> <p> <code>db-upgrade</code> </p> </li> <li> <p> <code>hardware-maintenance</code> </p> </li> <li> <p> <code>os-upgrade</code> </p> </li> <li> <p> <code>serverless-platform-version-update</code> </p> </li> <li> <p> <code>system-update</code> </p> </li> </ul> <p>For more information about these actions, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-aurora">Maintenance actions for Amazon Aurora</a> or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#maintenance-actions-rds">Maintenance actions for Amazon RDS</a>.</p>
287
287
  * @public
288
288
  */
289
289
  ApplyAction: string | undefined;
@@ -2415,12 +2415,12 @@ export interface CreateDBClusterMessage {
2415
2415
  */
2416
2416
  DBClusterParameterGroupName?: string | undefined;
2417
2417
  /**
2418
- * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
2418
+ * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> <p>Valid only for DB clusters inside a VPC. Don't specify it when you set <code>EnableVPCNetworking</code> to <code>false</code>.</p> <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
2419
2419
  * @public
2420
2420
  */
2421
2421
  VpcSecurityGroupIds?: string[] | undefined;
2422
2422
  /**
2423
- * <p>A DB subnet group to associate with this DB cluster.</p> <p>This setting is required to create a Multi-AZ DB cluster.</p> <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p> <p>Constraints:</p> <ul> <li> <p>Must match the name of an existing DB subnet group.</p> </li> </ul> <p>Example: <code>mydbsubnetgroup</code> </p>
2423
+ * <p>A DB subnet group to associate with this DB cluster.</p> <p>This setting is required to create a Multi-AZ DB cluster.</p> <p>Valid only for DB clusters inside a VPC. Don't specify it when you set <code>EnableVPCNetworking</code> to <code>false</code>.</p> <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p> <p>Constraints:</p> <ul> <li> <p>Must match the name of an existing DB subnet group.</p> </li> </ul> <p>Example: <code>mydbsubnetgroup</code> </p>
2424
2424
  * @public
2425
2425
  */
2426
2426
  DBSubnetGroupName?: string | undefined;
@@ -2585,7 +2585,7 @@ export interface CreateDBClusterMessage {
2585
2585
  */
2586
2586
  EnableGlobalWriteForwarding?: boolean | undefined;
2587
2587
  /**
2588
- * <p>The network type of the DB cluster.</p> <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon Aurora User Guide.</i> </p> <p>Valid for Cluster Type: Aurora DB clusters only</p> <p>Valid Values: <code>IPV4 | DUAL</code> </p>
2588
+ * <p>The network type of the DB cluster.</p> <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon Aurora User Guide.</i> </p> <p>Don't specify it when you set <code>EnableVPCNetworking</code> to <code>false</code>.</p> <p>Valid for Cluster Type: Aurora DB clusters only</p> <p>Valid Values: <code>IPV4 | DUAL</code> </p>
2589
2589
  * @public
2590
2590
  */
2591
2591
  NetworkType?: string | undefined;
@@ -2675,10 +2675,20 @@ export interface CreateDBClusterMessage {
2675
2675
  */
2676
2676
  MasterUserAuthenticationType?: MasterUserAuthenticationType | undefined;
2677
2677
  /**
2678
- * <p>Specifies to create an Aurora DB Cluster with express configuration in seconds. Express configuration provides a cluster with a writer instance and feature specific values set to all other input parameters of this API. </p> <p>Valid for Cluster Type: Aurora DB clusters</p>
2678
+ * <p>Specifies whether VPC networking is enabled for the DB cluster. Set to <code>false</code> to create a DB cluster without VPC networking.</p> <p>A DB cluster without VPC networking needs an internet access gateway and IAM database authentication. Set <code>EnableInternetAccessGateway</code> and <code>EnableIAMDatabaseAuthentication</code> to <code>true</code>, and set <code>MasterUserAuthenticationType</code> to <code>iam-db-auth</code>.</p> <p>Default: <code>true</code>. With <code>WithExpressConfiguration</code>, the default is <code>false</code>.</p> <p>Valid for Cluster Type: Aurora PostgreSQL DB clusters only</p>
2679
+ * @public
2680
+ */
2681
+ EnableVPCNetworking?: boolean | undefined;
2682
+ /**
2683
+ * <p>Specifies to create an Aurora DB Cluster with express configuration in seconds. Express configuration provides a cluster with a writer instance and feature specific values set to all other input parameters of this API. </p> <p>By default, a DB cluster with express configuration doesn't use VPC networking. You connect to it over the internet through an internet access gateway.</p> <p>To create the DB cluster in a VPC instead, set <code>EnableVPCNetworking</code> to <code>true</code> and <code>EnableInternetAccessGateway</code> to <code>false</code>. You can also specify <code>DBSubnetGroupName</code>, <code>VpcSecurityGroupIds</code>, and <code>NetworkType</code>. If you don't specify <code>DBSubnetGroupName</code>, the DB cluster uses the default DB subnet group for your Amazon Web Services account, in your default VPC.</p> <p>A DB cluster with express configuration in a VPC takes longer to become available than one without VPC networking.</p> <p>Valid for Cluster Type: Aurora DB clusters</p>
2679
2684
  * @public
2680
2685
  */
2681
2686
  WithExpressConfiguration?: boolean | undefined;
2687
+ /**
2688
+ * <p>Specifies whether the DB cluster uses an internet access gateway. With an internet access gateway, you connect to the DB cluster over the internet without a VPC.</p> <p>Set to <code>true</code> only when you set <code>EnableVPCNetworking</code> to <code>false</code>. A DB cluster can't use VPC networking and an internet access gateway at the same time.</p> <p>Default: <code>false</code>. With <code>WithExpressConfiguration</code>, the default is <code>true</code>. To create a DB cluster with express configuration in a VPC, set this parameter to <code>false</code>.</p> <p>Valid for Cluster Type: Aurora PostgreSQL DB clusters only</p>
2689
+ * @public
2690
+ */
2691
+ EnableInternetAccessGateway?: boolean | undefined;
2682
2692
  /**
2683
2693
  * <p>A list of Amazon Web Services Identity and Access Management (IAM) roles to associate with the DB cluster. Each role grants the DB cluster permission to access other Amazon Web Services on your behalf. For each role, specify a role ARN and, optionally, the feature name (such as <code>s3Import</code>, <code>s3Export</code>, or <code>Lambda</code>).</p> <p>Valid for Cluster Type: Aurora DB clusters only</p>
2684
2694
  * @public
@@ -2918,6 +2928,16 @@ export interface ClusterPendingModifiedValues {
2918
2928
  * @public
2919
2929
  */
2920
2930
  CertificateDetails?: CertificateDetails | undefined;
2931
+ /**
2932
+ * <p>Indicates whether the DB cluster will use VPC networking after a pending networking change completes. For a pending move to a different DB subnet group, the value is <code>true</code>.</p> <p>Valid for Cluster Type: Aurora DB clusters only</p>
2933
+ * @public
2934
+ */
2935
+ VPCNetworkingEnabled?: boolean | undefined;
2936
+ /**
2937
+ * <p>Indicates whether the DB cluster will use an internet access gateway after a pending networking change completes.</p> <p>Valid for Cluster Type: Aurora PostgreSQL DB clusters only</p>
2938
+ * @public
2939
+ */
2940
+ InternetAccessGatewayEnabled?: boolean | undefined;
2921
2941
  }
2922
2942
  /**
2923
2943
  * <p>The scaling configuration for an Aurora DB cluster in <code>serverless</code> DB engine mode.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html">Using Amazon Aurora Serverless v1</a> in the <i>Amazon Aurora User Guide</i>.</p>
@@ -3438,12 +3458,12 @@ export interface DBCluster {
3438
3458
  */
3439
3459
  EngineLifecycleSupport?: string | undefined;
3440
3460
  /**
3441
- * <p>Indicates whether the DB cluster uses VPC-based networking.</p> <p>This setting is applicable only for Aurora PostgreSQL clusters created through express configuration.</p>
3461
+ * <p>Indicates whether the DB cluster uses VPC-based networking. The value is <code>false</code> only for an Aurora PostgreSQL DB cluster without VPC networking.</p> <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
3442
3462
  * @public
3443
3463
  */
3444
3464
  VPCNetworkingEnabled?: boolean | undefined;
3445
3465
  /**
3446
- * <p>Indicates whether the DB cluster has internet-based connectivity enabled through an internet access gateway.</p> <p>This setting is applicable only for Aurora PostgreSQL clusters created through express configuration.</p>
3466
+ * <p>Indicates whether the DB cluster has internet-based connectivity enabled through an internet access gateway.</p> <p>Valid for Cluster Type: Aurora PostgreSQL DB clusters only</p>
3447
3467
  * @public
3448
3468
  */
3449
3469
  InternetAccessGatewayEnabled?: boolean | undefined;
@@ -4262,6 +4282,22 @@ export interface PendingModifiedValues {
4262
4282
  */
4263
4283
  DBCapacityReservationIdentifier?: string | undefined;
4264
4284
  }
4285
+ /**
4286
+ * <p>Contains the information you need to connect to the DB instance that currently has the primary role. The endpoint stays the same when the primary role moves to another DB instance, so you don't have to connect to a different DNS name after a switchover.</p>
4287
+ * @public
4288
+ */
4289
+ export interface PrimaryEndpoint {
4290
+ /**
4291
+ * <p>Specifies the DNS address of the DB instance that currently has the primary role. This address doesn't change when the DB instance is renamed.</p>
4292
+ * @public
4293
+ */
4294
+ Address?: string | undefined;
4295
+ /**
4296
+ * <p>Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.</p>
4297
+ * @public
4298
+ */
4299
+ HostedZoneId?: string | undefined;
4300
+ }
4265
4301
  /**
4266
4302
  * <p>Provides a list of status information for a DB instance.</p>
4267
4303
  * @public
@@ -4328,6 +4364,11 @@ export interface DBInstance {
4328
4364
  * @public
4329
4365
  */
4330
4366
  Endpoint?: Endpoint | undefined;
4367
+ /**
4368
+ * <p>Specifies the connection endpoint for the DB instance that currently has the primary role.</p> <p>This endpoint points to the new primary DB instance after a switchover, so you don't have to connect to a different DNS name.</p> <p>A read replica reports the same primary endpoint as the DB instance it replicates from. When you promote a read replica, it reports its own primary endpoint.</p>
4369
+ * @public
4370
+ */
4371
+ PrimaryEndpoint?: PrimaryEndpoint | undefined;
4331
4372
  /**
4332
4373
  * <p>The amount of storage in gibibytes (GiB) allocated for the DB instance.</p>
4333
4374
  * @public
@@ -4763,6 +4804,11 @@ export interface DBInstance {
4763
4804
  * @public
4764
4805
  */
4765
4806
  DBCapacityReservationIdentifier?: string | undefined;
4807
+ /**
4808
+ * <p>Indicates whether the DB instance uses VPC networking. For a DB instance in an Aurora PostgreSQL DB cluster without VPC networking, the value is <code>false</code>.</p>
4809
+ * @public
4810
+ */
4811
+ VPCNetworkingEnabled?: boolean | undefined;
4766
4812
  }
4767
4813
  /**
4768
4814
  * @public
@@ -10204,19 +10250,3 @@ export interface DescribePendingMaintenanceActionsMessage {
10204
10250
  */
10205
10251
  MaxRecords?: number | undefined;
10206
10252
  }
10207
- /**
10208
- * <p>Data returned from the <b>DescribePendingMaintenanceActions</b> action.</p>
10209
- * @public
10210
- */
10211
- export interface PendingMaintenanceActionsMessage {
10212
- /**
10213
- * <p>A list of the pending maintenance actions for the resource.</p>
10214
- * @public
10215
- */
10216
- PendingMaintenanceActions?: ResourcePendingMaintenanceActions[] | undefined;
10217
- /**
10218
- * <p>An optional pagination token provided by a previous <code>DescribePendingMaintenanceActions</code> request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by <code>MaxRecords</code>.</p>
10219
- * @public
10220
- */
10221
- Marker?: string | undefined;
10222
- }
@@ -1,5 +1,21 @@
1
1
  import type { ActivityStreamMode, ActivityStreamPolicyStatus, ActivityStreamStatus, AuditPolicyState, AutomationMode, CustomEngineVersionStatus, DatabaseInsightsMode, DefaultAuthScheme, EndDateType, MasterUserAuthenticationType, ReplicaMode } from "./enums";
2
- import type { AdditionalStorageVolume, AvailableProcessorFeature, BlueGreenDeployment, Certificate, DBCapacityReservation, DBCluster, DBClusterAssociatedRole, DBClusterSnapshotAttributesResult, DBInstance, DBInstanceAutomatedBackup, DBProxy, DBProxyEndpoint, DBProxyTarget, DBProxyTargetGroup, DBRecommendation, DBSecurityGroup, DBSnapshot, DBSnapshotAttributesResult, DBSubnetGroup, EventSubscription, Filter, GlobalCluster, OptionGroup, OptionSetting, Parameter, ProcessorFeature, RdsCustomClusterConfiguration, ScalingConfiguration, ServerlessV2FeaturesSupport, ServerlessV2ScalingConfiguration, Tag, TagSpecification, TenantDatabase, UserAuthConfig } from "./models_0";
2
+ import type { AdditionalStorageVolume, AvailableProcessorFeature, BlueGreenDeployment, Certificate, DBCapacityReservation, DBCluster, DBClusterAssociatedRole, DBClusterSnapshotAttributesResult, DBInstance, DBInstanceAutomatedBackup, DBProxy, DBProxyEndpoint, DBProxyTarget, DBProxyTargetGroup, DBRecommendation, DBSecurityGroup, DBSnapshot, DBSnapshotAttributesResult, DBSubnetGroup, EventSubscription, Filter, GlobalCluster, OptionGroup, OptionSetting, Parameter, ProcessorFeature, RdsCustomClusterConfiguration, ResourcePendingMaintenanceActions, ScalingConfiguration, ServerlessV2FeaturesSupport, ServerlessV2ScalingConfiguration, Tag, TagSpecification, TenantDatabase, UserAuthConfig } from "./models_0";
3
+ /**
4
+ * <p>Data returned from the <b>DescribePendingMaintenanceActions</b> action.</p>
5
+ * @public
6
+ */
7
+ export interface PendingMaintenanceActionsMessage {
8
+ /**
9
+ * <p>A list of the pending maintenance actions for the resource.</p>
10
+ * @public
11
+ */
12
+ PendingMaintenanceActions?: ResourcePendingMaintenanceActions[] | undefined;
13
+ /**
14
+ * <p>An optional pagination token provided by a previous <code>DescribePendingMaintenanceActions</code> request. If this parameter is specified, the response includes only records beyond the marker, up to a number of records specified by <code>MaxRecords</code>.</p>
15
+ * @public
16
+ */
17
+ Marker?: string | undefined;
18
+ }
3
19
  /**
4
20
  * <p/>
5
21
  * @public
@@ -1087,7 +1103,7 @@ export interface ModifyDBClusterMessage {
1087
1103
  */
1088
1104
  DBClusterParameterGroupName?: string | undefined;
1089
1105
  /**
1090
- * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
1106
+ * <p>A list of EC2 VPC security groups to associate with this DB cluster.</p> <p>Valid only for DB clusters inside a VPC. For a DB cluster that uses an internet access gateway, specify this parameter only when you re-enable VPC networking. Set <code>EnableVPCNetworking</code> to <code>true</code> and <code>EnableInternetAccessGateway</code> to <code>false</code>.</p> <p>When you move the DB cluster to a different DB subnet group with <code>DBSubnetGroupName</code>, or re-enable VPC networking, the security groups must belong to the VPC of the DB subnet group. If you leave out this parameter in those requests, the DB cluster uses the default security group of that VPC, even for a move within the same VPC. To keep the current security groups, specify their IDs. If the VPC is a shared VPC, you must specify this parameter.</p> <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
1091
1107
  * @public
1092
1108
  */
1093
1109
  VpcSecurityGroupIds?: string[] | undefined;
@@ -1207,7 +1223,7 @@ export interface ModifyDBClusterMessage {
1207
1223
  */
1208
1224
  AutoMinorVersionUpgrade?: boolean | undefined;
1209
1225
  /**
1210
- * <p>The network type of the DB cluster.</p> <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon Aurora User Guide.</i> </p> <p>Valid for Cluster Type: Aurora DB clusters only</p> <p>Valid Values: <code>IPV4 | DUAL</code> </p>
1226
+ * <p>The network type of the DB cluster.</p> <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB cluster. A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (<code>DUAL</code>).</p> <p>If the subnets in the DB subnet group support only the IPv4 protocol, you can't set this parameter to <code>DUAL</code>.</p> <p>If you don't specify this parameter when you move the DB cluster to a different DB subnet group with <code>DBSubnetGroupName</code>, the DB cluster uses <code>IPV4</code>, even if it currently uses <code>DUAL</code>. To keep dual-stack mode, specify <code>DUAL</code>. The new DB subnet group must support the network type.</p> <p>Don't specify it when you set <code>EnableVPCNetworking</code> to <code>false</code>.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html"> Working with a DB instance in a VPC</a> in the <i>Amazon Aurora User Guide.</i> </p> <p>Valid for Cluster Type: Aurora DB clusters only</p> <p>Valid Values: <code>IPV4 | DUAL</code> </p>
1211
1227
  * @public
1212
1228
  */
1213
1229
  NetworkType?: string | undefined;
@@ -1301,6 +1317,21 @@ export interface ModifyDBClusterMessage {
1301
1317
  * @public
1302
1318
  */
1303
1319
  EngineLifecycleSupport?: string | undefined;
1320
+ /**
1321
+ * <p>Specifies whether the DB cluster uses an internet access gateway. With an internet access gateway, you connect to the DB cluster over the internet without a VPC.</p> <p>Set to <code>true</code> together with <code>EnableVPCNetworking</code> set to <code>false</code> to move the DB cluster out of its VPC. Set to <code>false</code> together with <code>EnableVPCNetworking</code> set to <code>true</code> to move the DB cluster into a VPC. A DB cluster can't use VPC networking and an internet access gateway at the same time.</p> <p>Valid for Cluster Type: Aurora PostgreSQL DB clusters only</p>
1322
+ * @public
1323
+ */
1324
+ EnableInternetAccessGateway?: boolean | undefined;
1325
+ /**
1326
+ * <p>Specifies whether VPC networking is enabled for the DB cluster. Set to <code>false</code> to disable VPC networking for the DB cluster.</p> <p>A DB cluster without VPC networking needs an internet access gateway and IAM database authentication. Set <code>EnableInternetAccessGateway</code> and <code>EnableIAMDatabaseAuthentication</code> to <code>true</code>, and set <code>MasterUserAuthenticationType</code> to <code>iam-db-auth</code>.</p> <p>Set to <code>true</code> to re-enable VPC networking for a DB cluster that uses an internet access gateway. You can also specify <code>DBSubnetGroupName</code>, <code>VpcSecurityGroupIds</code>, and <code>NetworkType</code>.</p> <p>The change is applied during the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p> <p>To move a DB cluster that already uses VPC networking to a different DB subnet group, you don't need to set this parameter. Specify <code>DBSubnetGroupName</code> instead.</p> <p>Valid for Cluster Type: Aurora PostgreSQL DB clusters only</p>
1327
+ * @public
1328
+ */
1329
+ EnableVPCNetworking?: boolean | undefined;
1330
+ /**
1331
+ * <p>The DB subnet group for the DB cluster.</p> <p>Specify this parameter for one of these purposes:</p> <ul> <li> <p>To move an Aurora MySQL or Aurora PostgreSQL DB cluster that uses VPC networking to a different DB subnet group. The new DB subnet group can be in the same VPC or in a different VPC.</p> </li> <li> <p>To enable VPC networking for an Aurora PostgreSQL DB cluster that uses an internet access gateway. Set <code>EnableVPCNetworking</code> to <code>true</code> and <code>EnableInternetAccessGateway</code> to <code>false</code>.</p> </li> </ul> <p>When you move a DB cluster to a different DB subnet group, you don't need to set <code>EnableVPCNetworking</code>. If you set it to <code>false</code>, Aurora rejects the request. Security groups in <code>VpcSecurityGroupIds</code> must belong to the VPC of the new DB subnet group. If you don't specify <code>VpcSecurityGroupIds</code>, the DB cluster uses the default security group of that VPC. If you don't specify <code>NetworkType</code>, the DB cluster uses <code>IPV4</code>. Both defaults apply even if the DB cluster stays in the same VPC.</p> <p>An outage occurs during the move. The DB cluster uses VPC networking before, during, and after the move, and the move doesn't turn on an internet access gateway. If you specify the DB subnet group that the DB cluster already uses, the DB cluster isn't moved. The change is applied during the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p> <p>Aurora rejects the move if the DB cluster:</p> <ul> <li> <p>Is a member of an Aurora global database.</p> </li> <li> <p>Uses Aurora Limitless Database.</p> </li> <li> <p>Is a cross-Region or in-Region read replica, or is the source of one. Aurora Replicas in the DB cluster don't block the move.</p> </li> <li> <p>Has enhanced binlog (Aurora MySQL), enhanced logical replication (Aurora PostgreSQL), or Babelfish turned on.</p> </li> <li> <p>Is a target of an RDS Proxy.</p> </li> <li> <p>Is part of a blue/green deployment.</p> </li> <li> <p>Is the source of a zero-ETL integration.</p> </li> <li> <p>Has a database activity stream that isn't stopped.</p> </li> </ul> <p>The move also fails if the DB cluster is switching to a different DB cluster parameter group, or if a change to enhanced binlog, enhanced logical replication, or Babelfish is pending in its DB cluster parameter group. Apply the change, and reboot if required, before you move the DB cluster.</p> <p>If the move fails, Aurora returns the DB cluster to its original DB subnet group and cancels the change. To try again, call <code>ModifyDBCluster</code> again.</p> <p>Aurora can't always return the DB cluster. If the move fails after Aurora starts to update the DB cluster endpoints, or if the rollback fails, the change doesn't complete. If Aurora can't restore the original network configuration, the DB instances in the DB cluster enter the <code>incompatible-network</code> state. In these cases, contact Amazon Web Services Support.</p> <p>Valid for Cluster Type: Aurora DB clusters only</p> <p>Default: If you don't specify this parameter when you enable VPC networking, the DB cluster uses the default DB subnet group for your Amazon Web Services account.</p> <p>Constraints: The DB subnet group must contain a subnet in each Availability Zone that the DB instances in the DB cluster are located in.</p> <p>Example: <code>mydbsubnetgroup</code> </p>
1332
+ * @public
1333
+ */
1334
+ DBSubnetGroupName?: string | undefined;
1304
1335
  }
1305
1336
  /**
1306
1337
  * @public
@@ -497,6 +497,7 @@ export declare var PendingModifiedValues$: StaticStructureSchema;
497
497
  export declare var PerformanceInsightsMetricDimensionGroup$: StaticStructureSchema;
498
498
  export declare var PerformanceInsightsMetricQuery$: StaticStructureSchema;
499
499
  export declare var PerformanceIssueDetails$: StaticStructureSchema;
500
+ export declare var PrimaryEndpoint$: StaticStructureSchema;
500
501
  export declare var ProcessorFeature$: StaticStructureSchema;
501
502
  export declare var PromoteReadReplicaDBClusterMessage$: StaticStructureSchema;
502
503
  export declare var PromoteReadReplicaDBClusterResult$: StaticStructureSchema;
@@ -1,8 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- DescribePendingMaintenanceActionsMessage,
4
- PendingMaintenanceActionsMessage,
5
- } from "../models/models_0";
2
+ import { DescribePendingMaintenanceActionsMessage } from "../models/models_0";
3
+ import { PendingMaintenanceActionsMessage } from "../models/models_1";
6
4
  export { __MetadataBearer };
7
5
  export interface DescribePendingMaintenanceActionsCommandInput extends DescribePendingMaintenanceActionsMessage {}
8
6
  export interface DescribePendingMaintenanceActionsCommandOutput
@@ -629,7 +629,9 @@ export interface CreateDBClusterMessage {
629
629
  EngineLifecycleSupport?: string | undefined;
630
630
  TagSpecifications?: TagSpecification[] | undefined;
631
631
  MasterUserAuthenticationType?: MasterUserAuthenticationType | undefined;
632
+ EnableVPCNetworking?: boolean | undefined;
632
633
  WithExpressConfiguration?: boolean | undefined;
634
+ EnableInternetAccessGateway?: boolean | undefined;
633
635
  AssociatedRoles?: DBClusterAssociatedRole[] | undefined;
634
636
  }
635
637
  export interface DBClusterRole {
@@ -685,6 +687,8 @@ export interface ClusterPendingModifiedValues {
685
687
  RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration | undefined;
686
688
  Iops?: number | undefined;
687
689
  CertificateDetails?: CertificateDetails | undefined;
690
+ VPCNetworkingEnabled?: boolean | undefined;
691
+ InternetAccessGatewayEnabled?: boolean | undefined;
688
692
  }
689
693
  export interface ScalingConfigurationInfo {
690
694
  MinCapacity?: number | undefined;
@@ -973,6 +977,10 @@ export interface PendingModifiedValues {
973
977
  AdditionalStorageVolumes?: AdditionalStorageVolume[] | undefined;
974
978
  DBCapacityReservationIdentifier?: string | undefined;
975
979
  }
980
+ export interface PrimaryEndpoint {
981
+ Address?: string | undefined;
982
+ HostedZoneId?: string | undefined;
983
+ }
976
984
  export interface DBInstanceStatusInfo {
977
985
  StatusType?: string | undefined;
978
986
  Normal?: boolean | undefined;
@@ -987,6 +995,7 @@ export interface DBInstance {
987
995
  MasterUsername?: string | undefined;
988
996
  DBName?: string | undefined;
989
997
  Endpoint?: Endpoint | undefined;
998
+ PrimaryEndpoint?: PrimaryEndpoint | undefined;
990
999
  AllocatedStorage?: number | undefined;
991
1000
  InstanceCreateTime?: Date | undefined;
992
1001
  PreferredBackupWindow?: string | undefined;
@@ -1074,6 +1083,7 @@ export interface DBInstance {
1074
1083
  StorageOperationStatus?: string | undefined;
1075
1084
  StorageOperationPercentProgress?: number | undefined;
1076
1085
  DBCapacityReservationIdentifier?: string | undefined;
1086
+ VPCNetworkingEnabled?: boolean | undefined;
1077
1087
  }
1078
1088
  export interface CreateDBInstanceResult {
1079
1089
  DBInstance?: DBInstance | undefined;
@@ -2333,7 +2343,3 @@ export interface DescribePendingMaintenanceActionsMessage {
2333
2343
  Marker?: string | undefined;
2334
2344
  MaxRecords?: number | undefined;
2335
2345
  }
2336
- export interface PendingMaintenanceActionsMessage {
2337
- PendingMaintenanceActions?: ResourcePendingMaintenanceActions[] | undefined;
2338
- Marker?: string | undefined;
2339
- }
@@ -39,6 +39,7 @@ import {
39
39
  Parameter,
40
40
  ProcessorFeature,
41
41
  RdsCustomClusterConfiguration,
42
+ ResourcePendingMaintenanceActions,
42
43
  ScalingConfiguration,
43
44
  ServerlessV2FeaturesSupport,
44
45
  ServerlessV2ScalingConfiguration,
@@ -47,6 +48,10 @@ import {
47
48
  TenantDatabase,
48
49
  UserAuthConfig,
49
50
  } from "./models_0";
51
+ export interface PendingMaintenanceActionsMessage {
52
+ PendingMaintenanceActions?: ResourcePendingMaintenanceActions[] | undefined;
53
+ Marker?: string | undefined;
54
+ }
50
55
  export interface DescribeReservedDBInstancesMessage {
51
56
  ReservedDBInstanceId?: string | undefined;
52
57
  ReservedDBInstancesOfferingId?: string | undefined;
@@ -347,6 +352,9 @@ export interface ModifyDBClusterMessage {
347
352
  CACertificateIdentifier?: string | undefined;
348
353
  MasterUserAuthenticationType?: MasterUserAuthenticationType | undefined;
349
354
  EngineLifecycleSupport?: string | undefined;
355
+ EnableInternetAccessGateway?: boolean | undefined;
356
+ EnableVPCNetworking?: boolean | undefined;
357
+ DBSubnetGroupName?: string | undefined;
350
358
  }
351
359
  export interface ModifyDBClusterResult {
352
360
  DBCluster?: DBCluster | undefined;
@@ -492,6 +492,7 @@ export declare var PendingModifiedValues$: StaticStructureSchema;
492
492
  export declare var PerformanceInsightsMetricDimensionGroup$: StaticStructureSchema;
493
493
  export declare var PerformanceInsightsMetricQuery$: StaticStructureSchema;
494
494
  export declare var PerformanceIssueDetails$: StaticStructureSchema;
495
+ export declare var PrimaryEndpoint$: StaticStructureSchema;
495
496
  export declare var ProcessorFeature$: StaticStructureSchema;
496
497
  export declare var PromoteReadReplicaDBClusterMessage$: StaticStructureSchema;
497
498
  export declare var PromoteReadReplicaDBClusterResult$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds",
3
- "version": "3.1172.0",
3
+ "version": "3.1173.0",
4
4
  "description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rds",
6
6
  "license": "Apache-2.0",