@aws-sdk/client-rds 3.298.0 → 3.300.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.
- package/dist-cjs/models/models_0.js +16 -3
- package/dist-cjs/protocols/Aws_query.js +19 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_query.js +20 -1
- package/dist-types/RDS.d.ts +7 -4
- package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +5 -0
- package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +5 -0
- package/dist-types/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +4 -0
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +9 -0
- package/dist-types/commands/ApplyPendingMaintenanceActionCommand.d.ts +5 -0
- package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +7 -0
- package/dist-types/commands/BacktrackDBClusterCommand.d.ts +6 -0
- package/dist-types/commands/CancelExportTaskCommand.d.ts +3 -0
- package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +11 -0
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +13 -0
- package/dist-types/commands/CopyDBParameterGroupCommand.d.ts +11 -0
- package/dist-types/commands/CopyDBSnapshotCommand.d.ts +16 -0
- package/dist-types/commands/CopyOptionGroupCommand.d.ts +11 -0
- package/dist-types/commands/CreateBlueGreenDeploymentCommand.d.ts +13 -0
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +19 -0
- package/dist-types/commands/CreateDBClusterCommand.d.ts +76 -0
- package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +17 -0
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +11 -0
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +10 -0
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +73 -0
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +53 -0
- package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +11 -0
- package/dist-types/commands/CreateDBProxyCommand.d.ts +30 -0
- package/dist-types/commands/CreateDBProxyEndpointCommand.d.ts +17 -0
- package/dist-types/commands/CreateDBSecurityGroupCommand.d.ts +10 -0
- package/dist-types/commands/CreateDBSnapshotCommand.d.ts +10 -0
- package/dist-types/commands/CreateDBSubnetGroupCommand.d.ts +13 -0
- package/dist-types/commands/CreateEventSubscriptionCommand.d.ts +18 -0
- package/dist-types/commands/CreateGlobalClusterCommand.d.ts +9 -0
- package/dist-types/commands/CreateOptionGroupCommand.d.ts +12 -0
- package/dist-types/commands/DeleteBlueGreenDeploymentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +5 -0
- package/dist-types/commands/DeleteDBClusterEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDBParameterGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBProxyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBProxyEndpointCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBSecurityGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDBSubnetGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEventSubscriptionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteGlobalClusterCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOptionGroupCommand.d.ts +3 -0
- package/dist-types/commands/DeregisterDBProxyTargetsCommand.d.ts +10 -0
- package/dist-types/commands/DescribeAccountAttributesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeBlueGreenDeploymentsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeCertificatesCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +17 -0
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +19 -0
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDBParametersCommand.d.ts +15 -2
- package/dist-types/commands/DescribeDBProxiesCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDBProxyEndpointsCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDBProxyTargetGroupsCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +14 -0
- package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +18 -0
- package/dist-types/commands/DescribeDBSubnetGroupsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +11 -0
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeEventsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeExportTasksCommand.d.ts +15 -0
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +13 -0
- package/dist-types/commands/DescribeOptionGroupOptionsCommand.d.ts +14 -0
- package/dist-types/commands/DescribeOptionGroupsCommand.d.ts +15 -0
- package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +18 -0
- package/dist-types/commands/DescribePendingMaintenanceActionsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeReservedDBInstancesCommand.d.ts +20 -0
- package/dist-types/commands/DescribeReservedDBInstancesOfferingsCommand.d.ts +18 -0
- package/dist-types/commands/DescribeSourceRegionsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +3 -0
- package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +6 -0
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +4 -0
- package/dist-types/commands/FailoverGlobalClusterCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/ModifyActivityStreamCommand.d.ts +4 -0
- package/dist-types/commands/ModifyCertificatesCommand.d.ts +4 -0
- package/dist-types/commands/ModifyCurrentDBClusterCapacityCommand.d.ts +6 -0
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +6 -0
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +60 -0
- package/dist-types/commands/ModifyDBClusterEndpointCommand.d.ts +10 -0
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +20 -0
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +10 -0
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +70 -0
- package/dist-types/commands/ModifyDBParameterGroupCommand.d.ts +20 -0
- package/dist-types/commands/ModifyDBProxyCommand.d.ts +21 -0
- package/dist-types/commands/ModifyDBProxyEndpointCommand.d.ts +7 -0
- package/dist-types/commands/ModifyDBProxyTargetGroupCommand.d.ts +14 -0
- package/dist-types/commands/ModifyDBSnapshotAttributeCommand.d.ts +10 -0
- package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +5 -0
- package/dist-types/commands/ModifyDBSubnetGroupCommand.d.ts +7 -0
- package/dist-types/commands/ModifyEventSubscriptionCommand.d.ts +9 -0
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +7 -0
- package/dist-types/commands/ModifyOptionGroupCommand.d.ts +33 -0
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +5 -0
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/PurchaseReservedDBInstancesOfferingCommand.d.ts +11 -0
- package/dist-types/commands/RebootDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +4 -0
- package/dist-types/commands/RegisterDBProxyTargetsCommand.d.ts +10 -0
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +4 -0
- package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +5 -0
- package/dist-types/commands/RemoveRoleFromDBInstanceCommand.d.ts +5 -0
- package/dist-types/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +4 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -0
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +21 -0
- package/dist-types/commands/ResetDBParameterGroupCommand.d.ts +21 -0
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +52 -2
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +51 -0
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +48 -0
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +51 -0
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +66 -0
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +55 -0
- package/dist-types/commands/RevokeDBSecurityGroupIngressCommand.d.ts +7 -0
- package/dist-types/commands/StartActivityStreamCommand.d.ts +7 -0
- package/dist-types/commands/StartDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +6 -0
- package/dist-types/commands/StartDBInstanceCommand.d.ts +3 -0
- package/dist-types/commands/StartExportTaskCommand.d.ts +13 -2
- package/dist-types/commands/StopActivityStreamCommand.d.ts +4 -0
- package/dist-types/commands/StopDBClusterCommand.d.ts +3 -0
- package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +3 -0
- package/dist-types/commands/StopDBInstanceCommand.d.ts +4 -0
- package/dist-types/commands/SwitchoverBlueGreenDeploymentCommand.d.ts +4 -0
- package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +48 -68
- package/dist-types/models/models_1.d.ts +67 -35
- package/dist-types/ts3.4/commands/DescribeDBParametersCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +10 -4
- package/dist-types/ts3.4/models/models_1.d.ts +4 -0
- package/package.json +13 -13
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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) {
|
package/dist-types/RDS.d.ts
CHANGED
|
@@ -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/
|
|
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/
|
|
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>;
|
|
@@ -26,6 +26,11 @@ export interface AddRoleToDBClusterCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { RDSClient, AddRoleToDBClusterCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
27
27
|
* // const { RDSClient, AddRoleToDBClusterCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
28
28
|
* const client = new RDSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* DBClusterIdentifier: "STRING_VALUE", // required
|
|
31
|
+
* RoleArn: "STRING_VALUE", // required
|
|
32
|
+
* FeatureName: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new AddRoleToDBClusterCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface AddRoleToDBInstanceCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { RDSClient, AddRoleToDBInstanceCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
31
31
|
* // const { RDSClient, AddRoleToDBInstanceCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
32
32
|
* const client = new RDSClient(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* DBInstanceIdentifier: "STRING_VALUE", // required
|
|
35
|
+
* RoleArn: "STRING_VALUE", // required
|
|
36
|
+
* FeatureName: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
33
38
|
* const command = new AddRoleToDBInstanceCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface AddSourceIdentifierToSubscriptionCommandOutput extends AddSourc
|
|
|
26
26
|
* import { RDSClient, AddSourceIdentifierToSubscriptionCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
27
27
|
* // const { RDSClient, AddSourceIdentifierToSubscriptionCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
28
28
|
* const client = new RDSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* SubscriptionName: "STRING_VALUE", // required
|
|
31
|
+
* SourceIdentifier: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new AddSourceIdentifierToSubscriptionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -28,6 +28,15 @@ export interface AddTagsToResourceCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { RDSClient, AddTagsToResourceCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
29
29
|
* // const { RDSClient, AddTagsToResourceCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
30
30
|
* const client = new RDSClient(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* ResourceName: "STRING_VALUE", // required
|
|
33
|
+
* Tags: [ // required
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE",
|
|
36
|
+
* Value: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
31
40
|
* const command = new AddTagsToResourceCommand(input);
|
|
32
41
|
* const response = await client.send(command);
|
|
33
42
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ApplyPendingMaintenanceActionCommandOutput extends ApplyPending
|
|
|
26
26
|
* import { RDSClient, ApplyPendingMaintenanceActionCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
27
27
|
* // const { RDSClient, ApplyPendingMaintenanceActionCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
28
28
|
* const client = new RDSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ResourceIdentifier: "STRING_VALUE", // required
|
|
31
|
+
* ApplyAction: "STRING_VALUE", // required
|
|
32
|
+
* OptInType: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ApplyPendingMaintenanceActionCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -41,6 +41,13 @@ export interface AuthorizeDBSecurityGroupIngressCommandOutput extends AuthorizeD
|
|
|
41
41
|
* import { RDSClient, AuthorizeDBSecurityGroupIngressCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
42
42
|
* // const { RDSClient, AuthorizeDBSecurityGroupIngressCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
43
43
|
* const client = new RDSClient(config);
|
|
44
|
+
* const input = {
|
|
45
|
+
* DBSecurityGroupName: "STRING_VALUE", // required
|
|
46
|
+
* CIDRIP: "STRING_VALUE",
|
|
47
|
+
* EC2SecurityGroupName: "STRING_VALUE",
|
|
48
|
+
* EC2SecurityGroupId: "STRING_VALUE",
|
|
49
|
+
* EC2SecurityGroupOwnerId: "STRING_VALUE",
|
|
50
|
+
* };
|
|
44
51
|
* const command = new AuthorizeDBSecurityGroupIngressCommand(input);
|
|
45
52
|
* const response = await client.send(command);
|
|
46
53
|
* ```
|
|
@@ -33,6 +33,12 @@ export interface BacktrackDBClusterCommandOutput extends DBClusterBacktrack, __M
|
|
|
33
33
|
* import { RDSClient, BacktrackDBClusterCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
34
34
|
* // const { RDSClient, BacktrackDBClusterCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
35
35
|
* const client = new RDSClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* DBClusterIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* BacktrackTo: new Date("TIMESTAMP"), // required
|
|
39
|
+
* Force: true || false,
|
|
40
|
+
* UseEarliestTimeOnPointInTimeUnavailable: true || false,
|
|
41
|
+
* };
|
|
36
42
|
* const command = new BacktrackDBClusterCommand(input);
|
|
37
43
|
* const response = await client.send(command);
|
|
38
44
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface CancelExportTaskCommandOutput extends ExportTask, __MetadataBea
|
|
|
27
27
|
* import { RDSClient, CancelExportTaskCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
28
28
|
* // const { RDSClient, CancelExportTaskCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
29
29
|
* const client = new RDSClient(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* ExportTaskIdentifier: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new CancelExportTaskCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface CopyDBClusterParameterGroupCommandOutput extends CopyDBClusterP
|
|
|
26
26
|
* import { RDSClient, CopyDBClusterParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
27
27
|
* // const { RDSClient, CopyDBClusterParameterGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
28
28
|
* const client = new RDSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* SourceDBClusterParameterGroupIdentifier: "STRING_VALUE", // required
|
|
31
|
+
* TargetDBClusterParameterGroupIdentifier: "STRING_VALUE", // required
|
|
32
|
+
* TargetDBClusterParameterGroupDescription: "STRING_VALUE", // required
|
|
33
|
+
* Tags: [
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE",
|
|
36
|
+
* Value: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
29
40
|
* const command = new CopyDBClusterParameterGroupCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -62,6 +62,19 @@ export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapsho
|
|
|
62
62
|
* import { RDSClient, CopyDBClusterSnapshotCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
63
63
|
* // const { RDSClient, CopyDBClusterSnapshotCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
64
64
|
* const client = new RDSClient(config);
|
|
65
|
+
* const input = {
|
|
66
|
+
* SourceDBClusterSnapshotIdentifier: "STRING_VALUE", // required
|
|
67
|
+
* TargetDBClusterSnapshotIdentifier: "STRING_VALUE", // required
|
|
68
|
+
* KmsKeyId: "STRING_VALUE",
|
|
69
|
+
* PreSignedUrl: "STRING_VALUE",
|
|
70
|
+
* CopyTags: true || false,
|
|
71
|
+
* Tags: [
|
|
72
|
+
* {
|
|
73
|
+
* Key: "STRING_VALUE",
|
|
74
|
+
* Value: "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* };
|
|
65
78
|
* const command = new CopyDBClusterSnapshotCommand(input);
|
|
66
79
|
* const response = await client.send(command);
|
|
67
80
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface CopyDBParameterGroupCommandOutput extends CopyDBParameterGroupR
|
|
|
26
26
|
* import { RDSClient, CopyDBParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
27
27
|
* // const { RDSClient, CopyDBParameterGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
28
28
|
* const client = new RDSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* SourceDBParameterGroupIdentifier: "STRING_VALUE", // required
|
|
31
|
+
* TargetDBParameterGroupIdentifier: "STRING_VALUE", // required
|
|
32
|
+
* TargetDBParameterGroupDescription: "STRING_VALUE", // required
|
|
33
|
+
* Tags: [
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE",
|
|
36
|
+
* Value: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
29
40
|
* const command = new CopyDBParameterGroupCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -32,6 +32,22 @@ export interface CopyDBSnapshotCommandOutput extends CopyDBSnapshotResult, __Met
|
|
|
32
32
|
* import { RDSClient, CopyDBSnapshotCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
33
33
|
* // const { RDSClient, CopyDBSnapshotCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
34
34
|
* const client = new RDSClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* SourceDBSnapshotIdentifier: "STRING_VALUE", // required
|
|
37
|
+
* TargetDBSnapshotIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* KmsKeyId: "STRING_VALUE",
|
|
39
|
+
* Tags: [
|
|
40
|
+
* {
|
|
41
|
+
* Key: "STRING_VALUE",
|
|
42
|
+
* Value: "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* CopyTags: true || false,
|
|
46
|
+
* PreSignedUrl: "STRING_VALUE",
|
|
47
|
+
* OptionGroupName: "STRING_VALUE",
|
|
48
|
+
* TargetCustomAvailabilityZone: "STRING_VALUE",
|
|
49
|
+
* CopyOptionGroup: true || false,
|
|
50
|
+
* };
|
|
35
51
|
* const command = new CopyDBSnapshotCommand(input);
|
|
36
52
|
* const response = await client.send(command);
|
|
37
53
|
* ```
|
|
@@ -26,6 +26,17 @@ export interface CopyOptionGroupCommandOutput extends CopyOptionGroupResult, __M
|
|
|
26
26
|
* import { RDSClient, CopyOptionGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
27
27
|
* // const { RDSClient, CopyOptionGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
28
28
|
* const client = new RDSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* SourceOptionGroupIdentifier: "STRING_VALUE", // required
|
|
31
|
+
* TargetOptionGroupIdentifier: "STRING_VALUE", // required
|
|
32
|
+
* TargetOptionGroupDescription: "STRING_VALUE", // required
|
|
33
|
+
* Tags: [
|
|
34
|
+
* {
|
|
35
|
+
* Key: "STRING_VALUE",
|
|
36
|
+
* Value: "STRING_VALUE",
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
29
40
|
* const command = new CopyOptionGroupCommand(input);
|
|
30
41
|
* const response = await client.send(command);
|
|
31
42
|
* ```
|
|
@@ -40,6 +40,19 @@ export interface CreateBlueGreenDeploymentCommandOutput extends CreateBlueGreenD
|
|
|
40
40
|
* import { RDSClient, CreateBlueGreenDeploymentCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
41
41
|
* // const { RDSClient, CreateBlueGreenDeploymentCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
42
42
|
* const client = new RDSClient(config);
|
|
43
|
+
* const input = {
|
|
44
|
+
* BlueGreenDeploymentName: "STRING_VALUE", // required
|
|
45
|
+
* Source: "STRING_VALUE", // required
|
|
46
|
+
* TargetEngineVersion: "STRING_VALUE",
|
|
47
|
+
* TargetDBParameterGroupName: "STRING_VALUE",
|
|
48
|
+
* TargetDBClusterParameterGroupName: "STRING_VALUE",
|
|
49
|
+
* Tags: [
|
|
50
|
+
* {
|
|
51
|
+
* Key: "STRING_VALUE",
|
|
52
|
+
* Value: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* };
|
|
43
56
|
* const command = new CreateBlueGreenDeploymentCommand(input);
|
|
44
57
|
* const response = await client.send(command);
|
|
45
58
|
* ```
|
|
@@ -26,6 +26,22 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
|
|
|
26
26
|
* import { RDSClient, CreateCustomDBEngineVersionCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
27
27
|
* // const { RDSClient, CreateCustomDBEngineVersionCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
28
28
|
* const client = new RDSClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* Engine: "STRING_VALUE", // required
|
|
31
|
+
* EngineVersion: "STRING_VALUE", // required
|
|
32
|
+
* DatabaseInstallationFilesS3BucketName: "STRING_VALUE",
|
|
33
|
+
* DatabaseInstallationFilesS3Prefix: "STRING_VALUE",
|
|
34
|
+
* ImageId: "STRING_VALUE",
|
|
35
|
+
* KMSKeyId: "STRING_VALUE",
|
|
36
|
+
* Description: "STRING_VALUE",
|
|
37
|
+
* Manifest: "STRING_VALUE",
|
|
38
|
+
* Tags: [
|
|
39
|
+
* {
|
|
40
|
+
* Key: "STRING_VALUE",
|
|
41
|
+
* Value: "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
29
45
|
* const command = new CreateCustomDBEngineVersionCommand(input);
|
|
30
46
|
* const response = await client.send(command);
|
|
31
47
|
* ```
|
|
@@ -36,6 +52,9 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
|
|
|
36
52
|
* @see {@link CreateCustomDBEngineVersionCommandOutput} for command's `response` shape.
|
|
37
53
|
* @see {@link RDSClientResolvedConfig | config} for RDSClient's `config` shape.
|
|
38
54
|
*
|
|
55
|
+
* @throws {@link CreateCustomDBEngineVersionFault} (client fault)
|
|
56
|
+
* <p>An error occurred while trying to create the CEV.</p>
|
|
57
|
+
*
|
|
39
58
|
* @throws {@link CustomDBEngineVersionAlreadyExistsFault} (client fault)
|
|
40
59
|
* <p>A CEV with the specified name already exists.</p>
|
|
41
60
|
*
|
|
@@ -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
|
|
@@ -34,6 +38,78 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
|
|
|
34
38
|
* import { RDSClient, CreateDBClusterCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
35
39
|
* // const { RDSClient, CreateDBClusterCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
36
40
|
* const client = new RDSClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* AvailabilityZones: [
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* BackupRetentionPeriod: Number("int"),
|
|
46
|
+
* CharacterSetName: "STRING_VALUE",
|
|
47
|
+
* DatabaseName: "STRING_VALUE",
|
|
48
|
+
* DBClusterIdentifier: "STRING_VALUE", // required
|
|
49
|
+
* DBClusterParameterGroupName: "STRING_VALUE",
|
|
50
|
+
* VpcSecurityGroupIds: [
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* DBSubnetGroupName: "STRING_VALUE",
|
|
54
|
+
* Engine: "STRING_VALUE", // required
|
|
55
|
+
* EngineVersion: "STRING_VALUE",
|
|
56
|
+
* Port: Number("int"),
|
|
57
|
+
* MasterUsername: "STRING_VALUE",
|
|
58
|
+
* MasterUserPassword: "STRING_VALUE",
|
|
59
|
+
* OptionGroupName: "STRING_VALUE",
|
|
60
|
+
* PreferredBackupWindow: "STRING_VALUE",
|
|
61
|
+
* PreferredMaintenanceWindow: "STRING_VALUE",
|
|
62
|
+
* ReplicationSourceIdentifier: "STRING_VALUE",
|
|
63
|
+
* Tags: [
|
|
64
|
+
* {
|
|
65
|
+
* Key: "STRING_VALUE",
|
|
66
|
+
* Value: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* StorageEncrypted: true || false,
|
|
70
|
+
* KmsKeyId: "STRING_VALUE",
|
|
71
|
+
* PreSignedUrl: "STRING_VALUE",
|
|
72
|
+
* EnableIAMDatabaseAuthentication: true || false,
|
|
73
|
+
* BacktrackWindow: Number("long"),
|
|
74
|
+
* EnableCloudwatchLogsExports: [
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* EngineMode: "STRING_VALUE",
|
|
78
|
+
* ScalingConfiguration: {
|
|
79
|
+
* MinCapacity: Number("int"),
|
|
80
|
+
* MaxCapacity: Number("int"),
|
|
81
|
+
* AutoPause: true || false,
|
|
82
|
+
* SecondsUntilAutoPause: Number("int"),
|
|
83
|
+
* TimeoutAction: "STRING_VALUE",
|
|
84
|
+
* SecondsBeforeTimeout: Number("int"),
|
|
85
|
+
* },
|
|
86
|
+
* DeletionProtection: true || false,
|
|
87
|
+
* GlobalClusterIdentifier: "STRING_VALUE",
|
|
88
|
+
* EnableHttpEndpoint: true || false,
|
|
89
|
+
* CopyTagsToSnapshot: true || false,
|
|
90
|
+
* Domain: "STRING_VALUE",
|
|
91
|
+
* DomainIAMRoleName: "STRING_VALUE",
|
|
92
|
+
* EnableGlobalWriteForwarding: true || false,
|
|
93
|
+
* DBClusterInstanceClass: "STRING_VALUE",
|
|
94
|
+
* AllocatedStorage: Number("int"),
|
|
95
|
+
* StorageType: "STRING_VALUE",
|
|
96
|
+
* Iops: Number("int"),
|
|
97
|
+
* PubliclyAccessible: true || false,
|
|
98
|
+
* AutoMinorVersionUpgrade: true || false,
|
|
99
|
+
* MonitoringInterval: Number("int"),
|
|
100
|
+
* MonitoringRoleArn: "STRING_VALUE",
|
|
101
|
+
* EnablePerformanceInsights: true || false,
|
|
102
|
+
* PerformanceInsightsKMSKeyId: "STRING_VALUE",
|
|
103
|
+
* PerformanceInsightsRetentionPeriod: Number("int"),
|
|
104
|
+
* ServerlessV2ScalingConfiguration: {
|
|
105
|
+
* MinCapacity: Number("double"),
|
|
106
|
+
* MaxCapacity: Number("double"),
|
|
107
|
+
* },
|
|
108
|
+
* NetworkType: "STRING_VALUE",
|
|
109
|
+
* DBSystemId: "STRING_VALUE",
|
|
110
|
+
* ManageMasterUserPassword: true || false,
|
|
111
|
+
* MasterUserSecretKmsKeyId: "STRING_VALUE",
|
|
112
|
+
* };
|
|
37
113
|
* const command = new CreateDBClusterCommand(input);
|
|
38
114
|
* const response = await client.send(command);
|
|
39
115
|
* ```
|
|
@@ -29,6 +29,23 @@ export interface CreateDBClusterEndpointCommandOutput extends DBClusterEndpoint,
|
|
|
29
29
|
* import { RDSClient, CreateDBClusterEndpointCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
30
30
|
* // const { RDSClient, CreateDBClusterEndpointCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
31
31
|
* const client = new RDSClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* DBClusterIdentifier: "STRING_VALUE", // required
|
|
34
|
+
* DBClusterEndpointIdentifier: "STRING_VALUE", // required
|
|
35
|
+
* EndpointType: "STRING_VALUE", // required
|
|
36
|
+
* StaticMembers: [
|
|
37
|
+
* "STRING_VALUE",
|
|
38
|
+
* ],
|
|
39
|
+
* ExcludedMembers: [
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* Tags: [
|
|
43
|
+
* {
|
|
44
|
+
* Key: "STRING_VALUE",
|
|
45
|
+
* Value: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
32
49
|
* const command = new CreateDBClusterEndpointCommand(input);
|
|
33
50
|
* const response = await client.send(command);
|
|
34
51
|
* ```
|
|
@@ -55,6 +55,17 @@ export interface CreateDBClusterParameterGroupCommandOutput extends CreateDBClus
|
|
|
55
55
|
* import { RDSClient, CreateDBClusterParameterGroupCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
56
56
|
* // const { RDSClient, CreateDBClusterParameterGroupCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
57
57
|
* const client = new RDSClient(config);
|
|
58
|
+
* const input = {
|
|
59
|
+
* DBClusterParameterGroupName: "STRING_VALUE", // required
|
|
60
|
+
* DBParameterGroupFamily: "STRING_VALUE", // required
|
|
61
|
+
* Description: "STRING_VALUE", // required
|
|
62
|
+
* Tags: [
|
|
63
|
+
* {
|
|
64
|
+
* Key: "STRING_VALUE",
|
|
65
|
+
* Value: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* ],
|
|
68
|
+
* };
|
|
58
69
|
* const command = new CreateDBClusterParameterGroupCommand(input);
|
|
59
70
|
* const response = await client.send(command);
|
|
60
71
|
* ```
|
|
@@ -31,6 +31,16 @@ export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSna
|
|
|
31
31
|
* import { RDSClient, CreateDBClusterSnapshotCommand } from "@aws-sdk/client-rds"; // ES Modules import
|
|
32
32
|
* // const { RDSClient, CreateDBClusterSnapshotCommand } = require("@aws-sdk/client-rds"); // CommonJS import
|
|
33
33
|
* const client = new RDSClient(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* DBClusterSnapshotIdentifier: "STRING_VALUE", // required
|
|
36
|
+
* DBClusterIdentifier: "STRING_VALUE", // required
|
|
37
|
+
* Tags: [
|
|
38
|
+
* {
|
|
39
|
+
* Key: "STRING_VALUE",
|
|
40
|
+
* Value: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
34
44
|
* const command = new CreateDBClusterSnapshotCommand(input);
|
|
35
45
|
* const response = await client.send(command);
|
|
36
46
|
* ```
|