@aws-sdk/client-rds 3.52.0 → 3.53.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.
@@ -1,5 +1,6 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ActivityStreamMode, ActivityStreamStatus, AutomationMode, AvailabilityZone, Certificate, DBCluster, DBClusterSnapshotAttributesResult, DBInstance, DBInstanceAutomatedBackup, DBProxy, DBProxyEndpoint, DBProxyTargetGroup, DBSecurityGroup, DBSnapshot, DBSubnetGroup, EventSubscription, ExportTask, Filter, GlobalCluster, InstallationMedia, OptionGroup, OptionSetting, Parameter, ProcessorFeature, ReplicaMode, ResourcePendingMaintenanceActions, ScalingConfiguration, Tag, UserAuthConfig } from "./models_0";
3
+ import { RDSServiceException as __BaseException } from "./RDSServiceException";
3
4
  export declare enum TargetRole {
4
5
  READ_ONLY = "READ_ONLY",
5
6
  READ_WRITE = "READ_WRITE",
@@ -814,10 +815,11 @@ export declare namespace ReservedDBInstanceMessage {
814
815
  const filterSensitiveLog: (obj: ReservedDBInstanceMessage) => any;
815
816
  }
816
817
 
817
- export interface ReservedDBInstanceNotFoundFault extends __SmithyException, $MetadataBearer {
818
- name: "ReservedDBInstanceNotFoundFault";
819
- $fault: "client";
820
- message?: string;
818
+ export declare class ReservedDBInstanceNotFoundFault extends __BaseException {
819
+ readonly name: "ReservedDBInstanceNotFoundFault";
820
+ readonly $fault: "client";
821
+
822
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceNotFoundFault, __BaseException>);
821
823
  }
822
824
 
823
825
  export interface DescribeReservedDBInstancesOfferingsMessage {
@@ -883,10 +885,11 @@ export declare namespace ReservedDBInstancesOfferingMessage {
883
885
  const filterSensitiveLog: (obj: ReservedDBInstancesOfferingMessage) => any;
884
886
  }
885
887
 
886
- export interface ReservedDBInstancesOfferingNotFoundFault extends __SmithyException, $MetadataBearer {
887
- name: "ReservedDBInstancesOfferingNotFoundFault";
888
- $fault: "client";
889
- message?: string;
888
+ export declare class ReservedDBInstancesOfferingNotFoundFault extends __BaseException {
889
+ readonly name: "ReservedDBInstancesOfferingNotFoundFault";
890
+ readonly $fault: "client";
891
+
892
+ constructor(opts: __ExceptionOptionType<ReservedDBInstancesOfferingNotFoundFault, __BaseException>);
890
893
  }
891
894
 
892
895
  export interface DescribeSourceRegionsMessage {
@@ -999,10 +1002,11 @@ export declare namespace DescribeValidDBInstanceModificationsResult {
999
1002
  const filterSensitiveLog: (obj: DescribeValidDBInstanceModificationsResult) => any;
1000
1003
  }
1001
1004
 
1002
- export interface DBLogFileNotFoundFault extends __SmithyException, $MetadataBearer {
1003
- name: "DBLogFileNotFoundFault";
1004
- $fault: "client";
1005
- message?: string;
1005
+ export declare class DBLogFileNotFoundFault extends __BaseException {
1006
+ readonly name: "DBLogFileNotFoundFault";
1007
+ readonly $fault: "client";
1008
+
1009
+ constructor(opts: __ExceptionOptionType<DBLogFileNotFoundFault, __BaseException>);
1006
1010
  }
1007
1011
 
1008
1012
  export interface DownloadDBLogFilePortionDetails {
@@ -1086,10 +1090,11 @@ export declare namespace ImportInstallationMediaMessage {
1086
1090
  const filterSensitiveLog: (obj: ImportInstallationMediaMessage) => any;
1087
1091
  }
1088
1092
 
1089
- export interface InstallationMediaAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1090
- name: "InstallationMediaAlreadyExistsFault";
1091
- $fault: "client";
1092
- message?: string;
1093
+ export declare class InstallationMediaAlreadyExistsFault extends __BaseException {
1094
+ readonly name: "InstallationMediaAlreadyExistsFault";
1095
+ readonly $fault: "client";
1096
+
1097
+ constructor(opts: __ExceptionOptionType<InstallationMediaAlreadyExistsFault, __BaseException>);
1093
1098
  }
1094
1099
 
1095
1100
  export interface ListTagsForResourceMessage {
@@ -1146,10 +1151,11 @@ export declare namespace DBClusterCapacityInfo {
1146
1151
  const filterSensitiveLog: (obj: DBClusterCapacityInfo) => any;
1147
1152
  }
1148
1153
 
1149
- export interface InvalidDBClusterCapacityFault extends __SmithyException, $MetadataBearer {
1150
- name: "InvalidDBClusterCapacityFault";
1151
- $fault: "client";
1152
- message?: string;
1154
+ export declare class InvalidDBClusterCapacityFault extends __BaseException {
1155
+ readonly name: "InvalidDBClusterCapacityFault";
1156
+ readonly $fault: "client";
1157
+
1158
+ constructor(opts: __ExceptionOptionType<InvalidDBClusterCapacityFault, __BaseException>);
1153
1159
  }
1154
1160
  export interface ModifyCurrentDBClusterCapacityMessage {
1155
1161
 
@@ -1336,16 +1342,18 @@ export declare namespace ModifyDBClusterSnapshotAttributeResult {
1336
1342
  const filterSensitiveLog: (obj: ModifyDBClusterSnapshotAttributeResult) => any;
1337
1343
  }
1338
1344
 
1339
- export interface SharedSnapshotQuotaExceededFault extends __SmithyException, $MetadataBearer {
1340
- name: "SharedSnapshotQuotaExceededFault";
1341
- $fault: "client";
1342
- message?: string;
1345
+ export declare class SharedSnapshotQuotaExceededFault extends __BaseException {
1346
+ readonly name: "SharedSnapshotQuotaExceededFault";
1347
+ readonly $fault: "client";
1348
+
1349
+ constructor(opts: __ExceptionOptionType<SharedSnapshotQuotaExceededFault, __BaseException>);
1343
1350
  }
1344
1351
 
1345
- export interface DBUpgradeDependencyFailureFault extends __SmithyException, $MetadataBearer {
1346
- name: "DBUpgradeDependencyFailureFault";
1347
- $fault: "client";
1348
- message?: string;
1352
+ export declare class DBUpgradeDependencyFailureFault extends __BaseException {
1353
+ readonly name: "DBUpgradeDependencyFailureFault";
1354
+ readonly $fault: "client";
1355
+
1356
+ constructor(opts: __ExceptionOptionType<DBUpgradeDependencyFailureFault, __BaseException>);
1349
1357
  }
1350
1358
 
1351
1359
  export interface ModifyDBInstanceMessage {
@@ -1630,10 +1638,11 @@ export declare namespace ModifyDBSubnetGroupResult {
1630
1638
  const filterSensitiveLog: (obj: ModifyDBSubnetGroupResult) => any;
1631
1639
  }
1632
1640
 
1633
- export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
1634
- name: "SubnetAlreadyInUse";
1635
- $fault: "client";
1636
- message?: string;
1641
+ export declare class SubnetAlreadyInUse extends __BaseException {
1642
+ readonly name: "SubnetAlreadyInUse";
1643
+ readonly $fault: "client";
1644
+
1645
+ constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
1637
1646
  }
1638
1647
 
1639
1648
  export interface ModifyEventSubscriptionMessage {
@@ -1788,16 +1797,18 @@ export declare namespace PurchaseReservedDBInstancesOfferingResult {
1788
1797
  const filterSensitiveLog: (obj: PurchaseReservedDBInstancesOfferingResult) => any;
1789
1798
  }
1790
1799
 
1791
- export interface ReservedDBInstanceAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1792
- name: "ReservedDBInstanceAlreadyExistsFault";
1793
- $fault: "client";
1794
- message?: string;
1800
+ export declare class ReservedDBInstanceAlreadyExistsFault extends __BaseException {
1801
+ readonly name: "ReservedDBInstanceAlreadyExistsFault";
1802
+ readonly $fault: "client";
1803
+
1804
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceAlreadyExistsFault, __BaseException>);
1795
1805
  }
1796
1806
 
1797
- export interface ReservedDBInstanceQuotaExceededFault extends __SmithyException, $MetadataBearer {
1798
- name: "ReservedDBInstanceQuotaExceededFault";
1799
- $fault: "client";
1800
- message?: string;
1807
+ export declare class ReservedDBInstanceQuotaExceededFault extends __BaseException {
1808
+ readonly name: "ReservedDBInstanceQuotaExceededFault";
1809
+ readonly $fault: "client";
1810
+
1811
+ constructor(opts: __ExceptionOptionType<ReservedDBInstanceQuotaExceededFault, __BaseException>);
1801
1812
  }
1802
1813
  export interface RebootDBClusterMessage {
1803
1814
 
@@ -1835,16 +1846,18 @@ export declare namespace RebootDBInstanceResult {
1835
1846
  const filterSensitiveLog: (obj: RebootDBInstanceResult) => any;
1836
1847
  }
1837
1848
 
1838
- export interface DBProxyTargetAlreadyRegisteredFault extends __SmithyException, $MetadataBearer {
1839
- name: "DBProxyTargetAlreadyRegisteredFault";
1840
- $fault: "client";
1841
- message?: string;
1849
+ export declare class DBProxyTargetAlreadyRegisteredFault extends __BaseException {
1850
+ readonly name: "DBProxyTargetAlreadyRegisteredFault";
1851
+ readonly $fault: "client";
1852
+
1853
+ constructor(opts: __ExceptionOptionType<DBProxyTargetAlreadyRegisteredFault, __BaseException>);
1842
1854
  }
1843
1855
 
1844
- export interface InsufficientAvailableIPsInSubnetFault extends __SmithyException, $MetadataBearer {
1845
- name: "InsufficientAvailableIPsInSubnetFault";
1846
- $fault: "client";
1847
- message?: string;
1856
+ export declare class InsufficientAvailableIPsInSubnetFault extends __BaseException {
1857
+ readonly name: "InsufficientAvailableIPsInSubnetFault";
1858
+ readonly $fault: "client";
1859
+
1860
+ constructor(opts: __ExceptionOptionType<InsufficientAvailableIPsInSubnetFault, __BaseException>);
1848
1861
  }
1849
1862
  export interface RegisterDBProxyTargetsRequest {
1850
1863
 
@@ -1887,10 +1900,11 @@ export declare namespace RemoveFromGlobalClusterResult {
1887
1900
  const filterSensitiveLog: (obj: RemoveFromGlobalClusterResult) => any;
1888
1901
  }
1889
1902
 
1890
- export interface DBClusterRoleNotFoundFault extends __SmithyException, $MetadataBearer {
1891
- name: "DBClusterRoleNotFoundFault";
1892
- $fault: "client";
1893
- message?: string;
1903
+ export declare class DBClusterRoleNotFoundFault extends __BaseException {
1904
+ readonly name: "DBClusterRoleNotFoundFault";
1905
+ readonly $fault: "client";
1906
+
1907
+ constructor(opts: __ExceptionOptionType<DBClusterRoleNotFoundFault, __BaseException>);
1894
1908
  }
1895
1909
  export interface RemoveRoleFromDBClusterMessage {
1896
1910
 
@@ -1905,10 +1919,11 @@ export declare namespace RemoveRoleFromDBClusterMessage {
1905
1919
  const filterSensitiveLog: (obj: RemoveRoleFromDBClusterMessage) => any;
1906
1920
  }
1907
1921
 
1908
- export interface DBInstanceRoleNotFoundFault extends __SmithyException, $MetadataBearer {
1909
- name: "DBInstanceRoleNotFoundFault";
1910
- $fault: "client";
1911
- message?: string;
1922
+ export declare class DBInstanceRoleNotFoundFault extends __BaseException {
1923
+ readonly name: "DBInstanceRoleNotFoundFault";
1924
+ readonly $fault: "client";
1925
+
1926
+ constructor(opts: __ExceptionOptionType<DBInstanceRoleNotFoundFault, __BaseException>);
1912
1927
  }
1913
1928
  export interface RemoveRoleFromDBInstanceMessage {
1914
1929
 
@@ -1979,10 +1994,11 @@ export declare namespace ResetDBParameterGroupMessage {
1979
1994
  const filterSensitiveLog: (obj: ResetDBParameterGroupMessage) => any;
1980
1995
  }
1981
1996
 
1982
- export interface InvalidS3BucketFault extends __SmithyException, $MetadataBearer {
1983
- name: "InvalidS3BucketFault";
1984
- $fault: "client";
1985
- message?: string;
1997
+ export declare class InvalidS3BucketFault extends __BaseException {
1998
+ readonly name: "InvalidS3BucketFault";
1999
+ readonly $fault: "client";
2000
+
2001
+ constructor(opts: __ExceptionOptionType<InvalidS3BucketFault, __BaseException>);
1986
2002
  }
1987
2003
  export interface RestoreDBClusterFromS3Message {
1988
2004
 
@@ -2061,16 +2077,18 @@ export declare namespace RestoreDBClusterFromS3Result {
2061
2077
  const filterSensitiveLog: (obj: RestoreDBClusterFromS3Result) => any;
2062
2078
  }
2063
2079
 
2064
- export interface InsufficientDBClusterCapacityFault extends __SmithyException, $MetadataBearer {
2065
- name: "InsufficientDBClusterCapacityFault";
2066
- $fault: "client";
2067
- message?: string;
2080
+ export declare class InsufficientDBClusterCapacityFault extends __BaseException {
2081
+ readonly name: "InsufficientDBClusterCapacityFault";
2082
+ readonly $fault: "client";
2083
+
2084
+ constructor(opts: __ExceptionOptionType<InsufficientDBClusterCapacityFault, __BaseException>);
2068
2085
  }
2069
2086
 
2070
- export interface InvalidRestoreFault extends __SmithyException, $MetadataBearer {
2071
- name: "InvalidRestoreFault";
2072
- $fault: "client";
2073
- message?: string;
2087
+ export declare class InvalidRestoreFault extends __BaseException {
2088
+ readonly name: "InvalidRestoreFault";
2089
+ readonly $fault: "client";
2090
+
2091
+ constructor(opts: __ExceptionOptionType<InvalidRestoreFault, __BaseException>);
2074
2092
  }
2075
2093
 
2076
2094
  export interface RestoreDBClusterFromSnapshotMessage {
@@ -2384,10 +2402,11 @@ export declare namespace RestoreDBInstanceFromS3Result {
2384
2402
  const filterSensitiveLog: (obj: RestoreDBInstanceFromS3Result) => any;
2385
2403
  }
2386
2404
 
2387
- export interface PointInTimeRestoreNotEnabledFault extends __SmithyException, $MetadataBearer {
2388
- name: "PointInTimeRestoreNotEnabledFault";
2389
- $fault: "client";
2390
- message?: string;
2405
+ export declare class PointInTimeRestoreNotEnabledFault extends __BaseException {
2406
+ readonly name: "PointInTimeRestoreNotEnabledFault";
2407
+ readonly $fault: "client";
2408
+
2409
+ constructor(opts: __ExceptionOptionType<PointInTimeRestoreNotEnabledFault, __BaseException>);
2391
2410
  }
2392
2411
 
2393
2412
  export interface RestoreDBInstanceToPointInTimeMessage {
@@ -2590,34 +2609,39 @@ export declare namespace StartDBInstanceAutomatedBackupsReplicationResult {
2590
2609
  const filterSensitiveLog: (obj: StartDBInstanceAutomatedBackupsReplicationResult) => any;
2591
2610
  }
2592
2611
 
2593
- export interface ExportTaskAlreadyExistsFault extends __SmithyException, $MetadataBearer {
2594
- name: "ExportTaskAlreadyExistsFault";
2595
- $fault: "client";
2596
- message?: string;
2612
+ export declare class ExportTaskAlreadyExistsFault extends __BaseException {
2613
+ readonly name: "ExportTaskAlreadyExistsFault";
2614
+ readonly $fault: "client";
2615
+
2616
+ constructor(opts: __ExceptionOptionType<ExportTaskAlreadyExistsFault, __BaseException>);
2597
2617
  }
2598
2618
 
2599
- export interface IamRoleMissingPermissionsFault extends __SmithyException, $MetadataBearer {
2600
- name: "IamRoleMissingPermissionsFault";
2601
- $fault: "client";
2602
- message?: string;
2619
+ export declare class IamRoleMissingPermissionsFault extends __BaseException {
2620
+ readonly name: "IamRoleMissingPermissionsFault";
2621
+ readonly $fault: "client";
2622
+
2623
+ constructor(opts: __ExceptionOptionType<IamRoleMissingPermissionsFault, __BaseException>);
2603
2624
  }
2604
2625
 
2605
- export interface IamRoleNotFoundFault extends __SmithyException, $MetadataBearer {
2606
- name: "IamRoleNotFoundFault";
2607
- $fault: "client";
2608
- message?: string;
2626
+ export declare class IamRoleNotFoundFault extends __BaseException {
2627
+ readonly name: "IamRoleNotFoundFault";
2628
+ readonly $fault: "client";
2629
+
2630
+ constructor(opts: __ExceptionOptionType<IamRoleNotFoundFault, __BaseException>);
2609
2631
  }
2610
2632
 
2611
- export interface InvalidExportOnlyFault extends __SmithyException, $MetadataBearer {
2612
- name: "InvalidExportOnlyFault";
2613
- $fault: "client";
2614
- message?: string;
2633
+ export declare class InvalidExportOnlyFault extends __BaseException {
2634
+ readonly name: "InvalidExportOnlyFault";
2635
+ readonly $fault: "client";
2636
+
2637
+ constructor(opts: __ExceptionOptionType<InvalidExportOnlyFault, __BaseException>);
2615
2638
  }
2616
2639
 
2617
- export interface InvalidExportSourceStateFault extends __SmithyException, $MetadataBearer {
2618
- name: "InvalidExportSourceStateFault";
2619
- $fault: "client";
2620
- message?: string;
2640
+ export declare class InvalidExportSourceStateFault extends __BaseException {
2641
+ readonly name: "InvalidExportSourceStateFault";
2642
+ readonly $fault: "client";
2643
+
2644
+ constructor(opts: __ExceptionOptionType<InvalidExportSourceStateFault, __BaseException>);
2621
2645
  }
2622
2646
  export interface StartExportTaskMessage {
2623
2647
 
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.52.0",
4
+ "version": "3.53.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",
@@ -18,38 +18,38 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.52.0",
22
- "@aws-sdk/config-resolver": "3.52.0",
23
- "@aws-sdk/credential-provider-node": "3.52.0",
24
- "@aws-sdk/fetch-http-handler": "3.52.0",
25
- "@aws-sdk/hash-node": "3.52.0",
26
- "@aws-sdk/invalid-dependency": "3.52.0",
27
- "@aws-sdk/middleware-content-length": "3.52.0",
28
- "@aws-sdk/middleware-host-header": "3.52.0",
29
- "@aws-sdk/middleware-logger": "3.52.0",
30
- "@aws-sdk/middleware-retry": "3.52.0",
31
- "@aws-sdk/middleware-sdk-rds": "3.52.0",
32
- "@aws-sdk/middleware-serde": "3.52.0",
33
- "@aws-sdk/middleware-signing": "3.52.0",
34
- "@aws-sdk/middleware-stack": "3.52.0",
35
- "@aws-sdk/middleware-user-agent": "3.52.0",
36
- "@aws-sdk/node-config-provider": "3.52.0",
37
- "@aws-sdk/node-http-handler": "3.52.0",
38
- "@aws-sdk/protocol-http": "3.52.0",
39
- "@aws-sdk/smithy-client": "3.52.0",
40
- "@aws-sdk/types": "3.52.0",
41
- "@aws-sdk/url-parser": "3.52.0",
21
+ "@aws-sdk/client-sts": "3.53.0",
22
+ "@aws-sdk/config-resolver": "3.53.0",
23
+ "@aws-sdk/credential-provider-node": "3.53.0",
24
+ "@aws-sdk/fetch-http-handler": "3.53.0",
25
+ "@aws-sdk/hash-node": "3.53.0",
26
+ "@aws-sdk/invalid-dependency": "3.53.0",
27
+ "@aws-sdk/middleware-content-length": "3.53.0",
28
+ "@aws-sdk/middleware-host-header": "3.53.0",
29
+ "@aws-sdk/middleware-logger": "3.53.0",
30
+ "@aws-sdk/middleware-retry": "3.53.0",
31
+ "@aws-sdk/middleware-sdk-rds": "3.53.0",
32
+ "@aws-sdk/middleware-serde": "3.53.0",
33
+ "@aws-sdk/middleware-signing": "3.53.0",
34
+ "@aws-sdk/middleware-stack": "3.53.0",
35
+ "@aws-sdk/middleware-user-agent": "3.53.0",
36
+ "@aws-sdk/node-config-provider": "3.53.0",
37
+ "@aws-sdk/node-http-handler": "3.53.0",
38
+ "@aws-sdk/protocol-http": "3.53.0",
39
+ "@aws-sdk/smithy-client": "3.53.0",
40
+ "@aws-sdk/types": "3.53.0",
41
+ "@aws-sdk/url-parser": "3.53.0",
42
42
  "@aws-sdk/util-base64-browser": "3.52.0",
43
43
  "@aws-sdk/util-base64-node": "3.52.0",
44
44
  "@aws-sdk/util-body-length-browser": "3.52.0",
45
45
  "@aws-sdk/util-body-length-node": "3.52.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.52.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.52.0",
48
- "@aws-sdk/util-user-agent-browser": "3.52.0",
49
- "@aws-sdk/util-user-agent-node": "3.52.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.53.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.53.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.53.0",
49
+ "@aws-sdk/util-user-agent-node": "3.53.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.52.0",
51
51
  "@aws-sdk/util-utf8-node": "3.52.0",
52
- "@aws-sdk/util-waiter": "3.52.0",
52
+ "@aws-sdk/util-waiter": "3.53.0",
53
53
  "entities": "2.2.0",
54
54
  "fast-xml-parser": "3.19.0",
55
55
  "tslib": "^2.3.0"