@aws-sdk/client-rds 3.1037.0 → 3.1038.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.
Files changed (30) hide show
  1. package/dist-cjs/index.js +5 -5
  2. package/dist-es/waiters/waitForDBClusterAvailable.js +1 -1
  3. package/dist-es/waiters/waitForDBClusterDeleted.js +2 -2
  4. package/dist-es/waiters/waitForDBClusterSnapshotDeleted.js +1 -1
  5. package/dist-es/waiters/waitForDBInstanceDeleted.js +1 -1
  6. package/dist-es/waiters/waitForDBSnapshotDeleted.js +1 -1
  7. package/dist-es/waiters/waitForTenantDatabaseDeleted.js +1 -1
  8. package/dist-types/RDS.d.ts +11 -10
  9. package/dist-types/ts3.4/RDS.d.ts +28 -10
  10. package/dist-types/ts3.4/waiters/waitForDBClusterAvailable.d.ts +9 -3
  11. package/dist-types/ts3.4/waiters/waitForDBClusterDeleted.d.ts +12 -3
  12. package/dist-types/ts3.4/waiters/waitForDBClusterSnapshotAvailable.d.ts +9 -3
  13. package/dist-types/ts3.4/waiters/waitForDBClusterSnapshotDeleted.d.ts +14 -3
  14. package/dist-types/ts3.4/waiters/waitForDBInstanceAvailable.d.ts +9 -3
  15. package/dist-types/ts3.4/waiters/waitForDBInstanceDeleted.d.ts +12 -3
  16. package/dist-types/ts3.4/waiters/waitForDBSnapshotAvailable.d.ts +9 -3
  17. package/dist-types/ts3.4/waiters/waitForDBSnapshotDeleted.d.ts +12 -3
  18. package/dist-types/ts3.4/waiters/waitForTenantDatabaseAvailable.d.ts +9 -3
  19. package/dist-types/ts3.4/waiters/waitForTenantDatabaseDeleted.d.ts +12 -3
  20. package/dist-types/waiters/waitForDBClusterAvailable.d.ts +4 -3
  21. package/dist-types/waiters/waitForDBClusterDeleted.d.ts +5 -3
  22. package/dist-types/waiters/waitForDBClusterSnapshotAvailable.d.ts +4 -3
  23. package/dist-types/waiters/waitForDBClusterSnapshotDeleted.d.ts +5 -3
  24. package/dist-types/waiters/waitForDBInstanceAvailable.d.ts +4 -3
  25. package/dist-types/waiters/waitForDBInstanceDeleted.d.ts +5 -3
  26. package/dist-types/waiters/waitForDBSnapshotAvailable.d.ts +4 -3
  27. package/dist-types/waiters/waitForDBSnapshotDeleted.d.ts +5 -3
  28. package/dist-types/waiters/waitForTenantDatabaseAvailable.d.ts +4 -3
  29. package/dist-types/waiters/waitForTenantDatabaseDeleted.d.ts +5 -3
  30. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -2372,7 +2372,7 @@ const checkState$8 = async (client, input) => {
2372
2372
  }
