Skip to content

Commit

Permalink
feat(client-rds): This release adds support for monitoring storage op…
Browse files Browse the repository at this point in the history
…timization progress on the DescribeDBInstances API.
  • Loading branch information
awstools committed Jul 25, 2023
1 parent 08e0f30 commit 7b0a319
Show file tree
Hide file tree
Showing 19 changed files with 49 additions and 23 deletions.
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/CreateDBInstanceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterRes
* data from the primary cluster through high-speed replication
* performed by the Aurora storage subsystem.</p>
* <p>You can create a global database that is initially empty, and then
* add a primary cluster and a secondary cluster to it.
* create the primary and secondary DB clusters in the global database.
* Or you can specify an existing Aurora cluster during the create operation,
* and this cluster becomes the primary cluster of the global database.</p>
* <note>
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/DeleteDBInstanceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ export interface DeleteDBInstanceCommandOutput extends DeleteDBInstanceResult, _
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ export interface DescribeDBInstancesCommandOutput extends DBInstanceMessage, __M
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // ],
* // };
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/ModifyDBInstanceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
4 changes: 2 additions & 2 deletions clients/client-rds/src/commands/ModifyGlobalClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ export interface ModifyGlobalClusterCommandOutput extends ModifyGlobalClusterRes

/**
* @public
* <p>Modify a setting for an Amazon Aurora global cluster. You can change one or more database configuration
* <p>Modifies a setting for an Amazon Aurora global cluster. You can change one or more database configuration
* parameters by specifying these parameters and the new values in the request. For more information on
* Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the
* <i>Amazon Aurora User Guide</i>.</p>
* <note>
* <p>This action only applies to Aurora DB clusters.</p>
* <p>This operation only applies to Aurora global database clusters.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ export interface PromoteReadReplicaCommandOutput extends PromoteReadReplicaResul
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/RebootDBInstanceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ export interface RebootDBInstanceCommandOutput extends RebootDBInstanceResult, _
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ export interface RestoreDBInstanceFromDBSnapshotCommandOutput
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ export interface RestoreDBInstanceFromS3CommandOutput extends RestoreDBInstanceF
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ export interface RestoreDBInstanceToPointInTimeCommandOutput
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/StartDBInstanceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export interface StartDBInstanceCommandOutput extends StartDBInstanceResult, __M
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/StopDBInstanceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ export interface StopDBInstanceCommandOutput extends StopDBInstanceResult, __Met
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ export interface SwitchoverReadReplicaCommandOutput extends SwitchoverReadReplic
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // ReadReplicaSourceDBClusterIdentifier: "STRING_VALUE",
* // PercentProgress: "STRING_VALUE",
* // },
* // };
*
Expand Down
5 changes: 5 additions & 0 deletions clients/client-rds/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8290,6 +8290,11 @@ export interface DBInstance {
* replica.</p>
*/
ReadReplicaSourceDBClusterIdentifier?: string;

/**
* <p>The progress of the storage optimization operation as a percentage.</p>
*/
PercentProgress?: string;
}

/**
Expand Down
23 changes: 11 additions & 12 deletions clients/client-rds/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4929,7 +4929,7 @@ export interface ModifyDBInstanceMessage {
TdeCredentialPassword?: string;

/**
* <p>The CA certificate identifier to use for the DB instance6's server certificate.</p>
* <p>The CA certificate identifier to use for the DB instance's server certificate.</p>
* <p>This setting doesn't apply to RDS Custom DB instances.</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
* instance</a> in the <i>Amazon RDS User Guide</i> and
Expand Down Expand Up @@ -5920,7 +5920,7 @@ export interface ModifyEventSubscriptionResult {
*/
export interface ModifyGlobalClusterMessage {
/**
* <p>The DB cluster identifier for the global cluster being modified. This parameter isn't case-sensitive.</p>
* <p>The cluster identifier for the global cluster to modify. This parameter isn't case-sensitive.</p>
* <p>Constraints:</p>
* <ul>
* <li>
Expand All @@ -5931,18 +5931,18 @@ export interface ModifyGlobalClusterMessage {
GlobalClusterIdentifier?: string;

/**
* <p>The new cluster identifier for the global database cluster when modifying a global database cluster.
* <p>The new cluster identifier for the global database cluster.
* This value is stored as a lowercase string.</p>
* <p>Constraints:</p>
* <ul>
* <li>
* <p>Must contain from 1 to 63 letters, numbers, or hyphens</p>
* <p>Must contain from 1 to 63 letters, numbers, or hyphens.</p>
* </li>
* <li>
* <p>The first character must be a letter</p>
* <p>The first character must be a letter.</p>
* </li>
* <li>
* <p>Can't end with a hyphen or contain two consecutive hyphens</p>
* <p>Can't end with a hyphen or contain two consecutive hyphens.</p>
* </li>
* </ul>
* <p>Example: <code>my-cluster2</code>
Expand All @@ -5951,15 +5951,14 @@ export interface ModifyGlobalClusterMessage {
NewGlobalClusterIdentifier?: string;

/**
* <p>Indicates if the global database cluster has deletion protection enabled. The global database cluster
* <p>Specifies whether to enable deletion protection for the global database cluster. The global database cluster
* can't be deleted when deletion protection is enabled.</p>
*/
DeletionProtection?: boolean;

/**
* <p>The version number of the database engine to which you want to upgrade.
* Changing this parameter results in an outage. The change is applied during
* the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p>
* </p>
* <p>To list all of the available engine versions for <code>aurora-mysql</code> (for MySQL-based Aurora global databases), use the following command:</p>
* <p>
* <code>aws rds describe-db-engine-versions --engine aurora-mysql --query '*[]|[?SupportsGlobalDatabases == `true`].[EngineVersion]'</code>
Expand All @@ -5972,9 +5971,9 @@ export interface ModifyGlobalClusterMessage {
EngineVersion?: string;

/**
* <p>A value that indicates whether major version upgrades are allowed.</p>
* <p>Constraints: You must allow major version upgrades when specifying a value for the
* <code>EngineVersion</code> parameter that is a different major version than the DB
* <p>Specifies whether to allow major version upgrades.</p>
* <p>Constraints: Must be enabled if you specify a value for the
* <code>EngineVersion</code> parameter that's a different major version than the global
* cluster's current version.</p>
* <p>If you upgrade the major version of a global database, the cluster and DB instance parameter
* groups are set to the default parameter groups for the new version. Apply any custom parameter
Expand Down
3 changes: 3 additions & 0 deletions clients/client-rds/src/protocols/Aws_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21223,6 +21223,9 @@ const de_DBInstance = (output: any, context: __SerdeContext): DBInstance => {
if (output["ReadReplicaSourceDBClusterIdentifier"] !== undefined) {
contents.ReadReplicaSourceDBClusterIdentifier = __expectString(output["ReadReplicaSourceDBClusterIdentifier"]);
}
if (output["PercentProgress"] !== undefined) {
contents.PercentProgress = __expectString(output["PercentProgress"]);
}
return contents;
};

Expand Down
Loading

0 comments on commit 7b0a319

Please sign in to comment.