@aws-sdk/client-rds 3.438.0 → 3.439.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 +24 -0
- package/dist-cjs/RDS.js +6 -0
- package/dist-cjs/commands/CreateIntegrationCommand.js +51 -0
- package/dist-cjs/commands/DeleteIntegrationCommand.js +51 -0
- package/dist-cjs/commands/DescribeIntegrationsCommand.js +51 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +77 -3
- package/dist-cjs/pagination/DescribeIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +419 -6
- package/dist-es/RDS.js +6 -0
- package/dist-es/commands/CreateIntegrationCommand.js +47 -0
- package/dist-es/commands/DeleteIntegrationCommand.js +47 -0
- package/dist-es/commands/DescribeIntegrationsCommand.js +47 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +69 -0
- package/dist-es/pagination/DescribeIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +408 -1
- package/dist-types/RDS.d.ts +21 -0
- package/dist-types/RDSClient.d.ts +5 -2
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +3 -0
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +130 -0
- package/dist-types/commands/DeleteCustomDBEngineVersionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +107 -0
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +2 -1
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBEngineVersionsCommand.d.ts +3 -2
- package/dist-types/commands/DescribeIntegrationsCommand.d.ts +115 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +225 -403
- package/dist-types/models/models_1.d.ts +451 -1
- package/dist-types/pagination/DescribeIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_query.d.ts +27 -0
- package/dist-types/ts3.4/RDS.d.ts +51 -0
- package/dist-types/ts3.4/RDSClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeIntegrationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -51
- package/dist-types/ts3.4/models/models_1.d.ts +64 -1
- package/dist-types/ts3.4/pagination/DescribeIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +36 -0
- package/package.json +1 -1
|
@@ -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.de_SwitchoverReadReplicaCommand = exports.de_SwitchoverGlobalClusterCommand = exports.de_SwitchoverBlueGreenDeploymentCommand = exports.de_StopDBInstanceAutomatedBackupsReplicationCommand = 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_ModifyOptionGroupCommand = exports.de_ModifyGlobalClusterCommand = exports.de_ModifyEventSubscriptionCommand = exports.de_ModifyDBSubnetGroupCommand = exports.de_ModifyDBSnapshotAttributeCommand = exports.de_ModifyDBSnapshotCommand = void 0;
|
|
3
|
+
exports.se_DeleteOptionGroupCommand = 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_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_ModifyCustomDBEngineVersionCommand = exports.se_ModifyCurrentDBClusterCapacityCommand = exports.se_ModifyCertificatesCommand = exports.se_ModifyActivityStreamCommand = exports.se_ListTagsForResourceCommand = exports.se_FailoverGlobalClusterCommand = exports.se_FailoverDBClusterCommand = exports.se_DownloadDBLogFilePortionCommand = exports.se_DescribeValidDBInstanceModificationsCommand = 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_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 = void 0;
|
|
5
|
+
exports.de_AddSourceIdentifierToSubscriptionCommand = exports.de_AddRoleToDBInstanceCommand = exports.de_AddRoleToDBClusterCommand = exports.se_SwitchoverReadReplicaCommand = exports.se_SwitchoverGlobalClusterCommand = 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_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 = void 0;
|
|
6
|
+
exports.de_DescribeBlueGreenDeploymentsCommand = exports.de_DescribeAccountAttributesCommand = exports.de_DeregisterDBProxyTargetsCommand = exports.de_DeleteOptionGroupCommand = exports.de_DeleteIntegrationCommand = exports.de_DeleteGlobalClusterCommand = 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_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 = void 0;
|
|
7
|
+
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 = exports.de_FailoverDBClusterCommand = exports.de_DownloadDBLogFilePortionCommand = exports.de_DescribeValidDBInstanceModificationsCommand = 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_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 = void 0;
|
|
8
|
+
exports.de_SwitchoverReadReplicaCommand = exports.de_SwitchoverGlobalClusterCommand = exports.de_SwitchoverBlueGreenDeploymentCommand = exports.de_StopDBInstanceAutomatedBackupsReplicationCommand = 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_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 = void 0;
|
|
9
9
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
10
10
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
11
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
@@ -331,6 +331,17 @@ const se_CreateGlobalClusterCommand = async (input, context) => {
|
|
|
331
331
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
332
332
|
};
|
|
333
333
|
exports.se_CreateGlobalClusterCommand = se_CreateGlobalClusterCommand;
|
|
334
|
+
const se_CreateIntegrationCommand = async (input, context) => {
|
|
335
|
+
const headers = SHARED_HEADERS;
|
|
336
|
+
let body;
|
|
337
|
+
body = buildFormUrlencodedString({
|
|
338
|
+
...se_CreateIntegrationMessage(input, context),
|
|
339
|
+
Action: "CreateIntegration",
|
|
340
|
+
Version: "2014-10-31",
|
|
341
|
+
});
|
|
342
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
343
|
+
};
|
|
344
|
+
exports.se_CreateIntegrationCommand = se_CreateIntegrationCommand;
|
|
334
345
|
const se_CreateOptionGroupCommand = async (input, context) => {
|
|
335
346
|
const headers = SHARED_HEADERS;
|
|
336
347
|
let body;
|
|
@@ -529,6 +540,17 @@ const se_DeleteGlobalClusterCommand = async (input, context) => {
|
|
|
529
540
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
530
541
|
};
|
|
531
542
|
exports.se_DeleteGlobalClusterCommand = se_DeleteGlobalClusterCommand;
|
|
543
|
+
const se_DeleteIntegrationCommand = async (input, context) => {
|
|
544
|
+
const headers = SHARED_HEADERS;
|
|
545
|
+
let body;
|
|
546
|
+
body = buildFormUrlencodedString({
|
|
547
|
+
...se_DeleteIntegrationMessage(input, context),
|
|
548
|
+
Action: "DeleteIntegration",
|
|
549
|
+
Version: "2014-10-31",
|
|
550
|
+
});
|
|
551
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
552
|
+
};
|
|
553
|
+
exports.se_DeleteIntegrationCommand = se_DeleteIntegrationCommand;
|
|
532
554
|
const se_DeleteOptionGroupCommand = async (input, context) => {
|
|
533
555
|
const headers = SHARED_HEADERS;
|
|
534
556
|
let body;
|
|
@@ -903,6 +925,17 @@ const se_DescribeGlobalClustersCommand = async (input, context) => {
|
|
|
903
925
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
904
926
|
};
|
|
905
927
|
exports.se_DescribeGlobalClustersCommand = se_DescribeGlobalClustersCommand;
|
|
928
|
+
const se_DescribeIntegrationsCommand = async (input, context) => {
|
|
929
|
+
const headers = SHARED_HEADERS;
|
|
930
|
+
let body;
|
|
931
|
+
body = buildFormUrlencodedString({
|
|
932
|
+
...se_DescribeIntegrationsMessage(input, context),
|
|
933
|
+
Action: "DescribeIntegrations",
|
|
934
|
+
Version: "2014-10-31",
|
|
935
|
+
});
|
|
936
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
937
|
+
};
|
|
938
|
+
exports.se_DescribeIntegrationsCommand = se_DescribeIntegrationsCommand;
|
|
906
939
|
const se_DescribeOptionGroupOptionsCommand = async (input, context) => {
|
|
907
940
|
const headers = SHARED_HEADERS;
|
|
908
941
|
let body;
|
|
@@ -1746,6 +1779,9 @@ const de_AddTagsToResourceCommandError = async (output, context) => {
|
|
|
1746
1779
|
case "DBSnapshotNotFound":
|
|
1747
1780
|
case "com.amazonaws.rds#DBSnapshotNotFoundFault":
|
|
1748
1781
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
1782
|
+
case "IntegrationNotFoundFault":
|
|
1783
|
+
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
1784
|
+
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
1749
1785
|
default:
|
|
1750
1786
|
const parsedBody = parsedOutput.body;
|
|
1751
1787
|
return throwDefaultError({
|
|
@@ -2970,6 +3006,54 @@ const de_CreateGlobalClusterCommandError = async (output, context) => {
|
|
|
2970
3006
|
});
|
|
2971
3007
|
}
|
|
2972
3008
|
};
|
|
3009
|
+
const de_CreateIntegrationCommand = async (output, context) => {
|
|
3010
|
+
if (output.statusCode >= 300) {
|
|
3011
|
+
return de_CreateIntegrationCommandError(output, context);
|
|
3012
|
+
}
|
|
3013
|
+
const data = await parseBody(output.body, context);
|
|
3014
|
+
let contents = {};
|
|
3015
|
+
contents = de_Integration(data.CreateIntegrationResult, context);
|
|
3016
|
+
const response = {
|
|
3017
|
+
$metadata: deserializeMetadata(output),
|
|
3018
|
+
...contents,
|
|
3019
|
+
};
|
|
3020
|
+
return response;
|
|
3021
|
+
};
|
|
3022
|
+
exports.de_CreateIntegrationCommand = de_CreateIntegrationCommand;
|
|
3023
|
+
const de_CreateIntegrationCommandError = async (output, context) => {
|
|
3024
|
+
const parsedOutput = {
|
|
3025
|
+
...output,
|
|
3026
|
+
body: await parseErrorBody(output.body, context),
|
|
3027
|
+
};
|
|
3028
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3029
|
+
switch (errorCode) {
|
|
3030
|
+
case "DBClusterNotFoundFault":
|
|
3031
|
+
case "com.amazonaws.rds#DBClusterNotFoundFault":
|
|
3032
|
+
throw await de_DBClusterNotFoundFaultRes(parsedOutput, context);
|
|
3033
|
+
case "DBInstanceNotFound":
|
|
3034
|
+
case "com.amazonaws.rds#DBInstanceNotFoundFault":
|
|
3035
|
+
throw await de_DBInstanceNotFoundFaultRes(parsedOutput, context);
|
|
3036
|
+
case "IntegrationAlreadyExistsFault":
|
|
3037
|
+
case "com.amazonaws.rds#IntegrationAlreadyExistsFault":
|
|
3038
|
+
throw await de_IntegrationAlreadyExistsFaultRes(parsedOutput, context);
|
|
3039
|
+
case "IntegrationConflictOperationFault":
|
|
3040
|
+
case "com.amazonaws.rds#IntegrationConflictOperationFault":
|
|
3041
|
+
throw await de_IntegrationConflictOperationFaultRes(parsedOutput, context);
|
|
3042
|
+
case "IntegrationQuotaExceededFault":
|
|
3043
|
+
case "com.amazonaws.rds#IntegrationQuotaExceededFault":
|
|
3044
|
+
throw await de_IntegrationQuotaExceededFaultRes(parsedOutput, context);
|
|
3045
|
+
case "KMSKeyNotAccessibleFault":
|
|
3046
|
+
case "com.amazonaws.rds#KMSKeyNotAccessibleFault":
|
|
3047
|
+
throw await de_KMSKeyNotAccessibleFaultRes(parsedOutput, context);
|
|
3048
|
+
default:
|
|
3049
|
+
const parsedBody = parsedOutput.body;
|
|
3050
|
+
return throwDefaultError({
|
|
3051
|
+
output,
|
|
3052
|
+
parsedBody: parsedBody.Error,
|
|
3053
|
+
errorCode,
|
|
3054
|
+
});
|
|
3055
|
+
}
|
|
3056
|
+
};
|
|
2973
3057
|
const de_CreateOptionGroupCommand = async (output, context) => {
|
|
2974
3058
|
if (output.statusCode >= 300) {
|
|
2975
3059
|
return de_CreateOptionGroupCommandError(output, context);
|
|
@@ -3636,6 +3720,45 @@ const de_DeleteGlobalClusterCommandError = async (output, context) => {
|
|
|
3636
3720
|
});
|
|
3637
3721
|
}
|
|
3638
3722
|
};
|
|
3723
|
+
const de_DeleteIntegrationCommand = async (output, context) => {
|
|
3724
|
+
if (output.statusCode >= 300) {
|
|
3725
|
+
return de_DeleteIntegrationCommandError(output, context);
|
|
3726
|
+
}
|
|
3727
|
+
const data = await parseBody(output.body, context);
|
|
3728
|
+
let contents = {};
|
|
3729
|
+
contents = de_Integration(data.DeleteIntegrationResult, context);
|
|
3730
|
+
const response = {
|
|
3731
|
+
$metadata: deserializeMetadata(output),
|
|
3732
|
+
...contents,
|
|
3733
|
+
};
|
|
3734
|
+
return response;
|
|
3735
|
+
};
|
|
3736
|
+
exports.de_DeleteIntegrationCommand = de_DeleteIntegrationCommand;
|
|
3737
|
+
const de_DeleteIntegrationCommandError = async (output, context) => {
|
|
3738
|
+
const parsedOutput = {
|
|
3739
|
+
...output,
|
|
3740
|
+
body: await parseErrorBody(output.body, context),
|
|
3741
|
+
};
|
|
3742
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
3743
|
+
switch (errorCode) {
|
|
3744
|
+
case "IntegrationConflictOperationFault":
|
|
3745
|
+
case "com.amazonaws.rds#IntegrationConflictOperationFault":
|
|
3746
|
+
throw await de_IntegrationConflictOperationFaultRes(parsedOutput, context);
|
|
3747
|
+
case "IntegrationNotFoundFault":
|
|
3748
|
+
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
3749
|
+
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
3750
|
+
case "InvalidIntegrationStateFault":
|
|
3751
|
+
case "com.amazonaws.rds#InvalidIntegrationStateFault":
|
|
3752
|
+
throw await de_InvalidIntegrationStateFaultRes(parsedOutput, context);
|
|
3753
|
+
default:
|
|
3754
|
+
const parsedBody = parsedOutput.body;
|
|
3755
|
+
return throwDefaultError({
|
|
3756
|
+
output,
|
|
3757
|
+
parsedBody: parsedBody.Error,
|
|
3758
|
+
errorCode,
|
|
3759
|
+
});
|
|
3760
|
+
}
|
|
3761
|
+
};
|
|
3639
3762
|
const de_DeleteOptionGroupCommand = async (output, context) => {
|
|
3640
3763
|
if (output.statusCode >= 300) {
|
|
3641
3764
|
return de_DeleteOptionGroupCommandError(output, context);
|
|
@@ -4752,6 +4875,39 @@ const de_DescribeGlobalClustersCommandError = async (output, context) => {
|
|
|
4752
4875
|
});
|
|
4753
4876
|
}
|
|
4754
4877
|
};
|
|
4878
|
+
const de_DescribeIntegrationsCommand = async (output, context) => {
|
|
4879
|
+
if (output.statusCode >= 300) {
|
|
4880
|
+
return de_DescribeIntegrationsCommandError(output, context);
|
|
4881
|
+
}
|
|
4882
|
+
const data = await parseBody(output.body, context);
|
|
4883
|
+
let contents = {};
|
|
4884
|
+
contents = de_DescribeIntegrationsResponse(data.DescribeIntegrationsResult, context);
|
|
4885
|
+
const response = {
|
|
4886
|
+
$metadata: deserializeMetadata(output),
|
|
4887
|
+
...contents,
|
|
4888
|
+
};
|
|
4889
|
+
return response;
|
|
4890
|
+
};
|
|
4891
|
+
exports.de_DescribeIntegrationsCommand = de_DescribeIntegrationsCommand;
|
|
4892
|
+
const de_DescribeIntegrationsCommandError = async (output, context) => {
|
|
4893
|
+
const parsedOutput = {
|
|
4894
|
+
...output,
|
|
4895
|
+
body: await parseErrorBody(output.body, context),
|
|
4896
|
+
};
|
|
4897
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
4898
|
+
switch (errorCode) {
|
|
4899
|
+
case "IntegrationNotFoundFault":
|
|
4900
|
+
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
4901
|
+
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
4902
|
+
default:
|
|
4903
|
+
const parsedBody = parsedOutput.body;
|
|
4904
|
+
return throwDefaultError({
|
|
4905
|
+
output,
|
|
4906
|
+
parsedBody: parsedBody.Error,
|
|
4907
|
+
errorCode,
|
|
4908
|
+
});
|
|
4909
|
+
}
|
|
4910
|
+
};
|
|
4755
4911
|
const de_DescribeOptionGroupOptionsCommand = async (output, context) => {
|
|
4756
4912
|
if (output.statusCode >= 300) {
|
|
4757
4913
|
return de_DescribeOptionGroupOptionsCommandError(output, context);
|
|
@@ -5157,6 +5313,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
5157
5313
|
case "DBSnapshotNotFound":
|
|
5158
5314
|
case "com.amazonaws.rds#DBSnapshotNotFoundFault":
|
|
5159
5315
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
5316
|
+
case "IntegrationNotFoundFault":
|
|
5317
|
+
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
5318
|
+
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
5160
5319
|
default:
|
|
5161
5320
|
const parsedBody = parsedOutput.body;
|
|
5162
5321
|
return throwDefaultError({
|
|
@@ -6420,6 +6579,9 @@ const de_RemoveTagsFromResourceCommandError = async (output, context) => {
|
|
|
6420
6579
|
case "DBSnapshotNotFound":
|
|
6421
6580
|
case "com.amazonaws.rds#DBSnapshotNotFoundFault":
|
|
6422
6581
|
throw await de_DBSnapshotNotFoundFaultRes(parsedOutput, context);
|
|
6582
|
+
case "IntegrationNotFoundFault":
|
|
6583
|
+
case "com.amazonaws.rds#IntegrationNotFoundFault":
|
|
6584
|
+
throw await de_IntegrationNotFoundFaultRes(parsedOutput, context);
|
|
6423
6585
|
default:
|
|
6424
6586
|
const parsedBody = parsedOutput.body;
|
|
6425
6587
|
return throwDefaultError({
|
|
@@ -8277,6 +8439,42 @@ const de_InsufficientStorageClusterCapacityFaultRes = async (parsedOutput, conte
|
|
|
8277
8439
|
});
|
|
8278
8440
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8279
8441
|
};
|
|
8442
|
+
const de_IntegrationAlreadyExistsFaultRes = async (parsedOutput, context) => {
|
|
8443
|
+
const body = parsedOutput.body;
|
|
8444
|
+
const deserialized = de_IntegrationAlreadyExistsFault(body.Error, context);
|
|
8445
|
+
const exception = new models_0_1.IntegrationAlreadyExistsFault({
|
|
8446
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8447
|
+
...deserialized,
|
|
8448
|
+
});
|
|
8449
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8450
|
+
};
|
|
8451
|
+
const de_IntegrationConflictOperationFaultRes = async (parsedOutput, context) => {
|
|
8452
|
+
const body = parsedOutput.body;
|
|
8453
|
+
const deserialized = de_IntegrationConflictOperationFault(body.Error, context);
|
|
8454
|
+
const exception = new models_0_1.IntegrationConflictOperationFault({
|
|
8455
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8456
|
+
...deserialized,
|
|
8457
|
+
});
|
|
8458
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8459
|
+
};
|
|
8460
|
+
const de_IntegrationNotFoundFaultRes = async (parsedOutput, context) => {
|
|
8461
|
+
const body = parsedOutput.body;
|
|
8462
|
+
const deserialized = de_IntegrationNotFoundFault(body.Error, context);
|
|
8463
|
+
const exception = new models_0_1.IntegrationNotFoundFault({
|
|
8464
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8465
|
+
...deserialized,
|
|
8466
|
+
});
|
|
8467
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8468
|
+
};
|
|
8469
|
+
const de_IntegrationQuotaExceededFaultRes = async (parsedOutput, context) => {
|
|
8470
|
+
const body = parsedOutput.body;
|
|
8471
|
+
const deserialized = de_IntegrationQuotaExceededFault(body.Error, context);
|
|
8472
|
+
const exception = new models_0_1.IntegrationQuotaExceededFault({
|
|
8473
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8474
|
+
...deserialized,
|
|
8475
|
+
});
|
|
8476
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8477
|
+
};
|
|
8280
8478
|
const de_InvalidBlueGreenDeploymentStateFaultRes = async (parsedOutput, context) => {
|
|
8281
8479
|
const body = parsedOutput.body;
|
|
8282
8480
|
const deserialized = de_InvalidBlueGreenDeploymentStateFault(body.Error, context);
|
|
@@ -8475,6 +8673,15 @@ const de_InvalidGlobalClusterStateFaultRes = async (parsedOutput, context) => {
|
|
|
8475
8673
|
});
|
|
8476
8674
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8477
8675
|
};
|
|
8676
|
+
const de_InvalidIntegrationStateFaultRes = async (parsedOutput, context) => {
|
|
8677
|
+
const body = parsedOutput.body;
|
|
8678
|
+
const deserialized = de_InvalidIntegrationStateFault(body.Error, context);
|
|
8679
|
+
const exception = new models_0_1.InvalidIntegrationStateFault({
|
|
8680
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
8681
|
+
...deserialized,
|
|
8682
|
+
});
|
|
8683
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
8684
|
+
};
|
|
8478
8685
|
const de_InvalidOptionGroupStateFaultRes = async (parsedOutput, context) => {
|
|
8479
8686
|
const body = parsedOutput.body;
|
|
8480
8687
|
const deserialized = de_InvalidOptionGroupStateFault(body.Error, context);
|
|
@@ -10105,6 +10312,39 @@ const se_CreateGlobalClusterMessage = (input, context) => {
|
|
|
10105
10312
|
}
|
|
10106
10313
|
return entries;
|
|
10107
10314
|
};
|
|
10315
|
+
const se_CreateIntegrationMessage = (input, context) => {
|
|
10316
|
+
const entries = {};
|
|
10317
|
+
if (input.SourceArn != null) {
|
|
10318
|
+
entries["SourceArn"] = input.SourceArn;
|
|
10319
|
+
}
|
|
10320
|
+
if (input.TargetArn != null) {
|
|
10321
|
+
entries["TargetArn"] = input.TargetArn;
|
|
10322
|
+
}
|
|
10323
|
+
if (input.IntegrationName != null) {
|
|
10324
|
+
entries["IntegrationName"] = input.IntegrationName;
|
|
10325
|
+
}
|
|
10326
|
+
if (input.KMSKeyId != null) {
|
|
10327
|
+
entries["KMSKeyId"] = input.KMSKeyId;
|
|
10328
|
+
}
|
|
10329
|
+
if (input.AdditionalEncryptionContext != null) {
|
|
10330
|
+
const memberEntries = se_EncryptionContextMap(input.AdditionalEncryptionContext, context);
|
|
10331
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10332
|
+
const loc = `AdditionalEncryptionContext.${key}`;
|
|
10333
|
+
entries[loc] = value;
|
|
10334
|
+
});
|
|
10335
|
+
}
|
|
10336
|
+
if (input.Tags != null) {
|
|
10337
|
+
const memberEntries = se_TagList(input.Tags, context);
|
|
10338
|
+
if (input.Tags?.length === 0) {
|
|
10339
|
+
entries.Tags = [];
|
|
10340
|
+
}
|
|
10341
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
10342
|
+
const loc = `Tags.${key}`;
|
|
10343
|
+
entries[loc] = value;
|
|
10344
|
+
});
|
|
10345
|
+
}
|
|
10346
|
+
return entries;
|
|
10347
|
+
};
|
|
10108
10348
|
const se_CreateOptionGroupMessage = (input, context) => {
|
|
10109
10349
|
const entries = {};
|
|
10110
10350
|
if (input.OptionGroupName != null) {
|
|
@@ -10289,6 +10529,13 @@ const se_DeleteGlobalClusterMessage = (input, context) => {
|
|
|
10289
10529
|
}
|
|
10290
10530
|
return entries;
|
|
10291
10531
|
};
|
|
10532
|
+
const se_DeleteIntegrationMessage = (input, context) => {
|
|
10533
|
+
const entries = {};
|
|
10534
|
+
if (input.IntegrationIdentifier != null) {
|
|
10535
|
+
entries["IntegrationIdentifier"] = input.IntegrationIdentifier;
|
|
10536
|
+
}
|
|
10537
|
+
return entries;
|
|
10538
|
+
};
|
|
10292
10539
|
const se_DeleteOptionGroupMessage = (input, context) => {
|
|
10293
10540
|
const entries = {};
|
|
10294
10541
|
if (input.OptionGroupName != null) {
|
|
@@ -11123,6 +11370,29 @@ const se_DescribeGlobalClustersMessage = (input, context) => {
|
|
|
11123
11370
|
}
|
|
11124
11371
|
return entries;
|
|
11125
11372
|
};
|
|
11373
|
+
const se_DescribeIntegrationsMessage = (input, context) => {
|
|
11374
|
+
const entries = {};
|
|
11375
|
+
if (input.IntegrationIdentifier != null) {
|
|
11376
|
+
entries["IntegrationIdentifier"] = input.IntegrationIdentifier;
|
|
11377
|
+
}
|
|
11378
|
+
if (input.Filters != null) {
|
|
11379
|
+
const memberEntries = se_FilterList(input.Filters, context);
|
|
11380
|
+
if (input.Filters?.length === 0) {
|
|
11381
|
+
entries.Filters = [];
|
|
11382
|
+
}
|
|
11383
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
11384
|
+
const loc = `Filters.${key}`;
|
|
11385
|
+
entries[loc] = value;
|
|
11386
|
+
});
|
|
11387
|
+
}
|
|
11388
|
+
if (input.MaxRecords != null) {
|
|
11389
|
+
entries["MaxRecords"] = input.MaxRecords;
|
|
11390
|
+
}
|
|
11391
|
+
if (input.Marker != null) {
|
|
11392
|
+
entries["Marker"] = input.Marker;
|
|
11393
|
+
}
|
|
11394
|
+
return entries;
|
|
11395
|
+
};
|
|
11126
11396
|
const se_DescribeOptionGroupOptionsMessage = (input, context) => {
|
|
11127
11397
|
const entries = {};
|
|
11128
11398
|
if (input.EngineName != null) {
|
|
@@ -11367,6 +11637,18 @@ const se_DownloadDBLogFilePortionMessage = (input, context) => {
|
|
|
11367
11637
|
}
|
|
11368
11638
|
return entries;
|
|
11369
11639
|
};
|
|
11640
|
+
const se_EncryptionContextMap = (input, context) => {
|
|
11641
|
+
const entries = {};
|
|
11642
|
+
let counter = 1;
|
|
11643
|
+
Object.keys(input)
|
|
11644
|
+
.filter((key) => input[key] != null)
|
|
11645
|
+
.forEach((key) => {
|
|
11646
|
+
entries[`entry.${counter}.key`] = key;
|
|
11647
|
+
entries[`entry.${counter}.value`] = input[key];
|
|
11648
|
+
counter++;
|
|
11649
|
+
});
|
|
11650
|
+
return entries;
|
|
11651
|
+
};
|
|
11370
11652
|
const se_EngineModeList = (input, context) => {
|
|
11371
11653
|
const entries = {};
|
|
11372
11654
|
let counter = 1;
|
|
@@ -15369,6 +15651,9 @@ const de_DBEngineVersion = (output, context) => {
|
|
|
15369
15651
|
if (output["SupportsLocalWriteForwarding"] !== undefined) {
|
|
15370
15652
|
contents.SupportsLocalWriteForwarding = (0, smithy_client_1.parseBoolean)(output["SupportsLocalWriteForwarding"]);
|
|
15371
15653
|
}
|
|
15654
|
+
if (output["SupportsIntegrations"] !== undefined) {
|
|
15655
|
+
contents.SupportsIntegrations = (0, smithy_client_1.parseBoolean)(output["SupportsIntegrations"]);
|
|
15656
|
+
}
|
|
15372
15657
|
return contents;
|
|
15373
15658
|
};
|
|
15374
15659
|
const de_DBEngineVersionList = (output, context) => {
|
|
@@ -16865,6 +17150,19 @@ const de_DescribeEngineDefaultParametersResult = (output, context) => {
|
|
|
16865
17150
|
}
|
|
16866
17151
|
return contents;
|
|
16867
17152
|
};
|
|
17153
|
+
const de_DescribeIntegrationsResponse = (output, context) => {
|
|
17154
|
+
const contents = {};
|
|
17155
|
+
if (output["Marker"] !== undefined) {
|
|
17156
|
+
contents.Marker = (0, smithy_client_1.expectString)(output["Marker"]);
|
|
17157
|
+
}
|
|
17158
|
+
if (output.Integrations === "") {
|
|
17159
|
+
contents.Integrations = [];
|
|
17160
|
+
}
|
|
17161
|
+
else if (output["Integrations"] !== undefined && output["Integrations"]["Integration"] !== undefined) {
|
|
17162
|
+
contents.Integrations = de_IntegrationList((0, smithy_client_1.getArrayIfSingleItem)(output["Integrations"]["Integration"]), context);
|
|
17163
|
+
}
|
|
17164
|
+
return contents;
|
|
17165
|
+
};
|
|
16868
17166
|
const de_DescribeValidDBInstanceModificationsResult = (output, context) => {
|
|
16869
17167
|
const contents = {};
|
|
16870
17168
|
if (output["ValidDBInstanceModificationsMessage"] !== undefined) {
|
|
@@ -16974,6 +17272,15 @@ const de_EC2SecurityGroupList = (output, context) => {
|
|
|
16974
17272
|
return de_EC2SecurityGroup(entry, context);
|
|
16975
17273
|
});
|
|
16976
17274
|
};
|
|
17275
|
+
const de_EncryptionContextMap = (output, context) => {
|
|
17276
|
+
return output.reduce((acc, pair) => {
|
|
17277
|
+
if (pair["value"] === null) {
|
|
17278
|
+
return acc;
|
|
17279
|
+
}
|
|
17280
|
+
acc[pair["key"]] = (0, smithy_client_1.expectString)(pair["value"]);
|
|
17281
|
+
return acc;
|
|
17282
|
+
}, {});
|
|
17283
|
+
};
|
|
16977
17284
|
const de_Endpoint = (output, context) => {
|
|
16978
17285
|
const contents = {};
|
|
16979
17286
|
if (output["Address"] !== undefined) {
|
|
@@ -17448,6 +17755,102 @@ const de_InsufficientStorageClusterCapacityFault = (output, context) => {
|
|
|
17448
17755
|
}
|
|
17449
17756
|
return contents;
|
|
17450
17757
|
};
|
|
17758
|
+
const de_Integration = (output, context) => {
|
|
17759
|
+
const contents = {};
|
|
17760
|
+
if (output["SourceArn"] !== undefined) {
|
|
17761
|
+
contents.SourceArn = (0, smithy_client_1.expectString)(output["SourceArn"]);
|
|
17762
|
+
}
|
|
17763
|
+
if (output["TargetArn"] !== undefined) {
|
|
17764
|
+
contents.TargetArn = (0, smithy_client_1.expectString)(output["TargetArn"]);
|
|
17765
|
+
}
|
|
17766
|
+
if (output["IntegrationName"] !== undefined) {
|
|
17767
|
+
contents.IntegrationName = (0, smithy_client_1.expectString)(output["IntegrationName"]);
|
|
17768
|
+
}
|
|
17769
|
+
if (output["IntegrationArn"] !== undefined) {
|
|
17770
|
+
contents.IntegrationArn = (0, smithy_client_1.expectString)(output["IntegrationArn"]);
|
|
17771
|
+
}
|
|
17772
|
+
if (output["KMSKeyId"] !== undefined) {
|
|
17773
|
+
contents.KMSKeyId = (0, smithy_client_1.expectString)(output["KMSKeyId"]);
|
|
17774
|
+
}
|
|
17775
|
+
if (output.AdditionalEncryptionContext === "") {
|
|
17776
|
+
contents.AdditionalEncryptionContext = {};
|
|
17777
|
+
}
|
|
17778
|
+
else if (output["AdditionalEncryptionContext"] !== undefined &&
|
|
17779
|
+
output["AdditionalEncryptionContext"]["entry"] !== undefined) {
|
|
17780
|
+
contents.AdditionalEncryptionContext = de_EncryptionContextMap((0, smithy_client_1.getArrayIfSingleItem)(output["AdditionalEncryptionContext"]["entry"]), context);
|
|
17781
|
+
}
|
|
17782
|
+
if (output["Status"] !== undefined) {
|
|
17783
|
+
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
17784
|
+
}
|
|
17785
|
+
if (output.Tags === "") {
|
|
17786
|
+
contents.Tags = [];
|
|
17787
|
+
}
|
|
17788
|
+
else if (output["Tags"] !== undefined && output["Tags"]["Tag"] !== undefined) {
|
|
17789
|
+
contents.Tags = de_TagList((0, smithy_client_1.getArrayIfSingleItem)(output["Tags"]["Tag"]), context);
|
|
17790
|
+
}
|
|
17791
|
+
if (output["CreateTime"] !== undefined) {
|
|
17792
|
+
contents.CreateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateTime"]));
|
|
17793
|
+
}
|
|
17794
|
+
if (output.Errors === "") {
|
|
17795
|
+
contents.Errors = [];
|
|
17796
|
+
}
|
|
17797
|
+
else if (output["Errors"] !== undefined && output["Errors"]["IntegrationError"] !== undefined) {
|
|
17798
|
+
contents.Errors = de_IntegrationErrorList((0, smithy_client_1.getArrayIfSingleItem)(output["Errors"]["IntegrationError"]), context);
|
|
17799
|
+
}
|
|
17800
|
+
return contents;
|
|
17801
|
+
};
|
|
17802
|
+
const de_IntegrationAlreadyExistsFault = (output, context) => {
|
|
17803
|
+
const contents = {};
|
|
17804
|
+
if (output["message"] !== undefined) {
|
|
17805
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
17806
|
+
}
|
|
17807
|
+
return contents;
|
|
17808
|
+
};
|
|
17809
|
+
const de_IntegrationConflictOperationFault = (output, context) => {
|
|
17810
|
+
const contents = {};
|
|
17811
|
+
if (output["message"] !== undefined) {
|
|
17812
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
17813
|
+
}
|
|
17814
|
+
return contents;
|
|
17815
|
+
};
|
|
17816
|
+
const de_IntegrationError = (output, context) => {
|
|
17817
|
+
const contents = {};
|
|
17818
|
+
if (output["ErrorCode"] !== undefined) {
|
|
17819
|
+
contents.ErrorCode = (0, smithy_client_1.expectString)(output["ErrorCode"]);
|
|
17820
|
+
}
|
|
17821
|
+
if (output["ErrorMessage"] !== undefined) {
|
|
17822
|
+
contents.ErrorMessage = (0, smithy_client_1.expectString)(output["ErrorMessage"]);
|
|
17823
|
+
}
|
|
17824
|
+
return contents;
|
|
17825
|
+
};
|
|
17826
|
+
const de_IntegrationErrorList = (output, context) => {
|
|
17827
|
+
return (output || [])
|
|
17828
|
+
.filter((e) => e != null)
|
|
17829
|
+
.map((entry) => {
|
|
17830
|
+
return de_IntegrationError(entry, context);
|
|
17831
|
+
});
|
|
17832
|
+
};
|
|
17833
|
+
const de_IntegrationList = (output, context) => {
|
|
17834
|
+
return (output || [])
|
|
17835
|
+
.filter((e) => e != null)
|
|
17836
|
+
.map((entry) => {
|
|
17837
|
+
return de_Integration(entry, context);
|
|
17838
|
+
});
|
|
17839
|
+
};
|
|
17840
|
+
const de_IntegrationNotFoundFault = (output, context) => {
|
|
17841
|
+
const contents = {};
|
|
17842
|
+
if (output["message"] !== undefined) {
|
|
17843
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
17844
|
+
}
|
|
17845
|
+
return contents;
|
|
17846
|
+
};
|
|
17847
|
+
const de_IntegrationQuotaExceededFault = (output, context) => {
|
|
17848
|
+
const contents = {};
|
|
17849
|
+
if (output["message"] !== undefined) {
|
|
17850
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
17851
|
+
}
|
|
17852
|
+
return contents;
|
|
17853
|
+
};
|
|
17451
17854
|
const de_InvalidBlueGreenDeploymentStateFault = (output, context) => {
|
|
17452
17855
|
const contents = {};
|
|
17453
17856
|
if (output["message"] !== undefined) {
|
|
@@ -17602,6 +18005,13 @@ const de_InvalidGlobalClusterStateFault = (output, context) => {
|
|
|
17602
18005
|
}
|
|
17603
18006
|
return contents;
|
|
17604
18007
|
};
|
|
18008
|
+
const de_InvalidIntegrationStateFault = (output, context) => {
|
|
18009
|
+
const contents = {};
|
|
18010
|
+
if (output["message"] !== undefined) {
|
|
18011
|
+
contents.message = (0, smithy_client_1.expectString)(output["message"]);
|
|
18012
|
+
}
|
|
18013
|
+
return contents;
|
|
18014
|
+
};
|
|
17605
18015
|
const de_InvalidOptionGroupStateFault = (output, context) => {
|
|
17606
18016
|
const contents = {};
|
|
17607
18017
|
if (output["message"] !== undefined) {
|
|
@@ -19341,6 +19751,9 @@ const de_UpgradeTarget = (output, context) => {
|
|
|
19341
19751
|
if (output["SupportsLocalWriteForwarding"] !== undefined) {
|
|
19342
19752
|
contents.SupportsLocalWriteForwarding = (0, smithy_client_1.parseBoolean)(output["SupportsLocalWriteForwarding"]);
|
|
19343
19753
|
}
|
|
19754
|
+
if (output["SupportsIntegrations"] !== undefined) {
|
|
19755
|
+
contents.SupportsIntegrations = (0, smithy_client_1.parseBoolean)(output["SupportsIntegrations"]);
|
|
19756
|
+
}
|
|
19344
19757
|
return contents;
|
|
19345
19758
|
};
|
|
19346
19759
|
const de_UserAuthConfigInfo = (output, context) => {
|
package/dist-es/RDS.js
CHANGED
|
@@ -28,6 +28,7 @@ import { CreateDBSnapshotCommand, } from "./commands/CreateDBSnapshotCommand";
|
|
|
28
28
|
import { CreateDBSubnetGroupCommand, } from "./commands/CreateDBSubnetGroupCommand";
|
|
29
29
|
import { CreateEventSubscriptionCommand, } from "./commands/CreateEventSubscriptionCommand";
|
|
30
30
|
import { CreateGlobalClusterCommand, } from "./commands/CreateGlobalClusterCommand";
|
|
31
|
+
import { CreateIntegrationCommand, } from "./commands/CreateIntegrationCommand";
|
|
31
32
|
import { CreateOptionGroupCommand, } from "./commands/CreateOptionGroupCommand";
|
|
32
33
|
import { DeleteBlueGreenDeploymentCommand, } from "./commands/DeleteBlueGreenDeploymentCommand";
|
|
33
34
|
import { DeleteCustomDBEngineVersionCommand, } from "./commands/DeleteCustomDBEngineVersionCommand";
|
|
@@ -46,6 +47,7 @@ import { DeleteDBSnapshotCommand, } from "./commands/DeleteDBSnapshotCommand";
|
|
|
46
47
|
import { DeleteDBSubnetGroupCommand, } from "./commands/DeleteDBSubnetGroupCommand";
|
|
47
48
|
import { DeleteEventSubscriptionCommand, } from "./commands/DeleteEventSubscriptionCommand";
|
|
48
49
|
import { DeleteGlobalClusterCommand, } from "./commands/DeleteGlobalClusterCommand";
|
|
50
|
+
import { DeleteIntegrationCommand, } from "./commands/DeleteIntegrationCommand";
|
|
49
51
|
import { DeleteOptionGroupCommand, } from "./commands/DeleteOptionGroupCommand";
|
|
50
52
|
import { DeregisterDBProxyTargetsCommand, } from "./commands/DeregisterDBProxyTargetsCommand";
|
|
51
53
|
import { DescribeAccountAttributesCommand, } from "./commands/DescribeAccountAttributesCommand";
|
|
@@ -80,6 +82,7 @@ import { DescribeEventsCommand, } from "./commands/DescribeEventsCommand";
|
|
|
80
82
|
import { DescribeEventSubscriptionsCommand, } from "./commands/DescribeEventSubscriptionsCommand";
|
|
81
83
|
import { DescribeExportTasksCommand, } from "./commands/DescribeExportTasksCommand";
|
|
82
84
|
import { DescribeGlobalClustersCommand, } from "./commands/DescribeGlobalClustersCommand";
|
|
85
|
+
import { DescribeIntegrationsCommand, } from "./commands/DescribeIntegrationsCommand";
|
|
83
86
|
import { DescribeOptionGroupOptionsCommand, } from "./commands/DescribeOptionGroupOptionsCommand";
|
|
84
87
|
import { DescribeOptionGroupsCommand, } from "./commands/DescribeOptionGroupsCommand";
|
|
85
88
|
import { DescribeOrderableDBInstanceOptionsCommand, } from "./commands/DescribeOrderableDBInstanceOptionsCommand";
|
|
@@ -174,6 +177,7 @@ const commands = {
|
|
|
174
177
|
CreateDBSubnetGroupCommand,
|
|
175
178
|
CreateEventSubscriptionCommand,
|
|
176
179
|
CreateGlobalClusterCommand,
|
|
180
|
+
CreateIntegrationCommand,
|
|
177
181
|
CreateOptionGroupCommand,
|
|
178
182
|
DeleteBlueGreenDeploymentCommand,
|
|
179
183
|
DeleteCustomDBEngineVersionCommand,
|
|
@@ -192,6 +196,7 @@ const commands = {
|
|
|
192
196
|
DeleteDBSubnetGroupCommand,
|
|
193
197
|
DeleteEventSubscriptionCommand,
|
|
194
198
|
DeleteGlobalClusterCommand,
|
|
199
|
+
DeleteIntegrationCommand,
|
|
195
200
|
DeleteOptionGroupCommand,
|
|
196
201
|
DeregisterDBProxyTargetsCommand,
|
|
197
202
|
DescribeAccountAttributesCommand,
|
|
@@ -226,6 +231,7 @@ const commands = {
|
|
|
226
231
|
DescribeEventSubscriptionsCommand,
|
|
227
232
|
DescribeExportTasksCommand,
|
|
228
233
|
DescribeGlobalClustersCommand,
|
|
234
|
+
DescribeIntegrationsCommand,
|
|
229
235
|
DescribeOptionGroupOptionsCommand,
|
|
230
236
|
DescribeOptionGroupsCommand,
|
|
231
237
|
DescribeOrderableDBInstanceOptionsCommand,
|