@aws-sdk/client-rds 3.298.0 → 3.299.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.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DBClusterAlreadyExistsFault = exports.WriteForwardingStatus = exports.Ec2ImagePropertiesNotSupportedFault = exports.CustomDBEngineVersionQuotaExceededFault = exports.CustomDBEngineVersionAlreadyExistsFault = exports.SourceDatabaseNotSupportedFault = exports.SourceClusterNotSupportedFault = exports.InstanceQuotaExceededFault = exports.DBClusterQuotaExceededFault = exports.DBClusterParameterGroupNotFoundFault = exports.BlueGreenDeploymentAlreadyExistsFault = exports.OptionGroupQuotaExceededFault = exports.OptionGroupNotFoundFault = exports.OptionGroupAlreadyExistsFault = exports.InvalidDBSnapshotStateFault = exports.DBSnapshotAlreadyExistsFault = exports.CustomAvailabilityZoneNotFoundFault = exports.SnapshotQuotaExceededFault = exports.KMSKeyNotAccessibleFault = exports.InvalidDBClusterSnapshotStateFault = exports.DBClusterSnapshotNotFoundFault = exports.DBClusterSnapshotAlreadyExistsFault = exports.DBParameterGroupQuotaExceededFault = exports.DBParameterGroupNotFoundFault = exports.DBParameterGroupAlreadyExistsFault = exports.InvalidExportTaskStateFault = exports.ExportTaskNotFoundFault = exports.ExportSourceType = exports.InvalidDBSecurityGroupStateFault = exports.DBSecurityGroupNotFoundFault = exports.AuthorizationQuotaExceededFault = exports.AuthorizationAlreadyExistsFault = exports.ResourceNotFoundFault = exports.DBSnapshotNotFoundFault = exports.DBProxyTargetGroupNotFoundFault = exports.DBProxyNotFoundFault = exports.BlueGreenDeploymentNotFoundFault = exports.SubscriptionNotFoundFault = exports.SourceNotFoundFault = exports.InvalidDBInstanceStateFault = exports.DBInstanceRoleQuotaExceededFault = exports.DBInstanceRoleAlreadyExistsFault = exports.DBInstanceNotFoundFault = exports.InvalidDBClusterStateFault = exports.DBClusterRoleQuotaExceededFault = exports.DBClusterRoleAlreadyExistsFault = exports.DBClusterNotFoundFault = exports.ActivityStreamStatus = exports.ActivityStreamPolicyStatus = exports.ActivityStreamMode = void 0;
4
- exports.GlobalClusterAlreadyExistsFault = exports.FailoverStatus = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.DBSubnetQuotaExceededFault = exports.DBSubnetGroupQuotaExceededFault = exports.DBSubnetGroupAlreadyExistsFault = exports.DBSecurityGroupQuotaExceededFault = exports.DBSecurityGroupNotSupportedFault = exports.DBSecurityGroupAlreadyExistsFault = exports.InvalidDBProxyStateFault = exports.DBProxyEndpointQuotaExceededFault = exports.DBProxyEndpointAlreadyExistsFault = exports.DBProxyEndpointStatus = exports.DBProxyEndpointTargetRole = exports.DBProxyQuotaExceededFault = exports.DBProxyAlreadyExistsFault = exports.DBProxyStatus = exports.EngineFamily = exports.IAMAuthMode = exports.ClientPasswordAuthType = exports.AuthScheme = exports.InvalidDBSubnetGroupFault = exports.DBSubnetGroupNotAllowedFault = exports.StorageTypeNotSupportedFault = exports.ProvisionedIopsNotAvailableInAZFault = exports.NetworkTypeNotSupported = exports.InsufficientDBInstanceCapacityFault = exports.DBInstanceAlreadyExistsFault = exports.ReplicaMode = exports.AutomationMode = exports.CertificateNotFoundFault = exports.BackupPolicyNotFoundFault = exports.AuthorizationNotFoundFault = exports.DBClusterEndpointQuotaExceededFault = exports.DBClusterEndpointAlreadyExistsFault = exports.StorageQuotaExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidSubnet = exports.InvalidGlobalClusterStateFault = exports.InvalidDBSubnetGroupStateFault = exports.InsufficientStorageClusterCapacityFault = exports.GlobalClusterNotFoundFault = exports.DomainNotFoundFault = exports.DBSubnetGroupNotFoundFault = exports.DBSubnetGroupDoesNotCoverEnoughAZs = void 0;
5
- exports.ApplyMethod = exports.DBClusterBacktrackNotFoundFault = exports.DBProxyTargetNotFoundFault = exports.InvalidOptionGroupStateFault = exports.InvalidEventSubscriptionStateFault = exports.InvalidDBSubnetStateFault = exports.InvalidDBProxyEndpointStateFault = exports.DBProxyEndpointNotFoundFault = exports.InvalidDBInstanceAutomatedBackupStateFault = exports.DBInstanceAutomatedBackupNotFoundFault = exports.DBInstanceAutomatedBackupQuotaExceededFault = exports.InvalidDBParameterGroupStateFault = exports.InvalidDBClusterEndpointStateFault = exports.DBClusterEndpointNotFoundFault = exports.InvalidCustomDBEngineVersionStateFault = exports.CustomDBEngineVersionNotFoundFault = exports.InvalidBlueGreenDeploymentStateFault = exports.GlobalClusterQuotaExceededFault = void 0;
3
+ exports.WriteForwardingStatus = exports.Ec2ImagePropertiesNotSupportedFault = exports.CustomDBEngineVersionQuotaExceededFault = exports.CustomDBEngineVersionAlreadyExistsFault = exports.CreateCustomDBEngineVersionFault = exports.SourceDatabaseNotSupportedFault = exports.SourceClusterNotSupportedFault = exports.InstanceQuotaExceededFault = exports.DBClusterQuotaExceededFault = exports.DBClusterParameterGroupNotFoundFault = exports.BlueGreenDeploymentAlreadyExistsFault = exports.OptionGroupQuotaExceededFault = exports.OptionGroupNotFoundFault = exports.OptionGroupAlreadyExistsFault = exports.InvalidDBSnapshotStateFault = exports.DBSnapshotAlreadyExistsFault = exports.CustomAvailabilityZoneNotFoundFault = exports.SnapshotQuotaExceededFault = exports.KMSKeyNotAccessibleFault = exports.InvalidDBClusterSnapshotStateFault = exports.DBClusterSnapshotNotFoundFault = exports.DBClusterSnapshotAlreadyExistsFault = exports.DBParameterGroupQuotaExceededFault = exports.DBParameterGroupNotFoundFault = exports.DBParameterGroupAlreadyExistsFault = exports.InvalidExportTaskStateFault = exports.ExportTaskNotFoundFault = exports.ExportSourceType = exports.InvalidDBSecurityGroupStateFault = exports.DBSecurityGroupNotFoundFault = exports.AuthorizationQuotaExceededFault = exports.AuthorizationAlreadyExistsFault = exports.ResourceNotFoundFault = exports.DBSnapshotNotFoundFault = exports.DBProxyTargetGroupNotFoundFault = exports.DBProxyNotFoundFault = exports.BlueGreenDeploymentNotFoundFault = exports.SubscriptionNotFoundFault = exports.SourceNotFoundFault = exports.InvalidDBInstanceStateFault = exports.DBInstanceRoleQuotaExceededFault = exports.DBInstanceRoleAlreadyExistsFault = exports.DBInstanceNotFoundFault = exports.InvalidDBClusterStateFault = exports.DBClusterRoleQuotaExceededFault = exports.DBClusterRoleAlreadyExistsFault = exports.DBClusterNotFoundFault = exports.ActivityStreamStatus = exports.ActivityStreamPolicyStatus = exports.ActivityStreamMode = void 0;
4
+ exports.FailoverStatus = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.DBSubnetQuotaExceededFault = exports.DBSubnetGroupQuotaExceededFault = exports.DBSubnetGroupAlreadyExistsFault = exports.DBSecurityGroupQuotaExceededFault = exports.DBSecurityGroupNotSupportedFault = exports.DBSecurityGroupAlreadyExistsFault = exports.InvalidDBProxyStateFault = exports.DBProxyEndpointQuotaExceededFault = exports.DBProxyEndpointAlreadyExistsFault = exports.DBProxyEndpointStatus = exports.DBProxyEndpointTargetRole = exports.DBProxyQuotaExceededFault = exports.DBProxyAlreadyExistsFault = exports.DBProxyStatus = exports.EngineFamily = exports.IAMAuthMode = exports.ClientPasswordAuthType = exports.AuthScheme = exports.InvalidDBSubnetGroupFault = exports.DBSubnetGroupNotAllowedFault = exports.StorageTypeNotSupportedFault = exports.ProvisionedIopsNotAvailableInAZFault = exports.NetworkTypeNotSupported = exports.InsufficientDBInstanceCapacityFault = exports.DBInstanceAlreadyExistsFault = exports.ReplicaMode = exports.AutomationMode = exports.CertificateNotFoundFault = exports.BackupPolicyNotFoundFault = exports.AuthorizationNotFoundFault = exports.DBClusterEndpointQuotaExceededFault = exports.DBClusterEndpointAlreadyExistsFault = exports.StorageQuotaExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidSubnet = exports.InvalidGlobalClusterStateFault = exports.InvalidDBSubnetGroupStateFault = exports.InsufficientStorageClusterCapacityFault = exports.GlobalClusterNotFoundFault = exports.DomainNotFoundFault = exports.DBSubnetGroupNotFoundFault = exports.DBSubnetGroupDoesNotCoverEnoughAZs = exports.DBClusterAlreadyExistsFault = void 0;
5
+ exports.ApplyMethod = exports.DBClusterBacktrackNotFoundFault = exports.DBProxyTargetNotFoundFault = exports.InvalidOptionGroupStateFault = exports.InvalidEventSubscriptionStateFault = exports.InvalidDBSubnetStateFault = exports.InvalidDBProxyEndpointStateFault = exports.DBProxyEndpointNotFoundFault = exports.InvalidDBInstanceAutomatedBackupStateFault = exports.DBInstanceAutomatedBackupNotFoundFault = exports.DBInstanceAutomatedBackupQuotaExceededFault = exports.InvalidDBParameterGroupStateFault = exports.InvalidDBClusterEndpointStateFault = exports.DBClusterEndpointNotFoundFault = exports.InvalidCustomDBEngineVersionStateFault = exports.CustomDBEngineVersionNotFoundFault = exports.InvalidBlueGreenDeploymentStateFault = exports.GlobalClusterQuotaExceededFault = exports.GlobalClusterAlreadyExistsFault = void 0;
6
6
  const RDSServiceException_1 = require("./RDSServiceException");
