@aws-sdk/client-rds 3.42.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/dist-cjs/RDS.js +15 -0
- package/dist-cjs/commands/RebootDBClusterCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoints.js +1 -28
- package/dist-cjs/models/models_0.js +4 -594
- package/dist-cjs/models/models_1.js +11 -137
- package/dist-cjs/protocols/Aws_query.js +248 -4
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/RDS.js +15 -0
- package/dist-es/commands/RebootDBClusterCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoints.js +1 -28
- package/dist-es/models/models_0.js +0 -392
- package/dist-es/models/models_1.js +8 -92
- package/dist-es/protocols/Aws_query.js +250 -0
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/RDS.d.ts +199 -118
- package/dist-types/RDSClient.d.ts +8 -3
- package/dist-types/commands/AddRoleToDBClusterCommand.d.ts +1 -6
- package/dist-types/commands/AuthorizeDBSecurityGroupIngressCommand.d.ts +1 -1
- package/dist-types/commands/CopyDBClusterParameterGroupCommand.d.ts +0 -3
- package/dist-types/commands/CopyDBClusterSnapshotCommand.d.ts +11 -7
- package/dist-types/commands/CreateCustomDBEngineVersionCommand.d.ts +5 -9
- package/dist-types/commands/CreateDBClusterCommand.d.ts +11 -8
- package/dist-types/commands/CreateDBClusterEndpointCommand.d.ts +3 -3
- package/dist-types/commands/CreateDBClusterParameterGroupCommand.d.ts +11 -5
- package/dist-types/commands/CreateDBClusterSnapshotCommand.d.ts +8 -4
- package/dist-types/commands/DeleteDBClusterCommand.d.ts +6 -3
- package/dist-types/commands/DeleteDBClusterParameterGroupCommand.d.ts +6 -2
- package/dist-types/commands/DeleteDBClusterSnapshotCommand.d.ts +6 -2
- package/dist-types/commands/DescribeDBClusterBacktracksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDBClusterParameterGroupsCommand.d.ts +6 -2
- package/dist-types/commands/DescribeDBClusterParametersCommand.d.ts +6 -2
- package/dist-types/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +0 -3
- package/dist-types/commands/DescribeDBClusterSnapshotsCommand.d.ts +7 -3
- package/dist-types/commands/DescribeDBClustersCommand.d.ts +9 -4
- package/dist-types/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalClustersCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +1 -1
- package/dist-types/commands/FailoverDBClusterCommand.d.ts +16 -8
- package/dist-types/commands/ModifyCustomDBEngineVersionCommand.d.ts +1 -1
- package/dist-types/commands/ModifyDBClusterCommand.d.ts +11 -7
- package/dist-types/commands/ModifyDBClusterParameterGroupCommand.d.ts +9 -5
- package/dist-types/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +0 -3
- package/dist-types/commands/ModifyGlobalClusterCommand.d.ts +1 -1
- package/dist-types/commands/PromoteReadReplicaDBClusterCommand.d.ts +0 -3
- package/dist-types/commands/RebootDBClusterCommand.d.ts +52 -0
- package/dist-types/commands/RemoveFromGlobalClusterCommand.d.ts +1 -1
- package/dist-types/commands/RemoveRoleFromDBClusterCommand.d.ts +11 -4
- package/dist-types/commands/ResetDBClusterParameterGroupCommand.d.ts +7 -4
- package/dist-types/commands/RestoreDBClusterFromS3Command.d.ts +1 -1
- package/dist-types/commands/RestoreDBClusterFromSnapshotCommand.d.ts +8 -5
- package/dist-types/commands/RestoreDBClusterToPointInTimeCommand.d.ts +8 -4
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +571 -809
- package/dist-types/models/models_1.d.ts +686 -285
- package/dist-types/protocols/Aws_query.d.ts +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/RDS.d.ts +5 -0
- package/dist-types/ts3.4/RDSClient.d.ts +6 -3
- package/dist-types/ts3.4/commands/RebootDBClusterCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -392
- package/dist-types/ts3.4/models/models_1.d.ts +56 -90
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +40 -47
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,58 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
12
|
+
* Support awsQueryError trait ([#3174](https://github.com/aws/aws-sdk-js-v3/issues/3174)) ([351bd3a](https://github.com/aws/aws-sdk-js-v3/commit/351bd3a40ad37be79d823d6a0e4e48304728ea6f))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
29
|
+
* **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
|
|
30
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Features
|
|
51
|
+
|
|
52
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
6
58
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
59
|
|
|
8
60
|
|
package/dist-cjs/RDS.js
CHANGED
|
@@ -116,6 +116,7 @@ const ModifyOptionGroupCommand_1 = require("./commands/ModifyOptionGroupCommand"
|
|
|
116
116
|
const PromoteReadReplicaCommand_1 = require("./commands/PromoteReadReplicaCommand");
|
|
117
117
|
const PromoteReadReplicaDBClusterCommand_1 = require("./commands/PromoteReadReplicaDBClusterCommand");
|
|
118
118
|
const PurchaseReservedDBInstancesOfferingCommand_1 = require("./commands/PurchaseReservedDBInstancesOfferingCommand");
|
|
119
|
+
const RebootDBClusterCommand_1 = require("./commands/RebootDBClusterCommand");
|
|
119
120
|
const RebootDBInstanceCommand_1 = require("./commands/RebootDBInstanceCommand");
|
|
120
121
|
const RegisterDBProxyTargetsCommand_1 = require("./commands/RegisterDBProxyTargetsCommand");
|
|
121
122
|
const RemoveFromGlobalClusterCommand_1 = require("./commands/RemoveFromGlobalClusterCommand");
|
|
@@ -1753,6 +1754,20 @@ class RDS extends RDSClient_1.RDSClient {
|
|
|
1753
1754
|
return this.send(command, optionsOrCb);
|
|
1754
1755
|
}
|
|
1755
1756
|
}
|
|
1757
|
+
rebootDBCluster(args, optionsOrCb, cb) {
|
|
1758
|
+
const command = new RebootDBClusterCommand_1.RebootDBClusterCommand(args);
|
|
1759
|
+
if (typeof optionsOrCb === "function") {
|
|
1760
|
+
this.send(command, optionsOrCb);
|
|
1761
|
+
}
|
|
1762
|
+
else if (typeof cb === "function") {
|
|
1763
|
+
if (typeof optionsOrCb !== "object")
|
|
1764
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1765
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1766
|
+
}
|
|
1767
|
+
else {
|
|
1768
|
+
return this.send(command, optionsOrCb);
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1756
1771
|
rebootDBInstance(args, optionsOrCb, cb) {
|
|
1757
1772
|
const command = new RebootDBInstanceCommand_1.RebootDBInstanceCommand(args);
|
|
1758
1773
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RebootDBClusterCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
7
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
8
|
+
class RebootDBClusterCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "RDSClient";
|
|
18
|
+
const commandName = "RebootDBClusterCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_1_1.RebootDBClusterMessage.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_1_1.RebootDBClusterResult.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_query_1.serializeAws_queryRebootDBClusterCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_query_1.deserializeAws_queryRebootDBClusterCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.RebootDBClusterCommand = RebootDBClusterCommand;
|
|
@@ -116,6 +116,7 @@ tslib_1.__exportStar(require("./ModifyOptionGroupCommand"), exports);
|
|
|
116
116
|
tslib_1.__exportStar(require("./PromoteReadReplicaCommand"), exports);
|
|
117
117
|
tslib_1.__exportStar(require("./PromoteReadReplicaDBClusterCommand"), exports);
|
|
118
118
|
tslib_1.__exportStar(require("./PurchaseReservedDBInstancesOfferingCommand"), exports);
|
|
119
|
+
tslib_1.__exportStar(require("./RebootDBClusterCommand"), exports);
|
|
119
120
|
tslib_1.__exportStar(require("./RebootDBInstanceCommand"), exports);
|
|
120
121
|
tslib_1.__exportStar(require("./RegisterDBProxyTargetsCommand"), exports);
|
|
121
122
|
tslib_1.__exportStar(require("./RemoveFromGlobalClusterCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"ca-central-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "rds.ca-central-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "rds-fips.ca-central-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-1": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "rds.us-east-1.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "rds-fips.us-east-1.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"us-east-2": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "rds.us-east-2.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "rds-fips.us-east-2.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"us-gov-east-1": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "rds.us-gov-east-1.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "rds.us-gov-east-1.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"us-gov-west-1": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "rds.us-gov-west-1.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "rds.us-gov-west-1.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"us-west-1": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "rds.us-west-1.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "rds-fips.us-west-1.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -77,10 +53,6 @@ const regionHash = {
|
|
|
77
53
|
},
|
|
78
54
|
"us-west-2": {
|
|
79
55
|
variants: [
|
|
80
|
-
{
|
|
81
|
-
hostname: "rds.us-west-2.amazonaws.com",
|
|
82
|
-
tags: [],
|
|
83
|
-
},
|
|
84
56
|
{
|
|
85
57
|
hostname: "rds-fips.us-west-2.amazonaws.com",
|
|
86
58
|
tags: ["fips"],
|
|
@@ -99,6 +71,7 @@ const partitionHash = {
|
|
|
99
71
|
"ap-south-1",
|
|
100
72
|
"ap-southeast-1",
|
|
101
73
|
"ap-southeast-2",
|
|
74
|
+
"ap-southeast-3",
|
|
102
75
|
"ca-central-1",
|
|
103
76
|
"ca-central-1-fips",
|
|
104
77
|
"eu-central-1",
|