Skip to content

Commit

Permalink
feat(client-rds): This release provides additional support for enabli…
Browse files Browse the repository at this point in the history
…ng Aurora Limitless Database DB clusters.
  • Loading branch information
awstools committed Oct 1, 2024
1 parent 3c2e59c commit b7b061d
Show file tree
Hide file tree
Showing 22 changed files with 187 additions and 26 deletions.
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/CreateDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* MaxCapacity: Number("double"),
* },
* NetworkType: "STRING_VALUE",
* ClusterScalabilityType: "standard" || "limitless",
* DBSystemId: "STRING_VALUE",
* ManageMasterUserPassword: true || false,
* MasterUserSecretKmsKeyId: "STRING_VALUE",
Expand Down Expand Up @@ -314,6 +315,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
15 changes: 15 additions & 0 deletions clients/client-rds/src/commands/CreateDBShardGroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
* MaxACU: Number("double"), // required
* MinACU: Number("double"),
* PubliclyAccessible: true || false,
* Tags: [ // TagList
* { // Tag
* Key: "STRING_VALUE",
* Value: "STRING_VALUE",
* },
* ],
* };
* const command = new CreateDBShardGroupCommand(input);
* const response = await client.send(command);
Expand All @@ -57,6 +63,12 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
* // PubliclyAccessible: true || false,
* // Endpoint: "STRING_VALUE",
* // DBShardGroupArn: "STRING_VALUE",
* // TagList: [ // TagList
* // { // Tag
* // Key: "STRING_VALUE",
* // Value: "STRING_VALUE",
* // },
* // ],
* // };
*
* ```
Expand Down Expand Up @@ -84,6 +96,9 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
* @throws {@link MaxDBShardGroupLimitReached} (client fault)
* <p>The maximum number of DB shard groups for your Amazon Web Services account in the specified Amazon Web Services Region has been reached.</p>
*
* @throws {@link NetworkTypeNotSupported} (client fault)
* <p>The network type is invalid for the DB instance. Valid nework type values are <code>IPV4</code> and <code>DUAL</code>.</p>
*
* @throws {@link UnsupportedDBEngineVersionFault} (client fault)
* <p>The specified DB engine version isn't supported for Aurora Limitless Database.</p>
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/DeleteDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ export interface DeleteDBShardGroupCommandOutput extends DBShardGroup, __Metadat
* // PubliclyAccessible: true || false,
* // Endpoint: "STRING_VALUE",
* // DBShardGroupArn: "STRING_VALUE",
* // TagList: [ // TagList
* // { // Tag
* // Key: "STRING_VALUE",
* // Value: "STRING_VALUE",
* // },
* // ],
* // };
*
* ```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import {
DeleteTenantDatabaseMessage,
DeleteTenantDatabaseResult,
DeleteTenantDatabaseResultFilterSensitiveLog,
} from "../models/models_0";
import { DeleteTenantDatabaseMessage } from "../models/models_0";
import { DeleteTenantDatabaseResult, DeleteTenantDatabaseResultFilterSensitiveLog } from "../models/models_1";
import { de_DeleteTenantDatabaseCommand, se_DeleteTenantDatabaseCommand } from "../protocols/Aws_query";
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ export interface DescribeDBShardGroupsCommandOutput extends DescribeDBShardGroup
* // PubliclyAccessible: true || false,
* // Endpoint: "STRING_VALUE",
* // DBShardGroupArn: "STRING_VALUE",
* // TagList: [ // TagList
* // { // Tag
* // Key: "STRING_VALUE",
* // Value: "STRING_VALUE",
* // },
* // ],
* // },
* // ],
* // Marker: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/ModifyDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ export interface ModifyDBShardGroupCommandOutput extends DBShardGroup, __Metadat
* // PubliclyAccessible: true || false,
* // Endpoint: "STRING_VALUE",
* // DBShardGroupArn: "STRING_VALUE",
* // TagList: [ // TagList
* // { // Tag
* // Key: "STRING_VALUE",
* // Value: "STRING_VALUE",
* // },
* // ],
* // };
*
* ```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/RebootDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
6 changes: 6 additions & 0 deletions clients/client-rds/src/commands/RebootDBShardGroupCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ export interface RebootDBShardGroupCommandOutput extends DBShardGroup, __Metadat
* // PubliclyAccessible: true || false,
* // Endpoint: "STRING_VALUE",
* // DBShardGroupArn: "STRING_VALUE",
* // TagList: [ // TagList
* // { // Tag
* // Key: "STRING_VALUE",
* // Value: "STRING_VALUE",
* // },
* // ],
* // };
*
* ```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/StartDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/StopDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // ClusterScalabilityType: "standard" || "limitless",
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
Expand Down
72 changes: 52 additions & 20 deletions clients/client-rds/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4240,6 +4240,20 @@ export class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
}
}

