@aws-sdk/client-rds 3.58.0 → 3.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/RDS.js +0 -90
  4. package/dist-cjs/commands/DescribeDBProxyTargetsCommand.js +1 -2
  5. package/dist-cjs/commands/DescribeDBSecurityGroupsCommand.js +3 -3
  6. package/dist-cjs/commands/DescribeDBSnapshotAttributesCommand.js +2 -1
  7. package/dist-cjs/commands/index.js +0 -6
  8. package/dist-cjs/models/models_0.js +91 -122
  9. package/dist-cjs/models/models_1.js +4 -109
  10. package/dist-cjs/pagination/index.js +1 -3
  11. package/dist-cjs/protocols/Aws_query.js +68 -640
  12. package/dist-es/RDS.js +0 -90
  13. package/dist-es/commands/DescribeDBProxyTargetsCommand.js +1 -2
  14. package/dist-es/commands/DescribeDBSecurityGroupsCommand.js +1 -1
  15. package/dist-es/commands/DescribeDBSnapshotAttributesCommand.js +2 -1
  16. package/dist-es/commands/index.js +0 -6
  17. package/dist-es/models/models_0.js +66 -89
  18. package/dist-es/models/models_1.js +0 -82
  19. package/dist-es/pagination/index.js +1 -3
  20. package/dist-es/protocols/Aws_query.js +78 -717
  21. package/dist-types/RDS.d.ts +1 -61
  22. package/dist-types/RDSClient.d.ts +2 -8
  23. package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +2 -1
  26. package/dist-types/commands/ModifyCertificatesCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +0 -6
  28. package/dist-types/models/models_0.d.ts +304 -308
  29. package/dist-types/models/models_1.d.ts +223 -382
  30. package/dist-types/pagination/index.d.ts +1 -3
  31. package/dist-types/protocols/Aws_query.d.ts +0 -18
  32. package/dist-types/ts3.4/RDS.d.ts +0 -30
  33. package/dist-types/ts3.4/RDSClient.d.ts +2 -8
  34. package/dist-types/ts3.4/commands/DescribeDBProxyTargetsCommand.d.ts +1 -2
  35. package/dist-types/ts3.4/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/DescribeDBSnapshotAttributesCommand.d.ts +2 -1
  37. package/dist-types/ts3.4/commands/index.d.ts +0 -6
  38. package/dist-types/ts3.4/models/models_0.d.ts +151 -158
  39. package/dist-types/ts3.4/models/models_1.d.ts +9 -173
  40. package/dist-types/ts3.4/pagination/index.d.ts +1 -3
  41. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -18
  42. package/package.json +7 -7
  43. package/dist-cjs/commands/CreateCustomAvailabilityZoneCommand.js +0 -36
  44. package/dist-cjs/commands/DeleteCustomAvailabilityZoneCommand.js +0 -36
  45. package/dist-cjs/commands/DeleteInstallationMediaCommand.js +0 -36
  46. package/dist-cjs/commands/DescribeCustomAvailabilityZonesCommand.js +0 -36
  47. package/dist-cjs/commands/DescribeInstallationMediaCommand.js +0 -36
  48. package/dist-cjs/commands/ImportInstallationMediaCommand.js +0 -37
  49. package/dist-cjs/pagination/DescribeCustomAvailabilityZonesPaginator.js +0 -35
  50. package/dist-cjs/pagination/DescribeInstallationMediaPaginator.js +0 -35
  51. package/dist-es/commands/CreateCustomAvailabilityZoneCommand.js +0 -39
  52. package/dist-es/commands/DeleteCustomAvailabilityZoneCommand.js +0 -39
  53. package/dist-es/commands/DeleteInstallationMediaCommand.js +0 -39
  54. package/dist-es/commands/DescribeCustomAvailabilityZonesCommand.js +0 -39
  55. package/dist-es/commands/DescribeInstallationMediaCommand.js +0 -39
  56. package/dist-es/commands/ImportInstallationMediaCommand.js +0 -40
  57. package/dist-es/pagination/DescribeCustomAvailabilityZonesPaginator.js +0 -74
  58. package/dist-es/pagination/DescribeInstallationMediaPaginator.js +0 -74
  59. package/dist-types/commands/CreateCustomAvailabilityZoneCommand.d.ts +0 -40
  60. package/dist-types/commands/DeleteCustomAvailabilityZoneCommand.d.ts +0 -40
  61. package/dist-types/commands/DeleteInstallationMediaCommand.d.ts +0 -36
  62. package/dist-types/commands/DescribeCustomAvailabilityZonesCommand.d.ts +0 -40
  63. package/dist-types/commands/DescribeInstallationMediaCommand.d.ts +0 -36
  64. package/dist-types/commands/ImportInstallationMediaCommand.d.ts +0 -37
  65. package/dist-types/pagination/DescribeCustomAvailabilityZonesPaginator.d.ts +0 -4
  66. package/dist-types/pagination/DescribeInstallationMediaPaginator.d.ts +0 -4
  67. package/dist-types/ts3.4/commands/CreateCustomAvailabilityZoneCommand.d.ts +0 -17
  68. package/dist-types/ts3.4/commands/DeleteCustomAvailabilityZoneCommand.d.ts +0 -17
  69. package/dist-types/ts3.4/commands/DeleteInstallationMediaCommand.d.ts +0 -17
  70. package/dist-types/ts3.4/commands/DescribeCustomAvailabilityZonesCommand.d.ts +0 -17
  71. package/dist-types/ts3.4/commands/DescribeInstallationMediaCommand.d.ts +0 -17
  72. package/dist-types/ts3.4/commands/ImportInstallationMediaCommand.d.ts +0 -18
  73. package/dist-types/ts3.4/pagination/DescribeCustomAvailabilityZonesPaginator.d.ts +0 -4
  74. package/dist-types/ts3.4/pagination/DescribeInstallationMediaPaginator.d.ts +0 -4
@@ -1,10 +1,10 @@
1
1
  import { __assign, __awaiter, __generator, __read, __values } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
3
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, serializeFloat as __serializeFloat, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, } from "@aws-sdk/smithy-client";
4
4
  import { decodeHTML } from "entities";
5
5
  import { parse as xmlParse } from "fast-xml-parser";
