Skip to content

Commit

Permalink
feat(client-rds): Add support for --enable-customer-owned-ip to RDS c…
Browse files Browse the repository at this point in the history
…reate-db-instance-read-replica API for RDS on Outposts.
  • Loading branch information
awstools committed Dec 19, 2022
1 parent 1ce4b88 commit 15ae8b9
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 142 deletions.
18 changes: 16 additions & 2 deletions clients/client-rds/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6621,7 +6621,7 @@ export interface CreateDBInstanceMessage {
* private cloud (VPC) on your local network.</p>
* <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a>
* in the <i>Amazon RDS User Guide</i>.</p>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned IP addresses</a>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a>
* in the <i>Amazon Web Services Outposts User Guide</i>.</p>
*/
EnableCustomerOwnedIp?: boolean;
Expand Down Expand Up @@ -7550,7 +7550,7 @@ export interface DBInstance {
* private cloud (VPC) on your local network.</p>
* <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a>
* in the <i>Amazon RDS User Guide</i>.</p>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned IP addresses</a>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a>
* in the <i>Amazon Web Services Outposts User Guide</i>.</p>
*/
CustomerOwnedIpEnabled?: boolean;
Expand Down Expand Up @@ -8281,6 +8281,20 @@ export interface CreateDBInstanceReadReplicaMessage {
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
*/
StorageThroughput?: number;

/**
* <p>A value that indicates whether to enable a customer-owned IP address (CoIP) for an RDS
* on Outposts read replica.</p>
* <p>A <i>CoIP</i> provides local or external connectivity to resources in
* your Outpost subnets through your on-premises network. For some use cases, a CoIP can
* provide lower latency for connections to the read replica from outside of its virtual
* private cloud (VPC) on your local network.</p>
* <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a>
* in the <i>Amazon RDS User Guide</i>.</p>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a>
* in the <i>Amazon Web Services Outposts User Guide</i>.</p>
*/
EnableCustomerOwnedIp?: boolean;
}

export interface CreateDBInstanceReadReplicaResult {
Expand Down
21 changes: 10 additions & 11 deletions clients/client-rds/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3980,15 +3980,14 @@ export interface ModifyDBInstanceMessage {

/**
* <p>The new compute and memory capacity of the DB instance, for example db.m4.large. Not all DB instance classes are available in all
* Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and
* availability for your engine, see
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB instance
* classes</a> in the <i>Amazon RDS User Guide</i> or
* Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html">DB Instance Class</a> in the
* <i>Amazon RDS User Guide</i> or
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.DBInstanceClass.html">Aurora
* DB instance classes</a> in the <i>Amazon Aurora User Guide</i>.</p>
* <p>If you modify the DB instance class, an outage occurs during the change. The change is applied during the next maintenance window,
* unless <code>ApplyImmediately</code> is enabled for this request.</p>
* <p>This setting doesn't apply to RDS Custom for Oracle.</p>
* DB instance classes</a> in the <i>Amazon Aurora User Guide</i>. For RDS Custom, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits.html#custom-reqs-limits.instances">DB instance class support for RDS Custom for Oracle</a> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/custom-reqs-limits-MS.html#custom-reqs-limits.instancesMS">
* DB instance class support for RDS Custom for SQL Server</a>.</p>
* <p>If you modify the DB instance class, an outage occurs during the change. The change is
* applied during the next maintenance window, unless you specify
* <code>ApplyImmediately</code> in your request.</p>
* <p>Default: Uses existing setting</p>
*/
DBInstanceClass?: string;
Expand Down Expand Up @@ -4646,7 +4645,7 @@ export interface ModifyDBInstanceMessage {
* private cloud (VPC) on your local network.</p>
* <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a>
* in the <i>Amazon RDS User Guide</i>.</p>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned IP addresses</a>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a>
* in the <i>Amazon Web Services Outposts User Guide</i>.</p>
*/
EnableCustomerOwnedIp?: boolean;
Expand Down Expand Up @@ -7386,7 +7385,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
* <p>This setting doesn't apply to RDS Custom.</p>
* <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a>
* in the <i>Amazon RDS User Guide</i>.</p>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned IP addresses</a>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a>
* in the <i>Amazon Web Services Outposts User Guide</i>.</p>
*/
EnableCustomerOwnedIp?: boolean;
Expand Down Expand Up @@ -8365,7 +8364,7 @@ export interface RestoreDBInstanceToPointInTimeMessage {
* <p>This setting doesn't apply to RDS Custom.</p>
* <p>For more information about RDS on Outposts, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html">Working with Amazon RDS on Amazon Web Services Outposts</a>
* in the <i>Amazon RDS User Guide</i>.</p>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing">Customer-owned IP addresses</a>
* <p>For more information about CoIPs, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/routing.html#ip-addressing">Customer-owned IP addresses</a>
* in the <i>Amazon Web Services Outposts User Guide</i>.</p>
*/
EnableCustomerOwnedIp?: boolean;
Expand Down
3 changes: 3 additions & 0 deletions clients/client-rds/src/protocols/Aws_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12919,6 +12919,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (
if (input.StorageThroughput != null) {
entries["StorageThroughput"] = input.StorageThroughput;
}
if (input.EnableCustomerOwnedIp != null) {
entries["EnableCustomerOwnedIp"] = input.EnableCustomerOwnedIp;
}
return entries;
};

Expand Down

0 comments on commit 15ae8b9

Please sign in to comment.