Skip to content

Commit

Permalink
feat(client-rds): Updated the input of CreateDBCluster and ModifyDBCl…
Browse files Browse the repository at this point in the history
…uster to support setting CA certificates. Updated the output of DescribeDBCluster to show current CA certificate setting value.
  • Loading branch information
awstools committed Mar 6, 2024
1 parent abd8a84 commit 8e37128
Show file tree
Hide file tree
Showing 16 changed files with 216 additions and 52 deletions.
9 changes: 9 additions & 0 deletions clients/client-rds/src/commands/CreateDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* ManageMasterUserPassword: true || false,
* MasterUserSecretKmsKeyId: "STRING_VALUE",
* EnableLocalWriteForwarding: true || false,
* CACertificateIdentifier: "STRING_VALUE",
* };
* const command = new CreateDBClusterCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -278,6 +279,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -308,6 +313,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/DeleteDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -231,6 +235,10 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/DescribeDBClustersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -238,6 +242,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // ],
* // };
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/FailoverDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -237,6 +241,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
9 changes: 9 additions & 0 deletions clients/client-rds/src/commands/ModifyDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* EnableLocalWriteForwarding: true || false,
* AwsBackupRecoveryPointArn: "STRING_VALUE",
* EnableLimitlessDatabase: true || false,
* CACertificateIdentifier: "STRING_VALUE",
* };
* const command = new ModifyDBClusterCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -258,6 +259,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -288,6 +293,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,10 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -218,6 +222,10 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/RebootDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -228,6 +232,10 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -284,6 +288,10 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -291,6 +295,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -293,6 +297,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/StartDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -225,6 +229,10 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
8 changes: 8 additions & 0 deletions clients/client-rds/src/commands/StopDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // },
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // CertificateDetails: { // CertificateDetails
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand Down Expand Up @@ -226,6 +230,10 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // CertificateDetails: {
* // CAIdentifier: "STRING_VALUE",
* // ValidTill: new Date("TIMESTAMP"),
* // },
* // },
* // };
*
Expand Down
Loading

0 comments on commit 8e37128

Please sign in to comment.