6
- import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, CertificateNotFoundFault, CustomAvailabilityZoneAlreadyExistsFault, CustomAvailabilityZoneNotFoundFault, CustomAvailabilityZoneQuotaExceededFault, 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, EventSubscriptionQuotaExceededFault, ExportTaskNotFoundFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstallationMediaNotFoundFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidCustomDBEngineVersionStateFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceAutomatedBackupStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBProxyEndpointStateFault, InvalidDBProxyStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidExportTaskStateFault, InvalidGlobalClusterStateFault, InvalidOptionGroupStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault, OptionGroupQuotaExceededFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
7
- import { DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InstallationMediaAlreadyExistsFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, SubnetAlreadyInUse, } from "../models/models_1";
6
+ import { AuthorizationAlreadyExistsFault, AuthorizationNotFoundFault, AuthorizationQuotaExceededFault, BackupPolicyNotFoundFault, CertificateNotFoundFault, CustomAvailabilityZoneNotFoundFault, CustomDBEngineVersionAlreadyExistsFault, CustomDBEngineVersionNotFoundFault, CustomDBEngineVersionQuotaExceededFault, DBClusterAlreadyExistsFault, DBClusterBacktrackNotFoundFault, DBClusterEndpointAlreadyExistsFault, DBClusterEndpointNotFoundFault, DBClusterEndpointQuotaExceededFault, DBClusterNotFoundFault, DBClusterParameterGroupNotFoundFault, DBClusterQuotaExceededFault, DBClusterRoleAlreadyExistsFault, DBClusterRoleQuotaExceededFault, DBClusterSnapshotAlreadyExistsFault, DBClusterSnapshotNotFoundFault, DBInstanceAlreadyExistsFault, DBInstanceAutomatedBackupNotFoundFault, DBInstanceAutomatedBackupQuotaExceededFault, DBInstanceNotFoundFault, DBInstanceRoleAlreadyExistsFault, DBInstanceRoleQuotaExceededFault, DBParameterGroupAlreadyExistsFault, DBParameterGroupNotFoundFault, DBParameterGroupQuotaExceededFault, DBProxyAlreadyExistsFault, DBProxyEndpointAlreadyExistsFault, DBProxyEndpointNotFoundFault, DBProxyEndpointQuotaExceededFault, DBProxyNotFoundFault, DBProxyQuotaExceededFault, DBProxyTargetGroupNotFoundFault, DBProxyTargetNotFoundFault, DBSecurityGroupAlreadyExistsFault, DBSecurityGroupNotFoundFault, DBSecurityGroupNotSupportedFault, DBSecurityGroupQuotaExceededFault, DBSnapshotAlreadyExistsFault, DBSnapshotNotFoundFault, DBSubnetGroupAlreadyExistsFault, DBSubnetGroupDoesNotCoverEnoughAZs, DBSubnetGroupNotAllowedFault, DBSubnetGroupNotFoundFault, DBSubnetGroupQuotaExceededFault, DBSubnetQuotaExceededFault, DomainNotFoundFault, EventSubscriptionQuotaExceededFault, ExportTaskNotFoundFault, GlobalClusterAlreadyExistsFault, GlobalClusterNotFoundFault, GlobalClusterQuotaExceededFault, InstanceQuotaExceededFault, InsufficientDBInstanceCapacityFault, InsufficientStorageClusterCapacityFault, InvalidCustomDBEngineVersionStateFault, InvalidDBClusterEndpointStateFault, InvalidDBClusterSnapshotStateFault, InvalidDBClusterStateFault, InvalidDBInstanceAutomatedBackupStateFault, InvalidDBInstanceStateFault, InvalidDBParameterGroupStateFault, InvalidDBProxyEndpointStateFault, InvalidDBProxyStateFault, InvalidDBSecurityGroupStateFault, InvalidDBSnapshotStateFault, InvalidDBSubnetGroupFault, InvalidDBSubnetGroupStateFault, InvalidDBSubnetStateFault, InvalidEventSubscriptionStateFault, InvalidExportTaskStateFault, InvalidGlobalClusterStateFault, InvalidOptionGroupStateFault, InvalidSubnet, InvalidVPCNetworkStateFault, KMSKeyNotAccessibleFault, OptionGroupAlreadyExistsFault, OptionGroupNotFoundFault, OptionGroupQuotaExceededFault, ProvisionedIopsNotAvailableInAZFault, ResourceNotFoundFault, SnapshotQuotaExceededFault, SNSInvalidTopicFault, SNSNoAuthorizationFault, SNSTopicArnNotFoundFault, SourceNotFoundFault, StorageQuotaExceededFault, StorageTypeNotSupportedFault, SubscriptionAlreadyExistFault, SubscriptionCategoryNotFoundFault, SubscriptionNotFoundFault, } from "../models/models_0";
7
+ import { DBClusterRoleNotFoundFault, DBInstanceRoleNotFoundFault, DBLogFileNotFoundFault, DBProxyTargetAlreadyRegisteredFault, DBUpgradeDependencyFailureFault, ExportTaskAlreadyExistsFault, IamRoleMissingPermissionsFault, IamRoleNotFoundFault, InsufficientAvailableIPsInSubnetFault, InsufficientDBClusterCapacityFault, InvalidDBClusterCapacityFault, InvalidExportOnlyFault, InvalidExportSourceStateFault, InvalidRestoreFault, InvalidS3BucketFault, PointInTimeRestoreNotEnabledFault, ReservedDBInstanceAlreadyExistsFault, ReservedDBInstanceNotFoundFault, ReservedDBInstanceQuotaExceededFault, ReservedDBInstancesOfferingNotFoundFault, SharedSnapshotQuotaExceededFault, SubnetAlreadyInUse, } from "../models/models_1";
8
8
  import { RDSServiceException as __BaseException } from "../models/RDSServiceException";
9
9
  export var serializeAws_queryAddRoleToDBClusterCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
10
10
  var headers, body;
@@ -136,16 +136,6 @@ export var serializeAws_queryCopyOptionGroupCommand = function (input, context)
136
136
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
137
137
  });
138
138
  }); };
139
- export var serializeAws_queryCreateCustomAvailabilityZoneCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
140
- var headers, body;
141
- return __generator(this, function (_a) {
142
- headers = {
143
- "content-type": "application/x-www-form-urlencoded",
144
- };
145
- body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryCreateCustomAvailabilityZoneMessage(input, context)), { Action: "CreateCustomAvailabilityZone", Version: "2014-10-31" }));
146
- return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
147
- });
148
- }); };
149
139
  export var serializeAws_queryCreateCustomDBEngineVersionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
150
140
  var headers, body;
151
141
  return __generator(this, function (_a) {
@@ -306,16 +296,6 @@ export var serializeAws_queryCreateOptionGroupCommand = function (input, context
306
296
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
307
297
  });
308
298
  }); };
309
- export var serializeAws_queryDeleteCustomAvailabilityZoneCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
310
- var headers, body;
311
- return __generator(this, function (_a) {
312
- headers = {
313
- "content-type": "application/x-www-form-urlencoded",
314
- };
315
- body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDeleteCustomAvailabilityZoneMessage(input, context)), { Action: "DeleteCustomAvailabilityZone", Version: "2014-10-31" }));
316
- return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
317
- });
318
- }); };
319
299
  export var serializeAws_queryDeleteCustomDBEngineVersionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
320
300
  var headers, body;
321
301
  return __generator(this, function (_a) {
@@ -466,16 +446,6 @@ export var serializeAws_queryDeleteGlobalClusterCommand = function (input, conte
466
446
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
467
447
  });
468
448
  }); };
469
- export var serializeAws_queryDeleteInstallationMediaCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
470
- var headers, body;
471
- return __generator(this, function (_a) {
472
- headers = {
473
- "content-type": "application/x-www-form-urlencoded",
474
- };
475
- body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDeleteInstallationMediaMessage(input, context)), { Action: "DeleteInstallationMedia", Version: "2014-10-31" }));
476
- return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
477
- });
478
- }); };
479
449
  export var serializeAws_queryDeleteOptionGroupCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
480
450
  var headers, body;
481
451
  return __generator(this, function (_a) {
@@ -516,16 +486,6 @@ export var serializeAws_queryDescribeCertificatesCommand = function (input, cont
516
486
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
517
487
  });
518
488
  }); };
519
- export var serializeAws_queryDescribeCustomAvailabilityZonesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
520
- var headers, body;
521
- return __generator(this, function (_a) {
522
- headers = {
523
- "content-type": "application/x-www-form-urlencoded",
524
- };
525
- body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeCustomAvailabilityZonesMessage(input, context)), { Action: "DescribeCustomAvailabilityZones", Version: "2014-10-31" }));
526
- return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
527
- });
528
- }); };
529
489
  export var serializeAws_queryDescribeDBClusterBacktracksCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
530
490
  var headers, body;
531
491
  return __generator(this, function (_a) {
@@ -806,16 +766,6 @@ export var serializeAws_queryDescribeGlobalClustersCommand = function (input, co
806
766
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
807
767
  });
808
768
  }); };
809
- export var serializeAws_queryDescribeInstallationMediaCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
810
- var headers, body;
811
- return __generator(this, function (_a) {
812
- headers = {
813
- "content-type": "application/x-www-form-urlencoded",
814
- };
815
- body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryDescribeInstallationMediaMessage(input, context)), { Action: "DescribeInstallationMedia", Version: "2014-10-31" }));
816
- return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
817
- });
818
- }); };
819
769
  export var serializeAws_queryDescribeOptionGroupOptionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
