@aws-sdk/client-rds 3.310.0 → 3.314.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.
|
@@ -93,6 +93,8 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
93
93
|
* ManageMasterUserPassword: true || false,
|
|
94
94
|
* RotateMasterUserPassword: true || false,
|
|
95
95
|
* MasterUserSecretKmsKeyId: "STRING_VALUE",
|
|
96
|
+
* EngineMode: "STRING_VALUE",
|
|
97
|
+
* AllowEngineModeChange: true || false,
|
|
96
98
|
* };
|
|
97
99
|
* const command = new ModifyDBClusterCommand(input);
|
|
98
100
|
* const response = await client.send(command);
|
|
@@ -116,6 +118,9 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
|
|
|
116
118
|
* <code>DBClusterParameterGroupName</code> doesn't refer to an existing DB
|
|
117
119
|
* cluster parameter group.</p>
|
|
118
120
|
*
|
|
121
|
+
* @throws {@link DBInstanceAlreadyExistsFault} (client fault)
|
|
122
|
+
* <p>The user already has a DB instance with the given identifier.</p>
|
|
123
|
+
*
|
|
119
124
|
* @throws {@link DBSubnetGroupNotFoundFault} (client fault)
|
|
120
125
|
* <p>
|
|
121
126
|
* <code>DBSubnetGroupName</code> doesn't refer to an existing DB subnet group.</p>
|
|
@@ -3516,7 +3516,6 @@ export interface ModifyDBClusterMessage {
|
|
|
3516
3516
|
DBClusterInstanceClass?: string;
|
|
3517
3517
|
/**
|
|
3518
3518
|
* <p>The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.</p>
|
|
3519
|
-
* <p>Type: Integer</p>
|
|
3520
3519
|
* <p>Valid for: Multi-AZ DB clusters only</p>
|
|
3521
3520
|
*/
|
|
3522
3521
|
AllocatedStorage?: number;
|
|
@@ -3706,6 +3705,24 @@ export interface ModifyDBClusterMessage {
|
|
|
3706
3705
|
* <p>Valid for: Aurora DB clusters and Multi-AZ DB clusters</p>
|
|
3707
3706
|
*/
|
|
3708
3707
|
MasterUserSecretKmsKeyId?: string;
|
|
3708
|
+
/**
|
|
3709
|
+
* <p>The DB engine mode of the DB cluster, either <code>provisioned</code> or <code>serverless</code>.</p>
|
|
3710
|
+
* <note>
|
|
3711
|
+
* <p>The DB engine mode can be modified only from <code>serverless</code> to <code>provisioned</code>.</p>
|
|
3712
|
+
* </note>
|
|
3713
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBCluster.html">
|
|
3714
|
+
* CreateDBCluster</a>.</p>
|
|
3715
|
+
* <p>Valid for: Aurora DB clusters only</p>
|
|
3716
|
+
*/
|
|
3717
|
+
EngineMode?: string;
|
|
3718
|
+
/**
|
|
3719
|
+
* <p>A value that indicates whether engine mode changes from <code>serverless</code> to <code>provisioned</code>
|
|
3720
|
+
* are allowed.</p>
|
|
3721
|
+
* <p>Constraints: You must allow engine mode changes when specifying a different value for the <code>EngineMode</code> parameter
|
|
3722
|
+
* from the DB cluster's current engine mode.</p>
|
|
3723
|
+
* <p>Valid for: Aurora Serverless v1 DB clusters only</p>
|
|
3724
|
+
*/
|
|
3725
|
+
AllowEngineModeChange?: boolean;
|
|
3709
3726
|
}
|
|
3710
3727
|
/**
|
|
3711
3728
|
* @public
|
|
@@ -694,6 +694,8 @@ export interface ModifyDBClusterMessage {
|
|
|
694
694
|
ManageMasterUserPassword?: boolean;
|
|
695
695
|
RotateMasterUserPassword?: boolean;
|
|
696
696
|
MasterUserSecretKmsKeyId?: string;
|
|
697
|
+
EngineMode?: string;
|
|
698
|
+
AllowEngineModeChange?: boolean;
|
|
697
699
|
}
|
|
698
700
|
export interface ModifyDBClusterResult {
|
|
699
701
|
DBCluster?: DBCluster;
|
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.314.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.312.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|