@aws-sdk/client-rds 3.329.0 → 3.332.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist-cjs/models/models_1.js +14 -1
  2. package/dist-cjs/protocols/Aws_query.js +34 -0
  3. package/dist-es/models/models_1.js +12 -0
  4. package/dist-es/protocols/Aws_query.js +35 -1
  5. package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -0
  6. package/dist-types/commands/CreateDBClusterCommand.d.ts +2 -0
  7. package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateDBInstanceCommand.d.ts +1 -2
  9. package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +1 -2
  10. package/dist-types/commands/DeleteDBClusterCommand.d.ts +2 -0
  11. package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -0
  12. package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +1 -0
  13. package/dist-types/commands/DescribeDBClustersCommand.d.ts +2 -0
  14. package/dist-types/commands/FailoverDBClusterCommand.d.ts +2 -0
  15. package/dist-types/commands/ModifyDBClusterCommand.d.ts +6 -0
  16. package/dist-types/commands/ModifyDBInstanceCommand.d.ts +1 -2
  17. package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +2 -0
  18. package/dist-types/commands/RebootDBClusterCommand.d.ts +2 -0
  19. package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +6 -0
  20. package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -0
  21. package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -0
  22. package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +1 -2
  23. package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +1 -2
  24. package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +1 -2
  25. package/dist-types/commands/StartDBClusterCommand.d.ts +2 -0
  26. package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -2
  27. package/dist-types/commands/StopDBClusterCommand.d.ts +2 -0
  28. package/dist-types/models/models_0.d.ts +28 -35
  29. package/dist-types/models/models_1.d.ts +37 -21
  30. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  31. package/dist-types/ts3.4/models/models_1.d.ts +8 -0
  32. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvalidExportSourceStateFault = exports.InvalidExportOnlyFault = exports.IamRoleNotFoundFault = exports.IamRoleMissingPermissionsFault = exports.ExportTaskAlreadyExistsFault = exports.PointInTimeRestoreNotEnabledFault = exports.InvalidRestoreFault = exports.InsufficientDBClusterCapacityFault = exports.InvalidS3BucketFault = exports.DBInstanceRoleNotFoundFault = exports.DBClusterRoleNotFoundFault = exports.InsufficientAvailableIPsInSubnetFault = exports.DBProxyTargetAlreadyRegisteredFault = exports.ReservedDBInstanceQuotaExceededFault = exports.ReservedDBInstanceAlreadyExistsFault = exports.SubnetAlreadyInUse = exports.DBUpgradeDependencyFailureFault = exports.SharedSnapshotQuotaExceededFault = exports.CustomEngineVersionStatus = exports.InvalidDBClusterCapacityFault = exports.AuditPolicyState = exports.DBLogFileNotFoundFault = exports.ReservedDBInstancesOfferingNotFoundFault = exports.ReservedDBInstanceNotFoundFault = exports.SourceType = exports.TargetType = exports.TargetState = exports.TargetHealthReason = exports.TargetRole = void 0;
3
+ exports.InvalidExportSourceStateFault = exports.InvalidExportOnlyFault = exports.IamRoleNotFoundFault = exports.IamRoleMissingPermissionsFault = exports.ExportTaskAlreadyExistsFault = exports.PointInTimeRestoreNotEnabledFault = exports.InvalidRestoreFault = exports.InsufficientDBClusterCapacityFault = exports.InvalidS3BucketFault = exports.DBInstanceRoleNotFoundFault = exports.DBClusterRoleNotFoundFault = exports.InsufficientAvailableIPsInSubnetFault = exports.DBProxyTargetAlreadyRegisteredFault = exports.ReservedDBInstanceQuotaExceededFault = exports.ReservedDBInstanceAlreadyExistsFault = exports.SubnetAlreadyInUse = exports.DBUpgradeDependencyFailureFault = exports.SharedSnapshotQuotaExceededFault = exports.StorageTypeNotAvailableFault = exports.CustomEngineVersionStatus = exports.InvalidDBClusterCapacityFault = exports.AuditPolicyState = exports.DBLogFileNotFoundFault = exports.ReservedDBInstancesOfferingNotFoundFault = exports.ReservedDBInstanceNotFoundFault = exports.SourceType = exports.TargetType = exports.TargetState = exports.TargetHealthReason = exports.TargetRole = void 0;
4
4
  const RDSServiceException_1 = require("./RDSServiceException");