2373
2373
  catch (exception) {
2374
2374
  reason = exception;
2375
- if (exception.name && exception.name == "DBClusterNotFoundFault") {
2375
+ if (exception.name === "DBClusterNotFoundFault") {
2376
2376
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
2377
2377
  }
2378
2378
  }
@@ -2578,7 +2578,7 @@ const checkState$6 = async (client, input) => {
2578
2578
  }
2579
2579
  catch (exception) {
2580
2580
  reason = exception;
2581
- if (exception.name && exception.name == "DBClusterSnapshotNotFoundFault") {
2581
+ if (exception.name === "DBClusterSnapshotNotFoundFault") {
2582
2582
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
2583
2583
  }
2584
2584
  }
@@ -2784,7 +2784,7 @@ const checkState$4 = async (client, input) => {
2784
2784
  }
2785
2785
  catch (exception) {
2786
2786
  reason = exception;
2787
- if (exception.name && exception.name == "DBInstanceNotFoundFault") {
2787
+ if (exception.name === "DBInstanceNotFoundFault") {
2788
2788
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
2789
2789
  }
2790
2790
  }
@@ -2990,7 +2990,7 @@ const checkState$2 = async (client, input) => {
2990
2990
  }
2991
2991
  catch (exception) {
2992
2992
  reason = exception;
2993
- if (exception.name && exception.name == "DBSnapshotNotFoundFault") {
2993
+ if (exception.name === "DBSnapshotNotFoundFault") {
2994
2994
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
2995
2995
  }
2996
2996
  }
@@ -3106,7 +3106,7 @@ const checkState = async (client, input) => {
3106
3106
  }
3107
3107
  catch (exception) {
3108
3108
  reason = exception;
3109
- if (exception.name && exception.name == "DBInstanceNotFoundFault") {
3109
+ if (exception.name === "DBInstanceNotFoundFault") {
3110
3110
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
3111
3111
  }
3112
3112
  }
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeDBClustersCommand } from "../commands/DescribeDBClustersCommand";
2
+ import { DescribeDBClustersCommand, } from "../commands/DescribeDBClustersCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -1,5 +1,5 @@
1
1
  import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
2
- import { DescribeDBClustersCommand } from "../commands/DescribeDBClustersCommand";
2
+ import { DescribeDBClustersCommand, } from "../commands/DescribeDBClustersCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
@@ -77,7 +77,7 @@ const checkState = async (client, input) => {
77
77
  }
78
78
  catch (exception) {
79
79
  reason = exception;
80
- if (exception.name && exception.name == "DBClusterNotFoundFault") {
80
+ if (exception.name === "DBClusterNotFoundFault") {
81
81
  return { state: WaiterState.SUCCESS, reason };
82
82
  }
83
83
  }
@@ -77,7 +77,7 @@ const checkState = async (client, input) => {
77
77
  }
78
78
  catch (exception) {
79
79
  reason = exception;
80
- if (exception.name && exception.name == "DBClusterSnapshotNotFoundFault") {
80
+ if (exception.name === "DBClusterSnapshotNotFoundFault") {
81
81
  return { state: WaiterState.SUCCESS, reason };
82
82
  }
83
83
  }
@@ -77,7 +77,7 @@ const checkState = async (client, input) => {
77
77
  }
78
78
  catch (exception) {
79
79
  reason = exception;
80
- if (exception.name && exception.name == "DBInstanceNotFoundFault") {
80
+ if (exception.name === "DBInstanceNotFoundFault") {
81
81
  return { state: WaiterState.SUCCESS, reason };
82
82
  }
83
83
  }
@@ -77,7 +77,7 @@ const checkState = async (client, input) => {
77
77
  }
78
78
  catch (exception) {
79
79
  reason = exception;
80
- if (exception.name && exception.name == "DBSnapshotNotFoundFault") {
80
+ if (exception.name === "DBSnapshotNotFoundFault") {
81
81
  return { state: WaiterState.SUCCESS, reason };
82
82
  }
83
83
  }
@@ -17,7 +17,7 @@ const checkState = async (client, input) => {
17
17
  }
18
18
  catch (exception) {
19
19
  reason = exception;
20
- if (exception.name && exception.name == "DBInstanceNotFoundFault") {
20
+ if (exception.name === "DBInstanceNotFoundFault") {
21
21
  return { state: WaiterState.SUCCESS, reason };
22
22
  }
23
23
  }
@@ -164,6 +164,7 @@ import { type StopDBInstanceCommandInput, type StopDBInstanceCommandOutput } fro
164
164
  import { type SwitchoverBlueGreenDeploymentCommandInput, type SwitchoverBlueGreenDeploymentCommandOutput } from "./commands/SwitchoverBlueGreenDeploymentCommand";
165
165
  import { type SwitchoverGlobalClusterCommandInput, type SwitchoverGlobalClusterCommandOutput } from "./commands/SwitchoverGlobalClusterCommand";
166
166
  import { type SwitchoverReadReplicaCommandInput, type SwitchoverReadReplicaCommandOutput } from "./commands/SwitchoverReadReplicaCommand";
167
+ import type { DBClusterNotFoundFault, DBClusterSnapshotNotFoundFault, DBInstanceNotFoundFault, DBSnapshotNotFoundFault } from "./models/errors";
167
168
  import { RDSClient } from "./RDSClient";
168
169
  export interface RDS {
169
170
  /**
@@ -1486,61 +1487,61 @@ export interface RDS {
1486
1487
  * @param args - command input.
1487
1488
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1488
1489
  */
1489
- waitUntilDBClusterAvailable(args: DescribeDBClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1490
+ waitUntilDBClusterAvailable(args: DescribeDBClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBClustersCommandOutput>>;
1490
1491
  /**
1491
1492
  * @see {@link DescribeDBClustersCommand}
1492
1493
  * @param args - command input.
1493
1494
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1494
1495
  */
1495
- waitUntilDBClusterDeleted(args: DescribeDBClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1496
+ waitUntilDBClusterDeleted(args: DescribeDBClustersCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBClustersCommandOutput | DBClusterNotFoundFault>>;
1496
1497
  /**
1497
1498
  * @see {@link DescribeDBClusterSnapshotsCommand}
1498
1499
  * @param args - command input.
1499
1500
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1500
1501
  */
1501
- waitUntilDBClusterSnapshotAvailable(args: DescribeDBClusterSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1502
+ waitUntilDBClusterSnapshotAvailable(args: DescribeDBClusterSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput>>;
1502
1503
  /**
1503
1504
  * @see {@link DescribeDBClusterSnapshotsCommand}
1504
1505
  * @param args - command input.
1505
1506
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1506
1507
  */
1507
- waitUntilDBClusterSnapshotDeleted(args: DescribeDBClusterSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1508
+ waitUntilDBClusterSnapshotDeleted(args: DescribeDBClusterSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput | DBClusterSnapshotNotFoundFault>>;
1508
1509
  /**
1509
1510
  * @see {@link DescribeDBInstancesCommand}
1510
1511
  * @param args - command input.
1511
1512
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1512
1513
  */
1513
- waitUntilDBInstanceAvailable(args: DescribeDBInstancesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1514
+ waitUntilDBInstanceAvailable(args: DescribeDBInstancesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBInstancesCommandOutput>>;
1514
1515
  /**
1515
1516
  * @see {@link DescribeDBInstancesCommand}
1516
1517
  * @param args - command input.
1517
1518
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1518
1519
  */
1519
- waitUntilDBInstanceDeleted(args: DescribeDBInstancesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1520
+ waitUntilDBInstanceDeleted(args: DescribeDBInstancesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBInstancesCommandOutput | DBInstanceNotFoundFault>>;
1520
1521
  /**
1521
1522
  * @see {@link DescribeDBSnapshotsCommand}
1522
1523
  * @param args - command input.
1523
1524
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1524
1525
  */
1525
- waitUntilDBSnapshotAvailable(args: DescribeDBSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1526
+ waitUntilDBSnapshotAvailable(args: DescribeDBSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBSnapshotsCommandOutput>>;
1526
1527
  /**
1527
1528
  * @see {@link DescribeDBSnapshotsCommand}
1528
1529
  * @param args - command input.
1529
1530
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1530
1531
  */
1531
- waitUntilDBSnapshotDeleted(args: DescribeDBSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1532
+ waitUntilDBSnapshotDeleted(args: DescribeDBSnapshotsCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeDBSnapshotsCommandOutput | DBSnapshotNotFoundFault>>;
1532
1533
  /**
1533
1534
  * @see {@link DescribeTenantDatabasesCommand}
1534
1535
  * @param args - command input.
1535
1536
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1536
1537
  */
1537
- waitUntilTenantDatabaseAvailable(args: DescribeTenantDatabasesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1538
+ waitUntilTenantDatabaseAvailable(args: DescribeTenantDatabasesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeTenantDatabasesCommandOutput>>;
1538
1539
  /**
1539
1540
  * @see {@link DescribeTenantDatabasesCommand}
1540
1541
  * @param args - command input.
1541
1542
  * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
1542
1543
  */
1543
- waitUntilTenantDatabaseDeleted(args: DescribeTenantDatabasesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult>;
1544
+ waitUntilTenantDatabaseDeleted(args: DescribeTenantDatabasesCommandInput, waiterConfig: number | Omit<WaiterConfiguration<RDS>, "client">): Promise<WaiterResult<DescribeTenantDatabasesCommandOutput | DBInstanceNotFoundFault>>;
1544
1545
  }
1545
1546
  /**
1546
1547
  * <fullname>Amazon Relational Database Service</fullname> <p/> <p>Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizeable capacity for an industry-standard relational database and manages common database administration tasks, freeing up developers to focus on what makes their applications and businesses unique.</p> <p>Amazon RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, Db2, or Amazon Aurora database server. These capabilities mean that the code, applications, and tools you already use today with your existing databases work with Amazon RDS without modification. Amazon RDS automatically backs up your database and maintains the database software that powers your DB instance. Amazon RDS is flexible: you can scale your DB instance's compute resources and storage capacity to meet your application's demand. As with all Amazon Web Services, there are no up-front investments, and you pay only for the resources you use.</p> <p>This interface reference for Amazon RDS contains documentation for a programming or command line interface you can use to manage Amazon RDS. Amazon RDS is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot, or during the maintenance window. The reference structure is as follows, and we list following some related topics from the user guide.</p> <p> <b>Amazon RDS API Reference</b> </p> <ul> <li> <p>For the alphabetical list of API actions, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Operations.html">API Actions</a>.</p> </li> <li> <p>For the alphabetical list of data types, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_Types.html">Data Types</a>.</p> </li> <li> <p>For a list of common query parameters, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonParameters.html">Common Parameters</a>.</p> </li> <li> <p>For descriptions of the error codes, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/CommonErrors.html">Common Errors</a>.</p> </li> </ul> <p> <b>Amazon RDS User Guide</b> </p> <ul> <li> <p>For a summary of the Amazon RDS interfaces, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Welcome.html#Welcome.Interfaces">Available RDS Interfaces</a>.</p> </li> <li> <p>For more information about how to use the Query API, see <a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Using_the_Query_API.html">Using the Query API</a>.</p> </li> </ul>
@@ -661,6 +661,12 @@ import {
661
661
  SwitchoverReadReplicaCommandInput,
662
662
  SwitchoverReadReplicaCommandOutput,
663
663
  } from "./commands/SwitchoverReadReplicaCommand";
664
+ import {
665
+ DBClusterNotFoundFault,
666
+ DBClusterSnapshotNotFoundFault,
667
+ DBInstanceNotFoundFault,
668
+ DBSnapshotNotFoundFault,
669
+ } from "./models/errors";
664
670
  import { RDSClient } from "./RDSClient";
665
671
  export interface RDS {
666
672
  addRoleToDBCluster(
@@ -3224,7 +3230,7 @@ export interface RDS {
3224
3230
  WaiterConfiguration<RDS>,
3225
3231
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3226
3232
  >
3227
- ): Promise<WaiterResult>;
3233
+ ): Promise<WaiterResult<DescribeDBClustersCommandOutput>>;
3228
3234
  waitUntilDBClusterDeleted(
3229
3235
  args: DescribeDBClustersCommandInput,
3230
3236
  waiterConfig:
@@ -3233,7 +3239,9 @@ export interface RDS {
3233
3239
  WaiterConfiguration<RDS>,
3234
3240
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3235
3241
  >
3236
- ): Promise<WaiterResult>;
3242
+ ): Promise<
3243
+ WaiterResult<DescribeDBClustersCommandOutput | DBClusterNotFoundFault>
3244
+ >;
3237
3245
  waitUntilDBClusterSnapshotAvailable(
3238
3246
  args: DescribeDBClusterSnapshotsCommandInput,
3239
3247
  waiterConfig:
@@ -3242,7 +3250,7 @@ export interface RDS {
3242
3250
  WaiterConfiguration<RDS>,
3243
3251
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3244
3252
  >
3245
- ): Promise<WaiterResult>;
3253
+ ): Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput>>;
3246
3254
  waitUntilDBClusterSnapshotDeleted(
3247
3255
  args: DescribeDBClusterSnapshotsCommandInput,
3248
3256
  waiterConfig:
@@ -3251,7 +3259,11 @@ export interface RDS {
3251
3259
  WaiterConfiguration<RDS>,
3252
3260
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3253
3261
  >
3254
- ): Promise<WaiterResult>;
3262
+ ): Promise<
3263
+ WaiterResult<
3264
+ DescribeDBClusterSnapshotsCommandOutput | DBClusterSnapshotNotFoundFault
3265
+ >
3266
+ >;
3255
3267
  waitUntilDBInstanceAvailable(
3256
3268
  args: DescribeDBInstancesCommandInput,
3257
3269
  waiterConfig:
@@ -3260,7 +3272,7 @@ export interface RDS {
3260
3272
  WaiterConfiguration<RDS>,
3261
3273
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3262
3274
  >
3263
- ): Promise<WaiterResult>;
3275
+ ): Promise<WaiterResult<DescribeDBInstancesCommandOutput>>;
3264
3276
  waitUntilDBInstanceDeleted(
3265
3277
  args: DescribeDBInstancesCommandInput,
3266
3278
  waiterConfig:
@@ -3269,7 +3281,9 @@ export interface RDS {
3269
3281
  WaiterConfiguration<RDS>,
3270
3282
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3271
3283
  >
3272
- ): Promise<WaiterResult>;
3284
+ ): Promise<
3285
+ WaiterResult<DescribeDBInstancesCommandOutput | DBInstanceNotFoundFault>
3286
+ >;
3273
3287
  waitUntilDBSnapshotAvailable(
3274
3288
  args: DescribeDBSnapshotsCommandInput,
3275
3289
  waiterConfig:
@@ -3278,7 +3292,7 @@ export interface RDS {
3278
3292
  WaiterConfiguration<RDS>,
3279
3293
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3280
3294
  >
3281
- ): Promise<WaiterResult>;
3295
+ ): Promise<WaiterResult<DescribeDBSnapshotsCommandOutput>>;
3282
3296
  waitUntilDBSnapshotDeleted(
3283
3297
  args: DescribeDBSnapshotsCommandInput,
3284
3298
  waiterConfig:
@@ -3287,7 +3301,9 @@ export interface RDS {
3287
3301
  WaiterConfiguration<RDS>,
3288
3302
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3289
3303
  >
3290
- ): Promise<WaiterResult>;
3304
+ ): Promise<
3305
+ WaiterResult<DescribeDBSnapshotsCommandOutput | DBSnapshotNotFoundFault>
3306
+ >;
3291
3307
  waitUntilTenantDatabaseAvailable(
3292
3308
  args: DescribeTenantDatabasesCommandInput,
3293
3309
  waiterConfig:
@@ -3296,7 +3312,7 @@ export interface RDS {
3296
3312
  WaiterConfiguration<RDS>,
3297
3313
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3298
3314
  >
3299
- ): Promise<WaiterResult>;
3315
+ ): Promise<WaiterResult<DescribeTenantDatabasesCommandOutput>>;
3300
3316
  waitUntilTenantDatabaseDeleted(
3301
3317
  args: DescribeTenantDatabasesCommandInput,
3302
3318
  waiterConfig:
@@ -3305,6 +3321,8 @@ export interface RDS {
3305
3321
  WaiterConfiguration<RDS>,
3306
3322
  Exclude<keyof WaiterConfiguration<RDS>, "client">
3307
3323
  >
3308
- ): Promise<WaiterResult>;
3324
+ ): Promise<
3325
+ WaiterResult<DescribeTenantDatabasesCommandOutput | DBInstanceNotFoundFault>
3326
+ >;
3309
3327
  }
3310
3328
  export declare class RDS extends RDSClient implements RDS {}
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBClustersCommandInput } from "../commands/DescribeDBClustersCommand";
2
+ import {
3
+ DescribeDBClustersCommandInput,
4
+ DescribeDBClustersCommandOutput,
5
+ } from "../commands/DescribeDBClustersCommand";
6
+ import { RDSServiceException } from "../models/RDSServiceException";
3
7
  import { RDSClient } from "../RDSClient";
4
8
  export declare const waitForDBClusterAvailable: (
5
9
  params: WaiterConfiguration<RDSClient>,
6
10
  input: DescribeDBClustersCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeDBClustersCommandOutput | RDSServiceException>
13
+ >;
8
14
  export declare const waitUntilDBClusterAvailable: (
9
15
  params: WaiterConfiguration<RDSClient>,
10
16
  input: DescribeDBClustersCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeDBClustersCommandOutput>>;
@@ -1,11 +1,20 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBClustersCommandInput } from "../commands/DescribeDBClustersCommand";
2
+ import {
3
+ DescribeDBClustersCommandInput,
4
+ DescribeDBClustersCommandOutput,
5
+ } from "../commands/DescribeDBClustersCommand";
6
+ import { DBClusterNotFoundFault } from "../models/errors";
7
+ import { RDSServiceException } from "../models/RDSServiceException";
3
8
  import { RDSClient } from "../RDSClient";
4
9
  export declare const waitForDBClusterDeleted: (
5
10
  params: WaiterConfiguration<RDSClient>,
6
11
  input: DescribeDBClustersCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeDBClustersCommandOutput | RDSServiceException>
14
+ >;
8
15
  export declare const waitUntilDBClusterDeleted: (
9
16
  params: WaiterConfiguration<RDSClient>,
10
17
  input: DescribeDBClustersCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<
19
+ WaiterResult<DescribeDBClustersCommandOutput | DBClusterNotFoundFault>
20
+ >;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBClusterSnapshotsCommandInput } from "../commands/DescribeDBClusterSnapshotsCommand";
2
+ import {
3
+ DescribeDBClusterSnapshotsCommandInput,
4
+ DescribeDBClusterSnapshotsCommandOutput,
5
+ } from "../commands/DescribeDBClusterSnapshotsCommand";
6
+ import { RDSServiceException } from "../models/RDSServiceException";
3
7
  import { RDSClient } from "../RDSClient";
4
8
  export declare const waitForDBClusterSnapshotAvailable: (
5
9
  params: WaiterConfiguration<RDSClient>,
6
10
  input: DescribeDBClusterSnapshotsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeDBClusterSnapshotsCommandOutput | RDSServiceException>
13
+ >;
8
14
  export declare const waitUntilDBClusterSnapshotAvailable: (
9
15
  params: WaiterConfiguration<RDSClient>,
10
16
  input: DescribeDBClusterSnapshotsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput>>;
@@ -1,11 +1,22 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBClusterSnapshotsCommandInput } from "../commands/DescribeDBClusterSnapshotsCommand";
2
+ import {
3
+ DescribeDBClusterSnapshotsCommandInput,
4
+ DescribeDBClusterSnapshotsCommandOutput,
5
+ } from "../commands/DescribeDBClusterSnapshotsCommand";
6
+ import { DBClusterSnapshotNotFoundFault } from "../models/errors";
7
+ import { RDSServiceException } from "../models/RDSServiceException";
3
8
  import { RDSClient } from "../RDSClient";
4
9
  export declare const waitForDBClusterSnapshotDeleted: (
5
10
  params: WaiterConfiguration<RDSClient>,
6
11
  input: DescribeDBClusterSnapshotsCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeDBClusterSnapshotsCommandOutput | RDSServiceException>
14
+ >;
8
15
  export declare const waitUntilDBClusterSnapshotDeleted: (
9
16
  params: WaiterConfiguration<RDSClient>,
10
17
  input: DescribeDBClusterSnapshotsCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<
19
+ WaiterResult<
20
+ DescribeDBClusterSnapshotsCommandOutput | DBClusterSnapshotNotFoundFault
21
+ >
22
+ >;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBInstancesCommandInput } from "../commands/DescribeDBInstancesCommand";
2
+ import {
3
+ DescribeDBInstancesCommandInput,
4
+ DescribeDBInstancesCommandOutput,
5
+ } from "../commands/DescribeDBInstancesCommand";
6
+ import { RDSServiceException } from "../models/RDSServiceException";
3
7
  import { RDSClient } from "../RDSClient";
4
8
  export declare const waitForDBInstanceAvailable: (
5
9
  params: WaiterConfiguration<RDSClient>,
6
10
  input: DescribeDBInstancesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeDBInstancesCommandOutput | RDSServiceException>
13
+ >;
8
14
  export declare const waitUntilDBInstanceAvailable: (
9
15
  params: WaiterConfiguration<RDSClient>,
10
16
  input: DescribeDBInstancesCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeDBInstancesCommandOutput>>;
@@ -1,11 +1,20 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBInstancesCommandInput } from "../commands/DescribeDBInstancesCommand";
2
+ import {
3
+ DescribeDBInstancesCommandInput,
4
+ DescribeDBInstancesCommandOutput,
5
+ } from "../commands/DescribeDBInstancesCommand";
6
+ import { DBInstanceNotFoundFault } from "../models/errors";
7
+ import { RDSServiceException } from "../models/RDSServiceException";
3
8
  import { RDSClient } from "../RDSClient";
4
9
  export declare const waitForDBInstanceDeleted: (
5
10
  params: WaiterConfiguration<RDSClient>,
6
11
  input: DescribeDBInstancesCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeDBInstancesCommandOutput | RDSServiceException>
14
+ >;
8
15
  export declare const waitUntilDBInstanceDeleted: (
9
16
  params: WaiterConfiguration<RDSClient>,
10
17
  input: DescribeDBInstancesCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<
19
+ WaiterResult<DescribeDBInstancesCommandOutput | DBInstanceNotFoundFault>
20
+ >;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBSnapshotsCommandInput } from "../commands/DescribeDBSnapshotsCommand";
2
+ import {
3
+ DescribeDBSnapshotsCommandInput,
4
+ DescribeDBSnapshotsCommandOutput,
5
+ } from "../commands/DescribeDBSnapshotsCommand";
6
+ import { RDSServiceException } from "../models/RDSServiceException";
3
7
  import { RDSClient } from "../RDSClient";
4
8
  export declare const waitForDBSnapshotAvailable: (
5
9
  params: WaiterConfiguration<RDSClient>,
6
10
  input: DescribeDBSnapshotsCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeDBSnapshotsCommandOutput | RDSServiceException>
13
+ >;
8
14
  export declare const waitUntilDBSnapshotAvailable: (
9
15
  params: WaiterConfiguration<RDSClient>,
10
16
  input: DescribeDBSnapshotsCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeDBSnapshotsCommandOutput>>;
@@ -1,11 +1,20 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeDBSnapshotsCommandInput } from "../commands/DescribeDBSnapshotsCommand";
2
+ import {
3
+ DescribeDBSnapshotsCommandInput,
4
+ DescribeDBSnapshotsCommandOutput,
5
+ } from "../commands/DescribeDBSnapshotsCommand";
6
+ import { DBSnapshotNotFoundFault } from "../models/errors";
7
+ import { RDSServiceException } from "../models/RDSServiceException";
3
8
  import { RDSClient } from "../RDSClient";
4
9
  export declare const waitForDBSnapshotDeleted: (
5
10
  params: WaiterConfiguration<RDSClient>,
6
11
  input: DescribeDBSnapshotsCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeDBSnapshotsCommandOutput | RDSServiceException>
14
+ >;
8
15
  export declare const waitUntilDBSnapshotDeleted: (
9
16
  params: WaiterConfiguration<RDSClient>,
10
17
  input: DescribeDBSnapshotsCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<
19
+ WaiterResult<DescribeDBSnapshotsCommandOutput | DBSnapshotNotFoundFault>
20
+ >;
@@ -1,11 +1,17 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
2
+ import {
3
+ DescribeTenantDatabasesCommandInput,
4
+ DescribeTenantDatabasesCommandOutput,
5
+ } from "../commands/DescribeTenantDatabasesCommand";
6
+ import { RDSServiceException } from "../models/RDSServiceException";
3
7
  import { RDSClient } from "../RDSClient";
4
8
  export declare const waitForTenantDatabaseAvailable: (
5
9
  params: WaiterConfiguration<RDSClient>,
6
10
  input: DescribeTenantDatabasesCommandInput
7
- ) => Promise<WaiterResult>;
11
+ ) => Promise<
12
+ WaiterResult<DescribeTenantDatabasesCommandOutput | RDSServiceException>
13
+ >;
8
14
  export declare const waitUntilTenantDatabaseAvailable: (
9
15
  params: WaiterConfiguration<RDSClient>,
10
16
  input: DescribeTenantDatabasesCommandInput
11
- ) => Promise<WaiterResult>;
17
+ ) => Promise<WaiterResult<DescribeTenantDatabasesCommandOutput>>;
@@ -1,11 +1,20 @@
1
1
  import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
- import { DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
2
+ import {
3
+ DescribeTenantDatabasesCommandInput,
4
+ DescribeTenantDatabasesCommandOutput,
5
+ } from "../commands/DescribeTenantDatabasesCommand";
6
+ import { DBInstanceNotFoundFault } from "../models/errors";
7
+ import { RDSServiceException } from "../models/RDSServiceException";
3
8
  import { RDSClient } from "../RDSClient";
4
9
  export declare const waitForTenantDatabaseDeleted: (
5
10
  params: WaiterConfiguration<RDSClient>,
6
11
  input: DescribeTenantDatabasesCommandInput
7
- ) => Promise<WaiterResult>;
12
+ ) => Promise<
13
+ WaiterResult<DescribeTenantDatabasesCommandOutput | RDSServiceException>
14
+ >;
8
15
  export declare const waitUntilTenantDatabaseDeleted: (
9
16
  params: WaiterConfiguration<RDSClient>,
10
17
  input: DescribeTenantDatabasesCommandInput
11
- ) => Promise<WaiterResult>;
18
+ ) => Promise<
19
+ WaiterResult<DescribeTenantDatabasesCommandOutput | DBInstanceNotFoundFault>
20
+ >;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBClustersCommandInput } from "../commands/DescribeDBClustersCommand";
2
+ import { type DescribeDBClustersCommandInput, type DescribeDBClustersCommandOutput } from "../commands/DescribeDBClustersCommand";
3
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
4
  import type { RDSClient } from "../RDSClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilDBClusterAvailable instead. waitForDBClusterAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForDBClusterAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForDBClusterAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult<DescribeDBClustersCommandOutput | RDSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeDBClustersCommand for polling.
13
14
  */
14
- export declare const waitUntilDBClusterAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilDBClusterAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult<DescribeDBClustersCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBClustersCommandInput } from "../commands/DescribeDBClustersCommand";
2
+ import { type DescribeDBClustersCommandInput, type DescribeDBClustersCommandOutput } from "../commands/DescribeDBClustersCommand";
3
+ import type { DBClusterNotFoundFault } from "../models/errors";
4
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
5
  import type { RDSClient } from "../RDSClient";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilDBClusterDeleted instead. waitForDBClusterDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForDBClusterDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForDBClusterDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult<DescribeDBClustersCommandOutput | RDSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeDBClustersCommand for polling.
13
15
  */
14
- export declare const waitUntilDBClusterDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilDBClusterDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClustersCommandInput) => Promise<WaiterResult<DescribeDBClustersCommandOutput | DBClusterNotFoundFault>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBClusterSnapshotsCommandInput } from "../commands/DescribeDBClusterSnapshotsCommand";
2
+ import { type DescribeDBClusterSnapshotsCommandInput, type DescribeDBClusterSnapshotsCommandOutput } from "../commands/DescribeDBClusterSnapshotsCommand";
3
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
4
  import type { RDSClient } from "../RDSClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilDBClusterSnapshotAvailable instead. waitForDBClusterSnapshotAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForDBClusterSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForDBClusterSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput | RDSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeDBClusterSnapshotsCommand for polling.
13
14
  */
14
- export declare const waitUntilDBClusterSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilDBClusterSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBClusterSnapshotsCommandInput } from "../commands/DescribeDBClusterSnapshotsCommand";
2
+ import { type DescribeDBClusterSnapshotsCommandInput, type DescribeDBClusterSnapshotsCommandOutput } from "../commands/DescribeDBClusterSnapshotsCommand";
3
+ import type { DBClusterSnapshotNotFoundFault } from "../models/errors";
4
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
5
  import type { RDSClient } from "../RDSClient";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilDBClusterSnapshotDeleted instead. waitForDBClusterSnapshotDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForDBClusterSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForDBClusterSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput | RDSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeDBClusterSnapshotsCommand for polling.
13
15
  */
14
- export declare const waitUntilDBClusterSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilDBClusterSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBClusterSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBClusterSnapshotsCommandOutput | DBClusterSnapshotNotFoundFault>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBInstancesCommandInput } from "../commands/DescribeDBInstancesCommand";
2
+ import { type DescribeDBInstancesCommandInput, type DescribeDBInstancesCommandOutput } from "../commands/DescribeDBInstancesCommand";
3
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
4
  import type { RDSClient } from "../RDSClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilDBInstanceAvailable instead. waitForDBInstanceAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForDBInstanceAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForDBInstanceAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult<DescribeDBInstancesCommandOutput | RDSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeDBInstancesCommand for polling.
13
14
  */
14
- export declare const waitUntilDBInstanceAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilDBInstanceAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult<DescribeDBInstancesCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBInstancesCommandInput } from "../commands/DescribeDBInstancesCommand";
2
+ import { type DescribeDBInstancesCommandInput, type DescribeDBInstancesCommandOutput } from "../commands/DescribeDBInstancesCommand";
3
+ import type { DBInstanceNotFoundFault } from "../models/errors";
4
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
5
  import type { RDSClient } from "../RDSClient";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilDBInstanceDeleted instead. waitForDBInstanceDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForDBInstanceDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForDBInstanceDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult<DescribeDBInstancesCommandOutput | RDSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeDBInstancesCommand for polling.
13
15
  */
14
- export declare const waitUntilDBInstanceDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilDBInstanceDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBInstancesCommandInput) => Promise<WaiterResult<DescribeDBInstancesCommandOutput | DBInstanceNotFoundFault>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBSnapshotsCommandInput } from "../commands/DescribeDBSnapshotsCommand";
2
+ import { type DescribeDBSnapshotsCommandInput, type DescribeDBSnapshotsCommandOutput } from "../commands/DescribeDBSnapshotsCommand";
3
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
4
  import type { RDSClient } from "../RDSClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilDBSnapshotAvailable instead. waitForDBSnapshotAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForDBSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForDBSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBSnapshotsCommandOutput | RDSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeDBSnapshotsCommand for polling.
13
14
  */
14
- export declare const waitUntilDBSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilDBSnapshotAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBSnapshotsCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeDBSnapshotsCommandInput } from "../commands/DescribeDBSnapshotsCommand";
2
+ import { type DescribeDBSnapshotsCommandInput, type DescribeDBSnapshotsCommandOutput } from "../commands/DescribeDBSnapshotsCommand";
3
+ import type { DBSnapshotNotFoundFault } from "../models/errors";
4
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
5
  import type { RDSClient } from "../RDSClient";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilDBSnapshotDeleted instead. waitForDBSnapshotDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForDBSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForDBSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBSnapshotsCommandOutput | RDSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeDBSnapshotsCommand for polling.
13
15
  */
14
- export declare const waitUntilDBSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilDBSnapshotDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeDBSnapshotsCommandInput) => Promise<WaiterResult<DescribeDBSnapshotsCommandOutput | DBSnapshotNotFoundFault>>;
@@ -1,14 +1,15 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
2
+ import { type DescribeTenantDatabasesCommandInput, type DescribeTenantDatabasesCommandOutput } from "../commands/DescribeTenantDatabasesCommand";
3
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
4
  import type { RDSClient } from "../RDSClient";
4
5
  /**
5
6
  *
6
7
  * @deprecated Use waitUntilTenantDatabaseAvailable instead. waitForTenantDatabaseAvailable does not throw error in non-success cases.
7
8
  */
8
- export declare const waitForTenantDatabaseAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
9
+ export declare const waitForTenantDatabaseAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult<DescribeTenantDatabasesCommandOutput | RDSServiceException>>;
9
10
  /**
10
11
  *
11
12
  * @param params - Waiter configuration options.
12
13
  * @param input - The input to DescribeTenantDatabasesCommand for polling.
13
14
  */
14
- export declare const waitUntilTenantDatabaseAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
15
+ export declare const waitUntilTenantDatabaseAvailable: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult<DescribeTenantDatabasesCommandOutput>>;
@@ -1,14 +1,16 @@
1
1
  import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
2
- import { type DescribeTenantDatabasesCommandInput } from "../commands/DescribeTenantDatabasesCommand";
2
+ import { type DescribeTenantDatabasesCommandInput, type DescribeTenantDatabasesCommandOutput } from "../commands/DescribeTenantDatabasesCommand";
3
+ import type { DBInstanceNotFoundFault } from "../models/errors";
4
+ import type { RDSServiceException } from "../models/RDSServiceException";
3
5
  import type { RDSClient } from "../RDSClient";
4
6
  /**
5
7
  *
6
8
  * @deprecated Use waitUntilTenantDatabaseDeleted instead. waitForTenantDatabaseDeleted does not throw error in non-success cases.
7
9
  */
8
- export declare const waitForTenantDatabaseDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
10
+ export declare const waitForTenantDatabaseDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult<DescribeTenantDatabasesCommandOutput | RDSServiceException>>;
9
11
  /**
10
12
  *
11
13
  * @param params - Waiter configuration options.
12
14
  * @param input - The input to DescribeTenantDatabasesCommand for polling.
13
15
  */
14
- export declare const waitUntilTenantDatabaseDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult>;
16
+ export declare const waitUntilTenantDatabaseDeleted: (params: WaiterConfiguration<RDSClient>, input: DescribeTenantDatabasesCommandInput) => Promise<WaiterResult<DescribeTenantDatabasesCommandOutput | DBInstanceNotFoundFault>>;
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.1037.0",
4
+ "version": "3.1038.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-rds",
@@ -27,18 +27,18 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.974.5",
31
- "@aws-sdk/credential-provider-node": "^3.972.36",
30
+ "@aws-sdk/core": "^3.974.6",
31
+ "@aws-sdk/credential-provider-node": "^3.972.37",
32
32
  "@aws-sdk/middleware-host-header": "^3.972.10",
33
33
  "@aws-sdk/middleware-logger": "^3.972.10",
34
34
  "@aws-sdk/middleware-recursion-detection": "^3.972.11",
35
35
  "@aws-sdk/middleware-sdk-rds": "^3.972.22",
36
- "@aws-sdk/middleware-user-agent": "^3.972.35",
36
+ "@aws-sdk/middleware-user-agent": "^3.972.36",
37
37
  "@aws-sdk/region-config-resolver": "^3.972.13",
38
38
  "@aws-sdk/types": "^3.973.8",
39
39
  "@aws-sdk/util-endpoints": "^3.996.8",
40
40
  "@aws-sdk/util-user-agent-browser": "^3.972.10",
41
- "@aws-sdk/util-user-agent-node": "^3.973.21",
41
+ "@aws-sdk/util-user-agent-node": "^3.973.22",
42
42
  "@smithy/config-resolver": "^4.4.17",
43
43
  "@smithy/core": "^3.23.17",
44
44
  "@smithy/fetch-http-handler": "^5.3.17",
@@ -46,7 +46,7 @@
46
46
  "@smithy/invalid-dependency": "^4.2.14",
47
47
  "@smithy/middleware-content-length": "^4.2.14",
48
48
  "@smithy/middleware-endpoint": "^4.4.32",
49
- "@smithy/middleware-retry": "^4.5.5",
49
+ "@smithy/middleware-retry": "^4.5.6",
50
50
  "@smithy/middleware-serde": "^4.2.20",
51
51
  "@smithy/middleware-stack": "^4.2.14",
52
52
  "@smithy/node-config-provider": "^4.3.14",
@@ -62,9 +62,9 @@
62
62
  "@smithy/util-defaults-mode-node": "^4.2.54",
63
63
  "@smithy/util-endpoints": "^3.4.2",
64
64
  "@smithy/util-middleware": "^4.2.14",
65
- "@smithy/util-retry": "^4.3.4",
65
+ "@smithy/util-retry": "^4.3.5",
66
66
  "@smithy/util-utf8": "^4.2.2",
67
- "@smithy/util-waiter": "^4.2.16",
67
+ "@smithy/util-waiter": "^4.3.0",
68
68
  "tslib": "^2.6.2"
69
69
  },
70
70
  "devDependencies": {