7
7
  var ActivityStreamMode;
8
8
  (function (ActivityStreamMode) {
@@ -561,6 +561,19 @@ class SourceDatabaseNotSupportedFault extends RDSServiceException_1.RDSServiceEx
561
561
  }
562
562
  }
563
563
  exports.SourceDatabaseNotSupportedFault = SourceDatabaseNotSupportedFault;
564
+ class CreateCustomDBEngineVersionFault extends RDSServiceException_1.RDSServiceException {
565
+ constructor(opts) {
566
+ super({
567
+ name: "CreateCustomDBEngineVersionFault",
568
+ $fault: "client",
569
+ ...opts,
570
+ });
571
+ this.name = "CreateCustomDBEngineVersionFault";
572
+ this.$fault = "client";
573
+ Object.setPrototypeOf(this, CreateCustomDBEngineVersionFault.prototype);
574
+ }
575
+ }
576
+ exports.CreateCustomDBEngineVersionFault = CreateCustomDBEngineVersionFault;
564
577
  class CustomDBEngineVersionAlreadyExistsFault extends RDSServiceException_1.RDSServiceException {
565
578
  constructor(opts) {
566
579
  super({
@@ -2468,6 +2468,9 @@ const deserializeAws_queryCreateCustomDBEngineVersionCommandError = async (outpu
2468
2468
  };
2469
2469
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2470
2470
  switch (errorCode) {
2471
+ case "CreateCustomDBEngineVersionFault":
2472
+ case "com.amazonaws.rds#CreateCustomDBEngineVersionFault":
2473
+ throw await deserializeAws_queryCreateCustomDBEngineVersionFaultResponse(parsedOutput, context);
2471
2474
  case "CustomDBEngineVersionAlreadyExistsFault":
2472
2475
  case "com.amazonaws.rds#CustomDBEngineVersionAlreadyExistsFault":
2473
2476
  throw await deserializeAws_queryCustomDBEngineVersionAlreadyExistsFaultResponse(parsedOutput, context);
@@ -7917,6 +7920,15 @@ const deserializeAws_queryCertificateNotFoundFaultResponse = async (parsedOutput
7917
7920
  });
7918
7921
  return (0, smithy_client_1.decorateServiceException)(exception, body);
7919
7922
  };
7923
+ const deserializeAws_queryCreateCustomDBEngineVersionFaultResponse = async (parsedOutput, context) => {
7924
+ const body = parsedOutput.body;
7925
+ const deserialized = deserializeAws_queryCreateCustomDBEngineVersionFault(body.Error, context);
7926
+ const exception = new models_0_1.CreateCustomDBEngineVersionFault({
7927
+ $metadata: deserializeMetadata(parsedOutput),
7928
+ ...deserialized,
7929
+ });
7930
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
7931
+ };
7920
7932
  const deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = async (parsedOutput, context) => {
7921
7933
  const body = parsedOutput.body;
7922
7934
  const deserialized = deserializeAws_queryCustomAvailabilityZoneNotFoundFault(body.Error, context);
@@ -14213,6 +14225,13 @@ const deserializeAws_queryCreateBlueGreenDeploymentResponse = (output, context)
14213
14225
  }
14214
14226
  return contents;
14215
14227
  };
14228
+ const deserializeAws_queryCreateCustomDBEngineVersionFault = (output, context) => {
14229
+ const contents = {};
14230
+ if (output["message"] !== undefined) {
14231
+ contents.message = (0, smithy_client_1.expectString)(output["message"]);
14232
+ }
14233
+ return contents;
14234
+ };
14216
14235
  const deserializeAws_queryCreateDBClusterParameterGroupResult = (output, context) => {
14217
14236
  const contents = {};
14218
14237
  if (output["DBClusterParameterGroup"] !== undefined) {
@@ -515,6 +515,18 @@ export class SourceDatabaseNotSupportedFault extends __BaseException {
515
515
  Object.setPrototypeOf(this, SourceDatabaseNotSupportedFault.prototype);
516
516
  }
517
517
  }
518
+ export class CreateCustomDBEngineVersionFault extends __BaseException {
519
+ constructor(opts) {
520
+ super({
521
+ name: "CreateCustomDBEngineVersionFault",
522
+ $fault: "client",
523
+ ...opts,
524
+ });
525
+ this.name = "CreateCustomDBEngineVersionFault";
526
+ this.$fault = "client";
527
+ Object.setPrototypeOf(this, CreateCustomDBEngineVersionFault.prototype);
528
+ }
529
+ }
518
530
  export class CustomDBEngineVersionAlreadyExistsFault extends __BaseException {
519
531
  constructor(opts) {
520
532
  super({
@@ -1,7 +1,7 @@
1
1
  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, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
- import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, BlueGreenDeploymentAlreadyExistsFault, BlueGreenDeploymentNotFoundFault, CertificateNotFoundFault, 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";
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
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";
6
6
  import { RDSServiceException as __BaseException } from "../models/RDSServiceException";
7
7
  export const serializeAws_queryAddRoleToDBClusterCommand = async (input, context) => {
@@ -2304,6 +2304,9 @@ const deserializeAws_queryCreateCustomDBEngineVersionCommandError = async (outpu
2304
2304
  };
2305
2305
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2306
2306
  switch (errorCode) {
2307
+ case "CreateCustomDBEngineVersionFault":
2308
+ case "com.amazonaws.rds#CreateCustomDBEngineVersionFault":
2309
+ throw await deserializeAws_queryCreateCustomDBEngineVersionFaultResponse(parsedOutput, context);
2307
2310
  case "CustomDBEngineVersionAlreadyExistsFault":
2308
2311
  case "com.amazonaws.rds#CustomDBEngineVersionAlreadyExistsFault":
2309
2312
  throw await deserializeAws_queryCustomDBEngineVersionAlreadyExistsFaultResponse(parsedOutput, context);
@@ -7627,6 +7630,15 @@ const deserializeAws_queryCertificateNotFoundFaultResponse = async (parsedOutput
7627
7630
  });
7628
7631
  return __decorateServiceException(exception, body);
7629
7632
  };
7633
+ const deserializeAws_queryCreateCustomDBEngineVersionFaultResponse = async (parsedOutput, context) => {
7634
+ const body = parsedOutput.body;
7635
+ const deserialized = deserializeAws_queryCreateCustomDBEngineVersionFault(body.Error, context);
7636
+ const exception = new CreateCustomDBEngineVersionFault({
7637
+ $metadata: deserializeMetadata(parsedOutput),
7638
+ ...deserialized,
7639
+ });
7640
+ return __decorateServiceException(exception, body);
7641
+ };
7630
7642
  const deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = async (parsedOutput, context) => {
7631
7643
  const body = parsedOutput.body;
7632
7644
  const deserialized = deserializeAws_queryCustomAvailabilityZoneNotFoundFault(body.Error, context);
@@ -13923,6 +13935,13 @@ const deserializeAws_queryCreateBlueGreenDeploymentResponse = (output, context)
13923
13935
  }
13924
13936
  return contents;
13925
13937
  };
13938
+ const deserializeAws_queryCreateCustomDBEngineVersionFault = (output, context) => {
13939
+ const contents = {};
13940
+ if (output["message"] !== undefined) {
13941
+ contents.message = __expectString(output["message"]);
13942
+ }
13943
+ return contents;
13944
+ };
13926
13945
  const deserializeAws_queryCreateDBClusterParameterGroupResult = (output, context) => {
13927
13946
  const contents = {};
13928
13947
  if (output["DBClusterParameterGroup"] !== undefined) {
@@ -391,6 +391,10 @@ export declare class RDS extends RDSClient {
391
391
  /**
392
392
  * @public
393
393
  * <p>Creates a new Amazon Aurora DB cluster or Multi-AZ DB cluster.</p>
394
+ * <p>If you create an Aurora DB cluster, the request creates an empty cluster. You must
395
+ * explicitly create the writer instance for your DB cluster using the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html">CreateDBInstance</a> operation. If you create a Multi-AZ DB cluster, the
396
+ * request creates a writer and two reader DB instances for you, each in a different
397
+ * Availability Zone.</p>
394
398
  * <p>You can use the <code>ReplicationSourceIdentifier</code> parameter to create an Amazon
395
399
  * Aurora DB cluster as a read replica of another DB cluster or Amazon RDS MySQL or
396
400
  * PostgreSQL DB instance. For more information about Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">What is Amazon Aurora?</a> in the <i>Amazon Aurora User
@@ -1766,8 +1770,7 @@ export declare class RDS extends RDSClient {
1766
1770
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">
1767
1771
  * What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p>
1768
1772
  * <note>
1769
- * <p>This action only applies to Aurora DB clusters. The source DB engine must be
1770
- * MySQL.</p>
1773
+ * <p>This action only applies to Aurora DB clusters. The source DB engine must be MySQL.</p>
1771
1774
  * </note>
1772
1775
  */
1773
1776
  restoreDBClusterFromS3(args: RestoreDBClusterFromS3CommandInput, options?: __HttpHandlerOptions): Promise<RestoreDBClusterFromS3CommandOutput>;
@@ -1955,10 +1958,10 @@ export declare class RDS extends RDSClient {
1955
1958
  * <p>For more information on exporting DB snapshot data, see
1956
1959
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html">Exporting DB snapshot
1957
1960
  * data to Amazon S3</a> in the <i>Amazon RDS User Guide</i>
1958
- * or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-export-snapshot.html">Exporting DB
1961
+ * or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-export-snapshot.html">Exporting DB
1959
1962
  * cluster snapshot data to Amazon S3</a> in the <i>Amazon Aurora User Guide</i>.</p>
1960
1963
  * <p>For more information on exporting DB cluster data, see
1961
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/export-cluster-data.html">Exporting DB
1964
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/export-cluster-data.html">Exporting DB
1962
1965
  * cluster data to Amazon S3</a> in the <i>Amazon Aurora User Guide</i>.</p>
1963
1966
  */
1964
1967
  startExportTask(args: StartExportTaskCommandInput, options?: __HttpHandlerOptions): Promise<StartExportTaskCommandOutput>;
@@ -36,6 +36,9 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
36
36
  * @see {@link CreateCustomDBEngineVersionCommandOutput} for command's `response` shape.
37
37
  * @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
38
38
  *
39
+ * @throws {@link CreateCustomDBEngineVersionFault} (client fault)
40
+ * <p>An error occurred while trying to create the CEV.</p>
41
+ *
39
42
  * @throws {@link CustomDBEngineVersionAlreadyExistsFault} (client fault)
40
43
  * <p>A CEV with the specified name already exists.</p>
41
44
  *
@@ -20,6 +20,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
20
20
  /**
21
21
  * @public
22
22
  * <p>Creates a new Amazon Aurora DB cluster or Multi-AZ DB cluster.</p>
23
+ * <p>If you create an Aurora DB cluster, the request creates an empty cluster. You must
24
+ * explicitly create the writer instance for your DB cluster using the <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html">CreateDBInstance</a> operation. If you create a Multi-AZ DB cluster, the
25
+ * request creates a writer and two reader DB instances for you, each in a different
26
+ * Availability Zone.</p>
23
27
  * <p>You can use the <code>ReplicationSourceIdentifier</code> parameter to create an Amazon
24
28
  * Aurora DB cluster as a read replica of another DB cluster or Amazon RDS MySQL or
25
29
  * PostgreSQL DB instance. For more information about Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">What is Amazon Aurora?</a> in the <i>Amazon Aurora User
@@ -1,8 +1,7 @@
1
1
  import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
- import { DBParameterGroupDetails } from "../models/models_0";
5
- import { DescribeDBParametersMessage } from "../models/models_1";
4
+ import { DBParameterGroupDetails, DescribeDBParametersMessage } from "../models/models_1";
6
5
  import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
7
6
  /**
8
7
  * @public
@@ -35,8 +35,7 @@ export interface RestoreDBClusterFromS3CommandOutput extends RestoreDBClusterFro
35
35
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html">
36
36
  * What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p>
37
37
  * <note>
38
- * <p>This action only applies to Aurora DB clusters. The source DB engine must be
39
- * MySQL.</p>
38
+ * <p>This action only applies to Aurora DB clusters. The source DB engine must be MySQL.</p>
40
39
  * </note>
41
40
  * @example
42
41
  * Use a bare-bones client and the command you need to make an API call.
@@ -27,10 +27,10 @@ export interface StartExportTaskCommandOutput extends ExportTask, __MetadataBear
27
27
  * <p>For more information on exporting DB snapshot data, see
28
28
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ExportSnapshot.html">Exporting DB snapshot
29
29
  * data to Amazon S3</a> in the <i>Amazon RDS User Guide</i>
30
- * or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-export-snapshot.html">Exporting DB
30
+ * or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-export-snapshot.html">Exporting DB
31
31
  * cluster snapshot data to Amazon S3</a> in the <i>Amazon Aurora User Guide</i>.</p>
32
32
  * <p>For more information on exporting DB cluster data, see
33
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/export-cluster-data.html">Exporting DB
33
+ * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/export-cluster-data.html">Exporting DB
34
34
  * cluster data to Amazon S3</a> in the <i>Amazon Aurora User Guide</i>.</p>
35
35
  * @example
36
36
  * Use a bare-bones client and the command you need to make an API call.
@@ -2396,11 +2396,11 @@ export interface CreateBlueGreenDeploymentRequest {
2396
2396
  /**
2397
2397
  * @public
2398
2398
  * <p>Contains the details about a blue/green deployment.</p>
2399
- * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html">Using Amazon RDS Blue/Green Deployments
2400
- * for database updates</a> in the <i>Amazon RDS User Guide</i> and
2401
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html">
2402
- * Using Amazon RDS Blue/Green Deployments for database updates</a> in the <i>Amazon Aurora
2403
- * User Guide</i>.</p>
2399
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html">Using Amazon RDS
2400
+ * Blue/Green Deployments for database updates</a> in the <i>Amazon RDS User
2401
+ * Guide</i> and <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html">Using Amazon RDS
2402
+ * Blue/Green Deployments for database updates</a> in the <i>Amazon Aurora
2403
+ * User Guide</i>.</p>
2404
2404
  */
2405
2405
  export interface SwitchoverDetail {
2406
2406
  /**
@@ -2417,24 +2417,35 @@ export interface SwitchoverDetail {
2417
2417
  * <ul>
2418
2418
  * <li>
2419
2419
  * <p>
2420
- * <code>preparing-for-switchover</code> - The resource is being prepared to switch over.</p>
2420
+ * <code>PROVISIONING</code> - The resource is being prepared to switch
2421
+ * over.</p>
2421
2422
  * </li>
2422
2423
  * <li>
2423
2424
  * <p>
2424
- * <code>ready-for-switchover</code> - The resource is ready to switch
2425
+ * <code>AVAILABLE</code> - The resource is ready to switch over.</p>
2426
+ * </li>
2427
+ * <li>
2428
+ * <p>
2429
+ * <code>SWITCHOVER_IN_PROGRESS</code> - The resource is being switched
2425
2430
  * over.</p>
2426
2431
  * </li>
2427
2432
  * <li>
2428
2433
  * <p>
2429
- * <code>switchover-in-progress</code> - The resource is being switched over.</p>
2434
+ * <code>SWITCHOVER_COMPLETED</code> - The resource has been switched
2435
+ * over.</p>
2430
2436
  * </li>
2431
2437
  * <li>
2432
2438
  * <p>
2433
- * <code>switchover-completed</code> - The resource has been switched over.</p>
2439
+ * <code>SWITCHOVER_FAILED</code> - The resource attempted to switch over but
2440
+ * failed.</p>
2434
2441
  * </li>
2435
2442
  * <li>
2436
2443
  * <p>
2437
- * <code>switchover-failed</code> - The resource attempted to switch over but failed.</p>
2444
+ * <code>MISSING_SOURCE</code> - The source resource has been deleted.</p>
2445
+ * </li>
2446
+ * <li>
2447
+ * <p>
2448
+ * <code>MISSING_TARGET</code> - The target resource has been deleted.</p>
2438
2449
  * </li>
2439
2450
  * </ul>
2440
2451
  */
@@ -2647,6 +2658,18 @@ export declare class SourceDatabaseNotSupportedFault extends __BaseException {
2647
2658
  */
2648
2659
  constructor(opts: __ExceptionOptionType<SourceDatabaseNotSupportedFault, __BaseException>);
2649
2660
  }
2661
+ /**
2662
+ * @public
2663
+ * <p>An error occurred while trying to create the CEV.</p>
2664
+ */
2665
+ export declare class CreateCustomDBEngineVersionFault extends __BaseException {
2666
+ readonly name: "CreateCustomDBEngineVersionFault";
2667
+ readonly $fault: "client";
2668
+ /**
2669
+ * @internal
2670
+ */
2671
+ constructor(opts: __ExceptionOptionType<CreateCustomDBEngineVersionFault, __BaseException>);
2672
+ }
2650
2673
  /**
2651
2674
  * @public
2652
2675
  */
@@ -3178,11 +3201,8 @@ export interface CreateDBClusterMessage {
3178
3201
  * <ul>
3179
3202
  * <li>
3180
3203
  * <p>
3181
- * <code>aurora</code> (for MySQL 5.6-compatible Aurora)</p>
3182
- * </li>
3183
- * <li>
3184
- * <p>
3185
- * <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
3204
+ * <code>aurora-mysql</code>
3205
+ * </p>
3186
3206
  * </li>
3187
3207
  * <li>
3188
3208
  * <p>
@@ -3205,14 +3225,13 @@ export interface CreateDBClusterMessage {
3205
3225
  Engine: string | undefined;
3206
3226
  /**
3207
3227
  * <p>The version number of the database engine to use.</p>
3208
- * <p>To list all of the available engine versions for MySQL 5.6-compatible Aurora, use the following command:</p>
3209
- * <p>
3210
- * <code>aws rds describe-db-engine-versions --engine aurora --query "DBEngineVersions[].EngineVersion"</code>
3211
- * </p>
3212
- * <p>To list all of the available engine versions for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora, use the following command:</p>
3228
+ * <p>To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible),
3229
+ * use the following command:</p>
3213
3230
  * <p>
3214
3231
  * <code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code>
3215
3232
  * </p>
3233
+ * <p>You can supply either <code>5.7</code> or <code>8.0</code> to use the default engine version for Aurora MySQL version 2 or
3234
+ * version 3, respectively.</p>
3216
3235
  * <p>To list all of the available engine versions for Aurora PostgreSQL, use the following command:</p>
3217
3236
  * <p>
3218
3237
  * <code>aws rds describe-db-engine-versions --engine aurora-postgresql --query "DBEngineVersions[].EngineVersion"</code>
@@ -3228,7 +3247,7 @@ export interface CreateDBClusterMessage {
3228
3247
  * <p>
3229
3248
  * <b>Aurora MySQL</b>
3230
3249
  * </p>
3231
- * <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html">MySQL on Amazon RDS Versions</a> in the
3250
+ * <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html">Database engine updates for Amazon Aurora MySQL</a> in the
3232
3251
  * <i>Amazon Aurora User Guide</i>.</p>
3233
3252
  * <p>
3234
3253
  * <b>Aurora PostgreSQL</b>
@@ -3238,13 +3257,11 @@ export interface CreateDBClusterMessage {
3238
3257
  * <p>
3239
3258
  * <b>MySQL</b>
3240
3259
  * </p>
3241
- * <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL on Amazon RDS Versions</a> in the
3242
- * <i>Amazon RDS User Guide</i>.</p>
3260
+ * <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">Amazon RDS for MySQL</a> in the <i>Amazon RDS User Guide</i>.</p>
3243
3261
  * <p>
3244
3262
  * <b>PostgreSQL</b>
3245
3263
  * </p>
3246
- * <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon RDS for PostgreSQL versions and extensions</a> in the
3247
- * <i>Amazon RDS User Guide</i>.</p>
3264
+ * <p>For information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon RDS for PostgreSQL</a> in the <i>Amazon RDS User Guide</i>.</p>
3248
3265
  * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
3249
3266
  */
3250
3267
  EngineVersion?: string;
@@ -3480,16 +3497,8 @@ export interface CreateDBClusterMessage {
3480
3497
  */
3481
3498
  EnableCloudwatchLogsExports?: string[];
3482
3499
  /**
3483
- * <p>The DB engine mode of the DB cluster, either <code>provisioned</code>, <code>serverless</code>,
3484
- * <code>parallelquery</code>, <code>global</code>, or <code>multimaster</code>.</p>
3485
- * <p>The <code>parallelquery</code> engine mode isn't required for Aurora MySQL version 1.23 and higher 1.x versions,
3486
- * and version 2.09 and higher 2.x versions.</p>
3487
- * <p>The <code>global</code> engine mode isn't required for Aurora MySQL version 1.22 and higher 1.x versions,
3488
- * and <code>global</code> engine mode isn't required for any 2.x versions.</p>
3489
- * <p>The <code>multimaster</code> engine mode only applies for DB clusters created with Aurora MySQL version 5.6.10a.</p>
3500
+ * <p>The DB engine mode of the DB cluster, either <code>provisioned</code> or <code>serverless</code>.</p>
3490
3501
  * <p>The <code>serverless</code> engine mode only applies for Aurora Serverless v1 DB clusters.</p>
3491
- * <p>For Aurora PostgreSQL, the <code>global</code> engine mode isn't required, and both the <code>parallelquery</code>
3492
- * and the <code>multimaster</code> engine modes currently aren't supported.</p>
3493
3502
  * <p>Limitations and requirements apply to some DB engine modes. For more information, see the
3494
3503
  * following sections in the <i>Amazon Aurora User Guide</i>:</p>
3495
3504
  * <ul>
@@ -3507,19 +3516,13 @@ export interface CreateDBClusterMessage {
3507
3516
  * </li>
3508
3517
  * <li>
3509
3518
  * <p>
3510
- * <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>
3519
+ * <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>
3511
3520
  * </p>
3512
3521
  * </li>
3513
3522
  * <li>
3514
3523
  * <p>
3515
3524
  * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations">Limitations of
3516
- * Aurora Global Databases</a>
3517
- * </p>
3518
- * </li>
3519
- * <li>
3520
- * <p>
3521
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations">Limitations of
3522
- * Multi-Master Clusters</a>
3525
+ * Aurora global databases</a>
3523
3526
  * </p>
3524
3527
  * </li>
3525
3528
  * </ul>
@@ -3613,9 +3616,8 @@ export interface CreateDBClusterMessage {
3613
3616
  /**
3614
3617
  * <p>The amount of Provisioned IOPS (input/output operations per second) to be initially allocated
3615
3618
  * for each DB instance in the Multi-AZ DB cluster.</p>
3616
- * <p>For information about valid IOPS values, see
3617
- * <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Amazon RDS Provisioned IOPS storage</a>
3618
- * in the <i>Amazon RDS User Guide</i>.</p>
3619
+ * <p>For information about valid IOPS values, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS">Provisioned IOPS storage</a> in the <i>Amazon RDS
3620
+ * User Guide</i>.</p>
3619
3621
  * <p>This setting is required to create a Multi-AZ DB cluster.</p>
3620
3622
  * <p>Constraints: Must be a multiple between .5 and 50 of the storage amount for the DB cluster.</p>
3621
3623
  * <p>Valid for: Multi-AZ DB clusters only</p>
@@ -8745,8 +8747,7 @@ export interface GlobalCluster {
8745
8747
  */
8746
8748
  DeletionProtection?: boolean;
8747
8749
  /**
8748
- * <p>The list of cluster IDs for secondary clusters within the global database cluster. Currently limited to
8749
- * 1 item.</p>
8750
+ * <p>The list of primary and secondary clusters within the global database cluster.</p>
8750
8751
  */
8751
8752
  GlobalClusterMembers?: GlobalClusterMember[];
8752
8753
  /**
@@ -10615,10 +10616,6 @@ export interface DescribeDBEngineVersionsMessage {
10615
10616
  * <ul>
10616
10617
  * <li>
10617
10618
  * <p>
10618
- * <code>aurora</code> (for MySQL 5.6-compatible Aurora)</p>
10619
- * </li>
10620
- * <li>
10621
- * <p>
10622
10619
  * <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
10623
10620
  * </li>
10624
10621
  * <li>
@@ -11118,20 +11115,3 @@ export interface DescribeDBParameterGroupsMessage {
11118
11115
  */
11119
11116
  Marker?: string;
11120
11117
  }
11121
- /**
11122
- * @public
11123
- * <p>Contains the result of a successful invocation of the <code>DescribeDBParameters</code> action.</p>
11124
- */
11125
- export interface DBParameterGroupDetails {
11126
- /**
11127
- * <p>A list of <code>Parameter</code> values.</p>
11128
- */
11129
- Parameters?: Parameter[];
11130
- /**
11131
- * <p>An optional pagination token provided by a previous request.
11132
- * If this parameter is specified, the response includes
11133
- * only records beyond the marker,
11134
- * up to the value specified by <code>MaxRecords</code>.</p>
11135
- */
11136
- Marker?: string;
11137
- }
@@ -1,6 +1,23 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ActivityStreamMode, ActivityStreamPolicyStatus, ActivityStreamStatus, AutomationMode, AvailabilityZone, BlueGreenDeployment, Certificate, DBCluster, DBClusterSnapshotAttributesResult, DBInstance, DBInstanceAutomatedBackup, DBProxy, DBProxyEndpoint, DBSecurityGroup, DBSnapshot, DBSubnetGroup, EventSubscription, ExportSourceType, ExportTask, Filter, GlobalCluster, OptionGroup, OptionSetting, Parameter, ProcessorFeature, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, ServerlessV2ScalingConfiguration, Tag, UserAuthConfig } from "./models_0";
3
3
  import { RDSServiceException as __BaseException } from "./RDSServiceException";
4
+ /**
5
+ * @public
6
+ * <p>Contains the result of a successful invocation of the <code>DescribeDBParameters</code> action.</p>
7
+ */
8
+ export interface DBParameterGroupDetails {
9
+ /**
10
+ * <p>A list of <code>Parameter</code> values.</p>
11
+ */
12
+ Parameters?: Parameter[];
13
+ /**
14
+ * <p>An optional pagination token provided by a previous request.
15
+ * If this parameter is specified, the response includes
16
+ * only records beyond the marker,
17
+ * up to the value specified by <code>MaxRecords</code>.</p>
18
+ */
19
+ Marker?: string;
20
+ }
4
21
  /**
5
22
  * @public
6
23
  */
@@ -1837,10 +1854,6 @@ export interface DescribeOrderableDBInstanceOptionsMessage {
1837
1854
  * <ul>
1838
1855
  * <li>
1839
1856
  * <p>
1840
- * <code>aurora</code> (for MySQL 5.6-compatible Aurora)</p>
1841
- * </li>
1842
- * <li>
1843
- * <p>
1844
1857
  * <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
1845
1858
  * </li>
1846
1859
  * <li>
@@ -3351,11 +3364,8 @@ export interface ModifyDBClusterMessage {
3351
3364
  * <p>The version number of the database engine to which you want to upgrade.
3352
3365
  * Changing this parameter results in an outage. The change is applied during
3353
3366
  * the next maintenance window unless <code>ApplyImmediately</code> is enabled.</p>
3354
- * <p>To list all of the available engine versions for MySQL 5.6-compatible Aurora, use the following command:</p>
3355
- * <p>
3356
- * <code>aws rds describe-db-engine-versions --engine aurora --query "DBEngineVersions[].EngineVersion"</code>
3357
- * </p>
3358
- * <p>To list all of the available engine versions for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora, use the following command:</p>
3367
+ * <p>To list all of the available engine versions for Aurora MySQL version 2 (5.7-compatible) and version 3 (MySQL 8.0-compatible),
3368
+ * use the following command:</p>
3359
3369
  * <p>
3360
3370
  * <code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code>
3361
3371
  * </p>
@@ -5759,25 +5769,20 @@ export interface RestoreDBClusterFromS3Message {
5759
5769
  DBSubnetGroupName?: string;
5760
5770
  /**
5761
5771
  * <p>The name of the database engine to be used for this DB cluster.</p>
5762
- * <p>Valid Values: <code>aurora</code> (for MySQL 5.6-compatible Aurora) and <code>aurora-mysql</code>
5763
- * (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
5772
+ * <p>Valid Values: <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora)</p>
5764
5773
  */
5765
5774
  Engine: string | undefined;
5766
5775
  /**
5767
5776
  * <p>The version number of the database engine to use.</p>
5768
- * <p>To list all of the available engine versions for <code>aurora</code> (for MySQL 5.6-compatible Aurora), use the following command:</p>
5769
- * <p>
5770
- * <code>aws rds describe-db-engine-versions --engine aurora --query "DBEngineVersions[].EngineVersion"</code>
5771
- * </p>
5772
- * <p>To list all of the available engine versions for <code>aurora-mysql</code> (for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora), use the following command:</p>
5777
+ * <p>To list all of the available engine versions for <code>aurora-mysql</code> (MySQL 5.7-compatible and MySQL 8.0-compatible
5778
+ * Aurora), use the following command:</p>
5773
5779
  * <p>
5774
5780
  * <code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code>
5775
5781
  * </p>
5776
5782
  * <p>
5777
5783
  * <b>Aurora MySQL</b>
5778
5784
  * </p>
5779
- * <p>Example: <code>5.6.10a</code>, <code>5.6.mysql_aurora.1.19.2</code>, <code>5.7.mysql_aurora.2.07.1</code>,
5780
- * <code>8.0.mysql_aurora.3.02.0</code>
5785
+ * <p>Examples: <code>5.7.mysql_aurora.2.07.1</code>, <code>8.0.mysql_aurora.3.02.0</code>
5781
5786
  * </p>
5782
5787
  */
5783
5788
  EngineVersion?: string;
@@ -5942,10 +5947,6 @@ export interface RestoreDBClusterFromS3Message {
5942
5947
  * <b>Aurora MySQL</b>
5943
5948
  * </p>
5944
5949
  * <p>Possible values are <code>audit</code>, <code>error</code>, <code>general</code>, and <code>slowquery</code>.</p>
5945
- * <p>
5946
- * <b>Aurora PostgreSQL</b>
5947
- * </p>
5948
- * <p>Possible value is <code>postgresql</code>.</p>
5949
5950
  * <p>For more information about exporting CloudWatch Logs for Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch">Publishing Database Logs to Amazon CloudWatch Logs</a> in the <i>Amazon Aurora User Guide</i>.</p>
5950
5951
  */
5951
5952
  EnableCloudwatchLogsExports?: string[];
@@ -6134,11 +6135,8 @@ export interface RestoreDBClusterFromSnapshotMessage {
6134
6135
  */
6135
6136
  Engine: string | undefined;
6136
6137
  /**
6137
- * <p>The version of the database engine to use for the new DB cluster.</p>
6138
- * <p>To list all of the available engine versions for MySQL 5.6-compatible Aurora, use the following command:</p>
6139
- * <p>
6140
- * <code>aws rds describe-db-engine-versions --engine aurora --query "DBEngineVersions[].EngineVersion"</code>
6141
- * </p>
6138
+ * <p>The version of the database engine to use for the new DB cluster. If you don't specify an engine version, the default version
6139
+ * for the database engine in the Amazon Web Services Region is used.</p>
6142
6140
  * <p>To list all of the available engine versions for MySQL 5.7-compatible and MySQL 8.0-compatible Aurora, use the following command:</p>
6143
6141
  * <p>
6144
6142
  * <code>aws rds describe-db-engine-versions --engine aurora-mysql --query "DBEngineVersions[].EngineVersion"</code>
@@ -6158,24 +6156,24 @@ export interface RestoreDBClusterFromSnapshotMessage {
6158
6156
  * <p>
6159
6157
  * <b>Aurora MySQL</b>
6160
6158
  * </p>
6161
- * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html">MySQL on Amazon RDS Versions</a> in the
6162
- * <i>Amazon Aurora User Guide</i>.</p>
6159
+ * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html">Database
6160
+ * engine updates for Amazon Aurora MySQL</a> in the <i>Amazon Aurora User Guide</i>.</p>
6163
6161
  * <p>
6164
6162
  * <b>Aurora PostgreSQL</b>
6165
6163
  * </p>
6166
- * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html">Amazon Aurora PostgreSQL releases and engine versions</a> in the
6167
- * <i>Amazon Aurora User Guide</i>.</p>
6164
+ * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.20180305.html">Amazon
6165
+ * Aurora PostgreSQL releases and engine versions</a> in the <i>Amazon Aurora User Guide</i>.</p>
6168
6166
  * <p>
6169
6167
  * <b>MySQL</b>
6170
6168
  * </p>
6171
- * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">MySQL on Amazon RDS Versions</a> in the
6172
- * <i>Amazon RDS User Guide.</i>
6169
+ * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt">Amazon
6170
+ * RDS for MySQL</a> in the <i>Amazon RDS User Guide.</i>
6173
6171
  * </p>
6174
6172
  * <p>
6175
6173
  * <b>PostgreSQL</b>
6176
6174
  * </p>
6177
- * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon RDS for PostgreSQL versions and extensions</a> in the
6178
- * <i>Amazon RDS User Guide.</i>
6175
+ * <p>See <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts">Amazon
6176
+ * RDS for PostgreSQL versions and extensions</a> in the <i>Amazon RDS User Guide.</i>
6179
6177
  * </p>
6180
6178
  * <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
6181
6179
  */
@@ -8482,6 +8480,40 @@ export interface StartExportTaskMessage {
8482
8480
  /**
8483
8481
  * <p>The name of the IAM role to use for writing to the Amazon S3 bucket
8484
8482
  * when exporting a snapshot or cluster.</p>
8483
+ * <p>In the IAM policy attached to your IAM role, include the following required actions to allow the transfer of files from Amazon
8484
+ * RDS or Amazon Aurora to an S3 bucket:</p>
8485
+ * <ul>
8486
+ * <li>
8487
+ * <p>s3:PutObject*</p>
8488
+ * </li>
8489
+ * <li>
8490
+ * <p>s3:GetObject*</p>
8491
+ * </li>
8492
+ * <li>
8493
+ * <p>s3:ListBucket</p>
8494
+ * </li>
8495
+ * <li>
8496
+ * <p>s3:DeleteObject*</p>
8497
+ * </li>
8498
+ * <li>
8499
+ * <p>s3:GetBucketLocation </p>
8500
+ * </li>
8501
+ * </ul>
8502
+ * <p>In the policy, include the resources to identify the S3 bucket and objects in the bucket. The following list of resources shows
8503
+ * the Amazon Resource Name (ARN) format for accessing S3:</p>
8504
+ * <ul>
8505
+ * <li>
8506
+ * <p>
8507
+ * <code>arn:aws:s3:::<i>your-s3-bucket</i>
8508
+ * </code>
8509
+ * </p>
8510
+ * </li>
8511
+ * <li>
8512
+ * <p>
8513
+ * <code>arn:aws:s3:::<i>your-s3-bucket</i>/*</code>
8514
+ * </p>
8515
+ * </li>
8516
+ * </ul>
8485
8517
  */
8486
8518
  IamRoleArn: string | undefined;
8487
8519
  /**
@@ -6,8 +6,10 @@ import {
6
6
  MetadataBearer as __MetadataBearer,
7
7
  MiddlewareStack,
8
8
  } from "@aws-sdk/types";
9
- import { DBParameterGroupDetails } from "../models/models_0";
10
- import { DescribeDBParametersMessage } from "../models/models_1";
9
+ import {
10
+ DBParameterGroupDetails,
11
+ DescribeDBParametersMessage,
12
+ } from "../models/models_1";
11
13
  import {
12
14
  RDSClientResolvedConfig,
13
15
  ServiceInputTypes,
@@ -691,6 +691,16 @@ export declare class SourceDatabaseNotSupportedFault extends __BaseException {
691
691
  >
692
692
  );
693
693
  }
694
+ export declare class CreateCustomDBEngineVersionFault extends __BaseException {
695
+ readonly name: "CreateCustomDBEngineVersionFault";
696
+ readonly $fault: "client";
697
+ constructor(
698
+ opts: __ExceptionOptionType<
699
+ CreateCustomDBEngineVersionFault,
700
+ __BaseException
701
+ >
702
+ );
703
+ }
694
704
  export interface CreateCustomDBEngineVersionMessage {
695
705
  Engine: string | undefined;
696
706
  EngineVersion: string | undefined;
@@ -2316,7 +2326,3 @@ export interface DescribeDBParameterGroupsMessage {
2316
2326
  MaxRecords?: number;
2317
2327
  Marker?: string;
2318
2328
  }
2319
- export interface DBParameterGroupDetails {
2320
- Parameters?: Parameter[];
2321
- Marker?: string;
2322
- }
@@ -33,6 +33,10 @@ import {
33
33
  UserAuthConfig,
34
34
  } from "./models_0";
35
35
  import { RDSServiceException as __BaseException } from "./RDSServiceException";
36
+ export interface DBParameterGroupDetails {
37
+ Parameters?: Parameter[];
38
+ Marker?: string;
39
+ }
36
40
  export interface DescribeDBParametersMessage {
37
41
  DBParameterGroupName: string | undefined;
38
42
  Source?: string;
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.298.0",
4
+ "version": "3.299.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,23 +21,23 @@
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.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.299.0",
25
+ "@aws-sdk/config-resolver": "3.299.0",
26
+ "@aws-sdk/credential-provider-node": "3.299.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
35
  "@aws-sdk/middleware-retry": "3.296.0",
36
- "@aws-sdk/middleware-sdk-rds": "3.296.0",
36
+ "@aws-sdk/middleware-sdk-rds": "3.299.0",
37
37
  "@aws-sdk/middleware-serde": "3.296.0",
38
- "@aws-sdk/middleware-signing": "3.296.0",
38
+ "@aws-sdk/middleware-signing": "3.299.0",
39
39
  "@aws-sdk/middleware-stack": "3.296.0",
40
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
+ "@aws-sdk/middleware-user-agent": "3.299.0",
41
41
  "@aws-sdk/node-config-provider": "3.296.0",
42
42
  "@aws-sdk/node-http-handler": "3.296.0",
43
43
  "@aws-sdk/protocol-http": "3.296.0",
@@ -48,11 +48,11 @@
48
48
  "@aws-sdk/util-body-length-browser": "3.295.0",
49
49
  "@aws-sdk/util-body-length-node": "3.295.0",
50
50
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
51
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
51
+ "@aws-sdk/util-defaults-mode-node": "3.299.0",
52
52
  "@aws-sdk/util-endpoints": "3.296.0",
53
53
  "@aws-sdk/util-retry": "3.296.0",
54
- "@aws-sdk/util-user-agent-browser": "3.296.0",
55
- "@aws-sdk/util-user-agent-node": "3.296.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
55
+ "@aws-sdk/util-user-agent-node": "3.299.0",
56
56
  "@aws-sdk/util-utf8": "3.295.0",
57
57
  "@aws-sdk/util-waiter": "3.296.0",
58
58
  "fast-xml-parser": "4.1.2",