From e5a4ebc188af2aa7a7d3043e594aaf519574aa1f Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 10 May 2023 18:14:00 +0000 Subject: [PATCH] feat(client-rds): Amazon Relational Database Service (RDS) updates for the new Aurora I/O-Optimized storage type for Amazon Aurora DB clusters --- .../commands/CopyDBClusterSnapshotCommand.ts | 1 + .../src/commands/CreateDBClusterCommand.ts | 2 + .../CreateDBClusterSnapshotCommand.ts | 1 + .../src/commands/CreateDBInstanceCommand.ts | 3 +- .../CreateDBInstanceReadReplicaCommand.ts | 3 +- .../src/commands/DeleteDBClusterCommand.ts | 2 + .../DeleteDBClusterSnapshotCommand.ts | 1 + .../DescribeDBClusterSnapshotsCommand.ts | 1 + .../src/commands/DescribeDBClustersCommand.ts | 2 + .../src/commands/FailoverDBClusterCommand.ts | 2 + .../src/commands/ModifyDBClusterCommand.ts | 6 ++ .../src/commands/ModifyDBInstanceCommand.ts | 3 +- .../PromoteReadReplicaDBClusterCommand.ts | 2 + .../src/commands/RebootDBClusterCommand.ts | 2 + .../commands/RestoreDBClusterFromS3Command.ts | 6 ++ .../RestoreDBClusterFromSnapshotCommand.ts | 2 + .../RestoreDBClusterToPointInTimeCommand.ts | 2 + .../RestoreDBInstanceFromDBSnapshotCommand.ts | 3 +- .../RestoreDBInstanceFromS3Command.ts | 3 +- .../RestoreDBInstanceToPointInTimeCommand.ts | 3 +- .../src/commands/StartDBClusterCommand.ts | 2 + ...tanceAutomatedBackupsReplicationCommand.ts | 3 +- .../src/commands/StopDBClusterCommand.ts | 2 + clients/client-rds/src/models/models_0.ts | 66 +++++++++--------- clients/client-rds/src/models/models_1.ts | 67 ++++++++++++------ clients/client-rds/src/protocols/Aws_query.ts | 48 +++++++++++++ codegen/sdk-codegen/aws-models/rds.json | 69 ++++++++++++++++--- 27 files changed, 226 insertions(+), 81 deletions(-) diff --git a/clients/client-rds/src/commands/CopyDBClusterSnapshotCommand.ts b/clients/client-rds/src/commands/CopyDBClusterSnapshotCommand.ts index be33a8dd6c62..6a78870c2e0a 100644 --- a/clients/client-rds/src/commands/CopyDBClusterSnapshotCommand.ts +++ b/clients/client-rds/src/commands/CopyDBClusterSnapshotCommand.ts @@ -123,6 +123,7 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho * // }, * // ], * // DBSystemId: "STRING_VALUE", + * // StorageType: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-rds/src/commands/CreateDBClusterCommand.ts b/clients/client-rds/src/commands/CreateDBClusterCommand.ts index addd377a72bf..640ff8799f73 100644 --- a/clients/client-rds/src/commands/CreateDBClusterCommand.ts +++ b/clients/client-rds/src/commands/CreateDBClusterCommand.ts @@ -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", @@ -273,6 +274,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/CreateDBClusterSnapshotCommand.ts b/clients/client-rds/src/commands/CreateDBClusterSnapshotCommand.ts index 297dd5fe03d0..94c3717bff19 100644 --- a/clients/client-rds/src/commands/CreateDBClusterSnapshotCommand.ts +++ b/clients/client-rds/src/commands/CreateDBClusterSnapshotCommand.ts @@ -88,6 +88,7 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna * // }, * // ], * // DBSystemId: "STRING_VALUE", + * // StorageType: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-rds/src/commands/CreateDBInstanceCommand.ts b/clients/client-rds/src/commands/CreateDBInstanceCommand.ts index b426c5a9ec0d..915dae1f3547 100644 --- a/clients/client-rds/src/commands/CreateDBInstanceCommand.ts +++ b/clients/client-rds/src/commands/CreateDBInstanceCommand.ts @@ -419,8 +419,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _ * available across all DB instances.

* * @throws {@link StorageTypeNotSupportedFault} (client fault) - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

