Skip to content

Commit 6224806

Browse files
author
awstools
committed
feat(client-rds): Feature - Adds support for Internet Protocol Version 6 (IPv6) on RDS database instances.
1 parent 0a12a1e commit 6224806

File tree

4 files changed

+437
-32
lines changed

4 files changed

+437
-32
lines changed

clients/client-rds/src/models/models_0.ts

Lines changed: 122 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6198,7 +6198,7 @@ export interface CreateDBInstanceMessage {
61986198
* <p>
61996199
* <b>Amazon RDS Custom for SQL Server</b>
62006200
* </p>
6201-
* <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.reqsMS">RDS Custom for SQL Server general requirements</a>
6201+
* <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html">RDS Custom for SQL Server general requirements</a>
62026202
* in the <i>Amazon RDS User Guide</i>.</p>
62036203
* <p>
62046204
* <b>MariaDB</b>
@@ -6587,6 +6587,31 @@ export interface CreateDBInstanceMessage {
65876587
* with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
65886588
*/
65896589
BackupTarget?: string;
6590+
6591+
/**
6592+
* <p>The network type of the DB instance.</p>
6593+
* <p>Valid values:</p>
6594+
* <ul>
6595+
* <li>
6596+
* <p>
6597+
* <code>IPV4</code>
6598+
* </p>
6599+
* </li>
6600+
* <li>
6601+
* <p>
6602+
* <code>DUAL</code>
6603+
* </p>
6604+
* </li>
6605+
* </ul>
6606+
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
6607+
* A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
6608+
* protocols (<code>DUAL</code>).</p>
6609+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
6610+
* Working with a DB instance in a VPC</a> in the
6611+
* <i>Amazon RDS User Guide.</i>
6612+
* </p>
6613+
*/
6614+
NetworkType?: string;
65906615
}
65916616

65926617
export namespace CreateDBInstanceMessage {
@@ -6844,6 +6869,30 @@ export interface DBSubnetGroup {
68446869
* <p>The Amazon Resource Name (ARN) for the DB subnet group.</p>
68456870
*/
68466871
DBSubnetGroupArn?: string;
6872+
6873+
/**
6874+
* <p>The network type of the DB subnet group.</p>
6875+
* <p>Valid values:</p>
6876+
* <ul>
6877+
* <li>
6878+
* <p>
6879+
* <code>IPV4</code>
6880+
* </p>
6881+
* </li>
6882+
* <li>
6883+
* <p>
6884+
* <code>DUAL</code>
6885+
* </p>
6886+
* </li>
6887+
* </ul>
6888+
* <p>A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
6889+
* protocols (<code>DUAL</code>).</p>
6890+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
6891+
* Working with a DB instance in a VPC</a> in the
6892+
* <i>Amazon RDS User Guide.</i>
6893+
* </p>
6894+
*/
6895+
SupportedNetworkTypes?: string[];
68476896
}
68486897

68496898
export namespace DBSubnetGroup {
@@ -7578,6 +7627,34 @@ export interface DBInstance {
75787627
* <p>Specifies where automated backups and manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.</p>
75797628
*/
75807629
BackupTarget?: string;
7630+
7631+
/**
7632+
* <p>The network type of the DB instance.</p>
7633+
* <p>Valid values:</p>
7634+
* <ul>
7635+
* <li>
7636+
* <p>
7637+
* <code>IPV4</code>
7638+
* </p>
7639+
* </li>
7640+
* <li>
7641+
* <p>
7642+
* <code>DUAL</code>
7643+
* </p>
7644+
* </li>
7645+
* </ul>
7646+
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
7647+
* A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
7648+
* protocols (<code>DUAL</code>).</p>
7649+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
7650+
* Working with a DB instance in a VPC</a> in the
7651+
* <i>Amazon RDS User Guide</i> and
7652+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
7653+
* Working with a DB instance in a VPC</a> in the
7654+
* <i>Amazon Aurora User Guide.</i>
7655+
* </p>
7656+
*/
7657+
NetworkType?: string;
75817658
}
75827659

75837660
export namespace DBInstance {
@@ -7669,6 +7746,25 @@ export class InsufficientDBInstanceCapacityFault extends __BaseException {
76697746
}
76707747
}
76717748

7749+
/**
7750+
* <p>The network type is invalid for the DB instance. Valid nework type values are <code>IPV4</code> and <code>DUAL</code>.</p>
7751+
*/
7752+
export class NetworkTypeNotSupported extends __BaseException {
7753+
readonly name: "NetworkTypeNotSupported" = "NetworkTypeNotSupported";
7754+
readonly $fault: "client" = "client";
7755+
/**
7756+
* @internal
7757+
*/
7758+
constructor(opts: __ExceptionOptionType<NetworkTypeNotSupported, __BaseException>) {
7759+
super({
7760+
name: "NetworkTypeNotSupported",
7761+
$fault: "client",
7762+
...opts,
7763+
});
7764+
Object.setPrototypeOf(this, NetworkTypeNotSupported.prototype);
7765+
}
7766+
}
7767+
76727768
/**
76737769
* <p>Provisioned IOPS not available in the specified Availability Zone.</p>
76747770
*/
@@ -8143,6 +8239,31 @@ export interface CreateDBInstanceReadReplicaMessage {
81438239
* <p>This setting is required for RDS Custom.</p>
81448240
*/
81458241
CustomIamInstanceProfile?: string;
8242+
8243+
/**
8244+
* <p>The network type of the DB instance.</p>
8245+
* <p>Valid values:</p>
8246+
* <ul>
8247+
* <li>
8248+
* <p>
8249+
* <code>IPV4</code>
8250+
* </p>
8251+
* </li>
8252+
* <li>
8253+
* <p>
8254+
* <code>DUAL</code>
8255+
* </p>
8256+
* </li>
8257+
* </ul>
8258+
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for read replica.
8259+
* A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
8260+
* protocols (<code>DUAL</code>).</p>
8261+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
8262+
* Working with a DB instance in a VPC</a> in the
8263+
* <i>Amazon RDS User Guide.</i>
8264+
* </p>
8265+
*/
8266+
NetworkType?: string;
81468267
}
81478268

81488269
export namespace CreateDBInstanceReadReplicaMessage {
@@ -13398,31 +13519,3 @@ export namespace DBSnapshotAttribute {
1339813519
...obj,
1339913520
});
1340013521
}
13401-
13402-
/**
13403-
* <p>Contains the results of a successful call to the <code>DescribeDBSnapshotAttributes</code>
13404-
* API action.</p>
13405-
* <p>Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts
13406-
* to copy or restore a manual DB snapshot. For more information, see the <code>ModifyDBSnapshotAttribute</code>
13407-
* API action.</p>
13408-
*/
13409-
export interface DBSnapshotAttributesResult {
13410-
/**
13411-
* <p>The identifier of the manual DB snapshot that the attributes apply to.</p>
13412-
*/
13413-
DBSnapshotIdentifier?: string;
13414-
13415-
/**
13416-
* <p>The list of attributes and values for the manual DB snapshot.</p>
13417-
*/
13418-
DBSnapshotAttributes?: DBSnapshotAttribute[];
13419-
}
13420-
13421-
export namespace DBSnapshotAttributesResult {
13422-
/**
13423-
* @internal
13424-
*/
13425-
export const filterSensitiveLog = (obj: DBSnapshotAttributesResult): any => ({
13426-
...obj,
13427-
});
13428-
}

clients/client-rds/src/models/models_1.ts

Lines changed: 140 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
DBProxyTargetGroup,
1818
DBSecurityGroup,
1919
DBSnapshot,
20-
DBSnapshotAttributesResult,
20+
DBSnapshotAttribute,
2121
DBSubnetGroup,
2222
EventSubscription,
2323
ExportTask,
@@ -36,6 +36,34 @@ import {
3636
} from "./models_0";
3737
import { RDSServiceException as __BaseException } from "./RDSServiceException";
3838

39+
/**
40+
* <p>Contains the results of a successful call to the <code>DescribeDBSnapshotAttributes</code>
41+
* API action.</p>
42+
* <p>Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts
43+
* to copy or restore a manual DB snapshot. For more information, see the <code>ModifyDBSnapshotAttribute</code>
44+
* API action.</p>
45+
*/
46+
export interface DBSnapshotAttributesResult {
47+
/**
48+
* <p>The identifier of the manual DB snapshot that the attributes apply to.</p>
49+
*/
50+
DBSnapshotIdentifier?: string;
51+
52+
/**
53+
* <p>The list of attributes and values for the manual DB snapshot.</p>
54+
*/
55+
DBSnapshotAttributes?: DBSnapshotAttribute[];
56+
}
57+
58+
export namespace DBSnapshotAttributesResult {
59+
/**
60+
* @internal
61+
*/
62+
export const filterSensitiveLog = (obj: DBSnapshotAttributesResult): any => ({
63+
...obj,
64+
});
65+
}
66+
3967
export interface DescribeDBSnapshotAttributesResult {
4068
/**
4169
* <p>Contains the results of a successful call to the <code>DescribeDBSnapshotAttributes</code>
@@ -1976,6 +2004,17 @@ export interface OrderableDBInstanceOption {
19762004
* </p>
19772005
*/
19782006
SupportsClusters?: boolean;
2007+
2008+
/**
2009+
* <p>The network types supported by the DB instance (<code>IPV4</code> or <code>DUAL</code>).</p>
2010+
* <p>A DB instance can support only the IPv4 protocol or the IPv4 and the IPv6
2011+
* protocols (<code>DUAL</code>).</p>
2012+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
2013+
* Working with a DB instance in a VPC</a> in the
2014+
* <i>Amazon RDS User Guide.</i>
2015+
* </p>
2016+
*/
2017+
SupportedNetworkTypes?: string[];
19792018
}
19802019

19812020
export namespace OrderableDBInstanceOption {
@@ -4682,6 +4721,31 @@ export interface ModifyDBInstanceMessage {
46824721
* full automation. The minimum value is <code>60</code> (default). The maximum value is <code>1,440</code>.</p>
46834722
*/
46844723
ResumeFullAutomationModeMinutes?: number;
4724+
4725+
/**
4726+
* <p>The network type of the DB instance.</p>
4727+
* <p>Valid values:</p>
4728+
* <ul>
4729+
* <li>
4730+
* <p>
4731+
* <code>IPV4</code>
4732+
* </p>
4733+
* </li>
4734+
* <li>
4735+
* <p>
4736+
* <code>DUAL</code>
4737+
* </p>
4738+
* </li>
4739+
* </ul>
4740+
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
4741+
* A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
4742+
* protocols (<code>DUAL</code>).</p>
4743+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
4744+
* Working with a DB instance in a VPC</a> in the
4745+
* <i>Amazon RDS User Guide.</i>
4746+
* </p>
4747+
*/
4748+
NetworkType?: string;
46854749
}
46864750

46874751
export namespace ModifyDBInstanceMessage {
@@ -7778,6 +7842,31 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
77787842
* with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
77797843
*/
77807844
BackupTarget?: string;
7845+
7846+
/**
7847+
* <p>The network type of the DB instance.</p>
7848+
* <p>Valid values:</p>
7849+
* <ul>
7850+
* <li>
7851+
* <p>
7852+
* <code>IPV4</code>
7853+
* </p>
7854+
* </li>
7855+
* <li>
7856+
* <p>
7857+
* <code>DUAL</code>
7858+
* </p>
7859+
* </li>
7860+
* </ul>
7861+
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
7862+
* A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
7863+
* protocols (<code>DUAL</code>).</p>
7864+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
7865+
* Working with a DB instance in a VPC</a> in the
7866+
* <i>Amazon RDS User Guide.</i>
7867+
* </p>
7868+
*/
7869+
NetworkType?: string;
77817870
}
77827871

77837872
export namespace RestoreDBInstanceFromDBSnapshotMessage {
@@ -8213,6 +8302,31 @@ export interface RestoreDBInstanceFromS3Message {
82138302
* in the <i>Amazon RDS User Guide</i>.</p>
82148303
*/
82158304
MaxAllocatedStorage?: number;
8305+
8306+
/**
8307+
* <p>The network type of the DB instance.</p>
8308+
* <p>Valid values:</p>
8309+
* <ul>
8310+
* <li>
8311+
* <p>
8312+
* <code>IPV4</code>
8313+
* </p>
8314+
* </li>
8315+
* <li>
8316+
* <p>
8317+
* <code>DUAL</code>
8318+
* </p>
8319+
* </li>
8320+
* </ul>
8321+
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
8322+
* A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
8323+
* protocols (<code>DUAL</code>).</p>
8324+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
8325+
* Working with a DB instance in a VPC</a> in the
8326+
* <i>Amazon RDS User Guide.</i>
8327+
* </p>
8328+
*/
8329+
NetworkType?: string;
82168330
}
82178331

82188332
export namespace RestoreDBInstanceFromS3Message {
@@ -8674,6 +8788,31 @@ export interface RestoreDBInstanceToPointInTimeMessage {
86748788
* with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
86758789
*/
86768790
BackupTarget?: string;
8791+
8792+
/**
8793+
* <p>The network type of the DB instance.</p>
8794+
* <p>Valid values:</p>
8795+
* <ul>
8796+
* <li>
8797+
* <p>
8798+
* <code>IPV4</code>
8799+
* </p>
8800+
* </li>
8801+
* <li>
8802+
* <p>
8803+
* <code>DUAL</code>
8804+
* </p>
8805+
* </li>
8806+
* </ul>
8807+
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
8808+
* A <code>DBSubnetGroup</code> can support only the IPv4 protocol or the IPv4 and the IPv6
8809+
* protocols (<code>DUAL</code>).</p>
8810+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
8811+
* Working with a DB instance in a VPC</a> in the
8812+
* <i>Amazon RDS User Guide.</i>
8813+
* </p>
8814+
*/
8815+
NetworkType?: string;
86778816
}
86788817

86798818
export namespace RestoreDBInstanceToPointInTimeMessage {

0 commit comments

Comments
 (0)