Skip to content

Commit 38f10e0

Browse files
author
awstools
committed
feat(client-rds): Added new EndpointNetworkType and TargetConnectionNetworkType fields in Proxy APIs to support IPv6
1 parent d4b1d36 commit 38f10e0

13 files changed

+327
-34
lines changed

clients/client-rds/src/commands/CreateDBProxyCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ export interface CreateDBProxyCommandOutput extends CreateDBProxyResponse, __Met
6464
* Value: "STRING_VALUE",
6565
* },
6666
* ],
67+
* EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
68+
* TargetConnectionNetworkType: "IPV4" || "IPV6",
6769
* };
6870
* const command = new CreateDBProxyCommand(input);
6971
* const response = await client.send(command);
@@ -97,6 +99,8 @@ export interface CreateDBProxyCommandOutput extends CreateDBProxyResponse, __Met
9799
* // DebugLogging: true || false,
98100
* // CreatedDate: new Date("TIMESTAMP"),
99101
* // UpdatedDate: new Date("TIMESTAMP"),
102+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
103+
* // TargetConnectionNetworkType: "IPV4" || "IPV6",
100104
* // },
101105
* // };
102106
*

clients/client-rds/src/commands/CreateDBProxyEndpointCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface CreateDBProxyEndpointCommandOutput extends CreateDBProxyEndpoin
5353
* Value: "STRING_VALUE",
5454
* },
5555
* ],
56+
* EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
5657
* };
5758
* const command = new CreateDBProxyEndpointCommand(input);
5859
* const response = await client.send(command);
@@ -73,6 +74,7 @@ export interface CreateDBProxyEndpointCommandOutput extends CreateDBProxyEndpoin
7374
* // CreatedDate: new Date("TIMESTAMP"),
7475
* // TargetRole: "READ_WRITE" || "READ_ONLY",
7576
* // IsDefault: true || false,
77+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
7678
* // },
7779
* // };
7880
*

clients/client-rds/src/commands/DeleteDBProxyCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ export interface DeleteDBProxyCommandOutput extends DeleteDBProxyResponse, __Met
7070
* // DebugLogging: true || false,
7171
* // CreatedDate: new Date("TIMESTAMP"),
7272
* // UpdatedDate: new Date("TIMESTAMP"),
73+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
74+
* // TargetConnectionNetworkType: "IPV4" || "IPV6",
7375
* // },
7476
* // };
7577
*

clients/client-rds/src/commands/DeleteDBProxyEndpointCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export interface DeleteDBProxyEndpointCommandOutput extends DeleteDBProxyEndpoin
5959
* // CreatedDate: new Date("TIMESTAMP"),
6060
* // TargetRole: "READ_WRITE" || "READ_ONLY",
6161
* // IsDefault: true || false,
62+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
6263
* // },
6364
* // };
6465
*

clients/client-rds/src/commands/DeleteIntegrationCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DeleteIntegrationMessage, Integration } from "../models/models_0";
8+
import { Integration } from "../models/models_0";
9+
import { DeleteIntegrationMessage } from "../models/models_1";
910
import { de_DeleteIntegrationCommand, se_DeleteIntegrationCommand } from "../protocols/Aws_query";
1011
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
1112

clients/client-rds/src/commands/DescribeDBProxiesCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ export interface DescribeDBProxiesCommandOutput extends DescribeDBProxiesRespons
8181
* // DebugLogging: true || false,
8282
* // CreatedDate: new Date("TIMESTAMP"),
8383
* // UpdatedDate: new Date("TIMESTAMP"),
84+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
85+
* // TargetConnectionNetworkType: "IPV4" || "IPV6",
8486
* // },
8587
* // ],
8688
* // Marker: "STRING_VALUE",

clients/client-rds/src/commands/DescribeDBProxyEndpointsCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export interface DescribeDBProxyEndpointsCommandOutput extends DescribeDBProxyEn
6969
* // CreatedDate: new Date("TIMESTAMP"),
7070
* // TargetRole: "READ_WRITE" || "READ_ONLY",
7171
* // IsDefault: true || false,
72+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
7273
* // },
7374
* // ],
7475
* // Marker: "STRING_VALUE",

clients/client-rds/src/commands/ModifyDBProxyCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ export interface ModifyDBProxyCommandOutput extends ModifyDBProxyResponse, __Met
8888
* // DebugLogging: true || false,
8989
* // CreatedDate: new Date("TIMESTAMP"),
9090
* // UpdatedDate: new Date("TIMESTAMP"),
91+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
92+
* // TargetConnectionNetworkType: "IPV4" || "IPV6",
9193
* // },
9294
* // };
9395
*

clients/client-rds/src/commands/ModifyDBProxyEndpointCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export interface ModifyDBProxyEndpointCommandOutput extends ModifyDBProxyEndpoin
6161
* // CreatedDate: new Date("TIMESTAMP"),
6262
* // TargetRole: "READ_WRITE" || "READ_ONLY",
6363
* // IsDefault: true || false,
64+
* // EndpointNetworkType: "IPV4" || "IPV6" || "DUAL",
6465
* // },
6566
* // };
6667
*

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

