From 0c0921a96c3cfb676f79f10c8a17061ea33ccbf2 Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 1 Nov 2023 18:21:05 +0000 Subject: [PATCH] feat(client-rds): This release adds support for customized networking resources to Amazon RDS Custom. --- .../src/commands/CreateDBClusterCommand.ts | 12 ++++ .../src/commands/DeleteDBClusterCommand.ts | 8 +++ .../DescribeDBClusterParametersCommand.ts | 3 +- .../src/commands/DescribeDBClustersCommand.ts | 8 +++ .../src/commands/FailoverDBClusterCommand.ts | 8 +++ .../src/commands/ModifyDBClusterCommand.ts | 8 +++ .../PromoteReadReplicaDBClusterCommand.ts | 8 +++ .../src/commands/RebootDBClusterCommand.ts | 8 +++ .../commands/RestoreDBClusterFromS3Command.ts | 8 +++ .../RestoreDBClusterFromSnapshotCommand.ts | 12 ++++ .../RestoreDBClusterToPointInTimeCommand.ts | 12 ++++ .../src/commands/StartDBClusterCommand.ts | 8 +++ .../src/commands/StopDBClusterCommand.ts | 8 +++ clients/client-rds/src/models/models_0.ts | 58 ++++++++++------- clients/client-rds/src/models/models_1.ts | 35 ++++++++++ clients/client-rds/src/protocols/Aws_query.ts | 64 ++++++++++++++++++- codegen/sdk-codegen/aws-models/rds.json | 50 +++++++++++++++ 17 files changed, 293 insertions(+), 25 deletions(-) diff --git a/clients/client-rds/src/commands/CreateDBClusterCommand.ts b/clients/client-rds/src/commands/CreateDBClusterCommand.ts index 9fee9650f28b2..4d97adbde45a2 100644 --- a/clients/client-rds/src/commands/CreateDBClusterCommand.ts +++ b/clients/client-rds/src/commands/CreateDBClusterCommand.ts @@ -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, @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/DeleteDBClusterCommand.ts b/clients/client-rds/src/commands/DeleteDBClusterCommand.ts index 00c0bacce9ed4..03800acafb335 100644 --- a/clients/client-rds/src/commands/DeleteDBClusterCommand.ts +++ b/clients/client-rds/src/commands/DeleteDBClusterCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/DescribeDBClusterParametersCommand.ts b/clients/client-rds/src/commands/DescribeDBClusterParametersCommand.ts index 43b8dacc60f2d..d28a5a51281b4 100644 --- a/clients/client-rds/src/commands/DescribeDBClusterParametersCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBClusterParametersCommand.ts @@ -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"; diff --git a/clients/client-rds/src/commands/DescribeDBClustersCommand.ts b/clients/client-rds/src/commands/DescribeDBClustersCommand.ts index 8736c192549a3..b0a474069b088 100644 --- a/clients/client-rds/src/commands/DescribeDBClustersCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBClustersCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/FailoverDBClusterCommand.ts b/clients/client-rds/src/commands/FailoverDBClusterCommand.ts index 256679b7b98ef..60d4e62d7e823 100644 --- a/clients/client-rds/src/commands/FailoverDBClusterCommand.ts +++ b/clients/client-rds/src/commands/FailoverDBClusterCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/ModifyDBClusterCommand.ts b/clients/client-rds/src/commands/ModifyDBClusterCommand.ts index 40fdd182d7f88..6be312037ae53 100644 --- a/clients/client-rds/src/commands/ModifyDBClusterCommand.ts +++ b/clients/client-rds/src/commands/ModifyDBClusterCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts b/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts index 99414a83529e5..f9741ffc429fb 100644 --- a/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts +++ b/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/RebootDBClusterCommand.ts b/clients/client-rds/src/commands/RebootDBClusterCommand.ts index c72a24725175a..4cf570b366dea 100644 --- a/clients/client-rds/src/commands/RebootDBClusterCommand.ts +++ b/clients/client-rds/src/commands/RebootDBClusterCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts b/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts index 015bafc2c4110..b05c5728ba35a 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts index 8df89e68dc35f..0a9c93fa4739a 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -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); @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts index 1b428fb1fff1c..01e278220b808 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -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); @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/StartDBClusterCommand.ts b/clients/client-rds/src/commands/StartDBClusterCommand.ts index 957936b321d33..101686bd0e723 100644 --- a/clients/client-rds/src/commands/StartDBClusterCommand.ts +++ b/clients/client-rds/src/commands/StartDBClusterCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/commands/StopDBClusterCommand.ts b/clients/client-rds/src/commands/StopDBClusterCommand.ts index e3f51a66848b2..0dcf8ef5a6b0f 100644 --- a/clients/client-rds/src/commands/StopDBClusterCommand.ts +++ b/clients/client-rds/src/commands/StopDBClusterCommand.ts @@ -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", @@ -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", * // }, diff --git a/clients/client-rds/src/models/models_0.ts b/clients/client-rds/src/models/models_0.ts index 31c8d508df846..4f199a11b38b5 100644 --- a/clients/client-rds/src/models/models_0.ts +++ b/clients/client-rds/src/models/models_0.ts @@ -4121,6 +4121,24 @@ export class Ec2ImagePropertiesNotSupportedFault extends __BaseException { } } +/** + * @public + *