/**
* @public
* @enum
*/
export const ClusterScalabilityType = {
LIMITLESS: "limitless",
STANDARD: "standard",
} as const;

/**
* @public
*/
export type ClusterScalabilityType = (typeof ClusterScalabilityType)[keyof typeof ClusterScalabilityType];

/**
* @public
* @enum
Expand Down Expand Up @@ -5165,6 +5179,17 @@ export interface CreateDBClusterMessage {
*/
NetworkType?: string;

/**
* <p>Specifies the scalability mode of the Aurora DB cluster. When set to <code>limitless</code>, the cluster operates as an Aurora Limitless Database.
* When set to <code>standard</code> (the default), the cluster uses normal DB instance creation.</p>
* <p>Valid for: Aurora DB clusters only</p>
* <note>
* <p>You can't modify this setting after you create the DB cluster.</p>
* </note>
* @public
*/
ClusterScalabilityType?: ClusterScalabilityType;

/**
* <p>Reserved for future use.</p>
* @public
Expand Down Expand Up @@ -6339,6 +6364,13 @@ export interface DBCluster {
*/
StorageThroughput?: number;

/**
* <p>The scalability mode of the Aurora DB cluster. When set to <code>limitless</code>, the cluster operates as an Aurora Limitless Database.
* When set to <code>standard</code> (the default), the cluster uses normal DB instance creation.</p>
* @public
*/
ClusterScalabilityType?: ClusterScalabilityType;

/**
* <p>The details of the DB instance’s server certificate.</p>
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.SSL.html">Using SSL/TLS to encrypt a connection to a DB
Expand Down Expand Up @@ -11498,6 +11530,16 @@ export interface CreateDBShardGroupMessage {
* @public
*/
PubliclyAccessible?: boolean;

/**
* <p>A list of tags.</p>
* <p>For more information, see
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS resources</a> in the <i>Amazon RDS User Guide</i> or
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora and Amazon RDS resources</a> in the <i>Amazon Aurora User Guide</i>.
* </p>
* @public
*/
Tags?: Tag[];
}

/**
Expand Down Expand Up @@ -11583,6 +11625,16 @@ export interface DBShardGroup {
* @public
*/
DBShardGroupArn?: string;

/**
* <p>A list of tags.</p>
* <p>For more information, see
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html">Tagging Amazon RDS resources</a> in the <i>Amazon RDS User Guide</i> or
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html">Tagging Amazon Aurora and Amazon RDS resources</a> in the <i>Amazon Aurora User Guide</i>.
* </p>
* @public
*/
TagList?: Tag[];
}

/**
Expand Down Expand Up @@ -14513,18 +14565,6 @@ export interface DeleteTenantDatabaseMessage {
FinalDBSnapshotIdentifier?: string;
}

/**
* @public
*/
export interface DeleteTenantDatabaseResult {
/**
* <p>A tenant database in the DB instance. This data type is an element in the response to
* the <code>DescribeTenantDatabases</code> action.</p>
* @public
*/
TenantDatabase?: TenantDatabase;
}

/**
* @internal
*/
Expand Down Expand Up @@ -14560,11 +14600,3 @@ export const CreateTenantDatabaseResultFilterSensitiveLog = (obj: CreateTenantDa
...obj,
...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
});

/**
* @internal
*/
export const DeleteTenantDatabaseResultFilterSensitiveLog = (obj: DeleteTenantDatabaseResult): any => ({
...obj,
...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
});
20 changes: 20 additions & 0 deletions clients/client-rds/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ import {

import { RDSServiceException as __BaseException } from "./RDSServiceException";

/**
* @public
*/
export interface DeleteTenantDatabaseResult {
/**
* <p>A tenant database in the DB instance. This data type is an element in the response to
* the <code>DescribeTenantDatabases</code> action.</p>
* @public
*/
TenantDatabase?: TenantDatabase;
}

/**
* <p>The specified RDS DB instance or Aurora DB cluster isn't available for a proxy owned by your Amazon Web Services account in the specified Amazon Web Services Region.</p>
* @public
Expand Down Expand Up @@ -15144,6 +15156,14 @@ export interface SwitchoverReadReplicaResult {
DBInstance?: DBInstance;
}

/**
* @internal
*/
export const DeleteTenantDatabaseResultFilterSensitiveLog = (obj: DeleteTenantDatabaseResult): any => ({
...obj,
...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
});

/**
* @internal
*/
Expand Down
Loading

0 comments on commit b7b061d

Please sign in to comment.