@aws-sdk/client-rds 3.441.0 → 3.445.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -0
- package/dist-cjs/RDS.js +10 -0
- package/dist-cjs/commands/CreateTenantDatabaseCommand.js +52 -0
- package/dist-cjs/commands/DeleteTenantDatabaseCommand.js +52 -0
- package/dist-cjs/commands/DescribeDBSnapshotTenantDatabasesCommand.js +51 -0
- package/dist-cjs/commands/DescribeTenantDatabasesCommand.js +52 -0
- package/dist-cjs/commands/ModifyTenantDatabaseCommand.js +52 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +83 -20
- package/dist-cjs/models/models_1.js +37 -1
- package/dist-cjs/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +29 -0
- package/dist-cjs/pagination/DescribeTenantDatabasesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_query.js +653 -7
- package/dist-cjs/waiters/index.js +2 -0
- package/dist-cjs/waiters/waitForTenantDatabaseAvailable.js +89 -0
- package/dist-cjs/waiters/waitForTenantDatabaseDeleted.js +39 -0
- package/dist-es/RDS.js +10 -0
- package/dist-es/commands/CreateTenantDatabaseCommand.js +48 -0
- package/dist-es/commands/DeleteTenantDatabaseCommand.js +48 -0
- package/dist-es/commands/DescribeDBSnapshotTenantDatabasesCommand.js +47 -0
- package/dist-es/commands/DescribeTenantDatabasesCommand.js +48 -0
- package/dist-es/commands/ModifyTenantDatabaseCommand.js +48 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +71 -16
- package/dist-es/models/models_1.js +32 -0
- package/dist-es/pagination/DescribeDBSnapshotTenantDatabasesPaginator.js +25 -0
- package/dist-es/pagination/DescribeTenantDatabasesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_query.js +637 -2
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForTenantDatabaseAvailable.js +84 -0
- package/dist-es/waiters/waitForTenantDatabaseDeleted.js +34 -0
- package/dist-types/RDS.d.ts +35 -0
- package/dist-types/RDSClient.d.ts +7 -2
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -0
- package/dist-types/commands/CopyDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateDBInstanceCommand.d.ts +7 -0
- package/dist-types/commands/CreateDBInstanceReadReplicaCommand.d.ts +6 -0
- package/dist-types/commands/CreateDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/CreateTenantDatabaseCommand.d.ts +122 -0
- package/dist-types/commands/DeleteDBInstanceAutomatedBackupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTenantDatabaseCommand.d.ts +111 -0
- package/dist-types/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBInstanceAutomatedBackupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeDBInstancesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +117 -0
- package/dist-types/commands/DescribeDBSnapshotsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTenantDatabasesCommand.d.ts +114 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -0
- package/dist-types/commands/ModifyDBInstanceCommand.d.ts +7 -0
- package/dist-types/commands/ModifyDBSnapshotCommand.d.ts +1 -0
- package/dist-types/commands/ModifyTenantDatabaseCommand.d.ts +114 -0
- package/dist-types/commands/PromoteReadReplicaCommand.d.ts +2 -0
- package/dist-types/commands/RebootDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -0
- package/dist-types/commands/RestoreDBInstanceFromDBSnapshotCommand.d.ts +6 -0
- package/dist-types/commands/RestoreDBInstanceFromS3Command.d.ts +2 -0
- package/dist-types/commands/RestoreDBInstanceToPointInTimeCommand.d.ts +6 -0
- package/dist-types/commands/StartDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StartDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/StopDBInstanceAutomatedBackupsReplicationCommand.d.ts +1 -0
- package/dist-types/commands/StopDBInstanceCommand.d.ts +2 -0
- package/dist-types/commands/SwitchoverReadReplicaCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +333 -388
- package/dist-types/models/models_1.d.ts +1132 -335
- package/dist-types/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +7 -0
- package/dist-types/pagination/DescribeTenantDatabasesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_query.d.ts +45 -0
- package/dist-types/ts3.4/RDS.d.ts +91 -0
- package/dist-types/ts3.4/RDSClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateTenantDatabaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteTenantDatabaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterAutomatedBackupsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBClusterEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBSnapshotTenantDatabasesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeTenantDatabasesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ModifyTenantDatabaseCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +97 -67
- package/dist-types/ts3.4/models/models_1.d.ts +129 -1
- package/dist-types/ts3.4/pagination/DescribeDBSnapshotTenantDatabasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/DescribeTenantDatabasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForTenantDatabaseAvailable.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForTenantDatabaseDeleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForTenantDatabaseAvailable.d.ts +14 -0
- package/dist-types/waiters/waitForTenantDatabaseDeleted.d.ts +14 -0
- package/package.json +4 -4
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
3
|
+
exports.se_DeleteIntegrationCommand = exports.se_DeleteGlobalClusterCommand = exports.se_DeleteEventSubscriptionCommand = exports.se_DeleteDBSubnetGroupCommand = exports.se_DeleteDBSnapshotCommand = exports.se_DeleteDBSecurityGroupCommand = exports.se_DeleteDBProxyEndpointCommand = exports.se_DeleteDBProxyCommand = exports.se_DeleteDBParameterGroupCommand = exports.se_DeleteDBInstanceAutomatedBackupCommand = exports.se_DeleteDBInstanceCommand = exports.se_DeleteDBClusterSnapshotCommand = exports.se_DeleteDBClusterParameterGroupCommand = exports.se_DeleteDBClusterEndpointCommand = exports.se_DeleteDBClusterAutomatedBackupCommand = exports.se_DeleteDBClusterCommand = exports.se_DeleteCustomDBEngineVersionCommand = exports.se_DeleteBlueGreenDeploymentCommand = exports.se_CreateTenantDatabaseCommand = exports.se_CreateOptionGroupCommand = exports.se_CreateIntegrationCommand = exports.se_CreateGlobalClusterCommand = exports.se_CreateEventSubscriptionCommand = exports.se_CreateDBSubnetGroupCommand = exports.se_CreateDBSnapshotCommand = exports.se_CreateDBSecurityGroupCommand = exports.se_CreateDBProxyEndpointCommand = exports.se_CreateDBProxyCommand = exports.se_CreateDBParameterGroupCommand = exports.se_CreateDBInstanceReadReplicaCommand = exports.se_CreateDBInstanceCommand = exports.se_CreateDBClusterSnapshotCommand = exports.se_CreateDBClusterParameterGroupCommand = exports.se_CreateDBClusterEndpointCommand = exports.se_CreateDBClusterCommand = exports.se_CreateCustomDBEngineVersionCommand = exports.se_CreateBlueGreenDeploymentCommand = exports.se_CopyOptionGroupCommand = exports.se_CopyDBSnapshotCommand = exports.se_CopyDBParameterGroupCommand = exports.se_CopyDBClusterSnapshotCommand = exports.se_CopyDBClusterParameterGroupCommand = exports.se_CancelExportTaskCommand = exports.se_BacktrackDBClusterCommand = exports.se_AuthorizeDBSecurityGroupIngressCommand = exports.se_ApplyPendingMaintenanceActionCommand = exports.se_AddTagsToResourceCommand = exports.se_AddSourceIdentifierToSubscriptionCommand = exports.se_AddRoleToDBInstanceCommand = exports.se_AddRoleToDBClusterCommand = void 0;
|
|
4
|
+
exports.se_ListTagsForResourceCommand = exports.se_FailoverGlobalClusterCommand = exports.se_FailoverDBClusterCommand = exports.se_DownloadDBLogFilePortionCommand = exports.se_DescribeValidDBInstanceModificationsCommand = exports.se_DescribeTenantDatabasesCommand = exports.se_DescribeSourceRegionsCommand = exports.se_DescribeReservedDBInstancesOfferingsCommand = exports.se_DescribeReservedDBInstancesCommand = exports.se_DescribePendingMaintenanceActionsCommand = exports.se_DescribeOrderableDBInstanceOptionsCommand = exports.se_DescribeOptionGroupsCommand = exports.se_DescribeOptionGroupOptionsCommand = exports.se_DescribeIntegrationsCommand = exports.se_DescribeGlobalClustersCommand = exports.se_DescribeExportTasksCommand = exports.se_DescribeEventSubscriptionsCommand = exports.se_DescribeEventsCommand = exports.se_DescribeEventCategoriesCommand = exports.se_DescribeEngineDefaultParametersCommand = exports.se_DescribeEngineDefaultClusterParametersCommand = exports.se_DescribeDBSubnetGroupsCommand = exports.se_DescribeDBSnapshotTenantDatabasesCommand = exports.se_DescribeDBSnapshotsCommand = exports.se_DescribeDBSnapshotAttributesCommand = exports.se_DescribeDBSecurityGroupsCommand = exports.se_DescribeDBProxyTargetsCommand = exports.se_DescribeDBProxyTargetGroupsCommand = exports.se_DescribeDBProxyEndpointsCommand = exports.se_DescribeDBProxiesCommand = exports.se_DescribeDBParametersCommand = exports.se_DescribeDBParameterGroupsCommand = exports.se_DescribeDBLogFilesCommand = exports.se_DescribeDBInstancesCommand = exports.se_DescribeDBInstanceAutomatedBackupsCommand = exports.se_DescribeDBEngineVersionsCommand = exports.se_DescribeDBClusterSnapshotsCommand = exports.se_DescribeDBClusterSnapshotAttributesCommand = exports.se_DescribeDBClustersCommand = exports.se_DescribeDBClusterParametersCommand = exports.se_DescribeDBClusterParameterGroupsCommand = exports.se_DescribeDBClusterEndpointsCommand = exports.se_DescribeDBClusterBacktracksCommand = exports.se_DescribeDBClusterAutomatedBackupsCommand = exports.se_DescribeCertificatesCommand = exports.se_DescribeBlueGreenDeploymentsCommand = exports.se_DescribeAccountAttributesCommand = exports.se_DeregisterDBProxyTargetsCommand = exports.se_DeleteTenantDatabaseCommand = exports.se_DeleteOptionGroupCommand = void 0;
|
|
5
|
+
exports.se_SwitchoverBlueGreenDeploymentCommand = exports.se_StopDBInstanceAutomatedBackupsReplicationCommand = exports.se_StopDBInstanceCommand = exports.se_StopDBClusterCommand = exports.se_StopActivityStreamCommand = exports.se_StartExportTaskCommand = exports.se_StartDBInstanceAutomatedBackupsReplicationCommand = exports.se_StartDBInstanceCommand = exports.se_StartDBClusterCommand = exports.se_StartActivityStreamCommand = exports.se_RevokeDBSecurityGroupIngressCommand = exports.se_RestoreDBInstanceToPointInTimeCommand = exports.se_RestoreDBInstanceFromS3Command = exports.se_RestoreDBInstanceFromDBSnapshotCommand = exports.se_RestoreDBClusterToPointInTimeCommand = exports.se_RestoreDBClusterFromSnapshotCommand = exports.se_RestoreDBClusterFromS3Command = exports.se_ResetDBParameterGroupCommand = exports.se_ResetDBClusterParameterGroupCommand = exports.se_RemoveTagsFromResourceCommand = exports.se_RemoveSourceIdentifierFromSubscriptionCommand = exports.se_RemoveRoleFromDBInstanceCommand = exports.se_RemoveRoleFromDBClusterCommand = exports.se_RemoveFromGlobalClusterCommand = exports.se_RegisterDBProxyTargetsCommand = exports.se_RebootDBInstanceCommand = exports.se_RebootDBClusterCommand = exports.se_PurchaseReservedDBInstancesOfferingCommand = exports.se_PromoteReadReplicaDBClusterCommand = exports.se_PromoteReadReplicaCommand = exports.se_ModifyTenantDatabaseCommand = exports.se_ModifyOptionGroupCommand = exports.se_ModifyGlobalClusterCommand = exports.se_ModifyEventSubscriptionCommand = exports.se_ModifyDBSubnetGroupCommand = exports.se_ModifyDBSnapshotAttributeCommand = exports.se_ModifyDBSnapshotCommand = exports.se_ModifyDBProxyTargetGroupCommand = exports.se_ModifyDBProxyEndpointCommand = exports.se_ModifyDBProxyCommand = exports.se_ModifyDBParameterGroupCommand = exports.se_ModifyDBInstanceCommand = exports.se_ModifyDBClusterSnapshotAttributeCommand = exports.se_ModifyDBClusterParameterGroupCommand = exports.se_ModifyDBClusterEndpointCommand = exports.se_ModifyDBClusterCommand = exports.se_ModifyCustomDBEngineVersionCommand = exports.se_ModifyCurrentDBClusterCapacityCommand = exports.se_ModifyCertificatesCommand = exports.se_ModifyActivityStreamCommand = void 0;
|
|
6
|
+
exports.de_DeleteEventSubscriptionCommand = exports.de_DeleteDBSubnetGroupCommand = exports.de_DeleteDBSnapshotCommand = exports.de_DeleteDBSecurityGroupCommand = exports.de_DeleteDBProxyEndpointCommand = exports.de_DeleteDBProxyCommand = exports.de_DeleteDBParameterGroupCommand = exports.de_DeleteDBInstanceAutomatedBackupCommand = exports.de_DeleteDBInstanceCommand = exports.de_DeleteDBClusterSnapshotCommand = exports.de_DeleteDBClusterParameterGroupCommand = exports.de_DeleteDBClusterEndpointCommand = exports.de_DeleteDBClusterAutomatedBackupCommand = exports.de_DeleteDBClusterCommand = exports.de_DeleteCustomDBEngineVersionCommand = exports.de_DeleteBlueGreenDeploymentCommand = exports.de_CreateTenantDatabaseCommand = exports.de_CreateOptionGroupCommand = exports.de_CreateIntegrationCommand = exports.de_CreateGlobalClusterCommand = exports.de_CreateEventSubscriptionCommand = exports.de_CreateDBSubnetGroupCommand = exports.de_CreateDBSnapshotCommand = exports.de_CreateDBSecurityGroupCommand = exports.de_CreateDBProxyEndpointCommand = exports.de_CreateDBProxyCommand = exports.de_CreateDBParameterGroupCommand = exports.de_CreateDBInstanceReadReplicaCommand = exports.de_CreateDBInstanceCommand = exports.de_CreateDBClusterSnapshotCommand = exports.de_CreateDBClusterParameterGroupCommand = exports.de_CreateDBClusterEndpointCommand = exports.de_CreateDBClusterCommand = exports.de_CreateCustomDBEngineVersionCommand = exports.de_CreateBlueGreenDeploymentCommand = exports.de_CopyOptionGroupCommand = exports.de_CopyDBSnapshotCommand = exports.de_CopyDBParameterGroupCommand = exports.de_CopyDBClusterSnapshotCommand = exports.de_CopyDBClusterParameterGroupCommand = exports.de_CancelExportTaskCommand = exports.de_BacktrackDBClusterCommand = exports.de_AuthorizeDBSecurityGroupIngressCommand = exports.de_ApplyPendingMaintenanceActionCommand = exports.de_AddTagsToResourceCommand = exports.de_AddSourceIdentifierToSubscriptionCommand = exports.de_AddRoleToDBInstanceCommand = exports.de_AddRoleToDBClusterCommand = exports.se_SwitchoverReadReplicaCommand = exports.se_SwitchoverGlobalClusterCommand = void 0;
|
|
7
|
+
exports.de_FailoverDBClusterCommand = exports.de_DownloadDBLogFilePortionCommand = exports.de_DescribeValidDBInstanceModificationsCommand = exports.de_DescribeTenantDatabasesCommand = exports.de_DescribeSourceRegionsCommand = exports.de_DescribeReservedDBInstancesOfferingsCommand = exports.de_DescribeReservedDBInstancesCommand = exports.de_DescribePendingMaintenanceActionsCommand = exports.de_DescribeOrderableDBInstanceOptionsCommand = exports.de_DescribeOptionGroupsCommand = exports.de_DescribeOptionGroupOptionsCommand = exports.de_DescribeIntegrationsCommand = exports.de_DescribeGlobalClustersCommand = exports.de_DescribeExportTasksCommand = exports.de_DescribeEventSubscriptionsCommand = exports.de_DescribeEventsCommand = exports.de_DescribeEventCategoriesCommand = exports.de_DescribeEngineDefaultParametersCommand = exports.de_DescribeEngineDefaultClusterParametersCommand = exports.de_DescribeDBSubnetGroupsCommand = exports.de_DescribeDBSnapshotTenantDatabasesCommand = exports.de_DescribeDBSnapshotsCommand = exports.de_DescribeDBSnapshotAttributesCommand = exports.de_DescribeDBSecurityGroupsCommand = exports.de_DescribeDBProxyTargetsCommand = exports.de_DescribeDBProxyTargetGroupsCommand = exports.de_DescribeDBProxyEndpointsCommand = exports.de_DescribeDBProxiesCommand = exports.de_DescribeDBParametersCommand = exports.de_DescribeDBParameterGroupsCommand = exports.de_DescribeDBLogFilesCommand = exports.de_DescribeDBInstancesCommand = exports.de_DescribeDBInstanceAutomatedBackupsCommand = exports.de_DescribeDBEngineVersionsCommand = exports.de_DescribeDBClusterSnapshotsCommand = exports.de_DescribeDBClusterSnapshotAttributesCommand = exports.de_DescribeDBClustersCommand = exports.de_DescribeDBClusterParametersCommand = exports.de_DescribeDBClusterParameterGroupsCommand = exports.de_DescribeDBClusterEndpointsCommand = exports.de_DescribeDBClusterBacktracksCommand = exports.de_DescribeDBClusterAutomatedBackupsCommand = exports.de_DescribeCertificatesCommand = exports.de_DescribeBlueGreenDeploymentsCommand = exports.de_DescribeAccountAttributesCommand = exports.de_DeregisterDBProxyTargetsCommand = exports.de_DeleteTenantDatabaseCommand = exports.de_DeleteOptionGroupCommand = exports.de_DeleteIntegrationCommand = exports.de_DeleteGlobalClusterCommand = void 0;
|
|
8
|
+
exports.de_StopDBInstanceCommand = exports.de_StopDBClusterCommand = exports.de_StopActivityStreamCommand = exports.de_StartExportTaskCommand = exports.de_StartDBInstanceAutomatedBackupsReplicationCommand = exports.de_StartDBInstanceCommand = exports.de_StartDBClusterCommand = exports.de_StartActivityStreamCommand = exports.de_RevokeDBSecurityGroupIngressCommand = exports.de_RestoreDBInstanceToPointInTimeCommand = exports.de_RestoreDBInstanceFromS3Command = exports.de_RestoreDBInstanceFromDBSnapshotCommand = exports.de_RestoreDBClusterToPointInTimeCommand = exports.de_RestoreDBClusterFromSnapshotCommand = exports.de_RestoreDBClusterFromS3Command = exports.de_ResetDBParameterGroupCommand = exports.de_ResetDBClusterParameterGroupCommand = exports.de_RemoveTagsFromResourceCommand = exports.de_RemoveSourceIdentifierFromSubscriptionCommand = exports.de_RemoveRoleFromDBInstanceCommand = exports.de_RemoveRoleFromDBClusterCommand = exports.de_RemoveFromGlobalClusterCommand = exports.de_RegisterDBProxyTargetsCommand = exports.de_RebootDBInstanceCommand = exports.de_RebootDBClusterCommand = exports.de_PurchaseReservedDBInstancesOfferingCommand = exports.de_PromoteReadReplicaDBClusterCommand = exports.de_PromoteReadReplicaCommand = exports.de_ModifyTenantDatabaseCommand = exports.de_ModifyOptionGroupCommand = exports.de_ModifyGlobalClusterCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyDBSubnetGroupCommand = exports.de_ModifyDBSnapshotAttributeCommand = exports.de_ModifyDBSnapshotCommand = exports.de_ModifyDBProxyTargetGroupCommand = exports.de_ModifyDBProxyEndpointCommand = exports.de_ModifyDBProxyCommand = exports.de_ModifyDBParameterGroupCommand = exports.de_ModifyDBInstanceCommand = exports.de_ModifyDBClusterSnapshotAttributeCommand = exports.de_ModifyDBClusterParameterGroupCommand = exports.de_ModifyDBClusterEndpointCommand = exports.de_ModifyDBClusterCommand = exports.de_ModifyCustomDBEngineVersionCommand = exports.de_ModifyCurrentDBClusterCapacityCommand = exports.de_ModifyCertificatesCommand = exports.de_ModifyActivityStreamCommand = exports.de_ListTagsForResourceCommand = exports.de_FailoverGlobalClusterCommand = void 0;
|
|
9
|
+
exports.de_SwitchoverReadReplicaCommand = exports.de_SwitchoverGlobalClusterCommand = exports.de_SwitchoverBlueGreenDeploymentCommand = exports.de_StopDBInstanceAutomatedBackupsReplicationCommand = void 0;
|
|
9
10
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
10
11
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
@@ -353,6 +354,17 @@ const se_CreateOptionGroupCommand = async (input, context) => {
|
|
|
353
354
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
354
355
|
};
|
|
355
356
|
exports.se_CreateOptionGroupCommand = se_CreateOptionGroupCommand;
|
|
357
|
+
const se_CreateTenantDatabaseCommand = async (input, context) => {
|
|
358
|
+
const headers = SHARED_HEADERS;
|
|
359
|
+
let body;
|
|
360
|
+
body = buildFormUrlencodedString({
|
|
361
|
+
...se_CreateTenantDatabaseMessage(input, context),
|
|
362
|
+
Action: "CreateTenantDatabase",
|
|
363
|
+
Version: "2014-10-31",
|
|
364
|
+
});
|
|
365
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
366
|
+
};
|
|
367
|
+
exports.se_CreateTenantDatabaseCommand = se_CreateTenantDatabaseCommand;
|
|
356
368
|
const se_DeleteBlueGreenDeploymentCommand = async (input, context) => {
|
|
357
369
|
const headers = SHARED_HEADERS;
|
|
358
370
|
let body;
|
|
@@ -562,6 +574,17 @@ const se_DeleteOptionGroupCommand = async (input, context) => {
|
|
|
562
574
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
563
575
|
};
|
|
564
576
|
exports.se_DeleteOptionGroupCommand = se_DeleteOptionGroupCommand;
|
|
577
|
+
const se_DeleteTenantDatabaseCommand = async (input, context) => {
|
|
578
|
+
const headers = SHARED_HEADERS;
|
|
579
|
+
let body;
|
|
580
|
+
body = buildFormUrlencodedString({
|
|
581
|
+
...se_DeleteTenantDatabaseMessage(input, context),
|
|
582
|
+
Action: "DeleteTenantDatabase",
|
|
583
|
+
Version: "2014-10-31",
|
|
584
|
+
});
|
|
585
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
586
|
+
};
|
|
587
|
+
exports.se_DeleteTenantDatabaseCommand = se_DeleteTenantDatabaseCommand;
|
|
565
588
|
const se_DeregisterDBProxyTargetsCommand = async (input, context) => {
|
|
566
589
|
const headers = SHARED_HEADERS;
|
|
567
590
|
let body;
|
|
@@ -837,6 +860,17 @@ const se_DescribeDBSnapshotsCommand = async (input, context) => {
|
|
|
837
860
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
838
861
|
};
|
|
839
862
|
exports.se_DescribeDBSnapshotsCommand = se_DescribeDBSnapshotsCommand;
|
|
863
|
+
const se_DescribeDBSnapshotTenantDatabasesCommand = async (input, context) => {
|
|
864
|
+
const headers = SHARED_HEADERS;
|
|
865
|
+
let body;
|
|
866
|
+
body = buildFormUrlencodedString({
|
|
867
|
+
...se_DescribeDBSnapshotTenantDatabasesMessage(input, context),
|
|
868
|
+
Action: "DescribeDBSnapshotTenantDatabases",
|
|
869
|
+
Version: "2014-10-31",
|
|
870
|
+
});
|
|
871
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
872
|
+
};
|
|
873
|
+
exports.se_DescribeDBSnapshotTenantDatabasesCommand = se_DescribeDBSnapshotTenantDatabasesCommand;
|
|
840
874
|
const se_DescribeDBSubnetGroupsCommand = async (input, context) => {
|
|
841
875
|
const headers = SHARED_HEADERS;
|
|
842
876
|
let body;
|
|
@@ -1013,6 +1047,17 @@ const se_DescribeSourceRegionsCommand = async (input, context) => {
|
|
|
1013
1047
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1014
1048
|
};
|
|
1015
1049
|
exports.se_DescribeSourceRegionsCommand = se_DescribeSourceRegionsCommand;
|
|
1050
|
+
const se_DescribeTenantDatabasesCommand = async (input, context) => {
|
|
1051
|
+
const headers = SHARED_HEADERS;
|
|
1052
|
+
let body;
|
|
1053
|
+
body = buildFormUrlencodedString({
|
|
1054
|
+
...se_DescribeTenantDatabasesMessage(input, context),
|
|
1055
|
+
Action: "DescribeTenantDatabases",
|
|
1056
|
+
Version: "2014-10-31",
|
|
1057
|
+
});
|
|
1058
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1059
|
+
};
|
|
1060
|
+
exports.se_DescribeTenantDatabasesCommand = se_DescribeTenantDatabasesCommand;
|
|
1016
1061
|
const se_DescribeValidDBInstanceModificationsCommand = async (input, context) => {
|
|
1017
1062
|
const headers = SHARED_HEADERS;
|
|
1018
1063
|
let body;
|
|
@@ -1277,6 +1322,17 @@ const se_ModifyOptionGroupCommand = async (input, context) => {
|
|
|
1277
1322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1278
1323
|
};
|
|
1279
1324
|
exports.se_ModifyOptionGroupCommand = se_ModifyOptionGroupCommand;
|
|
1325
|
+
const se_ModifyTenantDatabaseCommand = async (input, context) => {
|
|
1326
|
+
const headers = SHARED_HEADERS;
|
|
1327
|
+
let body;
|
|
1328
|
+
body = buildFormUrlencodedString({
|
|
1329
|
+
...se_ModifyTenantDatabaseMessage(input, context),
|
|
1330
|
+
Action: "ModifyTenantDatabase",
|
|
1331
|
+
Version: "2014-10-31",
|
|
1332
|
+
});
|
|
1333
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1334
|
+
};
|
|
1335
|
+
exports.se_ModifyTenantDatabaseCommand = se_ModifyTenantDatabaseCommand;
|
|
1280
1336
|
const se_PromoteReadReplicaCommand = async (input, context) => {
|
|
1281
1337
|
const headers = SHARED_HEADERS;
|
|
1282
1338
|
let body;
|
|
@@ -1779,9 +1835,15 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
1779
1835
|
case "DBSnapshotNotFound":
|
|
1780
1836
|
case "com.amazonaws.rds#DBSnapshotNotFoundFault":
|
|
1781
1837
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1838
|
+
case "DBSnapshotTenantDatabaseNotFoundFault":
|
|
1839
|
+
case "com.amazonaws.rds#DBSnapshotTenantDatabaseNotFoundFault":
|
|
1840
|
+
throw await de_DBSnapshotTenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
1782
1841
|
case "IntegrationNotFoundFault":
|
|
1783
1842
|
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
1784
1843
|
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
1844
|
+
case "TenantDatabaseNotFound":
|
|
1845
|
+
case "com.amazonaws.rds#TenantDatabaseNotFoundFault":
|
|
1846
|
+
throw await de_TenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
1785
1847
|
default:
|
|
1786
1848
|
const parsedBody = parsedOutput.body;
|
|
1787
1849
|
return throwDefaultError({
|
|
@@ -2562,6 +2624,9 @@ const de_CreateDBInstanceCommandError = async (output, context) => {
|
|
|
2562
2624
|
case "StorageTypeNotSupported":
|
|
2563
2625
|
case "com.amazonaws.rds#StorageTypeNotSupportedFault":
|
|
2564
2626
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2627
|
+
case "TenantDatabaseQuotaExceeded":
|
|
2628
|
+
case "com.amazonaws.rds#TenantDatabaseQuotaExceededFault":
|
|
2629
|
+
throw await de_TenantDatabaseQuotaExceededFaultRes(parsedOutput, context);
|
|
2565
2630
|
default:
|
|
2566
2631
|
const parsedBody = parsedOutput.body;
|
|
2567
2632
|
return throwDefaultError({
|
|
@@ -2658,6 +2723,9 @@ const de_CreateDBInstanceReadReplicaCommandError = async (output, context) => {
|
|
|
2658
2723
|
case "StorageTypeNotSupported":
|
|
2659
2724
|
case "com.amazonaws.rds#StorageTypeNotSupportedFault":
|
|
2660
2725
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
2726
|
+
case "TenantDatabaseQuotaExceeded":
|
|
2727
|
+
case "com.amazonaws.rds#TenantDatabaseQuotaExceededFault":
|
|
2728
|
+
throw await de_TenantDatabaseQuotaExceededFaultRes(parsedOutput, context);
|
|
2661
2729
|
default:
|
|
2662
2730
|
const parsedBody = parsedOutput.body;
|
|
2663
2731
|
return throwDefaultError({
|
|
@@ -3090,6 +3158,48 @@ const de_CreateOptionGroupCommandError = async (output, context) => {
|
|
|
3090
3158
|
});
|
|
3091
3159
|
}
|
|
3092
3160
|
};
|
|
3161
|
+
const de_CreateTenantDatabaseCommand = async (output, context) => {
|
|
3162
|
+
if (output.statusCode >= 300) {
|
|
3163
|
+
return de_CreateTenantDatabaseCommandError(output, context);
|
|
3164
|
+
}
|
|
3165
|
+
const data = await parseBody(output.body, context);
|
|
3166
|
+
let contents = {};
|
|
3167
|
+
contents = de_CreateTenantDatabaseResult(data.CreateTenantDatabaseResult, context);
|
|
3168
|
+
const response = {
|
|
3169
|
+
$metadata: deserializeMetadata(output),
|
|
3170
|
+
...contents,
|
|
3171
|
+
};
|
|
3172
|
+
return response;
|
|
3173
|
+
};
|
|
3174
|
+
exports.de_CreateTenantDatabaseCommand = de_CreateTenantDatabaseCommand;
|
|
3175
|
+
const de_CreateTenantDatabaseCommandError = async (output, context) => {
|
|
3176
|
+
const parsedOutput = {
|
|
3177
|
+
...output,
|
|
3178
|
+
body: await parseErrorBody(output.body, context),
|
|
3179
|
+
};
|
|
3180
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3181
|
+
switch (errorCode) {
|
|
3182
|
+
case "DBInstanceNotFound":
|
|
3183
|
+
case "com.amazonaws.rds#DBInstanceNotFoundFault":
|
|
3184
|
+
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3185
|
+
case "InvalidDBInstanceState":
|
|
3186
|
+
case "com.amazonaws.rds#InvalidDBInstanceStateFault":
|
|
3187
|
+
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3188
|
+
case "TenantDatabaseAlreadyExists":
|
|
3189
|
+
case "com.amazonaws.rds#TenantDatabaseAlreadyExistsFault":
|
|
3190
|
+
throw await de_TenantDatabaseAlreadyExistsFaultRes(parsedOutput, context);
|
|
3191
|
+
case "TenantDatabaseQuotaExceeded":
|
|
3192
|
+
case "com.amazonaws.rds#TenantDatabaseQuotaExceededFault":
|
|
3193
|
+
throw await de_TenantDatabaseQuotaExceededFaultRes(parsedOutput, context);
|
|
3194
|
+
default:
|
|
3195
|
+
const parsedBody = parsedOutput.body;
|
|
3196
|
+
return throwDefaultError({
|
|
3197
|
+
output,
|
|
3198
|
+
parsedBody: parsedBody.Error,
|
|
3199
|
+
errorCode,
|
|
3200
|
+
});
|
|
3201
|
+
}
|
|
3202
|
+
};
|
|
3093
3203
|
const de_DeleteBlueGreenDeploymentCommand = async (output, context) => {
|
|
3094
3204
|
if (output.statusCode >= 300) {
|
|
3095
3205
|
return de_DeleteBlueGreenDeploymentCommandError(output, context);
|
|
@@ -3792,6 +3902,45 @@ const de_DeleteOptionGroupCommandError = async (output, context) => {
|
|
|
3792
3902
|
});
|
|
3793
3903
|
}
|
|
3794
3904
|
};
|
|
3905
|
+
const de_DeleteTenantDatabaseCommand = async (output, context) => {
|
|
3906
|
+
if (output.statusCode >= 300) {
|
|
3907
|
+
return de_DeleteTenantDatabaseCommandError(output, context);
|
|
3908
|
+
}
|
|
3909
|
+
const data = await parseBody(output.body, context);
|
|
3910
|
+
let contents = {};
|
|
3911
|
+
contents = de_DeleteTenantDatabaseResult(data.DeleteTenantDatabaseResult, context);
|
|
3912
|
+
const response = {
|
|
3913
|
+
$metadata: deserializeMetadata(output),
|
|
3914
|
+
...contents,
|
|
3915
|
+
};
|
|
3916
|
+
return response;
|
|
3917
|
+
};
|
|
3918
|
+
exports.de_DeleteTenantDatabaseCommand = de_DeleteTenantDatabaseCommand;
|
|
3919
|
+
const de_DeleteTenantDatabaseCommandError = async (output, context) => {
|
|
3920
|
+
const parsedOutput = {
|
|
3921
|
+
...output,
|
|
3922
|
+
body: await parseErrorBody(output.body, context),
|
|
3923
|
+
};
|
|
3924
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3925
|
+
switch (errorCode) {
|
|
3926
|
+
case "DBInstanceNotFound":
|
|
3927
|
+
case "com.amazonaws.rds#DBInstanceNotFoundFault":
|
|
3928
|
+
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3929
|
+
case "InvalidDBInstanceState":
|
|
3930
|
+
case "com.amazonaws.rds#InvalidDBInstanceStateFault":
|
|
3931
|
+
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
3932
|
+
case "TenantDatabaseNotFound":
|
|
3933
|
+
case "com.amazonaws.rds#TenantDatabaseNotFoundFault":
|
|
3934
|
+
throw await de_TenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
3935
|
+
default:
|
|
3936
|
+
const parsedBody = parsedOutput.body;
|
|
3937
|
+
return throwDefaultError({
|
|
3938
|
+
output,
|
|
3939
|
+
parsedBody: parsedBody.Error,
|
|
3940
|
+
errorCode,
|
|
3941
|
+
});
|
|
3942
|
+
}
|
|
3943
|
+
};
|
|
3795
3944
|
const de_DeregisterDBProxyTargetsCommand = async (output, context) => {
|
|
3796
3945
|
if (output.statusCode >= 300) {
|
|
3797
3946
|
return de_DeregisterDBProxyTargetsCommandError(output, context);
|
|
@@ -4635,6 +4784,39 @@ const de_DescribeDBSnapshotsCommandError = async (output, context) => {
|
|
|
4635
4784
|
});
|
|
4636
4785
|
}
|
|
4637
4786
|
};
|
|
4787
|
+
const de_DescribeDBSnapshotTenantDatabasesCommand = async (output, context) => {
|
|
4788
|
+
if (output.statusCode >= 300) {
|
|
4789
|
+
return de_DescribeDBSnapshotTenantDatabasesCommandError(output, context);
|
|
4790
|
+
}
|
|
4791
|
+
const data = await parseBody(output.body, context);
|
|
4792
|
+
let contents = {};
|
|
4793
|
+
contents = de_DBSnapshotTenantDatabasesMessage(data.DescribeDBSnapshotTenantDatabasesResult, context);
|
|
4794
|
+
const response = {
|
|
4795
|
+
$metadata: deserializeMetadata(output),
|
|
4796
|
+
...contents,
|
|
4797
|
+
};
|
|
4798
|
+
return response;
|
|
4799
|
+
};
|
|
4800
|
+
exports.de_DescribeDBSnapshotTenantDatabasesCommand = de_DescribeDBSnapshotTenantDatabasesCommand;
|
|
4801
|
+
const de_DescribeDBSnapshotTenantDatabasesCommandError = async (output, context) => {
|
|
4802
|
+
const parsedOutput = {
|
|
4803
|
+
...output,
|
|
4804
|
+
body: await parseErrorBody(output.body, context),
|
|
4805
|
+
};
|
|
4806
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4807
|
+
switch (errorCode) {
|
|
4808
|
+
case "DBSnapshotNotFound":
|
|
4809
|
+
case "com.amazonaws.rds#DBSnapshotNotFoundFault":
|
|
4810
|
+
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
4811
|
+
default:
|
|
4812
|
+
const parsedBody = parsedOutput.body;
|
|
4813
|
+
return throwDefaultError({
|
|
4814
|
+
output,
|
|
4815
|
+
parsedBody: parsedBody.Error,
|
|
4816
|
+
errorCode,
|
|
4817
|
+
});
|
|
4818
|
+
}
|
|
4819
|
+
};
|
|
4638
4820
|
const de_DescribeDBSubnetGroupsCommand = async (output, context) => {
|
|
4639
4821
|
if (output.statusCode >= 300) {
|
|
4640
4822
|
return de_DescribeDBSubnetGroupsCommandError(output, context);
|
|
@@ -5121,6 +5303,39 @@ const de_DescribeSourceRegionsCommandError = async (output, context) => {
|
|
|
5121
5303
|
errorCode,
|
|
5122
5304
|
});
|
|
5123
5305
|
};
|
|
5306
|
+
const de_DescribeTenantDatabasesCommand = async (output, context) => {
|
|
5307
|
+
if (output.statusCode >= 300) {
|
|
5308
|
+
return de_DescribeTenantDatabasesCommandError(output, context);
|
|
5309
|
+
}
|
|
5310
|
+
const data = await parseBody(output.body, context);
|
|
5311
|
+
let contents = {};
|
|
5312
|
+
contents = de_TenantDatabasesMessage(data.DescribeTenantDatabasesResult, context);
|
|
5313
|
+
const response = {
|
|
5314
|
+
$metadata: deserializeMetadata(output),
|
|
5315
|
+
...contents,
|
|
5316
|
+
};
|
|
5317
|
+
return response;
|
|
5318
|
+
};
|
|
5319
|
+
exports.de_DescribeTenantDatabasesCommand = de_DescribeTenantDatabasesCommand;
|
|
5320
|
+
const de_DescribeTenantDatabasesCommandError = async (output, context) => {
|
|
5321
|
+
const parsedOutput = {
|
|
5322
|
+
...output,
|
|
5323
|
+
body: await parseErrorBody(output.body, context),
|
|
5324
|
+
};
|
|
5325
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5326
|
+
switch (errorCode) {
|
|
5327
|
+
case "DBInstanceNotFound":
|
|
5328
|
+
case "com.amazonaws.rds#DBInstanceNotFoundFault":
|
|
5329
|
+
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
5330
|
+
default:
|
|
5331
|
+
const parsedBody = parsedOutput.body;
|
|
5332
|
+
return throwDefaultError({
|
|
5333
|
+
output,
|
|
5334
|
+
parsedBody: parsedBody.Error,
|
|
5335
|
+
errorCode,
|
|
5336
|
+
});
|
|
5337
|
+
}
|
|
5338
|
+
};
|
|
5124
5339
|
const de_DescribeValidDBInstanceModificationsCommand = async (output, context) => {
|
|
5125
5340
|
if (output.statusCode >= 300) {
|
|
5126
5341
|
return de_DescribeValidDBInstanceModificationsCommandError(output, context);
|
|
@@ -5313,9 +5528,15 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
5313
5528
|
case "DBSnapshotNotFound":
|
|
5314
5529
|
case "com.amazonaws.rds#DBSnapshotNotFoundFault":
|
|
5315
5530
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
5531
|
+
case "DBSnapshotTenantDatabaseNotFoundFault":
|
|
5532
|
+
case "com.amazonaws.rds#DBSnapshotTenantDatabaseNotFoundFault":
|
|
5533
|
+
throw await de_DBSnapshotTenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
5316
5534
|
case "IntegrationNotFoundFault":
|
|
5317
5535
|
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
5318
5536
|
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
5537
|
+
case "TenantDatabaseNotFound":
|
|
5538
|
+
case "com.amazonaws.rds#TenantDatabaseNotFoundFault":
|
|
5539
|
+
throw await de_TenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
5319
5540
|
default:
|
|
5320
5541
|
const parsedBody = parsedOutput.body;
|
|
5321
5542
|
return throwDefaultError({
|
|
@@ -5745,6 +5966,9 @@ const de_ModifyDBInstanceCommandError = async (output, context) => {
|
|
|
5745
5966
|
case "StorageTypeNotSupported":
|
|
5746
5967
|
case "com.amazonaws.rds#StorageTypeNotSupportedFault":
|
|
5747
5968
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
5969
|
+
case "TenantDatabaseQuotaExceeded":
|
|
5970
|
+
case "com.amazonaws.rds#TenantDatabaseQuotaExceededFault":
|
|
5971
|
+
throw await de_TenantDatabaseQuotaExceededFaultRes(parsedOutput, context);
|
|
5748
5972
|
default:
|
|
5749
5973
|
const parsedBody = parsedOutput.body;
|
|
5750
5974
|
return throwDefaultError({
|
|
@@ -6153,6 +6377,48 @@ const de_ModifyOptionGroupCommandError = async (output, context) => {
|
|
|
6153
6377
|
});
|
|
6154
6378
|
}
|
|
6155
6379
|
};
|
|
6380
|
+
const de_ModifyTenantDatabaseCommand = async (output, context) => {
|
|
6381
|
+
if (output.statusCode >= 300) {
|
|
6382
|
+
return de_ModifyTenantDatabaseCommandError(output, context);
|
|
6383
|
+
}
|
|
6384
|
+
const data = await parseBody(output.body, context);
|
|
6385
|
+
let contents = {};
|
|
6386
|
+
contents = de_ModifyTenantDatabaseResult(data.ModifyTenantDatabaseResult, context);
|
|
6387
|
+
const response = {
|
|
6388
|
+
$metadata: deserializeMetadata(output),
|
|
6389
|
+
...contents,
|
|
6390
|
+
};
|
|
6391
|
+
return response;
|
|
6392
|
+
};
|
|
6393
|
+
exports.de_ModifyTenantDatabaseCommand = de_ModifyTenantDatabaseCommand;
|
|
6394
|
+
const de_ModifyTenantDatabaseCommandError = async (output, context) => {
|
|
6395
|
+
const parsedOutput = {
|
|
6396
|
+
...output,
|
|
6397
|
+
body: await parseErrorBody(output.body, context),
|
|
6398
|
+
};
|
|
6399
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
6400
|
+
switch (errorCode) {
|
|
6401
|
+
case "DBInstanceNotFound":
|
|
6402
|
+
case "com.amazonaws.rds#DBInstanceNotFoundFault":
|
|
6403
|
+
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
6404
|
+
case "InvalidDBInstanceState":
|
|
6405
|
+
case "com.amazonaws.rds#InvalidDBInstanceStateFault":
|
|
6406
|
+
throw await de_InvalidDBInstanceStateFaultRes(parsedOutput, context);
|
|
6407
|
+
case "TenantDatabaseAlreadyExists":
|
|
6408
|
+
case "com.amazonaws.rds#TenantDatabaseAlreadyExistsFault":
|
|
6409
|
+
throw await de_TenantDatabaseAlreadyExistsFaultRes(parsedOutput, context);
|
|
6410
|
+
case "TenantDatabaseNotFound":
|
|
6411
|
+
case "com.amazonaws.rds#TenantDatabaseNotFoundFault":
|
|
6412
|
+
throw await de_TenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
6413
|
+
default:
|
|
6414
|
+
const parsedBody = parsedOutput.body;
|
|
6415
|
+
return throwDefaultError({
|
|
6416
|
+
output,
|
|
6417
|
+
parsedBody: parsedBody.Error,
|
|
6418
|
+
errorCode,
|
|
6419
|
+
});
|
|
6420
|
+
}
|
|
6421
|
+
};
|
|
6156
6422
|
const de_PromoteReadReplicaCommand = async (output, context) => {
|
|
6157
6423
|
if (output.statusCode >= 300) {
|
|
6158
6424
|
return de_PromoteReadReplicaCommandError(output, context);
|
|
@@ -6579,9 +6845,15 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
6579
6845
|
case "DBSnapshotNotFound":
|
|
6580
6846
|
case "com.amazonaws.rds#DBSnapshotNotFoundFault":
|
|
6581
6847
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
6848
|
+
case "DBSnapshotTenantDatabaseNotFoundFault":
|
|
6849
|
+
case "com.amazonaws.rds#DBSnapshotTenantDatabaseNotFoundFault":
|
|
6850
|
+
throw await de_DBSnapshotTenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
6582
6851
|
case "IntegrationNotFoundFault":
|
|
6583
6852
|
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
6584
6853
|
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
6854
|
+
case "TenantDatabaseNotFound":
|
|
6855
|
+
case "com.amazonaws.rds#TenantDatabaseNotFoundFault":
|
|
6856
|
+
throw await de_TenantDatabaseNotFoundFaultRes(parsedOutput, context);
|
|
6585
6857
|
default:
|
|
6586
6858
|
const parsedBody = parsedOutput.body;
|
|
6587
6859
|
return throwDefaultError({
|
|
@@ -6999,6 +7271,9 @@ const de_RestoreDBInstanceFromDBSnapshotCommandError = async (output, context) =
|
|
|
6999
7271
|
case "StorageTypeNotSupported":
|
|
7000
7272
|
case "com.amazonaws.rds#StorageTypeNotSupportedFault":
|
|
7001
7273
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
7274
|
+
case "TenantDatabaseQuotaExceeded":
|
|
7275
|
+
case "com.amazonaws.rds#TenantDatabaseQuotaExceededFault":
|
|
7276
|
+
throw await de_TenantDatabaseQuotaExceededFaultRes(parsedOutput, context);
|
|
7002
7277
|
default:
|
|
7003
7278
|
const parsedBody = parsedOutput.body;
|
|
7004
7279
|
return throwDefaultError({
|
|
@@ -7182,6 +7457,9 @@ const de_RestoreDBInstanceToPointInTimeCommandError = async (output, context) =>
|
|
|
7182
7457
|
case "StorageTypeNotSupported":
|
|
7183
7458
|
case "com.amazonaws.rds#StorageTypeNotSupportedFault":
|
|
7184
7459
|
throw await de_StorageTypeNotSupportedFaultRes(parsedOutput, context);
|
|
7460
|
+
case "TenantDatabaseQuotaExceeded":
|
|
7461
|
+
case "com.amazonaws.rds#TenantDatabaseQuotaExceededFault":
|
|
7462
|
+
throw await de_TenantDatabaseQuotaExceededFaultRes(parsedOutput, context);
|
|
7185
7463
|
default:
|
|
7186
7464
|
const parsedBody = parsedOutput.body;
|
|
7187
7465
|
return throwDefaultError({
|
|
@@ -7902,7 +8180,7 @@ const de_DBClusterAutomatedBackupQuotaExceededFaultRes = async (parsedOutput, co
|
|
|
7902
8180
|
const de_DBClusterBacktrackNotFoundFaultRes = async (parsedOutput, context) => {
|
|
7903
8181
|
const body = parsedOutput.body;
|
|
7904
8182
|
const deserialized = de_DBClusterBacktrackNotFoundFault(body.Error, context);
|
|
7905
|
-
const exception = new
|
|
8183
|
+
const exception = new models_1_1.DBClusterBacktrackNotFoundFault({
|
|
7906
8184
|
$metadata: deserializeMetadata(parsedOutput),
|
|
7907
8185
|
...deserialized,
|
|
7908
8186
|
});
|
|
@@ -8241,6 +8519,15 @@ const de_DBSnapshotNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
8241
8519
|
});
|
|
8242
8520
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8243
8521
|
};
|
|
8522
|
+
const de_DBSnapshotTenantDatabaseNotFoundFaultRes = async (parsedOutput, context) => {
|
|
8523
|
+
const body = parsedOutput.body;
|
|
8524
|
+
const deserialized = de_DBSnapshotTenantDatabaseNotFoundFault(body.Error, context);
|
|
8525
|
+
const exception = new models_0_1.DBSnapshotTenantDatabaseNotFoundFault({
|
|
8526
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8527
|
+
...deserialized,
|
|
8528
|
+
});
|
|
8529
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8530
|
+
};
|
|
8244
8531
|
const de_DBSubnetGroupAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
8245
8532
|
const body = parsedOutput.body;
|
|
8246
8533
|
const deserialized = de_DBSubnetGroupAlreadyExistsFault(body.Error, context);
|
|
@@ -8970,6 +9257,33 @@ const de_SubscriptionNotFoundFaultRes = async (parsedOutput, context) => {
|
|
|
8970
9257
|
});
|
|
8971
9258
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8972
9259
|
};
|
|
9260
|
+
const de_TenantDatabaseAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
9261
|
+
const body = parsedOutput.body;
|
|
9262
|
+
const deserialized = de_TenantDatabaseAlreadyExistsFault(body.Error, context);
|
|
9263
|
+
const exception = new models_0_1.TenantDatabaseAlreadyExistsFault({
|
|
9264
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
9265
|
+
...deserialized,
|
|
9266
|
+
});
|
|
9267
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
9268
|
+
};
|
|
9269
|
+
const de_TenantDatabaseNotFoundFaultRes = async (parsedOutput, context) => {
|
|
9270
|
+
const body = parsedOutput.body;
|
|
9271
|
+
const deserialized = de_TenantDatabaseNotFoundFault(body.Error, context);
|
|
9272
|
+
const exception = new models_0_1.TenantDatabaseNotFoundFault({
|
|
9273
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
9274
|
+
...deserialized,
|
|
9275
|
+
});
|
|
9276
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
9277
|
+
};
|
|
9278
|
+
const de_TenantDatabaseQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
9279
|
+
const body = parsedOutput.body;
|
|
9280
|
+
const deserialized = de_TenantDatabaseQuotaExceededFault(body.Error, context);
|
|
9281
|
+
const exception = new models_0_1.TenantDatabaseQuotaExceededFault({
|
|
9282
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
9283
|
+
...deserialized,
|
|
9284
|
+
});
|
|
9285
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
9286
|
+
};
|
|
8973
9287
|
const se_AddRoleToDBClusterMessage = (input, context) => {
|
|
8974
9288
|
const entries = {};
|
|
8975
9289
|
if (input.DBClusterIdentifier != null) {
|
|
@@ -9877,6 +10191,9 @@ const se_CreateDBInstanceMessage = (input, context) => {
|
|
|
9877
10191
|
if (input.DedicatedLogVolume != null) {
|
|
9878
10192
|
entries["DedicatedLogVolume"] = input.DedicatedLogVolume;
|
|
9879
10193
|
}
|
|
10194
|
+
if (input.MultiTenant != null) {
|
|
10195
|
+
entries["MultiTenant"] = input.MultiTenant;
|
|
10196
|
+
}
|
|
9880
10197
|
return entries;
|
|
9881
10198
|
};
|
|
9882
10199
|
const se_CreateDBInstanceReadReplicaMessage = (input, context) => {
|
|
@@ -10378,6 +10695,38 @@ const se_CreateOptionGroupMessage = (input, context) => {
|
|
|
10378
10695
|
}
|
|
10379
10696
|
return entries;
|
|
10380
10697
|
};
|
|
10698
|
+
const se_CreateTenantDatabaseMessage = (input, context) => {
|
|
10699
|
+
const entries = {};
|
|
10700
|
+
if (input.DBInstanceIdentifier != null) {
|
|
10701
|
+
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
10702
|
+
}
|
|
10703
|
+
if (input.TenantDBName != null) {
|
|
10704
|
+
entries["TenantDBName"] = input.TenantDBName;
|
|
10705
|
+
}
|
|
10706
|
+
if (input.MasterUsername != null) {
|
|
10707
|
+
entries["MasterUsername"] = input.MasterUsername;
|
|
10708
|
+
}
|
|
10709
|
+
if (input.MasterUserPassword != null) {
|
|
10710
|
+
entries["MasterUserPassword"] = input.MasterUserPassword;
|
|
10711
|
+
}
|
|
10712
|
+
if (input.CharacterSetName != null) {
|
|
10713
|
+
entries["CharacterSetName"] = input.CharacterSetName;
|
|
10714
|
+
}
|
|
10715
|
+
if (input.NcharCharacterSetName != null) {
|
|
10716
|
+
entries["NcharCharacterSetName"] = input.NcharCharacterSetName;
|
|
10717
|
+
}
|
|
10718
|
+
if (input.Tags != null) {
|
|
10719
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
10720
|
+
if (input.Tags?.length === 0) {
|
|
10721
|
+
entries.Tags = [];
|
|
10722
|
+
}
|
|
10723
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10724
|
+
const loc = `Tags.${key}`;
|
|
10725
|
+
entries[loc] = value;
|
|
10726
|
+
});
|
|
10727
|
+
}
|
|
10728
|
+
return entries;
|
|
10729
|
+
};
|
|
10381
10730
|
const se_DBSecurityGroupNameList = (input, context) => {
|
|
10382
10731
|
const entries = {};
|
|
10383
10732
|
let counter = 1;
|
|
@@ -10550,6 +10899,22 @@ const se_DeleteOptionGroupMessage = (input, context) => {
|
|
|
10550
10899
|
}
|
|
10551
10900
|
return entries;
|
|
10552
10901
|
};
|
|
10902
|
+
const se_DeleteTenantDatabaseMessage = (input, context) => {
|
|
10903
|
+
const entries = {};
|
|
10904
|
+
if (input.DBInstanceIdentifier != null) {
|
|
10905
|
+
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
10906
|
+
}
|
|
10907
|
+
if (input.TenantDBName != null) {
|
|
10908
|
+
entries["TenantDBName"] = input.TenantDBName;
|
|
10909
|
+
}
|
|
10910
|
+
if (input.SkipFinalSnapshot != null) {
|
|
10911
|
+
entries["SkipFinalSnapshot"] = input.SkipFinalSnapshot;
|
|
10912
|
+
}
|
|
10913
|
+
if (input.FinalDBSnapshotIdentifier != null) {
|
|
10914
|
+
entries["FinalDBSnapshotIdentifier"] = input.FinalDBSnapshotIdentifier;
|
|
10915
|
+
}
|
|
10916
|
+
return entries;
|
|
10917
|
+
};
|
|
10553
10918
|
const se_DeregisterDBProxyTargetsRequest = (input, context) => {
|
|
10554
10919
|
const entries = {};
|
|
10555
10920
|
if (input.DBProxyName != null) {
|
|
@@ -11171,6 +11536,38 @@ const se_DescribeDBSnapshotsMessage = (input, context) => {
|
|
|
11171
11536
|
}
|
|
11172
11537
|
return entries;
|
|
11173
11538
|
};
|
|
11539
|
+
const se_DescribeDBSnapshotTenantDatabasesMessage = (input, context) => {
|
|
11540
|
+
const entries = {};
|
|
11541
|
+
if (input.DBInstanceIdentifier != null) {
|
|
11542
|
+
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
11543
|
+
}
|
|
11544
|
+
if (input.DBSnapshotIdentifier != null) {
|
|
11545
|
+
entries["DBSnapshotIdentifier"] = input.DBSnapshotIdentifier;
|
|
11546
|
+
}
|
|
11547
|
+
if (input.SnapshotType != null) {
|
|
11548
|
+
entries["SnapshotType"] = input.SnapshotType;
|
|
11549
|
+
}
|
|
11550
|
+
if (input.Filters != null) {
|
|
11551
|
+
const memberEntries = se_FilterList(input.Filters, context);
|
|
11552
|
+
if (input.Filters?.length === 0) {
|
|
11553
|
+
entries.Filters = [];
|
|
11554
|
+
}
|
|
11555
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
11556
|
+
const loc = `Filters.${key}`;
|
|
11557
|
+
entries[loc] = value;
|
|
11558
|
+
});
|
|
11559
|
+
}
|
|
11560
|
+
if (input.MaxRecords != null) {
|
|
11561
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
11562
|
+
}
|
|
11563
|
+
if (input.Marker != null) {
|
|
11564
|
+
entries["Marker"] = input.Marker;
|
|
11565
|
+
}
|
|
11566
|
+
if (input.DbiResourceId != null) {
|
|
11567
|
+
entries["DbiResourceId"] = input.DbiResourceId;
|
|
11568
|
+
}
|
|
11569
|
+
return entries;
|
|
11570
|
+
};
|
|
11174
11571
|
const se_DescribeDBSubnetGroupsMessage = (input, context) => {
|
|
11175
11572
|
const entries = {};
|
|
11176
11573
|
if (input.DBSubnetGroupName != null) {
|
|
@@ -11621,6 +12018,32 @@ const se_DescribeSourceRegionsMessage = (input, context) => {
|
|
|
11621
12018
|
}
|
|
11622
12019
|
return entries;
|
|
11623
12020
|
};
|
|
12021
|
+
const se_DescribeTenantDatabasesMessage = (input, context) => {
|
|
12022
|
+
const entries = {};
|
|
12023
|
+
if (input.DBInstanceIdentifier != null) {
|
|
12024
|
+
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
12025
|
+
}
|
|
12026
|
+
if (input.TenantDBName != null) {
|
|
12027
|
+
entries["TenantDBName"] = input.TenantDBName;
|
|
12028
|
+
}
|
|
12029
|
+
if (input.Filters != null) {
|
|
12030
|
+
const memberEntries = se_FilterList(input.Filters, context);
|
|
12031
|
+
if (input.Filters?.length === 0) {
|
|
12032
|
+
entries.Filters = [];
|
|
12033
|
+
}
|
|
12034
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
12035
|
+
const loc = `Filters.${key}`;
|
|
12036
|
+
entries[loc] = value;
|
|
12037
|
+
});
|
|
12038
|
+
}
|
|
12039
|
+
if (input.Marker != null) {
|
|
12040
|
+
entries["Marker"] = input.Marker;
|
|
12041
|
+
}
|
|
12042
|
+
if (input.MaxRecords != null) {
|
|
12043
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
12044
|
+
}
|
|
12045
|
+
return entries;
|
|
12046
|
+
};
|
|
11624
12047
|
const se_DescribeValidDBInstanceModificationsMessage = (input, context) => {
|
|
11625
12048
|
const entries = {};
|
|
11626
12049
|
if (input.DBInstanceIdentifier != null) {
|
|
@@ -12283,6 +12706,9 @@ const se_ModifyDBInstanceMessage = (input, context) => {
|
|
|
12283
12706
|
if (input.DedicatedLogVolume != null) {
|
|
12284
12707
|
entries["DedicatedLogVolume"] = input.DedicatedLogVolume;
|
|
12285
12708
|
}
|
|
12709
|
+
if (input.MultiTenant != null) {
|
|
12710
|
+
entries["MultiTenant"] = input.MultiTenant;
|
|
12711
|
+
}
|
|
12286
12712
|
return entries;
|
|
12287
12713
|
};
|
|
12288
12714
|
const se_ModifyDBParameterGroupMessage = (input, context) => {
|
|
@@ -12522,6 +12948,22 @@ const se_ModifyOptionGroupMessage = (input, context) => {
|
|
|
12522
12948
|
}
|
|
12523
12949
|
return entries;
|
|
12524
12950
|
};
|
|
12951
|
+
const se_ModifyTenantDatabaseMessage = (input, context) => {
|
|
12952
|
+
const entries = {};
|
|
12953
|
+
if (input.DBInstanceIdentifier != null) {
|
|
12954
|
+
entries["DBInstanceIdentifier"] = input.DBInstanceIdentifier;
|
|
12955
|
+
}
|
|
12956
|
+
if (input.TenantDBName != null) {
|
|
12957
|
+
entries["TenantDBName"] = input.TenantDBName;
|
|
12958
|
+
}
|
|
12959
|
+
if (input.MasterUserPassword != null) {
|
|
12960
|
+
entries["MasterUserPassword"] = input.MasterUserPassword;
|
|
12961
|
+
}
|
|
12962
|
+
if (input.NewTenantDBName != null) {
|
|
12963
|
+
entries["NewTenantDBName"] = input.NewTenantDBName;
|
|
12964
|
+
}
|
|
12965
|
+
return entries;
|
|
12966
|
+
};
|
|
12525
12967
|
const se_OptionConfiguration = (input, context) => {
|
|
12526
12968
|
const entries = {};
|
|
12527
12969
|
if (input.OptionName != null) {
|
|
@@ -14649,6 +15091,13 @@ const de_CreateOptionGroupResult = (output, context) => {
|
|
|
14649
15091
|
}
|
|
14650
15092
|
return contents;
|
|
14651
15093
|
};
|
|
15094
|
+
const de_CreateTenantDatabaseResult = (output, context) => {
|
|
15095
|
+
const contents = {};
|
|
15096
|
+
if (output["TenantDatabase"] !== undefined) {
|
|
15097
|
+
contents.TenantDatabase = de_TenantDatabase(output["TenantDatabase"], context);
|
|
15098
|
+
}
|
|
15099
|
+
return contents;
|
|
15100
|
+
};
|
|
14652
15101
|
const de_CustomAvailabilityZoneNotFoundFault = (output, context) => {
|
|
14653
15102
|
const contents = {};
|
|
14654
15103
|
if (output["message"] !== undefined) {
|
|
@@ -16015,6 +16464,9 @@ const de_DBInstance = (output, context) => {
|
|
|
16015
16464
|
if (output["IsStorageConfigUpgradeAvailable"] !== undefined) {
|
|
16016
16465
|
contents.IsStorageConfigUpgradeAvailable = (0, smithy_client_1.parseBoolean)(output["IsStorageConfigUpgradeAvailable"]);
|
|
16017
16466
|
}
|
|
16467
|
+
if (output["MultiTenant"] !== undefined) {
|
|
16468
|
+
contents.MultiTenant = (0, smithy_client_1.parseBoolean)(output["MultiTenant"]);
|
|
16469
|
+
}
|
|
16018
16470
|
return contents;
|
|
16019
16471
|
};
|
|
16020
16472
|
const de_DBInstanceAlreadyExistsFault = (output, context) => {
|
|
@@ -16120,6 +16572,9 @@ const de_DBInstanceAutomatedBackup = (output, context) => {
|
|
|
16120
16572
|
if (output["DedicatedLogVolume"] !== undefined) {
|
|
16121
16573
|
contents.DedicatedLogVolume = (0, smithy_client_1.parseBoolean)(output["DedicatedLogVolume"]);
|
|
16122
16574
|
}
|
|
16575
|
+
if (output["MultiTenant"] !== undefined) {
|
|
16576
|
+
contents.MultiTenant = (0, smithy_client_1.parseBoolean)(output["MultiTenant"]);
|
|
16577
|
+
}
|
|
16123
16578
|
return contents;
|
|
16124
16579
|
};
|
|
16125
16580
|
const de_DBInstanceAutomatedBackupList = (output, context) => {
|
|
@@ -16809,6 +17264,9 @@ const de_DBSnapshot = (output, context) => {
|
|
|
16809
17264
|
if (output["DedicatedLogVolume"] !== undefined) {
|
|
16810
17265
|
contents.DedicatedLogVolume = (0, smithy_client_1.parseBoolean)(output["DedicatedLogVolume"]);
|
|
16811
17266
|
}
|
|
17267
|
+
if (output["MultiTenant"] !== undefined) {
|
|
17268
|
+
contents.MultiTenant = (0, smithy_client_1.parseBoolean)(output["MultiTenant"]);
|
|
17269
|
+
}
|
|
16812
17270
|
return contents;
|
|
16813
17271
|
};
|
|
16814
17272
|
const de_DBSnapshotAlreadyExistsFault = (output, context) => {
|
|
@@ -16879,6 +17337,80 @@ const de_DBSnapshotNotFoundFault = (output, context) => {
|
|
|
16879
17337
|
}
|
|
16880
17338
|
return contents;
|
|
16881
17339
|
};
|
|
17340
|
+
const de_DBSnapshotTenantDatabase = (output, context) => {
|
|
17341
|
+
const contents = {};
|
|
17342
|
+
if (output["DBSnapshotIdentifier"] !== undefined) {
|
|
17343
|
+
contents.DBSnapshotIdentifier = (0, smithy_client_1.expectString)(output["DBSnapshotIdentifier"]);
|
|
17344
|
+
}
|
|
17345
|
+
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
17346
|
+
contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
|
|
17347
|
+
}
|
|
17348
|
+
if (output["DbiResourceId"] !== undefined) {
|
|
17349
|
+
contents.DbiResourceId = (0, smithy_client_1.expectString)(output["DbiResourceId"]);
|
|
17350
|
+
}
|
|
17351
|
+
if (output["EngineName"] !== undefined) {
|
|
17352
|
+
contents.EngineName = (0, smithy_client_1.expectString)(output["EngineName"]);
|
|
17353
|
+
}
|
|
17354
|
+
if (output["SnapshotType"] !== undefined) {
|
|
17355
|
+
contents.SnapshotType = (0, smithy_client_1.expectString)(output["SnapshotType"]);
|
|
17356
|
+
}
|
|
17357
|
+
if (output["TenantDatabaseCreateTime"] !== undefined) {
|
|
17358
|
+
contents.TenantDatabaseCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["TenantDatabaseCreateTime"]));
|
|
17359
|
+
}
|
|
17360
|
+
if (output["TenantDBName"] !== undefined) {
|
|
17361
|
+
contents.TenantDBName = (0, smithy_client_1.expectString)(output["TenantDBName"]);
|
|
17362
|
+
}
|
|
17363
|
+
if (output["MasterUsername"] !== undefined) {
|
|
17364
|
+
contents.MasterUsername = (0, smithy_client_1.expectString)(output["MasterUsername"]);
|
|
17365
|
+
}
|
|
17366
|
+
if (output["TenantDatabaseResourceId"] !== undefined) {
|
|
17367
|
+
contents.TenantDatabaseResourceId = (0, smithy_client_1.expectString)(output["TenantDatabaseResourceId"]);
|
|
17368
|
+
}
|
|
17369
|
+
if (output["CharacterSetName"] !== undefined) {
|
|
17370
|
+
contents.CharacterSetName = (0, smithy_client_1.expectString)(output["CharacterSetName"]);
|
|
17371
|
+
}
|
|
17372
|
+
if (output["DBSnapshotTenantDatabaseARN"] !== undefined) {
|
|
17373
|
+
contents.DBSnapshotTenantDatabaseARN = (0, smithy_client_1.expectString)(output["DBSnapshotTenantDatabaseARN"]);
|
|
17374
|
+
}
|
|
17375
|
+
if (output["NcharCharacterSetName"] !== undefined) {
|
|
17376
|
+
contents.NcharCharacterSetName = (0, smithy_client_1.expectString)(output["NcharCharacterSetName"]);
|
|
17377
|
+
}
|
|
17378
|
+
if (output.TagList === "") {
|
|
17379
|
+
contents.TagList = [];
|
|
17380
|
+
}
|
|
17381
|
+
else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
17382
|
+
contents.TagList = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output["TagList"]["Tag"]), context);
|
|
17383
|
+
}
|
|
17384
|
+
return contents;
|
|
17385
|
+
};
|
|
17386
|
+
const de_DBSnapshotTenantDatabaseNotFoundFault = (output, context) => {
|
|
17387
|
+
const contents = {};
|
|
17388
|
+
if (output["message"] !== undefined) {
|
|
17389
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
17390
|
+
}
|
|
17391
|
+
return contents;
|
|
17392
|
+
};
|
|
17393
|
+
const de_DBSnapshotTenantDatabasesList = (output, context) => {
|
|
17394
|
+
return (output || [])
|
|
17395
|
+
.filter((e) => e != null)
|
|
17396
|
+
.map((entry) => {
|
|
17397
|
+
return de_DBSnapshotTenantDatabase(entry, context);
|
|
17398
|
+
});
|
|
17399
|
+
};
|
|
17400
|
+
const de_DBSnapshotTenantDatabasesMessage = (output, context) => {
|
|
17401
|
+
const contents = {};
|
|
17402
|
+
if (output["Marker"] !== undefined) {
|
|
17403
|
+
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
17404
|
+
}
|
|
17405
|
+
if (output.DBSnapshotTenantDatabases === "") {
|
|
17406
|
+
contents.DBSnapshotTenantDatabases = [];
|
|
17407
|
+
}
|
|
17408
|
+
else if (output["DBSnapshotTenantDatabases"] !== undefined &&
|
|
17409
|
+
output["DBSnapshotTenantDatabases"]["DBSnapshotTenantDatabase"] !== undefined) {
|
|
17410
|
+
contents.DBSnapshotTenantDatabases = de_DBSnapshotTenantDatabasesList((0, smithy_client_1.getArrayIfSingleItem)(output["DBSnapshotTenantDatabases"]["DBSnapshotTenantDatabase"]), context);
|
|
17411
|
+
}
|
|
17412
|
+
return contents;
|
|
17413
|
+
};
|
|
16882
17414
|
const de_DBSubnetGroup = (output, context) => {
|
|
16883
17415
|
const contents = {};
|
|
16884
17416
|
if (output["DBSubnetGroupName"] !== undefined) {
|
|
@@ -17056,6 +17588,13 @@ const de_DeleteGlobalClusterResult = (output, context) => {
|
|
|
17056
17588
|
}
|
|
17057
17589
|
return contents;
|
|
17058
17590
|
};
|
|
17591
|
+
const de_DeleteTenantDatabaseResult = (output, context) => {
|
|
17592
|
+
const contents = {};
|
|
17593
|
+
if (output["TenantDatabase"] !== undefined) {
|
|
17594
|
+
contents.TenantDatabase = de_TenantDatabase(output["TenantDatabase"], context);
|
|
17595
|
+
}
|
|
17596
|
+
return contents;
|
|
17597
|
+
};
|
|
17059
17598
|
const de_DeregisterDBProxyTargetsResponse = (output, context) => {
|
|
17060
17599
|
const contents = {};
|
|
17061
17600
|
return contents;
|
|
@@ -18258,6 +18797,13 @@ const de_ModifyOptionGroupResult = (output, context) => {
|
|
|
18258
18797
|
}
|
|
18259
18798
|
return contents;
|
|
18260
18799
|
};
|
|
18800
|
+
const de_ModifyTenantDatabaseResult = (output, context) => {
|
|
18801
|
+
const contents = {};
|
|
18802
|
+
if (output["TenantDatabase"] !== undefined) {
|
|
18803
|
+
contents.TenantDatabase = de_TenantDatabase(output["TenantDatabase"], context);
|
|
18804
|
+
}
|
|
18805
|
+
return contents;
|
|
18806
|
+
};
|
|
18261
18807
|
const de_NetworkTypeNotSupported = (output, context) => {
|
|
18262
18808
|
const contents = {};
|
|
18263
18809
|
if (output["message"] !== undefined) {
|
|
@@ -18951,6 +19497,9 @@ const de_PendingModifiedValues = (output, context) => {
|
|
|
18951
19497
|
if (output["DedicatedLogVolume"] !== undefined) {
|
|
18952
19498
|
contents.DedicatedLogVolume = (0, smithy_client_1.parseBoolean)(output["DedicatedLogVolume"]);
|
|
18953
19499
|
}
|
|
19500
|
+
if (output["MultiTenant"] !== undefined) {
|
|
19501
|
+
contents.MultiTenant = (0, smithy_client_1.parseBoolean)(output["MultiTenant"]);
|
|
19502
|
+
}
|
|
18954
19503
|
return contents;
|
|
18955
19504
|
};
|
|
18956
19505
|
const de_PointInTimeRestoreNotEnabledFault = (output, context) => {
|
|
@@ -19756,6 +20305,103 @@ const de_TargetList = (output, context) => {
|
|
|
19756
20305
|
return de_DBProxyTarget(entry, context);
|
|
19757
20306
|
});
|
|
19758
20307
|
};
|
|
20308
|
+
const de_TenantDatabase = (output, context) => {
|
|
20309
|
+
const contents = {};
|
|
20310
|
+
if (output["TenantDatabaseCreateTime"] !== undefined) {
|
|
20311
|
+
contents.TenantDatabaseCreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["TenantDatabaseCreateTime"]));
|
|
20312
|
+
}
|
|
20313
|
+
if (output["DBInstanceIdentifier"] !== undefined) {
|
|
20314
|
+
contents.DBInstanceIdentifier = (0, smithy_client_1.expectString)(output["DBInstanceIdentifier"]);
|
|
20315
|
+
}
|
|
20316
|
+
if (output["TenantDBName"] !== undefined) {
|
|
20317
|
+
contents.TenantDBName = (0, smithy_client_1.expectString)(output["TenantDBName"]);
|
|
20318
|
+
}
|
|
20319
|
+
if (output["Status"] !== undefined) {
|
|
20320
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
20321
|
+
}
|
|
20322
|
+
if (output["MasterUsername"] !== undefined) {
|
|
20323
|
+
contents.MasterUsername = (0, smithy_client_1.expectString)(output["MasterUsername"]);
|
|
20324
|
+
}
|
|
20325
|
+
if (output["DbiResourceId"] !== undefined) {
|
|
20326
|
+
contents.DbiResourceId = (0, smithy_client_1.expectString)(output["DbiResourceId"]);
|
|
20327
|
+
}
|
|
20328
|
+
if (output["TenantDatabaseResourceId"] !== undefined) {
|
|
20329
|
+
contents.TenantDatabaseResourceId = (0, smithy_client_1.expectString)(output["TenantDatabaseResourceId"]);
|
|
20330
|
+
}
|
|
20331
|
+
if (output["TenantDatabaseARN"] !== undefined) {
|
|
20332
|
+
contents.TenantDatabaseARN = (0, smithy_client_1.expectString)(output["TenantDatabaseARN"]);
|
|
20333
|
+
}
|
|
20334
|
+
if (output["CharacterSetName"] !== undefined) {
|
|
20335
|
+
contents.CharacterSetName = (0, smithy_client_1.expectString)(output["CharacterSetName"]);
|
|
20336
|
+
}
|
|
20337
|
+
if (output["NcharCharacterSetName"] !== undefined) {
|
|
20338
|
+
contents.NcharCharacterSetName = (0, smithy_client_1.expectString)(output["NcharCharacterSetName"]);
|
|
20339
|
+
}
|
|
20340
|
+
if (output["DeletionProtection"] !== undefined) {
|
|
20341
|
+
contents.DeletionProtection = (0, smithy_client_1.parseBoolean)(output["DeletionProtection"]);
|
|
20342
|
+
}
|
|
20343
|
+
if (output["PendingModifiedValues"] !== undefined) {
|
|
20344
|
+
contents.PendingModifiedValues = de_TenantDatabasePendingModifiedValues(output["PendingModifiedValues"], context);
|
|
20345
|
+
}
|
|
20346
|
+
if (output.TagList === "") {
|
|
20347
|
+
contents.TagList = [];
|
|
20348
|
+
}
|
|
20349
|
+
else if (output["TagList"] !== undefined && output["TagList"]["Tag"] !== undefined) {
|
|
20350
|
+
contents.TagList = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output["TagList"]["Tag"]), context);
|
|
20351
|
+
}
|
|
20352
|
+
return contents;
|
|
20353
|
+
};
|
|
20354
|
+
const de_TenantDatabaseAlreadyExistsFault = (output, context) => {
|
|
20355
|
+
const contents = {};
|
|
20356
|
+
if (output["message"] !== undefined) {
|
|
20357
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
20358
|
+
}
|
|
20359
|
+
return contents;
|
|
20360
|
+
};
|
|
20361
|
+
const de_TenantDatabaseNotFoundFault = (output, context) => {
|
|
20362
|
+
const contents = {};
|
|
20363
|
+
if (output["message"] !== undefined) {
|
|
20364
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
20365
|
+
}
|
|
20366
|
+
return contents;
|
|
20367
|
+
};
|
|
20368
|
+
const de_TenantDatabasePendingModifiedValues = (output, context) => {
|
|
20369
|
+
const contents = {};
|
|
20370
|
+
if (output["MasterUserPassword"] !== undefined) {
|
|
20371
|
+
contents.MasterUserPassword = (0, smithy_client_1.expectString)(output["MasterUserPassword"]);
|
|
20372
|
+
}
|
|
20373
|
+
if (output["TenantDBName"] !== undefined) {
|
|
20374
|
+
contents.TenantDBName = (0, smithy_client_1.expectString)(output["TenantDBName"]);
|
|
20375
|
+
}
|
|
20376
|
+
return contents;
|
|
20377
|
+
};
|
|
20378
|
+
const de_TenantDatabaseQuotaExceededFault = (output, context) => {
|
|
20379
|
+
const contents = {};
|
|
20380
|
+
if (output["message"] !== undefined) {
|
|
20381
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
20382
|
+
}
|
|
20383
|
+
return contents;
|
|
20384
|
+
};
|
|
20385
|
+
const de_TenantDatabasesList = (output, context) => {
|
|
20386
|
+
return (output || [])
|
|
20387
|
+
.filter((e) => e != null)
|
|
20388
|
+
.map((entry) => {
|
|
20389
|
+
return de_TenantDatabase(entry, context);
|
|
20390
|
+
});
|
|
20391
|
+
};
|
|
20392
|
+
const de_TenantDatabasesMessage = (output, context) => {
|
|
20393
|
+
const contents = {};
|
|
20394
|
+
if (output["Marker"] !== undefined) {
|
|
20395
|
+
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
20396
|
+
}
|
|
20397
|
+
if (output.TenantDatabases === "") {
|
|
20398
|
+
contents.TenantDatabases = [];
|
|
20399
|
+
}
|
|
20400
|
+
else if (output["TenantDatabases"] !== undefined && output["TenantDatabases"]["TenantDatabase"] !== undefined) {
|
|
20401
|
+
contents.TenantDatabases = de_TenantDatabasesList((0, smithy_client_1.getArrayIfSingleItem)(output["TenantDatabases"]["TenantDatabase"]), context);
|
|
20402
|
+
}
|
|
20403
|
+
return contents;
|
|
20404
|
+
};
|
|
19759
20405
|
const de_Timezone = (output, context) => {
|
|
19760
20406
|
const contents = {};
|
|
19761
20407
|
if (output["TimezoneName"] !== undefined) {
|