@aws-sdk/client-rds 3.1177.0 → 3.1179.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/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1178.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -2620,7 +2620,7 @@ const _DDBCSe = "DescribeDBClusterSnapshots";
|
|
|
2620
2620
|
const _DDBCe = "DescribeDBClusters";
|
|
2621
2621
|
const _DDBEV = "DescribeDBEngineVersions";
|
|
2622
2622
|
const _DDBEVM = "DescribeDBEngineVersionsMessage";
|
|
2623
|
-
const _DDBI = "
|
|
2623
|
+
const _DDBI = "DeleteDBInstances";
|
|
2624
2624
|
const _DDBIAB = "DeleteDBInstanceAutomatedBackup";
|
|
2625
2625
|
const _DDBIABM = "DeleteDBInstanceAutomatedBackupMessage";
|
|
2626
2626
|
const _DDBIABMe = "DescribeDBInstanceAutomatedBackupsMessage";
|
|
@@ -2629,7 +2629,8 @@ const _DDBIABe = "DescribeDBInstanceAutomatedBackups";
|
|
|
2629
2629
|
const _DDBIM = "DeleteDBInstanceMessage";
|
|
2630
2630
|
const _DDBIMe = "DescribeDBInstancesMessage";
|
|
2631
2631
|
const _DDBIR = "DeleteDBInstanceResult";
|
|
2632
|
-
const _DDBIe = "
|
|
2632
|
+
const _DDBIe = "DeleteDBInstance";
|
|
2633
|
+
const _DDBIes = "DescribeDBInstances";
|
|
2633
2634
|
const _DDBLF = "DescribeDBLogFiles";
|
|
2634
2635
|
const _DDBLFD = "DescribeDBLogFilesDetails";
|
|
2635
2636
|
const _DDBLFL = "DescribeDBLogFilesList";
|
|
@@ -5330,8 +5331,8 @@ var DeleteDBClusterEndpointMessage$ = [3, n0, _DDBCEM,
|
|
|
5330
5331
|
];
|
|
5331
5332
|
var DeleteDBClusterMessage$ = [3, n0, _DDBCM,
|
|
5332
5333
|
0,
|
|
5333
|
-
[_DBCI, _SFS, _FDBSI, _DAB],
|
|
5334
|
-
[0, 2, 0, 2], 1
|
|
5334
|
+
[_DBCI, _SFS, _FDBSI, _DAB, _DDBI],
|
|
5335
|
+
[0, 2, 0, 2, 2], 1
|
|
5335
5336
|
];
|
|
5336
5337
|
var DeleteDBClusterParameterGroupMessage$ = [3, n0, _DDBCPGM,
|
|
5337
5338
|
0,
|
|
@@ -7391,7 +7392,7 @@ var DeleteDBClusterParameterGroup$ = [9, n0, _DDBCPG,
|
|
|
7391
7392
|
var DeleteDBClusterSnapshot$ = [9, n0, _DDBCS,
|
|
7392
7393
|
0, () => DeleteDBClusterSnapshotMessage$, () => DeleteDBClusterSnapshotResult$
|
|
7393
7394
|
];
|
|
7394
|
-
var DeleteDBInstance$ = [9, n0,
|
|
7395
|
+
var DeleteDBInstance$ = [9, n0, _DDBIe,
|
|
7395
7396
|
0, () => DeleteDBInstanceMessage$, () => DeleteDBInstanceResult$
|
|
7396
7397
|
];
|
|
7397
7398
|
var DeleteDBInstanceAutomatedBackup$ = [9, n0, _DDBIAB,
|
|
@@ -7478,7 +7479,7 @@ var DescribeDBEngineVersions$ = [9, n0, _DDBEV,
|
|
|
7478
7479
|
var DescribeDBInstanceAutomatedBackups$ = [9, n0, _DDBIABe,
|
|
7479
7480
|
0, () => DescribeDBInstanceAutomatedBackupsMessage$, () => DBInstanceAutomatedBackupMessage$
|
|
7480
7481
|
];
|
|
7481
|
-
var DescribeDBInstances$ = [9, n0,
|
|
7482
|
+
var DescribeDBInstances$ = [9, n0, _DDBIes,
|
|
7482
7483
|
0, () => DescribeDBInstancesMessage$, () => DBInstanceMessage$
|
|
7483
7484
|
];
|
|
7484
7485
|
var DescribeDBLogFiles$ = [9, n0, _DDBLF,
|
|
@@ -524,7 +524,7 @@ const _DDBCSe = "DescribeDBClusterSnapshots";
|
|
|
524
524
|
const _DDBCe = "DescribeDBClusters";
|
|
525
525
|
const _DDBEV = "DescribeDBEngineVersions";
|
|
526
526
|
const _DDBEVM = "DescribeDBEngineVersionsMessage";
|
|
527
|
-
const _DDBI = "
|
|
527
|
+
const _DDBI = "DeleteDBInstances";
|
|
528
528
|
const _DDBIAB = "DeleteDBInstanceAutomatedBackup";
|
|
529
529
|
const _DDBIABM = "DeleteDBInstanceAutomatedBackupMessage";
|
|
530
530
|
const _DDBIABMe = "DescribeDBInstanceAutomatedBackupsMessage";
|
|
@@ -533,7 +533,8 @@ const _DDBIABe = "DescribeDBInstanceAutomatedBackups";
|
|
|
533
533
|
const _DDBIM = "DeleteDBInstanceMessage";
|
|
534
534
|
const _DDBIMe = "DescribeDBInstancesMessage";
|
|
535
535
|
const _DDBIR = "DeleteDBInstanceResult";
|
|
536
|
-
const _DDBIe = "
|
|
536
|
+
const _DDBIe = "DeleteDBInstance";
|
|
537
|
+
const _DDBIes = "DescribeDBInstances";
|
|
537
538
|
const _DDBLF = "DescribeDBLogFiles";
|
|
538
539
|
const _DDBLFD = "DescribeDBLogFilesDetails";
|
|
539
540
|
const _DDBLFL = "DescribeDBLogFilesList";
|
|
@@ -3237,8 +3238,8 @@ export var DeleteDBClusterEndpointMessage$ = [3, n0, _DDBCEM,
|
|
|
3237
3238
|
];
|
|
3238
3239
|
export var DeleteDBClusterMessage$ = [3, n0, _DDBCM,
|
|
3239
3240
|
0,
|
|
3240
|
-
[_DBCI, _SFS, _FDBSI, _DAB],
|
|
3241
|
-
[0, 2, 0, 2], 1
|
|
3241
|
+
[_DBCI, _SFS, _FDBSI, _DAB, _DDBI],
|
|
3242
|
+
[0, 2, 0, 2, 2], 1
|
|
3242
3243
|
];
|
|
3243
3244
|
export var DeleteDBClusterParameterGroupMessage$ = [3, n0, _DDBCPGM,
|
|
3244
3245
|
0,
|
|
@@ -5308,7 +5309,7 @@ export var DeleteDBClusterParameterGroup$ = [9, n0, _DDBCPG,
|
|
|
5308
5309
|
export var DeleteDBClusterSnapshot$ = [9, n0, _DDBCS,
|
|
5309
5310
|
0, () => DeleteDBClusterSnapshotMessage$, () => DeleteDBClusterSnapshotResult$
|
|
5310
5311
|
];
|
|
5311
|
-
export var DeleteDBInstance$ = [9, n0,
|
|
5312
|
+
export var DeleteDBInstance$ = [9, n0, _DDBIe,
|
|
5312
5313
|
0, () => DeleteDBInstanceMessage$, () => DeleteDBInstanceResult$
|
|
5313
5314
|
];
|
|
5314
5315
|
export var DeleteDBInstanceAutomatedBackup$ = [9, n0, _DDBIAB,
|
|
@@ -5395,7 +5396,7 @@ export var DescribeDBEngineVersions$ = [9, n0, _DDBEV,
|
|
|
5395
5396
|
export var DescribeDBInstanceAutomatedBackups$ = [9, n0, _DDBIABe,
|
|
5396
5397
|
0, () => DescribeDBInstanceAutomatedBackupsMessage$, () => DBInstanceAutomatedBackupMessage$
|
|
5397
5398
|
];
|
|
5398
|
-
export var DescribeDBInstances$ = [9, n0,
|
|
5399
|
+
export var DescribeDBInstances$ = [9, n0, _DDBIes,
|
|
5399
5400
|
0, () => DescribeDBInstancesMessage$, () => DBInstanceMessage$
|
|
5400
5401
|
];
|
|
5401
5402
|
export var DescribeDBLogFiles$ = [9, n0, _DDBLF,
|
|
@@ -24,7 +24,7 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.</p> <p>If you're deleting a Multi-AZ DB cluster with read replicas, all cluster members are terminated and read replicas are promoted to standalone instances.</p> <p>For more information on Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB cluster deployments</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
27
|
+
* <p>The DeleteDBCluster action deletes a previously provisioned DB cluster. When you delete a DB cluster, all automated backups for that DB cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified DB cluster are not deleted.</p> <p>If you're deleting a Multi-AZ DB cluster with read replicas, all cluster members are terminated and read replicas are promoted to standalone instances.</p> <p>To delete an Amazon Aurora DB cluster and all of its DB instances in a single call, set <code>DeleteDBInstances</code> to <code>true</code>. Otherwise, delete each DB instance in the DB cluster before you delete the DB cluster.</p> <p>For more information on Amazon Aurora, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/CHAP_AuroraOverview.html"> What is Amazon Aurora?</a> in the <i>Amazon Aurora User Guide</i>.</p> <p>For more information on Multi-AZ DB clusters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html"> Multi-AZ DB cluster deployments</a> in the <i>Amazon RDS User Guide</i>.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -38,6 +38,7 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
38
38
|
* SkipFinalSnapshot: true || false,
|
|
39
39
|
* FinalDBSnapshotIdentifier: "STRING_VALUE",
|
|
40
40
|
* DeleteAutomatedBackups: true || false,
|
|
41
|
+
* DeleteDBInstances: true || false,
|
|
41
42
|
* };
|
|
42
43
|
* const command = new DeleteDBClusterCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -307,6 +308,84 @@ declare const DeleteDBClusterCommand_base: {
|
|
|
307
308
|
* *\/
|
|
308
309
|
* ```
|
|
309
310
|
*
|
|
311
|
+
* @example To delete a DB cluster and all of its DB instances
|
|
312
|
+
* ```javascript
|
|
313
|
+
* // The following example deletes the Aurora DB cluster named sample-cluster and all of the DB instances in it in a single call.
|
|
314
|
+
* const input = {
|
|
315
|
+
* DBClusterIdentifier: "sample-cluster",
|
|
316
|
+
* DeleteDBInstances: true,
|
|
317
|
+
* SkipFinalSnapshot: true
|
|
318
|
+
* };
|
|
319
|
+
* const command = new DeleteDBClusterCommand(input);
|
|
320
|
+
* const response = await client.send(command);
|
|
321
|
+
* /* response is
|
|
322
|
+
* {
|
|
323
|
+
* DBCluster: {
|
|
324
|
+
* AllocatedStorage: 1,
|
|
325
|
+
* AssociatedRoles: [],
|
|
326
|
+
* AutoMinorVersionUpgrade: true,
|
|
327
|
+
* AvailabilityZones: [
|
|
328
|
+
* "us-east-1a",
|
|
329
|
+
* "us-east-1d",
|
|
330
|
+
* "us-east-1c"
|
|
331
|
+
* ],
|
|
332
|
+
* BackupRetentionPeriod: 7,
|
|
333
|
+
* ClusterCreateTime: "2026-10-24T05:19:14.105Z",
|
|
334
|
+
* CopyTagsToSnapshot: false,
|
|
335
|
+
* CrossAccountClone: false,
|
|
336
|
+
* DBClusterArn: "arn:aws:rds:us-east-1:123456789012:cluster:sample-cluster",
|
|
337
|
+
* DBClusterIdentifier: "sample-cluster",
|
|
338
|
+
* DBClusterMembers: [
|
|
339
|
+
* {
|
|
340
|
+
* DBClusterParameterGroupStatus: "in-sync",
|
|
341
|
+
* DBInstanceIdentifier: "sample-cluster-instance-1",
|
|
342
|
+
* IsClusterWriter: true,
|
|
343
|
+
* PromotionTier: 1
|
|
344
|
+
* }
|
|
345
|
+
* ],
|
|
346
|
+
* DBClusterParameterGroup: "default.aurora-postgresql17",
|
|
347
|
+
* DatabaseInsightsMode: "standard",
|
|
348
|
+
* DbClusterResourceId: "cluster-EXAMPLE123456789",
|
|
349
|
+
* DeletionProtection: false,
|
|
350
|
+
* DomainMemberships: [],
|
|
351
|
+
* EarliestRestorableTime: "2026-10-24T05:19:19.661Z",
|
|
352
|
+
* Endpoint: "sample-cluster.cluster-############.us-east-1.rds.amazonaws.com",
|
|
353
|
+
* Engine: "aurora-postgresql",
|
|
354
|
+
* EngineLifecycleSupport: "open-source-rds-extended-support",
|
|
355
|
+
* EngineMode: "provisioned",
|
|
356
|
+
* EngineVersion: "17.9",
|
|
357
|
+
* HostedZoneId: "Z1RLNU0EXAMPLE",
|
|
358
|
+
* HttpEndpointEnabled: false,
|
|
359
|
+
* IAMDatabaseAuthenticationEnabled: true,
|
|
360
|
+
* InternetAccessGatewayEnabled: true,
|
|
361
|
+
* LatestRestorableTime: "2026-10-24T05:19:19.661Z",
|
|
362
|
+
* LocalWriteForwardingStatus: "disabled",
|
|
363
|
+
* MasterUsername: "postgres",
|
|
364
|
+
* MultiAZ: false,
|
|
365
|
+
* PerformanceInsightsEnabled: false,
|
|
366
|
+
* Port: 5432,
|
|
367
|
+
* PreferredBackupWindow: "05:05-05:35",
|
|
368
|
+
* PreferredMaintenanceWindow: "wed:09:32-wed:10:02",
|
|
369
|
+
* ReadReplicaIdentifiers: [],
|
|
370
|
+
* ReaderEndpoint: "sample-cluster.cluster-ro-############.us-east-1.rds.amazonaws.com",
|
|
371
|
+
* ServerlessV2PlatformVersion: "4",
|
|
372
|
+
* ServerlessV2ScalingConfiguration: {
|
|
373
|
+
* MaxCapacity: 16.0,
|
|
374
|
+
* MinCapacity: 0.0,
|
|
375
|
+
* SecondsUntilAutoPause: 300
|
|
376
|
+
* },
|
|
377
|
+
* Status: "deleting",
|
|
378
|
+
* StorageEncrypted: false,
|
|
379
|
+
* StorageEncryptionType: "sse-rds",
|
|
380
|
+
* TagList: [],
|
|
381
|
+
* UpgradeRolloutOrder: "second",
|
|
382
|
+
* VPCNetworkingEnabled: false,
|
|
383
|
+
* VpcSecurityGroups: []
|
|
384
|
+
* }
|
|
385
|
+
* }
|
|
386
|
+
* *\/
|
|
387
|
+
* ```
|
|
388
|
+
*
|
|
310
389
|
* @public
|
|
311
390
|
*/
|
|
312
391
|
export declare class DeleteDBClusterCommand extends DeleteDBClusterCommand_base {
|
|
@@ -6319,6 +6319,11 @@ export interface DeleteDBClusterMessage {
|
|
|
6319
6319
|
* @public
|
|
6320
6320
|
*/
|
|
6321
6321
|
DeleteAutomatedBackups?: boolean | undefined;
|
|
6322
|
+
/**
|
|
6323
|
+
* <p>Specifies whether to delete all DB instances in the DB cluster together with the DB cluster. If you set this value to <code>true</code>, RDS deletes every DB instance in the DB cluster and then deletes the DB cluster. You don't need to call <code>DeleteDBInstance</code> for each DB instance first. If you set this value to <code>false</code> or don't specify it, RDS deletes the DB cluster only after you delete each of its DB instances.</p> <p>You must have permission to call <code>DeleteDBInstance</code> on every DB instance in the DB cluster. If RDS can't delete a DB instance in the DB cluster, the request fails and RDS doesn't delete the DB cluster or any of its DB instances.</p> <p>Constraints:</p> <ul> <li> <p>You can't specify this parameter for a DB cluster that is a member of an Aurora global database. Remove the DB cluster from the global database first.</p> </li> <li> <p>You can't specify this parameter for an Aurora Limitless Database DB cluster.</p> </li> <li> <p>Deletion protection must be turned off for the DB cluster.</p> </li> <li> <p>No DB instance in the DB cluster can be in the <code>deleting</code> state or be switching over, be the blue DB instance of an active blue/green deployment, or have an active zero-ETL integration.</p> </li> <li> <p>No DB instance in the DB cluster can be the source of an Aurora read replica DB cluster, or have a read replica that is being created or a cross-Region read replica that is being restored.</p> </li> <li> <p>The DB cluster can't be in the <code>stopping</code> state.</p> </li> </ul> <p>If the DB cluster doesn't contain any DB instances, RDS deletes the DB cluster the same way as when you don't specify this parameter.</p> <p>Default: <code>false</code> </p> <p>Valid for Cluster Type: Aurora MySQL and Aurora PostgreSQL DB clusters only</p>
|
|
6324
|
+
* @public
|
|
6325
|
+
*/
|
|
6326
|
+
DeleteDBInstances?: boolean | undefined;
|
|
6322
6327
|
}
|
|
6323
6328
|
/**
|
|
6324
6329
|
* @public
|
|
@@ -1423,6 +1423,7 @@ export interface DeleteDBClusterMessage {
|
|
|
1423
1423
|
SkipFinalSnapshot?: boolean | undefined;
|
|
1424
1424
|
FinalDBSnapshotIdentifier?: string | undefined;
|
|
1425
1425
|
DeleteAutomatedBackups?: boolean | undefined;
|
|
1426
|
+
DeleteDBInstances?: boolean | undefined;
|
|
1426
1427
|
}
|
|
1427
1428
|
export interface DeleteDBClusterResult {
|
|
1428
1429
|
DBCluster?: DBCluster | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rds",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1179.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Rds Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-rds",
|
|
6
6
|
"license": "Apache-2.0",
|