820
770
  var headers, body;
821
771
  return __generator(this, function (_a) {
@@ -926,16 +876,6 @@ export var serializeAws_queryFailoverGlobalClusterCommand = function (input, con
926
876
  return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
927
877
  });
928
878
  }); };
929
- export var serializeAws_queryImportInstallationMediaCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
930
- var headers, body;
931
- return __generator(this, function (_a) {
932
- headers = {
933
- "content-type": "application/x-www-form-urlencoded",
934
- };
935
- body = buildFormUrlencodedString(__assign(__assign({}, serializeAws_queryImportInstallationMediaMessage(input, context)), { Action: "ImportInstallationMedia", Version: "2014-10-31" }));
936
- return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
937
- });
938
- }); };
939
879
  export var serializeAws_queryListTagsForResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
940
880
  var headers, body;
941
881
  return __generator(this, function (_a) {
@@ -2202,64 +2142,6 @@ var deserializeAws_queryCopyOptionGroupCommandError = function (output, context)
2202
2142
  }
2203
2143
  });
2204
2144
  }); };
2205
- export var deserializeAws_queryCreateCustomAvailabilityZoneCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2206
- var data, contents, response;
2207
- return __generator(this, function (_a) {
2208
- switch (_a.label) {
2209
- case 0:
2210
- if (output.statusCode >= 300) {
2211
- return [2, deserializeAws_queryCreateCustomAvailabilityZoneCommandError(output, context)];
2212
- }
2213
- return [4, parseBody(output.body, context)];
2214
- case 1:
2215
- data = _a.sent();
2216
- contents = {};
2217
- contents = deserializeAws_queryCreateCustomAvailabilityZoneResult(data.CreateCustomAvailabilityZoneResult, context);
2218
- response = __assign({ $metadata: deserializeMetadata(output) }, contents);
2219
- return [2, Promise.resolve(response)];
2220
- }
2221
- });
2222
- }); };
2223
- var deserializeAws_queryCreateCustomAvailabilityZoneCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2224
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
2225
- var _c;
2226
- return __generator(this, function (_d) {
2227
- switch (_d.label) {
2228
- case 0:
2229
- _a = [__assign({}, output)];
2230
- _c = {};
2231
- return [4, parseBody(output.body, context)];
2232
- case 1:
2233
- parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
2234
- errorCode = "UnknownError";
2235
- errorCode = loadQueryErrorCode(output, parsedOutput.body);
2236
- _b = errorCode;
2237
- switch (_b) {
2238
- case "CustomAvailabilityZoneAlreadyExistsFault": return [3, 2];
2239
- case "com.amazonaws.rds#CustomAvailabilityZoneAlreadyExistsFault": return [3, 2];
2240
- case "CustomAvailabilityZoneQuotaExceededFault": return [3, 4];
2241
- case "com.amazonaws.rds#CustomAvailabilityZoneQuotaExceededFault": return [3, 4];
2242
- case "KMSKeyNotAccessibleFault": return [3, 6];
2243
- case "com.amazonaws.rds#KMSKeyNotAccessibleFault": return [3, 6];
2244
- }
2245
- return [3, 8];
2246
- case 2: return [4, deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFaultResponse(parsedOutput, context)];
2247
- case 3: throw _d.sent();
2248
- case 4: return [4, deserializeAws_queryCustomAvailabilityZoneQuotaExceededFaultResponse(parsedOutput, context)];
2249
- case 5: throw _d.sent();
2250
- case 6: return [4, deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context)];
2251
- case 7: throw _d.sent();
2252
- case 8:
2253
- parsedBody = parsedOutput.body;
2254
- response = new __BaseException({
2255
- name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
2256
- $fault: "client",
2257
- $metadata: deserializeMetadata(output),
2258
- });
2259
- throw __decorateServiceException(response, parsedBody.Error);
2260
- }
2261
- });
2262
- }); };
2263
2145
  export var deserializeAws_queryCreateCustomDBEngineVersionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
2264
2146
  var data, contents, response;
2265
2147
  return __generator(this, function (_a) {
@@ -3424,60 +3306,6 @@ var deserializeAws_queryCreateOptionGroupCommandError = function (output, contex
3424
3306
  }
3425
3307
  });
3426
3308
  }); };
3427
- export var deserializeAws_queryDeleteCustomAvailabilityZoneCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3428
- var data, contents, response;
3429
- return __generator(this, function (_a) {
3430
- switch (_a.label) {
3431
- case 0:
3432
- if (output.statusCode >= 300) {
3433
- return [2, deserializeAws_queryDeleteCustomAvailabilityZoneCommandError(output, context)];
3434
- }
3435
- return [4, parseBody(output.body, context)];
3436
- case 1:
3437
- data = _a.sent();
3438
- contents = {};
3439
- contents = deserializeAws_queryDeleteCustomAvailabilityZoneResult(data.DeleteCustomAvailabilityZoneResult, context);
3440
- response = __assign({ $metadata: deserializeMetadata(output) }, contents);
3441
- return [2, Promise.resolve(response)];
3442
- }
3443
- });
3444
- }); };
3445
- var deserializeAws_queryDeleteCustomAvailabilityZoneCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3446
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
3447
- var _c;
3448
- return __generator(this, function (_d) {
3449
- switch (_d.label) {
3450
- case 0:
3451
- _a = [__assign({}, output)];
3452
- _c = {};
3453
- return [4, parseBody(output.body, context)];
3454
- case 1:
3455
- parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
3456
- errorCode = "UnknownError";
3457
- errorCode = loadQueryErrorCode(output, parsedOutput.body);
3458
- _b = errorCode;
3459
- switch (_b) {
3460
- case "CustomAvailabilityZoneNotFoundFault": return [3, 2];
3461
- case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault": return [3, 2];
3462
- case "KMSKeyNotAccessibleFault": return [3, 4];
3463
- case "com.amazonaws.rds#KMSKeyNotAccessibleFault": return [3, 4];
3464
- }
3465
- return [3, 6];
3466
- case 2: return [4, deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context)];
3467
- case 3: throw _d.sent();
3468
- case 4: return [4, deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context)];
3469
- case 5: throw _d.sent();
3470
- case 6:
3471
- parsedBody = parsedOutput.body;
3472
- response = new __BaseException({
3473
- name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
3474
- $fault: "client",
3475
- $metadata: deserializeMetadata(output),
3476
- });
3477
- throw __decorateServiceException(response, parsedBody.Error);
3478
- }
3479
- });
3480
- }); };
3481
3309
  export var deserializeAws_queryDeleteCustomDBEngineVersionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3482
3310
  var data, contents, response;
3483
3311
  return __generator(this, function (_a) {
@@ -4324,56 +4152,6 @@ var deserializeAws_queryDeleteGlobalClusterCommandError = function (output, cont
4324
4152
  }
4325
4153
  });
4326
4154
  }); };
