@aws-sdk/client-rds 3.245.0 → 3.252.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/dist-cjs/protocols/Aws_query.js +9 -0
- package/dist-es/protocols/Aws_query.js +9 -0
- package/dist-types/RDS.d.ts +13 -4
- package/dist-types/commands/StartActivityStreamCommand.d.ts +7 -2
- package/dist-types/commands/StopActivityStreamCommand.d.ts +6 -2
- package/dist-types/models/models_0.d.ts +9 -0
- package/dist-types/models/models_1.d.ts +20 -3
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -0
- package/package.json +4 -4
|
@@ -9970,6 +9970,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
|
|
|
9970
9970
|
if (input.EnableCustomerOwnedIp != null) {
|
|
9971
9971
|
entries["EnableCustomerOwnedIp"] = input.EnableCustomerOwnedIp;
|
|
9972
9972
|
}
|
|
9973
|
+
if (input.AllocatedStorage != null) {
|
|
9974
|
+
entries["AllocatedStorage"] = input.AllocatedStorage;
|
|
9975
|
+
}
|
|
9973
9976
|
return entries;
|
|
9974
9977
|
};
|
|
9975
9978
|
const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
@@ -13188,6 +13191,9 @@ const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context
|
|
|
13188
13191
|
if (input.DBClusterSnapshotIdentifier != null) {
|
|
13189
13192
|
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
13190
13193
|
}
|
|
13194
|
+
if (input.AllocatedStorage != null) {
|
|
13195
|
+
entries["AllocatedStorage"] = input.AllocatedStorage;
|
|
13196
|
+
}
|
|
13191
13197
|
return entries;
|
|
13192
13198
|
};
|
|
13193
13199
|
const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
@@ -13517,6 +13523,9 @@ const serializeAws_queryRestoreDBInstanceToPointInTimeMessage = (input, context)
|
|
|
13517
13523
|
if (input.StorageThroughput != null) {
|
|
13518
13524
|
entries["StorageThroughput"] = input.StorageThroughput;
|
|
13519
13525
|
}
|
|
13526
|
+
if (input.AllocatedStorage != null) {
|
|
13527
|
+
entries["AllocatedStorage"] = input.AllocatedStorage;
|
|
13528
|
+
}
|
|
13520
13529
|
return entries;
|
|
13521
13530
|
};
|
|
13522
13531
|
const serializeAws_queryRevokeDBSecurityGroupIngressMessage = (input, context) => {
|
|
@@ -9680,6 +9680,9 @@ const serializeAws_queryCreateDBInstanceReadReplicaMessage = (input, context) =>
|
|
|
9680
9680
|
if (input.EnableCustomerOwnedIp != null) {
|
|
9681
9681
|
entries["EnableCustomerOwnedIp"] = input.EnableCustomerOwnedIp;
|
|
9682
9682
|
}
|
|
9683
|
+
if (input.AllocatedStorage != null) {
|
|
9684
|
+
entries["AllocatedStorage"] = input.AllocatedStorage;
|
|
9685
|
+
}
|
|
9683
9686
|
return entries;
|
|
9684
9687
|
};
|
|
9685
9688
|
const serializeAws_queryCreateDBParameterGroupMessage = (input, context) => {
|
|
@@ -12898,6 +12901,9 @@ const serializeAws_queryRestoreDBInstanceFromDBSnapshotMessage = (input, context
|
|
|
12898
12901
|
if (input.DBClusterSnapshotIdentifier != null) {
|
|
12899
12902
|
entries["DBClusterSnapshotIdentifier"] = input.DBClusterSnapshotIdentifier;
|
|
12900
12903
|
}
|
|
12904
|
+
if (input.AllocatedStorage != null) {
|
|
12905
|
+
entries["AllocatedStorage"] = input.AllocatedStorage;
|
|
12906
|
+
}
|
|
12901
12907
|
return entries;
|
|
12902
12908
|
};
|
|
12903
12909
|
const serializeAws_queryRestoreDBInstanceFromS3Message = (input, context) => {
|
|
@@ -13227,6 +13233,9 @@ const serializeAws_queryRestoreDBInstanceToPointInTimeMessage = (input, context)
|
|
|
13227
13233
|
if (input.StorageThroughput != null) {
|
|
13228
13234
|
entries["StorageThroughput"] = input.StorageThroughput;
|
|
13229
13235
|
}
|
|
13236
|
+
if (input.AllocatedStorage != null) {
|
|
13237
|
+
entries["AllocatedStorage"] = input.AllocatedStorage;
|
|
13238
|
+
}
|
|
13230
13239
|
return entries;
|
|
13231
13240
|
};
|
|
13232
13241
|
const serializeAws_queryRevokeDBSecurityGroupIngressMessage = (input, context) => {
|
package/dist-types/RDS.d.ts
CHANGED
|
@@ -1764,8 +1764,13 @@ export declare class RDS extends RDSClient {
|
|
|
1764
1764
|
revokeDBSecurityGroupIngress(args: RevokeDBSecurityGroupIngressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RevokeDBSecurityGroupIngressCommandOutput) => void): void;
|
|
1765
1765
|
/**
|
|
1766
1766
|
* <p>Starts a database activity stream to monitor activity on the database.
|
|
1767
|
-
* For more information, see
|
|
1768
|
-
*
|
|
1767
|
+
* For more information, see
|
|
1768
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html">
|
|
1769
|
+
* Monitoring Amazon Aurora with Database Activity Streams</a>
|
|
1770
|
+
* in the <i>Amazon Aurora User Guide</i> or
|
|
1771
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.html">
|
|
1772
|
+
* Monitoring Amazon RDS with Database Activity Streams</a>
|
|
1773
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
1769
1774
|
*/
|
|
1770
1775
|
startActivityStream(args: StartActivityStreamCommandInput, options?: __HttpHandlerOptions): Promise<StartActivityStreamCommandOutput>;
|
|
1771
1776
|
startActivityStream(args: StartActivityStreamCommandInput, cb: (err: any, data?: StartActivityStreamCommandOutput) => void): void;
|
|
@@ -1820,8 +1825,12 @@ export declare class RDS extends RDSClient {
|
|
|
1820
1825
|
* <p>Stops a database activity stream that was started using the Amazon Web Services console,
|
|
1821
1826
|
* the <code>start-activity-stream</code> CLI command, or the <code>StartActivityStream</code> action.</p>
|
|
1822
1827
|
* <p>For more information, see
|
|
1823
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html">
|
|
1824
|
-
*
|
|
1828
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html">
|
|
1829
|
+
* Monitoring Amazon Aurora with Database Activity Streams</a>
|
|
1830
|
+
* in the <i>Amazon Aurora User Guide</i>
|
|
1831
|
+
* or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.html">
|
|
1832
|
+
* Monitoring Amazon RDS with Database Activity Streams</a>
|
|
1833
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
1825
1834
|
*/
|
|
1826
1835
|
stopActivityStream(args: StopActivityStreamCommandInput, options?: __HttpHandlerOptions): Promise<StopActivityStreamCommandOutput>;
|
|
1827
1836
|
stopActivityStream(args: StopActivityStreamCommandInput, cb: (err: any, data?: StopActivityStreamCommandOutput) => void): void;
|
|
@@ -9,8 +9,13 @@ export interface StartActivityStreamCommandOutput extends StartActivityStreamRes
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Starts a database activity stream to monitor activity on the database.
|
|
12
|
-
* For more information, see
|
|
13
|
-
*
|
|
12
|
+
* For more information, see
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html">
|
|
14
|
+
* Monitoring Amazon Aurora with Database Activity Streams</a>
|
|
15
|
+
* in the <i>Amazon Aurora User Guide</i> or
|
|
16
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.html">
|
|
17
|
+
* Monitoring Amazon RDS with Database Activity Streams</a>
|
|
18
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
14
19
|
* @example
|
|
15
20
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
21
|
* ```javascript
|
|
@@ -11,8 +11,12 @@ export interface StopActivityStreamCommandOutput extends StopActivityStreamRespo
|
|
|
11
11
|
* <p>Stops a database activity stream that was started using the Amazon Web Services console,
|
|
12
12
|
* the <code>start-activity-stream</code> CLI command, or the <code>StartActivityStream</code> action.</p>
|
|
13
13
|
* <p>For more information, see
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html">
|
|
15
|
-
*
|
|
14
|
+
* <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html">
|
|
15
|
+
* Monitoring Amazon Aurora with Database Activity Streams</a>
|
|
16
|
+
* in the <i>Amazon Aurora User Guide</i>
|
|
17
|
+
* or <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/DBActivityStreams.html">
|
|
18
|
+
* Monitoring Amazon RDS with Database Activity Streams</a>
|
|
19
|
+
* in the <i>Amazon RDS User Guide</i>.</p>
|
|
16
20
|
* @example
|
|
17
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
22
|
* ```javascript
|
|
@@ -7337,6 +7337,15 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
7337
7337
|
* in the <i>Amazon Web Services Outposts User Guide</i>.</p>
|
|
7338
7338
|
*/
|
|
7339
7339
|
EnableCustomerOwnedIp?: boolean;
|
|
7340
|
+
/**
|
|
7341
|
+
* <p>The amount of storage (in gibibytes) to allocate initially for the read replica.
|
|
7342
|
+
* Follow the allocation rules specified in <code>CreateDBInstance</code>.</p>
|
|
7343
|
+
* <note>
|
|
7344
|
+
* <p>Be sure to allocate enough memory for your read replica so that the create operation can succeed.
|
|
7345
|
+
* You can also allocate additional memory for future growth.</p>
|
|
7346
|
+
* </note>
|
|
7347
|
+
*/
|
|
7348
|
+
AllocatedStorage?: number;
|
|
7340
7349
|
}
|
|
7341
7350
|
export interface CreateDBInstanceReadReplicaResult {
|
|
7342
7351
|
/**
|
|
@@ -6929,6 +6929,15 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
6929
6929
|
* </ul>
|
|
6930
6930
|
*/
|
|
6931
6931
|
DBClusterSnapshotIdentifier?: string;
|
|
6932
|
+
/**
|
|
6933
|
+
* <p>The amount of storage (in gibibytes) to allocate initially for the DB instance. Follow the allocation rules specified in
|
|
6934
|
+
* CreateDBInstance.</p>
|
|
6935
|
+
* <note>
|
|
6936
|
+
* <p>Be sure to allocate enough memory for your new DB instance so that the restore operation can succeed. You can also
|
|
6937
|
+
* allocate additional memory for future growth.</p>
|
|
6938
|
+
* </note>
|
|
6939
|
+
*/
|
|
6940
|
+
AllocatedStorage?: number;
|
|
6932
6941
|
}
|
|
6933
6942
|
export interface RestoreDBInstanceFromDBSnapshotResult {
|
|
6934
6943
|
/**
|
|
@@ -6966,11 +6975,10 @@ export interface RestoreDBInstanceFromS3Message {
|
|
|
6966
6975
|
*/
|
|
6967
6976
|
DBInstanceIdentifier: string | undefined;
|
|
6968
6977
|
/**
|
|
6969
|
-
* <p>The amount of storage (in
|
|
6978
|
+
* <p>The amount of storage (in gibibytes) to allocate initially for the DB instance.
|
|
6970
6979
|
* Follow the allocation rules specified in <code>CreateDBInstance</code>.</p>
|
|
6971
6980
|
* <note>
|
|
6972
|
-
* <p>Be sure to allocate enough memory for your new DB instance
|
|
6973
|
-
* so that the restore operation can succeed.
|
|
6981
|
+
* <p>Be sure to allocate enough memory for your new DB instance so that the restore operation can succeed.
|
|
6974
6982
|
* You can also allocate additional memory for future growth.</p>
|
|
6975
6983
|
* </note>
|
|
6976
6984
|
*/
|
|
@@ -7833,6 +7841,15 @@ export interface RestoreDBInstanceToPointInTimeMessage {
|
|
|
7833
7841
|
* <p>This setting doesn't apply to RDS Custom or Amazon Aurora.</p>
|
|
7834
7842
|
*/
|
|
7835
7843
|
StorageThroughput?: number;
|
|
7844
|
+
/**
|
|
7845
|
+
* <p>The amount of storage (in gibibytes) to allocate initially for the DB instance.
|
|
7846
|
+
* Follow the allocation rules specified in <code>CreateDBInstance</code>.</p>
|
|
7847
|
+
* <note>
|
|
7848
|
+
* <p>Be sure to allocate enough memory for your new DB instance so that the restore operation can succeed.
|
|
7849
|
+
* You can also allocate additional memory for future growth.</p>
|
|
7850
|
+
* </note>
|
|
7851
|
+
*/
|
|
7852
|
+
AllocatedStorage?: number;
|
|
7836
7853
|
}
|
|
7837
7854
|
export interface RestoreDBInstanceToPointInTimeResult {
|
|
7838
7855
|
/**
|
|
@@ -1445,6 +1445,7 @@ export interface CreateDBInstanceReadReplicaMessage {
|
|
|
1445
1445
|
NetworkType?: string;
|
|
1446
1446
|
StorageThroughput?: number;
|
|
1447
1447
|
EnableCustomerOwnedIp?: boolean;
|
|
1448
|
+
AllocatedStorage?: number;
|
|
1448
1449
|
}
|
|
1449
1450
|
export interface CreateDBInstanceReadReplicaResult {
|
|
1450
1451
|
DBInstance?: DBInstance;
|
|
@@ -1195,6 +1195,7 @@ export interface RestoreDBInstanceFromDBSnapshotMessage {
|
|
|
1195
1195
|
NetworkType?: string;
|
|
1196
1196
|
StorageThroughput?: number;
|
|
1197
1197
|
DBClusterSnapshotIdentifier?: string;
|
|
1198
|
+
AllocatedStorage?: number;
|
|
1198
1199
|
}
|
|
1199
1200
|
export interface RestoreDBInstanceFromDBSnapshotResult {
|
|
1200
1201
|
DBInstance?: DBInstance;
|
|
@@ -1301,6 +1302,7 @@ export interface RestoreDBInstanceToPointInTimeMessage {
|
|
|
1301
1302
|
BackupTarget?: string;
|
|
1302
1303
|
NetworkType?: string;
|
|
1303
1304
|
StorageThroughput?: number;
|
|
1305
|
+
AllocatedStorage?: number;
|
|
1304
1306
|
}
|
|
1305
1307
|
export interface RestoreDBInstanceToPointInTimeResult {
|
|
1306
1308
|
DBInstance?: DBInstance;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo rds"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|