Reserved for future use.

+ */ +export interface RdsCustomClusterConfiguration { + /** + * @public + *

Reserved for future use.

+ */ + InterconnectSubnetId?: string; + + /** + * @public + *

Reserved for future use.

+ */ + TransitGatewayMulticastDomainId?: string; +} + /** * @public *

Contains the scaling configuration of an Aurora Serverless v1 DB cluster.

@@ -4679,6 +4697,12 @@ export interface CreateDBClusterMessage { */ ScalingConfiguration?: ScalingConfiguration; + /** + * @public + *

Reserved for future use.

+ */ + RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration; + /** * @public *

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

Reserved for future use.

+ */ + RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration; + /** * @public *

The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.

@@ -5711,6 +5741,12 @@ export interface DBCluster { */ ScalingConfigurationInfo?: ScalingConfigurationInfo; + /** + * @public + *

Reserved for future use.

+ */ + RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration; + /** * @public *

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

Provides details about a DB cluster parameter group including the parameters in the DB cluster parameter group.

- */ -export interface DBClusterParameterGroupDetails { - /** - * @public - *

Provides a list of parameters for the DB cluster parameter group.

- */ - Parameters?: Parameter[]; - - /** - * @public - *

An optional pagination token provided by a previous - * DescribeDBClusterParameters request. - * If this parameter is specified, the response includes - * only records beyond the marker, - * up to the value specified by MaxRecords.

- */ - Marker?: string; -} diff --git a/clients/client-rds/src/models/models_1.ts b/clients/client-rds/src/models/models_1.ts index 860a4e3dfc676..9a66e88958345 100644 --- a/clients/client-rds/src/models/models_1.ts +++ b/clients/client-rds/src/models/models_1.ts @@ -30,6 +30,7 @@ import { OptionSetting, Parameter, ProcessorFeature, + RdsCustomClusterConfiguration, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, @@ -39,6 +40,28 @@ import { } from "./models_0"; import { RDSServiceException as __BaseException } from "./RDSServiceException"; +/** + * @public + *

Provides details about a DB cluster parameter group including the parameters in the DB cluster parameter group.

+ */ +export interface DBClusterParameterGroupDetails { + /** + * @public + *

Provides a list of parameters for the DB cluster parameter group.

+ */ + Parameters?: Parameter[]; + + /** + * @public + *

An optional pagination token provided by a previous + * DescribeDBClusterParameters request. + * If this parameter is specified, the response includes + * only records beyond the marker, + * up to the value specified by MaxRecords.

+ */ + Marker?: string; +} + /** * @public *

@@ -9323,6 +9346,12 @@ export interface RestoreDBClusterFromSnapshotMessage { *

Valid for: Aurora DB clusters only

*/ NetworkType?: string; + + /** + * @public + *

Reserved for future use.

+ */ + RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration; } /** @@ -9746,6 +9775,12 @@ export interface RestoreDBClusterToPointInTimeMessage { *

The resource ID of the source DB cluster from which to restore.

*/ SourceDbClusterResourceId?: string; + + /** + * @public + *

Reserved for future use.

+ */ + RdsCustomClusterConfiguration?: RdsCustomClusterConfiguration; } /** diff --git a/clients/client-rds/src/protocols/Aws_query.ts b/clients/client-rds/src/protocols/Aws_query.ts index 992b0ec657f93..b3fe631a45b9b 100644 --- a/clients/client-rds/src/protocols/Aws_query.ts +++ b/clients/client-rds/src/protocols/Aws_query.ts @@ -594,7 +594,6 @@ import { DBClusterNotFoundFault, DBClusterOptionGroupStatus, DBClusterParameterGroup, - DBClusterParameterGroupDetails, DBClusterParameterGroupNotFoundFault, DBClusterParameterGroupsMessage, DBClusterQuotaExceededFault, @@ -753,6 +752,7 @@ import { PendingModifiedValues, ProcessorFeature, ProvisionedIopsNotAvailableInAZFault, + RdsCustomClusterConfiguration, ResourceNotFoundFault, ResourcePendingMaintenanceActions, RestoreWindow, @@ -788,6 +788,7 @@ import { ConnectionPoolConfigurationInfo, DBClusterCapacityInfo, DBClusterMessage, + DBClusterParameterGroupDetails, DBClusterParameterGroupNameMessage, DBClusterRoleNotFoundFault, DBClusterSnapshotAttribute, @@ -14345,6 +14346,13 @@ const se_CreateDBClusterMessage = (input: CreateDBClusterMessage, context: __Ser entries[loc] = value; }); } + if (input.RdsCustomClusterConfiguration != null) { + const memberEntries = se_RdsCustomClusterConfiguration(input.RdsCustomClusterConfiguration, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RdsCustomClusterConfiguration.${key}`; + entries[loc] = value; + }); + } if (input.DeletionProtection != null) { entries["DeletionProtection"] = input.DeletionProtection; } @@ -18154,6 +18162,20 @@ const se_PurchaseReservedDBInstancesOfferingMessage = ( return entries; }; +/** + * serializeAws_queryRdsCustomClusterConfiguration + */ +const se_RdsCustomClusterConfiguration = (input: RdsCustomClusterConfiguration, context: __SerdeContext): any => { + const entries: any = {}; + if (input.InterconnectSubnetId != null) { + entries["InterconnectSubnetId"] = input.InterconnectSubnetId; + } + if (input.TransitGatewayMulticastDomainId != null) { + entries["TransitGatewayMulticastDomainId"] = input.TransitGatewayMulticastDomainId; + } + return entries; +}; + /** * serializeAws_queryRebootDBClusterMessage */ @@ -18626,6 +18648,13 @@ const se_RestoreDBClusterFromSnapshotMessage = ( if (input.NetworkType != null) { entries["NetworkType"] = input.NetworkType; } + if (input.RdsCustomClusterConfiguration != null) { + const memberEntries = se_RdsCustomClusterConfiguration(input.RdsCustomClusterConfiguration, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RdsCustomClusterConfiguration.${key}`; + entries[loc] = value; + }); + } return entries; }; @@ -18750,6 +18779,13 @@ const se_RestoreDBClusterToPointInTimeMessage = ( if (input.SourceDbClusterResourceId != null) { entries["SourceDbClusterResourceId"] = input.SourceDbClusterResourceId; } + if (input.RdsCustomClusterConfiguration != null) { + const memberEntries = se_RdsCustomClusterConfiguration(input.RdsCustomClusterConfiguration, context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RdsCustomClusterConfiguration.${key}`; + entries[loc] = value; + }); + } return entries; }; @@ -20167,6 +20203,12 @@ const de_ClusterPendingModifiedValues = (output: any, context: __SerdeContext): if (output["AllocatedStorage"] !== undefined) { contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]) as number; } + if (output["RdsCustomClusterConfiguration"] !== undefined) { + contents.RdsCustomClusterConfiguration = de_RdsCustomClusterConfiguration( + output["RdsCustomClusterConfiguration"], + context + ); + } if (output["Iops"] !== undefined) { contents.Iops = __strictParseInt32(output["Iops"]) as number; } @@ -20711,6 +20753,12 @@ const de_DBCluster = (output: any, context: __SerdeContext): DBCluster => { if (output["ScalingConfigurationInfo"] !== undefined) { contents.ScalingConfigurationInfo = de_ScalingConfigurationInfo(output["ScalingConfigurationInfo"], context); } + if (output["RdsCustomClusterConfiguration"] !== undefined) { + contents.RdsCustomClusterConfiguration = de_RdsCustomClusterConfiguration( + output["RdsCustomClusterConfiguration"], + context + ); + } if (output["DeletionProtection"] !== undefined) { contents.DeletionProtection = __parseBoolean(output["DeletionProtection"]); } @@ -26489,6 +26537,20 @@ const de_RangeList = (output: any, context: __SerdeContext): Range[] => { }); }; +/** + * deserializeAws_queryRdsCustomClusterConfiguration + */ +const de_RdsCustomClusterConfiguration = (output: any, context: __SerdeContext): RdsCustomClusterConfiguration => { + const contents: any = {}; + if (output["InterconnectSubnetId"] !== undefined) { + contents.InterconnectSubnetId = __expectString(output["InterconnectSubnetId"]); + } + if (output["TransitGatewayMulticastDomainId"] !== undefined) { + contents.TransitGatewayMulticastDomainId = __expectString(output["TransitGatewayMulticastDomainId"]); + } + return contents; +}; + /** * deserializeAws_queryReadersArnList */ diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 74f1e4344d0b6..007dd3a224cf2 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -2899,6 +2899,12 @@ "smithy.api#documentation": "

