Skip to content

Commit 7601d95

Browse files
author
awstools
committed
feat(client-docdb): Add support for setting Serverless Scaling Configuration on clusters.
1 parent 85139ef commit 7601d95

13 files changed

+351
-8
lines changed

clients/client-docdb/src/commands/CreateDBClusterCommand.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
6868
* DeletionProtection: true || false,
6969
* GlobalClusterIdentifier: "STRING_VALUE",
7070
* StorageType: "STRING_VALUE",
71+
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
72+
* MinCapacity: Number("double"),
73+
* MaxCapacity: Number("double"),
74+
* },
7175
* ManageMasterUserPassword: true || false,
7276
* MasterUserSecretKmsKeyId: "STRING_VALUE",
7377
* };
@@ -131,6 +135,10 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
131135
* // ],
132136
* // DeletionProtection: true || false,
133137
* // StorageType: "STRING_VALUE",
138+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
139+
* // MinCapacity: Number("double"),
140+
* // MaxCapacity: Number("double"),
141+
* // },
134142
* // MasterUserSecret: { // ClusterMasterUserSecret
135143
* // SecretArn: "STRING_VALUE",
136144
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/DeleteDBClusterCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
101101
* // ],
102102
* // DeletionProtection: true || false,
103103
* // StorageType: "STRING_VALUE",
104+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
105+
* // MinCapacity: Number("double"),
106+
* // MaxCapacity: Number("double"),
107+
* // },
104108
* // MasterUserSecret: { // ClusterMasterUserSecret
105109
* // SecretArn: "STRING_VALUE",
106110
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/DescribeDBClustersCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,10 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
115115
* // ],
116116
* // DeletionProtection: true || false,
117117
* // StorageType: "STRING_VALUE",
118+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
119+
* // MinCapacity: Number("double"),
120+
* // MaxCapacity: Number("double"),
121+
* // },
118122
* // MasterUserSecret: { // ClusterMasterUserSecret
119123
* // SecretArn: "STRING_VALUE",
120124
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/DescribeDBEngineVersionsCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ export interface DescribeDBEngineVersionsCommandOutput extends DBEngineVersionMe
8181
* // "STRING_VALUE",
8282
* // ],
8383
* // SupportsCertificateRotationWithoutRestart: true || false,
84+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
85+
* // MinCapacity: Number("double"),
86+
* // MaxCapacity: Number("double"),
87+
* // },
8488
* // },
8589
* // ],
8690
* // };

clients/client-docdb/src/commands/FailoverDBClusterCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
101101
* // ],
102102
* // DeletionProtection: true || false,
103103
* // StorageType: "STRING_VALUE",
104+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
105+
* // MinCapacity: Number("double"),
106+
* // MaxCapacity: Number("double"),
107+
* // },
104108
* // MasterUserSecret: { // ClusterMasterUserSecret
105109
* // SecretArn: "STRING_VALUE",
106110
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/ModifyDBClusterCommand.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
6262
* AllowMajorVersionUpgrade: true || false,
6363
* DeletionProtection: true || false,
6464
* StorageType: "STRING_VALUE",
65+
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
66+
* MinCapacity: Number("double"),
67+
* MaxCapacity: Number("double"),
68+
* },
6569
* ManageMasterUserPassword: true || false,
6670
* MasterUserSecretKmsKeyId: "STRING_VALUE",
6771
* RotateMasterUserPassword: true || false,
@@ -126,6 +130,10 @@ export interface ModifyDBClusterCommandOutput extends ModifyDBClusterResult, __M
126130
* // ],
127131
* // DeletionProtection: true || false,
128132
* // StorageType: "STRING_VALUE",
133+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
134+
* // MinCapacity: Number("double"),
135+
* // MaxCapacity: Number("double"),
136+
* // },
129137
* // MasterUserSecret: { // ClusterMasterUserSecret
130138
* // SecretArn: "STRING_VALUE",
131139
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/RestoreDBClusterFromSnapshotCommand.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
6464
* ],
6565
* DeletionProtection: true || false,
6666
* DBClusterParameterGroupName: "STRING_VALUE",
67+
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
68+
* MinCapacity: Number("double"),
69+
* MaxCapacity: Number("double"),
70+
* },
6771
* StorageType: "STRING_VALUE",
6872
* };
6973
* const command = new RestoreDBClusterFromSnapshotCommand(input);
@@ -126,6 +130,10 @@ export interface RestoreDBClusterFromSnapshotCommandOutput
126130
* // ],
127131
* // DeletionProtection: true || false,
128132
* // StorageType: "STRING_VALUE",
133+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
134+
* // MinCapacity: Number("double"),
135+
* // MaxCapacity: Number("double"),
136+
* // },
129137
* // MasterUserSecret: { // ClusterMasterUserSecret
130138
* // SecretArn: "STRING_VALUE",
131139
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/RestoreDBClusterToPointInTimeCommand.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
6666
* "STRING_VALUE",
6767
* ],
6868
* DeletionProtection: true || false,
69+
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
70+
* MinCapacity: Number("double"),
71+
* MaxCapacity: Number("double"),
72+
* },
6973
* StorageType: "STRING_VALUE",
7074
* };
7175
* const command = new RestoreDBClusterToPointInTimeCommand(input);
@@ -128,6 +132,10 @@ export interface RestoreDBClusterToPointInTimeCommandOutput
128132
* // ],
129133
* // DeletionProtection: true || false,
130134
* // StorageType: "STRING_VALUE",
135+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
136+
* // MinCapacity: Number("double"),
137+
* // MaxCapacity: Number("double"),
138+
* // },
131139
* // MasterUserSecret: { // ClusterMasterUserSecret
132140
* // SecretArn: "STRING_VALUE",
133141
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/StartDBClusterCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ export interface StartDBClusterCommandOutput extends StartDBClusterResult, __Met
100100
* // ],
101101
* // DeletionProtection: true || false,
102102
* // StorageType: "STRING_VALUE",
103+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
104+
* // MinCapacity: Number("double"),
105+
* // MaxCapacity: Number("double"),
106+
* // },
103107
* // MasterUserSecret: { // ClusterMasterUserSecret
104108
* // SecretArn: "STRING_VALUE",
105109
* // SecretStatus: "STRING_VALUE",

clients/client-docdb/src/commands/StopDBClusterCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ export interface StopDBClusterCommandOutput extends StopDBClusterResult, __Metad
101101
* // ],
102102
* // DeletionProtection: true || false,
103103
* // StorageType: "STRING_VALUE",
104+
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
105+
* // MinCapacity: Number("double"),
106+
* // MaxCapacity: Number("double"),
107+
* // },
104108
* // MasterUserSecret: { // ClusterMasterUserSecret
105109
* // SecretArn: "STRING_VALUE",
106110
* // SecretStatus: "STRING_VALUE",

0 commit comments

Comments
 (0)