Skip to content

Commit b7b061d

Browse files
author
awstools
committed
feat(client-rds): This release provides additional support for enabling Aurora Limitless Database DB clusters.
1 parent 3c2e59c commit b7b061d

22 files changed

+187
-26
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
123123
* MaxCapacity: Number("double"),
124124
* },
125125
* NetworkType: "STRING_VALUE",
126+
* ClusterScalabilityType: "standard" || "limitless",
126127
* DBSystemId: "STRING_VALUE",
127128
* ManageMasterUserPassword: true || false,
128129
* MasterUserSecretKmsKeyId: "STRING_VALUE",
@@ -314,6 +315,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
314315
* // MinRequiredACU: Number("double"),
315316
* // },
316317
* // StorageThroughput: Number("int"),
318+
* // ClusterScalabilityType: "standard" || "limitless",
317319
* // CertificateDetails: {
318320
* // CAIdentifier: "STRING_VALUE",
319321
* // ValidTill: new Date("TIMESTAMP"),

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

+15
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
4343
* MaxACU: Number("double"), // required
4444
* MinACU: Number("double"),
4545
* PubliclyAccessible: true || false,
46+
* Tags: [ // TagList
47+
* { // Tag
48+
* Key: "STRING_VALUE",
49+
* Value: "STRING_VALUE",
50+
* },
51+
* ],
4652
* };
4753
* const command = new CreateDBShardGroupCommand(input);
4854
* const response = await client.send(command);
@@ -57,6 +63,12 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
5763
* // PubliclyAccessible: true || false,
5864
* // Endpoint: "STRING_VALUE",
5965
* // DBShardGroupArn: "STRING_VALUE",
66+
* // TagList: [ // TagList
67+
* // { // Tag
68+
* // Key: "STRING_VALUE",
69+
* // Value: "STRING_VALUE",
70+
* // },
71+
* // ],
6072
* // };
6173
*
6274
* ```
@@ -84,6 +96,9 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
8496
* @throws {@link MaxDBShardGroupLimitReached} (client fault)
8597
* <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>
8698
*
99+
* @throws {@link NetworkTypeNotSupported} (client fault)
100+
* <p>The network type is invalid for the DB instance. Valid nework type values are <code>IPV4</code> and <code>DUAL</code>.</p>
101+
*
87102
* @throws {@link UnsupportedDBEngineVersionFault} (client fault)
88103
* <p>The specified DB engine version isn't supported for Aurora Limitless Database.</p>
89104
*

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

+1
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
235235
* // MinRequiredACU: Number("double"),
236236
* // },
237237
* // StorageThroughput: Number("int"),
238+
* // ClusterScalabilityType: "standard" || "limitless",
238239
* // CertificateDetails: {
239240
* // CAIdentifier: "STRING_VALUE",
240241
* // ValidTill: new Date("TIMESTAMP"),

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

+6
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ export interface DeleteDBShardGroupCommandOutput extends DBShardGroup, __Metadat
5151
* // PubliclyAccessible: true || false,
5252
* // Endpoint: "STRING_VALUE",
5353
* // DBShardGroupArn: "STRING_VALUE",
54+
* // TagList: [ // TagList
55+
* // { // Tag
56+
* // Key: "STRING_VALUE",
57+
* // Value: "STRING_VALUE",
58+
* // },
59+
* // ],
5460
* // };
5561
*
5662
* ```

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

+2-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +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 {
9-
DeleteTenantDatabaseMessage,
10-
DeleteTenantDatabaseResult,
11-
DeleteTenantDatabaseResultFilterSensitiveLog,
12-
} from "../models/models_0";
8+
import { DeleteTenantDatabaseMessage } from "../models/models_0";
9+
import { DeleteTenantDatabaseResult, DeleteTenantDatabaseResultFilterSensitiveLog } from "../models/models_1";
1310
import { de_DeleteTenantDatabaseCommand, se_DeleteTenantDatabaseCommand } from "../protocols/Aws_query";
1411
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
1512

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

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
242242
* // MinRequiredACU: Number("double"),
243243
* // },
244244
* // StorageThroughput: Number("int"),
245+
* // ClusterScalabilityType: "standard" || "limitless",
245246
* // CertificateDetails: {
246247
* // CAIdentifier: "STRING_VALUE",
247248
* // ValidTill: new Date("TIMESTAMP"),

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

+6
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ export interface DescribeDBShardGroupsCommandOutput extends DescribeDBShardGroup
6363
* // PubliclyAccessible: true || false,
6464
* // Endpoint: "STRING_VALUE",
6565
* // DBShardGroupArn: "STRING_VALUE",
66+
* // TagList: [ // TagList
67+
* // { // Tag
68+
* // Key: "STRING_VALUE",
69+
* // Value: "STRING_VALUE",
70+
* // },
71+
* // ],
6672
* // },
6773
* // ],
6874
* // Marker: "STRING_VALUE",

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

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
241241
* // MinRequiredACU: Number("double"),
242242
* // },
243243
* // StorageThroughput: Number("int"),
244+
* // ClusterScalabilityType: "standard" || "limitless",
244245
* // CertificateDetails: {
245246
* // CAIdentifier: "STRING_VALUE",
246247
* // ValidTill: new Date("TIMESTAMP"),

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

