Skip to content

Commit

Permalink
feat(client-rds): This release adds support for gp3 data volumes for …
Browse files Browse the repository at this point in the history
…Multi-AZ DB Clusters.
  • Loading branch information
awstools committed Feb 26, 2024
1 parent 2a94d42 commit 29add4c
Show file tree
Hide file tree
Showing 22 changed files with 68 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // DbClusterResourceId: "STRING_VALUE",
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/CreateDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // DbClusterResourceId: "STRING_VALUE",
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export interface DeleteDBClusterAutomatedBackupCommandOutput
* // StorageType: "STRING_VALUE",
* // Iops: Number("int"),
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/DeleteDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export interface DeleteDBClusterSnapshotCommandOutput extends DeleteDBClusterSna
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // DbClusterResourceId: "STRING_VALUE",
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ export interface DescribeDBClusterAutomatedBackupsCommandOutput
* // StorageType: "STRING_VALUE",
* // Iops: Number("int"),
* // AwsBackupRecoveryPointArn: "STRING_VALUE",
* // StorageThroughput: Number("int"),
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // DbClusterResourceId: "STRING_VALUE",
* // StorageThroughput: Number("int"),
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/ModifyDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/RebootDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/StartDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
1 change: 1 addition & 0 deletions clients/client-rds/src/commands/StopDBClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // Status: "active" || "not-in-use" || "enabled" || "disabled" || "enabling" || "disabling" || "modifying-max-capacity" || "error",
* // MinRequiredACU: Number("double"),
* // },
* // StorageThroughput: Number("int"),
* // },
* // };
*
Expand Down
21 changes: 21 additions & 0 deletions clients/client-rds/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1993,6 +1993,13 @@ export interface DBClusterSnapshot {
* <p>The resource ID of the DB cluster that this DB cluster snapshot was created from.</p>
*/
DbClusterResourceId?: string;

/**
* @public
* <p>The storage throughput for the DB cluster snapshot. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>
* <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>
*/
StorageThroughput?: number;
}

/**
Expand Down Expand Up @@ -6168,6 +6175,13 @@ export interface DBCluster {
* <p>The details for Aurora Limitless Database.</p>
*/
LimitlessDatabase?: LimitlessDatabase;

/**
* @public
* <p>The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>
* <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>
*/
StorageThroughput?: number;
}

/**
Expand Down Expand Up @@ -13160,6 +13174,13 @@ export interface DBClusterAutomatedBackup {
* <p>The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.</p>
*/
AwsBackupRecoveryPointArn?: string;

/**
* @public
* <p>The storage throughput for the automated backup. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>
* <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>
*/
StorageThroughput?: number;
}

/**
Expand Down
5 changes: 1 addition & 4 deletions clients/client-rds/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12684,7 +12684,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {

/**
* @public
* <p>The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore from.</p>
* <p>The identifier for the Multi-AZ DB cluster snapshot to restore from.</p>
* <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB
* cluster deployments</a> in the <i>Amazon RDS User
* Guide</i>.</p>
Expand All @@ -12706,9 +12706,6 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
* <li>
* <p>Can't be the identifier of an Aurora DB cluster snapshot.</p>
* </li>
* <li>
* <p>Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster snapshot.</p>
* </li>
* </ul>
*/
DBClusterSnapshotIdentifier?: string;
Expand Down
9 changes: 9 additions & 0 deletions clients/client-rds/src/protocols/Aws_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17301,6 +17301,9 @@ const de_DBCluster = (output: any, context: __SerdeContext): DBCluster => {
if (output[_LD] != null) {
contents[_LD] = de_LimitlessDatabase(output[_LD], context);
}
if (output[_STt] != null) {
contents[_STt] = __strictParseInt32(output[_STt]) as number;
}
return contents;
};