4327
- export var deserializeAws_queryDeleteInstallationMediaCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4328
- var data, contents, response;
4329
- return __generator(this, function (_a) {
4330
- switch (_a.label) {
4331
- case 0:
4332
- if (output.statusCode >= 300) {
4333
- return [2, deserializeAws_queryDeleteInstallationMediaCommandError(output, context)];
4334
- }
4335
- return [4, parseBody(output.body, context)];
4336
- case 1:
4337
- data = _a.sent();
4338
- contents = {};
4339
- contents = deserializeAws_queryInstallationMedia(data.DeleteInstallationMediaResult, context);
4340
- response = __assign({ $metadata: deserializeMetadata(output) }, contents);
4341
- return [2, Promise.resolve(response)];
4342
- }
4343
- });
4344
- }); };
4345
- var deserializeAws_queryDeleteInstallationMediaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4346
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
4347
- var _c;
4348
- return __generator(this, function (_d) {
4349
- switch (_d.label) {
4350
- case 0:
4351
- _a = [__assign({}, output)];
4352
- _c = {};
4353
- return [4, parseBody(output.body, context)];
4354
- case 1:
4355
- parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4356
- errorCode = "UnknownError";
4357
- errorCode = loadQueryErrorCode(output, parsedOutput.body);
4358
- _b = errorCode;
4359
- switch (_b) {
4360
- case "InstallationMediaNotFoundFault": return [3, 2];
4361
- case "com.amazonaws.rds#InstallationMediaNotFoundFault": return [3, 2];
4362
- }
4363
- return [3, 4];
4364
- case 2: return [4, deserializeAws_queryInstallationMediaNotFoundFaultResponse(parsedOutput, context)];
4365
- case 3: throw _d.sent();
4366
- case 4:
4367
- parsedBody = parsedOutput.body;
4368
- response = new __BaseException({
4369
- name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
4370
- $fault: "client",
4371
- $metadata: deserializeMetadata(output),
4372
- });
4373
- throw __decorateServiceException(response, parsedBody.Error);
4374
- }
4375
- });
4376
- }); };
4377
4155
  export var deserializeAws_queryDeleteOptionGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4378
4156
  var response;
4379
4157
  return __generator(this, function (_a) {
@@ -4585,56 +4363,6 @@ var deserializeAws_queryDescribeCertificatesCommandError = function (output, con
4585
4363
  }
4586
4364
  });
4587
4365
  }); };
4588
- export var deserializeAws_queryDescribeCustomAvailabilityZonesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4589
- var data, contents, response;
4590
- return __generator(this, function (_a) {
4591
- switch (_a.label) {
4592
- case 0:
4593
- if (output.statusCode >= 300) {
4594
- return [2, deserializeAws_queryDescribeCustomAvailabilityZonesCommandError(output, context)];
4595
- }
4596
- return [4, parseBody(output.body, context)];
4597
- case 1:
4598
- data = _a.sent();
4599
- contents = {};
4600
- contents = deserializeAws_queryCustomAvailabilityZoneMessage(data.DescribeCustomAvailabilityZonesResult, context);
4601
- response = __assign({ $metadata: deserializeMetadata(output) }, contents);
4602
- return [2, Promise.resolve(response)];
4603
- }
4604
- });
4605
- }); };
4606
- var deserializeAws_queryDescribeCustomAvailabilityZonesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4607
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
4608
- var _c;
4609
- return __generator(this, function (_d) {
4610
- switch (_d.label) {
4611
- case 0:
4612
- _a = [__assign({}, output)];
4613
- _c = {};
4614
- return [4, parseBody(output.body, context)];
4615
- case 1:
4616
- parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
4617
- errorCode = "UnknownError";
4618
- errorCode = loadQueryErrorCode(output, parsedOutput.body);
4619
- _b = errorCode;
4620
- switch (_b) {
4621
- case "CustomAvailabilityZoneNotFoundFault": return [3, 2];
4622
- case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault": return [3, 2];
4623
- }
4624
- return [3, 4];
4625
- case 2: return [4, deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context)];
4626
- case 3: throw _d.sent();
4627
- case 4:
4628
- parsedBody = parsedOutput.body;
4629
- response = new __BaseException({
4630
- name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
4631
- $fault: "client",
4632
- $metadata: deserializeMetadata(output),
4633
- });
4634
- throw __decorateServiceException(response, parsedBody.Error);
4635
- }
4636
- });
4637
- }); };
4638
4366
  export var deserializeAws_queryDescribeDBClusterBacktracksCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4639
4367
  var data, contents, response;
4640
4368
  return __generator(this, function (_a) {
@@ -6038,56 +5766,6 @@ var deserializeAws_queryDescribeGlobalClustersCommandError = function (output, c
6038
5766
  }
6039
5767
  });
6040
5768
  }); };
6041
- export var deserializeAws_queryDescribeInstallationMediaCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6042
- var data, contents, response;
6043
- return __generator(this, function (_a) {
6044
- switch (_a.label) {
6045
- case 0:
6046
- if (output.statusCode >= 300) {
6047
- return [2, deserializeAws_queryDescribeInstallationMediaCommandError(output, context)];
6048
- }
6049
- return [4, parseBody(output.body, context)];
6050
- case 1:
6051
- data = _a.sent();
6052
- contents = {};
6053
- contents = deserializeAws_queryInstallationMediaMessage(data.DescribeInstallationMediaResult, context);
6054
- response = __assign({ $metadata: deserializeMetadata(output) }, contents);
6055
- return [2, Promise.resolve(response)];
6056
- }
6057
- });
6058
- }); };
6059
- var deserializeAws_queryDescribeInstallationMediaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6060
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
6061
- var _c;
6062
- return __generator(this, function (_d) {
6063
- switch (_d.label) {
6064
- case 0:
6065
- _a = [__assign({}, output)];
6066
- _c = {};
6067
- return [4, parseBody(output.body, context)];
6068
- case 1:
6069
- parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
6070
- errorCode = "UnknownError";
6071
- errorCode = loadQueryErrorCode(output, parsedOutput.body);
6072
- _b = errorCode;
6073
- switch (_b) {
6074
- case "InstallationMediaNotFoundFault": return [3, 2];
6075
- case "com.amazonaws.rds#InstallationMediaNotFoundFault": return [3, 2];
6076
- }
6077
- return [3, 4];
6078
- case 2: return [4, deserializeAws_queryInstallationMediaNotFoundFaultResponse(parsedOutput, context)];
6079
- case 3: throw _d.sent();
6080
- case 4:
6081
- parsedBody = parsedOutput.body;
6082
- response = new __BaseException({
6083
- name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
6084
- $fault: "client",
6085
- $metadata: deserializeMetadata(output),
6086
- });
6087
- throw __decorateServiceException(response, parsedBody.Error);
6088
- }
6089
- });
6090
- }); };
6091
5769
  export var deserializeAws_queryDescribeOptionGroupOptionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6092
5770
  var data, contents, response;
6093
5771
  return __generator(this, function (_a) {
@@ -6651,60 +6329,6 @@ var deserializeAws_queryFailoverGlobalClusterCommandError = function (output, co
6651
6329
  }
6652
6330
  });
6653
6331
  }); };
6654
- export var deserializeAws_queryImportInstallationMediaCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6655
- var data, contents, response;
6656
- return __generator(this, function (_a) {
6657
- switch (_a.label) {
6658
- case 0:
6659
- if (output.statusCode >= 300) {
6660
- return [2, deserializeAws_queryImportInstallationMediaCommandError(output, context)];
6661
- }
6662
- return [4, parseBody(output.body, context)];
6663
- case 1:
6664
- data = _a.sent();
6665
- contents = {};
6666
- contents = deserializeAws_queryInstallationMedia(data.ImportInstallationMediaResult, context);
6667
- response = __assign({ $metadata: deserializeMetadata(output) }, contents);
6668
- return [2, Promise.resolve(response)];
6669
- }
6670
- });
6671
- }); };
6672
- var deserializeAws_queryImportInstallationMediaCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6673
- var parsedOutput, _a, response, errorCode, _b, parsedBody;
6674
- var _c;
6675
- return __generator(this, function (_d) {
6676
- switch (_d.label) {
6677
- case 0:
6678
- _a = [__assign({}, output)];
6679
- _c = {};
6680
- return [4, parseBody(output.body, context)];
6681
- case 1:
6682
- parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
6683
- errorCode = "UnknownError";
6684
- errorCode = loadQueryErrorCode(output, parsedOutput.body);
6685
- _b = errorCode;
6686
- switch (_b) {
6687
- case "CustomAvailabilityZoneNotFoundFault": return [3, 2];
6688
- case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault": return [3, 2];
6689
- case "InstallationMediaAlreadyExistsFault": return [3, 4];
6690
- case "com.amazonaws.rds#InstallationMediaAlreadyExistsFault": return [3, 4];
6691
- }
6692
- return [3, 6];
6693
- case 2: return [4, deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context)];
6694
- case 3: throw _d.sent();
6695
- case 4: return [4, deserializeAws_queryInstallationMediaAlreadyExistsFaultResponse(parsedOutput, context)];
6696
- case 5: throw _d.sent();
6697
- case 6:
6698
- parsedBody = parsedOutput.body;
6699
- response = new __BaseException({
6700
- name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
6701
- $fault: "client",
6702
- $metadata: deserializeMetadata(output),
6703
- });
6704
- throw __decorateServiceException(response, parsedBody.Error);
6705
- }
6706
- });
6707
- }); };
6708
6332
  export var deserializeAws_queryListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
