@aws-sdk/client-rds 3.478.0 → 3.479.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 +16 -0
- package/dist-cjs/RDS.js +4 -0
- package/dist-cjs/commands/DisableHttpEndpointCommand.js +51 -0
- package/dist-cjs/commands/EnableHttpEndpointCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_1.js +14 -1
- package/dist-cjs/protocols/Aws_query.js +151 -6
- package/dist-es/RDS.js +4 -0
- package/dist-es/commands/DisableHttpEndpointCommand.js +47 -0
- package/dist-es/commands/EnableHttpEndpointCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_1.js +12 -0
- package/dist-es/protocols/Aws_query.js +142 -1
- package/dist-types/RDS.d.ts +14 -0
- package/dist-types/RDSClient.d.ts +4 -2
- package/dist-types/commands/DisableHttpEndpointCommand.d.ts +86 -0
- package/dist-types/commands/EnableHttpEndpointCommand.d.ts +90 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +20 -11
- package/dist-types/models/models_1.d.ts +70 -4
- package/dist-types/protocols/Aws_query.d.ts +18 -0
- package/dist-types/ts3.4/RDS.d.ts +34 -0
- package/dist-types/ts3.4/RDSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DisableHttpEndpointCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/EnableHttpEndpointCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +21 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1031,6 +1031,14 @@ DescribeValidDBInstanceModifications
|
|
|
1031
1031
|
|
|
1032
1032
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DescribeValidDBInstanceModificationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeValidDBInstanceModificationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DescribeValidDBInstanceModificationsCommandOutput/)
|
|
1033
1033
|
|
|
1034
|
+
</details>
|
|
1035
|
+
<details>
|
|
1036
|
+
<summary>
|
|
1037
|
+
DisableHttpEndpoint
|
|
1038
|
+
</summary>
|
|
1039
|
+
|
|
1040
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DisableHttpEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DisableHttpEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DisableHttpEndpointCommandOutput/)
|
|
1041
|
+
|
|
1034
1042
|
</details>
|
|
1035
1043
|
<details>
|
|
1036
1044
|
<summary>
|
|
@@ -1039,6 +1047,14 @@ DownloadDBLogFilePortion
|
|
|
1039
1047
|
|
|
1040
1048
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/DownloadDBLogFilePortionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DownloadDBLogFilePortionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/DownloadDBLogFilePortionCommandOutput/)
|
|
1041
1049
|
|
|
1050
|
+
</details>
|
|
1051
|
+
<details>
|
|
1052
|
+
<summary>
|
|
1053
|
+
EnableHttpEndpoint
|
|
1054
|
+
</summary>
|
|
1055
|
+
|
|
1056
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/rds/command/EnableHttpEndpointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/EnableHttpEndpointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-rds/Interface/EnableHttpEndpointCommandOutput/)
|
|
1057
|
+
|
|
1042
1058
|
</details>
|
|
1043
1059
|
<details>
|
|
1044
1060
|
<summary>
|
package/dist-cjs/RDS.js
CHANGED
|
@@ -99,7 +99,9 @@ const DescribeReservedDBInstancesOfferingsCommand_1 = require("./commands/Descri
|
|
|
99
99
|
const DescribeSourceRegionsCommand_1 = require("./commands/DescribeSourceRegionsCommand");
|
|
100
100
|
const DescribeTenantDatabasesCommand_1 = require("./commands/DescribeTenantDatabasesCommand");
|
|
101
101
|
const DescribeValidDBInstanceModificationsCommand_1 = require("./commands/DescribeValidDBInstanceModificationsCommand");
|
|
102
|
+
const DisableHttpEndpointCommand_1 = require("./commands/DisableHttpEndpointCommand");
|
|
102
103
|
const DownloadDBLogFilePortionCommand_1 = require("./commands/DownloadDBLogFilePortionCommand");
|
|
104
|
+
const EnableHttpEndpointCommand_1 = require("./commands/EnableHttpEndpointCommand");
|
|
103
105
|
const FailoverDBClusterCommand_1 = require("./commands/FailoverDBClusterCommand");
|
|
104
106
|
const FailoverGlobalClusterCommand_1 = require("./commands/FailoverGlobalClusterCommand");
|
|
105
107
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
@@ -255,7 +257,9 @@ const commands = {
|
|
|
255
257
|
DescribeSourceRegionsCommand: DescribeSourceRegionsCommand_1.DescribeSourceRegionsCommand,
|
|
256
258
|
DescribeTenantDatabasesCommand: DescribeTenantDatabasesCommand_1.DescribeTenantDatabasesCommand,
|
|
257
259
|
DescribeValidDBInstanceModificationsCommand: DescribeValidDBInstanceModificationsCommand_1.DescribeValidDBInstanceModificationsCommand,
|
|
260
|
+
DisableHttpEndpointCommand: DisableHttpEndpointCommand_1.DisableHttpEndpointCommand,
|
|
258
261
|
DownloadDBLogFilePortionCommand: DownloadDBLogFilePortionCommand_1.DownloadDBLogFilePortionCommand,
|
|
262
|
+
EnableHttpEndpointCommand: EnableHttpEndpointCommand_1.EnableHttpEndpointCommand,
|
|
259
263
|
FailoverDBClusterCommand: FailoverDBClusterCommand_1.FailoverDBClusterCommand,
|
|
260
264
|
FailoverGlobalClusterCommand: FailoverGlobalClusterCommand_1.FailoverGlobalClusterCommand,
|
|
261
265
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisableHttpEndpointCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
+
class DisableHttpEndpointCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisableHttpEndpointCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RDSClient";
|
|
29
|
+
const commandName = "DisableHttpEndpointCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonRDSv19",
|
|
38
|
+
operation: "DisableHttpEndpoint",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_query_1.se_DisableHttpEndpointCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_query_1.de_DisableHttpEndpointCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DisableHttpEndpointCommand = DisableHttpEndpointCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EnableHttpEndpointCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
+
class EnableHttpEndpointCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, EnableHttpEndpointCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RDSClient";
|
|
29
|
+
const commandName = "EnableHttpEndpointCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AmazonRDSv19",
|
|
38
|
+
operation: "EnableHttpEndpoint",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_query_1.se_EnableHttpEndpointCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_query_1.de_EnableHttpEndpointCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.EnableHttpEndpointCommand = EnableHttpEndpointCommand;
|
|
@@ -98,7 +98,9 @@ tslib_1.__exportStar(require("./DescribeReservedDBInstancesOfferingsCommand"), e
|
|
|
98
98
|
tslib_1.__exportStar(require("./DescribeSourceRegionsCommand"), exports);
|
|
99
99
|
tslib_1.__exportStar(require("./DescribeTenantDatabasesCommand"), exports);
|
|
100
100
|
tslib_1.__exportStar(require("./DescribeValidDBInstanceModificationsCommand"), exports);
|
|
101
|
+
tslib_1.__exportStar(require("./DisableHttpEndpointCommand"), exports);
|
|
101
102
|
tslib_1.__exportStar(require("./DownloadDBLogFilePortionCommand"), exports);
|
|
103
|
+
tslib_1.__exportStar(require("./EnableHttpEndpointCommand"), exports);
|
|
102
104
|
tslib_1.__exportStar(require("./FailoverDBClusterCommand"), exports);
|
|
103
105
|
tslib_1.__exportStar(require("./FailoverGlobalClusterCommand"), exports);
|
|
104
106
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ModifyTenantDatabaseResultFilterSensitiveLog = exports.ModifyTenantDatabaseMessageFilterSensitiveLog = exports.TenantDatabasesMessageFilterSensitiveLog = exports.InvalidExportSourceStateFault = exports.InvalidExportOnlyFault = exports.IamRoleNotFoundFault = exports.IamRoleMissingPermissionsFault = exports.ExportTaskAlreadyExistsFault = exports.PointInTimeRestoreNotEnabledFault = exports.InvalidRestoreFault = exports.InsufficientDBClusterCapacityFault = exports.InvalidS3BucketFault = exports.DBInstanceRoleNotFoundFault = exports.DBClusterRoleNotFoundFault = exports.InsufficientAvailableIPsInSubnetFault = exports.DBProxyTargetAlreadyRegisteredFault = exports.ReservedDBInstanceQuotaExceededFault = exports.ReservedDBInstanceAlreadyExistsFault = exports.SubnetAlreadyInUse = exports.DBUpgradeDependencyFailureFault = exports.SharedSnapshotQuotaExceededFault = exports.StorageTypeNotAvailableFault = exports.CustomEngineVersionStatus = exports.InvalidDBClusterCapacityFault = exports.AuditPolicyState = exports.DBLogFileNotFoundFault = exports.ReservedDBInstancesOfferingNotFoundFault = exports.ReservedDBInstanceNotFoundFault = exports.SourceType = exports.TargetType = exports.TargetState = exports.TargetHealthReason = exports.TargetRole = exports.ApplyMethod = exports.DBClusterBacktrackNotFoundFault = void 0;
|
|
3
|
+
exports.ModifyTenantDatabaseResultFilterSensitiveLog = exports.ModifyTenantDatabaseMessageFilterSensitiveLog = exports.TenantDatabasesMessageFilterSensitiveLog = exports.InvalidExportSourceStateFault = exports.InvalidExportOnlyFault = exports.IamRoleNotFoundFault = exports.IamRoleMissingPermissionsFault = exports.ExportTaskAlreadyExistsFault = exports.PointInTimeRestoreNotEnabledFault = exports.InvalidRestoreFault = exports.InsufficientDBClusterCapacityFault = exports.InvalidS3BucketFault = exports.DBInstanceRoleNotFoundFault = exports.DBClusterRoleNotFoundFault = exports.InsufficientAvailableIPsInSubnetFault = exports.DBProxyTargetAlreadyRegisteredFault = exports.ReservedDBInstanceQuotaExceededFault = exports.ReservedDBInstanceAlreadyExistsFault = exports.SubnetAlreadyInUse = exports.DBUpgradeDependencyFailureFault = exports.SharedSnapshotQuotaExceededFault = exports.StorageTypeNotAvailableFault = exports.CustomEngineVersionStatus = exports.InvalidDBClusterCapacityFault = exports.AuditPolicyState = exports.DBLogFileNotFoundFault = exports.InvalidResourceStateFault = exports.ReservedDBInstancesOfferingNotFoundFault = exports.ReservedDBInstanceNotFoundFault = exports.SourceType = exports.TargetType = exports.TargetState = exports.TargetHealthReason = exports.TargetRole = exports.ApplyMethod = exports.DBClusterBacktrackNotFoundFault = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const RDSServiceException_1 = require("./RDSServiceException");
|
|
@@ -80,6 +80,19 @@ class ReservedDBInstancesOfferingNotFoundFault extends RDSServiceException_1.RDS
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
exports.ReservedDBInstancesOfferingNotFoundFault = ReservedDBInstancesOfferingNotFoundFault;
|
|
83
|
+
class InvalidResourceStateFault extends RDSServiceException_1.RDSServiceException {
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "InvalidResourceStateFault",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
this.name = "InvalidResourceStateFault";
|
|
91
|
+
this.$fault = "client";
|
|
92
|
+
Object.setPrototypeOf(this, InvalidResourceStateFault.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.InvalidResourceStateFault = InvalidResourceStateFault;
|
|
83
96
|
class DBLogFileNotFoundFault extends RDSServiceException_1.RDSServiceException {
|
|
84
97
|
constructor(opts) {
|
|
85
98
|
super({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.de_SwitchoverReadReplicaCommand = exports.de_SwitchoverGlobalClusterCommand = exports.de_SwitchoverBlueGreenDeploymentCommand = exports.de_StopDBInstanceAutomatedBackupsReplicationCommand = exports.de_StopDBInstanceCommand = exports.de_StopDBClusterCommand = exports.de_StopActivityStreamCommand = exports.de_StartExportTaskCommand = void 0;
|
|
4
|
+
exports.se_EnableHttpEndpointCommand = exports.se_DownloadDBLogFilePortionCommand = exports.se_DisableHttpEndpointCommand = 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_DescribeDBRecommendationsCommand = 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_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_ModifyDBRecommendationCommand = 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 = exports.se_ListTagsForResourceCommand = exports.se_FailoverGlobalClusterCommand = exports.se_FailoverDBClusterCommand = void 0;
|
|
6
|
+
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 = exports.se_SwitchoverBlueGreenDeploymentCommand = exports.se_StopDBInstanceAutomatedBackupsReplicationCommand = exports.se_StopDBInstanceCommand = exports.se_StopDBClusterCommand = void 0;
|
|
7
|
+
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_DescribeDBRecommendationsCommand = 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 = exports.de_DeleteEventSubscriptionCommand = exports.de_DeleteDBSubnetGroupCommand = exports.de_DeleteDBSnapshotCommand = exports.de_DeleteDBSecurityGroupCommand = void 0;
|
|
8
|
+
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_ModifyDBRecommendationCommand = 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 = exports.de_FailoverDBClusterCommand = exports.de_EnableHttpEndpointCommand = exports.de_DownloadDBLogFilePortionCommand = exports.de_DisableHttpEndpointCommand = exports.de_DescribeValidDBInstanceModificationsCommand = exports.de_DescribeTenantDatabasesCommand = exports.de_DescribeSourceRegionsCommand = void 0;
|
|
9
|
+
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 = void 0;
|
|
10
10
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
11
11
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
12
12
|
const fast_xml_parser_1 = require("fast-xml-parser");
|
|
@@ -1080,6 +1080,17 @@ const se_DescribeValidDBInstanceModificationsCommand = async (input, context) =>
|
|
|
1080
1080
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1081
1081
|
};
|
|
1082
1082
|
exports.se_DescribeValidDBInstanceModificationsCommand = se_DescribeValidDBInstanceModificationsCommand;
|
|
1083
|
+
const se_DisableHttpEndpointCommand = async (input, context) => {
|
|
1084
|
+
const headers = SHARED_HEADERS;
|
|
1085
|
+
let body;
|
|
1086
|
+
body = buildFormUrlencodedString({
|
|
1087
|
+
...se_DisableHttpEndpointRequest(input, context),
|
|
1088
|
+
[_A]: _DHE,
|
|
1089
|
+
[_V]: _,
|
|
1090
|
+
});
|
|
1091
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1092
|
+
};
|
|
1093
|
+
exports.se_DisableHttpEndpointCommand = se_DisableHttpEndpointCommand;
|
|
1083
1094
|
const se_DownloadDBLogFilePortionCommand = async (input, context) => {
|
|
1084
1095
|
const headers = SHARED_HEADERS;
|
|
1085
1096
|
let body;
|
|
@@ -1091,6 +1102,17 @@ const se_DownloadDBLogFilePortionCommand = async (input, context) => {
|
|
|
1091
1102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1092
1103
|
};
|
|
1093
1104
|
exports.se_DownloadDBLogFilePortionCommand = se_DownloadDBLogFilePortionCommand;
|
|
1105
|
+
const se_EnableHttpEndpointCommand = async (input, context) => {
|
|
1106
|
+
const headers = SHARED_HEADERS;
|
|
1107
|
+
let body;
|
|
1108
|
+
body = buildFormUrlencodedString({
|
|
1109
|
+
...se_EnableHttpEndpointRequest(input, context),
|
|
1110
|
+
[_A]: _EHE,
|
|
1111
|
+
[_V]: _,
|
|
1112
|
+
});
|
|
1113
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1114
|
+
};
|
|
1115
|
+
exports.se_EnableHttpEndpointCommand = se_EnableHttpEndpointCommand;
|
|
1094
1116
|
const se_FailoverDBClusterCommand = async (input, context) => {
|
|
1095
1117
|
const headers = SHARED_HEADERS;
|
|
1096
1118
|
let body;
|
|
@@ -5427,6 +5449,42 @@ const de_DescribeValidDBInstanceModificationsCommandError = async (output, conte
|
|
|
5427
5449
|
});
|
|
5428
5450
|
}
|
|
5429
5451
|
};
|
|
5452
|
+
const de_DisableHttpEndpointCommand = async (output, context) => {
|
|
5453
|
+
if (output.statusCode >= 300) {
|
|
5454
|
+
return de_DisableHttpEndpointCommandError(output, context);
|
|
5455
|
+
}
|
|
5456
|
+
const data = await parseBody(output.body, context);
|
|
5457
|
+
let contents = {};
|
|
5458
|
+
contents = de_DisableHttpEndpointResponse(data.DisableHttpEndpointResult, context);
|
|
5459
|
+
const response = {
|
|
5460
|
+
$metadata: deserializeMetadata(output),
|
|
5461
|
+
...contents,
|
|
5462
|
+
};
|
|
5463
|
+
return response;
|
|
5464
|
+
};
|
|
5465
|
+
exports.de_DisableHttpEndpointCommand = de_DisableHttpEndpointCommand;
|
|
5466
|
+
const de_DisableHttpEndpointCommandError = async (output, context) => {
|
|
5467
|
+
const parsedOutput = {
|
|
5468
|
+
...output,
|
|
5469
|
+
body: await parseErrorBody(output.body, context),
|
|
5470
|
+
};
|
|
5471
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5472
|
+
switch (errorCode) {
|
|
5473
|
+
case "InvalidResourceStateFault":
|
|
5474
|
+
case "com.amazonaws.rds#InvalidResourceStateFault":
|
|
5475
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
5476
|
+
case "ResourceNotFoundFault":
|
|
5477
|
+
case "com.amazonaws.rds#ResourceNotFoundFault":
|
|
5478
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
5479
|
+
default:
|
|
5480
|
+
const parsedBody = parsedOutput.body;
|
|
5481
|
+
return throwDefaultError({
|
|
5482
|
+
output,
|
|
5483
|
+
parsedBody: parsedBody.Error,
|
|
5484
|
+
errorCode,
|
|
5485
|
+
});
|
|
5486
|
+
}
|
|
5487
|
+
};
|
|
5430
5488
|
const de_DownloadDBLogFilePortionCommand = async (output, context) => {
|
|
5431
5489
|
if (output.statusCode >= 300) {
|
|
5432
5490
|
return de_DownloadDBLogFilePortionCommandError(output, context);
|
|
@@ -5463,6 +5521,42 @@ const de_DownloadDBLogFilePortionCommandError = async (output, context) => {
|
|
|
5463
5521
|
});
|
|
5464
5522
|
}
|
|
5465
5523
|
};
|
|
5524
|
+
const de_EnableHttpEndpointCommand = async (output, context) => {
|
|
5525
|
+
if (output.statusCode >= 300) {
|
|
5526
|
+
return de_EnableHttpEndpointCommandError(output, context);
|
|
5527
|
+
}
|
|
5528
|
+
const data = await parseBody(output.body, context);
|
|
5529
|
+
let contents = {};
|
|
5530
|
+
contents = de_EnableHttpEndpointResponse(data.EnableHttpEndpointResult, context);
|
|
5531
|
+
const response = {
|
|
5532
|
+
$metadata: deserializeMetadata(output),
|
|
5533
|
+
...contents,
|
|
5534
|
+
};
|
|
5535
|
+
return response;
|
|
5536
|
+
};
|
|
5537
|
+
exports.de_EnableHttpEndpointCommand = de_EnableHttpEndpointCommand;
|
|
5538
|
+
const de_EnableHttpEndpointCommandError = async (output, context) => {
|
|
5539
|
+
const parsedOutput = {
|
|
5540
|
+
...output,
|
|
5541
|
+
body: await parseErrorBody(output.body, context),
|
|
5542
|
+
};
|
|
5543
|
+
const errorCode = loadQueryErrorCode(output, parsedOutput.body);
|
|
5544
|
+
switch (errorCode) {
|
|
5545
|
+
case "InvalidResourceStateFault":
|
|
5546
|
+
case "com.amazonaws.rds#InvalidResourceStateFault":
|
|
5547
|
+
throw await de_InvalidResourceStateFaultRes(parsedOutput, context);
|
|
5548
|
+
case "ResourceNotFoundFault":
|
|
5549
|
+
case "com.amazonaws.rds#ResourceNotFoundFault":
|
|
5550
|
+
throw await de_ResourceNotFoundFaultRes(parsedOutput, context);
|
|
5551
|
+
default:
|
|
5552
|
+
const parsedBody = parsedOutput.body;
|
|
5553
|
+
return throwDefaultError({
|
|
5554
|
+
output,
|
|
5555
|
+
parsedBody: parsedBody.Error,
|
|
5556
|
+
errorCode,
|
|
5557
|
+
});
|
|
5558
|
+
}
|
|
5559
|
+
};
|
|
5466
5560
|
const de_FailoverDBClusterCommand = async (output, context) => {
|
|
5467
5561
|
if (output.statusCode >= 300) {
|
|
5468
5562
|
return de_FailoverDBClusterCommandError(output, context);
|
|
@@ -9063,6 +9157,15 @@ const de_InvalidOptionGroupStateFaultRes = async (parsedOutput, context) => {
|
|
|
9063
9157
|
});
|
|
9064
9158
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
9065
9159
|
};
|
|
9160
|
+
const de_InvalidResourceStateFaultRes = async (parsedOutput, context) => {
|
|
9161
|
+
const body = parsedOutput.body;
|
|
9162
|
+
const deserialized = de_InvalidResourceStateFault(body.Error, context);
|
|
9163
|
+
const exception = new models_1_1.InvalidResourceStateFault({
|
|
9164
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
9165
|
+
...deserialized,
|
|
9166
|
+
});
|
|
9167
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
9168
|
+
};
|
|
9066
9169
|
const de_InvalidRestoreFaultRes = async (parsedOutput, context) => {
|
|
9067
9170
|
const body = parsedOutput.body;
|
|
9068
9171
|
const deserialized = de_InvalidRestoreFault(body.Error, context);
|
|
@@ -12165,6 +12268,13 @@ const se_DescribeValidDBInstanceModificationsMessage = (input, context) => {
|
|
|
12165
12268
|
}
|
|
12166
12269
|
return entries;
|
|
12167
12270
|
};
|
|
12271
|
+
const se_DisableHttpEndpointRequest = (input, context) => {
|
|
12272
|
+
const entries = {};
|
|
12273
|
+
if (input[_RAe] != null) {
|
|
12274
|
+
entries[_RAe] = input[_RAe];
|
|
12275
|
+
}
|
|
12276
|
+
return entries;
|
|
12277
|
+
};
|
|
12168
12278
|
const se_DownloadDBLogFilePortionMessage = (input, context) => {
|
|
12169
12279
|
const entries = {};
|
|
12170
12280
|
if (input[_DBII] != null) {
|
|
@@ -12181,6 +12291,13 @@ const se_DownloadDBLogFilePortionMessage = (input, context) => {
|
|
|
12181
12291
|
}
|
|
12182
12292
|
return entries;
|
|
12183
12293
|
};
|
|
12294
|
+
const se_EnableHttpEndpointRequest = (input, context) => {
|
|
12295
|
+
const entries = {};
|
|
12296
|
+
if (input[_RAe] != null) {
|
|
12297
|
+
entries[_RAe] = input[_RAe];
|
|
12298
|
+
}
|
|
12299
|
+
return entries;
|
|
12300
|
+
};
|
|
12184
12301
|
const se_EncryptionContextMap = (input, context) => {
|
|
12185
12302
|
const entries = {};
|
|
12186
12303
|
let counter = 1;
|
|
@@ -18019,6 +18136,16 @@ const de_DescribeValidDBInstanceModificationsResult = (output, context) => {
|
|
|
18019
18136
|
}
|
|
18020
18137
|
return contents;
|
|
18021
18138
|
};
|
|
18139
|
+
const de_DisableHttpEndpointResponse = (output, context) => {
|
|
18140
|
+
const contents = {};
|
|
18141
|
+
if (output[_RAe] != null) {
|
|
18142
|
+
contents[_RAe] = (0, smithy_client_1.expectString)(output[_RAe]);
|
|
18143
|
+
}
|
|
18144
|
+
if (output[_HEE] != null) {
|
|
18145
|
+
contents[_HEE] = (0, smithy_client_1.parseBoolean)(output[_HEE]);
|
|
18146
|
+
}
|
|
18147
|
+
return contents;
|
|
18148
|
+
};
|
|
18022
18149
|
const de_DocLink = (output, context) => {
|
|
18023
18150
|
const contents = {};
|
|
18024
18151
|
if (output[_Te] != null) {
|
|
@@ -18138,6 +18265,16 @@ const de_EC2SecurityGroupList = (output, context) => {
|
|
|
18138
18265
|
return de_EC2SecurityGroup(entry, context);
|
|
18139
18266
|
});
|
|
18140
18267
|
};
|
|
18268
|
+
const de_EnableHttpEndpointResponse = (output, context) => {
|
|
18269
|
+
const contents = {};
|
|
18270
|
+
if (output[_RAe] != null) {
|
|
18271
|
+
contents[_RAe] = (0, smithy_client_1.expectString)(output[_RAe]);
|
|
18272
|
+
}
|
|
18273
|
+
if (output[_HEE] != null) {
|
|
18274
|
+
contents[_HEE] = (0, smithy_client_1.parseBoolean)(output[_HEE]);
|
|
18275
|
+
}
|
|
18276
|
+
return contents;
|
|
18277
|
+
};
|
|
18141
18278
|
const de_EncryptionContextMap = (output, context) => {
|
|
18142
18279
|
return output.reduce((acc, pair) => {
|
|
18143
18280
|
if (pair["value"] === null) {
|
|
@@ -18880,6 +19017,13 @@ const de_InvalidOptionGroupStateFault = (output, context) => {
|
|
|
18880
19017
|
}
|
|
18881
19018
|
return contents;
|
|
18882
19019
|
};
|
|
19020
|
+
const de_InvalidResourceStateFault = (output, context) => {
|
|
19021
|
+
const contents = {};
|
|
19022
|
+
if (output[_m] != null) {
|
|
19023
|
+
contents[_m] = (0, smithy_client_1.expectString)(output[_m]);
|
|
19024
|
+
}
|
|
19025
|
+
return contents;
|
|
19026
|
+
};
|
|
18883
19027
|
const de_InvalidRestoreFault = (output, context) => {
|
|
18884
19028
|
const contents = {};
|
|
18885
19029
|
if (output[_m] != null) {
|
|
@@ -21347,6 +21491,7 @@ const _DET = "DescribeExportTasks";
|
|
|
21347
21491
|
const _DF = "DomainFqdn";
|
|
21348
21492
|
const _DGC = "DeleteGlobalCluster";
|
|
21349
21493
|
const _DGCe = "DescribeGlobalClusters";
|
|
21494
|
+
const _DHE = "DisableHttpEndpoint";
|
|
21350
21495
|
const _DI = "DeleteIntegration";
|
|
21351
21496
|
const _DIAMRN = "DomainIAMRoleName";
|
|
21352
21497
|
const _DIFSBN = "DatabaseInstallationFilesS3BucketName";
|
package/dist-es/RDS.js
CHANGED
|
@@ -96,7 +96,9 @@ import { DescribeReservedDBInstancesOfferingsCommand, } from "./commands/Describ
|
|
|
96
96
|
import { DescribeSourceRegionsCommand, } from "./commands/DescribeSourceRegionsCommand";
|
|
97
97
|
import { DescribeTenantDatabasesCommand, } from "./commands/DescribeTenantDatabasesCommand";
|
|
98
98
|
import { DescribeValidDBInstanceModificationsCommand, } from "./commands/DescribeValidDBInstanceModificationsCommand";
|
|
99
|
+
import { DisableHttpEndpointCommand, } from "./commands/DisableHttpEndpointCommand";
|
|
99
100
|
import { DownloadDBLogFilePortionCommand, } from "./commands/DownloadDBLogFilePortionCommand";
|
|
101
|
+
import { EnableHttpEndpointCommand, } from "./commands/EnableHttpEndpointCommand";
|
|
100
102
|
import { FailoverDBClusterCommand, } from "./commands/FailoverDBClusterCommand";
|
|
101
103
|
import { FailoverGlobalClusterCommand, } from "./commands/FailoverGlobalClusterCommand";
|
|
102
104
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
@@ -252,7 +254,9 @@ const commands = {
|
|
|
252
254
|
DescribeSourceRegionsCommand,
|
|
253
255
|
DescribeTenantDatabasesCommand,
|
|
254
256
|
DescribeValidDBInstanceModificationsCommand,
|
|
257
|
+
DisableHttpEndpointCommand,
|
|
255
258
|
DownloadDBLogFilePortionCommand,
|
|
259
|
+
EnableHttpEndpointCommand,
|
|
256
260
|
FailoverDBClusterCommand,
|
|
257
261
|
FailoverGlobalClusterCommand,
|
|
258
262
|
ListTagsForResourceCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DisableHttpEndpointCommand, se_DisableHttpEndpointCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisableHttpEndpointCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisableHttpEndpointCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "RDSClient";
|
|
26
|
+
const commandName = "DisableHttpEndpointCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonRDSv19",
|
|
35
|
+
operation: "DisableHttpEndpoint",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DisableHttpEndpointCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DisableHttpEndpointCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_EnableHttpEndpointCommand, se_EnableHttpEndpointCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class EnableHttpEndpointCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, EnableHttpEndpointCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "RDSClient";
|
|
26
|
+
const commandName = "EnableHttpEndpointCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "AmazonRDSv19",
|
|
35
|
+
operation: "EnableHttpEndpoint",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_EnableHttpEndpointCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_EnableHttpEndpointCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -95,7 +95,9 @@ export * from "./DescribeReservedDBInstancesOfferingsCommand";
|
|
|
95
95
|
export * from "./DescribeSourceRegionsCommand";
|
|
96
96
|
export * from "./DescribeTenantDatabasesCommand";
|
|
97
97
|
export * from "./DescribeValidDBInstanceModificationsCommand";
|
|
98
|
+
export * from "./DisableHttpEndpointCommand";
|
|
98
99
|
export * from "./DownloadDBLogFilePortionCommand";
|
|
100
|
+
export * from "./EnableHttpEndpointCommand";
|
|
99
101
|
export * from "./FailoverDBClusterCommand";
|
|
100
102
|
export * from "./FailoverGlobalClusterCommand";
|
|
101
103
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -74,6 +74,18 @@ export class ReservedDBInstancesOfferingNotFoundFault extends __BaseException {
|
|
|
74
74
|
Object.setPrototypeOf(this, ReservedDBInstancesOfferingNotFoundFault.prototype);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
+
export class InvalidResourceStateFault extends __BaseException {
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "InvalidResourceStateFault",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
this.name = "InvalidResourceStateFault";
|
|
85
|
+
this.$fault = "client";
|
|
86
|
+
Object.setPrototypeOf(this, InvalidResourceStateFault.prototype);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
77
89
|
export class DBLogFileNotFoundFault extends __BaseException {
|
|
78
90
|
constructor(opts) {
|
|
79
91
|
super({
|