From d2d3328a8c081342e9ee073db628985f58b555af Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 1 Aug 2024 18:21:51 +0000 Subject: [PATCH] feat(client-rds): This release adds support for specifying optional MinACU parameter in CreateDBShardGroup and ModifyDBShardGroup API. DBShardGroup response will contain MinACU if specified. --- .../src/commands/CreateDBShardGroupCommand.ts | 2 + .../src/commands/DeleteDBShardGroupCommand.ts | 1 + .../commands/DescribeDBShardGroupsCommand.ts | 1 + .../src/commands/ModifyDBShardGroupCommand.ts | 2 + .../src/commands/RebootDBShardGroupCommand.ts | 1 + clients/client-rds/src/models/models_0.ts | 199 +++++++++++------- clients/client-rds/src/models/models_1.ts | 62 ++++-- clients/client-rds/src/protocols/Aws_query.ts | 10 + codegen/sdk-codegen/aws-models/rds.json | 36 +++- 9 files changed, 209 insertions(+), 105 deletions(-) diff --git a/clients/client-rds/src/commands/CreateDBShardGroupCommand.ts b/clients/client-rds/src/commands/CreateDBShardGroupCommand.ts index ef6836185a09..67f7c380dd89 100644 --- a/clients/client-rds/src/commands/CreateDBShardGroupCommand.ts +++ b/clients/client-rds/src/commands/CreateDBShardGroupCommand.ts @@ -41,6 +41,7 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat * DBClusterIdentifier: "STRING_VALUE", // required * ComputeRedundancy: Number("int"), * MaxACU: Number("double"), // required + * MinACU: Number("double"), * PubliclyAccessible: true || false, * }; * const command = new CreateDBShardGroupCommand(input); @@ -50,6 +51,7 @@ export interface CreateDBShardGroupCommandOutput extends DBShardGroup, __Metadat * // DBShardGroupIdentifier: "STRING_VALUE", * // DBClusterIdentifier: "STRING_VALUE", * // MaxACU: Number("double"), + * // MinACU: Number("double"), * // ComputeRedundancy: Number("int"), * // Status: "STRING_VALUE", * // PubliclyAccessible: true || false, diff --git a/clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts b/clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts index d7f07b53a3ea..62b741ad2b05 100644 --- a/clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts +++ b/clients/client-rds/src/commands/DeleteDBShardGroupCommand.ts @@ -45,6 +45,7 @@ export interface DeleteDBShardGroupCommandOutput extends DBShardGroup, __Metadat * // DBShardGroupIdentifier: "STRING_VALUE", * // DBClusterIdentifier: "STRING_VALUE", * // MaxACU: Number("double"), + * // MinACU: Number("double"), * // ComputeRedundancy: Number("int"), * // Status: "STRING_VALUE", * // PubliclyAccessible: true || false, diff --git a/clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts b/clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts index 27a15041ab64..2d48220dd238 100644 --- a/clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBShardGroupsCommand.ts @@ -57,6 +57,7 @@ export interface DescribeDBShardGroupsCommandOutput extends DescribeDBShardGroup * // DBShardGroupIdentifier: "STRING_VALUE", * // DBClusterIdentifier: "STRING_VALUE", * // MaxACU: Number("double"), + * // MinACU: Number("double"), * // ComputeRedundancy: Number("int"), * // Status: "STRING_VALUE", * // PubliclyAccessible: true || false, diff --git a/clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts b/clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts index 18f8f9694dbb..09ca500eaa97 100644 --- a/clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts +++ b/clients/client-rds/src/commands/ModifyDBShardGroupCommand.ts @@ -40,6 +40,7 @@ export interface ModifyDBShardGroupCommandOutput extends DBShardGroup, __Metadat * const input = { // ModifyDBShardGroupMessage * DBShardGroupIdentifier: "STRING_VALUE", // required * MaxACU: Number("double"), + * MinACU: Number("double"), * }; * const command = new ModifyDBShardGroupCommand(input); * const response = await client.send(command); @@ -48,6 +49,7 @@ export interface ModifyDBShardGroupCommandOutput extends DBShardGroup, __Metadat * // DBShardGroupIdentifier: "STRING_VALUE", * // DBClusterIdentifier: "STRING_VALUE", * // MaxACU: Number("double"), + * // MinACU: Number("double"), * // ComputeRedundancy: Number("int"), * // Status: "STRING_VALUE", * // PubliclyAccessible: true || false, diff --git a/clients/client-rds/src/commands/RebootDBShardGroupCommand.ts b/clients/client-rds/src/commands/RebootDBShardGroupCommand.ts index 598ea0abd940..c34948674e09 100644 --- a/clients/client-rds/src/commands/RebootDBShardGroupCommand.ts +++ b/clients/client-rds/src/commands/RebootDBShardGroupCommand.ts @@ -48,6 +48,7 @@ export interface RebootDBShardGroupCommandOutput extends DBShardGroup, __Metadat * // DBShardGroupIdentifier: "STRING_VALUE", * // DBClusterIdentifier: "STRING_VALUE", * // MaxACU: Number("double"), + * // MinACU: Number("double"), * // ComputeRedundancy: Number("int"), * // Status: "STRING_VALUE", * // PubliclyAccessible: true || false, diff --git a/clients/client-rds/src/models/models_0.ts b/clients/client-rds/src/models/models_0.ts index 6de39cbf4a90..e6166e41b169 100644 --- a/clients/client-rds/src/models/models_0.ts +++ b/clients/client-rds/src/models/models_0.ts @@ -572,8 +572,8 @@ export class SubscriptionNotFoundFault extends __BaseException { /** *

