@aws-sdk/client-rds 3.379.1 → 3.382.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/README.md +16 -0
- package/dist-cjs/RDS.js +4 -0
- package/dist-cjs/commands/DeleteDBClusterAutomatedBackupCommand.js +46 -0
- package/dist-cjs/commands/DescribeDBClusterAutomatedBackupsCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/models/models_0.js +48 -2
- package/dist-cjs/protocols/Aws_query.js +316 -6
- package/dist-es/RDS.js +4 -0
- package/dist-es/commands/DeleteDBClusterAutomatedBackupCommand.js +42 -0
- package/dist-es/commands/DescribeDBClusterAutomatedBackupsCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +43 -0
- package/dist-es/protocols/Aws_query.js +307 -1
- package/dist-types/RDS.d.ts +14 -0
- package/dist-types/RDSClient.d.ts +4 -2
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDBClusterCommand.d.ts +2 -0
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +110 -0
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +6 -0
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +122 -0
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBParameterGroupsCommand.d.ts +1 -1
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +2 -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 +1 -0
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +6 -1
- package/dist-types/commands/StartDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -1
- package/dist-types/commands/StopDBClusterCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1357 -322
- package/dist-types/models/models_1.d.ts +1199 -2
- package/dist-types/protocols/Aws_query.d.ts +18 -0
- package/dist-types/ts3.4/RDS.d.ts +40 -0
- package/dist-types/ts3.4/RDSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DeleteDBClusterAutomatedBackupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBLogFilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBParameterGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +92 -54
- package/dist-types/ts3.4/models/models_1.d.ts +54 -1
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
2
|
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, {
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ endpoint: { url: "https://rds-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://rds.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://rds-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://rds.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://rds.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -566,6 +566,13 @@ export const WriteForwardingStatus = {
|
|
|
566
566
|
ENABLING: "enabling",
|
|
567
567
|
UNKNOWN: "unknown",
|
|
568
568
|
};
|
|
569
|
+
export const LocalWriteForwardingStatus = {
|
|
570
|
+
DISABLED: "disabled",
|
|
571
|
+
DISABLING: "disabling",
|
|
572
|
+
ENABLED: "enabled",
|
|
573
|
+
ENABLING: "enabling",
|
|
574
|
+
REQUESTED: "requested",
|
|
575
|
+
};
|
|
569
576
|
export class DBClusterAlreadyExistsFault extends __BaseException {
|
|
570
577
|
constructor(opts) {
|
|
571
578
|
super({
|
|
@@ -1161,6 +1168,42 @@ export class InvalidCustomDBEngineVersionStateFault extends __BaseException {
|
|
|
1161
1168
|
Object.setPrototypeOf(this, InvalidCustomDBEngineVersionStateFault.prototype);
|
|
1162
1169
|
}
|
|
1163
1170
|
}
|
|
1171
|
+
export class DBClusterAutomatedBackupQuotaExceededFault extends __BaseException {
|
|
1172
|
+
constructor(opts) {
|
|
1173
|
+
super({
|
|
1174
|
+
name: "DBClusterAutomatedBackupQuotaExceededFault",
|
|
1175
|
+
$fault: "client",
|
|
1176
|
+
...opts,
|
|
1177
|
+
});
|
|
1178
|
+
this.name = "DBClusterAutomatedBackupQuotaExceededFault";
|
|
1179
|
+
this.$fault = "client";
|
|
1180
|
+
Object.setPrototypeOf(this, DBClusterAutomatedBackupQuotaExceededFault.prototype);
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
export class DBClusterAutomatedBackupNotFoundFault extends __BaseException {
|
|
1184
|
+
constructor(opts) {
|
|
1185
|
+
super({
|
|
1186
|
+
name: "DBClusterAutomatedBackupNotFoundFault",
|
|
1187
|
+
$fault: "client",
|
|
1188
|
+
...opts,
|
|
1189
|
+
});
|
|
1190
|
+
this.name = "DBClusterAutomatedBackupNotFoundFault";
|
|
1191
|
+
this.$fault = "client";
|
|
1192
|
+
Object.setPrototypeOf(this, DBClusterAutomatedBackupNotFoundFault.prototype);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
export class InvalidDBClusterAutomatedBackupStateFault extends __BaseException {
|
|
1196
|
+
constructor(opts) {
|
|
1197
|
+
super({
|
|
1198
|
+
name: "InvalidDBClusterAutomatedBackupStateFault",
|
|
1199
|
+
$fault: "client",
|
|
1200
|
+
...opts,
|
|
1201
|
+
});
|
|
1202
|
+
this.name = "InvalidDBClusterAutomatedBackupStateFault";
|
|
1203
|
+
this.$fault = "client";
|
|
1204
|
+
Object.setPrototypeOf(this, InvalidDBClusterAutomatedBackupStateFault.prototype);
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1164
1207
|
export class DBClusterEndpointNotFoundFault extends __BaseException {
|
|
1165
1208
|
constructor(opts) {
|
|
1166
1209
|
super({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { XMLParser } from "fast-xml-parser";
|
|
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";
|
|
4
|
+
import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, BlueGreenDeploymentAlreadyExistsFault, BlueGreenDeploymentNotFoundFault, CertificateNotFoundFault, CreateCustomDBEngineVersionFault, CustomAvailabilityZoneNotFoundFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, DBClusterAlreadyExistsFault, DBClusterAutomatedBackupNotFoundFault, DBClusterAutomatedBackupQuotaExceededFault, 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, InvalidDBClusterAutomatedBackupStateFault, 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, StorageTypeNotAvailableFault, SubnetAlreadyInUse, } from "../models/models_1";
|
|
6
6
|
import { RDSServiceException as __BaseException } from "../models/RDSServiceException";
|
|
7
7
|
export const se_AddRoleToDBClusterCommand = async (input, context) => {
|
|
@@ -334,6 +334,16 @@ export const se_DeleteDBClusterCommand = async (input, context) => {
|
|
|
334
334
|
});
|
|
335
335
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
336
336
|
};
|
|
337
|
+
export const se_DeleteDBClusterAutomatedBackupCommand = async (input, context) => {
|
|
338
|
+
const headers = SHARED_HEADERS;
|
|
339
|
+
let body;
|
|
340
|
+
body = buildFormUrlencodedString({
|
|
341
|
+
...se_DeleteDBClusterAutomatedBackupMessage(input, context),
|
|
342
|
+
Action: "DeleteDBClusterAutomatedBackup",
|
|
343
|
+
Version: "2014-10-31",
|
|
344
|
+
});
|
|
345
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
346
|
+
};
|
|
337
347
|
export const se_DeleteDBClusterEndpointCommand = async (input, context) => {
|
|
338
348
|
const headers = SHARED_HEADERS;
|
|
339
349
|
let body;
|
|
@@ -514,6 +524,16 @@ export const se_DescribeCertificatesCommand = async (input, context) => {
|
|
|
514
524
|
});
|
|
515
525
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
516
526
|
};
|
|
527
|
+
export const se_DescribeDBClusterAutomatedBackupsCommand = async (input, context) => {
|
|
528
|
+
const headers = SHARED_HEADERS;
|
|
529
|
+
let body;
|
|
530
|
+
body = buildFormUrlencodedString({
|
|
531
|
+
...se_DescribeDBClusterAutomatedBackupsMessage(input, context),
|
|
532
|
+
Action: "DescribeDBClusterAutomatedBackups",
|
|
533
|
+
Version: "2014-10-31",
|
|
534
|
+
});
|
|
535
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
536
|
+
};
|
|
517
537
|
export const se_DescribeDBClusterBacktracksCommand = async (input, context) => {
|
|
518
538
|
const headers = SHARED_HEADERS;
|
|
519
539
|
let body;
|
|
@@ -2884,6 +2904,9 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
2884
2904
|
};
|
|
2885
2905
|
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2886
2906
|
switch (errorCode) {
|
|
2907
|
+
case "DBClusterAutomatedBackupQuotaExceededFault":
|
|
2908
|
+
case "com.amazonaws.rds#DBClusterAutomatedBackupQuotaExceededFault":
|
|
2909
|
+
throw await de_DBClusterAutomatedBackupQuotaExceededFaultRes(parsedOutput, context);
|
|
2887
2910
|
case "DBClusterNotFoundFault":
|
|
2888
2911
|
case "com.amazonaws.rds#DBClusterNotFoundFault":
|
|
2889
2912
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
@@ -2908,6 +2931,41 @@ const de_DeleteDBClusterCommandError = async (output, context) => {
|
|
|
2908
2931
|
});
|
|
2909
2932
|
}
|
|
2910
2933
|
};
|
|
2934
|
+
export const de_DeleteDBClusterAutomatedBackupCommand = async (output, context) => {
|
|
2935
|
+
if (output.statusCode >= 300) {
|
|
2936
|
+
return de_DeleteDBClusterAutomatedBackupCommandError(output, context);
|
|
2937
|
+
}
|
|
2938
|
+
const data = await parseBody(output.body, context);
|
|
2939
|
+
let contents = {};
|
|
2940
|
+
contents = de_DeleteDBClusterAutomatedBackupResult(data.DeleteDBClusterAutomatedBackupResult, context);
|
|
2941
|
+
const response = {
|
|
2942
|
+
$metadata: deserializeMetadata(output),
|
|
2943
|
+
...contents,
|
|
2944
|
+
};
|
|
2945
|
+
return response;
|
|
2946
|
+
};
|
|
2947
|
+
const de_DeleteDBClusterAutomatedBackupCommandError = async (output, context) => {
|
|
2948
|
+
const parsedOutput = {
|
|
2949
|
+
...output,
|
|
2950
|
+
body: await parseErrorBody(output.body, context),
|
|
2951
|
+
};
|
|
2952
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2953
|
+
switch (errorCode) {
|
|
2954
|
+
case "DBClusterAutomatedBackupNotFoundFault":
|
|
2955
|
+
case "com.amazonaws.rds#DBClusterAutomatedBackupNotFoundFault":
|
|
2956
|
+
throw await de_DBClusterAutomatedBackupNotFoundFaultRes(parsedOutput, context);
|
|
2957
|
+
case "InvalidDBClusterAutomatedBackupStateFault":
|
|
2958
|
+
case "com.amazonaws.rds#InvalidDBClusterAutomatedBackupStateFault":
|
|
2959
|
+
throw await de_InvalidDBClusterAutomatedBackupStateFaultRes(parsedOutput, context);
|
|
2960
|
+
default:
|
|
2961
|
+
const parsedBody = parsedOutput.body;
|
|
2962
|
+
return throwDefaultError({
|
|
2963
|
+
output,
|
|
2964
|
+
parsedBody: parsedBody.Error,
|
|
2965
|
+
errorCode,
|
|
2966
|
+
});
|
|
2967
|
+
}
|
|
2968
|
+
};
|
|
2911
2969
|
export const de_DeleteDBClusterEndpointCommand = async (output, context) => {
|
|
2912
2970
|
if (output.statusCode >= 300) {
|
|
2913
2971
|
return de_DeleteDBClusterEndpointCommandError(output, context);
|
|
@@ -3532,6 +3590,38 @@ const de_DescribeCertificatesCommandError = async (output, context) => {
|
|
|
3532
3590
|
});
|
|
3533
3591
|
}
|
|
3534
3592
|
};
|
|
3593
|
+
export const de_DescribeDBClusterAutomatedBackupsCommand = async (output, context) => {
|
|
3594
|
+
if (output.statusCode >= 300) {
|
|
3595
|
+
return de_DescribeDBClusterAutomatedBackupsCommandError(output, context);
|
|
3596
|
+
}
|
|
3597
|
+
const data = await parseBody(output.body, context);
|
|
3598
|
+
let contents = {};
|
|
3599
|
+
contents = de_DBClusterAutomatedBackupMessage(data.DescribeDBClusterAutomatedBackupsResult, context);
|
|
3600
|
+
const response = {
|
|
3601
|
+
$metadata: deserializeMetadata(output),
|
|
3602
|
+
...contents,
|
|
3603
|
+
};
|
|
3604
|
+
return response;
|
|
3605
|
+
};
|
|
3606
|
+
const de_DescribeDBClusterAutomatedBackupsCommandError = async (output, context) => {
|
|
3607
|
+
const parsedOutput = {
|
|
3608
|
+
...output,
|
|
3609
|
+
body: await parseErrorBody(output.body, context),
|
|
3610
|
+
};
|
|
3611
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3612
|
+
switch (errorCode) {
|
|
3613
|
+
case "DBClusterAutomatedBackupNotFoundFault":
|
|
3614
|
+
case "com.amazonaws.rds#DBClusterAutomatedBackupNotFoundFault":
|
|
3615
|
+
throw await de_DBClusterAutomatedBackupNotFoundFaultRes(parsedOutput, context);
|
|
3616
|
+
default:
|
|
3617
|
+
const parsedBody = parsedOutput.body;
|
|
3618
|
+
return throwDefaultError({
|
|
3619
|
+
output,
|
|
3620
|
+
parsedBody: parsedBody.Error,
|
|
3621
|
+
errorCode,
|
|
3622
|
+
});
|
|
3623
|
+
}
|
|
3624
|
+
};
|
|
3535
3625
|
export const de_DescribeDBClusterBacktracksCommand = async (output, context) => {
|
|
3536
3626
|
if (output.statusCode >= 300) {
|
|
3537
3627
|
return de_DescribeDBClusterBacktracksCommandError(output, context);
|
|
@@ -6304,6 +6394,9 @@ const de_RestoreDBClusterToPointInTimeCommandError = async (output, context) =>
|
|
|
6304
6394
|
case "DBClusterAlreadyExistsFault":
|
|
6305
6395
|
case "com.amazonaws.rds#DBClusterAlreadyExistsFault":
|
|
6306
6396
|
throw await de_DBClusterAlreadyExistsFaultRes(parsedOutput, context);
|
|
6397
|
+
case "DBClusterAutomatedBackupNotFoundFault":
|
|
6398
|
+
case "com.amazonaws.rds#DBClusterAutomatedBackupNotFoundFault":
|
|
6399
|
+
throw await de_DBClusterAutomatedBackupNotFoundFaultRes(parsedOutput, context);
|
|
6307
6400
|
case "DBClusterNotFoundFault":
|
|
6308
6401
|
case "com.amazonaws.rds#DBClusterNotFoundFault":
|
|
6309
6402
|
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
@@ -7276,6 +7369,24 @@ const de_DBClusterAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
|
7276
7369
|
});
|
|
7277
7370
|
return __decorateServiceException(exception, body);
|
|
7278
7371
|
};
|
|
7372
|
+
const de_DBClusterAutomatedBackupNotFoundFaultRes = async (parsedOutput, context) => {
|
|
7373
|
+
const body = parsedOutput.body;
|
|
7374
|
+
const deserialized = de_DBClusterAutomatedBackupNotFoundFault(body.Error, context);
|
|
7375
|
+
const exception = new DBClusterAutomatedBackupNotFoundFault({
|
|
7376
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7377
|
+
...deserialized,
|
|
7378
|
+
});
|
|
7379
|
+
return __decorateServiceException(exception, body);
|
|
7380
|
+
};
|
|
7381
|
+
const de_DBClusterAutomatedBackupQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
7382
|
+
const body = parsedOutput.body;
|
|
7383
|
+
const deserialized = de_DBClusterAutomatedBackupQuotaExceededFault(body.Error, context);
|
|
7384
|
+
const exception = new DBClusterAutomatedBackupQuotaExceededFault({
|
|
7385
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7386
|
+
...deserialized,
|
|
7387
|
+
});
|
|
7388
|
+
return __decorateServiceException(exception, body);
|
|
7389
|
+
};
|
|
7279
7390
|
const de_DBClusterBacktrackNotFoundFaultRes = async (parsedOutput, context) => {
|
|
7280
7391
|
const body = parsedOutput.body;
|
|
7281
7392
|
const deserialized = de_DBClusterBacktrackNotFoundFault(body.Error, context);
|
|
@@ -7834,6 +7945,15 @@ const de_InvalidCustomDBEngineVersionStateFaultRes = async (parsedOutput, contex
|
|
|
7834
7945
|
});
|
|
7835
7946
|
return __decorateServiceException(exception, body);
|
|
7836
7947
|
};
|
|
7948
|
+
const de_InvalidDBClusterAutomatedBackupStateFaultRes = async (parsedOutput, context) => {
|
|
7949
|
+
const body = parsedOutput.body;
|
|
7950
|
+
const deserialized = de_InvalidDBClusterAutomatedBackupStateFault(body.Error, context);
|
|
7951
|
+
const exception = new InvalidDBClusterAutomatedBackupStateFault({
|
|
7952
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
7953
|
+
...deserialized,
|
|
7954
|
+
});
|
|
7955
|
+
return __decorateServiceException(exception, body);
|
|
7956
|
+
};
|
|
7837
7957
|
const de_InvalidDBClusterCapacityFaultRes = async (parsedOutput, context) => {
|
|
7838
7958
|
const body = parsedOutput.body;
|
|
7839
7959
|
const deserialized = de_InvalidDBClusterCapacityFault(body.Error, context);
|
|
@@ -8906,6 +9026,9 @@ const se_CreateDBClusterMessage = (input, context) => {
|
|
|
8906
9026
|
if (input.MasterUserSecretKmsKeyId != null) {
|
|
8907
9027
|
entries["MasterUserSecretKmsKeyId"] = input.MasterUserSecretKmsKeyId;
|
|
8908
9028
|
}
|
|
9029
|
+
if (input.EnableLocalWriteForwarding != null) {
|
|
9030
|
+
entries["EnableLocalWriteForwarding"] = input.EnableLocalWriteForwarding;
|
|
9031
|
+
}
|
|
8909
9032
|
return entries;
|
|
8910
9033
|
};
|
|
8911
9034
|
const se_CreateDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -9669,6 +9792,13 @@ const se_DeleteCustomDBEngineVersionMessage = (input, context) => {
|
|
|
9669
9792
|
}
|
|
9670
9793
|
return entries;
|
|
9671
9794
|
};
|
|
9795
|
+
const se_DeleteDBClusterAutomatedBackupMessage = (input, context) => {
|
|
9796
|
+
const entries = {};
|
|
9797
|
+
if (input.DbClusterResourceId != null) {
|
|
9798
|
+
entries["DbClusterResourceId"] = input.DbClusterResourceId;
|
|
9799
|
+
}
|
|
9800
|
+
return entries;
|
|
9801
|
+
};
|
|
9672
9802
|
const se_DeleteDBClusterEndpointMessage = (input, context) => {
|
|
9673
9803
|
const entries = {};
|
|
9674
9804
|
if (input.DBClusterEndpointIdentifier != null) {
|
|
@@ -9687,6 +9817,9 @@ const se_DeleteDBClusterMessage = (input, context) => {
|
|
|
9687
9817
|
if (input.FinalDBSnapshotIdentifier != null) {
|
|
9688
9818
|
entries["FinalDBSnapshotIdentifier"] = input.FinalDBSnapshotIdentifier;
|
|
9689
9819
|
}
|
|
9820
|
+
if (input.DeleteAutomatedBackups != null) {
|
|
9821
|
+
entries["DeleteAutomatedBackups"] = input.DeleteAutomatedBackups;
|
|
9822
|
+
}
|
|
9690
9823
|
return entries;
|
|
9691
9824
|
};
|
|
9692
9825
|
const se_DeleteDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -9872,6 +10005,32 @@ const se_DescribeCertificatesMessage = (input, context) => {
|
|
|
9872
10005
|
}
|
|
9873
10006
|
return entries;
|
|
9874
10007
|
};
|
|
10008
|
+
const se_DescribeDBClusterAutomatedBackupsMessage = (input, context) => {
|
|
10009
|
+
const entries = {};
|
|
10010
|
+
if (input.DbClusterResourceId != null) {
|
|
10011
|
+
entries["DbClusterResourceId"] = input.DbClusterResourceId;
|
|
10012
|
+
}
|
|
10013
|
+
if (input.DBClusterIdentifier != null) {
|
|
10014
|
+
entries["DBClusterIdentifier"] = input.DBClusterIdentifier;
|
|
10015
|
+
}
|
|
10016
|
+
if (input.Filters != null) {
|
|
10017
|
+
const memberEntries = se_FilterList(input.Filters, context);
|
|
10018
|
+
if (input.Filters?.length === 0) {
|
|
10019
|
+
entries.Filters = [];
|
|
10020
|
+
}
|
|
10021
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10022
|
+
const loc = `Filters.${key}`;
|
|
10023
|
+
entries[loc] = value;
|
|
10024
|
+
});
|
|
10025
|
+
}
|
|
10026
|
+
if (input.MaxRecords != null) {
|
|
10027
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
10028
|
+
}
|
|
10029
|
+
if (input.Marker != null) {
|
|
10030
|
+
entries["Marker"] = input.Marker;
|
|
10031
|
+
}
|
|
10032
|
+
return entries;
|
|
10033
|
+
};
|
|
9875
10034
|
const se_DescribeDBClusterBacktracksMessage = (input, context) => {
|
|
9876
10035
|
const entries = {};
|
|
9877
10036
|
if (input.DBClusterIdentifier != null) {
|
|
@@ -10039,6 +10198,9 @@ const se_DescribeDBClusterSnapshotsMessage = (input, context) => {
|
|
|
10039
10198
|
if (input.IncludePublic != null) {
|
|
10040
10199
|
entries["IncludePublic"] = input.IncludePublic;
|
|
10041
10200
|
}
|
|
10201
|
+
if (input.DbClusterResourceId != null) {
|
|
10202
|
+
entries["DbClusterResourceId"] = input.DbClusterResourceId;
|
|
10203
|
+
}
|
|
10042
10204
|
return entries;
|
|
10043
10205
|
};
|
|
10044
10206
|
const se_DescribeDBEngineVersionsMessage = (input, context) => {
|
|
@@ -11189,6 +11351,9 @@ const se_ModifyDBClusterMessage = (input, context) => {
|
|
|
11189
11351
|
if (input.AllowEngineModeChange != null) {
|
|
11190
11352
|
entries["AllowEngineModeChange"] = input.AllowEngineModeChange;
|
|
11191
11353
|
}
|
|
11354
|
+
if (input.EnableLocalWriteForwarding != null) {
|
|
11355
|
+
entries["EnableLocalWriteForwarding"] = input.EnableLocalWriteForwarding;
|
|
11356
|
+
}
|
|
11192
11357
|
return entries;
|
|
11193
11358
|
};
|
|
11194
11359
|
const se_ModifyDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -12458,6 +12623,9 @@ const se_RestoreDBClusterToPointInTimeMessage = (input, context) => {
|
|
|
12458
12623
|
if (input.NetworkType != null) {
|
|
12459
12624
|
entries["NetworkType"] = input.NetworkType;
|
|
12460
12625
|
}
|
|
12626
|
+
if (input.SourceDbClusterResourceId != null) {
|
|
12627
|
+
entries["SourceDbClusterResourceId"] = input.SourceDbClusterResourceId;
|
|
12628
|
+
}
|
|
12461
12629
|
return entries;
|
|
12462
12630
|
};
|
|
12463
12631
|
const se_RestoreDBInstanceFromDBSnapshotMessage = (input, context) => {
|
|
@@ -14052,6 +14220,9 @@ const de_DBCluster = (output, context) => {
|
|
|
14052
14220
|
if (output["IOOptimizedNextAllowedModificationTime"] !== undefined) {
|
|
14053
14221
|
contents.IOOptimizedNextAllowedModificationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["IOOptimizedNextAllowedModificationTime"]));
|
|
14054
14222
|
}
|
|
14223
|
+
if (output["LocalWriteForwardingStatus"] !== undefined) {
|
|
14224
|
+
contents.LocalWriteForwardingStatus = __expectString(output["LocalWriteForwardingStatus"]);
|
|
14225
|
+
}
|
|
14055
14226
|
return contents;
|
|
14056
14227
|
};
|
|
14057
14228
|
const de_DBClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -14061,6 +14232,118 @@ const de_DBClusterAlreadyExistsFault = (output, context) => {
|
|
|
14061
14232
|
}
|
|
14062
14233
|
return contents;
|
|
14063
14234
|
};
|
|
14235
|
+
const de_DBClusterAutomatedBackup = (output, context) => {
|
|
14236
|
+
const contents = {};
|
|
14237
|
+
if (output["Engine"] !== undefined) {
|
|
14238
|
+
contents.Engine = __expectString(output["Engine"]);
|
|
14239
|
+
}
|
|
14240
|
+
if (output["VpcId"] !== undefined) {
|
|
14241
|
+
contents.VpcId = __expectString(output["VpcId"]);
|
|
14242
|
+
}
|
|
14243
|
+
if (output["DBClusterAutomatedBackupsArn"] !== undefined) {
|
|
14244
|
+
contents.DBClusterAutomatedBackupsArn = __expectString(output["DBClusterAutomatedBackupsArn"]);
|
|
14245
|
+
}
|
|
14246
|
+
if (output["DBClusterIdentifier"] !== undefined) {
|
|
14247
|
+
contents.DBClusterIdentifier = __expectString(output["DBClusterIdentifier"]);
|
|
14248
|
+
}
|
|
14249
|
+
if (output["RestoreWindow"] !== undefined) {
|
|
14250
|
+
contents.RestoreWindow = de_RestoreWindow(output["RestoreWindow"], context);
|
|
14251
|
+
}
|
|
14252
|
+
if (output["MasterUsername"] !== undefined) {
|
|
14253
|
+
contents.MasterUsername = __expectString(output["MasterUsername"]);
|
|
14254
|
+
}
|
|
14255
|
+
if (output["DbClusterResourceId"] !== undefined) {
|
|
14256
|
+
contents.DbClusterResourceId = __expectString(output["DbClusterResourceId"]);
|
|
14257
|
+
}
|
|
14258
|
+
if (output["Region"] !== undefined) {
|
|
14259
|
+
contents.Region = __expectString(output["Region"]);
|
|
14260
|
+
}
|
|
14261
|
+
if (output["LicenseModel"] !== undefined) {
|
|
14262
|
+
contents.LicenseModel = __expectString(output["LicenseModel"]);
|
|
14263
|
+
}
|
|
14264
|
+
if (output["Status"] !== undefined) {
|
|
14265
|
+
contents.Status = __expectString(output["Status"]);
|
|
14266
|
+
}
|
|
14267
|
+
if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
|
|
14268
|
+
contents.IAMDatabaseAuthenticationEnabled = __parseBoolean(output["IAMDatabaseAuthenticationEnabled"]);
|
|
14269
|
+
}
|
|
14270
|
+
if (output["ClusterCreateTime"] !== undefined) {
|
|
14271
|
+
contents.ClusterCreateTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ClusterCreateTime"]));
|
|
14272
|
+
}
|
|
14273
|
+
if (output["StorageEncrypted"] !== undefined) {
|
|
14274
|
+
contents.StorageEncrypted = __parseBoolean(output["StorageEncrypted"]);
|
|
14275
|
+
}
|
|
14276
|
+
if (output["AllocatedStorage"] !== undefined) {
|
|
14277
|
+
contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]);
|
|
14278
|
+
}
|
|
14279
|
+
if (output["EngineVersion"] !== undefined) {
|
|
14280
|
+
contents.EngineVersion = __expectString(output["EngineVersion"]);
|
|
14281
|
+
}
|
|
14282
|
+
if (output["DBClusterArn"] !== undefined) {
|
|
14283
|
+
contents.DBClusterArn = __expectString(output["DBClusterArn"]);
|
|
14284
|
+
}
|
|
14285
|
+
if (output["BackupRetentionPeriod"] !== undefined) {
|
|
14286
|
+
contents.BackupRetentionPeriod = __strictParseInt32(output["BackupRetentionPeriod"]);
|
|
14287
|
+
}
|
|
14288
|
+
if (output["EngineMode"] !== undefined) {
|
|
14289
|
+
contents.EngineMode = __expectString(output["EngineMode"]);
|
|
14290
|
+
}
|
|
14291
|
+
if (output.AvailabilityZones === "") {
|
|
14292
|
+
contents.AvailabilityZones = [];
|
|
14293
|
+
}
|
|
14294
|
+
else if (output["AvailabilityZones"] !== undefined &&
|
|
14295
|
+
output["AvailabilityZones"]["AvailabilityZone"] !== undefined) {
|
|
14296
|
+
contents.AvailabilityZones = de_AvailabilityZones(__getArrayIfSingleItem(output["AvailabilityZones"]["AvailabilityZone"]), context);
|
|
14297
|
+
}
|
|
14298
|
+
if (output["Port"] !== undefined) {
|
|
14299
|
+
contents.Port = __strictParseInt32(output["Port"]);
|
|
14300
|
+
}
|
|
14301
|
+
if (output["KmsKeyId"] !== undefined) {
|
|
14302
|
+
contents.KmsKeyId = __expectString(output["KmsKeyId"]);
|
|
14303
|
+
}
|
|
14304
|
+
if (output["StorageType"] !== undefined) {
|
|
14305
|
+
contents.StorageType = __expectString(output["StorageType"]);
|
|
14306
|
+
}
|
|
14307
|
+
if (output["Iops"] !== undefined) {
|
|
14308
|
+
contents.Iops = __strictParseInt32(output["Iops"]);
|
|
14309
|
+
}
|
|
14310
|
+
return contents;
|
|
14311
|
+
};
|
|
14312
|
+
const de_DBClusterAutomatedBackupList = (output, context) => {
|
|
14313
|
+
return (output || [])
|
|
14314
|
+
.filter((e) => e != null)
|
|
14315
|
+
.map((entry) => {
|
|
14316
|
+
return de_DBClusterAutomatedBackup(entry, context);
|
|
14317
|
+
});
|
|
14318
|
+
};
|
|
14319
|
+
const de_DBClusterAutomatedBackupMessage = (output, context) => {
|
|
14320
|
+
const contents = {};
|
|
14321
|
+
if (output["Marker"] !== undefined) {
|
|
14322
|
+
contents.Marker = __expectString(output["Marker"]);
|
|
14323
|
+
}
|
|
14324
|
+
if (output.DBClusterAutomatedBackups === "") {
|
|
14325
|
+
contents.DBClusterAutomatedBackups = [];
|
|
14326
|
+
}
|
|
14327
|
+
else if (output["DBClusterAutomatedBackups"] !== undefined &&
|
|
14328
|
+
output["DBClusterAutomatedBackups"]["DBClusterAutomatedBackup"] !== undefined) {
|
|
14329
|
+
contents.DBClusterAutomatedBackups = de_DBClusterAutomatedBackupList(__getArrayIfSingleItem(output["DBClusterAutomatedBackups"]["DBClusterAutomatedBackup"]), context);
|
|
14330
|
+
}
|
|
14331
|
+
return contents;
|
|
14332
|
+
};
|
|
14333
|
+
const de_DBClusterAutomatedBackupNotFoundFault = (output, context) => {
|
|
14334
|
+
const contents = {};
|
|
14335
|
+
if (output["message"] !== undefined) {
|
|
14336
|
+
contents.message = __expectString(output["message"]);
|
|
14337
|
+
}
|
|
14338
|
+
return contents;
|
|
14339
|
+
};
|
|
14340
|
+
const de_DBClusterAutomatedBackupQuotaExceededFault = (output, context) => {
|
|
14341
|
+
const contents = {};
|
|
14342
|
+
if (output["message"] !== undefined) {
|
|
14343
|
+
contents.message = __expectString(output["message"]);
|
|
14344
|
+
}
|
|
14345
|
+
return contents;
|
|
14346
|
+
};
|
|
14064
14347
|
const de_DBClusterBacktrack = (output, context) => {
|
|
14065
14348
|
const contents = {};
|
|
14066
14349
|
if (output["DBClusterIdentifier"] !== undefined) {
|
|
@@ -14472,6 +14755,9 @@ const de_DBClusterSnapshot = (output, context) => {
|
|
|
14472
14755
|
if (output["StorageType"] !== undefined) {
|
|
14473
14756
|
contents.StorageType = __expectString(output["StorageType"]);
|
|
14474
14757
|
}
|
|
14758
|
+
if (output["DbClusterResourceId"] !== undefined) {
|
|
14759
|
+
contents.DbClusterResourceId = __expectString(output["DbClusterResourceId"]);
|
|
14760
|
+
}
|
|
14475
14761
|
return contents;
|
|
14476
14762
|
};
|
|
14477
14763
|
const de_DBClusterSnapshotAlreadyExistsFault = (output, context) => {
|
|
@@ -14669,6 +14955,9 @@ const de_DBEngineVersion = (output, context) => {
|
|
|
14669
14955
|
output["SupportedCACertificateIdentifiers"]["member"] !== undefined) {
|
|
14670
14956
|
contents.SupportedCACertificateIdentifiers = de_CACertificateIdentifiersList(__getArrayIfSingleItem(output["SupportedCACertificateIdentifiers"]["member"]), context);
|
|
14671
14957
|
}
|
|
14958
|
+
if (output["SupportsLocalWriteForwarding"] !== undefined) {
|
|
14959
|
+
contents.SupportsLocalWriteForwarding = __parseBoolean(output["SupportsLocalWriteForwarding"]);
|
|
14960
|
+
}
|
|
14672
14961
|
return contents;
|
|
14673
14962
|
};
|
|
14674
14963
|
const de_DBEngineVersionList = (output, context) => {
|
|
@@ -15949,6 +16238,13 @@ const de_DeleteBlueGreenDeploymentResponse = (output, context) => {
|
|
|
15949
16238
|
}
|
|
15950
16239
|
return contents;
|
|
15951
16240
|
};
|
|
16241
|
+
const de_DeleteDBClusterAutomatedBackupResult = (output, context) => {
|
|
16242
|
+
const contents = {};
|
|
16243
|
+
if (output["DBClusterAutomatedBackup"] !== undefined) {
|
|
16244
|
+
contents.DBClusterAutomatedBackup = de_DBClusterAutomatedBackup(output["DBClusterAutomatedBackup"], context);
|
|
16245
|
+
}
|
|
16246
|
+
return contents;
|
|
16247
|
+
};
|
|
15952
16248
|
const de_DeleteDBClusterResult = (output, context) => {
|
|
15953
16249
|
const contents = {};
|
|
15954
16250
|
if (output["DBCluster"] !== undefined) {
|
|
@@ -16734,6 +17030,13 @@ const de_InvalidCustomDBEngineVersionStateFault = (output, context) => {
|
|
|
16734
17030
|
}
|
|
16735
17031
|
return contents;
|
|
16736
17032
|
};
|
|
17033
|
+
const de_InvalidDBClusterAutomatedBackupStateFault = (output, context) => {
|
|
17034
|
+
const contents = {};
|
|
17035
|
+
if (output["message"] !== undefined) {
|
|
17036
|
+
contents.message = __expectString(output["message"]);
|
|
17037
|
+
}
|
|
17038
|
+
return contents;
|
|
17039
|
+
};
|
|
16737
17040
|
const de_InvalidDBClusterCapacityFault = (output, context) => {
|
|
16738
17041
|
const contents = {};
|
|
16739
17042
|
if (output["message"] !== undefined) {
|
|
@@ -18590,6 +18893,9 @@ const de_UpgradeTarget = (output, context) => {
|
|
|
18590
18893
|
if (output["SupportsBabelfish"] !== undefined) {
|
|
18591
18894
|
contents.SupportsBabelfish = __parseBoolean(output["SupportsBabelfish"]);
|
|
18592
18895
|
}
|
|
18896
|
+
if (output["SupportsLocalWriteForwarding"] !== undefined) {
|
|
18897
|
+
contents.SupportsLocalWriteForwarding = __parseBoolean(output["SupportsLocalWriteForwarding"]);
|
|
18898
|
+
}
|
|
18593
18899
|
return contents;
|
|
18594
18900
|
};
|
|
18595
18901
|
const de_UserAuthConfigInfo = (output, context) => {
|
package/dist-types/RDS.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ import { CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput } fro
|
|
|
31
31
|
import { CreateOptionGroupCommandInput, CreateOptionGroupCommandOutput } from "./commands/CreateOptionGroupCommand";
|
|
32
32
|
import { DeleteBlueGreenDeploymentCommandInput, DeleteBlueGreenDeploymentCommandOutput } from "./commands/DeleteBlueGreenDeploymentCommand";
|
|
33
33
|
import { DeleteCustomDBEngineVersionCommandInput, DeleteCustomDBEngineVersionCommandOutput } from "./commands/DeleteCustomDBEngineVersionCommand";
|
|
34
|
+
import { DeleteDBClusterAutomatedBackupCommandInput, DeleteDBClusterAutomatedBackupCommandOutput } from "./commands/DeleteDBClusterAutomatedBackupCommand";
|
|
34
35
|
import { DeleteDBClusterCommandInput, DeleteDBClusterCommandOutput } from "./commands/DeleteDBClusterCommand";
|
|
35
36
|
import { DeleteDBClusterEndpointCommandInput, DeleteDBClusterEndpointCommandOutput } from "./commands/DeleteDBClusterEndpointCommand";
|
|
36
37
|
import { DeleteDBClusterParameterGroupCommandInput, DeleteDBClusterParameterGroupCommandOutput } from "./commands/DeleteDBClusterParameterGroupCommand";
|
|
@@ -50,6 +51,7 @@ import { DeregisterDBProxyTargetsCommandInput, DeregisterDBProxyTargetsCommandOu
|
|
|
50
51
|
import { DescribeAccountAttributesCommandInput, DescribeAccountAttributesCommandOutput } from "./commands/DescribeAccountAttributesCommand";
|
|
51
52
|
import { DescribeBlueGreenDeploymentsCommandInput, DescribeBlueGreenDeploymentsCommandOutput } from "./commands/DescribeBlueGreenDeploymentsCommand";
|
|
52
53
|
import { DescribeCertificatesCommandInput, DescribeCertificatesCommandOutput } from "./commands/DescribeCertificatesCommand";
|
|
54
|
+
import { DescribeDBClusterAutomatedBackupsCommandInput, DescribeDBClusterAutomatedBackupsCommandOutput } from "./commands/DescribeDBClusterAutomatedBackupsCommand";
|
|
53
55
|
import { DescribeDBClusterBacktracksCommandInput, DescribeDBClusterBacktracksCommandOutput } from "./commands/DescribeDBClusterBacktracksCommand";
|
|
54
56
|
import { DescribeDBClusterEndpointsCommandInput, DescribeDBClusterEndpointsCommandOutput } from "./commands/DescribeDBClusterEndpointsCommand";
|
|
55
57
|
import { DescribeDBClusterParameterGroupsCommandInput, DescribeDBClusterParameterGroupsCommandOutput } from "./commands/DescribeDBClusterParameterGroupsCommand";
|
|
@@ -340,6 +342,12 @@ export interface RDS {
|
|
|
340
342
|
deleteDBCluster(args: DeleteDBClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDBClusterCommandOutput>;
|
|
341
343
|
deleteDBCluster(args: DeleteDBClusterCommandInput, cb: (err: any, data?: DeleteDBClusterCommandOutput) => void): void;
|
|
342
344
|
deleteDBCluster(args: DeleteDBClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDBClusterCommandOutput) => void): void;
|
|
345
|
+
/**
|
|
346
|
+
* @see {@link DeleteDBClusterAutomatedBackupCommand}
|
|
347
|
+
*/
|
|
348
|
+
deleteDBClusterAutomatedBackup(args: DeleteDBClusterAutomatedBackupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDBClusterAutomatedBackupCommandOutput>;
|
|
349
|
+
deleteDBClusterAutomatedBackup(args: DeleteDBClusterAutomatedBackupCommandInput, cb: (err: any, data?: DeleteDBClusterAutomatedBackupCommandOutput) => void): void;
|
|
350
|
+
deleteDBClusterAutomatedBackup(args: DeleteDBClusterAutomatedBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDBClusterAutomatedBackupCommandOutput) => void): void;
|
|
343
351
|
/**
|
|
344
352
|
* @see {@link DeleteDBClusterEndpointCommand}
|
|
345
353
|
*/
|
|
@@ -448,6 +456,12 @@ export interface RDS {
|
|
|
448
456
|
describeCertificates(args: DescribeCertificatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCertificatesCommandOutput>;
|
|
449
457
|
describeCertificates(args: DescribeCertificatesCommandInput, cb: (err: any, data?: DescribeCertificatesCommandOutput) => void): void;
|
|
450
458
|
describeCertificates(args: DescribeCertificatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCertificatesCommandOutput) => void): void;
|
|
459
|
+
/**
|
|
460
|
+
* @see {@link DescribeDBClusterAutomatedBackupsCommand}
|
|
461
|
+
*/
|
|
462
|
+
describeDBClusterAutomatedBackups(args: DescribeDBClusterAutomatedBackupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDBClusterAutomatedBackupsCommandOutput>;
|
|
463
|
+
describeDBClusterAutomatedBackups(args: DescribeDBClusterAutomatedBackupsCommandInput, cb: (err: any, data?: DescribeDBClusterAutomatedBackupsCommandOutput) => void): void;
|
|
464
|
+
describeDBClusterAutomatedBackups(args: DescribeDBClusterAutomatedBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDBClusterAutomatedBackupsCommandOutput) => void): void;
|
|
451
465
|
/**
|
|
452
466
|
* @see {@link DescribeDBClusterBacktracksCommand}
|
|
453
467
|
*/
|