diff --git a/clients/client-rds/src/commands/CreateDBInstanceReadReplicaCommand.ts b/clients/client-rds/src/commands/CreateDBInstanceReadReplicaCommand.ts index cb688fc325bd..7df26ee61324 100644 --- a/clients/client-rds/src/commands/CreateDBInstanceReadReplicaCommand.ts +++ b/clients/client-rds/src/commands/CreateDBInstanceReadReplicaCommand.ts @@ -407,8 +407,7 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan * available across all DB instances.

* * @throws {@link StorageTypeNotSupportedFault} (client fault) - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

diff --git a/clients/client-rds/src/commands/DeleteDBClusterCommand.ts b/clients/client-rds/src/commands/DeleteDBClusterCommand.ts index 990730174f01..75c1b634d883 100644 --- a/clients/client-rds/src/commands/DeleteDBClusterCommand.ts +++ b/clients/client-rds/src/commands/DeleteDBClusterCommand.ts @@ -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", @@ -202,6 +203,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/DeleteDBClusterSnapshotCommand.ts b/clients/client-rds/src/commands/DeleteDBClusterSnapshotCommand.ts index 01ef1b113242..5fcce0a42d85 100644 --- a/clients/client-rds/src/commands/DeleteDBClusterSnapshotCommand.ts +++ b/clients/client-rds/src/commands/DeleteDBClusterSnapshotCommand.ts @@ -86,6 +86,7 @@ export interface DeleteDBClusterSnapshotCommandOutput extends DeleteDBClusterSna * // }, * // ], * // DBSystemId: "STRING_VALUE", + * // StorageType: "STRING_VALUE", * // }, * // }; * diff --git a/clients/client-rds/src/commands/DescribeDBClusterSnapshotsCommand.ts b/clients/client-rds/src/commands/DescribeDBClusterSnapshotsCommand.ts index f7825395254c..31af0c815c65 100644 --- a/clients/client-rds/src/commands/DescribeDBClusterSnapshotsCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBClusterSnapshotsCommand.ts @@ -98,6 +98,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh * // }, * // ], * // DBSystemId: "STRING_VALUE", + * // StorageType: "STRING_VALUE", * // }, * // ], * // }; diff --git a/clients/client-rds/src/commands/DescribeDBClustersCommand.ts b/clients/client-rds/src/commands/DescribeDBClustersCommand.ts index e2c3a76e96e5..623c4e01611e 100644 --- a/clients/client-rds/src/commands/DescribeDBClustersCommand.ts +++ b/clients/client-rds/src/commands/DescribeDBClustersCommand.ts @@ -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", @@ -210,6 +211,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // ], * // }; diff --git a/clients/client-rds/src/commands/FailoverDBClusterCommand.ts b/clients/client-rds/src/commands/FailoverDBClusterCommand.ts index d30bfbbb7035..a5121bb56b00 100644 --- a/clients/client-rds/src/commands/FailoverDBClusterCommand.ts +++ b/clients/client-rds/src/commands/FailoverDBClusterCommand.ts @@ -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", @@ -207,6 +208,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult, * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/ModifyDBClusterCommand.ts b/clients/client-rds/src/commands/ModifyDBClusterCommand.ts index c67765442f08..eba8655b632c 100644 --- a/clients/client-rds/src/commands/ModifyDBClusterCommand.ts +++ b/clients/client-rds/src/commands/ModifyDBClusterCommand.ts @@ -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", @@ -257,6 +258,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * @@ -314,6 +316,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M *

The request would result in the user exceeding the allowed amount of storage * available across all DB instances.

* + * @throws {@link StorageTypeNotAvailableFault} (client fault) + *

The aurora-iopt1 storage type isn't available, because you modified the DB cluster + * to use this storage type less than one month ago.

+ * * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* diff --git a/clients/client-rds/src/commands/ModifyDBInstanceCommand.ts b/clients/client-rds/src/commands/ModifyDBInstanceCommand.ts index 035665c8d5c5..cd445b386b1f 100644 --- a/clients/client-rds/src/commands/ModifyDBInstanceCommand.ts +++ b/clients/client-rds/src/commands/ModifyDBInstanceCommand.ts @@ -408,8 +408,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _ * available across all DB instances.

* * @throws {@link StorageTypeNotSupportedFault} (client fault) - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