6709
6333
  var data, contents, response;
6710
6334
  return __generator(this, function (_a) {
@@ -10088,44 +9712,26 @@ var deserializeAws_queryBackupPolicyNotFoundFaultResponse = function (parsedOutp
10088
9712
  var body, deserialized, exception;
10089
9713
  return __generator(this, function (_a) {
10090
9714
  body = parsedOutput.body;
10091
- deserialized = deserializeAws_queryBackupPolicyNotFoundFault(body.Error, context);
10092
- exception = new BackupPolicyNotFoundFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
10093
- return [2, __decorateServiceException(exception, body)];
10094
- });
10095
- }); };
10096
- var deserializeAws_queryCertificateNotFoundFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
10097
- var body, deserialized, exception;
10098
- return __generator(this, function (_a) {
10099
- body = parsedOutput.body;
10100
- deserialized = deserializeAws_queryCertificateNotFoundFault(body.Error, context);
10101
- exception = new CertificateNotFoundFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
10102
- return [2, __decorateServiceException(exception, body)];
10103
- });
10104
- }); };
10105
- var deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
10106
- var body, deserialized, exception;
10107
- return __generator(this, function (_a) {
10108
- body = parsedOutput.body;
10109
- deserialized = deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFault(body.Error, context);
10110
- exception = new CustomAvailabilityZoneAlreadyExistsFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
9715
+ deserialized = deserializeAws_queryBackupPolicyNotFoundFault(body.Error, context);
9716
+ exception = new BackupPolicyNotFoundFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
10111
9717
  return [2, __decorateServiceException(exception, body)];
10112
9718
  });
10113
9719
  }); };
10114
- var deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
9720
+ var deserializeAws_queryCertificateNotFoundFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
10115
9721
  var body, deserialized, exception;
10116
9722
  return __generator(this, function (_a) {
10117
9723
  body = parsedOutput.body;
10118
- deserialized = deserializeAws_queryCustomAvailabilityZoneNotFoundFault(body.Error, context);
10119
- exception = new CustomAvailabilityZoneNotFoundFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
9724
+ deserialized = deserializeAws_queryCertificateNotFoundFault(body.Error, context);
9725
+ exception = new CertificateNotFoundFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
10120
9726
  return [2, __decorateServiceException(exception, body)];
10121
9727
  });
10122
9728
  }); };
10123
- var deserializeAws_queryCustomAvailabilityZoneQuotaExceededFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
9729
+ var deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
10124
9730
  var body, deserialized, exception;
10125
9731
  return __generator(this, function (_a) {
10126
9732
  body = parsedOutput.body;
10127
- deserialized = deserializeAws_queryCustomAvailabilityZoneQuotaExceededFault(body.Error, context);
10128
- exception = new CustomAvailabilityZoneQuotaExceededFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
9733
+ deserialized = deserializeAws_queryCustomAvailabilityZoneNotFoundFault(body.Error, context);
9734
+ exception = new CustomAvailabilityZoneNotFoundFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
10129
9735
  return [2, __decorateServiceException(exception, body)];
10130
9736
  });
10131
9737
  }); };
@@ -10651,24 +10257,6 @@ var deserializeAws_queryIamRoleNotFoundFaultResponse = function (parsedOutput, c
10651
10257
  return [2, __decorateServiceException(exception, body)];
10652
10258
  });
10653
10259
  }); };
10654
- var deserializeAws_queryInstallationMediaAlreadyExistsFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
10655
- var body, deserialized, exception;
10656
- return __generator(this, function (_a) {
10657
- body = parsedOutput.body;
10658
- deserialized = deserializeAws_queryInstallationMediaAlreadyExistsFault(body.Error, context);
10659
- exception = new InstallationMediaAlreadyExistsFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
10660
- return [2, __decorateServiceException(exception, body)];
10661
- });
10662
- }); };
10663
- var deserializeAws_queryInstallationMediaNotFoundFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
10664
- var body, deserialized, exception;
10665
- return __generator(this, function (_a) {
10666
- body = parsedOutput.body;
10667
- deserialized = deserializeAws_queryInstallationMediaNotFoundFault(body.Error, context);
10668
- exception = new InstallationMediaNotFoundFault(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
10669
- return [2, __decorateServiceException(exception, body)];
10670
- });
10671
- }); };
10672
10260
  var deserializeAws_queryInstanceQuotaExceededFaultResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
10673
10261
  var body, deserialized, exception;
