@aws-sdk/client-rds 3.692.0 → 3.695.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/index.js +58 -0
- package/dist-es/commands/DeleteTenantDatabaseCommand.js +1 -1
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/protocols/Aws_query.js +40 -1
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +4 -0
- package/dist-types/commands/CreateDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTenantDatabaseCommand.d.ts +1 -2
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +3 -0
- package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +3 -0
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +4 -0
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/RebootDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +2 -0
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -0
- package/dist-types/commands/StartDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/StopDBClusterCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +71 -46
- package/dist-types/models/models_1.d.ts +55 -7
- package/dist-types/ts3.4/commands/DeleteTenantDatabaseCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +7 -6
- package/dist-types/ts3.4/models/models_1.d.ts +13 -0
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -97,6 +97,7 @@ __export(src_exports, {
|
|
|
97
97
|
DBInstanceAutomatedBackupNotFoundFault: () => DBInstanceAutomatedBackupNotFoundFault,
|
|
98
98
|
DBInstanceAutomatedBackupQuotaExceededFault: () => DBInstanceAutomatedBackupQuotaExceededFault,
|
|
99
99
|
DBInstanceNotFoundFault: () => DBInstanceNotFoundFault,
|
|
100
|
+
DBInstanceNotReadyFault: () => DBInstanceNotReadyFault,
|
|
100
101
|
DBInstanceRoleAlreadyExistsFault: () => DBInstanceRoleAlreadyExistsFault,
|
|
101
102
|
DBInstanceRoleNotFoundFault: () => DBInstanceRoleNotFoundFault,
|
|
102
103
|
DBInstanceRoleQuotaExceededFault: () => DBInstanceRoleQuotaExceededFault,
|
|
@@ -2778,6 +2779,23 @@ var ApplyMethod = {
|
|
|
2778
2779
|
immediate: "immediate",
|
|
2779
2780
|
pending_reboot: "pending-reboot"
|
|
2780
2781
|
};
|
|
2782
|
+
var _DBInstanceNotReadyFault = class _DBInstanceNotReadyFault extends RDSServiceException {
|
|
2783
|
+
/**
|
|
2784
|
+
* @internal
|
|
2785
|
+
*/
|
|
2786
|
+
constructor(opts) {
|
|
2787
|
+
super({
|
|
2788
|
+
name: "DBInstanceNotReadyFault",
|
|
2789
|
+
$fault: "server",
|
|
2790
|
+
...opts
|
|
2791
|
+
});
|
|
2792
|
+
this.name = "DBInstanceNotReadyFault";
|
|
2793
|
+
this.$fault = "server";
|
|
2794
|
+
Object.setPrototypeOf(this, _DBInstanceNotReadyFault.prototype);
|
|
2795
|
+
}
|
|
2796
|
+
};
|
|
2797
|
+
__name(_DBInstanceNotReadyFault, "DBInstanceNotReadyFault");
|
|
2798
|
+
var DBInstanceNotReadyFault = _DBInstanceNotReadyFault;
|
|
2781
2799
|
var TargetRole = {
|
|
2782
2800
|
READ_ONLY: "READ_ONLY",
|
|
2783
2801
|
READ_WRITE: "READ_WRITE",
|
|
@@ -7320,6 +7338,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
7320
7338
|
case "DBClusterBacktrackNotFoundFault":
|
|
7321
7339
|
case "com.amazonaws.rds#DBClusterBacktrackNotFoundFault":
|
|
7322
7340
|
throw await de_DBClusterBacktrackNotFoundFaultRes(parsedOutput, context);
|
|
7341
|
+
case "DBInstanceNotReady":
|
|
7342
|
+
case "com.amazonaws.rds#DBInstanceNotReadyFault":
|
|
7343
|
+
throw await de_DBInstanceNotReadyFaultRes(parsedOutput, context);
|
|
7323
7344
|
case "ReservedDBInstanceNotFound":
|
|
7324
7345
|
case "com.amazonaws.rds#ReservedDBInstanceNotFoundFault":
|
|
7325
7346
|
throw await de_ReservedDBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
@@ -7680,6 +7701,15 @@ var de_DBInstanceNotFoundFaultRes = /* @__PURE__ */ __name(async (parsedOutput,
|
|
|
7680
7701
|
});
|
|
7681
7702
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
7682
7703
|
}, "de_DBInstanceNotFoundFaultRes");
|
|
7704
|
+
var de_DBInstanceNotReadyFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
7705
|
+
const body = parsedOutput.body;
|
|
7706
|
+
const deserialized = de_DBInstanceNotReadyFault(body.Error, context);
|
|
7707
|
+
const exception = new DBInstanceNotReadyFault({
|
|
7708
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7709
|
+
...deserialized
|
|
7710
|
+
});
|
|
7711
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
7712
|
+
}, "de_DBInstanceNotReadyFaultRes");
|
|
7683
7713
|
var de_DBInstanceRoleAlreadyExistsFaultRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
7684
7714
|
const body = parsedOutput.body;
|
|
7685
7715
|
const deserialized = de_DBInstanceRoleAlreadyExistsFault(body.Error, context);
|
|
@@ -14135,6 +14165,9 @@ var se_ServerlessV2ScalingConfiguration = /* @__PURE__ */ __name((input, context
|
|
|
14135
14165
|
if (input[_MCa] != null) {
|
|
14136
14166
|
entries[_MCa] = (0, import_smithy_client.serializeFloat)(input[_MCa]);
|
|
14137
14167
|
}
|
|
14168
|
+
if (input[_SUAP] != null) {
|
|
14169
|
+
entries[_SUAP] = input[_SUAP];
|
|
14170
|
+
}
|
|
14138
14171
|
return entries;
|
|
14139
14172
|
}, "se_ServerlessV2ScalingConfiguration");
|
|
14140
14173
|
var se_SourceIdsList = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -15916,6 +15949,9 @@ var de_DBEngineVersion = /* @__PURE__ */ __name((output, context) => {
|
|
|
15916
15949
|
if (output[_SIup] != null) {
|
|
15917
15950
|
contents[_SIup] = (0, import_smithy_client.parseBoolean)(output[_SIup]);
|
|
15918
15951
|
}
|
|
15952
|
+
if (output[_SVFS] != null) {
|
|
15953
|
+
contents[_SVFS] = de_ServerlessV2FeaturesSupport(output[_SVFS], context);
|
|
15954
|
+
}
|
|
15919
15955
|
return contents;
|
|
15920
15956
|
}, "de_DBEngineVersion");
|
|
15921
15957
|
var de_DBEngineVersionList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -16408,6 +16444,13 @@ var de_DBInstanceNotFoundFault = /* @__PURE__ */ __name((output, context) => {
|
|
|
16408
16444
|
}
|
|
16409
16445
|
return contents;
|
|
16410
16446
|
}, "de_DBInstanceNotFoundFault");
|
|
16447
|
+
var de_DBInstanceNotReadyFault = /* @__PURE__ */ __name((output, context) => {
|
|
16448
|
+
const contents = {};
|
|
16449
|
+
if (output[_m] != null) {
|
|
16450
|
+
contents[_m] = (0, import_smithy_client.expectString)(output[_m]);
|
|
16451
|
+
}
|
|
16452
|
+
return contents;
|
|
16453
|
+
}, "de_DBInstanceNotReadyFault");
|
|
16411
16454
|
var de_DBInstanceRole = /* @__PURE__ */ __name((output, context) => {
|
|
16412
16455
|
const contents = {};
|
|
16413
16456
|
if (output[_RA] != null) {
|
|
@@ -19900,6 +19943,16 @@ var de_ScalingConfigurationInfo = /* @__PURE__ */ __name((output, context) => {
|
|
|
19900
19943
|
}
|
|
19901
19944
|
return contents;
|
|
19902
19945
|
}, "de_ScalingConfigurationInfo");
|
|
19946
|
+
var de_ServerlessV2FeaturesSupport = /* @__PURE__ */ __name((output, context) => {
|
|
19947
|
+
const contents = {};
|
|
19948
|
+
if (output[_MCi] != null) {
|
|
19949
|
+
contents[_MCi] = (0, import_smithy_client.strictParseFloat)(output[_MCi]);
|
|
19950
|
+
}
|
|
19951
|
+
if (output[_MCa] != null) {
|
|
19952
|
+
contents[_MCa] = (0, import_smithy_client.strictParseFloat)(output[_MCa]);
|
|
19953
|
+
}
|
|
19954
|
+
return contents;
|
|
19955
|
+
}, "de_ServerlessV2FeaturesSupport");
|
|
19903
19956
|
var de_ServerlessV2ScalingConfigurationInfo = /* @__PURE__ */ __name((output, context) => {
|
|
19904
19957
|
const contents = {};
|
|
19905
19958
|
if (output[_MCi] != null) {
|
|
@@ -19908,6 +19961,9 @@ var de_ServerlessV2ScalingConfigurationInfo = /* @__PURE__ */ __name((output, co
|
|
|
19908
19961
|
if (output[_MCa] != null) {
|
|
19909
19962
|
contents[_MCa] = (0, import_smithy_client.strictParseFloat)(output[_MCa]);
|
|
19910
19963
|
}
|
|
19964
|
+
if (output[_SUAP] != null) {
|
|
19965
|
+
contents[_SUAP] = (0, import_smithy_client.strictParseInt32)(output[_SUAP]);
|
|
19966
|
+
}
|
|
19911
19967
|
return contents;
|
|
19912
19968
|
}, "de_ServerlessV2ScalingConfigurationInfo");
|
|
19913
19969
|
var de_SharedSnapshotQuotaExceededFault = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -21352,6 +21408,7 @@ var _STtat = "StatusType";
|
|
|
21352
21408
|
var _STu = "SupportedTimezones";
|
|
21353
21409
|
var _STw = "SwitchoverTimeout";
|
|
21354
21410
|
var _SUAP = "SecondsUntilAutoPause";
|
|
21411
|
+
var _SVFS = "ServerlessV2FeaturesSupport";
|
|
21355
21412
|
var _SVSC = "ServerlessV2ScalingConfiguration";
|
|
21356
21413
|
var _Se = "Severity";
|
|
21357
21414
|
var _Si = "Size";
|
|
@@ -25389,6 +25446,7 @@ var waitUntilTenantDatabaseDeleted = /* @__PURE__ */ __name(async (params, input
|
|
|
25389
25446
|
DBProxyTargetNotFoundFault,
|
|
25390
25447
|
DBClusterBacktrackNotFoundFault,
|
|
25391
25448
|
ApplyMethod,
|
|
25449
|
+
DBInstanceNotReadyFault,
|
|
25392
25450
|
TargetRole,
|
|
25393
25451
|
TargetHealthReason,
|
|
25394
25452
|
TargetState,
|
|
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import { DeleteTenantDatabaseResultFilterSensitiveLog } from "../models/models_1";
|
|
5
|
+
import { DeleteTenantDatabaseResultFilterSensitiveLog, } from "../models/models_1";
|
|
6
6
|
import { de_DeleteTenantDatabaseCommand, se_DeleteTenantDatabaseCommand } from "../protocols/Aws_query";
|
|
7
7
|
export { $Command };
|
|
8
8
|
export class DeleteTenantDatabaseCommand extends $Command
|
|
@@ -29,6 +29,18 @@ export const ApplyMethod = {
|
|
|
29
29
|
immediate: "immediate",
|
|
30
30
|
pending_reboot: "pending-reboot",
|
|
31
31
|
};
|
|
32
|
+
export class DBInstanceNotReadyFault extends __BaseException {
|
|
33
|
+
constructor(opts) {
|
|
34
|
+
super({
|
|
35
|
+
name: "DBInstanceNotReadyFault",
|
|
36
|
+
$fault: "server",
|
|
37
|
+
...opts,
|
|
38
|
+
});
|
|
39
|
+
this.name = "DBInstanceNotReadyFault";
|
|
40
|
+
this.$fault = "server";
|
|
41
|
+
Object.setPrototypeOf(this, DBInstanceNotReadyFault.prototype);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
32
44
|
export const TargetRole = {
|
|
33
45
|
READ_ONLY: "READ_ONLY",
|
|
34
46
|
READ_WRITE: "READ_WRITE",
|
|
@@ -2,7 +2,7 @@ import { parseXmlBody as parseBody, parseXmlErrorBody as parseErrorBody } from "
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, BlueGreenDeploymentAlreadyExistsFault, BlueGreenDeploymentNotFoundFault, CertificateNotFoundFault, CreateCustomDBEngineVersionFault, CustomAvailabilityZoneNotFoundFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, DBClusterAlreadyExistsFault, DBClusterAutomatedBackupNotFoundFault, DBClusterAutomatedBackupQuotaExceededFault, 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, DBSecurityGroupAlreadyExistsFault, DBSecurityGroupNotFoundFault, DBSecurityGroupNotSupportedFault, DBSecurityGroupQuotaExceededFault, DBShardGroupAlreadyExistsFault, DBShardGroupNotFoundFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSnapshotTenantDatabaseNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotAllowedFault, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DomainNotFoundFault, Ec2ImagePropertiesNotSupportedFault, EventSubscriptionQuotaExceededFault, ExportTaskNotFoundFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, IntegrationAlreadyExistsFault, IntegrationConflictOperationFault, IntegrationNotFoundFault, IntegrationQuotaExceededFault, InvalidBlueGreenDeploymentStateFault, InvalidCustomDBEngineVersionStateFault, InvalidDBClusterAutomatedBackupStateFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceAutomatedBackupStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBProxyEndpointStateFault, InvalidDBProxyStateFault, InvalidDBSecurityGroupStateFault, InvalidDBShardGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidExportTaskStateFault, InvalidGlobalClusterStateFault, InvalidIntegrationStateFault, InvalidOptionGroupStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, MaxDBShardGroupLimitReached, NetworkTypeNotSupported, OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault, OptionGroupQuotaExceededFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceClusterNotSupportedFault, SourceDatabaseNotSupportedFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, TenantDatabaseAlreadyExistsFault, TenantDatabaseNotFoundFault, TenantDatabaseQuotaExceededFault, UnsupportedDBEngineVersionFault, } from "../models/models_0";
|
|
5
|
-
import { DBClusterBacktrackNotFoundFault, DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBProxyTargetNotFoundFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidResourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, StorageTypeNotAvailableFault, SubnetAlreadyInUse, } from "../models/models_1";
|
|
5
|
+
import { DBClusterBacktrackNotFoundFault, DBClusterRoleNotFoundFault, DBInstanceNotReadyFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBProxyTargetNotFoundFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidResourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, StorageTypeNotAvailableFault, SubnetAlreadyInUse, } from "../models/models_1";
|
|
6
6
|
import { RDSServiceException as __BaseException } from "../models/RDSServiceException";
|
|
7
7
|
export const se_AddRoleToDBClusterCommand = async (input, context) => {
|
|
8
8
|
const headers = SHARED_HEADERS;
|
|
@@ -4064,6 +4064,9 @@ const de_CommandError = async (output, context) => {
|
|
|
4064
4064
|
case "DBClusterBacktrackNotFoundFault":
|
|
4065
4065
|
case "com.amazonaws.rds#DBClusterBacktrackNotFoundFault":
|
|
4066
4066
|
throw await de_DBClusterBacktrackNotFoundFaultRes(parsedOutput, context);
|
|
4067
|
+
case "DBInstanceNotReady":
|
|
4068
|
+
case "com.amazonaws.rds#DBInstanceNotReadyFault":
|
|
4069
|
+
throw await de_DBInstanceNotReadyFaultRes(parsedOutput, context);
|
|
4067
4070
|
case "ReservedDBInstanceNotFound":
|
|
4068
4071
|
case "com.amazonaws.rds#ReservedDBInstanceNotFoundFault":
|
|
4069
4072
|
throw await de_ReservedDBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
@@ -4424,6 +4427,15 @@ const de_DBInstanceNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
4424
4427
|
});
|
|
4425
4428
|
return __decorateServiceException(exception, body);
|
|
4426
4429
|
};
|
|
4430
|
+
const de_DBInstanceNotReadyFaultRes = async (parsedOutput, context) => {
|
|
4431
|
+
const body = parsedOutput.body;
|
|
4432
|
+
const deserialized = de_DBInstanceNotReadyFault(body.Error, context);
|
|
4433
|
+
const exception = new DBInstanceNotReadyFault({
|
|
4434
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4435
|
+
...deserialized,
|
|
4436
|
+
});
|
|
4437
|
+
return __decorateServiceException(exception, body);
|
|
4438
|
+
};
|
|
4427
4439
|
const de_DBInstanceRoleAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
4428
4440
|
const body = parsedOutput.body;
|
|
4429
4441
|
const deserialized = de_DBInstanceRoleAlreadyExistsFault(body.Error, context);
|
|
@@ -10783,6 +10795,9 @@ const se_ServerlessV2ScalingConfiguration = (input, context) => {
|
|
|
10783
10795
|
if (input[_MCa] != null) {
|
|
10784
10796
|
entries[_MCa] = __serializeFloat(input[_MCa]);
|
|
10785
10797
|
}
|
|
10798
|
+
if (input[_SUAP] != null) {
|
|
10799
|
+
entries[_SUAP] = input[_SUAP];
|
|
10800
|
+
}
|
|
10786
10801
|
return entries;
|
|
10787
10802
|
};
|
|
10788
10803
|
const se_SourceIdsList = (input, context) => {
|
|
@@ -12647,6 +12662,9 @@ const de_DBEngineVersion = (output, context) => {
|
|
|
12647
12662
|
if (output[_SIup] != null) {
|
|
12648
12663
|
contents[_SIup] = __parseBoolean(output[_SIup]);
|
|
12649
12664
|
}
|
|
12665
|
+
if (output[_SVFS] != null) {
|
|
12666
|
+
contents[_SVFS] = de_ServerlessV2FeaturesSupport(output[_SVFS], context);
|
|
12667
|
+
}
|
|
12650
12668
|
return contents;
|
|
12651
12669
|
};
|
|
12652
12670
|
const de_DBEngineVersionList = (output, context) => {
|
|
@@ -13152,6 +13170,13 @@ const de_DBInstanceNotFoundFault = (output, context) => {
|
|
|
13152
13170
|
}
|
|
13153
13171
|
return contents;
|
|
13154
13172
|
};
|
|
13173
|
+
const de_DBInstanceNotReadyFault = (output, context) => {
|
|
13174
|
+
const contents = {};
|
|
13175
|
+
if (output[_m] != null) {
|
|
13176
|
+
contents[_m] = __expectString(output[_m]);
|
|
13177
|
+
}
|
|
13178
|
+
return contents;
|
|
13179
|
+
};
|
|
13155
13180
|
const de_DBInstanceRole = (output, context) => {
|
|
13156
13181
|
const contents = {};
|
|
13157
13182
|
if (output[_RA] != null) {
|
|
@@ -16843,6 +16868,16 @@ const de_ScalingConfigurationInfo = (output, context) => {
|
|
|
16843
16868
|
}
|
|
16844
16869
|
return contents;
|
|
16845
16870
|
};
|
|
16871
|
+
const de_ServerlessV2FeaturesSupport = (output, context) => {
|
|
16872
|
+
const contents = {};
|
|
16873
|
+
if (output[_MCi] != null) {
|
|
16874
|
+
contents[_MCi] = __strictParseFloat(output[_MCi]);
|
|
16875
|
+
}
|
|
16876
|
+
if (output[_MCa] != null) {
|
|
16877
|
+
contents[_MCa] = __strictParseFloat(output[_MCa]);
|
|
16878
|
+
}
|
|
16879
|
+
return contents;
|
|
16880
|
+
};
|
|
16846
16881
|
const de_ServerlessV2ScalingConfigurationInfo = (output, context) => {
|
|
16847
16882
|
const contents = {};
|
|
16848
16883
|
if (output[_MCi] != null) {
|
|
@@ -16851,6 +16886,9 @@ const de_ServerlessV2ScalingConfigurationInfo = (output, context) => {
|
|
|
16851
16886
|
if (output[_MCa] != null) {
|
|
16852
16887
|
contents[_MCa] = __strictParseFloat(output[_MCa]);
|
|
16853
16888
|
}
|
|
16889
|
+
if (output[_SUAP] != null) {
|
|
16890
|
+
contents[_SUAP] = __strictParseInt32(output[_SUAP]);
|
|
16891
|
+
}
|
|
16854
16892
|
return contents;
|
|
16855
16893
|
};
|
|
16856
16894
|
const de_SharedSnapshotQuotaExceededFault = (output, context) => {
|
|
@@ -18338,6 +18376,7 @@ const _STtat = "StatusType";
|
|
|
18338
18376
|
const _STu = "SupportedTimezones";
|
|
18339
18377
|
const _STw = "SwitchoverTimeout";
|
|
18340
18378
|
const _SUAP = "SecondsUntilAutoPause";
|
|
18379
|
+
const _SVFS = "ServerlessV2FeaturesSupport";
|
|
18341
18380
|
const _SVSC = "ServerlessV2ScalingConfiguration";
|
|
18342
18381
|
const _Se = "Severity";
|
|
18343
18382
|
const _Si = "Size";
|
|
@@ -139,6 +139,10 @@ declare const CreateCustomDBEngineVersionCommand_base: {
|
|
|
139
139
|
* // ],
|
|
140
140
|
* // SupportsLocalWriteForwarding: true || false,
|
|
141
141
|
* // SupportsIntegrations: true || false,
|
|
142
|
+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
|
|
143
|
+
* // MinCapacity: Number("double"),
|
|
144
|
+
* // MaxCapacity: Number("double"),
|
|
145
|
+
* // },
|
|
142
146
|
* // };
|
|
143
147
|
*
|
|
144
148
|
* ```
|
|
@@ -119,6 +119,7 @@ declare const CreateDBClusterCommand_base: {
|
|
|
119
119
|
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
|
|
120
120
|
* MinCapacity: Number("double"),
|
|
121
121
|
* MaxCapacity: Number("double"),
|
|
122
|
+
* SecondsUntilAutoPause: Number("int"),
|
|
122
123
|
* },
|
|
123
124
|
* NetworkType: "STRING_VALUE",
|
|
124
125
|
* ClusterScalabilityType: "standard" || "limitless",
|
|
@@ -297,6 +298,7 @@ declare const CreateDBClusterCommand_base: {
|
|
|
297
298
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
298
299
|
* // MinCapacity: Number("double"),
|
|
299
300
|
* // MaxCapacity: Number("double"),
|
|
301
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
300
302
|
* // },
|
|
301
303
|
* // NetworkType: "STRING_VALUE",
|
|
302
304
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -145,6 +145,10 @@ declare const DeleteCustomDBEngineVersionCommand_base: {
|
|
|
145
145
|
* // ],
|
|
146
146
|
* // SupportsLocalWriteForwarding: true || false,
|
|
147
147
|
* // SupportsIntegrations: true || false,
|
|
148
|
+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
|
|
149
|
+
* // MinCapacity: Number("double"),
|
|
150
|
+
* // MaxCapacity: Number("double"),
|
|
151
|
+
* // },
|
|
148
152
|
* // };
|
|
149
153
|
*
|
|
150
154
|
* ```
|
|
@@ -218,6 +218,7 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
218
218
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
219
219
|
* // MinCapacity: Number("double"),
|
|
220
220
|
* // MaxCapacity: Number("double"),
|
|
221
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
221
222
|
* // },
|
|
222
223
|
* // NetworkType: "STRING_VALUE",
|
|
223
224
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DeleteTenantDatabaseMessage } from "../models/
|
|
4
|
-
import { DeleteTenantDatabaseResult } from "../models/models_1";
|
|
3
|
+
import { DeleteTenantDatabaseMessage, DeleteTenantDatabaseResult } from "../models/models_1";
|
|
5
4
|
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -225,6 +225,7 @@ declare const DescribeDBClustersCommand_base: {
|
|
|
225
225
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
226
226
|
* // MinCapacity: Number("double"),
|
|
227
227
|
* // MaxCapacity: Number("double"),
|
|
228
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
228
229
|
* // },
|
|
229
230
|
* // NetworkType: "STRING_VALUE",
|
|
230
231
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -143,6 +143,10 @@ declare const DescribeDBEngineVersionsCommand_base: {
|
|
|
143
143
|
* // ],
|
|
144
144
|
* // SupportsLocalWriteForwarding: true || false,
|
|
145
145
|
* // SupportsIntegrations: true || false,
|
|
146
|
+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
|
|
147
|
+
* // MinCapacity: Number("double"),
|
|
148
|
+
* // MaxCapacity: Number("double"),
|
|
149
|
+
* // },
|
|
146
150
|
* // },
|
|
147
151
|
* // ],
|
|
148
152
|
* // };
|
|
@@ -76,6 +76,9 @@ declare const DescribeDBLogFilesCommand_base: {
|
|
|
76
76
|
* <p>
|
|
77
77
|
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
78
78
|
*
|
|
79
|
+
* @throws {@link DBInstanceNotReadyFault} (server fault)
|
|
80
|
+
* <p>An attempt to download or examine log files didn't succeed because an Aurora Serverless v2 instance was paused.</p>
|
|
81
|
+
*
|
|
79
82
|
* @throws {@link RDSServiceException}
|
|
80
83
|
* <p>Base exception class for all service exceptions from RDS service.</p>
|
|
81
84
|
*
|
|
@@ -61,6 +61,9 @@ declare const DownloadDBLogFilePortionCommand_base: {
|
|
|
61
61
|
* <p>
|
|
62
62
|
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
|
|
63
63
|
*
|
|
64
|
+
* @throws {@link DBInstanceNotReadyFault} (server fault)
|
|
65
|
+
* <p>An attempt to download or examine log files didn't succeed because an Aurora Serverless v2 instance was paused.</p>
|
|
66
|
+
*
|
|
64
67
|
* @throws {@link DBLogFileNotFoundFault} (client fault)
|
|
65
68
|
* <p>
|
|
66
69
|
* <code>LogFileName</code> doesn't refer to an existing DB log file.</p>
|
|
@@ -224,6 +224,7 @@ declare const FailoverDBClusterCommand_base: {
|
|
|
224
224
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
225
225
|
* // MinCapacity: Number("double"),
|
|
226
226
|
* // MaxCapacity: Number("double"),
|
|
227
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
227
228
|
* // },
|
|
228
229
|
* // NetworkType: "STRING_VALUE",
|
|
229
230
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -138,6 +138,10 @@ declare const ModifyCustomDBEngineVersionCommand_base: {
|
|
|
138
138
|
* // ],
|
|
139
139
|
* // SupportsLocalWriteForwarding: true || false,
|
|
140
140
|
* // SupportsIntegrations: true || false,
|
|
141
|
+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
|
|
142
|
+
* // MinCapacity: Number("double"),
|
|
143
|
+
* // MaxCapacity: Number("double"),
|
|
144
|
+
* // },
|
|
141
145
|
* // };
|
|
142
146
|
*
|
|
143
147
|
* ```
|
|
@@ -96,6 +96,7 @@ declare const ModifyDBClusterCommand_base: {
|
|
|
96
96
|
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
|
|
97
97
|
* MinCapacity: Number("double"),
|
|
98
98
|
* MaxCapacity: Number("double"),
|
|
99
|
+
* SecondsUntilAutoPause: Number("int"),
|
|
99
100
|
* },
|
|
100
101
|
* NetworkType: "STRING_VALUE",
|
|
101
102
|
* ManageMasterUserPassword: true || false,
|
|
@@ -276,6 +277,7 @@ declare const ModifyDBClusterCommand_base: {
|
|
|
276
277
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
277
278
|
* // MinCapacity: Number("double"),
|
|
278
279
|
* // MaxCapacity: Number("double"),
|
|
280
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
279
281
|
* // },
|
|
280
282
|
* // NetworkType: "STRING_VALUE",
|
|
281
283
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -205,6 +205,7 @@ declare const PromoteReadReplicaDBClusterCommand_base: {
|
|
|
205
205
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
206
206
|
* // MinCapacity: Number("double"),
|
|
207
207
|
* // MaxCapacity: Number("double"),
|
|
208
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
208
209
|
* // },
|
|
209
210
|
* // NetworkType: "STRING_VALUE",
|
|
210
211
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -215,6 +215,7 @@ declare const RebootDBClusterCommand_base: {
|
|
|
215
215
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
216
216
|
* // MinCapacity: Number("double"),
|
|
217
217
|
* // MaxCapacity: Number("double"),
|
|
218
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
218
219
|
* // },
|
|
219
220
|
* // NetworkType: "STRING_VALUE",
|
|
220
221
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -97,6 +97,7 @@ declare const RestoreDBClusterFromS3Command_base: {
|
|
|
97
97
|
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
|
|
98
98
|
* MinCapacity: Number("double"),
|
|
99
99
|
* MaxCapacity: Number("double"),
|
|
100
|
+
* SecondsUntilAutoPause: Number("int"),
|
|
100
101
|
* },
|
|
101
102
|
* NetworkType: "STRING_VALUE",
|
|
102
103
|
* ManageMasterUserPassword: true || false,
|
|
@@ -272,6 +273,7 @@ declare const RestoreDBClusterFromS3Command_base: {
|
|
|
272
273
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
273
274
|
* // MinCapacity: Number("double"),
|
|
274
275
|
* // MaxCapacity: Number("double"),
|
|
276
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
275
277
|
* // },
|
|
276
278
|
* // NetworkType: "STRING_VALUE",
|
|
277
279
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -100,6 +100,7 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
|
|
|
100
100
|
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
|
|
101
101
|
* MinCapacity: Number("double"),
|
|
102
102
|
* MaxCapacity: Number("double"),
|
|
103
|
+
* SecondsUntilAutoPause: Number("int"),
|
|
103
104
|
* },
|
|
104
105
|
* NetworkType: "STRING_VALUE",
|
|
105
106
|
* RdsCustomClusterConfiguration: { // RdsCustomClusterConfiguration
|
|
@@ -282,6 +283,7 @@ declare const RestoreDBClusterFromSnapshotCommand_base: {
|
|
|
282
283
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
283
284
|
* // MinCapacity: Number("double"),
|
|
284
285
|
* // MaxCapacity: Number("double"),
|
|
286
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
285
287
|
* // },
|
|
286
288
|
* // NetworkType: "STRING_VALUE",
|
|
287
289
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -98,6 +98,7 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
|
|
|
98
98
|
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
|
|
99
99
|
* MinCapacity: Number("double"),
|
|
100
100
|
* MaxCapacity: Number("double"),
|
|
101
|
+
* SecondsUntilAutoPause: Number("int"),
|
|
101
102
|
* },
|
|
102
103
|
* NetworkType: "STRING_VALUE",
|
|
103
104
|
* SourceDbClusterResourceId: "STRING_VALUE",
|
|
@@ -281,6 +282,7 @@ declare const RestoreDBClusterToPointInTimeCommand_base: {
|
|
|
281
282
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
282
283
|
* // MinCapacity: Number("double"),
|
|
283
284
|
* // MaxCapacity: Number("double"),
|
|
285
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
284
286
|
* // },
|
|
285
287
|
* // NetworkType: "STRING_VALUE",
|
|
286
288
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -212,6 +212,7 @@ declare const StartDBClusterCommand_base: {
|
|
|
212
212
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
213
213
|
* // MinCapacity: Number("double"),
|
|
214
214
|
* // MaxCapacity: Number("double"),
|
|
215
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
215
216
|
* // },
|
|
216
217
|
* // NetworkType: "STRING_VALUE",
|
|
217
218
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -213,6 +213,7 @@ declare const StopDBClusterCommand_base: {
|
|
|
213
213
|
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
|
|
214
214
|
* // MinCapacity: Number("double"),
|
|
215
215
|
* // MaxCapacity: Number("double"),
|
|
216
|
+
* // SecondsUntilAutoPause: Number("int"),
|
|
216
217
|
* // },
|
|
217
218
|
* // NetworkType: "STRING_VALUE",
|
|
218
219
|
* // DBSystemId: "STRING_VALUE",
|
|
@@ -3283,6 +3283,31 @@ export interface CustomDBEngineVersionAMI {
|
|
|
3283
3283
|
*/
|
|
3284
3284
|
Status?: string | undefined;
|
|
3285
3285
|
}
|
|
3286
|
+
/**
|
|
3287
|
+
* <p>Specifies any Aurora Serverless v2 properties or limits that differ between Aurora engine versions.
|
|
3288
|
+
* You can test the values of this attribute when deciding which Aurora version to use in a new or upgraded
|
|
3289
|
+
* DB cluster. You can also retrieve the version of an existing DB cluster and check whether that version
|
|
3290
|
+
* supports certain Aurora Serverless v2 features before you attempt to use those features.
|
|
3291
|
+
* </p>
|
|
3292
|
+
* @public
|
|
3293
|
+
*/
|
|
3294
|
+
export interface ServerlessV2FeaturesSupport {
|
|
3295
|
+
/**
|
|
3296
|
+
* <p>If the minimum capacity is 0 ACUs, the engine version supports the automatic pause/resume
|
|
3297
|
+
* feature of Aurora Serverless v2.</p>
|
|
3298
|
+
* @public
|
|
3299
|
+
*/
|
|
3300
|
+
MinCapacity?: number | undefined;
|
|
3301
|
+
/**
|
|
3302
|
+
* <p>
|
|
3303
|
+
* Specifies the upper Aurora Serverless v2 capacity limit for a particular engine version.
|
|
3304
|
+
* Depending on the engine version, the maximum capacity for an Aurora Serverless v2 cluster might be
|
|
3305
|
+
* <code>256</code> or <code>128</code>.
|
|
3306
|
+
* </p>
|
|
3307
|
+
* @public
|
|
3308
|
+
*/
|
|
3309
|
+
MaxCapacity?: number | undefined;
|
|
3310
|
+
}
|
|
3286
3311
|
/**
|
|
3287
3312
|
* <p>A time zone associated with a
|
|
3288
3313
|
* <code>DBInstance</code>
|
|
@@ -3580,6 +3605,15 @@ export interface DBEngineVersion {
|
|
|
3580
3605
|
* @public
|
|
3581
3606
|
*/
|
|
3582
3607
|
SupportsIntegrations?: boolean | undefined;
|
|
3608
|
+
/**
|
|
3609
|
+
* <p>Specifies any Aurora Serverless v2 properties or limits that differ between Aurora engine versions.
|
|
3610
|
+
* You can test the values of this attribute when deciding which Aurora version to use in a new or upgraded
|
|
3611
|
+
* DB cluster. You can also retrieve the version of an existing DB cluster and check whether that version
|
|
3612
|
+
* supports certain Aurora Serverless v2 features before you attempt to use those features.
|
|
3613
|
+
* </p>
|
|
3614
|
+
* @public
|
|
3615
|
+
*/
|
|
3616
|
+
ServerlessV2FeaturesSupport?: ServerlessV2FeaturesSupport | undefined;
|
|
3583
3617
|
}
|
|
3584
3618
|
/**
|
|
3585
3619
|
* <p>The AMI configuration prerequisite has not been met.</p>
|
|
@@ -3709,18 +3743,28 @@ export interface ScalingConfiguration {
|
|
|
3709
3743
|
export interface ServerlessV2ScalingConfiguration {
|
|
3710
3744
|
/**
|
|
3711
3745
|
* <p>The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
|
3712
|
-
* You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
3713
|
-
* that you can use is 0.
|
|
3746
|
+
* You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
3747
|
+
* For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0.
|
|
3748
|
+
* For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
|
|
3749
|
+
* </p>
|
|
3714
3750
|
* @public
|
|
3715
3751
|
*/
|
|
3716
3752
|
MinCapacity?: number | undefined;
|
|
3717
3753
|
/**
|
|
3718
3754
|
* <p>The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
|
3719
|
-
* You can specify ACU values in half-step increments, such as
|
|
3720
|
-
* that you can use is 128.</p>
|
|
3755
|
+
* You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value
|
|
3756
|
+
* that you can use is 256 for recent Aurora versions, or 128 for older versions.</p>
|
|
3721
3757
|
* @public
|
|
3722
3758
|
*/
|
|
3723
3759
|
MaxCapacity?: number | undefined;
|
|
3760
|
+
/**
|
|
3761
|
+
* <p>Specifies the number of seconds an Aurora Serverless v2 DB instance must be idle before
|
|
3762
|
+
* Aurora attempts to automatically pause it.
|
|
3763
|
+
* </p>
|
|
3764
|
+
* <p>Specify a value between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.</p>
|
|
3765
|
+
* @public
|
|
3766
|
+
*/
|
|
3767
|
+
SecondsUntilAutoPause?: number | undefined;
|
|
3724
3768
|
}
|
|
3725
3769
|
/**
|
|
3726
3770
|
* <p></p>
|
|
@@ -4970,18 +5014,33 @@ export interface ScalingConfigurationInfo {
|
|
|
4970
5014
|
export interface ServerlessV2ScalingConfigurationInfo {
|
|
4971
5015
|
/**
|
|
4972
5016
|
* <p>The minimum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
|
4973
|
-
* You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
4974
|
-
* that you can use is 0.
|
|
5017
|
+
* You can specify ACU values in half-step increments, such as 8, 8.5, 9, and so on.
|
|
5018
|
+
* For Aurora versions that support the Aurora Serverless v2 auto-pause feature, the smallest value that you can use is 0.
|
|
5019
|
+
* For versions that don't support Aurora Serverless v2 auto-pause, the smallest value that you can use is 0.5.
|
|
5020
|
+
* </p>
|
|
4975
5021
|
* @public
|
|
4976
5022
|
*/
|
|
4977
5023
|
MinCapacity?: number | undefined;
|
|
4978
5024
|
/**
|
|
4979
5025
|
* <p>The maximum number of Aurora capacity units (ACUs) for a DB instance in an Aurora Serverless v2 cluster.
|
|
4980
|
-
* You can specify ACU values in half-step increments, such as
|
|
4981
|
-
* that you can use is 128.</p>
|
|
5026
|
+
* You can specify ACU values in half-step increments, such as 32, 32.5, 33, and so on. The largest value
|
|
5027
|
+
* that you can use is 256 for recent Aurora versions, or 128 for older versions.</p>
|
|
4982
5028
|
* @public
|
|
4983
5029
|
*/
|
|
4984
5030
|
MaxCapacity?: number | undefined;
|
|
5031
|
+
/**
|
|
5032
|
+
* <p>
|
|
5033
|
+
* The number of seconds an Aurora Serverless v2 DB instance must be idle before
|
|
5034
|
+
* Aurora attempts to automatically pause it.
|
|
5035
|
+
* This property is only shown when the minimum capacity for the cluster is set to 0 ACUs.
|
|
5036
|
+
* Changing the minimum capacity to a nonzero value removes this property. If you later
|
|
5037
|
+
* change the minimum capacity back to 0 ACUs, this property is reset to its default value
|
|
5038
|
+
* unless you specify it again.
|
|
5039
|
+
* </p>
|
|
5040
|
+
* <p>This value ranges between 300 seconds (five minutes) and 86,400 seconds (one day). The default is 300 seconds.</p>
|
|
5041
|
+
* @public
|
|
5042
|
+
*/
|
|
5043
|
+
SecondsUntilAutoPause?: number | undefined;
|
|
4985
5044
|
}
|
|
4986
5045
|
/**
|
|
4987
5046
|
* <p>Reserved for future use.</p>
|
|
@@ -6097,6 +6156,9 @@ export interface CreateDBInstanceMessage {
|
|
|
6097
6156
|
* <p>Must contain 1 to 64 alphanumeric characters.</p>
|
|
6098
6157
|
* </li>
|
|
6099
6158
|
* <li>
|
|
6159
|
+
* <p>Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).</p>
|
|
6160
|
+
* </li>
|
|
6161
|
+
* <li>
|
|
6100
6162
|
* <p>Can't be a word reserved by the database engine.</p>
|
|
6101
6163
|
* </li>
|
|
6102
6164
|
* </ul>
|
|
@@ -10080,6 +10142,7 @@ export interface CreateDBShardGroupMessage {
|
|
|
10080
10142
|
Tags?: Tag[] | undefined;
|
|
10081
10143
|
}
|
|
10082
10144
|
/**
|
|
10145
|
+
* <p>Contains the details for an Amazon RDS DB shard group.</p>
|
|
10083
10146
|
* @public
|
|
10084
10147
|
*/
|
|
10085
10148
|
export interface DBShardGroup {
|
|
@@ -12549,44 +12612,6 @@ export declare class InvalidOptionGroupStateFault extends __BaseException {
|
|
|
12549
12612
|
*/
|
|
12550
12613
|
constructor(opts: __ExceptionOptionType<InvalidOptionGroupStateFault, __BaseException>);
|
|
12551
12614
|
}
|
|
12552
|
-
/**
|
|
12553
|
-
* @public
|
|
12554
|
-
*/
|
|
12555
|
-
export interface DeleteTenantDatabaseMessage {
|
|
12556
|
-
/**
|
|
12557
|
-
* <p>The user-supplied identifier for the DB instance that contains the tenant database
|
|
12558
|
-
* that you want to delete.</p>
|
|
12559
|
-
* @public
|
|
12560
|
-
*/
|
|
12561
|
-
DBInstanceIdentifier: string | undefined;
|
|
12562
|
-
/**
|
|
12563
|
-
* <p>The user-supplied name of the tenant database that you want to remove from your DB
|
|
12564
|
-
* instance. Amazon RDS deletes the tenant database with this name. This parameter isn’t
|
|
12565
|
-
* case-sensitive.</p>
|
|
12566
|
-
* @public
|
|
12567
|
-
*/
|
|
12568
|
-
TenantDBName: string | undefined;
|
|
12569
|
-
/**
|
|
12570
|
-
* <p>Specifies whether to skip the creation of a final DB snapshot before removing the
|
|
12571
|
-
* tenant database from your DB instance. If you enable this parameter, RDS doesn't create
|
|
12572
|
-
* a DB snapshot. If you don't enable this parameter, RDS creates a DB snapshot before it
|
|
12573
|
-
* deletes the tenant database. By default, RDS doesn't skip the final snapshot. If you
|
|
12574
|
-
* don't enable this parameter, you must specify the <code>FinalDBSnapshotIdentifier</code>
|
|
12575
|
-
* parameter.</p>
|
|
12576
|
-
* @public
|
|
12577
|
-
*/
|
|
12578
|
-
SkipFinalSnapshot?: boolean | undefined;
|
|
12579
|
-
/**
|
|
12580
|
-
* <p>The <code>DBSnapshotIdentifier</code> of the new <code>DBSnapshot</code> created when
|
|
12581
|
-
* the <code>SkipFinalSnapshot</code> parameter is disabled.</p>
|
|
12582
|
-
* <note>
|
|
12583
|
-
* <p>If you enable this parameter and also enable <code>SkipFinalShapshot</code>, the
|
|
12584
|
-
* command results in an error.</p>
|
|
12585
|
-
* </note>
|
|
12586
|
-
* @public
|
|
12587
|
-
*/
|
|
12588
|
-
FinalDBSnapshotIdentifier?: string | undefined;
|
|
12589
|
-
}
|
|
12590
12615
|
/**
|
|
12591
12616
|
* @internal
|
|
12592
12617
|
*/
|
|
@@ -1,6 +1,44 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ActivityStreamMode, ActivityStreamPolicyStatus, ActivityStreamStatus, AutomationMode, AvailabilityZone, BlueGreenDeployment, DBCluster, DBClusterAutomatedBackup, DBClusterBacktrack, DBClusterEndpoint, DBClusterParameterGroup, DBClusterSnapshot, DBEngineVersion, DBInstance, DBInstanceAutomatedBackup, DBParameterGroup, DBProxy, DBProxyEndpoint, DBSecurityGroup, DBShardGroup, DBSnapshot, DBSubnetGroup, EventSubscription, ExportSourceType, ExportTask, GlobalCluster, Integration, OptionGroup, OptionSetting, ProcessorFeature, RdsCustomClusterConfiguration, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, ServerlessV2ScalingConfiguration, Tag, TenantDatabase, UserAuthConfig } from "./models_0";
|
|
3
3
|
import { RDSServiceException as __BaseException } from "./RDSServiceException";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteTenantDatabaseMessage {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The user-supplied identifier for the DB instance that contains the tenant database
|
|
10
|
+
* that you want to delete.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
DBInstanceIdentifier: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The user-supplied name of the tenant database that you want to remove from your DB
|
|
16
|
+
* instance. Amazon RDS deletes the tenant database with this name. This parameter isn’t
|
|
17
|
+
* case-sensitive.</p>
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
TenantDBName: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>Specifies whether to skip the creation of a final DB snapshot before removing the
|
|
23
|
+
* tenant database from your DB instance. If you enable this parameter, RDS doesn't create
|
|
24
|
+
* a DB snapshot. If you don't enable this parameter, RDS creates a DB snapshot before it
|
|
25
|
+
* deletes the tenant database. By default, RDS doesn't skip the final snapshot. If you
|
|
26
|
+
* don't enable this parameter, you must specify the <code>FinalDBSnapshotIdentifier</code>
|
|
27
|
+
* parameter.</p>
|
|
28
|
+
* @public
|
|
29
|
+
*/
|
|
30
|
+
SkipFinalSnapshot?: boolean | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* <p>The <code>DBSnapshotIdentifier</code> of the new <code>DBSnapshot</code> created when
|
|
33
|
+
* the <code>SkipFinalSnapshot</code> parameter is disabled.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>If you enable this parameter and also enable <code>SkipFinalShapshot</code>, the
|
|
36
|
+
* command results in an error.</p>
|
|
37
|
+
* </note>
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
FinalDBSnapshotIdentifier?: string | undefined;
|
|
41
|
+
}
|
|
4
42
|
/**
|
|
5
43
|
* @public
|
|
6
44
|
*/
|
|
@@ -1599,6 +1637,18 @@ export interface DescribeDBInstancesMessage {
|
|
|
1599
1637
|
*/
|
|
1600
1638
|
Marker?: string | undefined;
|
|
1601
1639
|
}
|
|
1640
|
+
/**
|
|
1641
|
+
* <p>An attempt to download or examine log files didn't succeed because an Aurora Serverless v2 instance was paused.</p>
|
|
1642
|
+
* @public
|
|
1643
|
+
*/
|
|
1644
|
+
export declare class DBInstanceNotReadyFault extends __BaseException {
|
|
1645
|
+
readonly name: "DBInstanceNotReadyFault";
|
|
1646
|
+
readonly $fault: "server";
|
|
1647
|
+
/**
|
|
1648
|
+
* @internal
|
|
1649
|
+
*/
|
|
1650
|
+
constructor(opts: __ExceptionOptionType<DBInstanceNotReadyFault, __BaseException>);
|
|
1651
|
+
}
|
|
1602
1652
|
/**
|
|
1603
1653
|
* <p></p>
|
|
1604
1654
|
* @public
|
|
@@ -6648,13 +6698,11 @@ export interface ModifyDBClusterMessage {
|
|
|
6648
6698
|
*/
|
|
6649
6699
|
NewDBClusterIdentifier?: string | undefined;
|
|
6650
6700
|
/**
|
|
6651
|
-
* <p>Specifies whether the modifications in this request
|
|
6652
|
-
*
|
|
6653
|
-
*
|
|
6654
|
-
*
|
|
6655
|
-
*
|
|
6656
|
-
* modifications, such as turning on deletion protection and changing the master password, are applied
|
|
6657
|
-
* immediately—regardless of when you choose to apply them.</p>
|
|
6701
|
+
* <p>Specifies whether the modifications in this request are asynchronously applied as soon as possible, regardless of the
|
|
6702
|
+
* <code>PreferredMaintenanceWindow</code> setting for the DB cluster. If this parameter is disabled, changes to the DB cluster
|
|
6703
|
+
* are applied during the next maintenance window.</p>
|
|
6704
|
+
* <p>Most modifications can be applied immediately or during the next scheduled maintenance window. Some modifications, such as
|
|
6705
|
+
* turning on deletion protection and changing the master password, are applied immediately—regardless of when you choose to apply them.</p>
|
|
6658
6706
|
* <p>By default, this parameter is disabled.</p>
|
|
6659
6707
|
* <p>Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters</p>
|
|
6660
6708
|
* @public
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
DeleteTenantDatabaseMessage,
|
|
5
|
+
DeleteTenantDatabaseResult,
|
|
6
|
+
} from "../models/models_1";
|
|
5
7
|
import {
|
|
6
8
|
RDSClientResolvedConfig,
|
|
7
9
|
ServiceInputTypes,
|
|
@@ -784,6 +784,10 @@ export interface CustomDBEngineVersionAMI {
|
|
|
784
784
|
ImageId?: string | undefined;
|
|
785
785
|
Status?: string | undefined;
|
|
786
786
|
}
|
|
787
|
+
export interface ServerlessV2FeaturesSupport {
|
|
788
|
+
MinCapacity?: number | undefined;
|
|
789
|
+
MaxCapacity?: number | undefined;
|
|
790
|
+
}
|
|
787
791
|
export interface Timezone {
|
|
788
792
|
TimezoneName?: string | undefined;
|
|
789
793
|
}
|
|
@@ -836,6 +840,7 @@ export interface DBEngineVersion {
|
|
|
836
840
|
SupportedCACertificateIdentifiers?: string[] | undefined;
|
|
837
841
|
SupportsLocalWriteForwarding?: boolean | undefined;
|
|
838
842
|
SupportsIntegrations?: boolean | undefined;
|
|
843
|
+
ServerlessV2FeaturesSupport?: ServerlessV2FeaturesSupport | undefined;
|
|
839
844
|
}
|
|
840
845
|
export declare class Ec2ImagePropertiesNotSupportedFault extends __BaseException {
|
|
841
846
|
readonly name: "Ec2ImagePropertiesNotSupportedFault";
|
|
@@ -874,6 +879,7 @@ export interface ScalingConfiguration {
|
|
|
874
879
|
export interface ServerlessV2ScalingConfiguration {
|
|
875
880
|
MinCapacity?: number | undefined;
|
|
876
881
|
MaxCapacity?: number | undefined;
|
|
882
|
+
SecondsUntilAutoPause?: number | undefined;
|
|
877
883
|
}
|
|
878
884
|
export interface CreateDBClusterMessage {
|
|
879
885
|
AvailabilityZones?: string[] | undefined;
|
|
@@ -1029,6 +1035,7 @@ export interface ScalingConfigurationInfo {
|
|
|
1029
1035
|
export interface ServerlessV2ScalingConfigurationInfo {
|
|
1030
1036
|
MinCapacity?: number | undefined;
|
|
1031
1037
|
MaxCapacity?: number | undefined;
|
|
1038
|
+
SecondsUntilAutoPause?: number | undefined;
|
|
1032
1039
|
}
|
|
1033
1040
|
export interface DBClusterStatusInfo {
|
|
1034
1041
|
StatusType?: string | undefined;
|
|
@@ -2533,12 +2540,6 @@ export declare class InvalidOptionGroupStateFault extends __BaseException {
|
|
|
2533
2540
|
opts: __ExceptionOptionType<InvalidOptionGroupStateFault, __BaseException>
|
|
2534
2541
|
);
|
|
2535
2542
|
}
|
|
2536
|
-
export interface DeleteTenantDatabaseMessage {
|
|
2537
|
-
DBInstanceIdentifier: string | undefined;
|
|
2538
|
-
TenantDBName: string | undefined;
|
|
2539
|
-
SkipFinalSnapshot?: boolean | undefined;
|
|
2540
|
-
FinalDBSnapshotIdentifier?: string | undefined;
|
|
2541
|
-
}
|
|
2542
2543
|
export declare const CreateTenantDatabaseMessageFilterSensitiveLog: (
|
|
2543
2544
|
obj: CreateTenantDatabaseMessage
|
|
2544
2545
|
) => any;
|
|
@@ -40,6 +40,12 @@ import {
|
|
|
40
40
|
UserAuthConfig,
|
|
41
41
|
} from "./models_0";
|
|
42
42
|
import { RDSServiceException as __BaseException } from "./RDSServiceException";
|
|
43
|
+
export interface DeleteTenantDatabaseMessage {
|
|
44
|
+
DBInstanceIdentifier: string | undefined;
|
|
45
|
+
TenantDBName: string | undefined;
|
|
46
|
+
SkipFinalSnapshot?: boolean | undefined;
|
|
47
|
+
FinalDBSnapshotIdentifier?: string | undefined;
|
|
48
|
+
}
|
|
43
49
|
export interface DeleteTenantDatabaseResult {
|
|
44
50
|
TenantDatabase?: TenantDatabase | undefined;
|
|
45
51
|
}
|
|
@@ -255,6 +261,13 @@ export interface DescribeDBInstancesMessage {
|
|
|
255
261
|
MaxRecords?: number | undefined;
|
|
256
262
|
Marker?: string | undefined;
|
|
257
263
|
}
|
|
264
|
+
export declare class DBInstanceNotReadyFault extends __BaseException {
|
|
265
|
+
readonly name: "DBInstanceNotReadyFault";
|
|
266
|
+
readonly $fault: "server";
|
|
267
|
+
constructor(
|
|
268
|
+
opts: __ExceptionOptionType<DBInstanceNotReadyFault, __BaseException>
|
|
269
|
+
);
|
|
270
|
+
}
|
|
258
271
|
export interface DescribeDBLogFilesMessage {
|
|
259
272
|
DBInstanceIdentifier: string | undefined;
|
|
260
273
|
FilenameContains?: string | undefined;
|
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.
|
|
4
|
+
"version": "3.695.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-rds",
|
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-sdk-rds": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.693.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.693.0",
|
|
25
|
+
"@aws-sdk/core": "3.693.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.693.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.693.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.693.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.693.0",
|
|
30
|
+
"@aws-sdk/middleware-sdk-rds": "3.693.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.693.0",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "3.693.0",
|
|
33
33
|
"@aws-sdk/types": "3.692.0",
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.693.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.693.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.693.0",
|
|
37
37
|
"@smithy/config-resolver": "^3.0.11",
|
|
38
38
|
"@smithy/core": "^2.5.2",
|
|
39
39
|
"@smithy/fetch-http-handler": "^4.1.0",
|