Lines changed: 181 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11177,6 +11177,21 @@ export interface UserAuthConfig {
1117711177
ClientPasswordAuthType?: ClientPasswordAuthType | undefined;
1117811178
}
1117911179

11180+
/**
11181+
* @public
11182+
* @enum
11183+
*/
11184+
export const EndpointNetworkType = {
11185+
DUAL: "DUAL",
11186+
IPV4: "IPV4",
11187+
IPV6: "IPV6",
11188+
} as const;
11189+
11190+
/**
11191+
* @public
11192+
*/
11193+
export type EndpointNetworkType = (typeof EndpointNetworkType)[keyof typeof EndpointNetworkType];
11194+
1118011195
/**
1118111196
* @public
1118211197
* @enum
@@ -11192,6 +11207,21 @@ export const EngineFamily = {
1119211207
*/
1119311208
export type EngineFamily = (typeof EngineFamily)[keyof typeof EngineFamily];
1119411209

11210+
/**
11211+
* @public
11212+
* @enum
11213+
*/
11214+
export const TargetConnectionNetworkType = {
11215+
IPV4: "IPV4",
11216+
IPV6: "IPV6",
11217+
} as const;
11218+
11219+
/**
11220+
* @public
11221+
*/
11222+
export type TargetConnectionNetworkType =
11223+
(typeof TargetConnectionNetworkType)[keyof typeof TargetConnectionNetworkType];
11224+
1119511225
/**
1119611226
* @public
1119711227
*/
@@ -11265,6 +11295,66 @@ export interface CreateDBProxyRequest {
1126511295
* @public
1126611296
*/
1126711297
Tags?: Tag[] | undefined;
11298+
11299+
/**
11300+
* <p>The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.</p>
11301+
* <p>Valid values:</p>
11302+
* <ul>
11303+
* <li>
11304+
* <p>
11305+
* <code>IPV4</code> - The proxy endpoint supports IPv4 only.</p>
11306+
* </li>
11307+
* <li>
11308+
* <p>
11309+
* <code>IPV6</code> - The proxy endpoint supports IPv6 only.</p>
11310+
* </li>
11311+
* <li>
11312+
* <p>
11313+
* <code>DUAL</code> - The proxy endpoint supports both IPv4 and IPv6.</p>
11314+
* </li>
11315+
* </ul>
11316+
* <p>Default: <code>IPV4</code>
11317+
* </p>
11318+
* <p>Constraints:</p>
11319+
* <ul>
11320+
* <li>
11321+
* <p>If you specify <code>IPV6</code> or <code>DUAL</code>, the VPC and all subnets must have an IPv6 CIDR block.</p>
11322+
* </li>
11323+
* <li>
11324+
* <p>If you specify <code>IPV6</code> or <code>DUAL</code>, the VPC tenancy cannot be <code>dedicated</code>.</p>
11325+
* </li>
11326+
* </ul>
11327+
* @public
11328+
*/
11329+
EndpointNetworkType?: EndpointNetworkType | undefined;
11330+
11331+
/**
11332+
* <p>The network type that the proxy uses to connect to the target database. The network type determines the IP version that the proxy uses for connections to the database.</p>
11333+
* <p>Valid values:</p>
11334+
* <ul>
11335+
* <li>
11336+
* <p>
11337+
* <code>IPV4</code> - The proxy connects to the database using IPv4 only.</p>
11338+
* </li>
11339+
* <li>
11340+
* <p>
11341+
* <code>IPV6</code> - The proxy connects to the database using IPv6 only.</p>
11342+
* </li>
11343+
* </ul>
11344+
* <p>Default: <code>IPV4</code>
11345+
* </p>
11346+
* <p>Constraints:</p>
11347+
* <ul>
11348+
* <li>
11349+
* <p>If you specify <code>IPV6</code>, the database must support dual-stack mode. RDS doesn't support IPv6-only databases.</p>
11350+
* </li>
11351+
* <li>
11352+
* <p>All targets registered with the proxy must be compatible with the specified network type.</p>
11353+
* </li>
11354+
* </ul>
11355+
* @public
11356+
*/
11357+
TargetConnectionNetworkType?: TargetConnectionNetworkType | undefined;
1126811358
}
1126911359

