@aws-sdk/client-rds 3.36.1 → 3.40.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 +45 -0
- package/dist-cjs/RDS.js +45 -0
- package/dist-cjs/commands/CreateCustomDBEngineVersionCommand.js +36 -0
- package/dist-cjs/commands/DeleteCustomDBEngineVersionCommand.js +36 -0
- package/dist-cjs/commands/DescribeDBProxyTargetsCommand.js +2 -1
- package/dist-cjs/commands/ModifyCustomDBEngineVersionCommand.js +37 -0
- package/dist-cjs/commands/index.js +143 -0
- package/dist-cjs/endpoints.js +167 -28
- package/dist-cjs/index.js +5 -181
- package/dist-cjs/models/models_0.js +70 -73
- package/dist-cjs/models/models_1.js +60 -4
- package/dist-cjs/pagination/index.js +39 -0
- package/dist-cjs/protocols/Aws_query.js +426 -6
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +9 -0
- package/dist-es/RDS.js +45 -0
- package/dist-es/commands/CreateCustomDBEngineVersionCommand.js +39 -0
- package/dist-es/commands/DeleteCustomDBEngineVersionCommand.js +39 -0
- package/dist-es/commands/DescribeDBProxyTargetsCommand.js +2 -1
- package/dist-es/commands/ModifyCustomDBEngineVersionCommand.js +40 -0
- package/dist-es/commands/index.js +140 -0
- package/dist-es/endpoints.js +167 -28
- package/dist-es/index.js +5 -181
- package/dist-es/models/models_0.js +45 -54
- package/dist-es/models/models_1.js +48 -0
- package/dist-es/pagination/index.js +36 -0
- package/dist-es/protocols/Aws_query.js +431 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +6 -0
- package/dist-types/RDS.d.ts +103 -13
- package/dist-types/RDSClient.d.ts +13 -2
- package/dist-types/commands/AddRoleToDBInstanceCommand.d.ts +1 -0
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +1 -2
- package/dist-types/commands/CopyDBSnapshotCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +62 -0
- package/dist-types/commands/CreateDBParameterGroupCommand.d.ts +4 -3
- package/dist-types/commands/CreateOptionGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +55 -0
- package/dist-types/commands/DescribeDBLogFilesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBProxyTargetsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeValidDBInstanceModificationsCommand.d.ts +3 -4
- package/dist-types/commands/DownloadDBLogFilePortionCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +46 -0
- package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +2 -1
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +1 -1
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +1 -0
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartDBInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartExportTaskCommand.d.ts +1 -0
- package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StopDBInstanceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +140 -0
- package/dist-types/index.d.ts +5 -181
- package/dist-types/models/models_0.d.ts +697 -410
- package/dist-types/models/models_1.d.ts +468 -137
- package/dist-types/pagination/index.d.ts +36 -0
- package/dist-types/protocols/Aws_query.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/RDS.d.ts +15 -0
- package/dist-types/ts3.4/RDSClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/CreateCustomDBEngineVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomDBEngineVersionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeDBProxyTargetsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ModifyCustomDBEngineVersionCommand.d.ts +18 -0
- package/dist-types/ts3.4/commands/index.d.ts +140 -0
- package/dist-types/ts3.4/index.d.ts +5 -181
- package/dist-types/ts3.4/models/models_0.d.ts +190 -154
- package/dist-types/ts3.4/models/models_1.d.ts +97 -2
- package/dist-types/ts3.4/pagination/index.d.ts +36 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/package.json +34 -34
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
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 = exports.deserializeAws_queryRemoveRoleFromDBInstanceCommand = exports.deserializeAws_queryRemoveRoleFromDBClusterCommand = exports.deserializeAws_queryRemoveFromGlobalClusterCommand = exports.deserializeAws_queryRegisterDBProxyTargetsCommand = void 0;
|
|
3
|
+
exports.serializeAws_queryDescribeAccountAttributesCommand = exports.serializeAws_queryDeregisterDBProxyTargetsCommand = exports.serializeAws_queryDeleteOptionGroupCommand = exports.serializeAws_queryDeleteInstallationMediaCommand = 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_queryDeleteCustomAvailabilityZoneCommand = 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_queryCreateCustomAvailabilityZoneCommand = 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_queryModifyDBClusterParameterGroupCommand = exports.serializeAws_queryModifyDBClusterEndpointCommand = exports.serializeAws_queryModifyDBClusterCommand = exports.serializeAws_queryModifyCustomDBEngineVersionCommand = exports.serializeAws_queryModifyCurrentDBClusterCapacityCommand = exports.serializeAws_queryModifyCertificatesCommand = exports.serializeAws_queryListTagsForResourceCommand = exports.serializeAws_queryImportInstallationMediaCommand = 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_queryDescribeInstallationMediaCommand = 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 = exports.serializeAws_queryDescribeDBClusterEndpointsCommand = exports.serializeAws_queryDescribeDBClusterBacktracksCommand = exports.serializeAws_queryDescribeCustomAvailabilityZonesCommand = exports.serializeAws_queryDescribeCertificatesCommand = void 0;
|
|
5
|
+
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_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 = exports.serializeAws_queryModifyDBProxyTargetGroupCommand = exports.serializeAws_queryModifyDBProxyEndpointCommand = exports.serializeAws_queryModifyDBProxyCommand = exports.serializeAws_queryModifyDBParameterGroupCommand = exports.serializeAws_queryModifyDBInstanceCommand = exports.serializeAws_queryModifyDBClusterSnapshotAttributeCommand = void 0;
|
|
6
|
+
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_queryDescribeCustomAvailabilityZonesCommand = exports.deserializeAws_queryDescribeCertificatesCommand = exports.deserializeAws_queryDescribeAccountAttributesCommand = exports.deserializeAws_queryDeregisterDBProxyTargetsCommand = exports.deserializeAws_queryDeleteOptionGroupCommand = exports.deserializeAws_queryDeleteInstallationMediaCommand = 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_queryDeleteCustomAvailabilityZoneCommand = 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 = exports.deserializeAws_queryCreateDBClusterCommand = exports.deserializeAws_queryCreateCustomDBEngineVersionCommand = exports.deserializeAws_queryCreateCustomAvailabilityZoneCommand = exports.deserializeAws_queryCopyOptionGroupCommand = exports.deserializeAws_queryCopyDBSnapshotCommand = exports.deserializeAws_queryCopyDBParameterGroupCommand = void 0;
|
|
7
|
+
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_queryImportInstallationMediaCommand = 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_queryDescribeInstallationMediaCommand = 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 = 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 = 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 = exports.deserializeAws_queryRemoveRoleFromDBInstanceCommand = exports.deserializeAws_queryRemoveRoleFromDBClusterCommand = exports.deserializeAws_queryRemoveFromGlobalClusterCommand = exports.deserializeAws_queryRegisterDBProxyTargetsCommand = exports.deserializeAws_queryRebootDBInstanceCommand = exports.deserializeAws_queryPurchaseReservedDBInstancesOfferingCommand = exports.deserializeAws_queryPromoteReadReplicaDBClusterCommand = exports.deserializeAws_queryPromoteReadReplicaCommand = exports.deserializeAws_queryModifyOptionGroupCommand = exports.deserializeAws_queryModifyGlobalClusterCommand = 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");
|
|
@@ -192,6 +192,19 @@ const serializeAws_queryCreateCustomAvailabilityZoneCommand = async (input, cont
|
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
194
|
exports.serializeAws_queryCreateCustomAvailabilityZoneCommand = serializeAws_queryCreateCustomAvailabilityZoneCommand;
|
|
195
|
+
const serializeAws_queryCreateCustomDBEngineVersionCommand = async (input, context) => {
|
|
196
|
+
const headers = {
|
|
197
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
198
|
+
};
|
|
199
|
+
let body;
|
|
200
|
+
body = buildFormUrlencodedString({
|
|
201
|
+
...serializeAws_queryCreateCustomDBEngineVersionMessage(input, context),
|
|
202
|
+
Action: "CreateCustomDBEngineVersion",
|
|
203
|
+
Version: "2014-10-31",
|
|
204
|
+
});
|
|
205
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
206
|
+
};
|
|
207
|
+
exports.serializeAws_queryCreateCustomDBEngineVersionCommand = serializeAws_queryCreateCustomDBEngineVersionCommand;
|
|
195
208
|
const serializeAws_queryCreateDBClusterCommand = async (input, context) => {
|
|
196
209
|
const headers = {
|
|
197
210
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -400,6 +413,19 @@ const serializeAws_queryDeleteCustomAvailabilityZoneCommand = async (input, cont
|
|
|
400
413
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
414
|
};
|
|
402
415
|
exports.serializeAws_queryDeleteCustomAvailabilityZoneCommand = serializeAws_queryDeleteCustomAvailabilityZoneCommand;
|
|
416
|
+
const serializeAws_queryDeleteCustomDBEngineVersionCommand = async (input, context) => {
|
|
417
|
+
const headers = {
|
|
418
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
419
|
+
};
|
|
420
|
+
let body;
|
|
421
|
+
body = buildFormUrlencodedString({
|
|
422
|
+
...serializeAws_queryDeleteCustomDBEngineVersionMessage(input, context),
|
|
423
|
+
Action: "DeleteCustomDBEngineVersion",
|
|
424
|
+
Version: "2014-10-31",
|
|
425
|
+
});
|
|
426
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
427
|
+
};
|
|
428
|
+
exports.serializeAws_queryDeleteCustomDBEngineVersionCommand = serializeAws_queryDeleteCustomDBEngineVersionCommand;
|
|
403
429
|
const serializeAws_queryDeleteDBClusterCommand = async (input, context) => {
|
|
404
430
|
const headers = {
|
|
405
431
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -1232,6 +1258,19 @@ const serializeAws_queryModifyCurrentDBClusterCapacityCommand = async (input, co
|
|
|
1232
1258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1233
1259
|
};
|
|
1234
1260
|
exports.serializeAws_queryModifyCurrentDBClusterCapacityCommand = serializeAws_queryModifyCurrentDBClusterCapacityCommand;
|
|
1261
|
+
const serializeAws_queryModifyCustomDBEngineVersionCommand = async (input, context) => {
|
|
1262
|
+
const headers = {
|
|
1263
|
+
"content-type": "application/x-www-form-urlencoded",
|
|
1264
|
+
};
|
|
1265
|
+
let body;
|
|
1266
|
+
body = buildFormUrlencodedString({
|
|
1267
|
+
...serializeAws_queryModifyCustomDBEngineVersionMessage(input, context),
|
|
1268
|
+
Action: "ModifyCustomDBEngineVersion",
|
|
1269
|
+
Version: "2014-10-31",
|
|
1270
|
+
});
|
|
1271
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1272
|
+
};
|
|
1273
|
+
exports.serializeAws_queryModifyCustomDBEngineVersionCommand = serializeAws_queryModifyCustomDBEngineVersionCommand;
|
|
1235
1274
|
const serializeAws_queryModifyDBClusterCommand = async (input, context) => {
|
|
1236
1275
|
const headers = {
|
|
1237
1276
|
"content-type": "application/x-www-form-urlencoded",
|
|
@@ -2728,6 +2767,69 @@ const deserializeAws_queryCreateCustomAvailabilityZoneCommandError = async (outp
|
|
|
2728
2767
|
delete response.Message;
|
|
2729
2768
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
2730
2769
|
};
|
|
2770
|
+
const deserializeAws_queryCreateCustomDBEngineVersionCommand = async (output, context) => {
|
|
2771
|
+
if (output.statusCode >= 300) {
|
|
2772
|
+
return deserializeAws_queryCreateCustomDBEngineVersionCommandError(output, context);
|
|
2773
|
+
}
|
|
2774
|
+
const data = await parseBody(output.body, context);
|
|
2775
|
+
let contents = {};
|
|
2776
|
+
contents = deserializeAws_queryDBEngineVersion(data.CreateCustomDBEngineVersionResult, context);
|
|
2777
|
+
const response = {
|
|
2778
|
+
$metadata: deserializeMetadata(output),
|
|
2779
|
+
...contents,
|
|
2780
|
+
};
|
|
2781
|
+
return Promise.resolve(response);
|
|
2782
|
+
};
|
|
2783
|
+
exports.deserializeAws_queryCreateCustomDBEngineVersionCommand = deserializeAws_queryCreateCustomDBEngineVersionCommand;
|
|
2784
|
+
const deserializeAws_queryCreateCustomDBEngineVersionCommandError = async (output, context) => {
|
|
2785
|
+
const parsedOutput = {
|
|
2786
|
+
...output,
|
|
2787
|
+
body: await parseBody(output.body, context),
|
|
2788
|
+
};
|
|
2789
|
+
let response;
|
|
2790
|
+
let errorCode = "UnknownError";
|
|
2791
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
2792
|
+
switch (errorCode) {
|
|
2793
|
+
case "CustomDBEngineVersionAlreadyExistsFault":
|
|
2794
|
+
case "com.amazonaws.rds#CustomDBEngineVersionAlreadyExistsFault":
|
|
2795
|
+
response = {
|
|
2796
|
+
...(await deserializeAws_queryCustomDBEngineVersionAlreadyExistsFaultResponse(parsedOutput, context)),
|
|
2797
|
+
name: errorCode,
|
|
2798
|
+
$metadata: deserializeMetadata(output),
|
|
2799
|
+
};
|
|
2800
|
+
break;
|
|
2801
|
+
case "CustomDBEngineVersionQuotaExceededFault":
|
|
2802
|
+
case "com.amazonaws.rds#CustomDBEngineVersionQuotaExceededFault":
|
|
2803
|
+
response = {
|
|
2804
|
+
...(await deserializeAws_queryCustomDBEngineVersionQuotaExceededFaultResponse(parsedOutput, context)),
|
|
2805
|
+
name: errorCode,
|
|
2806
|
+
$metadata: deserializeMetadata(output),
|
|
2807
|
+
};
|
|
2808
|
+
break;
|
|
2809
|
+
case "KMSKeyNotAccessibleFault":
|
|
2810
|
+
case "com.amazonaws.rds#KMSKeyNotAccessibleFault":
|
|
2811
|
+
response = {
|
|
2812
|
+
...(await deserializeAws_queryKMSKeyNotAccessibleFaultResponse(parsedOutput, context)),
|
|
2813
|
+
name: errorCode,
|
|
2814
|
+
$metadata: deserializeMetadata(output),
|
|
2815
|
+
};
|
|
2816
|
+
break;
|
|
2817
|
+
default:
|
|
2818
|
+
const parsedBody = parsedOutput.body;
|
|
2819
|
+
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
2820
|
+
response = {
|
|
2821
|
+
...parsedBody.Error,
|
|
2822
|
+
name: `${errorCode}`,
|
|
2823
|
+
message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
|
|
2824
|
+
$fault: "client",
|
|
2825
|
+
$metadata: deserializeMetadata(output),
|
|
2826
|
+
};
|
|
2827
|
+
}
|
|
2828
|
+
const message = response.message || response.Message || errorCode;
|
|
2829
|
+
response.message = message;
|
|
2830
|
+
delete response.Message;
|
|
2831
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
2832
|
+
};
|
|
2731
2833
|
const deserializeAws_queryCreateDBClusterCommand = async (output, context) => {
|
|
2732
2834
|
if (output.statusCode >= 300) {
|
|
2733
2835
|
return deserializeAws_queryCreateDBClusterCommandError(output, context);
|
|
@@ -4200,6 +4302,61 @@ const deserializeAws_queryDeleteCustomAvailabilityZoneCommandError = async (outp
|
|
|
4200
4302
|
delete response.Message;
|
|
4201
4303
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
4202
4304
|
};
|
|
4305
|
+
const deserializeAws_queryDeleteCustomDBEngineVersionCommand = async (output, context) => {
|
|
4306
|
+
if (output.statusCode >= 300) {
|
|
4307
|
+
return deserializeAws_queryDeleteCustomDBEngineVersionCommandError(output, context);
|
|
4308
|
+
}
|
|
4309
|
+
const data = await parseBody(output.body, context);
|
|
4310
|
+
let contents = {};
|
|
4311
|
+
contents = deserializeAws_queryDBEngineVersion(data.DeleteCustomDBEngineVersionResult, context);
|
|
4312
|
+
const response = {
|
|
4313
|
+
$metadata: deserializeMetadata(output),
|
|
4314
|
+
...contents,
|
|
4315
|
+
};
|
|
4316
|
+
return Promise.resolve(response);
|
|
4317
|
+
};
|
|
4318
|
+
exports.deserializeAws_queryDeleteCustomDBEngineVersionCommand = deserializeAws_queryDeleteCustomDBEngineVersionCommand;
|
|
4319
|
+
const deserializeAws_queryDeleteCustomDBEngineVersionCommandError = async (output, context) => {
|
|
4320
|
+
const parsedOutput = {
|
|
4321
|
+
...output,
|
|
4322
|
+
body: await parseBody(output.body, context),
|
|
4323
|
+
};
|
|
4324
|
+
let response;
|
|
4325
|
+
let errorCode = "UnknownError";
|
|
4326
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4327
|
+
switch (errorCode) {
|
|
4328
|
+
case "CustomDBEngineVersionNotFoundFault":
|
|
4329
|
+
case "com.amazonaws.rds#CustomDBEngineVersionNotFoundFault":
|
|
4330
|
+
response = {
|
|
4331
|
+
...(await deserializeAws_queryCustomDBEngineVersionNotFoundFaultResponse(parsedOutput, context)),
|
|
4332
|
+
name: errorCode,
|
|
4333
|
+
$metadata: deserializeMetadata(output),
|
|
4334
|
+
};
|
|
4335
|
+
break;
|
|
4336
|
+
case "InvalidCustomDBEngineVersionStateFault":
|
|
4337
|
+
case "com.amazonaws.rds#InvalidCustomDBEngineVersionStateFault":
|
|
4338
|
+
response = {
|
|
4339
|
+
...(await deserializeAws_queryInvalidCustomDBEngineVersionStateFaultResponse(parsedOutput, context)),
|
|
4340
|
+
name: errorCode,
|
|
4341
|
+
$metadata: deserializeMetadata(output),
|
|
4342
|
+
};
|
|
4343
|
+
break;
|
|
4344
|
+
default:
|
|
4345
|
+
const parsedBody = parsedOutput.body;
|
|
4346
|
+
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
4347
|
+
response = {
|
|
4348
|
+
...parsedBody.Error,
|
|
4349
|
+
name: `${errorCode}`,
|
|
4350
|
+
message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
|
|
4351
|
+
$fault: "client",
|
|
4352
|
+
$metadata: deserializeMetadata(output),
|
|
4353
|
+
};
|
|
4354
|
+
}
|
|
4355
|
+
const message = response.message || response.Message || errorCode;
|
|
4356
|
+
response.message = message;
|
|
4357
|
+
delete response.Message;
|
|
4358
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
4359
|
+
};
|
|
4203
4360
|
const deserializeAws_queryDeleteDBClusterCommand = async (output, context) => {
|
|
4204
4361
|
if (output.statusCode >= 300) {
|
|
4205
4362
|
return deserializeAws_queryDeleteDBClusterCommandError(output, context);
|
|
@@ -7505,6 +7662,61 @@ const deserializeAws_queryModifyCurrentDBClusterCapacityCommandError = async (ou
|
|
|
7505
7662
|
delete response.Message;
|
|
7506
7663
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
7507
7664
|
};
|
|
7665
|
+
const deserializeAws_queryModifyCustomDBEngineVersionCommand = async (output, context) => {
|
|
7666
|
+
if (output.statusCode >= 300) {
|
|
7667
|
+
return deserializeAws_queryModifyCustomDBEngineVersionCommandError(output, context);
|
|
7668
|
+
}
|
|
7669
|
+
const data = await parseBody(output.body, context);
|
|
7670
|
+
let contents = {};
|
|
7671
|
+
contents = deserializeAws_queryDBEngineVersion(data.ModifyCustomDBEngineVersionResult, context);
|
|
7672
|
+
const response = {
|
|
7673
|
+
$metadata: deserializeMetadata(output),
|
|
7674
|
+
...contents,
|
|
7675
|
+
};
|
|
7676
|
+
return Promise.resolve(response);
|
|
7677
|
+
};
|
|
7678
|
+
exports.deserializeAws_queryModifyCustomDBEngineVersionCommand = deserializeAws_queryModifyCustomDBEngineVersionCommand;
|
|
7679
|
+
const deserializeAws_queryModifyCustomDBEngineVersionCommandError = async (output, context) => {
|
|
7680
|
+
const parsedOutput = {
|
|
7681
|
+
...output,
|
|
7682
|
+
body: await parseBody(output.body, context),
|
|
7683
|
+
};
|
|
7684
|
+
let response;
|
|
7685
|
+
let errorCode = "UnknownError";
|
|
7686
|
+
errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
7687
|
+
switch (errorCode) {
|
|
7688
|
+
case "CustomDBEngineVersionNotFoundFault":
|
|
7689
|
+
case "com.amazonaws.rds#CustomDBEngineVersionNotFoundFault":
|
|
7690
|
+
response = {
|
|
7691
|
+
...(await deserializeAws_queryCustomDBEngineVersionNotFoundFaultResponse(parsedOutput, context)),
|
|
7692
|
+
name: errorCode,
|
|
7693
|
+
$metadata: deserializeMetadata(output),
|
|
7694
|
+
};
|
|
7695
|
+
break;
|
|
7696
|
+
case "InvalidCustomDBEngineVersionStateFault":
|
|
7697
|
+
case "com.amazonaws.rds#InvalidCustomDBEngineVersionStateFault":
|
|
7698
|
+
response = {
|
|
7699
|
+
...(await deserializeAws_queryInvalidCustomDBEngineVersionStateFaultResponse(parsedOutput, context)),
|
|
7700
|
+
name: errorCode,
|
|
7701
|
+
$metadata: deserializeMetadata(output),
|
|
7702
|
+
};
|
|
7703
|
+
break;
|
|
7704
|
+
default:
|
|
7705
|
+
const parsedBody = parsedOutput.body;
|
|
7706
|
+
errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
|
|
7707
|
+
response = {
|
|
7708
|
+
...parsedBody.Error,
|
|
7709
|
+
name: `${errorCode}`,
|
|
7710
|
+
message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
|
|
7711
|
+
$fault: "client",
|
|
7712
|
+
$metadata: deserializeMetadata(output),
|
|
7713
|
+
};
|
|
7714
|
+
}
|
|
7715
|
+
const message = response.message || response.Message || errorCode;
|
|
7716
|
+
response.message = message;
|
|
7717
|
+
delete response.Message;
|
|
7718
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
7719
|
+
};
|
|
7508
7720
|
const deserializeAws_queryModifyDBClusterCommand = async (output, context) => {
|
|
7509
7721
|
if (output.statusCode >= 300) {
|
|
7510
7722
|
return deserializeAws_queryModifyDBClusterCommandError(output, context);
|
|
@@ -11437,6 +11649,39 @@ const deserializeAws_queryCustomAvailabilityZoneQuotaExceededFaultResponse = asy
|
|
|
11437
11649
|
};
|
|
11438
11650
|
return contents;
|
|
11439
11651
|
};
|
|
11652
|
+
const deserializeAws_queryCustomDBEngineVersionAlreadyExistsFaultResponse = async (parsedOutput, context) => {
|
|
11653
|
+
const body = parsedOutput.body;
|
|
11654
|
+
const deserialized = deserializeAws_queryCustomDBEngineVersionAlreadyExistsFault(body.Error, context);
|
|
11655
|
+
const contents = {
|
|
11656
|
+
name: "CustomDBEngineVersionAlreadyExistsFault",
|
|
11657
|
+
$fault: "client",
|
|
11658
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
11659
|
+
...deserialized,
|
|
11660
|
+
};
|
|
11661
|
+
return contents;
|
|
11662
|
+
};
|
|
11663
|
+
const deserializeAws_queryCustomDBEngineVersionNotFoundFaultResponse = async (parsedOutput, context) => {
|
|
11664
|
+
const body = parsedOutput.body;
|
|
11665
|
+
const deserialized = deserializeAws_queryCustomDBEngineVersionNotFoundFault(body.Error, context);
|
|
11666
|
+
const contents = {
|
|
11667
|
+
name: "CustomDBEngineVersionNotFoundFault",
|
|
11668
|
+
$fault: "client",
|
|
11669
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
11670
|
+
...deserialized,
|
|
11671
|
+
};
|
|
11672
|
+
return contents;
|
|
11673
|
+
};
|
|
11674
|
+
const deserializeAws_queryCustomDBEngineVersionQuotaExceededFaultResponse = async (parsedOutput, context) => {
|
|
11675
|
+
const body = parsedOutput.body;
|
|
11676
|
+
const deserialized = deserializeAws_queryCustomDBEngineVersionQuotaExceededFault(body.Error, context);
|
|
11677
|
+
const contents = {
|
|
11678
|
+
name: "CustomDBEngineVersionQuotaExceededFault",
|
|
11679
|
+
$fault: "client",
|
|
11680
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
11681
|
+
...deserialized,
|
|
11682
|
+
};
|
|
11683
|
+
return contents;
|
|
11684
|
+
};
|
|
11440
11685
|
const deserializeAws_queryDBClusterAlreadyExistsFaultResponse = async (parsedOutput, context) => {
|
|
11441
11686
|
const body = parsedOutput.body;
|
|
11442
11687
|
const deserialized = deserializeAws_queryDBClusterAlreadyExistsFault(body.Error, context);
|
|
@@ -12119,6 +12364,17 @@ const deserializeAws_queryInsufficientStorageClusterCapacityFaultResponse = asyn
|
|
|
12119
12364
|
};
|
|
12120
12365
|
return contents;
|
|
12121
12366
|
};
|
|
12367
|
+
const deserializeAws_queryInvalidCustomDBEngineVersionStateFaultResponse = async (parsedOutput, context) => {
|
|
12368
|
+
const body = parsedOutput.body;
|
|
12369
|
+
const deserialized = deserializeAws_queryInvalidCustomDBEngineVersionStateFault(body.Error, context);
|
|
12370
|
+
const contents = {
|
|
12371
|
+
name: "InvalidCustomDBEngineVersionStateFault",
|
|
12372
|
+
$fault: "client",
|
|
12373
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
12374
|
+
...deserialized,
|
|
12375
|
+
};
|
|
12376
|
+
return contents;
|
|
12377
|
+
};
|
|
12122
12378
|
const deserializeAws_queryInvalidDBClusterCapacityFaultResponse = async (parsedOutput, context) => {
|
|
12123
12379
|
const body = parsedOutput.body;
|
|
12124
12380
|
const deserialized = deserializeAws_queryInvalidDBClusterCapacityFault(body.Error, context);
|
|
@@ -12944,6 +13200,39 @@ const serializeAws_queryCreateCustomAvailabilityZoneMessage = (input, context) =
|
|
|
12944
13200
|
}
|
|
12945
13201
|
return entries;
|
|
12946
13202
|
};
|
|
13203
|
+
const serializeAws_queryCreateCustomDBEngineVersionMessage = (input, context) => {
|
|
13204
|
+
const entries = {};
|
|
13205
|
+
if (input.Engine !== undefined && input.Engine !== null) {
|
|
13206
|
+
entries["Engine"] = input.Engine;
|
|
13207
|
+
}
|
|
13208
|
+
if (input.EngineVersion !== undefined && input.EngineVersion !== null) {
|
|
13209
|
+
entries["EngineVersion"] = input.EngineVersion;
|
|
13210
|
+
}
|
|
13211
|
+
if (input.DatabaseInstallationFilesS3BucketName !== undefined &&
|
|
13212
|
+
input.DatabaseInstallationFilesS3BucketName !== null) {
|
|
13213
|
+
entries["DatabaseInstallationFilesS3BucketName"] = input.DatabaseInstallationFilesS3BucketName;
|
|
13214
|
+
}
|
|
13215
|
+
if (input.DatabaseInstallationFilesS3Prefix !== undefined && input.DatabaseInstallationFilesS3Prefix !== null) {
|
|
13216
|
+
entries["DatabaseInstallationFilesS3Prefix"] = input.DatabaseInstallationFilesS3Prefix;
|
|
13217
|
+
}
|
|
13218
|
+
if (input.KMSKeyId !== undefined && input.KMSKeyId !== null) {
|
|
13219
|
+
entries["KMSKeyId"] = input.KMSKeyId;
|
|
13220
|
+
}
|
|
13221
|
+
if (input.Description !== undefined && input.Description !== null) {
|
|
13222
|
+
entries["Description"] = input.Description;
|
|
13223
|
+
}
|
|
13224
|
+
if (input.Manifest !== undefined && input.Manifest !== null) {
|
|
13225
|
+
entries["Manifest"] = input.Manifest;
|
|
13226
|
+
}
|
|
13227
|
+
if (input.Tags !== undefined && input.Tags !== null) {
|
|
13228
|
+
const memberEntries = serializeAws_queryTagList(input.Tags, context);
|
|
13229
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
13230
|
+
const loc = `Tags.${key}`;
|
|
13231
|
+
entries[loc] = value;
|
|
13232
|
+
});
|
|
13233
|
+
}
|
|
13234
|
+
return entries;
|
|
13235
|
+
};
|
|
12947
13236
|
const serializeAws_queryCreateDBClusterEndpointMessage = (input, context) => {
|
|
12948
13237
|
const entries = {};
|
|
12949
13238
|
if (input.DBClusterIdentifier !== undefined && input.DBClusterIdentifier !== null) {
|
|
@@ -13304,6 +13593,9 @@ const serializeAws_queryCreateDBInstanceMessage = (input, context) => {
|
|
|
13304
13593
|
if (input.EnableCustomerOwnedIp !== undefined && input.EnableCustomerOwnedIp !== null) {
|
|
13305
13594
|
entries["EnableCustomerOwnedIp"] = input.EnableCustomerOwnedIp;
|
|
13306
13595
|
}
|
|
13596
|
+
if (input.CustomIamInstanceProfile !== undefined && input.CustomIamInstanceProfile !== null) {
|
|
13597
|
+
entries["CustomIamInstanceProfile"] = input.CustomIamInstanceProfile;
|
|
13598
|
+
}
|
|
13307
13599
|
return entries;
|
|
13308
13600
|
};
|
|
13309
13601
|
const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) => {
|
|
@@ -13420,6 +13712,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
|
|
|
13420
13712
|
if (input.MaxAllocatedStorage !== undefined && input.MaxAllocatedStorage !== null) {
|
|
13421
13713
|
entries["MaxAllocatedStorage"] = input.MaxAllocatedStorage;
|
|
13422
13714
|
}
|
|
13715
|
+
if (input.CustomIamInstanceProfile !== undefined && input.CustomIamInstanceProfile !== null) {
|
|
13716
|
+
entries["CustomIamInstanceProfile"] = input.CustomIamInstanceProfile;
|
|
13717
|
+
}
|
|
13423
13718
|
return entries;
|
|
13424
13719
|
};
|
|
13425
13720
|
const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
@@ -13688,6 +13983,16 @@ const serializeAws_queryDeleteCustomAvailabilityZoneMessage = (input, context) =
|
|
|
13688
13983
|
}
|
|
13689
13984
|
return entries;
|
|
13690
13985
|
};
|
|
13986
|
+
const serializeAws_queryDeleteCustomDBEngineVersionMessage = (input, context) => {
|
|
13987
|
+
const entries = {};
|
|
13988
|
+
if (input.Engine !== undefined && input.Engine !== null) {
|
|
13989
|
+
entries["Engine"] = input.Engine;
|
|
13990
|
+
}
|
|
13991
|
+
if (input.EngineVersion !== undefined && input.EngineVersion !== null) {
|
|
13992
|
+
entries["EngineVersion"] = input.EngineVersion;
|
|
13993
|
+
}
|
|
13994
|
+
return entries;
|
|
13995
|
+
};
|
|
13691
13996
|
const serializeAws_queryDeleteDBClusterEndpointMessage = (input, context) => {
|
|
13692
13997
|
const entries = {};
|
|
13693
13998
|
if (input.DBClusterEndpointIdentifier !== undefined && input.DBClusterEndpointIdentifier !== null) {
|
|
@@ -14931,6 +15236,22 @@ const serializeAws_queryModifyCurrentDBClusterCapacityMessage = (input, context)
|
|
|
14931
15236
|
}
|
|
14932
15237
|
return entries;
|
|
14933
15238
|
};
|
|
15239
|
+
const serializeAws_queryModifyCustomDBEngineVersionMessage = (input, context) => {
|
|
15240
|
+
const entries = {};
|
|
15241
|
+
if (input.Engine !== undefined && input.Engine !== null) {
|
|
15242
|
+
entries["Engine"] = input.Engine;
|
|
15243
|
+
}
|
|
15244
|
+
if (input.EngineVersion !== undefined && input.EngineVersion !== null) {
|
|
15245
|
+
entries["EngineVersion"] = input.EngineVersion;
|
|
15246
|
+
}
|
|
15247
|
+
if (input.Description !== undefined && input.Description !== null) {
|
|
15248
|
+
entries["Description"] = input.Description;
|
|
15249
|
+
}
|
|
15250
|
+
if (input.Status !== undefined && input.Status !== null) {
|
|
15251
|
+
entries["Status"] = input.Status;
|
|
15252
|
+
}
|
|
15253
|
+
return entries;
|
|
15254
|
+
};
|
|
14934
15255
|
const serializeAws_queryModifyDBClusterEndpointMessage = (input, context) => {
|
|
14935
15256
|
const entries = {};
|
|
14936
15257
|
if (input.DBClusterEndpointIdentifier !== undefined && input.DBClusterEndpointIdentifier !== null) {
|
|
@@ -15234,6 +15555,12 @@ const serializeAws_queryModifyDBInstanceMessage = (input, context) => {
|
|
|
15234
15555
|
if (input.AwsBackupRecoveryPointArn !== undefined && input.AwsBackupRecoveryPointArn !== null) {
|
|
15235
15556
|
entries["AwsBackupRecoveryPointArn"] = input.AwsBackupRecoveryPointArn;
|
|
15236
15557
|
}
|
|
15558
|
+
if (input.AutomationMode !== undefined && input.AutomationMode !== null) {
|
|
15559
|
+
entries["AutomationMode"] = input.AutomationMode;
|
|
15560
|
+
}
|
|
15561
|
+
if (input.ResumeFullAutomationModeMinutes !== undefined && input.ResumeFullAutomationModeMinutes !== null) {
|
|
15562
|
+
entries["ResumeFullAutomationModeMinutes"] = input.ResumeFullAutomationModeMinutes;
|
|
15563
|
+
}
|
|
15237
15564
|
return entries;
|
|
15238
15565
|
};
|
|
15239
15566
|
const serializeAws_queryModifyDBParameterGroupMessage = (input, context) => {
|
|
@@ -16190,6 +16517,9 @@ const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context
|
|
|
16190
16517
|
if (input.EnableCustomerOwnedIp !== undefined && input.EnableCustomerOwnedIp !== null) {
|
|
16191
16518
|
entries["EnableCustomerOwnedIp"] = input.EnableCustomerOwnedIp;
|
|
16192
16519
|
}
|
|
16520
|
+
if (input.CustomIamInstanceProfile !== undefined && input.CustomIamInstanceProfile !== null) {
|
|
16521
|
+
entries["CustomIamInstanceProfile"] = input.CustomIamInstanceProfile;
|
|
16522
|
+
}
|
|
16193
16523
|
return entries;
|
|
16194
16524
|
};
|
|
16195
16525
|
const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
@@ -16468,6 +16798,9 @@ const serializeAws_queryRestoreDBInstanceToPointInTimeMessage = (input, context)
|
|
|
16468
16798
|
if (input.EnableCustomerOwnedIp !== undefined && input.EnableCustomerOwnedIp !== null) {
|
|
16469
16799
|
entries["EnableCustomerOwnedIp"] = input.EnableCustomerOwnedIp;
|
|
16470
16800
|
}
|
|
16801
|
+
if (input.CustomIamInstanceProfile !== undefined && input.CustomIamInstanceProfile !== null) {
|
|
16802
|
+
entries["CustomIamInstanceProfile"] = input.CustomIamInstanceProfile;
|
|
16803
|
+
}
|
|
16471
16804
|
return entries;
|
|
16472
16805
|
};
|
|
16473
16806
|
const serializeAws_queryRevokeDBSecurityGroupIngressMessage = (input, context) => {
|
|
@@ -17301,6 +17634,33 @@ const deserializeAws_queryCustomAvailabilityZoneQuotaExceededFault = (output, co
|
|
|
17301
17634
|
}
|
|
17302
17635
|
return contents;
|
|
17303
17636
|
};
|
|
17637
|
+
const deserializeAws_queryCustomDBEngineVersionAlreadyExistsFault = (output, context) => {
|
|
17638
|
+
const contents = {
|
|
17639
|
+
message: undefined,
|
|
17640
|
+
};
|
|
17641
|
+
if (output["message"] !== undefined) {
|
|
17642
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17643
|
+
}
|
|
17644
|
+
return contents;
|
|
17645
|
+
};
|
|
17646
|
+
const deserializeAws_queryCustomDBEngineVersionNotFoundFault = (output, context) => {
|
|
17647
|
+
const contents = {
|
|
17648
|
+
message: undefined,
|
|
17649
|
+
};
|
|
17650
|
+
if (output["message"] !== undefined) {
|
|
17651
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17652
|
+
}
|
|
17653
|
+
return contents;
|
|
17654
|
+
};
|
|
17655
|
+
const deserializeAws_queryCustomDBEngineVersionQuotaExceededFault = (output, context) => {
|
|
17656
|
+
const contents = {
|
|
17657
|
+
message: undefined,
|
|
17658
|
+
};
|
|
17659
|
+
if (output["message"] !== undefined) {
|
|
17660
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
17661
|
+
}
|
|
17662
|
+
return contents;
|
|
17663
|
+
};
|
|
17304
17664
|
const deserializeAws_queryDBCluster = (output, context) => {
|
|
17305
17665
|
const contents = {
|
|
17306
17666
|
AllocatedStorage: undefined,
|
|
@@ -18212,6 +18572,13 @@ const deserializeAws_queryDBEngineVersion = (output, context) => {
|
|
|
18212
18572
|
Status: undefined,
|
|
18213
18573
|
SupportsParallelQuery: undefined,
|
|
18214
18574
|
SupportsGlobalDatabases: undefined,
|
|
18575
|
+
MajorEngineVersion: undefined,
|
|
18576
|
+
DatabaseInstallationFilesS3BucketName: undefined,
|
|
18577
|
+
DatabaseInstallationFilesS3Prefix: undefined,
|
|
18578
|
+
DBEngineVersionArn: undefined,
|
|
18579
|
+
KMSKeyId: undefined,
|
|
18580
|
+
CreateTime: undefined,
|
|
18581
|
+
TagList: undefined,
|
|
18215
18582
|
};
|
|
18216
18583
|
if (output["Engine"] !== undefined) {
|
|
18217
18584
|
contents.Engine = smithy_client_1.expectString(output["Engine"]);
|
|
@@ -18290,6 +18657,30 @@ const deserializeAws_queryDBEngineVersion = (output, context) => {
|
|
|
18290
18657
|
if (output["SupportsGlobalDatabases"] !== undefined) {
|
|
18291
18658
|
contents.SupportsGlobalDatabases = smithy_client_1.parseBoolean(output["SupportsGlobalDatabases"]);
|
|
18292
18659
|
}
|
|
18660
|
+
if (output["MajorEngineVersion"] !== undefined) {
|
|
18661
|
+
contents.MajorEngineVersion = smithy_client_1.expectString(output["MajorEngineVersion"]);
|
|
18662
|
+
}
|
|
18663
|
+
if (output["DatabaseInstallationFilesS3BucketName"] !== undefined) {
|
|
18664
|
+
contents.DatabaseInstallationFilesS3BucketName = smithy_client_1.expectString(output["DatabaseInstallationFilesS3BucketName"]);
|
|
18665
|
+
}
|
|
18666
|
+
if (output["DatabaseInstallationFilesS3Prefix"] !== undefined) {
|
|
18667
|
+
contents.DatabaseInstallationFilesS3Prefix = smithy_client_1.expectString(output["DatabaseInstallationFilesS3Prefix"]);
|
|
18668
|
+
}
|
|
18669
|
+
if (output["DBEngineVersionArn"] !== undefined) {
|
|
18670
|
+
contents.DBEngineVersionArn = smithy_client_1.expectString(output["DBEngineVersionArn"]);
|
|
18671
|
+
}
|
|
18672
|
+
if (output["KMSKeyId"] !== undefined) {
|
|
18673
|
+
contents.KMSKeyId = smithy_client_1.expectString(output["KMSKeyId"]);
|
|
18674
|
+
}
|
|
18675
|
+
if (output["CreateTime"] !== undefined) {
|
|
18676
|
+
contents.CreateTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreateTime"]));
|
|
18677
|
+
}
|
|
18678
|
+
if (output.TagList === "") {
|
|
18679
|
+
contents.TagList = [];
|
|
18680
|
+
}
|
|
18681
|
+
if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
18682
|
+
contents.TagList = deserializeAws_queryTagList(smithy_client_1.getArrayIfSingleItem(output["TagList"]["Tag"]), context);
|
|
18683
|
+
}
|
|
18293
18684
|
return contents;
|
|
18294
18685
|
};
|
|
18295
18686
|
const deserializeAws_queryDBEngineVersionList = (output, context) => {
|
|
@@ -18390,6 +18781,9 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
18390
18781
|
ActivityStreamKinesisStreamName: undefined,
|
|
18391
18782
|
ActivityStreamMode: undefined,
|
|
18392
18783
|
ActivityStreamEngineNativeAuditFieldsIncluded: undefined,
|
|
18784
|
+
AutomationMode: undefined,
|
|
18785
|
+
ResumeFullAutomationModeTime: undefined,
|
|
18786
|
+
CustomIamInstanceProfile: undefined,
|
|
18393
18787
|
};
|
|
18394
18788
|
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
18395
18789
|
contents.DBInstanceIdentifier = smithy_client_1.expectString(output["DBInstanceIdentifier"]);
|
|
@@ -18646,6 +19040,15 @@ const deserializeAws_queryDBInstance = (output, context) => {
|
|
|
18646
19040
|
if (output["ActivityStreamEngineNativeAuditFieldsIncluded"] !== undefined) {
|
|
18647
19041
|
contents.ActivityStreamEngineNativeAuditFieldsIncluded = smithy_client_1.parseBoolean(output["ActivityStreamEngineNativeAuditFieldsIncluded"]);
|
|
18648
19042
|
}
|
|
19043
|
+
if (output["AutomationMode"] !== undefined) {
|
|
19044
|
+
contents.AutomationMode = smithy_client_1.expectString(output["AutomationMode"]);
|
|
19045
|
+
}
|
|
19046
|
+
if (output["ResumeFullAutomationModeTime"] !== undefined) {
|
|
19047
|
+
contents.ResumeFullAutomationModeTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ResumeFullAutomationModeTime"]));
|
|
19048
|
+
}
|
|
19049
|
+
if (output["CustomIamInstanceProfile"] !== undefined) {
|
|
19050
|
+
contents.CustomIamInstanceProfile = smithy_client_1.expectString(output["CustomIamInstanceProfile"]);
|
|
19051
|
+
}
|
|
18649
19052
|
return contents;
|
|
18650
19053
|
};
|
|
18651
19054
|
const deserializeAws_queryDBInstanceAlreadyExistsFault = (output, context) => {
|
|
@@ -20901,6 +21304,15 @@ const deserializeAws_queryInsufficientStorageClusterCapacityFault = (output, con
|
|
|
20901
21304
|
}
|
|
20902
21305
|
return contents;
|
|
20903
21306
|
};
|
|
21307
|
+
const deserializeAws_queryInvalidCustomDBEngineVersionStateFault = (output, context) => {
|
|
21308
|
+
const contents = {
|
|
21309
|
+
message: undefined,
|
|
21310
|
+
};
|
|
21311
|
+
if (output["message"] !== undefined) {
|
|
21312
|
+
contents.message = smithy_client_1.expectString(output["message"]);
|
|
21313
|
+
}
|
|
21314
|
+
return contents;
|
|
21315
|
+
};
|
|
20904
21316
|
const deserializeAws_queryInvalidDBClusterCapacityFault = (output, context) => {
|
|
20905
21317
|
const contents = {
|
|
20906
21318
|
message: undefined,
|
|
@@ -22064,6 +22476,8 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
22064
22476
|
PendingCloudwatchLogsExports: undefined,
|
|
22065
22477
|
ProcessorFeatures: undefined,
|
|
22066
22478
|
IAMDatabaseAuthenticationEnabled: undefined,
|
|
22479
|
+
AutomationMode: undefined,
|
|
22480
|
+
ResumeFullAutomationModeTime: undefined,
|
|
22067
22481
|
};
|
|
22068
22482
|
if (output["DBInstanceClass"] !== undefined) {
|
|
22069
22483
|
contents.DBInstanceClass = smithy_client_1.expectString(output["DBInstanceClass"]);
|
|
@@ -22116,6 +22530,12 @@ const deserializeAws_queryPendingModifiedValues = (output, context) => {
|
|
|
22116
22530
|
if (output["IAMDatabaseAuthenticationEnabled"] !== undefined) {
|
|
22117
22531
|
contents.IAMDatabaseAuthenticationEnabled = smithy_client_1.parseBoolean(output["IAMDatabaseAuthenticationEnabled"]);
|
|
22118
22532
|
}
|
|
22533
|
+
if (output["AutomationMode"] !== undefined) {
|
|
22534
|
+
contents.AutomationMode = smithy_client_1.expectString(output["AutomationMode"]);
|
|
22535
|
+
}
|
|
22536
|
+
if (output["ResumeFullAutomationModeTime"] !== undefined) {
|
|
22537
|
+
contents.ResumeFullAutomationModeTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["ResumeFullAutomationModeTime"]));
|
|
22538
|
+
}
|
|
22119
22539
|
return contents;
|
|
22120
22540
|
};
|
|
22121
22541
|
const deserializeAws_queryPointInTimeRestoreNotEnabledFault = (output, context) => {
|