@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.
- package/CHANGELOG.md +30 -0
- package/README.md +2 -2
- package/dist-cjs/RDS.js +0 -90
- package/dist-cjs/commands/DescribeDBProxyTargetsCommand.js +1 -2
- package/dist-cjs/commands/DescribeDBSecurityGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeDBSnapshotAttributesCommand.js +2 -1
- package/dist-cjs/commands/index.js +0 -6
- package/dist-cjs/models/models_0.js +91 -122
- package/dist-cjs/models/models_1.js +4 -109
- package/dist-cjs/pagination/index.js +1 -3
- package/dist-cjs/protocols/Aws_query.js +68 -640
- package/dist-es/RDS.js +0 -90
- package/dist-es/commands/DescribeDBProxyTargetsCommand.js +1 -2
- package/dist-es/commands/DescribeDBSecurityGroupsCommand.js +1 -1
- package/dist-es/commands/DescribeDBSnapshotAttributesCommand.js +2 -1
- package/dist-es/commands/index.js +0 -6
- package/dist-es/models/models_0.js +66 -89
- package/dist-es/models/models_1.js +0 -82
- package/dist-es/pagination/index.js +1 -3
- package/dist-es/protocols/Aws_query.js +78 -717
- package/dist-types/RDS.d.ts +1 -61
- package/dist-types/RDSClient.d.ts +2 -8
- package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +1 -2
- package/dist-types/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBSnapshotAttributesCommand.d.ts +2 -1
- package/dist-types/commands/ModifyCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +0 -6
- package/dist-types/models/models_0.d.ts +304 -308
- package/dist-types/models/models_1.d.ts +223 -382
- package/dist-types/pagination/index.d.ts +1 -3
- package/dist-types/protocols/Aws_query.d.ts +0 -18
- package/dist-types/ts3.4/RDS.d.ts +0 -30
- package/dist-types/ts3.4/RDSClient.d.ts +2 -8
- package/dist-types/ts3.4/commands/DescribeDBProxyTargetsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeDBSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBSnapshotAttributesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/index.d.ts +0 -6
- package/dist-types/ts3.4/models/models_0.d.ts +151 -158
- package/dist-types/ts3.4/models/models_1.d.ts +9 -173
- package/dist-types/ts3.4/pagination/index.d.ts +1 -3
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -18
- package/package.json +7 -7
- package/dist-cjs/commands/CreateCustomAvailabilityZoneCommand.js +0 -36
- package/dist-cjs/commands/DeleteCustomAvailabilityZoneCommand.js +0 -36
- package/dist-cjs/commands/DeleteInstallationMediaCommand.js +0 -36
- package/dist-cjs/commands/DescribeCustomAvailabilityZonesCommand.js +0 -36
- package/dist-cjs/commands/DescribeInstallationMediaCommand.js +0 -36
- package/dist-cjs/commands/ImportInstallationMediaCommand.js +0 -37
- package/dist-cjs/pagination/DescribeCustomAvailabilityZonesPaginator.js +0 -35
- package/dist-cjs/pagination/DescribeInstallationMediaPaginator.js +0 -35
- package/dist-es/commands/CreateCustomAvailabilityZoneCommand.js +0 -39
- package/dist-es/commands/DeleteCustomAvailabilityZoneCommand.js +0 -39
- package/dist-es/commands/DeleteInstallationMediaCommand.js +0 -39
- package/dist-es/commands/DescribeCustomAvailabilityZonesCommand.js +0 -39
- package/dist-es/commands/DescribeInstallationMediaCommand.js +0 -39
- package/dist-es/commands/ImportInstallationMediaCommand.js +0 -40
- package/dist-es/pagination/DescribeCustomAvailabilityZonesPaginator.js +0 -74
- package/dist-es/pagination/DescribeInstallationMediaPaginator.js +0 -74
- package/dist-types/commands/CreateCustomAvailabilityZoneCommand.d.ts +0 -40
- package/dist-types/commands/DeleteCustomAvailabilityZoneCommand.d.ts +0 -40
- package/dist-types/commands/DeleteInstallationMediaCommand.d.ts +0 -36
- package/dist-types/commands/DescribeCustomAvailabilityZonesCommand.d.ts +0 -40
- package/dist-types/commands/DescribeInstallationMediaCommand.d.ts +0 -36
- package/dist-types/commands/ImportInstallationMediaCommand.d.ts +0 -37
- package/dist-types/pagination/DescribeCustomAvailabilityZonesPaginator.d.ts +0 -4
- package/dist-types/pagination/DescribeInstallationMediaPaginator.d.ts +0 -4
- package/dist-types/ts3.4/commands/CreateCustomAvailabilityZoneCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteCustomAvailabilityZoneCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteInstallationMediaCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeCustomAvailabilityZonesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeInstallationMediaCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ImportInstallationMediaCommand.d.ts +0 -18
- package/dist-types/ts3.4/pagination/DescribeCustomAvailabilityZonesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/DescribeInstallationMediaPaginator.d.ts +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.serializeAws_queryModifyDBClusterParameterGroupCommand = exports.serializeAws_queryModifyDBClusterEndpointCommand = exports.serializeAws_queryModifyDBClusterCommand = exports.serializeAws_queryModifyCustomDBEngineVersionCommand = exports.serializeAws_queryModifyCurrentDBClusterCapacityCommand = exports.serializeAws_queryModifyCertificatesCommand = exports.serializeAws_queryListTagsForResourceCommand = exports.
|
|
5
|
-
exports.deserializeAws_queryCopyDBClusterParameterGroupCommand = exports.deserializeAws_queryCancelExportTaskCommand = exports.deserializeAws_queryBacktrackDBClusterCommand = exports.deserializeAws_queryAuthorizeDBSecurityGroupIngressCommand = exports.deserializeAws_queryApplyPendingMaintenanceActionCommand = exports.deserializeAws_queryAddTagsToResourceCommand = exports.deserializeAws_queryAddSourceIdentifierToSubscriptionCommand = exports.deserializeAws_queryAddRoleToDBInstanceCommand = exports.deserializeAws_queryAddRoleToDBClusterCommand = exports.serializeAws_queryStopDBInstanceAutomatedBackupsReplicationCommand = exports.serializeAws_queryStopDBInstanceCommand = exports.serializeAws_queryStopDBClusterCommand = exports.serializeAws_queryStopActivityStreamCommand = exports.serializeAws_queryStartExportTaskCommand = exports.serializeAws_queryStartDBInstanceAutomatedBackupsReplicationCommand = exports.serializeAws_queryStartDBInstanceCommand = exports.serializeAws_queryStartDBClusterCommand = exports.serializeAws_queryStartActivityStreamCommand = exports.serializeAws_queryRevokeDBSecurityGroupIngressCommand = exports.serializeAws_queryRestoreDBInstanceToPointInTimeCommand = exports.serializeAws_queryRestoreDBInstanceFromS3Command = exports.serializeAws_queryRestoreDBInstanceFromDBSnapshotCommand = exports.serializeAws_queryRestoreDBClusterToPointInTimeCommand = exports.serializeAws_queryRestoreDBClusterFromSnapshotCommand = exports.serializeAws_queryRestoreDBClusterFromS3Command = exports.serializeAws_queryResetDBParameterGroupCommand = exports.serializeAws_queryResetDBClusterParameterGroupCommand = exports.serializeAws_queryRemoveTagsFromResourceCommand = exports.serializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand = exports.serializeAws_queryRemoveRoleFromDBInstanceCommand = exports.serializeAws_queryRemoveRoleFromDBClusterCommand = exports.serializeAws_queryRemoveFromGlobalClusterCommand = exports.serializeAws_queryRegisterDBProxyTargetsCommand = exports.serializeAws_queryRebootDBInstanceCommand = exports.serializeAws_queryRebootDBClusterCommand = exports.serializeAws_queryPurchaseReservedDBInstancesOfferingCommand = exports.serializeAws_queryPromoteReadReplicaDBClusterCommand = exports.serializeAws_queryPromoteReadReplicaCommand = exports.serializeAws_queryModifyOptionGroupCommand = exports.serializeAws_queryModifyGlobalClusterCommand = exports.serializeAws_queryModifyEventSubscriptionCommand = exports.serializeAws_queryModifyDBSubnetGroupCommand = exports.serializeAws_queryModifyDBSnapshotAttributeCommand = exports.serializeAws_queryModifyDBSnapshotCommand =
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.deserializeAws_queryStopDBInstanceAutomatedBackupsReplicationCommand = exports.deserializeAws_queryStopDBInstanceCommand = exports.deserializeAws_queryStopDBClusterCommand = exports.deserializeAws_queryStopActivityStreamCommand = exports.deserializeAws_queryStartExportTaskCommand = exports.deserializeAws_queryStartDBInstanceAutomatedBackupsReplicationCommand = exports.deserializeAws_queryStartDBInstanceCommand = exports.deserializeAws_queryStartDBClusterCommand = exports.deserializeAws_queryStartActivityStreamCommand = exports.deserializeAws_queryRevokeDBSecurityGroupIngressCommand = exports.deserializeAws_queryRestoreDBInstanceToPointInTimeCommand = exports.deserializeAws_queryRestoreDBInstanceFromS3Command = exports.deserializeAws_queryRestoreDBInstanceFromDBSnapshotCommand = exports.deserializeAws_queryRestoreDBClusterToPointInTimeCommand = exports.deserializeAws_queryRestoreDBClusterFromSnapshotCommand = exports.deserializeAws_queryRestoreDBClusterFromS3Command = exports.deserializeAws_queryResetDBParameterGroupCommand = exports.deserializeAws_queryResetDBClusterParameterGroupCommand = exports.deserializeAws_queryRemoveTagsFromResourceCommand = exports.deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand =
|
|
3
|
+
exports.serializeAws_queryDescribeDBClusterEndpointsCommand = exports.serializeAws_queryDescribeDBClusterBacktracksCommand = exports.serializeAws_queryDescribeCertificatesCommand = exports.serializeAws_queryDescribeAccountAttributesCommand = exports.serializeAws_queryDeregisterDBProxyTargetsCommand = exports.serializeAws_queryDeleteOptionGroupCommand = exports.serializeAws_queryDeleteGlobalClusterCommand = exports.serializeAws_queryDeleteEventSubscriptionCommand = exports.serializeAws_queryDeleteDBSubnetGroupCommand = exports.serializeAws_queryDeleteDBSnapshotCommand = exports.serializeAws_queryDeleteDBSecurityGroupCommand = exports.serializeAws_queryDeleteDBProxyEndpointCommand = exports.serializeAws_queryDeleteDBProxyCommand = exports.serializeAws_queryDeleteDBParameterGroupCommand = exports.serializeAws_queryDeleteDBInstanceAutomatedBackupCommand = exports.serializeAws_queryDeleteDBInstanceCommand = exports.serializeAws_queryDeleteDBClusterSnapshotCommand = exports.serializeAws_queryDeleteDBClusterParameterGroupCommand = exports.serializeAws_queryDeleteDBClusterEndpointCommand = exports.serializeAws_queryDeleteDBClusterCommand = exports.serializeAws_queryDeleteCustomDBEngineVersionCommand = exports.serializeAws_queryCreateOptionGroupCommand = exports.serializeAws_queryCreateGlobalClusterCommand = exports.serializeAws_queryCreateEventSubscriptionCommand = exports.serializeAws_queryCreateDBSubnetGroupCommand = exports.serializeAws_queryCreateDBSnapshotCommand = exports.serializeAws_queryCreateDBSecurityGroupCommand = exports.serializeAws_queryCreateDBProxyEndpointCommand = exports.serializeAws_queryCreateDBProxyCommand = exports.serializeAws_queryCreateDBParameterGroupCommand = exports.serializeAws_queryCreateDBInstanceReadReplicaCommand = exports.serializeAws_queryCreateDBInstanceCommand = exports.serializeAws_queryCreateDBClusterSnapshotCommand = exports.serializeAws_queryCreateDBClusterParameterGroupCommand = exports.serializeAws_queryCreateDBClusterEndpointCommand = exports.serializeAws_queryCreateDBClusterCommand = exports.serializeAws_queryCreateCustomDBEngineVersionCommand = exports.serializeAws_queryCopyOptionGroupCommand = exports.serializeAws_queryCopyDBSnapshotCommand = exports.serializeAws_queryCopyDBParameterGroupCommand = exports.serializeAws_queryCopyDBClusterSnapshotCommand = exports.serializeAws_queryCopyDBClusterParameterGroupCommand = exports.serializeAws_queryCancelExportTaskCommand = exports.serializeAws_queryBacktrackDBClusterCommand = exports.serializeAws_queryAuthorizeDBSecurityGroupIngressCommand = exports.serializeAws_queryApplyPendingMaintenanceActionCommand = exports.serializeAws_queryAddTagsToResourceCommand = exports.serializeAws_queryAddSourceIdentifierToSubscriptionCommand = exports.serializeAws_queryAddRoleToDBInstanceCommand = exports.serializeAws_queryAddRoleToDBClusterCommand = void 0;
|
|
4
|
+
exports.serializeAws_queryModifyDBProxyTargetGroupCommand = exports.serializeAws_queryModifyDBProxyEndpointCommand = exports.serializeAws_queryModifyDBProxyCommand = exports.serializeAws_queryModifyDBParameterGroupCommand = exports.serializeAws_queryModifyDBInstanceCommand = exports.serializeAws_queryModifyDBClusterSnapshotAttributeCommand = exports.serializeAws_queryModifyDBClusterParameterGroupCommand = exports.serializeAws_queryModifyDBClusterEndpointCommand = exports.serializeAws_queryModifyDBClusterCommand = exports.serializeAws_queryModifyCustomDBEngineVersionCommand = exports.serializeAws_queryModifyCurrentDBClusterCapacityCommand = exports.serializeAws_queryModifyCertificatesCommand = exports.serializeAws_queryListTagsForResourceCommand = exports.serializeAws_queryFailoverGlobalClusterCommand = exports.serializeAws_queryFailoverDBClusterCommand = exports.serializeAws_queryDownloadDBLogFilePortionCommand = exports.serializeAws_queryDescribeValidDBInstanceModificationsCommand = exports.serializeAws_queryDescribeSourceRegionsCommand = exports.serializeAws_queryDescribeReservedDBInstancesOfferingsCommand = exports.serializeAws_queryDescribeReservedDBInstancesCommand = exports.serializeAws_queryDescribePendingMaintenanceActionsCommand = exports.serializeAws_queryDescribeOrderableDBInstanceOptionsCommand = exports.serializeAws_queryDescribeOptionGroupsCommand = exports.serializeAws_queryDescribeOptionGroupOptionsCommand = exports.serializeAws_queryDescribeGlobalClustersCommand = exports.serializeAws_queryDescribeExportTasksCommand = exports.serializeAws_queryDescribeEventSubscriptionsCommand = exports.serializeAws_queryDescribeEventsCommand = exports.serializeAws_queryDescribeEventCategoriesCommand = exports.serializeAws_queryDescribeEngineDefaultParametersCommand = exports.serializeAws_queryDescribeEngineDefaultClusterParametersCommand = exports.serializeAws_queryDescribeDBSubnetGroupsCommand = exports.serializeAws_queryDescribeDBSnapshotsCommand = exports.serializeAws_queryDescribeDBSnapshotAttributesCommand = exports.serializeAws_queryDescribeDBSecurityGroupsCommand = exports.serializeAws_queryDescribeDBProxyTargetsCommand = exports.serializeAws_queryDescribeDBProxyTargetGroupsCommand = exports.serializeAws_queryDescribeDBProxyEndpointsCommand = exports.serializeAws_queryDescribeDBProxiesCommand = exports.serializeAws_queryDescribeDBParametersCommand = exports.serializeAws_queryDescribeDBParameterGroupsCommand = exports.serializeAws_queryDescribeDBLogFilesCommand = exports.serializeAws_queryDescribeDBInstancesCommand = exports.serializeAws_queryDescribeDBInstanceAutomatedBackupsCommand = exports.serializeAws_queryDescribeDBEngineVersionsCommand = exports.serializeAws_queryDescribeDBClusterSnapshotsCommand = exports.serializeAws_queryDescribeDBClusterSnapshotAttributesCommand = exports.serializeAws_queryDescribeDBClustersCommand = exports.serializeAws_queryDescribeDBClusterParametersCommand = exports.serializeAws_queryDescribeDBClusterParameterGroupsCommand = void 0;
|
|
5
|
+
exports.deserializeAws_queryCreateDBClusterCommand = exports.deserializeAws_queryCreateCustomDBEngineVersionCommand = exports.deserializeAws_queryCopyOptionGroupCommand = exports.deserializeAws_queryCopyDBSnapshotCommand = exports.deserializeAws_queryCopyDBParameterGroupCommand = exports.deserializeAws_queryCopyDBClusterSnapshotCommand = exports.deserializeAws_queryCopyDBClusterParameterGroupCommand = exports.deserializeAws_queryCancelExportTaskCommand = exports.deserializeAws_queryBacktrackDBClusterCommand = exports.deserializeAws_queryAuthorizeDBSecurityGroupIngressCommand = exports.deserializeAws_queryApplyPendingMaintenanceActionCommand = exports.deserializeAws_queryAddTagsToResourceCommand = exports.deserializeAws_queryAddSourceIdentifierToSubscriptionCommand = exports.deserializeAws_queryAddRoleToDBInstanceCommand = exports.deserializeAws_queryAddRoleToDBClusterCommand = exports.serializeAws_queryStopDBInstanceAutomatedBackupsReplicationCommand = exports.serializeAws_queryStopDBInstanceCommand = exports.serializeAws_queryStopDBClusterCommand = exports.serializeAws_queryStopActivityStreamCommand = exports.serializeAws_queryStartExportTaskCommand = exports.serializeAws_queryStartDBInstanceAutomatedBackupsReplicationCommand = exports.serializeAws_queryStartDBInstanceCommand = exports.serializeAws_queryStartDBClusterCommand = exports.serializeAws_queryStartActivityStreamCommand = exports.serializeAws_queryRevokeDBSecurityGroupIngressCommand = exports.serializeAws_queryRestoreDBInstanceToPointInTimeCommand = exports.serializeAws_queryRestoreDBInstanceFromS3Command = exports.serializeAws_queryRestoreDBInstanceFromDBSnapshotCommand = exports.serializeAws_queryRestoreDBClusterToPointInTimeCommand = exports.serializeAws_queryRestoreDBClusterFromSnapshotCommand = exports.serializeAws_queryRestoreDBClusterFromS3Command = exports.serializeAws_queryResetDBParameterGroupCommand = exports.serializeAws_queryResetDBClusterParameterGroupCommand = exports.serializeAws_queryRemoveTagsFromResourceCommand = exports.serializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand = exports.serializeAws_queryRemoveRoleFromDBInstanceCommand = exports.serializeAws_queryRemoveRoleFromDBClusterCommand = exports.serializeAws_queryRemoveFromGlobalClusterCommand = exports.serializeAws_queryRegisterDBProxyTargetsCommand = exports.serializeAws_queryRebootDBInstanceCommand = exports.serializeAws_queryRebootDBClusterCommand = exports.serializeAws_queryPurchaseReservedDBInstancesOfferingCommand = exports.serializeAws_queryPromoteReadReplicaDBClusterCommand = exports.serializeAws_queryPromoteReadReplicaCommand = exports.serializeAws_queryModifyOptionGroupCommand = exports.serializeAws_queryModifyGlobalClusterCommand = exports.serializeAws_queryModifyEventSubscriptionCommand = exports.serializeAws_queryModifyDBSubnetGroupCommand = exports.serializeAws_queryModifyDBSnapshotAttributeCommand = exports.serializeAws_queryModifyDBSnapshotCommand = void 0;
|
|
6
|
+
exports.deserializeAws_queryDescribeDBProxyTargetsCommand = exports.deserializeAws_queryDescribeDBProxyTargetGroupsCommand = exports.deserializeAws_queryDescribeDBProxyEndpointsCommand = exports.deserializeAws_queryDescribeDBProxiesCommand = exports.deserializeAws_queryDescribeDBParametersCommand = exports.deserializeAws_queryDescribeDBParameterGroupsCommand = exports.deserializeAws_queryDescribeDBLogFilesCommand = exports.deserializeAws_queryDescribeDBInstancesCommand = exports.deserializeAws_queryDescribeDBInstanceAutomatedBackupsCommand = exports.deserializeAws_queryDescribeDBEngineVersionsCommand = exports.deserializeAws_queryDescribeDBClusterSnapshotsCommand = exports.deserializeAws_queryDescribeDBClusterSnapshotAttributesCommand = exports.deserializeAws_queryDescribeDBClustersCommand = exports.deserializeAws_queryDescribeDBClusterParametersCommand = exports.deserializeAws_queryDescribeDBClusterParameterGroupsCommand = exports.deserializeAws_queryDescribeDBClusterEndpointsCommand = exports.deserializeAws_queryDescribeDBClusterBacktracksCommand = exports.deserializeAws_queryDescribeCertificatesCommand = exports.deserializeAws_queryDescribeAccountAttributesCommand = exports.deserializeAws_queryDeregisterDBProxyTargetsCommand = exports.deserializeAws_queryDeleteOptionGroupCommand = exports.deserializeAws_queryDeleteGlobalClusterCommand = exports.deserializeAws_queryDeleteEventSubscriptionCommand = exports.deserializeAws_queryDeleteDBSubnetGroupCommand = exports.deserializeAws_queryDeleteDBSnapshotCommand = exports.deserializeAws_queryDeleteDBSecurityGroupCommand = exports.deserializeAws_queryDeleteDBProxyEndpointCommand = exports.deserializeAws_queryDeleteDBProxyCommand = exports.deserializeAws_queryDeleteDBParameterGroupCommand = exports.deserializeAws_queryDeleteDBInstanceAutomatedBackupCommand = exports.deserializeAws_queryDeleteDBInstanceCommand = exports.deserializeAws_queryDeleteDBClusterSnapshotCommand = exports.deserializeAws_queryDeleteDBClusterParameterGroupCommand = exports.deserializeAws_queryDeleteDBClusterEndpointCommand = exports.deserializeAws_queryDeleteDBClusterCommand = exports.deserializeAws_queryDeleteCustomDBEngineVersionCommand = exports.deserializeAws_queryCreateOptionGroupCommand = exports.deserializeAws_queryCreateGlobalClusterCommand = exports.deserializeAws_queryCreateEventSubscriptionCommand = exports.deserializeAws_queryCreateDBSubnetGroupCommand = exports.deserializeAws_queryCreateDBSnapshotCommand = exports.deserializeAws_queryCreateDBSecurityGroupCommand = exports.deserializeAws_queryCreateDBProxyEndpointCommand = exports.deserializeAws_queryCreateDBProxyCommand = exports.deserializeAws_queryCreateDBParameterGroupCommand = exports.deserializeAws_queryCreateDBInstanceReadReplicaCommand = exports.deserializeAws_queryCreateDBInstanceCommand = exports.deserializeAws_queryCreateDBClusterSnapshotCommand = exports.deserializeAws_queryCreateDBClusterParameterGroupCommand = exports.deserializeAws_queryCreateDBClusterEndpointCommand = void 0;
|
|
7
|
+
exports.deserializeAws_queryRemoveRoleFromDBInstanceCommand = exports.deserializeAws_queryRemoveRoleFromDBClusterCommand = exports.deserializeAws_queryRemoveFromGlobalClusterCommand = exports.deserializeAws_queryRegisterDBProxyTargetsCommand = exports.deserializeAws_queryRebootDBInstanceCommand = exports.deserializeAws_queryRebootDBClusterCommand = exports.deserializeAws_queryPurchaseReservedDBInstancesOfferingCommand = exports.deserializeAws_queryPromoteReadReplicaDBClusterCommand = exports.deserializeAws_queryPromoteReadReplicaCommand = exports.deserializeAws_queryModifyOptionGroupCommand = exports.deserializeAws_queryModifyGlobalClusterCommand = exports.deserializeAws_queryModifyEventSubscriptionCommand = exports.deserializeAws_queryModifyDBSubnetGroupCommand = exports.deserializeAws_queryModifyDBSnapshotAttributeCommand = exports.deserializeAws_queryModifyDBSnapshotCommand = exports.deserializeAws_queryModifyDBProxyTargetGroupCommand = exports.deserializeAws_queryModifyDBProxyEndpointCommand = exports.deserializeAws_queryModifyDBProxyCommand = exports.deserializeAws_queryModifyDBParameterGroupCommand = exports.deserializeAws_queryModifyDBInstanceCommand = exports.deserializeAws_queryModifyDBClusterSnapshotAttributeCommand = exports.deserializeAws_queryModifyDBClusterParameterGroupCommand = exports.deserializeAws_queryModifyDBClusterEndpointCommand = exports.deserializeAws_queryModifyDBClusterCommand = exports.deserializeAws_queryModifyCustomDBEngineVersionCommand = exports.deserializeAws_queryModifyCurrentDBClusterCapacityCommand = exports.deserializeAws_queryModifyCertificatesCommand = exports.deserializeAws_queryListTagsForResourceCommand = exports.deserializeAws_queryFailoverGlobalClusterCommand = exports.deserializeAws_queryFailoverDBClusterCommand = exports.deserializeAws_queryDownloadDBLogFilePortionCommand = exports.deserializeAws_queryDescribeValidDBInstanceModificationsCommand = exports.deserializeAws_queryDescribeSourceRegionsCommand = exports.deserializeAws_queryDescribeReservedDBInstancesOfferingsCommand = exports.deserializeAws_queryDescribeReservedDBInstancesCommand = exports.deserializeAws_queryDescribePendingMaintenanceActionsCommand = exports.deserializeAws_queryDescribeOrderableDBInstanceOptionsCommand = exports.deserializeAws_queryDescribeOptionGroupsCommand = exports.deserializeAws_queryDescribeOptionGroupOptionsCommand = exports.deserializeAws_queryDescribeGlobalClustersCommand = exports.deserializeAws_queryDescribeExportTasksCommand = exports.deserializeAws_queryDescribeEventSubscriptionsCommand = exports.deserializeAws_queryDescribeEventsCommand = exports.deserializeAws_queryDescribeEventCategoriesCommand = exports.deserializeAws_queryDescribeEngineDefaultParametersCommand = exports.deserializeAws_queryDescribeEngineDefaultClusterParametersCommand = exports.deserializeAws_queryDescribeDBSubnetGroupsCommand = exports.deserializeAws_queryDescribeDBSnapshotsCommand = exports.deserializeAws_queryDescribeDBSnapshotAttributesCommand = exports.deserializeAws_queryDescribeDBSecurityGroupsCommand = void 0;
|
|
8
|
+
exports.deserializeAws_queryStopDBInstanceAutomatedBackupsReplicationCommand = exports.deserializeAws_queryStopDBInstanceCommand = exports.deserializeAws_queryStopDBClusterCommand = exports.deserializeAws_queryStopActivityStreamCommand = exports.deserializeAws_queryStartExportTaskCommand = exports.deserializeAws_queryStartDBInstanceAutomatedBackupsReplicationCommand = exports.deserializeAws_queryStartDBInstanceCommand = exports.deserializeAws_queryStartDBClusterCommand = exports.deserializeAws_queryStartActivityStreamCommand = exports.deserializeAws_queryRevokeDBSecurityGroupIngressCommand = exports.deserializeAws_queryRestoreDBInstanceToPointInTimeCommand = exports.deserializeAws_queryRestoreDBInstanceFromS3Command = exports.deserializeAws_queryRestoreDBInstanceFromDBSnapshotCommand = exports.deserializeAws_queryRestoreDBClusterToPointInTimeCommand = exports.deserializeAws_queryRestoreDBClusterFromSnapshotCommand = exports.deserializeAws_queryRestoreDBClusterFromS3Command = exports.deserializeAws_queryResetDBParameterGroupCommand = exports.deserializeAws_queryResetDBClusterParameterGroupCommand = exports.deserializeAws_queryRemoveTagsFromResourceCommand = exports.deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand = void 0;
|
|
9
9
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
10
10
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
11
11
|
const entities_1 = require("entities");
|
|
@@ -182,19 +182,6 @@ const serializeAws_queryCopyOptionGroupCommand = async (input, context) => {
|
|
|
182
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
183
183
|
};
|
|
184
184
|
exports.serializeAws_queryCopyOptionGroupCommand = serializeAws_queryCopyOptionGroupCommand;
|
|
185
|
-
const serializeAws_queryCreateCustomAvailabilityZoneCommand = async (input, context) => {
|
|
186
|
-
const headers = {
|
|
187
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
188
|
-
};
|
|
189
|
-
let body;
|
|
190
|
-
body = buildFormUrlencodedString({
|
|
191
|
-
...serializeAws_queryCreateCustomAvailabilityZoneMessage(input, context),
|
|
192
|
-
Action: "CreateCustomAvailabilityZone",
|
|
193
|
-
Version: "2014-10-31",
|
|
194
|
-
});
|
|
195
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
196
|
-
};
|
|
197
|
-
exports.serializeAws_queryCreateCustomAvailabilityZoneCommand = serializeAws_queryCreateCustomAvailabilityZoneCommand;
|
|
198
185
|
const serializeAws_queryCreateCustomDBEngineVersionCommand = async (input, context) => {
|
|
199
186
|
const headers = {
|
|
200
187
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -403,19 +390,6 @@ const serializeAws_queryCreateOptionGroupCommand = async (input, context) => {
|
|
|
403
390
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
404
391
|
};
|
|
405
392
|
exports.serializeAws_queryCreateOptionGroupCommand = serializeAws_queryCreateOptionGroupCommand;
|
|
406
|
-
const serializeAws_queryDeleteCustomAvailabilityZoneCommand = async (input, context) => {
|
|
407
|
-
const headers = {
|
|
408
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
409
|
-
};
|
|
410
|
-
let body;
|
|
411
|
-
body = buildFormUrlencodedString({
|
|
412
|
-
...serializeAws_queryDeleteCustomAvailabilityZoneMessage(input, context),
|
|
413
|
-
Action: "DeleteCustomAvailabilityZone",
|
|
414
|
-
Version: "2014-10-31",
|
|
415
|
-
});
|
|
416
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
417
|
-
};
|
|
418
|
-
exports.serializeAws_queryDeleteCustomAvailabilityZoneCommand = serializeAws_queryDeleteCustomAvailabilityZoneCommand;
|
|
419
393
|
const serializeAws_queryDeleteCustomDBEngineVersionCommand = async (input, context) => {
|
|
420
394
|
const headers = {
|
|
421
395
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -611,19 +585,6 @@ const serializeAws_queryDeleteGlobalClusterCommand = async (input, context) => {
|
|
|
611
585
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
612
586
|
};
|
|
613
587
|
exports.serializeAws_queryDeleteGlobalClusterCommand = serializeAws_queryDeleteGlobalClusterCommand;
|
|
614
|
-
const serializeAws_queryDeleteInstallationMediaCommand = async (input, context) => {
|
|
615
|
-
const headers = {
|
|
616
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
617
|
-
};
|
|
618
|
-
let body;
|
|
619
|
-
body = buildFormUrlencodedString({
|
|
620
|
-
...serializeAws_queryDeleteInstallationMediaMessage(input, context),
|
|
621
|
-
Action: "DeleteInstallationMedia",
|
|
622
|
-
Version: "2014-10-31",
|
|
623
|
-
});
|
|
624
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
625
|
-
};
|
|
626
|
-
exports.serializeAws_queryDeleteInstallationMediaCommand = serializeAws_queryDeleteInstallationMediaCommand;
|
|
627
588
|
const serializeAws_queryDeleteOptionGroupCommand = async (input, context) => {
|
|
628
589
|
const headers = {
|
|
629
590
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -676,19 +637,6 @@ const serializeAws_queryDescribeCertificatesCommand = async (input, context) =>
|
|
|
676
637
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
677
638
|
};
|
|
678
639
|
exports.serializeAws_queryDescribeCertificatesCommand = serializeAws_queryDescribeCertificatesCommand;
|
|
679
|
-
const serializeAws_queryDescribeCustomAvailabilityZonesCommand = async (input, context) => {
|
|
680
|
-
const headers = {
|
|
681
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
682
|
-
};
|
|
683
|
-
let body;
|
|
684
|
-
body = buildFormUrlencodedString({
|
|
685
|
-
...serializeAws_queryDescribeCustomAvailabilityZonesMessage(input, context),
|
|
686
|
-
Action: "DescribeCustomAvailabilityZones",
|
|
687
|
-
Version: "2014-10-31",
|
|
688
|
-
});
|
|
689
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
690
|
-
};
|
|
691
|
-
exports.serializeAws_queryDescribeCustomAvailabilityZonesCommand = serializeAws_queryDescribeCustomAvailabilityZonesCommand;
|
|
692
640
|
const serializeAws_queryDescribeDBClusterBacktracksCommand = async (input, context) => {
|
|
693
641
|
const headers = {
|
|
694
642
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -1053,19 +1001,6 @@ const serializeAws_queryDescribeGlobalClustersCommand = async (input, context) =
|
|
|
1053
1001
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1054
1002
|
};
|
|
1055
1003
|
exports.serializeAws_queryDescribeGlobalClustersCommand = serializeAws_queryDescribeGlobalClustersCommand;
|
|
1056
|
-
const serializeAws_queryDescribeInstallationMediaCommand = async (input, context) => {
|
|
1057
|
-
const headers = {
|
|
1058
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1059
|
-
};
|
|
1060
|
-
let body;
|
|
1061
|
-
body = buildFormUrlencodedString({
|
|
1062
|
-
...serializeAws_queryDescribeInstallationMediaMessage(input, context),
|
|
1063
|
-
Action: "DescribeInstallationMedia",
|
|
1064
|
-
Version: "2014-10-31",
|
|
1065
|
-
});
|
|
1066
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1067
|
-
};
|
|
1068
|
-
exports.serializeAws_queryDescribeInstallationMediaCommand = serializeAws_queryDescribeInstallationMediaCommand;
|
|
1069
1004
|
const serializeAws_queryDescribeOptionGroupOptionsCommand = async (input, context) => {
|
|
1070
1005
|
const headers = {
|
|
1071
1006
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -1209,19 +1144,6 @@ const serializeAws_queryFailoverGlobalClusterCommand = async (input, context) =>
|
|
|
1209
1144
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1210
1145
|
};
|
|
1211
1146
|
exports.serializeAws_queryFailoverGlobalClusterCommand = serializeAws_queryFailoverGlobalClusterCommand;
|
|
1212
|
-
const serializeAws_queryImportInstallationMediaCommand = async (input, context) => {
|
|
1213
|
-
const headers = {
|
|
1214
|
-
"content-type": "application/x-www-form-urlencoded",
|
|
1215
|
-
};
|
|
1216
|
-
let body;
|
|
1217
|
-
body = buildFormUrlencodedString({
|
|
1218
|
-
...serializeAws_queryImportInstallationMediaMessage(input, context),
|
|
1219
|
-
Action: "ImportInstallationMedia",
|
|
1220
|
-
Version: "2014-10-31",
|
|
1221
|
-
});
|
|
1222
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1223
|
-
};
|
|
1224
|
-
exports.serializeAws_queryImportInstallationMediaCommand = serializeAws_queryImportInstallationMediaCommand;
|
|
1225
1147
|
const serializeAws_queryListTagsForResourceCommand = async (input, context) => {
|
|
1226
1148
|
const headers = {
|
|
1227
1149
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -2407,48 +2329,6 @@ const deserializeAws_queryCopyOptionGroupCommandError = async (output, context)
|
|
|
2407
2329
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2408
2330
|
}
|
|
2409
2331
|
};
|
|
2410
|
-
const deserializeAws_queryCreateCustomAvailabilityZoneCommand = async (output, context) => {
|
|
2411
|
-
if (output.statusCode >= 300) {
|
|
2412
|
-
return deserializeAws_queryCreateCustomAvailabilityZoneCommandError(output, context);
|
|
2413
|
-
}
|
|
2414
|
-
const data = await parseBody(output.body, context);
|
|
2415
|
-
let contents = {};
|
|
2416
|
-
contents = deserializeAws_queryCreateCustomAvailabilityZoneResult(data.CreateCustomAvailabilityZoneResult, context);
|
|
2417
|
-
const response = {
|
|
2418
|
-
$metadata: deserializeMetadata(output),
|
|
2419
|
-
...contents,
|
|
2420
|
-
};
|
|
2421
|
-
return Promise.resolve(response);
|
|
2422
|
-
};
|
|
2423
|
-
exports.deserializeAws_queryCreateCustomAvailabilityZoneCommand = deserializeAws_queryCreateCustomAvailabilityZoneCommand;
|
|
2424
|
-
const deserializeAws_queryCreateCustomAvailabilityZoneCommandError = async (output, context) => {
|
|
2425
|
-
const parsedOutput = {
|
|
2426
|
-
...output,
|
|
2427
|
-
body: await parseBody(output.body, context),
|
|
2428
|
-
};
|
|
2429
|
-
let response;
|
|
2430
|
-
let errorCode = "UnknownError";
|
|
2431
|
-
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2432
|
-
switch (errorCode) {
|
|
2433
|
-
case "CustomAvailabilityZoneAlreadyExistsFault":
|
|
2434
|
-
case "com.amazonaws.rds#CustomAvailabilityZoneAlreadyExistsFault":
|
|
2435
|
-
throw await deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFaultResponse(parsedOutput, context);
|
|
2436
|
-
case "CustomAvailabilityZoneQuotaExceededFault":
|
|
2437
|
-
case "com.amazonaws.rds#CustomAvailabilityZoneQuotaExceededFault":
|
|
2438
|
-
throw await deserializeAws_queryCustomAvailabilityZoneQuotaExceededFaultResponse(parsedOutput, context);
|
|
2439
|
-
case "KMSKeyNotAccessibleFault":
|
|
2440
|
-
case "com.amazonaws.rds#KMSKeyNotAccessibleFault":
|
|
2441
|
-
throw await deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context);
|
|
2442
|
-
default:
|
|
2443
|
-
const parsedBody = parsedOutput.body;
|
|
2444
|
-
response = new RDSServiceException_1.RDSServiceException({
|
|
2445
|
-
name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
|
|
2446
|
-
$fault: "client",
|
|
2447
|
-
$metadata: deserializeMetadata(output),
|
|
2448
|
-
});
|
|
2449
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
2450
|
-
}
|
|
2451
|
-
};
|
|
2452
2332
|
const deserializeAws_queryCreateCustomDBEngineVersionCommand = async (output, context) => {
|
|
2453
2333
|
if (output.statusCode >= 300) {
|
|
2454
2334
|
return deserializeAws_queryCreateCustomDBEngineVersionCommandError(output, context);
|
|
@@ -3298,45 +3178,6 @@ const deserializeAws_queryCreateOptionGroupCommandError = async (output, context
|
|
|
3298
3178
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3299
3179
|
}
|
|
3300
3180
|
};
|
|
3301
|
-
const deserializeAws_queryDeleteCustomAvailabilityZoneCommand = async (output, context) => {
|
|
3302
|
-
if (output.statusCode >= 300) {
|
|
3303
|
-
return deserializeAws_queryDeleteCustomAvailabilityZoneCommandError(output, context);
|
|
3304
|
-
}
|
|
3305
|
-
const data = await parseBody(output.body, context);
|
|
3306
|
-
let contents = {};
|
|
3307
|
-
contents = deserializeAws_queryDeleteCustomAvailabilityZoneResult(data.DeleteCustomAvailabilityZoneResult, context);
|
|
3308
|
-
const response = {
|
|
3309
|
-
$metadata: deserializeMetadata(output),
|
|
3310
|
-
...contents,
|
|
3311
|
-
};
|
|
3312
|
-
return Promise.resolve(response);
|
|
3313
|
-
};
|
|
3314
|
-
exports.deserializeAws_queryDeleteCustomAvailabilityZoneCommand = deserializeAws_queryDeleteCustomAvailabilityZoneCommand;
|
|
3315
|
-
const deserializeAws_queryDeleteCustomAvailabilityZoneCommandError = async (output, context) => {
|
|
3316
|
-
const parsedOutput = {
|
|
3317
|
-
...output,
|
|
3318
|
-
body: await parseBody(output.body, context),
|
|
3319
|
-
};
|
|
3320
|
-
let response;
|
|
3321
|
-
let errorCode = "UnknownError";
|
|
3322
|
-
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3323
|
-
switch (errorCode) {
|
|
3324
|
-
case "CustomAvailabilityZoneNotFoundFault":
|
|
3325
|
-
case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault":
|
|
3326
|
-
throw await deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context);
|
|
3327
|
-
case "KMSKeyNotAccessibleFault":
|
|
3328
|
-
case "com.amazonaws.rds#KMSKeyNotAccessibleFault":
|
|
3329
|
-
throw await deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context);
|
|
3330
|
-
default:
|
|
3331
|
-
const parsedBody = parsedOutput.body;
|
|
3332
|
-
response = new RDSServiceException_1.RDSServiceException({
|
|
3333
|
-
name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
|
|
3334
|
-
$fault: "client",
|
|
3335
|
-
$metadata: deserializeMetadata(output),
|
|
3336
|
-
});
|
|
3337
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3338
|
-
}
|
|
3339
|
-
};
|
|
3340
3181
|
const deserializeAws_queryDeleteCustomDBEngineVersionCommand = async (output, context) => {
|
|
3341
3182
|
if (output.statusCode >= 300) {
|
|
3342
3183
|
return deserializeAws_queryDeleteCustomDBEngineVersionCommandError(output, context);
|
|
@@ -3937,42 +3778,6 @@ const deserializeAws_queryDeleteGlobalClusterCommandError = async (output, conte
|
|
|
3937
3778
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3938
3779
|
}
|
|
3939
3780
|
};
|
|
3940
|
-
const deserializeAws_queryDeleteInstallationMediaCommand = async (output, context) => {
|
|
3941
|
-
if (output.statusCode >= 300) {
|
|
3942
|
-
return deserializeAws_queryDeleteInstallationMediaCommandError(output, context);
|
|
3943
|
-
}
|
|
3944
|
-
const data = await parseBody(output.body, context);
|
|
3945
|
-
let contents = {};
|
|
3946
|
-
contents = deserializeAws_queryInstallationMedia(data.DeleteInstallationMediaResult, context);
|
|
3947
|
-
const response = {
|
|
3948
|
-
$metadata: deserializeMetadata(output),
|
|
3949
|
-
...contents,
|
|
3950
|
-
};
|
|
3951
|
-
return Promise.resolve(response);
|
|
3952
|
-
};
|
|
3953
|
-
exports.deserializeAws_queryDeleteInstallationMediaCommand = deserializeAws_queryDeleteInstallationMediaCommand;
|
|
3954
|
-
const deserializeAws_queryDeleteInstallationMediaCommandError = async (output, context) => {
|
|
3955
|
-
const parsedOutput = {
|
|
3956
|
-
...output,
|
|
3957
|
-
body: await parseBody(output.body, context),
|
|
3958
|
-
};
|
|
3959
|
-
let response;
|
|
3960
|
-
let errorCode = "UnknownError";
|
|
3961
|
-
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3962
|
-
switch (errorCode) {
|
|
3963
|
-
case "InstallationMediaNotFoundFault":
|
|
3964
|
-
case "com.amazonaws.rds#InstallationMediaNotFoundFault":
|
|
3965
|
-
throw await deserializeAws_queryInstallationMediaNotFoundFaultResponse(parsedOutput, context);
|
|
3966
|
-
default:
|
|
3967
|
-
const parsedBody = parsedOutput.body;
|
|
3968
|
-
response = new RDSServiceException_1.RDSServiceException({
|
|
3969
|
-
name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
|
|
3970
|
-
$fault: "client",
|
|
3971
|
-
$metadata: deserializeMetadata(output),
|
|
3972
|
-
});
|
|
3973
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
3974
|
-
}
|
|
3975
|
-
};
|
|
3976
3781
|
const deserializeAws_queryDeleteOptionGroupCommand = async (output, context) => {
|
|
3977
3782
|
if (output.statusCode >= 300) {
|
|
3978
3783
|
return deserializeAws_queryDeleteOptionGroupCommandError(output, context);
|
|
@@ -4123,42 +3928,6 @@ const deserializeAws_queryDescribeCertificatesCommandError = async (output, cont
|
|
|
4123
3928
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4124
3929
|
}
|
|
4125
3930
|
};
|
|
4126
|
-
const deserializeAws_queryDescribeCustomAvailabilityZonesCommand = async (output, context) => {
|
|
4127
|
-
if (output.statusCode >= 300) {
|
|
4128
|
-
return deserializeAws_queryDescribeCustomAvailabilityZonesCommandError(output, context);
|
|
4129
|
-
}
|
|
4130
|
-
const data = await parseBody(output.body, context);
|
|
4131
|
-
let contents = {};
|
|
4132
|
-
contents = deserializeAws_queryCustomAvailabilityZoneMessage(data.DescribeCustomAvailabilityZonesResult, context);
|
|
4133
|
-
const response = {
|
|
4134
|
-
$metadata: deserializeMetadata(output),
|
|
4135
|
-
...contents,
|
|
4136
|
-
};
|
|
4137
|
-
return Promise.resolve(response);
|
|
4138
|
-
};
|
|
4139
|
-
exports.deserializeAws_queryDescribeCustomAvailabilityZonesCommand = deserializeAws_queryDescribeCustomAvailabilityZonesCommand;
|
|
4140
|
-
const deserializeAws_queryDescribeCustomAvailabilityZonesCommandError = async (output, context) => {
|
|
4141
|
-
const parsedOutput = {
|
|
4142
|
-
...output,
|
|
4143
|
-
body: await parseBody(output.body, context),
|
|
4144
|
-
};
|
|
4145
|
-
let response;
|
|
4146
|
-
let errorCode = "UnknownError";
|
|
4147
|
-
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4148
|
-
switch (errorCode) {
|
|
4149
|
-
case "CustomAvailabilityZoneNotFoundFault":
|
|
4150
|
-
case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault":
|
|
4151
|
-
throw await deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context);
|
|
4152
|
-
default:
|
|
4153
|
-
const parsedBody = parsedOutput.body;
|
|
4154
|
-
response = new RDSServiceException_1.RDSServiceException({
|
|
4155
|
-
name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
|
|
4156
|
-
$fault: "client",
|
|
4157
|
-
$metadata: deserializeMetadata(output),
|
|
4158
|
-
});
|
|
4159
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
4160
|
-
}
|
|
4161
|
-
};
|
|
4162
3931
|
const deserializeAws_queryDescribeDBClusterBacktracksCommand = async (output, context) => {
|
|
4163
3932
|
if (output.statusCode >= 300) {
|
|
4164
3933
|
return deserializeAws_queryDescribeDBClusterBacktracksCommandError(output, context);
|
|
@@ -5173,42 +4942,6 @@ const deserializeAws_queryDescribeGlobalClustersCommandError = async (output, co
|
|
|
5173
4942
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
5174
4943
|
}
|
|
5175
4944
|
};
|
|
5176
|
-
const deserializeAws_queryDescribeInstallationMediaCommand = async (output, context) => {
|
|
5177
|
-
if (output.statusCode >= 300) {
|
|
5178
|
-
return deserializeAws_queryDescribeInstallationMediaCommandError(output, context);
|
|
5179
|
-
}
|
|
5180
|
-
const data = await parseBody(output.body, context);
|
|
5181
|
-
let contents = {};
|
|
5182
|
-
contents = deserializeAws_queryInstallationMediaMessage(data.DescribeInstallationMediaResult, context);
|
|
5183
|
-
const response = {
|
|
5184
|
-
$metadata: deserializeMetadata(output),
|
|
5185
|
-
...contents,
|
|
5186
|
-
};
|
|
5187
|
-
return Promise.resolve(response);
|
|
5188
|
-
};
|
|
5189
|
-
exports.deserializeAws_queryDescribeInstallationMediaCommand = deserializeAws_queryDescribeInstallationMediaCommand;
|
|
5190
|
-
const deserializeAws_queryDescribeInstallationMediaCommandError = async (output, context) => {
|
|
5191
|
-
const parsedOutput = {
|
|
5192
|
-
...output,
|
|
5193
|
-
body: await parseBody(output.body, context),
|
|
5194
|
-
};
|
|
5195
|
-
let response;
|
|
5196
|
-
let errorCode = "UnknownError";
|
|
5197
|
-
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5198
|
-
switch (errorCode) {
|
|
5199
|
-
case "InstallationMediaNotFoundFault":
|
|
5200
|
-
case "com.amazonaws.rds#InstallationMediaNotFoundFault":
|
|
5201
|
-
throw await deserializeAws_queryInstallationMediaNotFoundFaultResponse(parsedOutput, context);
|
|
5202
|
-
default:
|
|
5203
|
-
const parsedBody = parsedOutput.body;
|
|
5204
|
-
response = new RDSServiceException_1.RDSServiceException({
|
|
5205
|
-
name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
|
|
5206
|
-
$fault: "client",
|
|
5207
|
-
$metadata: deserializeMetadata(output),
|
|
5208
|
-
});
|
|
5209
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
5210
|
-
}
|
|
5211
|
-
};
|
|
5212
4945
|
const deserializeAws_queryDescribeOptionGroupOptionsCommand = async (output, context) => {
|
|
5213
4946
|
if (output.statusCode >= 300) {
|
|
5214
4947
|
return deserializeAws_queryDescribeOptionGroupOptionsCommandError(output, context);
|
|
@@ -5617,45 +5350,6 @@ const deserializeAws_queryFailoverGlobalClusterCommandError = async (output, con
|
|
|
5617
5350
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
5618
5351
|
}
|
|
5619
5352
|
};
|
|
5620
|
-
const deserializeAws_queryImportInstallationMediaCommand = async (output, context) => {
|
|
5621
|
-
if (output.statusCode >= 300) {
|
|
5622
|
-
return deserializeAws_queryImportInstallationMediaCommandError(output, context);
|
|
5623
|
-
}
|
|
5624
|
-
const data = await parseBody(output.body, context);
|
|
5625
|
-
let contents = {};
|
|
5626
|
-
contents = deserializeAws_queryInstallationMedia(data.ImportInstallationMediaResult, context);
|
|
5627
|
-
const response = {
|
|
5628
|
-
$metadata: deserializeMetadata(output),
|
|
5629
|
-
...contents,
|
|
5630
|
-
};
|
|
5631
|
-
return Promise.resolve(response);
|
|
5632
|
-
};
|
|
5633
|
-
exports.deserializeAws_queryImportInstallationMediaCommand = deserializeAws_queryImportInstallationMediaCommand;
|
|
5634
|
-
const deserializeAws_queryImportInstallationMediaCommandError = async (output, context) => {
|
|
5635
|
-
const parsedOutput = {
|
|
5636
|
-
...output,
|
|
5637
|
-
body: await parseBody(output.body, context),
|
|
5638
|
-
};
|
|
5639
|
-
let response;
|
|
5640
|
-
let errorCode = "UnknownError";
|
|
5641
|
-
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5642
|
-
switch (errorCode) {
|
|
5643
|
-
case "CustomAvailabilityZoneNotFoundFault":
|
|
5644
|
-
case "com.amazonaws.rds#CustomAvailabilityZoneNotFoundFault":
|
|
5645
|
-
throw await deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse(parsedOutput, context);
|
|
5646
|
-
case "InstallationMediaAlreadyExistsFault":
|
|
5647
|
-
case "com.amazonaws.rds#InstallationMediaAlreadyExistsFault":
|
|
5648
|
-
throw await deserializeAws_queryInstallationMediaAlreadyExistsFaultResponse(parsedOutput, context);
|
|
5649
|
-
default:
|
|
5650
|
-
const parsedBody = parsedOutput.body;
|
|
5651
|
-
response = new RDSServiceException_1.RDSServiceException({
|
|
5652
|
-
name: parsedBody.Error.code || parsedBody.Error.Code || errorCode,
|
|
5653
|
-
$fault: "client",
|
|
5654
|
-
$metadata: deserializeMetadata(output),
|
|
5655
|
-
});
|
|
5656
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody.Error);
|
|
5657
|
-
}
|
|
5658
|
-
};
|
|
5659
5353
|
const deserializeAws_queryListTagsForResourceCommand = async (output, context) => {
|
|
5660
5354
|
if (output.statusCode >= 300) {
|
|
5661
5355
|
return deserializeAws_queryListTagsForResourceCommandError(output, context);
|
|
@@ -8134,15 +7828,6 @@ const deserializeAws_queryCertificateNotFoundFaultResponse = async (parsedOutput
|
|
|
8134
7828
|
});
|
|
8135
7829
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8136
7830
|
};
|
|
8137
|
-
const deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFaultResponse = async (parsedOutput, context) => {
|
|
8138
|
-
const body = parsedOutput.body;
|
|
8139
|
-
const deserialized = deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFault(body.Error, context);
|
|
8140
|
-
const exception = new models_0_1.CustomAvailabilityZoneAlreadyExistsFault({
|
|
8141
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
8142
|
-
...deserialized,
|
|
8143
|
-
});
|
|
8144
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8145
|
-
};
|
|
8146
7831
|
const deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
8147
7832
|
const body = parsedOutput.body;
|
|
8148
7833
|
const deserialized = deserializeAws_queryCustomAvailabilityZoneNotFoundFault(body.Error, context);
|
|
@@ -8152,15 +7837,6 @@ const deserializeAws_queryCustomAvailabilityZoneNotFoundFaultResponse = async (p
|
|
|
8152
7837
|
});
|
|
8153
7838
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8154
7839
|
};
|
|
8155
|
-
const deserializeAws_queryCustomAvailabilityZoneQuotaExceededFaultResponse = async (parsedOutput, context) => {
|
|
8156
|
-
const body = parsedOutput.body;
|
|
8157
|
-
const deserialized = deserializeAws_queryCustomAvailabilityZoneQuotaExceededFault(body.Error, context);
|
|
8158
|
-
const exception = new models_0_1.CustomAvailabilityZoneQuotaExceededFault({
|
|
8159
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
8160
|
-
...deserialized,
|
|
8161
|
-
});
|
|
8162
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8163
|
-
};
|
|
8164
7840
|
const deserializeAws_queryCustomDBEngineVersionAlreadyExistsFaultResponse = async (parsedOutput, context) => {
|
|
8165
7841
|
const body = parsedOutput.body;
|
|
8166
7842
|
const deserialized = deserializeAws_queryCustomDBEngineVersionAlreadyExistsFault(body.Error, context);
|
|
@@ -8683,24 +8359,6 @@ const deserializeAws_queryIamRoleNotFoundFaultResponse = async (parsedOutput, co
|
|
|
8683
8359
|
});
|
|
8684
8360
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8685
8361
|
};
|
|
8686
|
-
const deserializeAws_queryInstallationMediaAlreadyExistsFaultResponse = async (parsedOutput, context) => {
|
|
8687
|
-
const body = parsedOutput.body;
|
|
8688
|
-
const deserialized = deserializeAws_queryInstallationMediaAlreadyExistsFault(body.Error, context);
|
|
8689
|
-
const exception = new models_1_1.InstallationMediaAlreadyExistsFault({
|
|
8690
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
8691
|
-
...deserialized,
|
|
8692
|
-
});
|
|
8693
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8694
|
-
};
|
|
8695
|
-
const deserializeAws_queryInstallationMediaNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
8696
|
-
const body = parsedOutput.body;
|
|
8697
|
-
const deserialized = deserializeAws_queryInstallationMediaNotFoundFault(body.Error, context);
|
|
8698
|
-
const exception = new models_0_1.InstallationMediaNotFoundFault({
|
|
8699
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
8700
|
-
...deserialized,
|
|
8701
|
-
});
|
|
8702
|
-
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8703
|
-
};
|
|
8704
8362
|
const deserializeAws_queryInstanceQuotaExceededFaultResponse = async (parsedOutput, context) => {
|
|
8705
8363
|
const body = parsedOutput.body;
|
|
8706
8364
|
const deserialized = deserializeAws_queryInstanceQuotaExceededFault(body.Error, context);
|
|
@@ -9470,22 +9128,6 @@ const serializeAws_queryCopyOptionGroupMessage = (input, context) => {
|
|
|
9470
9128
|
}
|
|
9471
9129
|
return entries;
|
|
9472
9130
|
};
|
|
9473
|
-
const serializeAws_queryCreateCustomAvailabilityZoneMessage = (input, context) => {
|
|
9474
|
-
const entries = {};
|
|
9475
|
-
if (input.CustomAvailabilityZoneName !== undefined && input.CustomAvailabilityZoneName !== null) {
|
|
9476
|
-
entries["CustomAvailabilityZoneName"] = input.CustomAvailabilityZoneName;
|
|
9477
|
-
}
|
|
9478
|
-
if (input.ExistingVpnId !== undefined && input.ExistingVpnId !== null) {
|
|
9479
|
-
entries["ExistingVpnId"] = input.ExistingVpnId;
|
|
9480
|
-
}
|
|
9481
|
-
if (input.NewVpnTunnelName !== undefined && input.NewVpnTunnelName !== null) {
|
|
9482
|
-
entries["NewVpnTunnelName"] = input.NewVpnTunnelName;
|
|
9483
|
-
}
|
|
9484
|
-
if (input.VpnTunnelOriginatorIP !== undefined && input.VpnTunnelOriginatorIP !== null) {
|
|
9485
|
-
entries["VpnTunnelOriginatorIP"] = input.VpnTunnelOriginatorIP;
|
|
9486
|
-
}
|
|
9487
|
-
return entries;
|
|
9488
|
-
};
|
|
9489
9131
|
const serializeAws_queryCreateCustomDBEngineVersionMessage = (input, context) => {
|
|
9490
9132
|
const entries = {};
|
|
9491
9133
|
if (input.Engine !== undefined && input.Engine !== null) {
|
|
@@ -9707,6 +9349,13 @@ const serializeAws_queryCreateDBClusterMessage = (input, context) => {
|
|
|
9707
9349
|
if (input.PerformanceInsightsRetentionPeriod !== undefined && input.PerformanceInsightsRetentionPeriod !== null) {
|
|
9708
9350
|
entries["PerformanceInsightsRetentionPeriod"] = input.PerformanceInsightsRetentionPeriod;
|
|
9709
9351
|
}
|
|
9352
|
+
if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
|
|
9353
|
+
const memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
|
|
9354
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
9355
|
+
const loc = `ServerlessV2ScalingConfiguration.${key}`;
|
|
9356
|
+
entries[loc] = value;
|
|
9357
|
+
});
|
|
9358
|
+
}
|
|
9710
9359
|
return entries;
|
|
9711
9360
|
};
|
|
9712
9361
|
const serializeAws_queryCreateDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -10298,13 +9947,6 @@ const serializeAws_queryDBSecurityGroupNameList = (input, context) => {
|
|
|
10298
9947
|
}
|
|
10299
9948
|
return entries;
|
|
10300
9949
|
};
|
|
10301
|
-
const serializeAws_queryDeleteCustomAvailabilityZoneMessage = (input, context) => {
|
|
10302
|
-
const entries = {};
|
|
10303
|
-
if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) {
|
|
10304
|
-
entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId;
|
|
10305
|
-
}
|
|
10306
|
-
return entries;
|
|
10307
|
-
};
|
|
10308
9950
|
const serializeAws_queryDeleteCustomDBEngineVersionMessage = (input, context) => {
|
|
10309
9951
|
const entries = {};
|
|
10310
9952
|
if (input.Engine !== undefined && input.Engine !== null) {
|
|
@@ -10431,13 +10073,6 @@ const serializeAws_queryDeleteGlobalClusterMessage = (input, context) => {
|
|
|
10431
10073
|
}
|
|
10432
10074
|
return entries;
|
|
10433
10075
|
};
|
|
10434
|
-
const serializeAws_queryDeleteInstallationMediaMessage = (input, context) => {
|
|
10435
|
-
const entries = {};
|
|
10436
|
-
if (input.InstallationMediaId !== undefined && input.InstallationMediaId !== null) {
|
|
10437
|
-
entries["InstallationMediaId"] = input.InstallationMediaId;
|
|
10438
|
-
}
|
|
10439
|
-
return entries;
|
|
10440
|
-
};
|
|
10441
10076
|
const serializeAws_queryDeleteOptionGroupMessage = (input, context) => {
|
|
10442
10077
|
const entries = {};
|
|
10443
10078
|
if (input.OptionGroupName !== undefined && input.OptionGroupName !== null) {
|
|
@@ -10493,26 +10128,6 @@ const serializeAws_queryDescribeCertificatesMessage = (input, context) => {
|
|
|
10493
10128
|
}
|
|
10494
10129
|
return entries;
|
|
10495
10130
|
};
|
|
10496
|
-
const serializeAws_queryDescribeCustomAvailabilityZonesMessage = (input, context) => {
|
|
10497
|
-
const entries = {};
|
|
10498
|
-
if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) {
|
|
10499
|
-
entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId;
|
|
10500
|
-
}
|
|
10501
|
-
if (input.Filters !== undefined && input.Filters !== null) {
|
|
10502
|
-
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
10503
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10504
|
-
const loc = `Filters.${key}`;
|
|
10505
|
-
entries[loc] = value;
|
|
10506
|
-
});
|
|
10507
|
-
}
|
|
10508
|
-
if (input.MaxRecords !== undefined && input.MaxRecords !== null) {
|
|
10509
|
-
entries["MaxRecords"] = input.MaxRecords;
|
|
10510
|
-
}
|
|
10511
|
-
if (input.Marker !== undefined && input.Marker !== null) {
|
|
10512
|
-
entries["Marker"] = input.Marker;
|
|
10513
|
-
}
|
|
10514
|
-
return entries;
|
|
10515
|
-
};
|
|
10516
10131
|
const serializeAws_queryDescribeDBClusterBacktracksMessage = (input, context) => {
|
|
10517
10132
|
const entries = {};
|
|
10518
10133
|
if (input.DBClusterIdentifier !== undefined && input.DBClusterIdentifier !== null) {
|
|
@@ -11147,26 +10762,6 @@ const serializeAws_queryDescribeGlobalClustersMessage = (input, context) => {
|
|
|
11147
10762
|
}
|
|
11148
10763
|
return entries;
|
|
11149
10764
|
};
|
|
11150
|
-
const serializeAws_queryDescribeInstallationMediaMessage = (input, context) => {
|
|
11151
|
-
const entries = {};
|
|
11152
|
-
if (input.InstallationMediaId !== undefined && input.InstallationMediaId !== null) {
|
|
11153
|
-
entries["InstallationMediaId"] = input.InstallationMediaId;
|
|
11154
|
-
}
|
|
11155
|
-
if (input.Filters !== undefined && input.Filters !== null) {
|
|
11156
|
-
const memberEntries = serializeAws_queryFilterList(input.Filters, context);
|
|
11157
|
-
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
11158
|
-
const loc = `Filters.${key}`;
|
|
11159
|
-
entries[loc] = value;
|
|
11160
|
-
});
|
|
11161
|
-
}
|
|
11162
|
-
if (input.MaxRecords !== undefined && input.MaxRecords !== null) {
|
|
11163
|
-
entries["MaxRecords"] = input.MaxRecords;
|
|
11164
|
-
}
|
|
11165
|
-
if (input.Marker !== undefined && input.Marker !== null) {
|
|
11166
|
-
entries["Marker"] = input.Marker;
|
|
11167
|
-
}
|
|
11168
|
-
return entries;
|
|
11169
|
-
};
|
|
11170
10765
|
const serializeAws_queryDescribeOptionGroupOptionsMessage = (input, context) => {
|
|
11171
10766
|
const entries = {};
|
|
11172
10767
|
if (input.EngineName !== undefined && input.EngineName !== null) {
|
|
@@ -11475,25 +11070,6 @@ const serializeAws_queryFilterValueList = (input, context) => {
|
|
|
11475
11070
|
}
|
|
11476
11071
|
return entries;
|
|
11477
11072
|
};
|
|
11478
|
-
const serializeAws_queryImportInstallationMediaMessage = (input, context) => {
|
|
11479
|
-
const entries = {};
|
|
11480
|
-
if (input.CustomAvailabilityZoneId !== undefined && input.CustomAvailabilityZoneId !== null) {
|
|
11481
|
-
entries["CustomAvailabilityZoneId"] = input.CustomAvailabilityZoneId;
|
|
11482
|
-
}
|
|
11483
|
-
if (input.Engine !== undefined && input.Engine !== null) {
|
|
11484
|
-
entries["Engine"] = input.Engine;
|
|
11485
|
-
}
|
|
11486
|
-
if (input.EngineVersion !== undefined && input.EngineVersion !== null) {
|
|
11487
|
-
entries["EngineVersion"] = input.EngineVersion;
|
|
11488
|
-
}
|
|
11489
|
-
if (input.EngineInstallationMediaPath !== undefined && input.EngineInstallationMediaPath !== null) {
|
|
11490
|
-
entries["EngineInstallationMediaPath"] = input.EngineInstallationMediaPath;
|
|
11491
|
-
}
|
|
11492
|
-
if (input.OSInstallationMediaPath !== undefined && input.OSInstallationMediaPath !== null) {
|
|
11493
|
-
entries["OSInstallationMediaPath"] = input.OSInstallationMediaPath;
|
|
11494
|
-
}
|
|
11495
|
-
return entries;
|
|
11496
|
-
};
|
|
11497
11073
|
const serializeAws_queryKeyList = (input, context) => {
|
|
11498
11074
|
const entries = {};
|
|
11499
11075
|
let counter = 1;
|
|
@@ -11714,6 +11290,13 @@ const serializeAws_queryModifyDBClusterMessage = (input, context) => {
|
|
|
11714
11290
|
if (input.PerformanceInsightsRetentionPeriod !== undefined && input.PerformanceInsightsRetentionPeriod !== null) {
|
|
11715
11291
|
entries["PerformanceInsightsRetentionPeriod"] = input.PerformanceInsightsRetentionPeriod;
|
|
11716
11292
|
}
|
|
11293
|
+
if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
|
|
11294
|
+
const memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
|
|
11295
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
11296
|
+
const loc = `ServerlessV2ScalingConfiguration.${key}`;
|
|
11297
|
+
entries[loc] = value;
|
|
11298
|
+
});
|
|
11299
|
+
}
|
|
11717
11300
|
return entries;
|
|
11718
11301
|
};
|
|
11719
11302
|
const serializeAws_queryModifyDBClusterParameterGroupMessage = (input, context) => {
|
|
@@ -12596,6 +12179,13 @@ const serializeAws_queryRestoreDBClusterFromS3Message = (input, context) => {
|
|
|
12596
12179
|
if (input.DomainIAMRoleName !== undefined && input.DomainIAMRoleName !== null) {
|
|
12597
12180
|
entries["DomainIAMRoleName"] = input.DomainIAMRoleName;
|
|
12598
12181
|
}
|
|
12182
|
+
if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
|
|
12183
|
+
const memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
|
|
12184
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
12185
|
+
const loc = `ServerlessV2ScalingConfiguration.${key}`;
|
|
12186
|
+
entries[loc] = value;
|
|
12187
|
+
});
|
|
12188
|
+
}
|
|
12599
12189
|
return entries;
|
|
12600
12190
|
};
|
|
12601
12191
|
const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) => {
|
|
@@ -12698,6 +12288,13 @@ const serializeAws_queryRestoreDBClusterFromSnapshotMessage = (input, context) =
|
|
|
12698
12288
|
if (input.PubliclyAccessible !== undefined && input.PubliclyAccessible !== null) {
|
|
12699
12289
|
entries["PubliclyAccessible"] = input.PubliclyAccessible;
|
|
12700
12290
|
}
|
|
12291
|
+
if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
|
|
12292
|
+
const memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
|
|
12293
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
12294
|
+
const loc = `ServerlessV2ScalingConfiguration.${key}`;
|
|
12295
|
+
entries[loc] = value;
|
|
12296
|
+
});
|
|
12297
|
+
}
|
|
12701
12298
|
return entries;
|
|
12702
12299
|
};
|
|
12703
12300
|
const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context) => {
|
|
@@ -12793,6 +12390,13 @@ const serializeAws_queryRestoreDBClusterToPointInTimeMessage = (input, context)
|
|
|
12793
12390
|
if (input.Iops !== undefined && input.Iops !== null) {
|
|
12794
12391
|
entries["Iops"] = input.Iops;
|
|
12795
12392
|
}
|
|
12393
|
+
if (input.ServerlessV2ScalingConfiguration !== undefined && input.ServerlessV2ScalingConfiguration !== null) {
|
|
12394
|
+
const memberEntries = serializeAws_queryServerlessV2ScalingConfiguration(input.ServerlessV2ScalingConfiguration, context);
|
|
12395
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
12396
|
+
const loc = `ServerlessV2ScalingConfiguration.${key}`;
|
|
12397
|
+
entries[loc] = value;
|
|
12398
|
+
});
|
|
12399
|
+
}
|
|
12796
12400
|
return entries;
|
|
12797
12401
|
};
|
|
12798
12402
|
const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context) => {
|
|
@@ -13233,6 +12837,16 @@ const serializeAws_queryScalingConfiguration = (input, context) => {
|
|
|
13233
12837
|
}
|
|
13234
12838
|
return entries;
|
|
13235
12839
|
};
|
|
12840
|
+
const serializeAws_queryServerlessV2ScalingConfiguration = (input, context) => {
|
|
12841
|
+
const entries = {};
|
|
12842
|
+
if (input.MinCapacity !== undefined && input.MinCapacity !== null) {
|
|
12843
|
+
entries["MinCapacity"] = (0, smithy_client_1.serializeFloat)(input.MinCapacity);
|
|
12844
|
+
}
|
|
12845
|
+
if (input.MaxCapacity !== undefined && input.MaxCapacity !== null) {
|
|
12846
|
+
entries["MaxCapacity"] = (0, smithy_client_1.serializeFloat)(input.MaxCapacity);
|
|
12847
|
+
}
|
|
12848
|
+
return entries;
|
|
12849
|
+
};
|
|
13236
12850
|
const serializeAws_querySourceIdsList = (input, context) => {
|
|
13237
12851
|
const entries = {};
|
|
13238
12852
|
let counter = 1;
|
|
@@ -13813,15 +13427,6 @@ const deserializeAws_queryCopyOptionGroupResult = (output, context) => {
|
|
|
13813
13427
|
}
|
|
13814
13428
|
return contents;
|
|
13815
13429
|
};
|
|
13816
|
-
const deserializeAws_queryCreateCustomAvailabilityZoneResult = (output, context) => {
|
|
13817
|
-
const contents = {
|
|
13818
|
-
CustomAvailabilityZone: undefined,
|
|
13819
|
-
};
|
|
13820
|
-
if (output["CustomAvailabilityZone"] !== undefined) {
|
|
13821
|
-
contents.CustomAvailabilityZone = deserializeAws_queryCustomAvailabilityZone(output["CustomAvailabilityZone"], context);
|
|
13822
|
-
}
|
|
13823
|
-
return contents;
|
|
13824
|
-
};
|
|
13825
13430
|
const deserializeAws_queryCreateDBClusterParameterGroupResult = (output, context) => {
|
|
13826
13431
|
const contents = {
|
|
13827
13432
|
DBClusterParameterGroup: undefined,
|
|
@@ -13948,63 +13553,6 @@ const deserializeAws_queryCreateOptionGroupResult = (output, context) => {
|
|
|
13948
13553
|
}
|
|
13949
13554
|
return contents;
|
|
13950
13555
|
};
|
|
13951
|
-
const deserializeAws_queryCustomAvailabilityZone = (output, context) => {
|
|
13952
|
-
const contents = {
|
|
13953
|
-
CustomAvailabilityZoneId: undefined,
|
|
13954
|
-
CustomAvailabilityZoneName: undefined,
|
|
13955
|
-
CustomAvailabilityZoneStatus: undefined,
|
|
13956
|
-
VpnDetails: undefined,
|
|
13957
|
-
};
|
|
13958
|
-
if (output["CustomAvailabilityZoneId"] !== undefined) {
|
|
13959
|
-
contents.CustomAvailabilityZoneId = (0, smithy_client_1.expectString)(output["CustomAvailabilityZoneId"]);
|
|
13960
|
-
}
|
|
13961
|
-
if (output["CustomAvailabilityZoneName"] !== undefined) {
|
|
13962
|
-
contents.CustomAvailabilityZoneName = (0, smithy_client_1.expectString)(output["CustomAvailabilityZoneName"]);
|
|
13963
|
-
}
|
|
13964
|
-
if (output["CustomAvailabilityZoneStatus"] !== undefined) {
|
|
13965
|
-
contents.CustomAvailabilityZoneStatus = (0, smithy_client_1.expectString)(output["CustomAvailabilityZoneStatus"]);
|
|
13966
|
-
}
|
|
13967
|
-
if (output["VpnDetails"] !== undefined) {
|
|
13968
|
-
contents.VpnDetails = deserializeAws_queryVpnDetails(output["VpnDetails"], context);
|
|
13969
|
-
}
|
|
13970
|
-
return contents;
|
|
13971
|
-
};
|
|
13972
|
-
const deserializeAws_queryCustomAvailabilityZoneAlreadyExistsFault = (output, context) => {
|
|
13973
|
-
const contents = {
|
|
13974
|
-
message: undefined,
|
|
13975
|
-
};
|
|
13976
|
-
if (output["message"] !== undefined) {
|
|
13977
|
-
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
13978
|
-
}
|
|
13979
|
-
return contents;
|
|
13980
|
-
};
|
|
13981
|
-
const deserializeAws_queryCustomAvailabilityZoneList = (output, context) => {
|
|
13982
|
-
return (output || [])
|
|
13983
|
-
.filter((e) => e != null)
|
|
13984
|
-
.map((entry) => {
|
|
13985
|
-
if (entry === null) {
|
|
13986
|
-
return null;
|
|
13987
|
-
}
|
|
13988
|
-
return deserializeAws_queryCustomAvailabilityZone(entry, context);
|
|
13989
|
-
});
|
|
13990
|
-
};
|
|
13991
|
-
const deserializeAws_queryCustomAvailabilityZoneMessage = (output, context) => {
|
|
13992
|
-
const contents = {
|
|
13993
|
-
Marker: undefined,
|
|
13994
|
-
CustomAvailabilityZones: undefined,
|
|
13995
|
-
};
|
|
13996
|
-
if (output["Marker"] !== undefined) {
|
|
13997
|
-
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
13998
|
-
}
|
|
13999
|
-
if (output.CustomAvailabilityZones === "") {
|
|
14000
|
-
contents.CustomAvailabilityZones = [];
|
|
14001
|
-
}
|
|
14002
|
-
if (output["CustomAvailabilityZones"] !== undefined &&
|
|
14003
|
-
output["CustomAvailabilityZones"]["CustomAvailabilityZone"] !== undefined) {
|
|
14004
|
-
contents.CustomAvailabilityZones = deserializeAws_queryCustomAvailabilityZoneList((0, smithy_client_1.getArrayIfSingleItem)(output["CustomAvailabilityZones"]["CustomAvailabilityZone"]), context);
|
|
14005
|
-
}
|
|
14006
|
-
return contents;
|
|
14007
|
-
};
|
|
14008
13556
|
const deserializeAws_queryCustomAvailabilityZoneNotFoundFault = (output, context) => {
|
|
14009
13557
|
const contents = {
|
|
14010
13558
|
message: undefined,
|
|
@@ -14014,15 +13562,6 @@ const deserializeAws_queryCustomAvailabilityZoneNotFoundFault = (output, context
|
|
|
14014
13562
|
}
|
|
14015
13563
|
return contents;
|
|
14016
13564
|
};
|
|
14017
|
-
const deserializeAws_queryCustomAvailabilityZoneQuotaExceededFault = (output, context) => {
|
|
14018
|
-
const contents = {
|
|
14019
|
-
message: undefined,
|
|
14020
|
-
};
|
|
14021
|
-
if (output["message"] !== undefined) {
|
|
14022
|
-
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
14023
|
-
}
|
|
14024
|
-
return contents;
|
|
14025
|
-
};
|
|
14026
13565
|
const deserializeAws_queryCustomDBEngineVersionAlreadyExistsFault = (output, context) => {
|
|
14027
13566
|
const contents = {
|
|
14028
13567
|
message: undefined,
|
|
@@ -14119,6 +13658,7 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
14119
13658
|
PerformanceInsightsEnabled: undefined,
|
|
14120
13659
|
PerformanceInsightsKMSKeyId: undefined,
|
|
14121
13660
|
PerformanceInsightsRetentionPeriod: undefined,
|
|
13661
|
+
ServerlessV2ScalingConfiguration: undefined,
|
|
14122
13662
|
};
|
|
14123
13663
|
if (output["AllocatedStorage"] !== undefined) {
|
|
14124
13664
|
contents.AllocatedStorage = (0, smithy_client_1.strictParseInt32)(output["AllocatedStorage"]);
|
|
@@ -14355,6 +13895,9 @@ const deserializeAws_queryDBCluster = (output, context) => {
|
|
|
14355
13895
|
if (output["PerformanceInsightsRetentionPeriod"] !== undefined) {
|
|
14356
13896
|
contents.PerformanceInsightsRetentionPeriod = (0, smithy_client_1.strictParseInt32)(output["PerformanceInsightsRetentionPeriod"]);
|
|
14357
13897
|
}
|
|
13898
|
+
if (output["ServerlessV2ScalingConfiguration"] !== undefined) {
|
|
13899
|
+
contents.ServerlessV2ScalingConfiguration = deserializeAws_queryServerlessV2ScalingConfigurationInfo(output["ServerlessV2ScalingConfiguration"], context);
|
|
13900
|
+
}
|
|
14358
13901
|
return contents;
|
|
14359
13902
|
};
|
|
14360
13903
|
const deserializeAws_queryDBClusterAlreadyExistsFault = (output, context) => {
|
|
@@ -16700,15 +16243,6 @@ const deserializeAws_queryDBUpgradeDependencyFailureFault = (output, context) =>
|
|
|
16700
16243
|
}
|
|
16701
16244
|
return contents;
|
|
16702
16245
|
};
|
|
16703
|
-
const deserializeAws_queryDeleteCustomAvailabilityZoneResult = (output, context) => {
|
|
16704
|
-
const contents = {
|
|
16705
|
-
CustomAvailabilityZone: undefined,
|
|
16706
|
-
};
|
|
16707
|
-
if (output["CustomAvailabilityZone"] !== undefined) {
|
|
16708
|
-
contents.CustomAvailabilityZone = deserializeAws_queryCustomAvailabilityZone(output["CustomAvailabilityZone"], context);
|
|
16709
|
-
}
|
|
16710
|
-
return contents;
|
|
16711
|
-
};
|
|
16712
16246
|
const deserializeAws_queryDeleteDBClusterResult = (output, context) => {
|
|
16713
16247
|
const contents = {
|
|
16714
16248
|
DBCluster: undefined,
|
|
@@ -17614,96 +17148,6 @@ const deserializeAws_queryIamRoleNotFoundFault = (output, context) => {
|
|
|
17614
17148
|
}
|
|
17615
17149
|
return contents;
|
|
17616
17150
|
};
|
|
17617
|
-
const deserializeAws_queryInstallationMedia = (output, context) => {
|
|
17618
|
-
const contents = {
|
|
17619
|
-
InstallationMediaId: undefined,
|
|
17620
|
-
CustomAvailabilityZoneId: undefined,
|
|
17621
|
-
Engine: undefined,
|
|
17622
|
-
EngineVersion: undefined,
|
|
17623
|
-
EngineInstallationMediaPath: undefined,
|
|
17624
|
-
OSInstallationMediaPath: undefined,
|
|
17625
|
-
Status: undefined,
|
|
17626
|
-
FailureCause: undefined,
|
|
17627
|
-
};
|
|
17628
|
-
if (output["InstallationMediaId"] !== undefined) {
|
|
17629
|
-
contents.InstallationMediaId = (0, smithy_client_1.expectString)(output["InstallationMediaId"]);
|
|
17630
|
-
}
|
|
17631
|
-
if (output["CustomAvailabilityZoneId"] !== undefined) {
|
|
17632
|
-
contents.CustomAvailabilityZoneId = (0, smithy_client_1.expectString)(output["CustomAvailabilityZoneId"]);
|
|
17633
|
-
}
|
|
17634
|
-
if (output["Engine"] !== undefined) {
|
|
17635
|
-
contents.Engine = (0, smithy_client_1.expectString)(output["Engine"]);
|
|
17636
|
-
}
|
|
17637
|
-
if (output["EngineVersion"] !== undefined) {
|
|
17638
|
-
contents.EngineVersion = (0, smithy_client_1.expectString)(output["EngineVersion"]);
|
|
17639
|
-
}
|
|
17640
|
-
if (output["EngineInstallationMediaPath"] !== undefined) {
|
|
17641
|
-
contents.EngineInstallationMediaPath = (0, smithy_client_1.expectString)(output["EngineInstallationMediaPath"]);
|
|
17642
|
-
}
|
|
17643
|
-
if (output["OSInstallationMediaPath"] !== undefined) {
|
|
17644
|
-
contents.OSInstallationMediaPath = (0, smithy_client_1.expectString)(output["OSInstallationMediaPath"]);
|
|
17645
|
-
}
|
|
17646
|
-
if (output["Status"] !== undefined) {
|
|
17647
|
-
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
17648
|
-
}
|
|
17649
|
-
if (output["FailureCause"] !== undefined) {
|
|
17650
|
-
contents.FailureCause = deserializeAws_queryInstallationMediaFailureCause(output["FailureCause"], context);
|
|
17651
|
-
}
|
|
17652
|
-
return contents;
|
|
17653
|
-
};
|
|
17654
|
-
const deserializeAws_queryInstallationMediaAlreadyExistsFault = (output, context) => {
|
|
17655
|
-
const contents = {
|
|
17656
|
-
message: undefined,
|
|
17657
|
-
};
|
|
17658
|
-
if (output["message"] !== undefined) {
|
|
17659
|
-
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
17660
|
-
}
|
|
17661
|
-
return contents;
|
|
17662
|
-
};
|
|
17663
|
-
const deserializeAws_queryInstallationMediaFailureCause = (output, context) => {
|
|
17664
|
-
const contents = {
|
|
17665
|
-
Message: undefined,
|
|
17666
|
-
};
|
|
17667
|
-
if (output["Message"] !== undefined) {
|
|
17668
|
-
contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
|
|
17669
|
-
}
|
|
17670
|
-
return contents;
|
|
17671
|
-
};
|
|
17672
|
-
const deserializeAws_queryInstallationMediaList = (output, context) => {
|
|
17673
|
-
return (output || [])
|
|
17674
|
-
.filter((e) => e != null)
|
|
17675
|
-
.map((entry) => {
|
|
17676
|
-
if (entry === null) {
|
|
17677
|
-
return null;
|
|
17678
|
-
}
|
|
17679
|
-
return deserializeAws_queryInstallationMedia(entry, context);
|
|
17680
|
-
});
|
|
17681
|
-
};
|
|
17682
|
-
const deserializeAws_queryInstallationMediaMessage = (output, context) => {
|
|
17683
|
-
const contents = {
|
|
17684
|
-
Marker: undefined,
|
|
17685
|
-
InstallationMedia: undefined,
|
|
17686
|
-
};
|
|
17687
|
-
if (output["Marker"] !== undefined) {
|
|
17688
|
-
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
17689
|
-
}
|
|
17690
|
-
if (output.InstallationMedia === "") {
|
|
17691
|
-
contents.InstallationMedia = [];
|
|
17692
|
-
}
|
|
17693
|
-
if (output["InstallationMedia"] !== undefined && output["InstallationMedia"]["InstallationMedia"] !== undefined) {
|
|
17694
|
-
contents.InstallationMedia = deserializeAws_queryInstallationMediaList((0, smithy_client_1.getArrayIfSingleItem)(output["InstallationMedia"]["InstallationMedia"]), context);
|
|
17695
|
-
}
|
|
17696
|
-
return contents;
|
|
17697
|
-
};
|
|
17698
|
-
const deserializeAws_queryInstallationMediaNotFoundFault = (output, context) => {
|
|
17699
|
-
const contents = {
|
|
17700
|
-
message: undefined,
|
|
17701
|
-
};
|
|
17702
|
-
if (output["message"] !== undefined) {
|
|
17703
|
-
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
17704
|
-
}
|
|
17705
|
-
return contents;
|
|
17706
|
-
};
|
|
17707
17151
|
const deserializeAws_queryInstanceQuotaExceededFault = (output, context) => {
|
|
17708
17152
|
const contents = {
|
|
17709
17153
|
message: undefined,
|
|
@@ -19534,6 +18978,19 @@ const deserializeAws_queryScalingConfigurationInfo = (output, context) => {
|
|
|
19534
18978
|
}
|
|
19535
18979
|
return contents;
|
|
19536
18980
|
};
|
|
18981
|
+
const deserializeAws_queryServerlessV2ScalingConfigurationInfo = (output, context) => {
|
|
18982
|
+
const contents = {
|
|
18983
|
+
MinCapacity: undefined,
|
|
18984
|
+
MaxCapacity: undefined,
|
|
18985
|
+
};
|
|
18986
|
+
if (output["MinCapacity"] !== undefined) {
|
|
18987
|
+
contents.MinCapacity = (0, smithy_client_1.strictParseFloat)(output["MinCapacity"]);
|
|
18988
|
+
}
|
|
18989
|
+
if (output["MaxCapacity"] !== undefined) {
|
|
18990
|
+
contents.MaxCapacity = (0, smithy_client_1.strictParseFloat)(output["MaxCapacity"]);
|
|
18991
|
+
}
|
|
18992
|
+
return contents;
|
|
18993
|
+
};
|
|
19537
18994
|
const deserializeAws_querySharedSnapshotQuotaExceededFault = (output, context) => {
|
|
19538
18995
|
const contents = {
|
|
19539
18996
|
message: undefined,
|
|
@@ -20117,35 +19574,6 @@ const deserializeAws_queryVpcSecurityGroupMembershipList = (output, context) =>
|
|
|
20117
19574
|
return deserializeAws_queryVpcSecurityGroupMembership(entry, context);
|
|
20118
19575
|
});
|
|
20119
19576
|
};
|
|
20120
|
-
const deserializeAws_queryVpnDetails = (output, context) => {
|
|
20121
|
-
const contents = {
|
|
20122
|
-
VpnId: undefined,
|
|
20123
|
-
VpnTunnelOriginatorIP: undefined,
|
|
20124
|
-
VpnGatewayIp: undefined,
|
|
20125
|
-
VpnPSK: undefined,
|
|
20126
|
-
VpnName: undefined,
|
|
20127
|
-
VpnState: undefined,
|
|
20128
|
-
};
|
|
20129
|
-
if (output["VpnId"] !== undefined) {
|
|
20130
|
-
contents.VpnId = (0, smithy_client_1.expectString)(output["VpnId"]);
|
|
20131
|
-
}
|
|
20132
|
-
if (output["VpnTunnelOriginatorIP"] !== undefined) {
|
|
20133
|
-
contents.VpnTunnelOriginatorIP = (0, smithy_client_1.expectString)(output["VpnTunnelOriginatorIP"]);
|
|
20134
|
-
}
|
|
20135
|
-
if (output["VpnGatewayIp"] !== undefined) {
|
|
20136
|
-
contents.VpnGatewayIp = (0, smithy_client_1.expectString)(output["VpnGatewayIp"]);
|
|
20137
|
-
}
|
|
20138
|
-
if (output["VpnPSK"] !== undefined) {
|
|
20139
|
-
contents.VpnPSK = (0, smithy_client_1.expectString)(output["VpnPSK"]);
|
|
20140
|
-
}
|
|
20141
|
-
if (output["VpnName"] !== undefined) {
|
|
20142
|
-
contents.VpnName = (0, smithy_client_1.expectString)(output["VpnName"]);
|
|
20143
|
-
}
|
|
20144
|
-
if (output["VpnState"] !== undefined) {
|
|
20145
|
-
contents.VpnState = (0, smithy_client_1.expectString)(output["VpnState"]);
|
|
20146
|
-
}
|
|
20147
|
-
return contents;
|
|
20148
|
-
};
|
|
20149
19577
|
const deserializeMetadata = (output) => {
|
|
20150
19578
|
var _a;
|
|
20151
19579
|
return ({
|