Skip to content

Commit d2d3328

Browse files
author
awstools
committed
feat(client-rds): This release adds support for specifying optional MinACU parameter in CreateDBShardGroup and ModifyDBShardGroup API. DBShardGroup response will contain MinACU if specified.
1 parent bd90490 commit d2d3328

File tree

9 files changed

+209
-105
lines changed

9 files changed

+209
-105
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
4141
* DBClusterIdentifier: "STRING_VALUE", // required
4242
* ComputeRedundancy: Number("int"),
4343
* MaxACU: Number("double"), // required
44+
* MinACU: Number("double"),
4445
* PubliclyAccessible: true || false,
4546
* };
4647
* const command = new CreateDBShardGroupCommand(input);
@@ -50,6 +51,7 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat
5051
* // DBShardGroupIdentifier: "STRING_VALUE",
5152
* // DBClusterIdentifier: "STRING_VALUE",
5253
* // MaxACU: Number("double"),
54+
* // MinACU: Number("double"),
5355
* // ComputeRedundancy: Number("int"),
5456
* // Status: "STRING_VALUE",
5557
* // PubliclyAccessible: true || false,

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

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface DeleteDBShardGroupCommandOutput extends DBShardGroup, __Metadat
4545
* // DBShardGroupIdentifier: "STRING_VALUE",
4646
* // DBClusterIdentifier: "STRING_VALUE",
4747
* // MaxACU: Number("double"),
48+
* // MinACU: Number("double"),
4849
* // ComputeRedundancy: Number("int"),
4950
* // Status: "STRING_VALUE",
5051
* // PubliclyAccessible: true || false,

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

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export interface DescribeDBShardGroupsCommandOutput extends DescribeDBShardGroup
5757
* // DBShardGroupIdentifier: "STRING_VALUE",
5858
* // DBClusterIdentifier: "STRING_VALUE",
5959
* // MaxACU: Number("double"),
60+
* // MinACU: Number("double"),
6061
* // ComputeRedundancy: Number("int"),
6162
* // Status: "STRING_VALUE",
6263
* // PubliclyAccessible: true || false,

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

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export interface ModifyDBShardGroupCommandOutput extends DBShardGroup, __Metadat
4040
* const input = { // ModifyDBShardGroupMessage
4141
* DBShardGroupIdentifier: "STRING_VALUE", // required
4242
* MaxACU: Number("double"),
43+
* MinACU: Number("double"),
4344
* };
4445
* const command = new ModifyDBShardGroupCommand(input);
4546
* const response = await client.send(command);
@@ -48,6 +49,7 @@ export interface ModifyDBShardGroupCommandOutput extends DBShardGroup, __Metadat
4849
* // DBShardGroupIdentifier: "STRING_VALUE",
4950
* // DBClusterIdentifier: "STRING_VALUE",
5051
* // MaxACU: Number("double"),
52+
* // MinACU: Number("double"),
5153
* // ComputeRedundancy: Number("int"),
5254
* // Status: "STRING_VALUE",
5355
* // PubliclyAccessible: true || false,

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

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ export interface RebootDBShardGroupCommandOutput extends DBShardGroup, __Metadat
4848
* // DBShardGroupIdentifier: "STRING_VALUE",
4949
* // DBClusterIdentifier: "STRING_VALUE",
5050
* // MaxACU: Number("double"),
51+
* // MinACU: Number("double"),
5152
* // ComputeRedundancy: Number("int"),
5253
* // Status: "STRING_VALUE",
5354
* // PubliclyAccessible: true || false,

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

+125-74
Large diffs are not rendered by default.

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