+1
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
293293
* // MinRequiredACU: Number("double"),
294294
* // },
295295
* // StorageThroughput: Number("int"),
296+
* // ClusterScalabilityType: "standard" || "limitless",
296297
* // CertificateDetails: {
297298
* // CAIdentifier: "STRING_VALUE",
298299
* // ValidTill: new Date("TIMESTAMP"),

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

+6
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ export interface ModifyDBShardGroupCommandOutput extends DBShardGroup, __Metadat
5656
* // PubliclyAccessible: true || false,
5757
* // Endpoint: "STRING_VALUE",
5858
* // DBShardGroupArn: "STRING_VALUE",
59+
* // TagList: [ // TagList
60+
* // { // Tag
61+
* // Key: "STRING_VALUE",
62+
* // Value: "STRING_VALUE",
63+
* // },
64+
* // ],
5965
* // };
6066
*
6167
* ```

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

+1
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
222222
* // MinRequiredACU: Number("double"),
223223
* // },
224224
* // StorageThroughput: Number("int"),
225+
* // ClusterScalabilityType: "standard" || "limitless",
225226
* // CertificateDetails: {
226227
* // CAIdentifier: "STRING_VALUE",
227228
* // ValidTill: new Date("TIMESTAMP"),

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

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
232232
* // MinRequiredACU: Number("double"),
233233
* // },
234234
* // StorageThroughput: Number("int"),
235+
* // ClusterScalabilityType: "standard" || "limitless",
235236
* // CertificateDetails: {
236237
* // CAIdentifier: "STRING_VALUE",
237238
* // ValidTill: new Date("TIMESTAMP"),

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

+6
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ export interface RebootDBShardGroupCommandOutput extends DBShardGroup, __Metadat
5454
* // PubliclyAccessible: true || false,
5555
* // Endpoint: "STRING_VALUE",
5656
* // DBShardGroupArn: "STRING_VALUE",
57+
* // TagList: [ // TagList
58+
* // { // Tag
59+
* // Key: "STRING_VALUE",
60+
* // Value: "STRING_VALUE",
61+
* // },
62+
* // ],
5763
* // };
5864
*
5965
* ```

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

+1
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
289289
* // MinRequiredACU: Number("double"),
290290
* // },
291291
* // StorageThroughput: Number("int"),
292+
* // ClusterScalabilityType: "standard" || "limitless",
292293
* // CertificateDetails: {
293294
* // CAIdentifier: "STRING_VALUE",
294295
* // ValidTill: new Date("TIMESTAMP"),

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

+1
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
296296
* // MinRequiredACU: Number("double"),
297297
* // },
298298
* // StorageThroughput: Number("int"),
299+
* // ClusterScalabilityType: "standard" || "limitless",
299300
* // CertificateDetails: {
300301
* // CAIdentifier: "STRING_VALUE",
301302
* // ValidTill: new Date("TIMESTAMP"),

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

+1
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
298298
* // MinRequiredACU: Number("double"),
299299
* // },
300300
* // StorageThroughput: Number("int"),
301+
* // ClusterScalabilityType: "standard" || "limitless",
301302
* // CertificateDetails: {
302303
* // CAIdentifier: "STRING_VALUE",
303304
* // ValidTill: new Date("TIMESTAMP"),

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

+1
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
229229
* // MinRequiredACU: Number("double"),
230230
* // },
231231
* // StorageThroughput: Number("int"),
232+
* // ClusterScalabilityType: "standard" || "limitless",
232233
* // CertificateDetails: {
233234
* // CAIdentifier: "STRING_VALUE",
234235
* // ValidTill: new Date("TIMESTAMP"),

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

+1
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
230230
* // MinRequiredACU: Number("double"),
231231
* // },
232232
* // StorageThroughput: Number("int"),
233+
* // ClusterScalabilityType: "standard" || "limitless",
233234
* // CertificateDetails: {
234235
* // CAIdentifier: "STRING_VALUE",
235236
* // ValidTill: new Date("TIMESTAMP"),

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

+52-20
Original file line numberDiff line numberDiff line change
@@ -4240,6 +4240,20 @@ export class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
42404240
}
42414241
}
42424242