diff --git a/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts b/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts index e575b756d188..2d1f0ae19ca1 100644 --- a/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts +++ b/clients/client-rds/src/commands/PromoteReadReplicaDBClusterCommand.ts @@ -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", @@ -190,6 +191,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/RebootDBClusterCommand.ts b/clients/client-rds/src/commands/RebootDBClusterCommand.ts index 866c56ecd953..270127ba6553 100644 --- a/clients/client-rds/src/commands/RebootDBClusterCommand.ts +++ b/clients/client-rds/src/commands/RebootDBClusterCommand.ts @@ -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", @@ -200,6 +201,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts b/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts index 7f696542ab64..70132510802b 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterFromS3Command.ts @@ -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); @@ -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", @@ -255,6 +257,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * @@ -319,6 +322,9 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro *

The request would result in the user exceeding the allowed amount of storage * available across all DB instances.

* + * @throws {@link StorageTypeNotSupportedFault} (client fault) + *

The specified StorageType can't be associated with the DB instance.

+ * * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

* diff --git a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts index e09256694fce..4fed2c3999b0 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterFromSnapshotCommand.ts @@ -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", @@ -258,6 +259,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts index f13ea9d975bc..35c22dcb5329 100644 --- a/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBClusterToPointInTimeCommand.ts @@ -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", @@ -259,6 +260,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/RestoreDBInstanceFromDBSnapshotCommand.ts b/clients/client-rds/src/commands/RestoreDBInstanceFromDBSnapshotCommand.ts index 859e01694a58..d38fc1927401 100644 --- a/clients/client-rds/src/commands/RestoreDBInstanceFromDBSnapshotCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBInstanceFromDBSnapshotCommand.ts @@ -409,8 +409,7 @@ export interface RestoreDBInstanceFromDBSnapshotCommandOutput * available across all DB instances.

* * @throws {@link StorageTypeNotSupportedFault} (client fault) - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

diff --git a/clients/client-rds/src/commands/RestoreDBInstanceFromS3Command.ts b/clients/client-rds/src/commands/RestoreDBInstanceFromS3Command.ts index b6c244d933c2..6de421b9d3e8 100644 --- a/clients/client-rds/src/commands/RestoreDBInstanceFromS3Command.ts +++ b/clients/client-rds/src/commands/RestoreDBInstanceFromS3Command.ts @@ -400,8 +400,7 @@ export interface RestoreDBInstanceFromS3CommandOutput extends RestoreDBInstanceF * available across all DB instances.

* * @throws {@link StorageTypeNotSupportedFault} (client fault) - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

diff --git a/clients/client-rds/src/commands/RestoreDBInstanceToPointInTimeCommand.ts b/clients/client-rds/src/commands/RestoreDBInstanceToPointInTimeCommand.ts index e093292c8c00..36439886b6df 100644 --- a/clients/client-rds/src/commands/RestoreDBInstanceToPointInTimeCommand.ts +++ b/clients/client-rds/src/commands/RestoreDBInstanceToPointInTimeCommand.ts @@ -414,8 +414,7 @@ export interface RestoreDBInstanceToPointInTimeCommandOutput * available across all DB instances.

* * @throws {@link StorageTypeNotSupportedFault} (client fault) - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

diff --git a/clients/client-rds/src/commands/StartDBClusterCommand.ts b/clients/client-rds/src/commands/StartDBClusterCommand.ts index b27ce1828a44..1e9bd4a4848c 100644 --- a/clients/client-rds/src/commands/StartDBClusterCommand.ts +++ b/clients/client-rds/src/commands/StartDBClusterCommand.ts @@ -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", @@ -197,6 +198,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts b/clients/client-rds/src/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts index dc8c47ee0905..78207cd4e303 100644 --- a/clients/client-rds/src/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts +++ b/clients/client-rds/src/commands/StartDBInstanceAutomatedBackupsReplicationCommand.ts @@ -125,8 +125,7 @@ export interface StartDBInstanceAutomatedBackupsReplicationCommandOutput *

An error occurred accessing an Amazon Web Services KMS key.

* * @throws {@link StorageTypeNotSupportedFault} (client fault) - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

* * @throws {@link RDSServiceException} *

Base exception class for all service exceptions from RDS service.

diff --git a/clients/client-rds/src/commands/StopDBClusterCommand.ts b/clients/client-rds/src/commands/StopDBClusterCommand.ts index 04fc51c888e3..3e384e958dd1 100644 --- a/clients/client-rds/src/commands/StopDBClusterCommand.ts +++ b/clients/client-rds/src/commands/StopDBClusterCommand.ts @@ -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", @@ -198,6 +199,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad * // SecretStatus: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // }, + * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"), * // }, * // }; * diff --git a/clients/client-rds/src/models/models_0.ts b/clients/client-rds/src/models/models_0.ts index d6c7f43bb3dc..28b2859de8b3 100644 --- a/clients/client-rds/src/models/models_0.ts +++ b/clients/client-rds/src/models/models_0.ts @@ -1796,6 +1796,12 @@ export interface DBClusterSnapshot { *

