Skip to content

Commit

Permalink
feat(client-rds): Feature - Adds support for Internet Protocol Versio…
Browse files Browse the repository at this point in the history
…n 6 (IPv6) on RDS database instances.
  • Loading branch information
awstools committed Apr 29, 2022
1 parent 0a12a1e commit 6224806
Show file tree
Hide file tree
Showing 4 changed files with 437 additions and 32 deletions.
151 changes: 122 additions & 29 deletions clients/client-rds/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6198,7 +6198,7 @@ export interface CreateDBInstanceMessage {
* <p>
* <b>Amazon RDS Custom for SQL Server</b>
* </p>
* <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>
* <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>
* in the <i>Amazon RDS User Guide</i>.</p>
* <p>
* <b>MariaDB</b>
Expand Down Expand Up @@ -6587,6 +6587,31 @@ export interface CreateDBInstanceMessage {
* with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
*/
BackupTarget?: string;

/**
* <p>The network type of the DB instance.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
* 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
NetworkType?: string;
}

export namespace CreateDBInstanceMessage {
Expand Down Expand Up @@ -6844,6 +6869,30 @@ export interface DBSubnetGroup {
* <p>The Amazon Resource Name (ARN) for the DB subnet group.</p>
*/
DBSubnetGroupArn?: string;

/**
* <p>The network type of the DB subnet group.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
SupportedNetworkTypes?: string[];
}

export namespace DBSubnetGroup {
Expand Down Expand Up @@ -7578,6 +7627,34 @@ export interface DBInstance {
* <p>Specifies where automated backups and manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.</p>
*/
BackupTarget?: string;

/**
* <p>The network type of the DB instance.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
* 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide</i> and
* <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>
*/
NetworkType?: string;
}

export namespace DBInstance {
Expand Down Expand Up @@ -7669,6 +7746,25 @@ export class InsufficientDBInstanceCapacityFault extends __BaseException {
}
}

/**
* <p>The network type is invalid for the DB instance. Valid nework type values are <code>IPV4</code> and <code>DUAL</code>.</p>
*/
export class NetworkTypeNotSupported extends __BaseException {
readonly name: "NetworkTypeNotSupported" = "NetworkTypeNotSupported";
readonly $fault: "client" = "client";
/**
* @internal
*/
constructor(opts: __ExceptionOptionType<NetworkTypeNotSupported, __BaseException>) {
super({
name: "NetworkTypeNotSupported",
$fault: "client",
...opts,
});
Object.setPrototypeOf(this, NetworkTypeNotSupported.prototype);
}
}

/**
* <p>Provisioned IOPS not available in the specified Availability Zone.</p>
*/
Expand Down Expand Up @@ -8143,6 +8239,31 @@ export interface CreateDBInstanceReadReplicaMessage {
* <p>This setting is required for RDS Custom.</p>
*/
CustomIamInstanceProfile?: string;

/**
* <p>The network type of the DB instance.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for read replica.
* 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
NetworkType?: string;
}

export namespace CreateDBInstanceReadReplicaMessage {
Expand Down Expand Up @@ -13398,31 +13519,3 @@ export namespace DBSnapshotAttribute {
...obj,
});
}

/**
* <p>Contains the results of a successful call to the <code>DescribeDBSnapshotAttributes</code>
* API action.</p>
* <p>Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts
* to copy or restore a manual DB snapshot. For more information, see the <code>ModifyDBSnapshotAttribute</code>
* API action.</p>
*/
export interface DBSnapshotAttributesResult {
/**
* <p>The identifier of the manual DB snapshot that the attributes apply to.</p>
*/
DBSnapshotIdentifier?: string;

/**
* <p>The list of attributes and values for the manual DB snapshot.</p>
*/
DBSnapshotAttributes?: DBSnapshotAttribute[];
}

export namespace DBSnapshotAttributesResult {
/**
* @internal
*/
export const filterSensitiveLog = (obj: DBSnapshotAttributesResult): any => ({
...obj,
});
}
141 changes: 140 additions & 1 deletion clients/client-rds/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
DBProxyTargetGroup,
DBSecurityGroup,
DBSnapshot,
DBSnapshotAttributesResult,
DBSnapshotAttribute,
DBSubnetGroup,
EventSubscription,
ExportTask,
Expand All @@ -36,6 +36,34 @@ import {
} from "./models_0";
import { RDSServiceException as __BaseException } from "./RDSServiceException";

/**
* <p>Contains the results of a successful call to the <code>DescribeDBSnapshotAttributes</code>
* API action.</p>
* <p>Manual DB snapshot attributes are used to authorize other Amazon Web Services accounts
* to copy or restore a manual DB snapshot. For more information, see the <code>ModifyDBSnapshotAttribute</code>
* API action.</p>
*/
export interface DBSnapshotAttributesResult {
/**
* <p>The identifier of the manual DB snapshot that the attributes apply to.</p>
*/
DBSnapshotIdentifier?: string;

/**
* <p>The list of attributes and values for the manual DB snapshot.</p>
*/
DBSnapshotAttributes?: DBSnapshotAttribute[];
}

export namespace DBSnapshotAttributesResult {
/**
* @internal
*/
export const filterSensitiveLog = (obj: DBSnapshotAttributesResult): any => ({
...obj,
});
}

export interface DescribeDBSnapshotAttributesResult {
/**
* <p>Contains the results of a successful call to the <code>DescribeDBSnapshotAttributes</code>
Expand Down Expand Up @@ -1976,6 +2004,17 @@ export interface OrderableDBInstanceOption {
* </p>
*/
SupportsClusters?: boolean;

/**
* <p>The network types supported by the DB instance (<code>IPV4</code> or <code>DUAL</code>).</p>
* <p>A DB instance 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
SupportedNetworkTypes?: string[];
}

export namespace OrderableDBInstanceOption {
Expand Down Expand Up @@ -4682,6 +4721,31 @@ export interface ModifyDBInstanceMessage {
* full automation. The minimum value is <code>60</code> (default). The maximum value is <code>1,440</code>.</p>
*/
ResumeFullAutomationModeMinutes?: number;

/**
* <p>The network type of the DB instance.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
* 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
NetworkType?: string;
}

export namespace ModifyDBInstanceMessage {
Expand Down Expand Up @@ -7778,6 +7842,31 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
* with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
*/
BackupTarget?: string;

/**
* <p>The network type of the DB instance.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
* 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
NetworkType?: string;
}

export namespace RestoreDBInstanceFromDBSnapshotMessage {
Expand Down Expand Up @@ -8213,6 +8302,31 @@ export interface RestoreDBInstanceFromS3Message {
* in the <i>Amazon RDS User Guide</i>.</p>
*/
MaxAllocatedStorage?: number;

/**
* <p>The network type of the DB instance.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
* 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
NetworkType?: string;
}

export namespace RestoreDBInstanceFromS3Message {
Expand Down Expand Up @@ -8674,6 +8788,31 @@ export interface RestoreDBInstanceToPointInTimeMessage {
* with Amazon RDS on Amazon Web Services Outposts</a> in the <i>Amazon RDS User Guide</i>.</p>
*/
BackupTarget?: string;

/**
* <p>The network type of the DB instance.</p>
* <p>Valid values:</p>
* <ul>
* <li>
* <p>
* <code>IPV4</code>
* </p>
* </li>
* <li>
* <p>
* <code>DUAL</code>
* </p>
* </li>
* </ul>
* <p>The network type is determined by the <code>DBSubnetGroup</code> specified for the DB instance.
* 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/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html">
* Working with a DB instance in a VPC</a> in the
* <i>Amazon RDS User Guide.</i>
* </p>
*/
NetworkType?: string;
}

export namespace RestoreDBInstanceToPointInTimeMessage {
Expand Down

0 comments on commit 6224806

Please sign in to comment.