+40-22
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ export interface DescribeDBClusterParametersMessage {
913913
* <ul>
914914
* <li>
915915
* <p>
916-
* <code>user</code>
916+
* <code>customer</code>
917917
* </p>
918918
* </li>
919919
* <li>
@@ -3758,9 +3758,11 @@ export interface DBSnapshotTenantDatabase {
37583758
NcharCharacterSetName?: string;
37593759

37603760
/**
3761-
* <p>A list of tags.
3762-
* 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>
3763-
* </p>
3761+
* <p>A list of tags.</p>
3762+
* <p>For more information, see
3763+
* <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
3764+
* <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>.
3765+
* </p>
37643766
* @public
37653767
*/
37663768
TagList?: Tag[];
@@ -9709,6 +9711,12 @@ export interface ModifyDBShardGroupMessage {
97099711
* @public
97109712
*/
97119713
MaxACU?: number;
9714+
9715+
/**
9716+
* <p>The minimum capacity of the DB shard group in Aurora capacity units (ACUs).</p>
9717+
* @public
9718+
*/
9719+
MinACU?: number;
97129720
}
97139721

97149722
/**
@@ -10083,7 +10091,7 @@ export interface ModifyIntegrationMessage {
1008310091
}
1008410092

1008510093
/**
10086-
* <p>A list of all available options</p>
10094+
* <p>A list of all available options for an option group.</p>
1008710095
* @public
1008810096
*/
1008910097
export interface OptionConfiguration {
@@ -10106,13 +10114,13 @@ export interface OptionConfiguration {
1010610114
OptionVersion?: string;
1010710115

1010810116
/**
10109-
* <p>A list of DBSecurityGroupMembership name strings used for this option.</p>
10117+
* <p>A list of DB security groups used for this option.</p>
1011010118
* @public
1011110119
*/
1011210120
DBSecurityGroupMemberships?: string[];
1011310121

1011410122
/**
10115-
* <p>A list of VpcSecurityGroupMembership name strings used for this option.</p>
10123+
* <p>A list of VPC security group names used for this option.</p>
1011610124
* @public
1011710125
*/
1011810126
VpcSecurityGroupMemberships?: string[];
@@ -10409,9 +10417,11 @@ export interface PurchaseReservedDBInstancesOfferingMessage {
1040910417
DBInstanceCount?: number;
1041010418

1041110419
/**
10412-
* <p>A list of tags.
10413-
* 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>
10414-
* </p>
10420+
* <p>A list of tags.</p>
10421+
* <p>For more information, see
10422+
* <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
10423+
* <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>.
10424+
* </p>
1041510425
* @public
1041610426
*/
1041710427
Tags?: Tag[];
@@ -11122,9 +11132,11 @@ export interface RestoreDBClusterFromS3Message {
1112211132
PreferredMaintenanceWindow?: string;
1112311133

1112411134
/**
11125-
* <p>A list of tags.
11126-
* 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>
11127-
* </p>
11135+
* <p>A list of tags.</p>
11136+
* <p>For more information, see
11137+
* <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
11138+
* <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>.
11139+
* </p>
1112811140
* @public
1112911141
*/
1113011142
Tags?: Tag[];
@@ -12031,9 +12043,11 @@ export interface RestoreDBClusterToPointInTimeMessage {
1203112043
VpcSecurityGroupIds?: string[];
1203212044

1203312045
/**
12034-
* <p>A list of tags.
12035-
* 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>
12036-
* </p>
12046+
* <p>A list of tags.</p>
12047+
* <p>For more information, see
12048+
* <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
12049+
* <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>.
12050+
* </p>
1203712051
* @public
1203812052
*/
1203912053
Tags?: Tag[];
@@ -12632,9 +12646,11 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
1263212646
OptionGroupName?: string;
1263312647

1263412648
/**
12635-
* <p>A list of tags.
12636-
* 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>
12637-
* </p>
12649+
* <p>A list of tags.</p>
12650+
* <p>For more information, see
12651+
* <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
12652+
* <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>.
12653+
* </p>
1263812654
* @public
1263912655
*/
1264012656
Tags?: Tag[];
@@ -13986,9 +14002,11 @@ export interface RestoreDBInstanceToPointInTimeMessage {
1398614002
CopyTagsToSnapshot?: boolean;
1398714003

1398814004
/**
13989-
* <p>A list of tags.
13990-
* 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>
13991-
* </p>
14005+
* <p>A list of tags.</p>
14006+
* <p>For more information, see
14007+
* <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
14008+
* <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>.
14009+
* </p>
1399214010
* @public
1399314011
*/
1399414012
Tags?: Tag[];

clients/client-rds/src/protocols/Aws_query.ts

+10
Original file line numberDiff line numberDiff line change
@@ -11239,6 +11239,9 @@ const se_CreateDBShardGroupMessage = (input: CreateDBShardGroupMessage, context:
1123911239
if (input[_MACU] != null) {
1124011240
entries[_MACU] = __serializeFloat(input[_MACU]);
1124111241
}
11242+
if (input[_MACUi] != null) {
11243+
entries[_MACUi] = __serializeFloat(input[_MACUi]);
11244+
}
1124211245
if (input[_PA] != null) {
1124311246
entries[_PA] = input[_PA];
1124411247
}
@@ -14161,6 +14164,9 @@ const se_ModifyDBShardGroupMessage = (input: ModifyDBShardGroupMessage, context:
1416114164
if (input[_MACU] != null) {
1416214165
entries[_MACU] = __serializeFloat(input[_MACU]);
1416314166
}
14167+
if (input[_MACUi] != null) {
14168+
entries[_MACUi] = __serializeFloat(input[_MACUi]);
14169+
}
1416414170
return entries;
1416514171
};
1416614172

@@ -19755,6 +19761,9 @@ const de_DBShardGroup = (output: any, context: __SerdeContext): DBShardGroup =>
1975519761
if (output[_MACU] != null) {
1975619762
contents[_MACU] = __strictParseFloat(output[_MACU]) as number;
1975719763
}
19764+
if (output[_MACUi] != null) {
19765+
contents[_MACUi] = __strictParseFloat(output[_MACUi]) as number;
19766+
}
1975819767
if (output[_CR] != null) {
1975919768
contents[_CR] = __strictParseInt32(output[_CR]) as number;
1976019769
}
@@ -25402,6 +25411,7 @@ const _Li = "Links";
2540225411
const _Lim = "Limit";
2540325412
const _M = "Manifest";
2540425413
const _MACU = "MaxACU";
25414+
const _MACUi = "MinACU";
2540525415
const _MAS = "ModifyActivityStream";
2540625416
const _MASa = "MaxAllocatedStorage";
2540725417
const _MAZ = "MultiAZ";

0 commit comments

Comments
 (0)