5
5
  exports.TargetRole = {
6
6
  READ_ONLY: "READ_ONLY",
@@ -96,6 +96,19 @@ exports.CustomEngineVersionStatus = {
96
96
  inactive: "inactive",
97
97
  inactive_except_restore: "inactive-except-restore",
98
98
  };
99
+ class StorageTypeNotAvailableFault extends RDSServiceException_1.RDSServiceException {
100
+ constructor(opts) {
101
+ super({
102
+ name: "StorageTypeNotAvailableFault",
103
+ $fault: "client",
104
+ ...opts,
105
+ });
106
+ this.name = "StorageTypeNotAvailableFault";
107
+ this.$fault = "client";
108
+ Object.setPrototypeOf(this, StorageTypeNotAvailableFault.prototype);
109
+ }
110
+ }
111
+ exports.StorageTypeNotAvailableFault = StorageTypeNotAvailableFault;
99
112
  class SharedSnapshotQuotaExceededFault extends RDSServiceException_1.RDSServiceException {
100
113
  constructor(opts) {
101
114
  super({
@@ -5268,6 +5268,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
5268
5268
  case "StorageQuotaExceeded":
5269
5269
  case "com.amazonaws.rds#StorageQuotaExceededFault":
5270
5270
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
5271
+ case "StorageTypeNotAvailableFault":
5272
+ case "com.amazonaws.rds#StorageTypeNotAvailableFault":
5273
+ throw await de_StorageTypeNotAvailableFaultRes(parsedOutput, context);
5271
5274
  default:
5272
5275
  const parsedBody = parsedOutput.body;
5273
5276
  return throwDefaultError({
@@ -6456,6 +6459,9 @@ const de_RestoreDBClusterFromS3CommandError = async (output, context) => {
6456
6459
  case "StorageQuotaExceeded":
6457
6460
  case "com.amazonaws.rds#StorageQuotaExceededFault":
6458
6461
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
6462
+ case "StorageTypeNotSupported":
6463
+ case "com.amazonaws.rds#StorageTypeNotSupportedFault":
6464
+ throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
6459
6465
  default:
6460
6466
  const parsedBody = parsedOutput.body;
6461
6467
  return throwDefaultError({
@@ -8523,6 +8529,15 @@ const de_StorageQuotaExceededFaultRes = async (parsedOutput, context) => {
8523
8529
  });
8524
8530
  return (0, smithy_client_1.decorateServiceException)(exception, body);
8525
8531
  };
8532
+ const de_StorageTypeNotAvailableFaultRes = async (parsedOutput, context) => {
8533
+ const body = parsedOutput.body;
8534
+ const deserialized = de_StorageTypeNotAvailableFault(body.Error, context);
8535
+ const exception = new models_1_1.StorageTypeNotAvailableFault({
8536
+ $metadata: deserializeMetadata(parsedOutput),
8537
+ ...deserialized,
8538
+ });
8539
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
8540
+ };
8526
8541
  const de_StorageTypeNotSupportedFaultRes = async (parsedOutput, context) => {
8527
8542
  const body = parsedOutput.body;
8528
8543
  const deserialized = de_StorageTypeNotSupportedFault(body.Error, context);
@@ -12426,6 +12441,9 @@ const se_RestoreDBClusterFromS3Message = (input, context) => {
12426
12441
  if (input.MasterUserSecretKmsKeyId != null) {
12427
12442
  entries["MasterUserSecretKmsKeyId"] = input.MasterUserSecretKmsKeyId;
12428
12443
  }
12444
+ if (input.StorageType != null) {
12445
+ entries["StorageType"] = input.StorageType;
12446
+ }
12429
12447
  return entries;
12430
12448
  };
12431
12449
  const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
@@ -13754,6 +13772,9 @@ const de_ClusterPendingModifiedValues = (output, context) => {
13754
13772
  if (output["Iops"] !== undefined) {
13755
13773
  contents.Iops = (0, smithy_client_1.strictParseInt32)(output["Iops"]);
13756
13774
  }
13775
+ if (output["StorageType"] !== undefined) {
13776
+ contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
13777
+ }
13757
13778
  return contents;
13758
13779
  };
13759
13780
  const de_ConnectionPoolConfigurationInfo = (output, context) => {
@@ -14214,6 +14235,9 @@ const de_DBCluster = (output, context) => {
14214
14235
  if (output["MasterUserSecret"] !== undefined) {
14215
14236
  contents.MasterUserSecret = de_MasterUserSecret(output["MasterUserSecret"], context);
14216
14237
  }
14238
+ if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) {
14239
+ contents.IOOptimizedNextAllowedModificationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["IOOptimizedNextAllowedModificationTime"]));
14240
+ }
14217
14241
  return contents;
14218
14242
  };
14219
14243
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -14631,6 +14655,9 @@ const de_DBClusterSnapshot = (output, context) => {
14631
14655
  if (output["DBSystemId"] !== undefined) {
14632
14656
  contents.DBSystemId = (0, smithy_client_1.expectString)(output["DBSystemId"]);
14633
14657
  }
14658
+ if (output["StorageType"] !== undefined) {
14659
+ contents.StorageType = (0, smithy_client_1.expectString)(output["StorageType"]);
14660
+ }
14634
14661
  return contents;
14635
14662
  };
14636
14663
  const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
@@ -18515,6 +18542,13 @@ const de_StorageQuotaExceededFault = (output, context) => {
18515
18542
  }
18516
18543
  return contents;
18517
18544
  };
18545
+ const de_StorageTypeNotAvailableFault = (output, context) => {
18546
+ const contents = {};
18547
+ if (output["message"] !== undefined) {
18548
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
18549
+ }
18550
+ return contents;
18551
+ };
18518
18552
  const de_StorageTypeNotSupportedFault = (output, context) => {
18519
18553
  const contents = {};
18520
18554
  if (output["message"] !== undefined) {
@@ -89,6 +89,18 @@ export const CustomEngineVersionStatus = {
89
89
  inactive: "inactive",
90
90
  inactive_except_restore: "inactive-except-restore",
91
91
  };
92
+ export class StorageTypeNotAvailableFault extends __BaseException {
93
+ constructor(opts) {
94
+ super({
95
+ name: "StorageTypeNotAvailableFault",
96
+ $fault: "client",
97
+ ...opts,
98
+ });
99
+ this.name = "StorageTypeNotAvailableFault";
100
+ this.$fault = "client";
101
+ Object.setPrototypeOf(this, StorageTypeNotAvailableFault.prototype);
102
+ }
103
+ }
92
104
  export class SharedSnapshotQuotaExceededFault extends __BaseException {
93
105
  constructor(opts) {
94
106
  super({
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@aws-sdk/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, BlueGreenDeploymentAlreadyExistsFault, BlueGreenDeploymentNotFoundFault, CertificateNotFoundFault, CreateCustomDBEngineVersionFault, CustomAvailabilityZoneNotFoundFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, DBClusterAlreadyExistsFault, DBClusterBacktrackNotFoundFault, DBClusterEndpointAlreadyExistsFault, DBClusterEndpointNotFoundFault, DBClusterEndpointQuotaExceededFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterRoleAlreadyExistsFault, DBClusterRoleQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceAutomatedBackupNotFoundFault, DBInstanceAutomatedBackupQuotaExceededFault, DBInstanceNotFoundFault, DBInstanceRoleAlreadyExistsFault, DBInstanceRoleQuotaExceededFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBProxyAlreadyExistsFault, DBProxyEndpointAlreadyExistsFault, DBProxyEndpointNotFoundFault, DBProxyEndpointQuotaExceededFault, DBProxyNotFoundFault, DBProxyQuotaExceededFault, DBProxyTargetGroupNotFoundFault, DBProxyTargetNotFoundFault, DBSecurityGroupAlreadyExistsFault, DBSecurityGroupNotFoundFault, DBSecurityGroupNotSupportedFault, DBSecurityGroupQuotaExceededFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotAllowedFault, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DomainNotFoundFault, Ec2ImagePropertiesNotSupportedFault, EventSubscriptionQuotaExceededFault, ExportTaskNotFoundFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidBlueGreenDeploymentStateFault, InvalidCustomDBEngineVersionStateFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceAutomatedBackupStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBProxyEndpointStateFault, InvalidDBProxyStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidExportTaskStateFault, InvalidGlobalClusterStateFault, InvalidOptionGroupStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, NetworkTypeNotSupported, OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault, OptionGroupQuotaExceededFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceClusterNotSupportedFault, SourceDatabaseNotSupportedFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
5
- import { DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, SubnetAlreadyInUse, } from "../models/models_1";
5
+ import { DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, StorageTypeNotAvailableFault, SubnetAlreadyInUse, } from "../models/models_1";
6
6
  import { RDSServiceException as __BaseException } from "../models/RDSServiceException";
7
7
  export const se_AddRoleToDBClusterCommand = async (input, context) => {
8
8
  const headers = SHARED_HEADERS;
@@ -5023,6 +5023,9 @@ const de_ModifyDBClusterCommandError = async (output, context) => {
5023
5023
  case "StorageQuotaExceeded":
5024
5024
  case "com.amazonaws.rds#StorageQuotaExceededFault":
5025
5025
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
5026
+ case "StorageTypeNotAvailableFault":
5027
+ case "com.amazonaws.rds#StorageTypeNotAvailableFault":
5028
+ throw await de_StorageTypeNotAvailableFaultRes(parsedOutput, context);
5026
5029
  default:
5027
5030
  const parsedBody = parsedOutput.body;
5028
5031
  return throwDefaultError({
@@ -6183,6 +6186,9 @@ const de_RestoreDBClusterFromS3CommandError = async (output, context) => {
6183
6186
  case "StorageQuotaExceeded":
6184
6187
  case "com.amazonaws.rds#StorageQuotaExceededFault":
6185
6188
  throw await de_StorageQuotaExceededFaultRes(parsedOutput, context);
6189
+ case "StorageTypeNotSupported":
6190
+ case "com.amazonaws.rds#StorageTypeNotSupportedFault":
6191
+ throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
6186
6192
  default:
6187
6193
  const parsedBody = parsedOutput.body;
6188
6194
  return throwDefaultError({
@@ -8233,6 +8239,15 @@ const de_StorageQuotaExceededFaultRes = async (parsedOutput, context) => {
8233
8239
  });
8234
8240
  return __decorateServiceException(exception, body);
8235
8241
  };
8242
+ const de_StorageTypeNotAvailableFaultRes = async (parsedOutput, context) => {
8243
+ const body = parsedOutput.body;
8244
+ const deserialized = de_StorageTypeNotAvailableFault(body.Error, context);
8245
+ const exception = new StorageTypeNotAvailableFault({
8246
+ $metadata: deserializeMetadata(parsedOutput),
8247
+ ...deserialized,
8248
+ });
8249
+ return __decorateServiceException(exception, body);
8250
+ };
8236
8251
  const de_StorageTypeNotSupportedFaultRes = async (parsedOutput, context) => {
8237
8252
  const body = parsedOutput.body;
8238
8253
  const deserialized = de_StorageTypeNotSupportedFault(body.Error, context);
@@ -12136,6 +12151,9 @@ const se_RestoreDBClusterFromS3Message = (input, context) => {
12136
12151
  if (input.MasterUserSecretKmsKeyId != null) {
12137
12152
  entries["MasterUserSecretKmsKeyId"] = input.MasterUserSecretKmsKeyId;
12138
12153
  }
12154
+ if (input.StorageType != null) {
12155
+ entries["StorageType"] = input.StorageType;
12156
+ }
12139
12157
  return entries;
12140
12158
  };
12141
12159
  const se_RestoreDBClusterFromSnapshotMessage = (input, context) => {
@@ -13464,6 +13482,9 @@ const de_ClusterPendingModifiedValues = (output, context) => {
13464
13482
  if (output["Iops"] !== undefined) {
13465
13483
  contents.Iops = __strictParseInt32(output["Iops"]);
13466
13484
  }
13485
+ if (output["StorageType"] !== undefined) {
13486
+ contents.StorageType = __expectString(output["StorageType"]);
13487
+ }
13467
13488
  return contents;
13468
13489
  };
13469
13490
  const de_ConnectionPoolConfigurationInfo = (output, context) => {
@@ -13924,6 +13945,9 @@ const de_DBCluster = (output, context) => {
13924
13945
  if (output["MasterUserSecret"] !== undefined) {
13925
13946
  contents.MasterUserSecret = de_MasterUserSecret(output["MasterUserSecret"], context);
13926
13947
  }
13948
+ if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) {
13949
+ contents.IOOptimizedNextAllowedModificationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["IOOptimizedNextAllowedModificationTime"]));
13950
+ }
13927
13951
  return contents;
13928
13952
  };
13929
13953
  const de_DBClusterAlreadyExistsFault = (output, context) => {
@@ -14341,6 +14365,9 @@ const de_DBClusterSnapshot = (output, context) => {
14341
14365
  if (output["DBSystemId"] !== undefined) {
14342
14366
  contents.DBSystemId = __expectString(output["DBSystemId"]);
14343
14367
  }
14368
+ if (output["StorageType"] !== undefined) {
14369
+ contents.StorageType = __expectString(output["StorageType"]);
14370
+ }
14344
14371
  return contents;
14345
14372
  };
14346
14373
  const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
@@ -18225,6 +18252,13 @@ const de_StorageQuotaExceededFault = (output, context) => {
18225
18252
  }
18226
18253
  return contents;
18227
18254
  };
18255
+ const de_StorageTypeNotAvailableFault = (output, context) => {
18256
+ const contents = {};
18257
+ if (output["message"] !== undefined) {
18258
+ contents.message = __expectString(output["message"]);
18259
+ }
18260
+ return contents;
18261
+ };
18228
18262
  const de_StorageTypeNotSupportedFault = (output, context) => {
18229
18263
  const contents = {};
18230
18264
  if (output["message"] !== undefined) {
@@ -109,6 +109,7 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
109
109
  * // },
110
110
  * // ],
111
111
  * // DBSystemId: "STRING_VALUE",
112
+ * // StorageType: "STRING_VALUE",
112
113
  * // },
113
114
  * // };
114
115
  *
@@ -237,6 +237,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
237
237
  * // BackupRetentionPeriod: Number("int"),
238
238
  * // AllocatedStorage: Number("int"),
239
239
  * // Iops: Number("int"),
240
+ * // StorageType: "STRING_VALUE",
240
241
  * // },
241
242
  * // DBClusterInstanceClass: "STRING_VALUE",
242
243
  * // StorageType: "STRING_VALUE",
@@ -259,6 +260,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
259
260
  * // SecretStatus: "STRING_VALUE",
260
261
  * // KmsKeyId: "STRING_VALUE",
261
262
  * // },
263
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
262
264
  * // },
263
265
  * // };
264
266
  *
@@ -75,6 +75,7 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
75
75
  * // },
76
76
  * // ],
77
77
  * // DBSystemId: "STRING_VALUE",
78
+ * // StorageType: "STRING_VALUE",
78
79
  * // },
79
80
  * // };
80
81
  *
@@ -406,8 +406,7 @@ export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, _
406
406
  * available across all DB instances.</p>
407
407
  *
408
408
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
409
- * <p>Storage of the <code>StorageType</code> specified can't be associated
410
- * with the DB instance.</p>
409
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
411
410
  *
412
411
  * @throws {@link RDSServiceException}
413
412
  * <p>Base exception class for all service exceptions from RDS service.</p>
@@ -393,8 +393,7 @@ export interface CreateDBInstanceReadReplicaCommandOutput extends CreateDBInstan
393
393
  * available across all DB instances.</p>
394
394
  *
395
395
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
396
- * <p>Storage of the <code>StorageType</code> specified can't be associated
397
- * with the DB instance.</p>
396
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
398
397
  *
399
398
  * @throws {@link RDSServiceException}
400
399
  * <p>Base exception class for all service exceptions from RDS service.</p>
@@ -167,6 +167,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
167
167
  * // BackupRetentionPeriod: Number("int"),
168
168
  * // AllocatedStorage: Number("int"),
169
169
  * // Iops: Number("int"),
170
+ * // StorageType: "STRING_VALUE",
170
171
  * // },
171
172
  * // DBClusterInstanceClass: "STRING_VALUE",
172
173
  * // StorageType: "STRING_VALUE",
@@ -189,6 +190,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
189
190
  * // SecretStatus: "STRING_VALUE",
190
191
  * // KmsKeyId: "STRING_VALUE",
191
192
  * // },
193
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
192
194
  * // },
193
195
  * // };
194
196
  *
@@ -73,6 +73,7 @@ export interface DeleteDBClusterSnapshotCommandOutput extends DeleteDBClusterSna
73
73
  * // },
74
74
  * // ],
75
75
  * // DBSystemId: "STRING_VALUE",
76
+ * // StorageType: "STRING_VALUE",
76
77
  * // },
77
78
  * // };
78
79
  *
@@ -85,6 +85,7 @@ export interface DescribeDBClusterSnapshotsCommandOutput extends DBClusterSnapsh
85
85
  * // },
86
86
  * // ],
87
87
  * // DBSystemId: "STRING_VALUE",
88
+ * // StorageType: "STRING_VALUE",
88
89
  * // },
89
90
  * // ],
90
91
  * // };
@@ -175,6 +175,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
175
175
  * // BackupRetentionPeriod: Number("int"),
176
176
  * // AllocatedStorage: Number("int"),
177
177
  * // Iops: Number("int"),
178
+ * // StorageType: "STRING_VALUE",
178
179
  * // },
179
180
  * // DBClusterInstanceClass: "STRING_VALUE",
180
181
  * // StorageType: "STRING_VALUE",
@@ -197,6 +198,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
197
198
  * // SecretStatus: "STRING_VALUE",
198
199
  * // KmsKeyId: "STRING_VALUE",
199
200
  * // },
201
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
200
202
  * // },
201
203
  * // ],
202
204
  * // };
@@ -172,6 +172,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
172
172
  * // BackupRetentionPeriod: Number("int"),
173
173
  * // AllocatedStorage: Number("int"),
174
174
  * // Iops: Number("int"),
175
+ * // StorageType: "STRING_VALUE",
175
176
  * // },
176
177
  * // DBClusterInstanceClass: "STRING_VALUE",
177
178
  * // StorageType: "STRING_VALUE",
@@ -194,6 +195,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
194
195
  * // SecretStatus: "STRING_VALUE",
195
196
  * // KmsKeyId: "STRING_VALUE",
196
197
  * // },
198
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
197
199
  * // },
198
200
  * // };
199
201
  *
@@ -222,6 +222,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
222
222
  * // BackupRetentionPeriod: Number("int"),
223
223
  * // AllocatedStorage: Number("int"),
224
224
  * // Iops: Number("int"),
225
+ * // StorageType: "STRING_VALUE",
225
226
  * // },
226
227
  * // DBClusterInstanceClass: "STRING_VALUE",
227
228
  * // StorageType: "STRING_VALUE",
@@ -244,6 +245,7 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
244
245
  * // SecretStatus: "STRING_VALUE",
245
246
  * // KmsKeyId: "STRING_VALUE",
246
247
  * // },
248
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
247
249
  * // },
248
250
  * // };
249
251
  *
@@ -301,6 +303,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
301
303
  * <p>The request would result in the user exceeding the allowed amount of storage
302
304
  * available across all DB instances.</p>
303
305
  *
306
+ * @throws {@link StorageTypeNotAvailableFault} (client fault)
307
+ * <p>The <code>aurora-iopt1</code> storage type isn't available, because you modified the DB cluster
308
+ * to use this storage type less than one month ago.</p>
309
+ *
304
310
  * @throws {@link RDSServiceException}
305
311
  * <p>Base exception class for all service exceptions from RDS service.</p>
306
312
  *
@@ -395,8 +395,7 @@ export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, _
395
395
  * available across all DB instances.</p>
396
396
  *
397
397
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
398
- * <p>Storage of the <code>StorageType</code> specified can't be associated
399
- * with the DB instance.</p>
398
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
400
399
  *
401
400
  * @throws {@link RDSServiceException}
402
401
  * <p>Base exception class for all service exceptions from RDS service.</p>
@@ -155,6 +155,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
155
155
  * // BackupRetentionPeriod: Number("int"),
156
156
  * // AllocatedStorage: Number("int"),
157
157
  * // Iops: Number("int"),
158
+ * // StorageType: "STRING_VALUE",
158
159
  * // },
159
160
  * // DBClusterInstanceClass: "STRING_VALUE",
160
161
  * // StorageType: "STRING_VALUE",
@@ -177,6 +178,7 @@ export interface PromoteReadReplicaDBClusterCommandOutput extends PromoteReadRep
177
178
  * // SecretStatus: "STRING_VALUE",
178
179
  * // KmsKeyId: "STRING_VALUE",
179
180
  * // },
181
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
180
182
  * // },
181
183
  * // };
182
184
  *
@@ -165,6 +165,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
165
165
  * // BackupRetentionPeriod: Number("int"),
166
166
  * // AllocatedStorage: Number("int"),
167
167
  * // Iops: Number("int"),
168
+ * // StorageType: "STRING_VALUE",
168
169
  * // },
169
170
  * // DBClusterInstanceClass: "STRING_VALUE",
170
171
  * // StorageType: "STRING_VALUE",
@@ -187,6 +188,7 @@ export interface RebootDBClusterCommandOutput extends RebootDBClusterResult, __M
187
188
  * // SecretStatus: "STRING_VALUE",
188
189
  * // KmsKeyId: "STRING_VALUE",
189
190
  * // },
191
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
190
192
  * // },
191
193
  * // };
192
194
  *
@@ -93,6 +93,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
93
93
  * NetworkType: "STRING_VALUE",
94
94
  * ManageMasterUserPassword: true || false,
95
95
  * MasterUserSecretKmsKeyId: "STRING_VALUE",
96
+ * StorageType: "STRING_VALUE",
96
97
  * };
97
98
  * const command = new RestoreDBClusterFromS3Command(input);
98
99
  * const response = await client.send(command);
@@ -220,6 +221,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
220
221
  * // BackupRetentionPeriod: Number("int"),
221
222
  * // AllocatedStorage: Number("int"),
222
223
  * // Iops: Number("int"),
224
+ * // StorageType: "STRING_VALUE",
223
225
  * // },
224
226
  * // DBClusterInstanceClass: "STRING_VALUE",
225
227
  * // StorageType: "STRING_VALUE",
@@ -242,6 +244,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
242
244
  * // SecretStatus: "STRING_VALUE",
243
245
  * // KmsKeyId: "STRING_VALUE",
244
246
  * // },
247
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
245
248
  * // },
246
249
  * // };
247
250
  *
@@ -306,6 +309,9 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
306
309
  * <p>The request would result in the user exceeding the allowed amount of storage
307
310
  * available across all DB instances.</p>
308
311
  *
312
+ * @throws {@link StorageTypeNotSupportedFault} (client fault)
313
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
314
+ *
309
315
  * @throws {@link RDSServiceException}
310
316
  * <p>Base exception class for all service exceptions from RDS service.</p>
311
317
  *
@@ -221,6 +221,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
221
221
  * // BackupRetentionPeriod: Number("int"),
222
222
  * // AllocatedStorage: Number("int"),
223
223
  * // Iops: Number("int"),
224
+ * // StorageType: "STRING_VALUE",
224
225
  * // },
225
226
  * // DBClusterInstanceClass: "STRING_VALUE",
226
227
  * // StorageType: "STRING_VALUE",
@@ -243,6 +244,7 @@ export interface RestoreDBClusterFromSnapshotCommandOutput extends RestoreDBClus
243
244
  * // SecretStatus: "STRING_VALUE",
244
245
  * // KmsKeyId: "STRING_VALUE",
245
246
  * // },
247
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
246
248
  * // },
247
249
  * // };
248
250
  *
@@ -219,6 +219,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
219
219
  * // BackupRetentionPeriod: Number("int"),
220
220
  * // AllocatedStorage: Number("int"),
221
221
  * // Iops: Number("int"),
222
+ * // StorageType: "STRING_VALUE",
222
223
  * // },
223
224
  * // DBClusterInstanceClass: "STRING_VALUE",
224
225
  * // StorageType: "STRING_VALUE",
@@ -241,6 +242,7 @@ export interface RestoreDBClusterToPointInTimeCommandOutput extends RestoreDBClu
241
242
  * // SecretStatus: "STRING_VALUE",
242
243
  * // KmsKeyId: "STRING_VALUE",
243
244
  * // },
245
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
244
246
  * // },
245
247
  * // };
246
248
  *
@@ -391,8 +391,7 @@ export interface RestoreDBInstanceFromDBSnapshotCommandOutput extends RestoreDBI
391
391
  * available across all DB instances.</p>
392
392
  *
393
393
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
394
- * <p>Storage of the <code>StorageType</code> specified can't be associated
395
- * with the DB instance.</p>
394
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
396
395
  *
397
396
  * @throws {@link RDSServiceException}
398
397
  * <p>Base exception class for all service exceptions from RDS service.</p>
@@ -387,8 +387,7 @@ export interface RestoreDBInstanceFromS3CommandOutput extends RestoreDBInstanceF
387
387
  * available across all DB instances.</p>
388
388
  *
389
389
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
390
- * <p>Storage of the <code>StorageType</code> specified can't be associated
391
- * with the DB instance.</p>
390
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
392
391
  *
393
392
  * @throws {@link RDSServiceException}
394
393
  * <p>Base exception class for all service exceptions from RDS service.</p>
@@ -396,8 +396,7 @@ export interface RestoreDBInstanceToPointInTimeCommandOutput extends RestoreDBIn
396
396
  * available across all DB instances.</p>
397
397
  *
398
398
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
399
- * <p>Storage of the <code>StorageType</code> specified can't be associated
400
- * with the DB instance.</p>
399
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
401
400
  *
402
401
  * @throws {@link RDSServiceException}
403
402
  * <p>Base exception class for all service exceptions from RDS service.</p>
@@ -162,6 +162,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
162
162
  * // BackupRetentionPeriod: Number("int"),
163
163
  * // AllocatedStorage: Number("int"),
164
164
  * // Iops: Number("int"),
165
+ * // StorageType: "STRING_VALUE",
165
166
  * // },
166
167
  * // DBClusterInstanceClass: "STRING_VALUE",
167
168
  * // StorageType: "STRING_VALUE",
@@ -184,6 +185,7 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
184
185
  * // SecretStatus: "STRING_VALUE",
185
186
  * // KmsKeyId: "STRING_VALUE",
186
187
  * // },
188
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
187
189
  * // },
188
190
  * // };
189
191
  *
@@ -102,8 +102,7 @@ export interface StartDBInstanceAutomatedBackupsReplicationCommandOutput extends
102
102
  * <p>An error occurred accessing an Amazon Web Services KMS key.</p>
103
103
  *
104
104
  * @throws {@link StorageTypeNotSupportedFault} (client fault)
105
- * <p>Storage of the <code>StorageType</code> specified can't be associated
106
- * with the DB instance.</p>
105
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
107
106
  *
108
107
  * @throws {@link RDSServiceException}
109
108
  * <p>Base exception class for all service exceptions from RDS service.</p>
@@ -163,6 +163,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
163
163
  * // BackupRetentionPeriod: Number("int"),
164
164
  * // AllocatedStorage: Number("int"),
165
165
  * // Iops: Number("int"),
166
+ * // StorageType: "STRING_VALUE",
166
167
  * // },
167
168
  * // DBClusterInstanceClass: "STRING_VALUE",
168
169
  * // StorageType: "STRING_VALUE",
@@ -185,6 +186,7 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
185
186
  * // SecretStatus: "STRING_VALUE",
186
187
  * // KmsKeyId: "STRING_VALUE",
187
188
  * // },
189
+ * // IOOptimizedNextAllowedModificationTime: new Date("TIMESTAMP"),
188
190
  * // },
189
191
  * // };
190
192
  *
@@ -1471,6 +1471,11 @@ export interface DBClusterSnapshot {
1471
1471
  * <p>Reserved for future use.</p>
1472
1472
  */
1473
1473
  DBSystemId?: string;
1474
+ /**
1475
+ * <p>The storage type associated with the DB cluster snapshot.</p>
1476
+ * <p>This setting is only for Aurora DB clusters.</p>
1477
+ */
1478
+ StorageType?: string;
1474
1479
  }
1475
1480
  /**
1476
1481
  * @public
@@ -3522,7 +3527,7 @@ export interface CreateDBClusterMessage {
3522
3527
  /**
3523
3528
  * <p>The DB engine mode of the DB cluster, either <code>provisioned</code> or <code>serverless</code>.</p>
3524
3529
  * <p>The <code>serverless</code> engine mode only applies for Aurora Serverless v1 DB clusters.</p>
3525
- * <p>Limitations and requirements apply to some DB engine modes. For more information, see the
3530
+ * <p>For information about limitations and requirements for Serverless DB clusters, see the
3526
3531
  * following sections in the <i>Amazon Aurora User Guide</i>:</p>
3527
3532
  * <ul>
3528
3533
  * <li>
@@ -3537,17 +3542,6 @@ export interface CreateDBClusterMessage {
3537
3542
  * for Aurora Serverless v2</a>
3538
3543
  * </p>
3539
3544
  * </li>
3540
- * <li>
3541
- * <p>
3542
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations">Limitations of parallel query</a>
3543
- * </p>
3544
- * </li>
3545
- * <li>
3546
- * <p>
3547
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations">Limitations of
3548
- * Aurora global databases</a>
3549
- * </p>
3550
- * </li>
3551
3545
  * </ul>
3552
3546
  * <p>Valid for: Aurora DB clusters only</p>
3553
3547
  */
@@ -3628,12 +3622,10 @@ export interface CreateDBClusterMessage {
3628
3622
  /**
3629
3623
  * <p>Specifies the storage type to be associated with the DB cluster.</p>
3630
3624
  * <p>This setting is required to create a Multi-AZ DB cluster.</p>
3631
- * <p>Valid values: <code>io1</code>
3632
- * </p>
3633
- * <p>When specified, a value for the <code>Iops</code> parameter is required.</p>
3634
- * <p>Default: <code>io1</code>
3635
- * </p>
3636
- * <p>Valid for: Multi-AZ DB clusters only</p>
3625
+ * <p>When specified for a Multi-AZ DB cluster, a value for the <code>Iops</code> parameter is required.</p>
3626
+ * <p>Valid values: <code>aurora</code>, <code>aurora-iopt1</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
3627
+ * <p>Default: <code>aurora</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
3628
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
3637
3629
  */
3638
3630
  StorageType?: string;
3639
3631
  /**
@@ -4033,6 +4025,10 @@ export interface ClusterPendingModifiedValues {
4033
4025
  * <p>The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.</p>
4034
4026
  */
4035
4027
  Iops?: number;
4028
+ /**
4029
+ * <p>The storage type for the DB cluster.</p>
4030
+ */
4031
+ StorageType?: string;
4036
4032
  }
4037
4033
  /**
4038
4034
  * @public
@@ -4313,8 +4309,7 @@ export interface DBCluster {
4313
4309
  */
4314
4310
  Capacity?: number;
4315
4311
  /**
4316
- * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, <code>serverless</code>,
4317
- * <code>parallelquery</code>, <code>global</code>, or <code>multimaster</code>.</p>
4312
+ * <p>The DB engine mode of the DB cluster, either <code>provisioned</code> or <code>serverless</code>.</p>
4318
4313
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html">
4319
4314
  * CreateDBCluster</a>.</p>
4320
4315
  */
@@ -4400,7 +4395,6 @@ export interface DBCluster {
4400
4395
  DBClusterInstanceClass?: string;
4401
4396
  /**
4402
4397
  * <p>The storage type associated with the DB cluster.</p>
4403
- * <p>This setting is only for non-Aurora Multi-AZ DB clusters.</p>
4404
4398
  */
4405
4399
  StorageType?: string;
4406
4400
  /**
@@ -4521,6 +4515,11 @@ export interface DBCluster {
4521
4515
  * </p>
4522
4516
  */
4523
4517
  MasterUserSecret?: MasterUserSecret;
4518
+ /**
4519
+ * <p>The next time you can modify the DB cluster to use the <code>aurora-iopt1</code> storage type.</p>
4520
+ * <p>This setting is only for Aurora DB clusters.</p>
4521
+ */
4522
+ IOOptimizedNextAllowedModificationTime?: Date;
4524
4523
  }
4525
4524
  /**
4526
4525
  * @public
@@ -6846,15 +6845,10 @@ export interface DBInstance {
6846
6845
  Timezone?: string;
6847
6846
  /**
6848
6847
  * <p>True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.</p>
6849
- * <p>IAM database authentication can be enabled for the following database engines:</p>
6850
- * <ul>
6851
- * <li>
6852
- * <p>For MySQL 5.7, minor version 5.7.16 or higher.</p>
6853
- * </li>
6854
- * <li>
6855
- * <p>For Amazon Aurora, all versions of Aurora MySQL and Aurora PostgreSQL.</p>
6856
- * </li>
6857
- * </ul>
6848
+ * <p>For a list of engine versions that support IAM database authentication, see
6849
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RDS_Fea_Regions_DB-eng.Feature.IamDatabaseAuthentication.html">IAM database authentication</a>
6850
+ * in the <i>Amazon RDS User Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.Aurora_Fea_Regions_DB-eng.Feature.IAMdbauth.html">IAM
6851
+ * database authentication in Aurora</a> in the <i>Amazon Aurora User Guide</i>.</p>
6858
6852
  */
6859
6853
  IAMDatabaseAuthenticationEnabled?: boolean;
6860
6854
  /**
@@ -7134,8 +7128,7 @@ export declare class ProvisionedIopsNotAvailableInAZFault extends __BaseExceptio
7134
7128
  }
7135
7129
  /**
7136
7130
  * @public
7137
- * <p>Storage of the <code>StorageType</code> specified can't be associated
7138
- * with the DB instance.</p>
7131
+ * <p>The specified <code>StorageType</code> can't be associated with the DB instance.</p>
7139
7132
  */
7140
7133
  export declare class StorageTypeNotSupportedFault extends __BaseException {
7141
7134
  readonly name: "StorageTypeNotSupportedFault";
@@ -10096,9 +10089,9 @@ export interface DescribeDBClusterBacktracksMessage {
10096
10089
  * <p>Constraints:</p>
10097
10090
  * <ul>
10098
10091
  * <li>
10099
- * <p>Must contain a valid universally unique identifier (UUID). For more
10100
- * information about UUIDs, see <a href="http://www.ietf.org/rfc/rfc4122.txt">A Universally Unique Identifier
10101
- * (UUID) URN Namespace</a>.</p>
10092
+ * <p>Must contain a valid universally unique identifier (UUID). For more information about UUIDs, see
10093
+ * <a href="https://en.wikipedia.org/wiki/Universally_unique_identifier">Universally unique
10094
+ * identifier</a>.</p>
10102
10095
  * </li>
10103
10096
  * </ul>
10104
10097
  * <p>Example: <code>123e4567-e89b-12d3-a456-426655440000</code>
@@ -3517,12 +3517,10 @@ export interface ModifyDBClusterMessage {
3517
3517
  AllocatedStorage?: number;
3518
3518
  /**
3519
3519
  * <p>Specifies the storage type to be associated with the DB cluster.</p>
3520
- * <p>Valid values: <code>io1</code>
3521
- * </p>
3522
- * <p>When specified, a value for the <code>Iops</code> parameter is required.</p>
3523
- * <p>Default: <code>io1</code>
3524
- * </p>
3525
- * <p>Valid for: Multi-AZ DB clusters only</p>
3520
+ * <p>When specified for a Multi-AZ DB cluster, a value for the <code>Iops</code> parameter is required.</p>
3521
+ * <p>Valid values: <code>aurora</code>, <code>aurora-iopt1</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
3522
+ * <p>Default: <code>aurora</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
3523
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
3526
3524
  */
3527
3525
  StorageType?: string;
3528
3526
  /**
@@ -3746,6 +3744,19 @@ export interface ModifyDBClusterResult {
3746
3744
  */
3747
3745
  DBCluster?: DBCluster;
3748
3746
  }
3747
+ /**
3748
+ * @public
3749
+ * <p>The <code>aurora-iopt1</code> storage type isn't available, because you modified the DB cluster
3750
+ * to use this storage type less than one month ago.</p>
3751
+ */
3752
+ export declare class StorageTypeNotAvailableFault extends __BaseException {
3753
+ readonly name: "StorageTypeNotAvailableFault";
3754
+ readonly $fault: "client";
3755
+ /**
3756
+ * @internal
3757
+ */
3758
+ constructor(opts: __ExceptionOptionType<StorageTypeNotAvailableFault, __BaseException>);
3759
+ }
3749
3760
  /**
3750
3761
  * @public
3751
3762
  */
@@ -4608,9 +4619,9 @@ export interface ModifyDBInstanceMessage {
4608
4619
  StorageThroughput?: number;
4609
4620
  /**
4610
4621
  * <p>A value that indicates whether to manage the master user password with Amazon Web Services Secrets Manager.</p>
4611
- * <p>If the DB cluster doesn't manage the master user password with Amazon Web Services Secrets Manager, you can turn
4622
+ * <p>If the DB instance doesn't manage the master user password with Amazon Web Services Secrets Manager, you can turn
4612
4623
  * on this management. In this case, you can't specify <code>MasterUserPassword</code>.</p>
4613
- * <p>If the DB cluster already manages the master user password with Amazon Web Services Secrets Manager, and you specify that the
4624
+ * <p>If the DB instance already manages the master user password with Amazon Web Services Secrets Manager, and you specify that the
4614
4625
  * master user password is not managed with Amazon Web Services Secrets Manager, then you must specify <code>MasterUserPassword</code>.
4615
4626
  * In this case, RDS deletes the secret and uses the new password for the master user specified by
4616
4627
  * <code>MasterUserPassword</code>.</p>
@@ -6082,6 +6093,15 @@ export interface RestoreDBClusterFromS3Message {
6082
6093
  * has a different default KMS key for each Amazon Web Services Region.</p>
6083
6094
  */
6084
6095
  MasterUserSecretKmsKeyId?: string;
6096
+ /**
6097
+ * <p>Specifies the storage type to be associated with the DB cluster.</p>
6098
+ * <p>Valid values: <code>aurora</code>, <code>aurora-iopt1</code>
6099
+ * </p>
6100
+ * <p>Default: <code>aurora</code>
6101
+ * </p>
6102
+ * <p>Valid for: Aurora DB clusters only</p>
6103
+ */
6104
+ StorageType?: string;
6085
6105
  }
6086
6106
  /**
6087
6107
  * @public
@@ -6407,12 +6427,10 @@ export interface RestoreDBClusterFromSnapshotMessage {
6407
6427
  */
6408
6428
  DBClusterInstanceClass?: string;
6409
6429
  /**
6410
- * <p>Specifies the storage type to be associated with the each DB instance in the Multi-AZ DB cluster.</p>
6411
- * <p>Valid values: <code>io1</code>
6412
- * </p>
6413
- * <p>When specified, a value for the <code>Iops</code> parameter is required.</p>
6414
- * <p>Default: <code>io1</code>
6415
- * </p>
6430
+ * <p>Specifies the storage type to be associated with the DB cluster.</p>
6431
+ * <p>When specified for a Multi-AZ DB cluster, a value for the <code>Iops</code> parameter is required.</p>
6432
+ * <p>Valid values: <code>aurora</code>, <code>aurora-iopt1</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
6433
+ * <p>Default: <code>aurora</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
6416
6434
  * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
6417
6435
  */
6418
6436
  StorageType?: string;
@@ -6767,13 +6785,11 @@ export interface RestoreDBClusterToPointInTimeMessage {
6767
6785
  */
6768
6786
  DBClusterInstanceClass?: string;
6769
6787
  /**
6770
- * <p>Specifies the storage type to be associated with the each DB instance in the Multi-AZ DB cluster.</p>
6771
- * <p>Valid values: <code>io1</code>
6772
- * </p>
6773
- * <p>When specified, a value for the <code>Iops</code> parameter is required.</p>
6774
- * <p>Default: <code>io1</code>
6775
- * </p>
6776
- * <p>Valid for: Multi-AZ DB clusters only</p>
6788
+ * <p>Specifies the storage type to be associated with the DB cluster.</p>
6789
+ * <p>When specified for a Multi-AZ DB cluster, a value for the <code>Iops</code> parameter is required.</p>
6790
+ * <p>Valid values: <code>aurora</code>, <code>aurora-iopt1</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
6791
+ * <p>Default: <code>aurora</code> (Aurora DB clusters); <code>io1</code> (Multi-AZ DB clusters)</p>
6792
+ * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
6777
6793
  */
6778
6794
  StorageType?: string;
6779
6795
  /**
@@ -405,6 +405,7 @@ export interface DBClusterSnapshot {
405
405
  IAMDatabaseAuthenticationEnabled?: boolean;
406
406
  TagList?: Tag[];
407
407
  DBSystemId?: string;
408
+ StorageType?: string;
408
409
  }
409
410
  export interface CopyDBClusterSnapshotResult {
410
411
  DBClusterSnapshot?: DBClusterSnapshot;
@@ -916,6 +917,7 @@ export interface ClusterPendingModifiedValues {
916
917
  BackupRetentionPeriod?: number;
917
918
  AllocatedStorage?: number;
918
919
  Iops?: number;
920
+ StorageType?: string;
919
921
  }
920
922
  export interface ScalingConfigurationInfo {
921
923
  MinCapacity?: number;
@@ -1001,6 +1003,7 @@ export interface DBCluster {
1001
1003
  NetworkType?: string;
1002
1004
  DBSystemId?: string;
1003
1005
  MasterUserSecret?: MasterUserSecret;
1006
+ IOOptimizedNextAllowedModificationTime?: Date;
1004
1007
  }
1005
1008
  export interface CreateDBClusterResult {
1006
1009
  DBCluster?: DBCluster;
@@ -700,6 +700,13 @@ export interface ModifyDBClusterMessage {
700
700
  export interface ModifyDBClusterResult {
701
701
  DBCluster?: DBCluster;
702
702
  }
703
+ export declare class StorageTypeNotAvailableFault extends __BaseException {
704
+ readonly name: "StorageTypeNotAvailableFault";
705
+ readonly $fault: "client";
706
+ constructor(
707
+ opts: __ExceptionOptionType<StorageTypeNotAvailableFault, __BaseException>
708
+ );
709
+ }
703
710
  export interface ModifyDBClusterEndpointMessage {
704
711
  DBClusterEndpointIdentifier: string | undefined;
705
712
  EndpointType?: string;
@@ -1090,6 +1097,7 @@ export interface RestoreDBClusterFromS3Message {
1090
1097
  NetworkType?: string;
1091
1098
  ManageMasterUserPassword?: boolean;
1092
1099
  MasterUserSecretKmsKeyId?: string;
1100
+ StorageType?: string;
1093
1101
  }
1094
1102
  export interface RestoreDBClusterFromS3Result {
1095
1103
  DBCluster?: DBCluster;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-rds",
3
3
  "description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
4
- "version": "3.329.0",
4
+ "version": "3.332.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.329.0",
24
+ "@aws-sdk/client-sts": "3.332.0",
25
25
  "@aws-sdk/config-resolver": "3.329.0",
26
- "@aws-sdk/credential-provider-node": "3.329.0",
26
+ "@aws-sdk/credential-provider-node": "3.332.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.329.0",
28
28
  "@aws-sdk/hash-node": "3.329.0",
29
29
  "@aws-sdk/invalid-dependency": "3.329.0",
@@ -37,7 +37,7 @@
37
37
  "@aws-sdk/middleware-serde": "3.329.0",
38
38
  "@aws-sdk/middleware-signing": "3.329.0",
39
39
  "@aws-sdk/middleware-stack": "3.329.0",
40
- "@aws-sdk/middleware-user-agent": "3.329.0",
40
+ "@aws-sdk/middleware-user-agent": "3.332.0",
41
41
  "@aws-sdk/node-config-provider": "3.329.0",
42
42
  "@aws-sdk/node-http-handler": "3.329.0",
43
43
  "@aws-sdk/protocol-http": "3.329.0",
@@ -49,7 +49,7 @@
49
49
  "@aws-sdk/util-body-length-node": "3.310.0",
50
50
  "@aws-sdk/util-defaults-mode-browser": "3.329.0",
51
51
  "@aws-sdk/util-defaults-mode-node": "3.329.0",
52
- "@aws-sdk/util-endpoints": "3.329.0",
52
+ "@aws-sdk/util-endpoints": "3.332.0",
53
53
  "@aws-sdk/util-retry": "3.329.0",
54
54
  "@aws-sdk/util-user-agent-browser": "3.329.0",
55
55
  "@aws-sdk/util-user-agent-node": "3.329.0",