Skip to content

Commit

Permalink
feat(client-rds): Amazon Relational Database Service (RDS) updates fo…
Browse files Browse the repository at this point in the history
…r the new Aurora I/O-Optimized storage type for Amazon Aurora DB clusters
  • Loading branch information
awstools committed May 10, 2023
1 parent 235f75d commit e5a4ebc
Show file tree
Hide file tree
Showing 27 changed files with 226 additions and 81 deletions.
Expand Up @@ -123,6 +123,7 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
* // },
* // ],
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // },
* // };
*
Expand Down
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/CreateDBClusterCommand.ts
Expand Up @@ -251,6 +251,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -273,6 +274,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
Expand Up @@ -88,6 +88,7 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
* // },
* // ],
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // },
* // };
*
Expand Down
3 changes: 1 addition & 2 deletions clients/client-rds/src/commands/CreateDBInstanceCommand.ts
Expand Up @@ -419,8 +419,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>Storage of the <code>StorageType</code> specified can't be associated
* with the DB instance.</p>
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
Expand Down
Expand Up @@ -407,8 +407,7 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>Storage of the <code>StorageType</code> specified can't be associated
* with the DB instance.</p>
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
Expand Down
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/DeleteDBClusterCommand.ts
Expand Up @@ -180,6 +180,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -202,6 +203,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
Expand Up @@ -86,6 +86,7 @@ export interface DeleteDBClusterSnapshotCommandOutput extends DeleteDBClusterSna
* // },
* // ],
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // },
* // };
*
Expand Down
Expand Up @@ -98,6 +98,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh
* // },
* // ],
* // DBSystemId: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
* // },
* // ],
* // };
Expand Down
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/DescribeDBClustersCommand.ts
Expand Up @@ -188,6 +188,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -210,6 +211,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // ],
* // };
Expand Down
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/FailoverDBClusterCommand.ts
Expand Up @@ -185,6 +185,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -207,6 +208,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
6 changes: 6 additions & 0 deletions clients/client-rds/src/commands/ModifyDBClusterCommand.ts
Expand Up @@ -235,6 +235,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -257,6 +258,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down Expand Up @@ -314,6 +316,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
* <p>The request would result in the user exceeding the allowed amount of storage
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotAvailableFault} (client fault)
* <p>The <code>aurora-iopt1</code> storage type isn't available, because you modified the DB cluster
* to use this storage type less than one month ago.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
*
Expand Down
3 changes: 1 addition & 2 deletions clients/client-rds/src/commands/ModifyDBInstanceCommand.ts
Expand Up @@ -408,8 +408,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>Storage of the <code>StorageType</code> specified can't be associated
* with the DB instance.</p>
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
Expand Down
Expand Up @@ -168,6 +168,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -190,6 +191,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/RebootDBClusterCommand.ts
Expand Up @@ -178,6 +178,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -200,6 +201,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
Expand Up @@ -106,6 +106,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* NetworkType: "STRING_VALUE",
* ManageMasterUserPassword: true || false,
* MasterUserSecretKmsKeyId: "STRING_VALUE",
* StorageType: "STRING_VALUE",
* };
* const command = new RestoreDBClusterFromS3Command(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -233,6 +234,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -255,6 +257,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down Expand Up @@ -319,6 +322,9 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
* <p>The request would result in the user exceeding the allowed amount of storage
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
*
Expand Down
Expand Up @@ -236,6 +236,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -258,6 +259,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
Expand Up @@ -237,6 +237,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -259,6 +260,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
Expand Up @@ -409,8 +409,7 @@ export interface RestoreDBInstanceFromDBSnapshotCommandOutput
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>Storage of the <code>StorageType</code> specified can't be associated
* with the DB instance.</p>
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
Expand Down
Expand Up @@ -400,8 +400,7 @@ export interface RestoreDBInstanceFromS3CommandOutput extends RestoreDBInstanceF
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>Storage of the <code>StorageType</code> specified can't be associated
* with the DB instance.</p>
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
Expand Down
Expand Up @@ -414,8 +414,7 @@ export interface RestoreDBInstanceToPointInTimeCommandOutput
* available across all DB instances.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>Storage of the <code>StorageType</code> specified can't be associated
* with the DB instance.</p>
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
Expand Down
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/StartDBClusterCommand.ts
Expand Up @@ -175,6 +175,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -197,6 +198,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down
Expand Up @@ -125,8 +125,7 @@ export interface StartDBInstanceAutomatedBackupsReplicationCommandOutput
* <p>An error occurred accessing an Amazon Web Services KMS key.</p>
*
* @throws {@link StorageTypeNotSupportedFault} (client fault)
* <p>Storage of the <code>StorageType</code> specified can't be associated
* with the DB instance.</p>
* <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
*
* @throws {@link RDSServiceException}
* <p>Base exception class for all service exceptions from RDS service.</p>
Expand Down
2 changes: 2 additions & 0 deletions clients/client-rds/src/commands/StopDBClusterCommand.ts
Expand Up @@ -176,6 +176,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // BackupRetentionPeriod: Number("int"),
* // AllocatedStorage: Number("int"),
* // Iops: Number("int"),
* // StorageType: "STRING_VALUE",
* // },
* // DBClusterInstanceClass: "STRING_VALUE",
* // StorageType: "STRING_VALUE",
Expand All @@ -198,6 +199,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
* // SecretStatus: "STRING_VALUE",
* // KmsKeyId: "STRING_VALUE",
* // },
* // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
* // },
* // };
*
Expand Down

0 comments on commit e5a4ebc

Please sign in to comment.