1127011360
/**
@@ -11441,6 +11531,44 @@ export interface DBProxy {
1144111531
* @public
1144211532
*/
1144311533
UpdatedDate?: Date | undefined;
11534+
11535+
/**
11536+
* <p>The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.</p>
11537+
* <p>Valid values:</p>
11538+
* <ul>
11539+
* <li>
11540+
* <p>
11541+
* <code>IPV4</code> - The proxy endpoint supports IPv4 only.</p>
11542+
* </li>
11543+
* <li>
11544+
* <p>
11545+
* <code>IPV6</code> - The proxy endpoint supports IPv6 only.</p>
11546+
* </li>
11547+
* <li>
11548+
* <p>
11549+
* <code>DUAL</code> - The proxy endpoint supports both IPv4 and IPv6.</p>
11550+
* </li>
11551+
* </ul>
11552+
* @public
11553+
*/
11554+
EndpointNetworkType?: EndpointNetworkType | undefined;
11555+
11556+
/**
11557+
* <p>The network type that the proxy uses to connect to the target database. The network type determines the IP version that the proxy uses for connections to the database.</p>
11558+
* <p>Valid values:</p>
11559+
* <ul>
11560+
* <li>
11561+
* <p>
11562+
* <code>IPV4</code> - The proxy connects to the database using IPv4 only.</p>
11563+
* </li>
11564+
* <li>
11565+
* <p>
11566+
* <code>IPV6</code> - The proxy connects to the database using IPv6 only.</p>
11567+
* </li>
11568+
* </ul>
11569+
* @public
11570+
*/
11571+
TargetConnectionNetworkType?: TargetConnectionNetworkType | undefined;
1144411572
}
1144511573

1144611574
/**
@@ -11556,6 +11684,38 @@ export interface CreateDBProxyEndpointRequest {
1155611684
* @public
1155711685
*/
1155811686
Tags?: Tag[] | undefined;
11687+
11688+
/**
11689+
* <p>The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.</p>
11690+
* <p>Valid values:</p>
11691+
* <ul>
11692+
* <li>
11693+
* <p>
11694+
* <code>IPV4</code> - The proxy endpoint supports IPv4 only.</p>
11695+
* </li>
11696+
* <li>
11697+
* <p>
11698+
* <code>IPV6</code> - The proxy endpoint supports IPv6 only.</p>
11699+
* </li>
11700+
* <li>
11701+
* <p>
11702+
* <code>DUAL</code> - The proxy endpoint supports both IPv4 and IPv6.</p>
11703+
* </li>
11704+
* </ul>
11705+
* <p>Default: <code>IPV4</code>
11706+
* </p>
11707+
* <p>Constraints:</p>
11708+
* <ul>
11709+
* <li>
11710+
* <p>If you specify <code>IPV6</code> or <code>DUAL</code>, the VPC and all subnets must have an IPv6 CIDR block.</p>
11711+
* </li>
11712+
* <li>
11713+
* <p>If you specify <code>IPV6</code> or <code>DUAL</code>, the VPC tenancy cannot be <code>dedicated</code>.</p>
11714+
* </li>
11715+
* </ul>
11716+
* @public
11717+
*/
11718+
EndpointNetworkType?: EndpointNetworkType | undefined;
1155911719
}
1156011720

1156111721
/**
@@ -11657,6 +11817,27 @@ export interface DBProxyEndpoint {
1165711817
* @public
1165811818
*/
1165911819
IsDefault?: boolean | undefined;
11820+
11821+
/**
11822+
* <p>The network type of the DB proxy endpoint. The network type determines the IP version that the proxy endpoint supports.</p>
11823+
* <p>Valid values:</p>
11824+
* <ul>
11825+
* <li>
11826+
* <p>
11827+
* <code>IPV4</code> - The proxy endpoint supports IPv4 only.</p>
11828+
* </li>
11829+
* <li>
11830+
* <p>
11831+
* <code>IPV6</code> - The proxy endpoint supports IPv6 only.</p>
11832+
* </li>
11833+
* <li>
11834+
* <p>
11835+
* <code>DUAL</code> - The proxy endpoint supports both IPv4 and IPv6.</p>
11836+
* </li>
11837+
* </ul>
11838+
* @public
11839+
*/
11840+
EndpointNetworkType?: EndpointNetworkType | undefined;
1166011841
}
1166111842

1166211843
/**
@@ -14910,37 +15091,6 @@ export interface DeleteGlobalClusterResult {
1491015091
GlobalCluster?: GlobalCluster | undefined;
1491115092
}
1491215093

14913-
/**
14914-
* @public
14915-
*/
14916-
export interface DeleteIntegrationMessage {
14917-
/**
14918-
* <p>The unique identifier of the integration.</p>
14919-
* @public
14920-
*/
14921-
IntegrationIdentifier: string | undefined;
14922-
}
14923-
14924-
/**
14925-
* <p>The integration is in an invalid state and can't perform the requested operation.</p>
14926-
* @public
14927-
*/
14928-
export class InvalidIntegrationStateFault extends __BaseException {
14929-
readonly name: "InvalidIntegrationStateFault" = "InvalidIntegrationStateFault";
14930-
readonly $fault: "client" = "client";
14931-
/**
14932-
* @internal
14933-
*/
14934-
constructor(opts: __ExceptionOptionType<InvalidIntegrationStateFault, __BaseException>) {
14935-
super({
14936-
name: "InvalidIntegrationStateFault",
14937-
$fault: "client",
14938-
...opts,
14939-
});
14940-
Object.setPrototypeOf(this, InvalidIntegrationStateFault.prototype);
14941-
}
14942-
}
14943-
1494415094
/**
1494515095
* @internal
1494615096
*/

0 commit comments

Comments
 (0)