10674
10262
  return __generator(this, function (_a) {
@@ -11469,22 +11057,6 @@ var serializeAws_queryCopyOptionGroupMessage = function (input, context) {
11469
11057
  }
11470
11058
  return entries;
11471
11059
  };
11472
- var serializeAws_queryCreateCustomAvailabilityZoneMessage = function (input, context) {
11473
- var entries = {};
11474
- if (input.CustomAvailabilityZoneName !== undefined && input.CustomAvailabilityZoneName !== null) {
11475
- entries["CustomAvailabilityZoneName"] = input.CustomAvailabilityZoneName;
11476
- }
11477
- if (input.ExistingVpnId !== undefined && input.ExistingVpnId !== null) {
11478
- entries["ExistingVpnId"] = input.ExistingVpnId;
11479
- }
11480
- if (input.NewVpnTunnelName !== undefined && input.NewVpnTunnelName !== null) {
11481
- entries["NewVpnTunnelName"] = input.NewVpnTunnelName;
11482
- }
11483
- if (input.VpnTunnelOriginatorIP !== undefined && input.VpnTunnelOriginatorIP !== null) {
11484
- entries["VpnTunnelOriginatorIP"] = input.VpnTunnelOriginatorIP;
11485
- }
11486
- return entries;
11487
- };
11488
11060
  var serializeAws_queryCreateCustomDBEngineVersionMessage = function (input, context) {
11489
11061
  var entries = {};
11490
11062
  if (input.Engine !== undefined && input.Engine !== null) {
@@ -11715,6 +11287,14 @@ var serializeAws_queryCreateDBClusterMessage = function (input, context) {
11715
11287
  if (input.PerformanceInsightsRetentionPeriod !== undefined && input.PerformanceInsightsRetentionPeriod !== null) {
11716
11288
  entries["PerformanceInsightsRetentionPeriod"] = input.PerformanceInsightsRetentionPeriod;
11717
11289
  }
11290
+ if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
11291
+ var memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
11292
+ Object.entries(memberEntries).forEach(function (_a) {
11293
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
11294
+ var loc = "ServerlessV2ScalingConfiguration.".concat(key);
11295
+ entries[loc] = value;
11296
+ });
11297
+ }
11718
11298
  return entries;
11719
11299
  };
11720
11300
  var serializeAws_queryCreateDBClusterParameterGroupMessage = function (input, context) {
@@ -12344,13 +11924,6 @@ var serializeAws_queryDBSecurityGroupNameList = function (input, context) {
12344
11924
  }
12345
11925
  return entries;
12346
11926
  };
12347
- var serializeAws_queryDeleteCustomAvailabilityZoneMessage = function (input, context) {
12348
- var entries = {};
12349
- if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) {
12350
- entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId;
12351
- }
12352
- return entries;
12353
- };
12354
11927
  var serializeAws_queryDeleteCustomDBEngineVersionMessage = function (input, context) {
12355
11928
  var entries = {};
12356
11929
  if (input.Engine !== undefined && input.Engine !== null) {
@@ -12477,13 +12050,6 @@ var serializeAws_queryDeleteGlobalClusterMessage = function (input, context) {
12477
12050
  }
12478
12051
  return entries;
12479
12052
  };
12480
- var serializeAws_queryDeleteInstallationMediaMessage = function (input, context) {
12481
- var entries = {};
12482
- if (input.InstallationMediaId !== undefined && input.InstallationMediaId !== null) {
12483
- entries["InstallationMediaId"] = input.InstallationMediaId;
12484
- }
12485
- return entries;
12486
- };
12487
12053
  var serializeAws_queryDeleteOptionGroupMessage = function (input, context) {
12488
12054
  var entries = {};
12489
12055
  if (input.OptionGroupName !== undefined && input.OptionGroupName !== null) {
@@ -12542,27 +12108,6 @@ var serializeAws_queryDescribeCertificatesMessage = function (input, context) {
12542
12108
  }
12543
12109
  return entries;
12544
12110
  };
12545
- var serializeAws_queryDescribeCustomAvailabilityZonesMessage = function (input, context) {
12546
- var entries = {};
12547
- if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) {
12548
- entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId;
12549
- }
12550
- if (input.Filters !== undefined && input.Filters !== null) {
12551
- var memberEntries = serializeAws_queryFilterList(input.Filters, context);
12552
- Object.entries(memberEntries).forEach(function (_a) {
12553
- var _b = __read(_a, 2), key = _b[0], value = _b[1];
12554
- var loc = "Filters.".concat(key);
12555
- entries[loc] = value;
12556
- });
12557
- }
12558
- if (input.MaxRecords !== undefined && input.MaxRecords !== null) {
12559
- entries["MaxRecords"] = input.MaxRecords;
12560
- }
12561
- if (input.Marker !== undefined && input.Marker !== null) {
12562
- entries["Marker"] = input.Marker;
12563
- }
12564
- return entries;
12565
- };
12566
12111
  var serializeAws_queryDescribeDBClusterBacktracksMessage = function (input, context) {
12567
12112
  var entries = {};
12568
12113
  if (input.DBClusterIdentifier !== undefined && input.DBClusterIdentifier !== null) {
@@ -13224,27 +12769,6 @@ var serializeAws_queryDescribeGlobalClustersMessage = function (input, context)
13224
12769
  }
13225
12770
  return entries;
13226
12771
  };
13227
- var serializeAws_queryDescribeInstallationMediaMessage = function (input, context) {
13228
- var entries = {};
13229
- if (input.InstallationMediaId !== undefined && input.InstallationMediaId !== null) {
13230
- entries["InstallationMediaId"] = input.InstallationMediaId;
13231
- }
13232
- if (input.Filters !== undefined && input.Filters !== null) {
13233
- var memberEntries = serializeAws_queryFilterList(input.Filters, context);
13234
- Object.entries(memberEntries).forEach(function (_a) {
13235
- var _b = __read(_a, 2), key = _b[0], value = _b[1];
13236
- var loc = "Filters.".concat(key);
13237
- entries[loc] = value;
13238
- });
13239
- }
13240
- if (input.MaxRecords !== undefined && input.MaxRecords !== null) {
13241
- entries["MaxRecords"] = input.MaxRecords;
13242
- }
13243
- if (input.Marker !== undefined && input.Marker !== null) {
13244
- entries["Marker"] = input.Marker;
13245
- }
13246
- return entries;
13247
- };
13248
12772
  var serializeAws_queryDescribeOptionGroupOptionsMessage = function (input, context) {
13249
12773
  var entries = {};
13250
12774
  if (input.EngineName !== undefined && input.EngineName !== null) {
@@ -13606,25 +13130,6 @@ var serializeAws_queryFilterValueList = function (input, context) {
13606
13130
  }
13607
13131
  return entries;
13608
13132
  };
13609
- var serializeAws_queryImportInstallationMediaMessage = function (input, context) {
13610
- var entries = {};
13611
- if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) {
13612
- entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId;
13613
- }
13614
- if (input.Engine !== undefined && input.Engine !== null) {
13615
- entries["Engine"] = input.Engine;
13616
- }
13617
- if (input.EngineVersion !== undefined && input.EngineVersion !== null) {
13618
- entries["EngineVersion"] = input.EngineVersion;
13619
- }
13620
- if (input.EngineInstallationMediaPath !== undefined && input.EngineInstallationMediaPath !== null) {
13621
- entries["EngineInstallationMediaPath"] = input.EngineInstallationMediaPath;
13622
- }
13623
- if (input.OSInstallationMediaPath !== undefined && input.OSInstallationMediaPath !== null) {
13624
- entries["OSInstallationMediaPath"] = input.OSInstallationMediaPath;
13625
- }
13626
- return entries;
13627
- };
13628
13133
  var serializeAws_queryKeyList = function (input, context) {
13629
13134
  var e_8, _a;
13630
13135
  var entries = {};
@@ -13873,6 +13378,14 @@ var serializeAws_queryModifyDBClusterMessage = function (input, context) {
13873
13378
  if (input.PerformanceInsightsRetentionPeriod !== undefined && input.PerformanceInsightsRetentionPeriod !== null) {
13874
13379
  entries["PerformanceInsightsRetentionPeriod"] = input.PerformanceInsightsRetentionPeriod;
13875
13380
  }
13381
+ if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
13382
+ var memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
13383
+ Object.entries(memberEntries).forEach(function (_a) {
13384
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
13385
+ var loc = "ServerlessV2ScalingConfiguration.".concat(key);
13386
+ entries[loc] = value;
13387
+ });
13388
+ }
13876
13389
  return entries;
13877
13390
  };
13878
13391
  var serializeAws_queryModifyDBClusterParameterGroupMessage = function (input, context) {
@@ -14846,6 +14359,14 @@ var serializeAws_queryRestoreDBClusterFromS3Message = function (input, context)
14846
14359
  if (input.DomainIAMRoleName !== undefined && input.DomainIAMRoleName !== null) {
14847
14360
  entries["DomainIAMRoleName"] = input.DomainIAMRoleName;
14848
14361
  }
14362
+ if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
14363
+ var memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
14364
+ Object.entries(memberEntries).forEach(function (_a) {
14365
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
14366
+ var loc = "ServerlessV2ScalingConfiguration.".concat(key);
14367
+ entries[loc] = value;
14368
+ });
14369
+ }
14849
14370
  return entries;
14850
14371
  };
14851
14372
  var serializeAws_queryRestoreDBClusterFromSnapshotMessage = function (input, context) {
@@ -14953,6 +14474,14 @@ var serializeAws_queryRestoreDBClusterFromSnapshotMessage = function (input, con
14953
14474
  if (input.PubliclyAccessible !== undefined && input.PubliclyAccessible !== null) {
14954
14475
  entries["PubliclyAccessible"] = input.PubliclyAccessible;
14955
14476
  }
14477
+ if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
14478
+ var memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
14479
+ Object.entries(memberEntries).forEach(function (_a) {
14480
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
14481
+ var loc = "ServerlessV2ScalingConfiguration.".concat(key);
14482
+ entries[loc] = value;
14483
+ });
14484
+ }
14956
14485
  return entries;
14957
14486
  };
14958
14487
  var serializeAws_queryRestoreDBClusterToPointInTimeMessage = function (input, context) {
@@ -15052,6 +14581,14 @@ var serializeAws_queryRestoreDBClusterToPointInTimeMessage = function (input, co
15052
14581
  if (input.Iops !== undefined && input.Iops !== null) {
15053
14582
  entries["Iops"] = input.Iops;
15054
14583
  }
14584
+ if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
14585
+ var memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
14586
+ Object.entries(memberEntries).forEach(function (_a) {
14587
+ var _b = __read(_a, 2), key = _b[0], value = _b[1];
14588
+ var loc = "ServerlessV2ScalingConfiguration.".concat(key);
14589
+ entries[loc] = value;
14590
+ });
14591
+ }
15055
14592
  return entries;
15056
14593
  };
15057
14594
  var serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = function (input, context) {
@@ -15505,6 +15042,16 @@ var serializeAws_queryScalingConfiguration = function (input, context) {
15505
15042
  }
15506
15043
  return entries;
15507
15044
  };
15045
+ var serializeAws_queryServerlessV2ScalingConfiguration = function (input, context) {
15046
+ var entries = {};
15047
+ if (input.MinCapacity !== undefined && input.MinCapacity !== null) {
15048
+ entries["MinCapacity"] = __serializeFloat(input.MinCapacity);
15049
+ }
15050
+ if (input.MaxCapacity !== undefined && input.MaxCapacity !== null) {
15051
+ entries["MaxCapacity"] = __serializeFloat(input.MaxCapacity);
15052
+ }
15053
+ return entries;
15054
+ };
15508
15055
  var serializeAws_querySourceIdsList = function (input, context) {
15509
15056
  var e_15, _a;
15510
15057
  var entries = {};
@@ -16154,15 +15701,6 @@ var deserializeAws_queryCopyOptionGroupResult = function (output, context) {
16154
15701
  }
16155
15702
  return contents;
16156
15703
  };
16157
- var deserializeAws_queryCreateCustomAvailabilityZoneResult = function (output, context) {
16158
- var contents = {
16159
- CustomAvailabilityZone: undefined,
16160
- };
16161
- if (output["CustomAvailabilityZone"] !== undefined) {
16162
- contents.CustomAvailabilityZone = deserializeAws_queryCustomAvailabilityZone(output["CustomAvailabilityZone"], context);
16163
- }
16164
- return contents;
16165
- };
16166
15704
  var deserializeAws_queryCreateDBClusterParameterGroupResult = function (output, context) {
16167
15705
  var contents = {
16168
15706
  DBClusterParameterGroup: undefined,
@@ -16289,63 +15827,6 @@ var deserializeAws_queryCreateOptionGroupResult = function (output, context) {
16289
15827
  }
16290
15828
  return contents;
16291
15829
  };
16292
- var deserializeAws_queryCustomAvailabilityZone = function (output, context) {
16293
- var contents = {
16294
- CustomAvailabilityZoneId: undefined,
16295
- CustomAvailabilityZoneName: undefined,
16296
- CustomAvailabilityZoneStatus: undefined,
16297
- VpnDetails: undefined,
16298
- };
16299
- if (output["CustomAvailabilityZoneId"] !== undefined) {
16300
- contents.CustomAvailabilityZoneId = __expectString(output["CustomAvailabilityZoneId"]);
16301
- }
16302
- if (output["CustomAvailabilityZoneName"] !== undefined) {
16303
- contents.CustomAvailabilityZoneName = __expectString(output["CustomAvailabilityZoneName"]);
16304
- }
16305
- if (output["CustomAvailabilityZoneStatus"] !== undefined) {
16306
- contents.CustomAvailabilityZoneStatus = __expectString(output["CustomAvailabilityZoneStatus"]);
16307
- }
16308
- if (output["VpnDetails"] !== undefined) {
16309
- contents.VpnDetails = deserializeAws_queryVpnDetails(output["VpnDetails"], context);
16310
- }
16311
- return contents;
16312
- };
16313
- var deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFault = function (output, context) {
16314
- var contents = {
16315
- message: undefined,
16316
- };
16317
- if (output["message"] !== undefined) {
16318
- contents.message = __expectString(output["message"]);
16319
- }
16320
- return contents;
16321
- };
16322
- var deserializeAws_queryCustomAvailabilityZoneList = function (output, context) {
16323
- return (output || [])
16324
- .filter(function (e) { return e != null; })
16325
- .map(function (entry) {
16326
- if (entry === null) {
16327
- return null;
16328
- }
16329
- return deserializeAws_queryCustomAvailabilityZone(entry, context);
16330
- });
16331
- };
16332
- var deserializeAws_queryCustomAvailabilityZoneMessage = function (output, context) {
16333
- var contents = {
16334
- Marker: undefined,
16335
- CustomAvailabilityZones: undefined,
16336
- };
16337
- if (output["Marker"] !== undefined) {
16338
- contents.Marker = __expectString(output["Marker"]);
16339
- }
16340
- if (output.CustomAvailabilityZones === "") {
16341
- contents.CustomAvailabilityZones = [];
16342
- }
16343
- if (output["CustomAvailabilityZones"] !== undefined &&
16344
- output["CustomAvailabilityZones"]["CustomAvailabilityZone"] !== undefined) {
16345
- contents.CustomAvailabilityZones = deserializeAws_queryCustomAvailabilityZoneList(__getArrayIfSingleItem(output["CustomAvailabilityZones"]["CustomAvailabilityZone"]), context);
16346
- }
16347
- return contents;
16348
- };
16349
15830
  var deserializeAws_queryCustomAvailabilityZoneNotFoundFault = function (output, context) {
16350
15831
  var contents = {
16351
15832
  message: undefined,
@@ -16355,15 +15836,6 @@ var deserializeAws_queryCustomAvailabilityZoneNotFoundFault = function (output,
16355
15836
  }
16356
15837
  return contents;
16357
15838
  };
16358
- var deserializeAws_queryCustomAvailabilityZoneQuotaExceededFault = function (output, context) {
16359
- var contents = {
16360
- message: undefined,
16361
- };
16362
- if (output["message"] !== undefined) {
16363
- contents.message = __expectString(output["message"]);
16364
- }
16365
- return contents;
16366
- };
16367
15839
  var deserializeAws_queryCustomDBEngineVersionAlreadyExistsFault = function (output, context) {
16368
15840
  var contents = {
16369
15841
  message: undefined,
@@ -16460,6 +15932,7 @@ var deserializeAws_queryDBCluster = function (output, context) {
16460
15932
  PerformanceInsightsEnabled: undefined,
16461
15933
  PerformanceInsightsKMSKeyId: undefined,
16462
15934
  PerformanceInsightsRetentionPeriod: undefined,
15935
+ ServerlessV2ScalingConfiguration: undefined,
16463
15936
  };
16464
15937
  if (output["AllocatedStorage"] !== undefined) {
16465
15938
  contents.AllocatedStorage = __strictParseInt32(output["AllocatedStorage"]);
@@ -16696,6 +16169,9 @@ var deserializeAws_queryDBCluster = function (output, context) {
16696
16169
  if (output["PerformanceInsightsRetentionPeriod"] !== undefined) {
16697
16170
  contents.PerformanceInsightsRetentionPeriod = __strictParseInt32(output["PerformanceInsightsRetentionPeriod"]);
16698
16171
  }
16172
+ if (output["ServerlessV2ScalingConfiguration"] !== undefined) {
16173
+ contents.ServerlessV2ScalingConfiguration = deserializeAws_queryServerlessV2ScalingConfigurationInfo(output["ServerlessV2ScalingConfiguration"], context);
16174
+ }
16699
16175
  return contents;
16700
16176
  };
16701
16177
  var deserializeAws_queryDBClusterAlreadyExistsFault = function (output, context) {
@@ -19041,15 +18517,6 @@ var deserializeAws_queryDBUpgradeDependencyFailureFault = function (output, cont
19041
18517
  }
19042
18518
  return contents;
19043
18519
  };
19044
- var deserializeAws_queryDeleteCustomAvailabilityZoneResult = function (output, context) {
19045
- var contents = {
19046
- CustomAvailabilityZone: undefined,
19047
- };
19048
- if (output["CustomAvailabilityZone"] !== undefined) {
19049
- contents.CustomAvailabilityZone = deserializeAws_queryCustomAvailabilityZone(output["CustomAvailabilityZone"], context);
19050
- }
19051
- return contents;
19052
- };
19053
18520
  var deserializeAws_queryDeleteDBClusterResult = function (output, context) {
19054
18521
  var contents = {
19055
18522
  DBCluster: undefined,
@@ -19955,96 +19422,6 @@ var deserializeAws_queryIamRoleNotFoundFault = function (output, context) {
19955
19422
  }
19956
19423
  return contents;
19957
19424
  };
19958
- var deserializeAws_queryInstallationMedia = function (output, context) {
19959
- var contents = {
19960
- InstallationMediaId: undefined,
19961
- CustomAvailabilityZoneId: undefined,
19962
- Engine: undefined,
19963
- EngineVersion: undefined,
19964
- EngineInstallationMediaPath: undefined,
19965
- OSInstallationMediaPath: undefined,
19966
- Status: undefined,
19967
- FailureCause: undefined,
19968
- };
19969
- if (output["InstallationMediaId"] !== undefined) {
19970
- contents.InstallationMediaId = __expectString(output["InstallationMediaId"]);
19971
- }
19972
- if (output["CustomAvailabilityZoneId"] !== undefined) {
19973
- contents.CustomAvailabilityZoneId = __expectString(output["CustomAvailabilityZoneId"]);
19974
- }
19975
- if (output["Engine"] !== undefined) {
19976
- contents.Engine = __expectString(output["Engine"]);
19977
- }
19978
- if (output["EngineVersion"] !== undefined) {
19979
- contents.EngineVersion = __expectString(output["EngineVersion"]);
19980
- }
19981
- if (output["EngineInstallationMediaPath"] !== undefined) {
19982
- contents.EngineInstallationMediaPath = __expectString(output["EngineInstallationMediaPath"]);
19983
- }
19984
- if (output["OSInstallationMediaPath"] !== undefined) {
19985
- contents.OSInstallationMediaPath = __expectString(output["OSInstallationMediaPath"]);
19986
- }
19987
- if (output["Status"] !== undefined) {
19988
- contents.Status = __expectString(output["Status"]);
19989
- }
19990
- if (output["FailureCause"] !== undefined) {
19991
- contents.FailureCause = deserializeAws_queryInstallationMediaFailureCause(output["FailureCause"], context);
19992
- }
19993
- return contents;
19994
- };
19995
- var deserializeAws_queryInstallationMediaAlreadyExistsFault = function (output, context) {
19996
- var contents = {
19997
- message: undefined,
19998
- };
19999
- if (output["message"] !== undefined) {
20000
- contents.message = __expectString(output["message"]);
20001
- }
20002
- return contents;
20003
- };
20004
- var deserializeAws_queryInstallationMediaFailureCause = function (output, context) {
20005
- var contents = {
20006
- Message: undefined,
20007
- };
20008
- if (output["Message"] !== undefined) {
20009
- contents.Message = __expectString(output["Message"]);
20010
- }
20011
- return contents;
20012
- };
20013
- var deserializeAws_queryInstallationMediaList = function (output, context) {
20014
- return (output || [])
20015
- .filter(function (e) { return e != null; })
20016
- .map(function (entry) {
20017
- if (entry === null) {
20018
- return null;
20019
- }
20020
- return deserializeAws_queryInstallationMedia(entry, context);
20021
- });
20022
- };
20023
- var deserializeAws_queryInstallationMediaMessage = function (output, context) {
20024
- var contents = {
20025
- Marker: undefined,
20026
- InstallationMedia: undefined,
20027
- };
20028
- if (output["Marker"] !== undefined) {
20029
- contents.Marker = __expectString(output["Marker"]);
20030
- }
20031
- if (output.InstallationMedia === "") {
20032
- contents.InstallationMedia = [];
20033
- }
20034
- if (output["InstallationMedia"] !== undefined && output["InstallationMedia"]["InstallationMedia"] !== undefined) {
20035
- contents.InstallationMedia = deserializeAws_queryInstallationMediaList(__getArrayIfSingleItem(output["InstallationMedia"]["InstallationMedia"]), context);
20036
- }
20037
- return contents;
20038
- };
20039
- var deserializeAws_queryInstallationMediaNotFoundFault = function (output, context) {
20040
- var contents = {
20041
- message: undefined,
20042
- };
20043
- if (output["message"] !== undefined) {
20044
- contents.message = __expectString(output["message"]);
20045
- }
20046
- return contents;
20047
- };
20048
19425
  var deserializeAws_queryInstanceQuotaExceededFault = function (output, context) {
20049
19426
  var contents = {
20050
19427
  message: undefined,
@@ -21875,6 +21252,19 @@ var deserializeAws_queryScalingConfigurationInfo = function (output, context) {
21875
21252
  }
21876
21253
  return contents;
21877
21254
  };
21255
+ var deserializeAws_queryServerlessV2ScalingConfigurationInfo = function (output, context) {
21256
+ var contents = {
21257
+ MinCapacity: undefined,
21258
+ MaxCapacity: undefined,
21259
+ };
21260
+ if (output["MinCapacity"] !== undefined) {
21261
+ contents.MinCapacity = __strictParseFloat(output["MinCapacity"]);
21262
+ }
21263
+ if (output["MaxCapacity"] !== undefined) {
21264
+ contents.MaxCapacity = __strictParseFloat(output["MaxCapacity"]);
21265
+ }
21266
+ return contents;
21267
+ };
21878
21268
  var deserializeAws_querySharedSnapshotQuotaExceededFault = function (output, context) {
21879
21269
  var contents = {
21880
21270
  message: undefined,
@@ -22458,35 +21848,6 @@ var deserializeAws_queryVpcSecurityGroupMembershipList = function (output, conte
22458
21848
  return deserializeAws_queryVpcSecurityGroupMembership(entry, context);
22459
21849
  });
22460
21850
  };
22461
- var deserializeAws_queryVpnDetails = function (output, context) {
22462
- var contents = {
22463
- VpnId: undefined,
22464
- VpnTunnelOriginatorIP: undefined,
22465
- VpnGatewayIp: undefined,
22466
- VpnPSK: undefined,
22467
- VpnName: undefined,
22468
- VpnState: undefined,
22469
- };
22470
- if (output["VpnId"] !== undefined) {
22471
- contents.VpnId = __expectString(output["VpnId"]);
22472
- }
22473
- if (output["VpnTunnelOriginatorIP"] !== undefined) {
22474
- contents.VpnTunnelOriginatorIP = __expectString(output["VpnTunnelOriginatorIP"]);
22475
- }
22476
- if (output["VpnGatewayIp"] !== undefined) {
22477
- contents.VpnGatewayIp = __expectString(output["VpnGatewayIp"]);
22478
- }
22479
- if (output["VpnPSK"] !== undefined) {
22480
- contents.VpnPSK = __expectString(output["VpnPSK"]);
22481
- }
22482
- if (output["VpnName"] !== undefined) {
22483
- contents.VpnName = __expectString(output["VpnName"]);
22484
- }
22485
- if (output["VpnState"] !== undefined) {
22486
- contents.VpnState = __expectString(output["VpnState"]);
22487
- }
22488
- return contents;
22489
- };
22490
21851
  var deserializeMetadata = function (output) {
22491
21852
  var _a;
22492
21853
  return ({