Metadata assigned to an Amazon RDS resource consisting of a key-value pair.

*

For more information, see - * Tagging Amazon RDS Resources in the Amazon RDS User Guide - * or Tagging Amazon Aurora and Amazon RDS Resources in the Amazon Aurora User Guide. + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. *

* @public */ @@ -1569,9 +1569,11 @@ export interface CopyDBClusterParameterGroupMessage { TargetDBClusterParameterGroupDescription: string | undefined; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -1809,9 +1811,11 @@ export interface CopyDBClusterSnapshotMessage { CopyTags?: boolean; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -1970,9 +1974,11 @@ export interface DBClusterSnapshot { IAMDatabaseAuthenticationEnabled?: boolean; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ TagList?: Tag[]; @@ -2170,9 +2176,11 @@ export interface CopyDBParameterGroupMessage { TargetDBParameterGroupDescription: string | undefined; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -2294,9 +2302,11 @@ export interface CopyDBSnapshotMessage { KmsKeyId?: string; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -2667,9 +2677,11 @@ export interface DBSnapshot { DbiResourceId?: string; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ TagList?: Tag[]; @@ -2847,9 +2859,11 @@ export interface CopyOptionGroupMessage { TargetOptionGroupDescription: string | undefined; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -3490,9 +3504,11 @@ export interface BlueGreenDeployment { DeleteTime?: Date; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ TagList?: Tag[]; @@ -3756,9 +3772,11 @@ export interface CreateCustomDBEngineVersionMessage { Manifest?: string; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -4137,9 +4155,11 @@ export interface DBEngineVersion { CreateTime?: Date; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ TagList?: Tag[]; @@ -6121,9 +6141,11 @@ export interface DBCluster { DomainMemberships?: DomainMembership[]; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ TagList?: Tag[]; @@ -9446,9 +9468,11 @@ export interface DBInstance { MaxAllocatedStorage?: number; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ TagList?: Tag[]; @@ -9921,9 +9945,11 @@ export interface CreateDBInstanceReadReplicaMessage { PubliclyAccessible?: boolean; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -11065,9 +11091,11 @@ export interface CreateDBProxyEndpointRequest { TargetRole?: DBProxyEndpointTargetRole; /** - *

A list of tags. - * For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide. - *

+ *

A list of tags.

+ *

For more information, see + * Tagging Amazon RDS resources in the Amazon RDS User Guide or + * Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide. + *

* @public */ Tags?: Tag[]; @@ -11402,6 +11430,12 @@ export interface CreateDBShardGroupMessage { */ MaxACU: number | undefined; + /** + *

The minimum capacity of the DB shard group in Aurora capacity units (ACUs).

+ * @public + */ + MinACU?: number; + /** *

Specifies whether the DB shard group is publicly accessible.

*

When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from @@ -11461,6 +11495,12 @@ export interface DBShardGroup { */ MaxACU?: number; + /** + *

The minimum capacity of the DB shard group in Aurora capacity units (ACUs).

+ * @public + */ + MinACU?: number; + /** *

Specifies whether to create standby instances for the DB shard group. Valid values are the following:

*