Expand Down Expand Up @@ -17394,6 +17397,9 @@ const de_DBClusterAutomatedBackup = (output: any, context: __SerdeContext): DBCl
if (output[_ABRPA] != null) {
contents[_ABRPA] = __expectString(output[_ABRPA]);
}
if (output[_STt] != null) {
contents[_STt] = __strictParseInt32(output[_STt]) as number;
}
return contents;
};

Expand Down Expand Up @@ -17988,6 +17994,9 @@ const de_DBClusterSnapshot = (output: any, context: __SerdeContext): DBClusterSn
if (output[_DCRI] != null) {
contents[_DCRI] = __expectString(output[_DCRI]);
}
if (output[_STt] != null) {
contents[_STt] = __strictParseInt32(output[_STt]) as number;
}
return contents;
};

Expand Down
20 changes: 19 additions & 1 deletion codegen/sdk-codegen/aws-models/rds.json
Original file line number Diff line number Diff line change
Expand Up @@ -7425,6 +7425,12 @@
"traits": {
"smithy.api#documentation": "<p>The details for Aurora Limitless Database.</p>"
}
},
"StorageThroughput": {
"target": "com.amazonaws.rds#IntegerOptional",
"traits": {
"smithy.api#documentation": "<p>The storage throughput for the DB cluster. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>\n <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -7591,6 +7597,12 @@
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.</p>"
}
},
"StorageThroughput": {
"target": "com.amazonaws.rds#IntegerOptional",
"traits": {
"smithy.api#documentation": "<p>The storage throughput for the automated backup. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>\n <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -8426,6 +8438,12 @@
"traits": {
"smithy.api#documentation": "<p>The resource ID of the DB cluster that this DB cluster snapshot was created from.</p>"
}
},
"StorageThroughput": {
"target": "com.amazonaws.rds#IntegerOptional",
"traits": {
"smithy.api#documentation": "<p>The storage throughput for the DB cluster snapshot. The throughput is automatically set based on the IOPS that you provision, and is not configurable.</p>\n <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -27613,7 +27631,7 @@
"DBClusterSnapshotIdentifier": {
"target": "com.amazonaws.rds#String",
"traits": {
"smithy.api#documentation": "<p>The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore from.</p>\n <p>For more information on Multi-AZ DB clusters, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html\"> Multi-AZ DB\n cluster deployments</a> in the <i>Amazon RDS User\n Guide</i>.</p>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>Must match the identifier of an existing Multi-AZ DB cluster snapshot.</p>\n </li>\n <li>\n <p>Can't be specified when <code>DBSnapshotIdentifier</code> is specified.</p>\n </li>\n <li>\n <p>Must be specified when <code>DBSnapshotIdentifier</code> isn't specified.</p>\n </li>\n <li>\n <p>If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the <code>DBClusterSnapshotIdentifier</code>\n must be the ARN of the shared snapshot.</p>\n </li>\n <li>\n <p>Can't be the identifier of an Aurora DB cluster snapshot.</p>\n </li>\n <li>\n <p>Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster snapshot.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The identifier for the Multi-AZ DB cluster snapshot to restore from.</p>\n <p>For more information on Multi-AZ DB clusters, see <a href=\"https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html\"> Multi-AZ DB\n cluster deployments</a> in the <i>Amazon RDS User\n Guide</i>.</p>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>Must match the identifier of an existing Multi-AZ DB cluster snapshot.</p>\n </li>\n <li>\n <p>Can't be specified when <code>DBSnapshotIdentifier</code> is specified.</p>\n </li>\n <li>\n <p>Must be specified when <code>DBSnapshotIdentifier</code> isn't specified.</p>\n </li>\n <li>\n <p>If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the <code>DBClusterSnapshotIdentifier</code>\n must be the ARN of the shared snapshot.</p>\n </li>\n <li>\n <p>Can't be the identifier of an Aurora DB cluster snapshot.</p>\n </li>\n </ul>"
}
},
"AllocatedStorage": {
Expand Down

0 comments on commit 29add4c

Please sign in to comment.