Reserved for future use.

*/ DBSystemId?: string; + + /** + *

The storage type associated with the DB cluster snapshot.

+ *

This setting is only for Aurora DB clusters.

+ */ + StorageType?: string; } /** @@ -4218,7 +4224,7 @@ export interface CreateDBClusterMessage { /** *

The DB engine mode of the DB cluster, either provisioned or serverless.

*

The serverless engine mode only applies for Aurora Serverless v1 DB clusters.

- *

Limitations and requirements apply to some DB engine modes. For more information, see the + *

For information about limitations and requirements for Serverless DB clusters, see the * following sections in the Amazon Aurora User Guide:

* *

Valid for: Aurora DB clusters only

*/ @@ -4335,12 +4330,10 @@ export interface CreateDBClusterMessage { /** *

Specifies the storage type to be associated with the DB cluster.

*

This setting is required to create a Multi-AZ DB cluster.

- *

Valid values: io1 - *

- *

When specified, a value for the Iops parameter is required.

- *

Default: io1 - *

- *

Valid for: Multi-AZ DB clusters only

+ *

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

+ *

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

+ *

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

+ *

Valid for: Aurora DB clusters and Multi-AZ DB clusters

*/ StorageType?: string; @@ -4781,6 +4774,11 @@ export interface ClusterPendingModifiedValues { *

The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.

*/ Iops?: number; + + /** + *

The storage type for the DB cluster.

+ */ + StorageType?: string; } /** @@ -5112,8 +5110,7 @@ export interface DBCluster { Capacity?: number; /** - *

The DB engine mode of the DB cluster, either provisioned, serverless, - * parallelquery, global, or multimaster.

+ *

The DB engine mode of the DB cluster, either provisioned or serverless.

*

For more information, see * CreateDBCluster.

*/ @@ -5215,7 +5212,6 @@ export interface DBCluster { /** *

The storage type associated with the DB cluster.

- *

This setting is only for non-Aurora Multi-AZ DB clusters.

*/ StorageType?: string; @@ -5348,6 +5344,12 @@ export interface DBCluster { *

*/ MasterUserSecret?: MasterUserSecret; + + /** + *

The next time you can modify the DB cluster to use the aurora-iopt1 storage type.

+ *

This setting is only for Aurora DB clusters.

+ */ + IOOptimizedNextAllowedModificationTime?: Date; } /** @@ -7987,15 +7989,10 @@ export interface DBInstance { /** *

True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

- *

IAM database authentication can be enabled for the following database engines:

- * + *

For a list of engine versions that support IAM database authentication, see + * IAM database authentication + * in the Amazon RDS User Guide and IAM + * database authentication in Aurora in the Amazon Aurora User Guide.

*/ IAMDatabaseAuthenticationEnabled?: boolean; @@ -8338,8 +8335,7 @@ export class ProvisionedIopsNotAvailableInAZFault extends __BaseException { /** * @public - *

Storage of the StorageType specified can't be associated - * with the DB instance.

+ *

The specified StorageType can't be associated with the DB instance.

*/ export class StorageTypeNotSupportedFault extends __BaseException { readonly name: "StorageTypeNotSupportedFault" = "StorageTypeNotSupportedFault"; @@ -11867,9 +11863,9 @@ export interface DescribeDBClusterBacktracksMessage { *

Constraints:

* *

Example: 123e4567-e89b-12d3-a456-426655440000 diff --git a/clients/client-rds/src/models/models_1.ts b/clients/client-rds/src/models/models_1.ts index 2ab422574e7b..2c15a59a7b94 100644 --- a/clients/client-rds/src/models/models_1.ts +++ b/clients/client-rds/src/models/models_1.ts @@ -3985,12 +3985,10 @@ export interface ModifyDBClusterMessage { /** *

Specifies the storage type to be associated with the DB cluster.

- *

Valid values: io1 - *

- *

When specified, a value for the Iops parameter is required.

- *

Default: io1 - *

- *

Valid for: Multi-AZ DB clusters only

+ *

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

+ *

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

+ *

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

+ *

Valid for: Aurora DB clusters and Multi-AZ DB clusters

*/ StorageType?: string; @@ -4230,6 +4228,27 @@ export interface ModifyDBClusterResult { DBCluster?: DBCluster; } +/** + * @public + *

The aurora-iopt1 storage type isn't available, because you modified the DB cluster + * to use this storage type less than one month ago.

+ */ +export class StorageTypeNotAvailableFault extends __BaseException { + readonly name: "StorageTypeNotAvailableFault" = "StorageTypeNotAvailableFault"; + readonly $fault: "client" = "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType) { + super({ + name: "StorageTypeNotAvailableFault", + $fault: "client", + ...opts, + }); + Object.setPrototypeOf(this, StorageTypeNotAvailableFault.prototype); + } +} + /** * @public */ @@ -5169,9 +5188,9 @@ export interface ModifyDBInstanceMessage { /** *

A value that indicates whether to manage the master user password with Amazon Web Services Secrets Manager.

- *

If the DB cluster doesn't manage the master user password with Amazon Web Services Secrets Manager, you can turn + *

If the DB instance doesn't manage the master user password with Amazon Web Services Secrets Manager, you can turn * on this management. In this case, you can't specify MasterUserPassword.

- *

If the DB cluster already manages the master user password with Amazon Web Services Secrets Manager, and you specify that the + *

If the DB instance already manages the master user password with Amazon Web Services Secrets Manager, and you specify that the * master user password is not managed with Amazon Web Services Secrets Manager, then you must specify MasterUserPassword. * In this case, RDS deletes the secret and uses the new password for the master user specified by * MasterUserPassword.

@@ -6848,6 +6867,16 @@ export interface RestoreDBClusterFromS3Message { * has a different default KMS key for each Amazon Web Services Region.

*/ MasterUserSecretKmsKeyId?: string; + + /** + *

Specifies the storage type to be associated with the DB cluster.

+ *

Valid values: aurora, aurora-iopt1 + *

+ *

Default: aurora + *

+ *

Valid for: Aurora DB clusters only

+ */ + StorageType?: string; } /** @@ -7214,12 +7243,10 @@ export interface RestoreDBClusterFromSnapshotMessage { DBClusterInstanceClass?: string; /** - *

Specifies the storage type to be associated with the each DB instance in the Multi-AZ DB cluster.

- *

Valid values: io1 - *

- *

When specified, a value for the Iops parameter is required.

- *

Default: io1 - *

+ *

Specifies the storage type to be associated with the DB cluster.

+ *

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

+ *

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

+ *

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

*

Valid for: Aurora DB clusters and Multi-AZ DB clusters

*/ StorageType?: string; @@ -7602,13 +7629,11 @@ export interface RestoreDBClusterToPointInTimeMessage { DBClusterInstanceClass?: string; /** - *

Specifies the storage type to be associated with the each DB instance in the Multi-AZ DB cluster.

- *

Valid values: io1 - *

- *

When specified, a value for the Iops parameter is required.

- *

Default: io1 - *

- *

Valid for: Multi-AZ DB clusters only

+ *

Specifies the storage type to be associated with the DB cluster.

+ *

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

+ *

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

+ *

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

+ *

Valid for: Aurora DB clusters and Multi-AZ DB clusters

*/ StorageType?: string; diff --git a/clients/client-rds/src/protocols/Aws_query.ts b/clients/client-rds/src/protocols/Aws_query.ts index 167e8bb1a273..8bb05f89f779 100644 --- a/clients/client-rds/src/protocols/Aws_query.ts +++ b/clients/client-rds/src/protocols/Aws_query.ts @@ -953,6 +953,7 @@ import { StopDBInstanceAutomatedBackupsReplicationResult, StopDBInstanceMessage, StopDBInstanceResult, + StorageTypeNotAvailableFault, SubnetAlreadyInUse, SwitchoverBlueGreenDeploymentRequest, SwitchoverBlueGreenDeploymentResponse, @@ -8317,6 +8318,9 @@ const de_ModifyDBClusterCommandError = async ( case "StorageQuotaExceeded": case "com.amazonaws.rds#StorageQuotaExceededFault": throw await de_StorageQuotaExceededFaultRes(parsedOutput, context); + case "StorageTypeNotAvailableFault": + case "com.amazonaws.rds#StorageTypeNotAvailableFault": + throw await de_StorageTypeNotAvailableFaultRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ @@ -9872,6 +9876,9 @@ const de_RestoreDBClusterFromS3CommandError = async ( case "StorageQuotaExceeded": case "com.amazonaws.rds#StorageQuotaExceededFault": throw await de_StorageQuotaExceededFaultRes(parsedOutput, context); + case "StorageTypeNotSupported": + case "com.amazonaws.rds#StorageTypeNotSupportedFault": + throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context); default: const parsedBody = parsedOutput.body; return throwDefaultError({ @@ -12995,6 +13002,22 @@ const de_StorageQuotaExceededFaultRes = async ( return __decorateServiceException(exception, body); }; +/** + * deserializeAws_queryStorageTypeNotAvailableFaultRes + */ +const de_StorageTypeNotAvailableFaultRes = async ( + parsedOutput: any, + context: __SerdeContext +): Promise => { + const body = parsedOutput.body; + const deserialized: any = de_StorageTypeNotAvailableFault(body.Error, context); + const exception = new StorageTypeNotAvailableFault({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; + /** * deserializeAws_queryStorageTypeNotSupportedFaultRes */ @@ -17623,6 +17646,9 @@ const se_RestoreDBClusterFromS3Message = (input: RestoreDBClusterFromS3Message, if (input.MasterUserSecretKmsKeyId != null) { entries["MasterUserSecretKmsKeyId"] = input.MasterUserSecretKmsKeyId; } + if (input.StorageType != null) { + entries["StorageType"] = input.StorageType; + } return entries; }; @@ -19231,6 +19257,9 @@ const de_ClusterPendingModifiedValues = (output: any, context: __SerdeContext): if (output["Iops"] !== undefined) { contents.Iops = __strictParseInt32(output["Iops"]) as number; } + if (output["StorageType"] !== undefined) { + contents.StorageType = __expectString(output["StorageType"]); + } return contents; }; @@ -19865,6 +19894,11 @@ const de_DBCluster = (output: any, context: __SerdeContext): DBCluster => { if (output["MasterUserSecret"] !== undefined) { contents.MasterUserSecret = de_MasterUserSecret(output["MasterUserSecret"], context); } + if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) { + contents.IOOptimizedNextAllowedModificationTime = __expectNonNull( + __parseRfc3339DateTimeWithOffset(output["IOOptimizedNextAllowedModificationTime"]) + ); + } return contents; }; @@ -20435,6 +20469,9 @@ const de_DBClusterSnapshot = (output: any, context: __SerdeContext): DBClusterSn if (output["DBSystemId"] !== undefined) { contents.DBSystemId = __expectString(output["DBSystemId"]); } + if (output["StorageType"] !== undefined) { + contents.StorageType = __expectString(output["StorageType"]); + } return contents; }; @@ -25947,6 +25984,17 @@ const de_StorageQuotaExceededFault = (output: any, context: __SerdeContext): Sto return contents; }; +/** + * deserializeAws_queryStorageTypeNotAvailableFault + */ +const de_StorageTypeNotAvailableFault = (output: any, context: __SerdeContext): StorageTypeNotAvailableFault => { + const contents: any = {}; + if (output["message"] !== undefined) { + contents.message = __expectString(output["message"]); + } + return contents; +}; + /** * deserializeAws_queryStorageTypeNotSupportedFault */ diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index 0c894ac0a66c..35921a178e87 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -2750,6 +2750,12 @@ "traits": { "smithy.api#documentation": "

The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.

" } + }, + "StorageType": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "

The storage type for the DB cluster.

" + } } }, "traits": { @@ -3709,7 +3715,7 @@ "EngineMode": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

The DB engine mode of the DB cluster, either provisioned or serverless.

\n

The serverless engine mode only applies for Aurora Serverless v1 DB clusters.

\n

Limitations and requirements apply to some DB engine modes. For more information, see the \n following sections in the Amazon Aurora User Guide:

\n \n

Valid for: Aurora DB clusters only

" + "smithy.api#documentation": "

The DB engine mode of the DB cluster, either provisioned or serverless.

\n

The serverless engine mode only applies for Aurora Serverless v1 DB clusters.

\n

For information about limitations and requirements for Serverless DB clusters, see the \n following sections in the Amazon Aurora User Guide:

\n \n

Valid for: Aurora DB clusters only

" } }, "ScalingConfiguration": { @@ -3775,7 +3781,7 @@ "StorageType": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

Specifies the storage type to be associated with the DB cluster.

\n

This setting is required to create a Multi-AZ DB cluster.

\n

Valid values: io1\n

\n

When specified, a value for the Iops parameter is required.

\n

Default: io1\n

\n

Valid for: Multi-AZ DB clusters only

" + "smithy.api#documentation": "

Specifies the storage type to be associated with the DB cluster.

\n

This setting is required to create a Multi-AZ DB cluster.

\n

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

\n

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" } }, "Iops": { @@ -5834,7 +5840,7 @@ "EngineMode": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

The DB engine mode of the DB cluster, either provisioned, serverless,\n parallelquery, global, or multimaster.

\n

For more information, see \n CreateDBCluster.

" + "smithy.api#documentation": "

The DB engine mode of the DB cluster, either provisioned or serverless.

\n

For more information, see \n CreateDBCluster.

" } }, "ScalingConfigurationInfo": { @@ -5924,7 +5930,7 @@ "StorageType": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

The storage type associated with the DB cluster.

\n

This setting is only for non-Aurora Multi-AZ DB clusters.

" + "smithy.api#documentation": "

The storage type associated with the DB cluster.

" } }, "Iops": { @@ -5996,6 +6002,12 @@ "traits": { "smithy.api#documentation": "

Contains the secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.

\n

For more information, see Password management with Amazon Web Services Secrets Manager \n in the Amazon RDS User Guide and Password management with Amazon Web Services Secrets Manager \n in the Amazon Aurora User Guide.\n

" } + }, + "IOOptimizedNextAllowedModificationTime": { + "target": "com.amazonaws.rds#TStamp", + "traits": { + "smithy.api#documentation": "

The next time you can modify the DB cluster to use the aurora-iopt1 storage type.

\n

This setting is only for Aurora DB clusters.

" + } } }, "traits": { @@ -6773,6 +6785,12 @@ "traits": { "smithy.api#documentation": "

Reserved for future use.

" } + }, + "StorageType": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "

The storage type associated with the DB cluster snapshot.

\n

This setting is only for Aurora DB clusters.

" + } } }, "traits": { @@ -7437,7 +7455,7 @@ "target": "com.amazonaws.rds#Boolean", "traits": { "smithy.api#default": false, - "smithy.api#documentation": "

True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

\n

IAM database authentication can be enabled for the following database engines:

\n
    \n
  • \n

    For MySQL 5.7, minor version 5.7.16 or higher.

    \n
  • \n
  • \n

    For Amazon Aurora, all versions of Aurora MySQL and Aurora PostgreSQL.

    \n
  • \n
" + "smithy.api#documentation": "

True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

\n

For a list of engine versions that support IAM database authentication, see \n IAM database authentication\n in the Amazon RDS User Guide and IAM \n database authentication in Aurora in the Amazon Aurora User Guide.

" } }, "PerformanceInsightsEnabled": { @@ -10583,7 +10601,7 @@ "BacktrackIdentifier": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

If specified, this value is the backtrack identifier of the backtrack to be\n described.

\n

Constraints:

\n \n

Example: 123e4567-e89b-12d3-a456-426655440000\n

" + "smithy.api#documentation": "

If specified, this value is the backtrack identifier of the backtrack to be\n described.

\n

Constraints:

\n \n

Example: 123e4567-e89b-12d3-a456-426655440000\n

" } }, "Filters": { @@ -15671,6 +15689,9 @@ }, { "target": "com.amazonaws.rds#StorageQuotaExceededFault" + }, + { + "target": "com.amazonaws.rds#StorageTypeNotAvailableFault" } ], "traits": { @@ -15901,7 +15922,7 @@ "StorageType": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

Specifies the storage type to be associated with the DB cluster.

\n

Valid values: io1\n

\n

When specified, a value for the Iops parameter is required.

\n

Default: io1\n

\n

Valid for: Multi-AZ DB clusters only

" + "smithy.api#documentation": "

Specifies the storage type to be associated with the DB cluster.

\n

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

\n

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" } }, "Iops": { @@ -16483,7 +16504,7 @@ "ManageMasterUserPassword": { "target": "com.amazonaws.rds#BooleanOptional", "traits": { - "smithy.api#documentation": "

A value that indicates whether to manage the master user password with Amazon Web Services Secrets Manager.

\n

If the DB cluster doesn't manage the master user password with Amazon Web Services Secrets Manager, you can turn \n on this management. In this case, you can't specify MasterUserPassword.

\n

If the DB cluster already manages the master user password with Amazon Web Services Secrets Manager, and you specify that the \n master user password is not managed with Amazon Web Services Secrets Manager, then you must specify MasterUserPassword. \n In this case, RDS deletes the secret and uses the new password for the master user specified by \n MasterUserPassword.

\n

For more information, see Password management with Amazon Web Services Secrets Manager \n in the Amazon RDS User Guide.\n

\n

Constraints:

\n
    \n
  • \n

    Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword \n is specified.

    \n
  • \n
" + "smithy.api#documentation": "

A value that indicates whether to manage the master user password with Amazon Web Services Secrets Manager.

\n

If the DB instance doesn't manage the master user password with Amazon Web Services Secrets Manager, you can turn \n on this management. In this case, you can't specify MasterUserPassword.

\n

If the DB instance already manages the master user password with Amazon Web Services Secrets Manager, and you specify that the \n master user password is not managed with Amazon Web Services Secrets Manager, then you must specify MasterUserPassword. \n In this case, RDS deletes the secret and uses the new password for the master user specified by \n MasterUserPassword.

\n

For more information, see Password management with Amazon Web Services Secrets Manager \n in the Amazon RDS User Guide.\n

\n

Constraints:

\n
    \n
  • \n

    Can't manage the master user password with Amazon Web Services Secrets Manager if MasterUserPassword \n is specified.

    \n
  • \n
" } }, "RotateMasterUserPassword": { @@ -19685,6 +19706,9 @@ }, { "target": "com.amazonaws.rds#StorageQuotaExceededFault" + }, + { + "target": "com.amazonaws.rds#StorageTypeNotSupportedFault" } ], "traits": { @@ -19904,6 +19928,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Web Services KMS key identifier to encrypt a secret that is automatically generated and \n managed in Amazon Web Services Secrets Manager.

\n

This setting is valid only if the master user password is managed by RDS in Amazon Web Services Secrets \n Manager for the DB cluster.

\n

The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.\n To use a KMS key in a different Amazon Web Services account, specify the key ARN or alias ARN.

\n

If you don't specify MasterUserSecretKmsKeyId, then the aws/secretsmanager \n KMS key is used to encrypt the secret. If the secret is in a different Amazon Web Services account, then you can't \n use the aws/secretsmanager KMS key to encrypt the secret, and you must use a customer \n managed KMS key.

\n

There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account\n has a different default KMS key for each Amazon Web Services Region.

" } + }, + "StorageType": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "

Specifies the storage type to be associated with the DB cluster.

\n

Valid values: aurora, aurora-iopt1\n

\n

Default: aurora\n

\n

Valid for: Aurora DB clusters only

" + } } } }, @@ -20130,7 +20160,7 @@ "StorageType": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

Specifies the storage type to be associated with the each DB instance in the Multi-AZ DB cluster.

\n

Valid values: io1\n

\n

When specified, a value for the Iops parameter is required.

\n

Default: io1\n

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" + "smithy.api#documentation": "

Specifies the storage type to be associated with the DB cluster.

\n

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

\n

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" } }, "Iops": { @@ -20373,7 +20403,7 @@ "StorageType": { "target": "com.amazonaws.rds#String", "traits": { - "smithy.api#documentation": "

Specifies the storage type to be associated with the each DB instance in the Multi-AZ DB cluster.

\n

Valid values: io1\n

\n

When specified, a value for the Iops parameter is required.

\n

Default: io1\n

\n

Valid for: Multi-AZ DB clusters only

" + "smithy.api#documentation": "

Specifies the storage type to be associated with the DB cluster.

\n

When specified for a Multi-AZ DB cluster, a value for the Iops parameter is required.

\n

Valid values: aurora, aurora-iopt1 (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Default: aurora (Aurora DB clusters); io1 (Multi-AZ DB clusters)

\n

Valid for: Aurora DB clusters and Multi-AZ DB clusters

" } }, "PubliclyAccessible": { @@ -22528,6 +22558,23 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.rds#StorageTypeNotAvailableFault": { + "type": "structure", + "members": { + "message": { + "target": "com.amazonaws.rds#ExceptionMessage" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "StorageTypeNotAvailableFault", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

The aurora-iopt1 storage type isn't available, because you modified the DB cluster \n to use this storage type less than one month ago.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, "com.amazonaws.rds#StorageTypeNotSupportedFault": { "type": "structure", "members": { @@ -22540,7 +22587,7 @@ "code": "StorageTypeNotSupported", "httpResponseCode": 400 }, - "smithy.api#documentation": "

Storage of the StorageType specified can't be associated\n with the DB instance.

", + "smithy.api#documentation": "

The specified StorageType can't be associated with the DB instance.

", "smithy.api#error": "client", "smithy.api#httpError": 400 }