Skip to content

Commit c9e7374

Browse files
author
awstools
committed
feat(client-rds): Add support for the automatic pause/resume feature of Aurora Serverless v2.
1 parent be4dacb commit c9e7374

23 files changed

+314
-66
lines changed

clients/client-rds/src/commands/CreateCustomDBEngineVersionCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ export interface CreateCustomDBEngineVersionCommandOutput extends DBEngineVersio
140140
* // ],
141141
* // SupportsLocalWriteForwarding: true || false,
142142
* // SupportsIntegrations: true || false,
143+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
144+
* // MinCapacity: Number("double"),
145+
* // MaxCapacity: Number("double"),
146+
* // },
143147
* // };
144148
*
145149
* ```

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
121121
* ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfiguration
122122
* MinCapacity: Number("double"),
123123
* MaxCapacity: Number("double"),
124+
* SecondsUntilAutoPause: Number("int"),
124125
* },
125126
* NetworkType: "STRING_VALUE",
126127
* ClusterScalabilityType: "standard" || "limitless",
@@ -299,6 +300,7 @@ export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __M
299300
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
300301
* // MinCapacity: Number("double"),
301302
* // MaxCapacity: Number("double"),
303+
* // SecondsUntilAutoPause: Number("int"),
302304
* // },
303305
* // NetworkType: "STRING_VALUE",
304306
* // DBSystemId: "STRING_VALUE",

clients/client-rds/src/commands/DeleteCustomDBEngineVersionCommand.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ export interface DeleteCustomDBEngineVersionCommandOutput extends DBEngineVersio
146146
* // ],
147147
* // SupportsLocalWriteForwarding: true || false,
148148
* // SupportsIntegrations: true || false,
149+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
150+
* // MinCapacity: Number("double"),
151+
* // MaxCapacity: Number("double"),
152+
* // },
149153
* // };
150154
*
151155
* ```

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __M
219219
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
220220
* // MinCapacity: Number("double"),
221221
* // MaxCapacity: Number("double"),
222+
* // SecondsUntilAutoPause: Number("int"),
222223
* // },
223224
* // NetworkType: "STRING_VALUE",
224225
* // DBSystemId: "STRING_VALUE",

clients/client-rds/src/commands/DeleteTenantDatabaseCommand.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DeleteTenantDatabaseMessage } from "../models/models_0";
9-
import { DeleteTenantDatabaseResult, DeleteTenantDatabaseResultFilterSensitiveLog } from "../models/models_1";
8+
import {
9+
DeleteTenantDatabaseMessage,
10+
DeleteTenantDatabaseResult,
11+
DeleteTenantDatabaseResultFilterSensitiveLog,
12+
} from "../models/models_1";
1013
import { de_DeleteTenantDatabaseCommand, se_DeleteTenantDatabaseCommand } from "../protocols/Aws_query";
1114
import { RDSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RDSClient";
1215

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export interface DescribeDBClustersCommandOutput extends DBClusterMessage, __Met
226226
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
227227
* // MinCapacity: Number("double"),
228228
* // MaxCapacity: Number("double"),
229+
* // SecondsUntilAutoPause: Number("int"),
229230
* // },
230231
* // NetworkType: "STRING_VALUE",
231232
* // DBSystemId: "STRING_VALUE",

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ export interface DescribeDBEngineVersionsCommandOutput extends DBEngineVersionMe
144144
* // ],
145145
* // SupportsLocalWriteForwarding: true || false,
146146
* // SupportsIntegrations: true || false,
147+
* // ServerlessV2FeaturesSupport: { // ServerlessV2FeaturesSupport
148+
* // MinCapacity: Number("double"),
149+
* // MaxCapacity: Number("double"),
150+
* // },
147151
* // },
148152
* // ],
149153
* // };

clients/client-rds/src/commands/DescribeDBLogFilesCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ export interface DescribeDBLogFilesCommandOutput extends DescribeDBLogFilesRespo
7777
* <p>
7878
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
7979
*
80+
* @throws {@link DBInstanceNotReadyFault} (server fault)
81+
* <p>An attempt to download or examine log files didn't succeed because an Aurora Serverless v2 instance was paused.</p>
82+
*
8083
* @throws {@link RDSServiceException}
8184
* <p>Base exception class for all service exceptions from RDS service.</p>
8285
*

clients/client-rds/src/commands/DownloadDBLogFilePortionCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ export interface DownloadDBLogFilePortionCommandOutput extends DownloadDBLogFile
6262
* <p>
6363
* <code>DBInstanceIdentifier</code> doesn't refer to an existing DB instance.</p>
6464
*
65+
* @throws {@link DBInstanceNotReadyFault} (server fault)
66+
* <p>An attempt to download or examine log files didn't succeed because an Aurora Serverless v2 instance was paused.</p>
67+
*
6568
* @throws {@link DBLogFileNotFoundFault} (client fault)
6669
* <p>
6770
* <code>LogFileName</code> doesn't refer to an existing DB log file.</p>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ export interface FailoverDBClusterCommandOutput extends FailoverDBClusterResult,
225225
* // ServerlessV2ScalingConfiguration: { // ServerlessV2ScalingConfigurationInfo
226226
* // MinCapacity: Number("double"),
227227
* // MaxCapacity: Number("double"),
228+
* // SecondsUntilAutoPause: Number("int"),
228229
* // },
229230
* // NetworkType: "STRING_VALUE",
230231
* // DBSystemId: "STRING_VALUE",

0 commit comments

Comments
 (0)