The allocated storage size in gibibytes (GiB) for all database engines except Amazon Aurora. For Aurora, \n AllocatedStorage always returns 1, because Aurora DB cluster storage size isn't fixed, but \n instead automatically adjusts as needed.

" } }, + "RdsCustomClusterConfiguration": { + "target": "com.amazonaws.rds#RdsCustomClusterConfiguration", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } + }, "Iops": { "target": "com.amazonaws.rds#IntegerOptional", "traits": { @@ -4160,6 +4166,12 @@ "smithy.api#documentation": "

For DB clusters in serverless DB engine mode, the scaling properties of the DB cluster.

\n

Valid for Cluster Type: Aurora DB clusters only

" } }, + "RdsCustomClusterConfiguration": { + "target": "com.amazonaws.rds#RdsCustomClusterConfiguration", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } + }, "DeletionProtection": { "target": "com.amazonaws.rds#BooleanOptional", "traits": { @@ -6879,6 +6891,12 @@ "ScalingConfigurationInfo": { "target": "com.amazonaws.rds#ScalingConfigurationInfo" }, + "RdsCustomClusterConfiguration": { + "target": "com.amazonaws.rds#RdsCustomClusterConfiguration", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } + }, "DeletionProtection": { "target": "com.amazonaws.rds#BooleanOptional", "traits": { @@ -22948,6 +22966,26 @@ } } }, + "com.amazonaws.rds#RdsCustomClusterConfiguration": { + "type": "structure", + "members": { + "InterconnectSubnetId": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } + }, + "TransitGatewayMulticastDomainId": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } + }, "com.amazonaws.rds#ReadReplicaDBClusterIdentifierList": { "type": "list", "member": { @@ -24720,6 +24758,12 @@ "traits": { "smithy.api#documentation": "

The network type of the DB cluster.

\n

Valid Values:

\n \n

The network type is determined by the DBSubnetGroup specified for the DB cluster. \n A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 \n protocols (DUAL).

\n

For more information, see \n Working with a DB instance in a VPC in the \n Amazon Aurora User Guide.\n

\n

Valid for: Aurora DB clusters only

" } + }, + "RdsCustomClusterConfiguration": { + "target": "com.amazonaws.rds#RdsCustomClusterConfiguration", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } } }, "traits": { @@ -25030,6 +25074,12 @@ "traits": { "smithy.api#documentation": "

The resource ID of the source DB cluster from which to restore.

" } + }, + "RdsCustomClusterConfiguration": { + "target": "com.amazonaws.rds#RdsCustomClusterConfiguration", + "traits": { + "smithy.api#documentation": "

Reserved for future use.

" + } } }, "traits": {