4243+
/**
4244+
* @public
4245+
* @enum
4246+
*/
4247+
export const ClusterScalabilityType = {
4248+
LIMITLESS: "limitless",
4249+
STANDARD: "standard",
4250+
} as const;
4251+
4252+
/**
4253+
* @public
4254+
*/
4255+
export type ClusterScalabilityType = (typeof ClusterScalabilityType)[keyof typeof ClusterScalabilityType];
4256+
42434257
/**
42444258
* @public
42454259
* @enum
@@ -5165,6 +5179,17 @@ export interface CreateDBClusterMessage {
51655179
*/
51665180
NetworkType?: string;
51675181

5182+
/**
5183+
* <p>Specifies the scalability mode of the Aurora DB cluster. When set to <code>limitless</code>, the cluster operates as an Aurora Limitless Database.
5184+
* When set to <code>standard</code> (the default), the cluster uses normal DB instance creation.</p>
5185+
* <p>Valid for: Aurora DB clusters only</p>
5186+
* <note>
5187+
* <p>You can't modify this setting after you create the DB cluster.</p>
5188+
* </note>
5189+
* @public
5190+
*/
5191+
ClusterScalabilityType?: ClusterScalabilityType;
5192+
51685193
/**
51695194
* <p>Reserved for future use.</p>
51705195
* @public
@@ -6339,6 +6364,13 @@ export interface DBCluster {
63396364
*/
63406365
StorageThroughput?: number;
63416366

6367+
/**
6368+
* <p>The scalability mode of the Aurora DB cluster. When set to <code>limitless</code>, the cluster operates as an Aurora Limitless Database.
6369+
* When set to <code>standard</code> (the default), the cluster uses normal DB instance creation.</p>
6370+
* @public
6371+
*/
6372+
ClusterScalabilityType?: ClusterScalabilityType;
6373+
63426374
/**
63436375
* <p>The details of the DB instance’s server certificate.</p>
63446376
* <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
@@ -11498,6 +11530,16 @@ export interface CreateDBShardGroupMessage {
1149811530
* @public
1149911531
*/
1150011532
PubliclyAccessible?: boolean;
11533+
11534+
/**
11535+
* <p>A list of tags.</p>
11536+
* <p>For more information, see
11537+
* <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
11538+
* <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>.
11539+
* </p>
11540+
* @public
11541+
*/
11542+
Tags?: Tag[];
1150111543
}
1150211544

1150311545
/**
@@ -11583,6 +11625,16 @@ export interface DBShardGroup {
1158311625
* @public
1158411626
*/
1158511627
DBShardGroupArn?: string;
11628+
11629+
/**
11630+
* <p>A list of tags.</p>
11631+
* <p>For more information, see
11632+
* <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
11633+
* <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>.
11634+
* </p>
11635+
* @public
11636+
*/
11637+
TagList?: Tag[];
1158611638
}
1158711639

1158811640
/**
@@ -14513,18 +14565,6 @@ export interface DeleteTenantDatabaseMessage {
1451314565
FinalDBSnapshotIdentifier?: string;
1451414566
}
1451514567

14516-
/**
14517-
* @public
14518-
*/
14519-
export interface DeleteTenantDatabaseResult {
14520-
/**
14521-
* <p>A tenant database in the DB instance. This data type is an element in the response to
14522-
* the <code>DescribeTenantDatabases</code> action.</p>
14523-
* @public
14524-
*/
14525-
TenantDatabase?: TenantDatabase;
14526-
}
14527-
1452814568
/**
1452914569
* @internal
1453014570
*/
@@ -14560,11 +14600,3 @@ export const CreateTenantDatabaseResultFilterSensitiveLog = (obj: CreateTenantDa
1456014600
...obj,
1456114601
...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
1456214602
});
14563-
14564-
/**
14565-
* @internal
14566-
*/
14567-
export const DeleteTenantDatabaseResultFilterSensitiveLog = (obj: DeleteTenantDatabaseResult): any => ({
14568-
...obj,
14569-
...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
14570-
});

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

+20
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ import {
4545

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

48+
/**
49+
* @public
50+
*/
51+
export interface DeleteTenantDatabaseResult {
52+
/**
53+
* <p>A tenant database in the DB instance. This data type is an element in the response to
54+
* the <code>DescribeTenantDatabases</code> action.</p>
55+
* @public
56+
*/
57+
TenantDatabase?: TenantDatabase;
58+
}
59+
4860
/**
4961
* <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>
5062
* @public
@@ -15144,6 +15156,14 @@ export interface SwitchoverReadReplicaResult {
1514415156
DBInstance?: DBInstance;
1514515157
}
1514615158

15159+
/**
15160+
* @internal
15161+
*/
15162+
export const DeleteTenantDatabaseResultFilterSensitiveLog = (obj: DeleteTenantDatabaseResult): any => ({
15163+
...obj,
15164+
...(obj.TenantDatabase && { TenantDatabase: TenantDatabaseFilterSensitiveLog(obj.TenantDatabase) }),
15165+
});
15166+
1514715167
/**
1514815168
* @internal
1514915169
*/

0 commit comments

Comments
 (0)