Skip to content

Commit

Permalink
feat(client-rds): This release adds support for customized networking…
Browse files Browse the repository at this point in the history
… resources to Amazon RDS Custom.
  • Loading branch information
awstools committed Nov 1, 2023
1 parent e4aa35f commit 0c0921a
Show file tree
Hide file tree
Showing 17 changed files with 293 additions and 25 deletions.
12 changes: 12 additions & 0 deletions clients/client-rds/src/commands/CreateDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* TimeoutAction: "STRING_VALUE",
* SecondsBeforeTimeout: Number("int"),
* },
* RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* InterconnectSubnetId: "STRING_VALUE",
* TransitGatewayMulticastDomainId: "STRING_VALUE",
* },
* DeletionProtection: true || false,
* GlobalClusterIdentifier: "STRING_VALUE",
* EnableHttpEndpoint: true || false,
Expand Down Expand Up @@ -217,6 +221,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -261,6 +269,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/DeleteDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,10 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -190,6 +194,10 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ import {
SMITHY_CONTEXT_KEY,
} from "@smithy/types";

import { DBClusterParameterGroupDetails } from "../models/models_0";
import { DescribeDBClusterParametersMessage } from "../models/models_1";
import { DBClusterParameterGroupDetails, DescribeDBClusterParametersMessage } from "../models/models_1";
import { de_DescribeDBClusterParametersCommand, se_DescribeDBClusterParametersCommand } from "../protocols/Aws_query";
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";

Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/DescribeDBClustersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -197,6 +201,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/FailoverDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -194,6 +198,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/ModifyDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -246,6 +250,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -177,6 +181,10 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/RebootDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -187,6 +191,10 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -243,6 +247,10 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* MaxCapacity: Number("double"),
* },
* NetworkType: "STRING_VALUE",
* RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* InterconnectSubnetId: "STRING_VALUE",
* TransitGatewayMulticastDomainId: "STRING_VALUE",
* },
* };
* const command = new RestoreDBClusterFromSnapshotCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -201,6 +205,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -245,6 +253,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* },
* NetworkType: "STRING_VALUE",
* SourceDbClusterResourceId: "STRING_VALUE",
* RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* InterconnectSubnetId: "STRING_VALUE",
* TransitGatewayMulticastDomainId: "STRING_VALUE",
* },
* };
* const command = new RestoreDBClusterToPointInTimeCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -203,6 +207,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -247,6 +255,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/StartDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -184,6 +188,10 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/StopDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // TimeoutAction: "STRING_VALUE",
* // SecondsBeforeTimeout: Number("int"),
* // },
* // RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // DeletionProtection: true || false,
* // HttpEndpointEnabled: true || false,
* // ActivityStreamMode: "sync" || "async",
Expand Down Expand Up @@ -185,6 +189,10 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // EngineVersion: "STRING_VALUE",
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // RdsCustomClusterConfiguration: {
* // InterconnectSubnetId: "STRING_VALUE",
* // TransitGatewayMulticastDomainId: "STRING_VALUE",
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
Expand Down
58 changes: 36 additions & 22 deletions clients/client-rds/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4121,6 +4121,24 @@ export class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
}
}

/**
* @public
* <p>Reserved for future use.</p>
*/
export interface RdsCustomClusterConfiguration {
/**
* @public
* <p>Reserved for future use.</p>
*/
InterconnectSubnetId?: string;

/**
* @public
* <p>Reserved for future use.</p>
*/
TransitGatewayMulticastDomainId?: string;
}

/**
* @public
* <p>Contains the scaling configuration of an Aurora Serverless v1 DB cluster.</p>
Expand Down Expand Up @@ -4679,6 +4697,12 @@ export interface CreateDBClusterMessage {
*/
ScalingConfiguration?: ScalingConfiguration;

/**
* @public
* <p>Reserved for future use.</p>
*/
RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;

/**
* @public
* <p>Specifies whether the DB cluster has deletion protection enabled.
Expand Down Expand Up @@ -5304,6 +5328,12 @@ export interface ClusterPendingModifiedValues {
*/
AllocatedStorage?: number;

/**
* @public
* <p>Reserved for future use.</p>
*/
RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;

/**
* @public
* <p>The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.</p>
Expand Down Expand Up @@ -5711,6 +5741,12 @@ export interface DBCluster {
*/
ScalingConfigurationInfo?: ScalingConfigurationInfo;

/**
* @public
* <p>Reserved for future use.</p>
*/
RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration;

/**
* @public
* <p>Indicates whether the DB cluster has deletion protection enabled.
Expand Down Expand Up @@ -14071,25 +14107,3 @@ export interface Parameter {
*/
SupportedEngineModes?: string[];
}

/**
* @public
* <p>Provides details about a DB cluster parameter group including the parameters in the DB cluster parameter group.</p>
*/
export interface DBClusterParameterGroupDetails {
/**
* @public
* <p>Provides a list of parameters for the DB cluster parameter group.</p>
*/
Parameters?: Parameter[];

/**
* @public
* <p>An optional pagination token provided by a previous
* <code>DescribeDBClusterParameters</code> request.
* If this parameter is specified, the response includes
* only records beyond the marker,
* up to the value specified by <code>MaxRecords</code>.</p>
*/
Marker?: string;
}
Loading

0 comments on commit 0c0921a

Please sign in to comment.