@aws-sdk/client-docdb 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,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DocDBServiceException as __BaseException } from "./DocDBServiceException";
2
3
  /**
3
4
  * <p>Represents the input to <a>AddSourceIdentifierToSubscription</a>.
4
5
  * </p>
@@ -114,18 +115,24 @@ export declare namespace AddSourceIdentifierToSubscriptionResult {
114
115
  /**
115
116
  * <p>The requested source could not be found. </p>
116
117
  */
117
- export interface SourceNotFoundFault extends __SmithyException, $MetadataBearer {
118
- name: "SourceNotFoundFault";
119
- $fault: "client";
120
- message?: string;
118
+ export declare class SourceNotFoundFault extends __BaseException {
119
+ readonly name: "SourceNotFoundFault";
120
+ readonly $fault: "client";
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<SourceNotFoundFault, __BaseException>);
121
125
  }
122
126
  /**
123
127
  * <p>The subscription name does not exist. </p>
124
128
  */
125
- export interface SubscriptionNotFoundFault extends __SmithyException, $MetadataBearer {
126
- name: "SubscriptionNotFoundFault";
127
- $fault: "client";
128
- message?: string;
129
+ export declare class SubscriptionNotFoundFault extends __BaseException {
130
+ readonly name: "SubscriptionNotFoundFault";
131
+ readonly $fault: "client";
132
+ /**
133
+ * @internal
134
+ */
135
+ constructor(opts: __ExceptionOptionType<SubscriptionNotFoundFault, __BaseException>);
129
136
  }
130
137
  /**
131
138
  * <p>Metadata assigned to an Amazon DocumentDB resource consisting of a key-value pair.</p>
@@ -171,28 +178,37 @@ export declare namespace AddTagsToResourceMessage {
171
178
  * <p>
172
179
  * <code>DBClusterIdentifier</code> doesn't refer to an existing cluster. </p>
173
180
  */
174
- export interface DBClusterNotFoundFault extends __SmithyException, $MetadataBearer {
175
- name: "DBClusterNotFoundFault";
176
- $fault: "client";
177
- message?: string;
181
+ export declare class DBClusterNotFoundFault extends __BaseException {
182
+ readonly name: "DBClusterNotFoundFault";
183
+ readonly $fault: "client";
184
+ /**
185
+ * @internal
186
+ */
187
+ constructor(opts: __ExceptionOptionType<DBClusterNotFoundFault, __BaseException>);
178
188
  }
179
189
  /**
180
190
  * <p>
181
191
  * <code>DBInstanceIdentifier</code> doesn't refer to an existing instance. </p>
182
192
  */
183
- export interface DBInstanceNotFoundFault extends __SmithyException, $MetadataBearer {
184
- name: "DBInstanceNotFoundFault";
185
- $fault: "client";
186
- message?: string;
193
+ export declare class DBInstanceNotFoundFault extends __BaseException {
194
+ readonly name: "DBInstanceNotFoundFault";
195
+ readonly $fault: "client";
196
+ /**
197
+ * @internal
198
+ */
199
+ constructor(opts: __ExceptionOptionType<DBInstanceNotFoundFault, __BaseException>);
187
200
  }
188
201
  /**
189
202
  * <p>
190
203
  * <code>DBSnapshotIdentifier</code> doesn't refer to an existing snapshot. </p>
191
204
  */
192
- export interface DBSnapshotNotFoundFault extends __SmithyException, $MetadataBearer {
193
- name: "DBSnapshotNotFoundFault";
194
- $fault: "client";
195
- message?: string;
205
+ export declare class DBSnapshotNotFoundFault extends __BaseException {
206
+ readonly name: "DBSnapshotNotFoundFault";
207
+ readonly $fault: "client";
208
+ /**
209
+ * @internal
210
+ */
211
+ constructor(opts: __ExceptionOptionType<DBSnapshotNotFoundFault, __BaseException>);
196
212
  }
197
213
  /**
198
214
  * <p>Represents the input to <a>ApplyPendingMaintenanceAction</a>.
@@ -321,27 +337,36 @@ export declare namespace ApplyPendingMaintenanceActionResult {
321
337
  /**
322
338
  * <p>The cluster isn't in a valid state.</p>
323
339
  */
324
- export interface InvalidDBClusterStateFault extends __SmithyException, $MetadataBearer {
325
- name: "InvalidDBClusterStateFault";
326
- $fault: "client";
327
- message?: string;
340
+ export declare class InvalidDBClusterStateFault extends __BaseException {
341
+ readonly name: "InvalidDBClusterStateFault";
342
+ readonly $fault: "client";
343
+ /**
344
+ * @internal
345
+ */
346
+ constructor(opts: __ExceptionOptionType<InvalidDBClusterStateFault, __BaseException>);
328
347
  }
329
348
  /**
330
349
  * <p> The specified instance isn't in the <i>available</i> state.
331
350
  * </p>
332
351
  */
333
- export interface InvalidDBInstanceStateFault extends __SmithyException, $MetadataBearer {
334
- name: "InvalidDBInstanceStateFault";
335
- $fault: "client";
336
- message?: string;
352
+ export declare class InvalidDBInstanceStateFault extends __BaseException {
353
+ readonly name: "InvalidDBInstanceStateFault";
354
+ readonly $fault: "client";
355
+ /**
356
+ * @internal
357
+ */
358
+ constructor(opts: __ExceptionOptionType<InvalidDBInstanceStateFault, __BaseException>);
337
359
  }
338
360
  /**
339
361
  * <p>The specified resource ID was not found.</p>
340
362
  */
341
- export interface ResourceNotFoundFault extends __SmithyException, $MetadataBearer {
342
- name: "ResourceNotFoundFault";
343
- $fault: "client";
344
- message?: string;
363
+ export declare class ResourceNotFoundFault extends __BaseException {
364
+ readonly name: "ResourceNotFoundFault";
365
+ readonly $fault: "client";
366
+ /**
367
+ * @internal
368
+ */
369
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundFault, __BaseException>);
345
370
  }
346
371
  /**
347
372
  * <p>Represents the input to <a>CopyDBClusterParameterGroup</a>.
@@ -446,27 +471,36 @@ export declare namespace CopyDBClusterParameterGroupResult {
446
471
  /**
447
472
  * <p>A parameter group with the same name already exists.</p>
448
473
  */
449
- export interface DBParameterGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
450
- name: "DBParameterGroupAlreadyExistsFault";
451
- $fault: "client";
452
- message?: string;
474
+ export declare class DBParameterGroupAlreadyExistsFault extends __BaseException {
475
+ readonly name: "DBParameterGroupAlreadyExistsFault";
476
+ readonly $fault: "client";
477
+ /**
478
+ * @internal
479
+ */
480
+ constructor(opts: __ExceptionOptionType<DBParameterGroupAlreadyExistsFault, __BaseException>);
453
481
  }
454
482
  /**
455
483
  * <p>
456
484
  * <code>DBParameterGroupName</code> doesn't refer to an existing parameter group. </p>
457
485
  */
458
- export interface DBParameterGroupNotFoundFault extends __SmithyException, $MetadataBearer {
459
- name: "DBParameterGroupNotFoundFault";
460
- $fault: "client";
461
- message?: string;
486
+ export declare class DBParameterGroupNotFoundFault extends __BaseException {
487
+ readonly name: "DBParameterGroupNotFoundFault";
488
+ readonly $fault: "client";
489
+ /**
490
+ * @internal
491
+ */
492
+ constructor(opts: __ExceptionOptionType<DBParameterGroupNotFoundFault, __BaseException>);
462
493
  }
463
494
  /**
464
495
  * <p>This request would cause you to exceed the allowed number of parameter groups.</p>
465
496
  */
466
- export interface DBParameterGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
467
- name: "DBParameterGroupQuotaExceededFault";
468
- $fault: "client";
469
- message?: string;
497
+ export declare class DBParameterGroupQuotaExceededFault extends __BaseException {
498
+ readonly name: "DBParameterGroupQuotaExceededFault";
499
+ readonly $fault: "client";
500
+ /**
501
+ * @internal
502
+ */
503
+ constructor(opts: __ExceptionOptionType<DBParameterGroupQuotaExceededFault, __BaseException>);
470
504
  }
471
505
  /**
472
506
  * <p>Represents the input to <a>CopyDBClusterSnapshot</a>.
@@ -689,43 +723,58 @@ export declare namespace CopyDBClusterSnapshotResult {
689
723
  /**
690
724
  * <p>You already have a cluster snapshot with the given identifier.</p>
691
725
  */
692
- export interface DBClusterSnapshotAlreadyExistsFault extends __SmithyException, $MetadataBearer {
693
- name: "DBClusterSnapshotAlreadyExistsFault";
694
- $fault: "client";
695
- message?: string;
726
+ export declare class DBClusterSnapshotAlreadyExistsFault extends __BaseException {
727
+ readonly name: "DBClusterSnapshotAlreadyExistsFault";
728
+ readonly $fault: "client";
729
+ /**
730
+ * @internal
731
+ */
732
+ constructor(opts: __ExceptionOptionType<DBClusterSnapshotAlreadyExistsFault, __BaseException>);
696
733
  }
697
734
  /**
698
735
  * <p>
699
736
  * <code>DBClusterSnapshotIdentifier</code> doesn't refer to an existing cluster snapshot. </p>
700
737
  */
701
- export interface DBClusterSnapshotNotFoundFault extends __SmithyException, $MetadataBearer {
702
- name: "DBClusterSnapshotNotFoundFault";
703
- $fault: "client";
704
- message?: string;
738
+ export declare class DBClusterSnapshotNotFoundFault extends __BaseException {
739
+ readonly name: "DBClusterSnapshotNotFoundFault";
740
+ readonly $fault: "client";
741
+ /**
742
+ * @internal
743
+ */
744
+ constructor(opts: __ExceptionOptionType<DBClusterSnapshotNotFoundFault, __BaseException>);
705
745
  }
706
746
  /**
707
747
  * <p>The provided value isn't a valid cluster snapshot state.</p>
708
748
  */
709
- export interface InvalidDBClusterSnapshotStateFault extends __SmithyException, $MetadataBearer {
710
- name: "InvalidDBClusterSnapshotStateFault";
711
- $fault: "client";
712
- message?: string;
749
+ export declare class InvalidDBClusterSnapshotStateFault extends __BaseException {
750
+ readonly name: "InvalidDBClusterSnapshotStateFault";
751
+ readonly $fault: "client";
752
+ /**
753
+ * @internal
754
+ */
755
+ constructor(opts: __ExceptionOptionType<InvalidDBClusterSnapshotStateFault, __BaseException>);
713
756
  }
714
757
  /**
715
758
  * <p>An error occurred when accessing an KMS key.</p>
716
759
  */
717
- export interface KMSKeyNotAccessibleFault extends __SmithyException, $MetadataBearer {
718
- name: "KMSKeyNotAccessibleFault";
719
- $fault: "client";
720
- message?: string;
760
+ export declare class KMSKeyNotAccessibleFault extends __BaseException {
761
+ readonly name: "KMSKeyNotAccessibleFault";
762
+ readonly $fault: "client";
763
+ /**
764
+ * @internal
765
+ */
766
+ constructor(opts: __ExceptionOptionType<KMSKeyNotAccessibleFault, __BaseException>);
721
767
  }
722
768
  /**
723
769
  * <p>The request would cause you to exceed the allowed number of snapshots.</p>
724
770
  */
725
- export interface SnapshotQuotaExceededFault extends __SmithyException, $MetadataBearer {
726
- name: "SnapshotQuotaExceededFault";
727
- $fault: "client";
728
- message?: string;
771
+ export declare class SnapshotQuotaExceededFault extends __BaseException {
772
+ readonly name: "SnapshotQuotaExceededFault";
773
+ readonly $fault: "client";
774
+ /**
775
+ * @internal
776
+ */
777
+ constructor(opts: __ExceptionOptionType<SnapshotQuotaExceededFault, __BaseException>);
729
778
  }
730
779
  /**
731
780
  * <p>Represents the input to <a>CreateDBCluster</a>.
@@ -1166,103 +1215,139 @@ export declare namespace CreateDBClusterResult {
1166
1215
  /**
1167
1216
  * <p>You already have a cluster with the given identifier.</p>
1168
1217
  */
1169
- export interface DBClusterAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1170
- name: "DBClusterAlreadyExistsFault";
1171
- $fault: "client";
1172
- message?: string;
1218
+ export declare class DBClusterAlreadyExistsFault extends __BaseException {
1219
+ readonly name: "DBClusterAlreadyExistsFault";
1220
+ readonly $fault: "client";
1221
+ /**
1222
+ * @internal
1223
+ */
1224
+ constructor(opts: __ExceptionOptionType<DBClusterAlreadyExistsFault, __BaseException>);
1173
1225
  }
1174
1226
  /**
1175
1227
  * <p>
1176
1228
  * <code>DBClusterParameterGroupName</code> doesn't refer to an existing cluster parameter group. </p>
1177
1229
  */
1178
- export interface DBClusterParameterGroupNotFoundFault extends __SmithyException, $MetadataBearer {
1179
- name: "DBClusterParameterGroupNotFoundFault";
1180
- $fault: "client";
1181
- message?: string;
1230
+ export declare class DBClusterParameterGroupNotFoundFault extends __BaseException {
1231
+ readonly name: "DBClusterParameterGroupNotFoundFault";
1232
+ readonly $fault: "client";
1233
+ /**
1234
+ * @internal
1235
+ */
1236
+ constructor(opts: __ExceptionOptionType<DBClusterParameterGroupNotFoundFault, __BaseException>);
1182
1237
  }
1183
1238
  /**
1184
1239
  * <p>The cluster can't be created because you have reached the maximum allowed quota of clusters.</p>
1185
1240
  */
1186
- export interface DBClusterQuotaExceededFault extends __SmithyException, $MetadataBearer {
1187
- name: "DBClusterQuotaExceededFault";
1188
- $fault: "client";
1189
- message?: string;
1241
+ export declare class DBClusterQuotaExceededFault extends __BaseException {
1242
+ readonly name: "DBClusterQuotaExceededFault";
1243
+ readonly $fault: "client";
1244
+ /**
1245
+ * @internal
1246
+ */
1247
+ constructor(opts: __ExceptionOptionType<DBClusterQuotaExceededFault, __BaseException>);
1190
1248
  }
1191
1249
  /**
1192
1250
  * <p>Subnets in the subnet group should cover at least two Availability Zones unless there is only one Availability Zone.</p>
1193
1251
  */
1194
- export interface DBSubnetGroupDoesNotCoverEnoughAZs extends __SmithyException, $MetadataBearer {
1195
- name: "DBSubnetGroupDoesNotCoverEnoughAZs";
1196
- $fault: "client";
1197
- message?: string;
1252
+ export declare class DBSubnetGroupDoesNotCoverEnoughAZs extends __BaseException {
1253
+ readonly name: "DBSubnetGroupDoesNotCoverEnoughAZs";
1254
+ readonly $fault: "client";
1255
+ /**
1256
+ * @internal
1257
+ */
1258
+ constructor(opts: __ExceptionOptionType<DBSubnetGroupDoesNotCoverEnoughAZs, __BaseException>);
1198
1259
  }
1199
1260
  /**
1200
1261
  * <p>
1201
1262
  * <code>DBSubnetGroupName</code> doesn't refer to an existing subnet group. </p>
1202
1263
  */
1203
- export interface DBSubnetGroupNotFoundFault extends __SmithyException, $MetadataBearer {
1204
- name: "DBSubnetGroupNotFoundFault";
1205
- $fault: "client";
1206
- message?: string;
1264
+ export declare class DBSubnetGroupNotFoundFault extends __BaseException {
1265
+ readonly name: "DBSubnetGroupNotFoundFault";
1266
+ readonly $fault: "client";
1267
+ /**
1268
+ * @internal
1269
+ */
1270
+ constructor(opts: __ExceptionOptionType<DBSubnetGroupNotFoundFault, __BaseException>);
1207
1271
  }
1208
1272
  /**
1209
1273
  * <p>The <code>GlobalClusterIdentifier</code> doesn't refer to an existing global cluster.</p>
1210
1274
  */
1211
- export interface GlobalClusterNotFoundFault extends __SmithyException, $MetadataBearer {
1212
- name: "GlobalClusterNotFoundFault";
1213
- $fault: "client";
1214
- message?: string;
1275
+ export declare class GlobalClusterNotFoundFault extends __BaseException {
1276
+ readonly name: "GlobalClusterNotFoundFault";
1277
+ readonly $fault: "client";
1278
+ /**
1279
+ * @internal
1280
+ */
1281
+ constructor(opts: __ExceptionOptionType<GlobalClusterNotFoundFault, __BaseException>);
1215
1282
  }
1216
1283
  /**
1217
1284
  * <p>There is not enough storage available for the current action. You might be able to resolve this error by updating your subnet group to use different Availability Zones that have more storage available. </p>
1218
1285
  */
1219
- export interface InsufficientStorageClusterCapacityFault extends __SmithyException, $MetadataBearer {
1220
- name: "InsufficientStorageClusterCapacityFault";
1221
- $fault: "client";
1222
- message?: string;
1286
+ export declare class InsufficientStorageClusterCapacityFault extends __BaseException {
1287
+ readonly name: "InsufficientStorageClusterCapacityFault";
1288
+ readonly $fault: "client";
1289
+ /**
1290
+ * @internal
1291
+ */
1292
+ constructor(opts: __ExceptionOptionType<InsufficientStorageClusterCapacityFault, __BaseException>);
1223
1293
  }
1224
1294
  /**
1225
1295
  * <p>The subnet group can't be deleted because it's in use.</p>
1226
1296
  */
1227
- export interface InvalidDBSubnetGroupStateFault extends __SmithyException, $MetadataBearer {
1228
- name: "InvalidDBSubnetGroupStateFault";
1229
- $fault: "client";
1230
- message?: string;
1297
+ export declare class InvalidDBSubnetGroupStateFault extends __BaseException {
1298
+ readonly name: "InvalidDBSubnetGroupStateFault";
1299
+ readonly $fault: "client";
1300
+ /**
1301
+ * @internal
1302
+ */
1303
+ constructor(opts: __ExceptionOptionType<InvalidDBSubnetGroupStateFault, __BaseException>);
1231
1304
  }
1232
1305
  /**
1233
1306
  * <p>The requested operation can't be performed while the cluster is in this state.</p>
1234
1307
  */
1235
- export interface InvalidGlobalClusterStateFault extends __SmithyException, $MetadataBearer {
1236
- name: "InvalidGlobalClusterStateFault";
1237
- $fault: "client";
1238
- message?: string;
1308
+ export declare class InvalidGlobalClusterStateFault extends __BaseException {
1309
+ readonly name: "InvalidGlobalClusterStateFault";
1310
+ readonly $fault: "client";
1311
+ /**
1312
+ * @internal
1313
+ */
1314
+ constructor(opts: __ExceptionOptionType<InvalidGlobalClusterStateFault, __BaseException>);
1239
1315
  }
1240
1316
  /**
1241
1317
  * <p>The requested subnet is not valid, or multiple subnets were requested that are not all
1242
1318
  * in a common virtual private cloud (VPC).</p>
1243
1319
  */
1244
- export interface InvalidSubnet extends __SmithyException, $MetadataBearer {
1245
- name: "InvalidSubnet";
1246
- $fault: "client";
1247
- message?: string;
1320
+ export declare class InvalidSubnet extends __BaseException {
1321
+ readonly name: "InvalidSubnet";
1322
+ readonly $fault: "client";
1323
+ /**
1324
+ * @internal
1325
+ */
1326
+ constructor(opts: __ExceptionOptionType<InvalidSubnet, __BaseException>);
1248
1327
  }
1249
1328
  /**
1250
1329
  * <p>The subnet group doesn't cover all Availability Zones after it is created
1251
1330
  * because of changes that were made.</p>
1252
1331
  */
1253
- export interface InvalidVPCNetworkStateFault extends __SmithyException, $MetadataBearer {
1254
- name: "InvalidVPCNetworkStateFault";
1255
- $fault: "client";
1256
- message?: string;
1332
+ export declare class InvalidVPCNetworkStateFault extends __BaseException {
1333
+ readonly name: "InvalidVPCNetworkStateFault";
1334
+ readonly $fault: "client";
1335
+ /**
1336
+ * @internal
1337
+ */
1338
+ constructor(opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>);
1257
1339
  }
1258
1340
  /**
1259
1341
  * <p>The request would cause you to exceed the allowed amount of storage available across
1260
1342
  * all instances.</p>
1261
1343
  */
1262
- export interface StorageQuotaExceededFault extends __SmithyException, $MetadataBearer {
1263
- name: "StorageQuotaExceededFault";
1264
- $fault: "client";
1265
- message?: string;
1344
+ export declare class StorageQuotaExceededFault extends __BaseException {
1345
+ readonly name: "StorageQuotaExceededFault";
1346
+ readonly $fault: "client";
1347
+ /**
1348
+ * @internal
1349
+ */
1350
+ constructor(opts: __ExceptionOptionType<StorageQuotaExceededFault, __BaseException>);
1266
1351
  }
1267
1352
  /**
1268
1353
  * <p>Represents the input of <a>CreateDBClusterParameterGroup</a>.</p>
@@ -1378,10 +1463,13 @@ export declare namespace CreateDBClusterSnapshotResult {
1378
1463
  * <p>The specified CIDR IP or Amazon EC2 security group isn't authorized for the specified security group.</p>
1379
1464
  * <p>Amazon DocumentDB also might not be authorized to perform necessary actions on your behalf using IAM.</p>
1380
1465
  */
1381
- export interface AuthorizationNotFoundFault extends __SmithyException, $MetadataBearer {
1382
- name: "AuthorizationNotFoundFault";
1383
- $fault: "client";
1384
- message?: string;
1466
+ export declare class AuthorizationNotFoundFault extends __BaseException {
1467
+ readonly name: "AuthorizationNotFoundFault";
1468
+ readonly $fault: "client";
1469
+ /**
1470
+ * @internal
1471
+ */
1472
+ constructor(opts: __ExceptionOptionType<AuthorizationNotFoundFault, __BaseException>);
1385
1473
  }
1386
1474
  /**
1387
1475
  * <p>Represents the input to <a>CreateDBInstance</a>.</p>
@@ -1832,44 +1920,59 @@ export declare namespace CreateDBInstanceResult {
1832
1920
  /**
1833
1921
  * <p>You already have a instance with the given identifier.</p>
1834
1922
  */
1835
- export interface DBInstanceAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1836
- name: "DBInstanceAlreadyExistsFault";
1837
- $fault: "client";
1838
- message?: string;
1923
+ export declare class DBInstanceAlreadyExistsFault extends __BaseException {
1924
+ readonly name: "DBInstanceAlreadyExistsFault";
1925
+ readonly $fault: "client";
1926
+ /**
1927
+ * @internal
1928
+ */
1929
+ constructor(opts: __ExceptionOptionType<DBInstanceAlreadyExistsFault, __BaseException>);
1839
1930
  }
1840
1931
  /**
1841
1932
  * <p>
1842
1933
  * <code>DBSecurityGroupName</code> doesn't refer to an existing security group. </p>
1843
1934
  */
1844
- export interface DBSecurityGroupNotFoundFault extends __SmithyException, $MetadataBearer {
1845
- name: "DBSecurityGroupNotFoundFault";
1846
- $fault: "client";
1847
- message?: string;
1935
+ export declare class DBSecurityGroupNotFoundFault extends __BaseException {
1936
+ readonly name: "DBSecurityGroupNotFoundFault";
1937
+ readonly $fault: "client";
1938
+ /**
1939
+ * @internal
1940
+ */
1941
+ constructor(opts: __ExceptionOptionType<DBSecurityGroupNotFoundFault, __BaseException>);
1848
1942
  }
1849
1943
  /**
1850
1944
  * <p>The request would cause you to exceed the allowed number of instances.</p>
1851
1945
  */
1852
- export interface InstanceQuotaExceededFault extends __SmithyException, $MetadataBearer {
1853
- name: "InstanceQuotaExceededFault";
1854
- $fault: "client";
1855
- message?: string;
1946
+ export declare class InstanceQuotaExceededFault extends __BaseException {
1947
+ readonly name: "InstanceQuotaExceededFault";
1948
+ readonly $fault: "client";
1949
+ /**
1950
+ * @internal
1951
+ */
1952
+ constructor(opts: __ExceptionOptionType<InstanceQuotaExceededFault, __BaseException>);
1856
1953
  }
1857
1954
  /**
1858
1955
  * <p>The specified instance class isn't available in the specified Availability Zone.</p>
1859
1956
  */
1860
- export interface InsufficientDBInstanceCapacityFault extends __SmithyException, $MetadataBearer {
1861
- name: "InsufficientDBInstanceCapacityFault";
1862
- $fault: "client";
1863
- message?: string;
1957
+ export declare class InsufficientDBInstanceCapacityFault extends __BaseException {
1958
+ readonly name: "InsufficientDBInstanceCapacityFault";
1959
+ readonly $fault: "client";
1960
+ /**
1961
+ * @internal
1962
+ */
1963
+ constructor(opts: __ExceptionOptionType<InsufficientDBInstanceCapacityFault, __BaseException>);
1864
1964
  }
1865
1965
  /**
1866
1966
  * <p>Storage of the specified <code>StorageType</code> can't be associated with the DB
1867
1967
  * instance. </p>
1868
1968
  */
1869
- export interface StorageTypeNotSupportedFault extends __SmithyException, $MetadataBearer {
1870
- name: "StorageTypeNotSupportedFault";
1871
- $fault: "client";
1872
- message?: string;
1969
+ export declare class StorageTypeNotSupportedFault extends __BaseException {
1970
+ readonly name: "StorageTypeNotSupportedFault";
1971
+ readonly $fault: "client";
1972
+ /**
1973
+ * @internal
1974
+ */
1975
+ constructor(opts: __ExceptionOptionType<StorageTypeNotSupportedFault, __BaseException>);
1873
1976
  }
1874
1977
  /**
1875
1978
  * <p>Represents the input to <a>CreateDBSubnetGroup</a>.</p>
@@ -1918,26 +2021,35 @@ export declare namespace CreateDBSubnetGroupResult {
1918
2021
  * <p>
1919
2022
  * <code>DBSubnetGroupName</code> is already being used by an existing subnet group. </p>
1920
2023
  */
1921
- export interface DBSubnetGroupAlreadyExistsFault extends __SmithyException, $MetadataBearer {
1922
- name: "DBSubnetGroupAlreadyExistsFault";
1923
- $fault: "client";
1924
- message?: string;
2024
+ export declare class DBSubnetGroupAlreadyExistsFault extends __BaseException {
2025
+ readonly name: "DBSubnetGroupAlreadyExistsFault";
2026
+ readonly $fault: "client";
2027
+ /**
2028
+ * @internal
2029
+ */
2030
+ constructor(opts: __ExceptionOptionType<DBSubnetGroupAlreadyExistsFault, __BaseException>);
1925
2031
  }
1926
2032
  /**
1927
2033
  * <p>The request would cause you to exceed the allowed number of subnet groups.</p>
1928
2034
  */
1929
- export interface DBSubnetGroupQuotaExceededFault extends __SmithyException, $MetadataBearer {
1930
- name: "DBSubnetGroupQuotaExceededFault";
1931
- $fault: "client";
1932
- message?: string;
2035
+ export declare class DBSubnetGroupQuotaExceededFault extends __BaseException {
2036
+ readonly name: "DBSubnetGroupQuotaExceededFault";
2037
+ readonly $fault: "client";
2038
+ /**
2039
+ * @internal
2040
+ */
2041
+ constructor(opts: __ExceptionOptionType<DBSubnetGroupQuotaExceededFault, __BaseException>);
1933
2042
  }
1934
2043
  /**
1935
2044
  * <p>The request would cause you to exceed the allowed number of subnets in a subnet group.</p>
1936
2045
  */
1937
- export interface DBSubnetQuotaExceededFault extends __SmithyException, $MetadataBearer {
1938
- name: "DBSubnetQuotaExceededFault";
1939
- $fault: "client";
1940
- message?: string;
2046
+ export declare class DBSubnetQuotaExceededFault extends __BaseException {
2047
+ readonly name: "DBSubnetQuotaExceededFault";
2048
+ readonly $fault: "client";
2049
+ /**
2050
+ * @internal
2051
+ */
2052
+ constructor(opts: __ExceptionOptionType<DBSubnetQuotaExceededFault, __BaseException>);
1941
2053
  }
1942
2054
  /**
1943
2055
  * <p>Represents the input to <a>CreateEventSubscription</a>.</p>
@@ -2022,50 +2134,68 @@ export declare namespace CreateEventSubscriptionResult {
2022
2134
  /**
2023
2135
  * <p>You have reached the maximum number of event subscriptions. </p>
2024
2136
  */
2025
- export interface EventSubscriptionQuotaExceededFault extends __SmithyException, $MetadataBearer {
2026
- name: "EventSubscriptionQuotaExceededFault";
2027
- $fault: "client";
2028
- message?: string;
2137
+ export declare class EventSubscriptionQuotaExceededFault extends __BaseException {
2138
+ readonly name: "EventSubscriptionQuotaExceededFault";
2139
+ readonly $fault: "client";
2140
+ /**
2141
+ * @internal
2142
+ */
2143
+ constructor(opts: __ExceptionOptionType<EventSubscriptionQuotaExceededFault, __BaseException>);
2029
2144
  }
2030
2145
  /**
2031
2146
  * <p>Amazon SNS has responded that there is a problem with the specified topic. </p>
2032
2147
  */
2033
- export interface SNSInvalidTopicFault extends __SmithyException, $MetadataBearer {
2034
- name: "SNSInvalidTopicFault";
2035
- $fault: "client";
2036
- message?: string;
2148
+ export declare class SNSInvalidTopicFault extends __BaseException {
2149
+ readonly name: "SNSInvalidTopicFault";
2150
+ readonly $fault: "client";
2151
+ /**
2152
+ * @internal
2153
+ */
2154
+ constructor(opts: __ExceptionOptionType<SNSInvalidTopicFault, __BaseException>);
2037
2155
  }
2038
2156
  /**
2039
2157
  * <p>You do not have permission to publish to the SNS topic Amazon Resource Name (ARN). </p>
2040
2158
  */
2041
- export interface SNSNoAuthorizationFault extends __SmithyException, $MetadataBearer {
2042
- name: "SNSNoAuthorizationFault";
2043
- $fault: "client";
2044
- message?: string;
2159
+ export declare class SNSNoAuthorizationFault extends __BaseException {
2160
+ readonly name: "SNSNoAuthorizationFault";
2161
+ readonly $fault: "client";
2162
+ /**
2163
+ * @internal
2164
+ */
2165
+ constructor(opts: __ExceptionOptionType<SNSNoAuthorizationFault, __BaseException>);
2045
2166
  }
2046
2167
  /**
2047
2168
  * <p>The SNS topic Amazon Resource Name (ARN) does not exist. </p>
2048
2169
  */
2049
- export interface SNSTopicArnNotFoundFault extends __SmithyException, $MetadataBearer {
2050
- name: "SNSTopicArnNotFoundFault";
2051
- $fault: "client";
2052
- message?: string;
2170
+ export declare class SNSTopicArnNotFoundFault extends __BaseException {
2171
+ readonly name: "SNSTopicArnNotFoundFault";
2172
+ readonly $fault: "client";
2173
+ /**
2174
+ * @internal
2175
+ */
2176
+ constructor(opts: __ExceptionOptionType<SNSTopicArnNotFoundFault, __BaseException>);
2053
2177
  }
2054
2178
  /**
2055
2179
  * <p>The provided subscription name already exists. </p>
2056
2180
  */
2057
- export interface SubscriptionAlreadyExistFault extends __SmithyException, $MetadataBearer {
2058
- name: "SubscriptionAlreadyExistFault";
2059
- $fault: "client";
2060
- message?: string;
2181
+ export declare class SubscriptionAlreadyExistFault extends __BaseException {
2182
+ readonly name: "SubscriptionAlreadyExistFault";
2183
+ readonly $fault: "client";
2184
+ /**
2185
+ * @internal
2186
+ */
2187
+ constructor(opts: __ExceptionOptionType<SubscriptionAlreadyExistFault, __BaseException>);
2061
2188
  }
2062
2189
  /**
2063
2190
  * <p>The provided category does not exist. </p>
2064
2191
  */
2065
- export interface SubscriptionCategoryNotFoundFault extends __SmithyException, $MetadataBearer {
2066
- name: "SubscriptionCategoryNotFoundFault";
2067
- $fault: "client";
2068
- message?: string;
2192
+ export declare class SubscriptionCategoryNotFoundFault extends __BaseException {
2193
+ readonly name: "SubscriptionCategoryNotFoundFault";
2194
+ readonly $fault: "client";
2195
+ /**
2196
+ * @internal
2197
+ */
2198
+ constructor(opts: __ExceptionOptionType<SubscriptionCategoryNotFoundFault, __BaseException>);
2069
2199
  }
2070
2200
  /**
2071
2201
  * <p>Represents the input to <a>CreateGlobalCluster</a>.</p>
@@ -2195,18 +2325,24 @@ export declare namespace CreateGlobalClusterResult {
2195
2325
  /**
2196
2326
  * <p>The <code>GlobalClusterIdentifier</code> already exists. Choose a new global cluster identifier (unique name) to create a new global cluster. </p>
2197
2327
  */
2198
- export interface GlobalClusterAlreadyExistsFault extends __SmithyException, $MetadataBearer {
2199
- name: "GlobalClusterAlreadyExistsFault";
2200
- $fault: "client";
2201
- message?: string;
2328
+ export declare class GlobalClusterAlreadyExistsFault extends __BaseException {
2329
+ readonly name: "GlobalClusterAlreadyExistsFault";
2330
+ readonly $fault: "client";
2331
+ /**
2332
+ * @internal
2333
+ */
2334
+ constructor(opts: __ExceptionOptionType<GlobalClusterAlreadyExistsFault, __BaseException>);
2202
2335
  }
2203
2336
  /**
2204
2337
  * <p>The number of global clusters for this account is already at the maximum allowed.</p>
2205
2338
  */
2206
- export interface GlobalClusterQuotaExceededFault extends __SmithyException, $MetadataBearer {
2207
- name: "GlobalClusterQuotaExceededFault";
2208
- $fault: "client";
2209
- message?: string;
2339
+ export declare class GlobalClusterQuotaExceededFault extends __BaseException {
2340
+ readonly name: "GlobalClusterQuotaExceededFault";
2341
+ readonly $fault: "client";
2342
+ /**
2343
+ * @internal
2344
+ */
2345
+ constructor(opts: __ExceptionOptionType<GlobalClusterQuotaExceededFault, __BaseException>);
2210
2346
  }
2211
2347
  /**
2212
2348
  * <p>Represents the input to <a>DeleteDBCluster</a>.</p>
@@ -2299,10 +2435,13 @@ export declare namespace DeleteDBClusterParameterGroupMessage {
2299
2435
  /**
2300
2436
  * <p>The parameter group is in use, or it is in a state that is not valid. If you are trying to delete the parameter group, you can't delete it when the parameter group is in this state.</p>
2301
2437
  */
2302
- export interface InvalidDBParameterGroupStateFault extends __SmithyException, $MetadataBearer {
2303
- name: "InvalidDBParameterGroupStateFault";
2304
- $fault: "client";
2305
- message?: string;
2438
+ export declare class InvalidDBParameterGroupStateFault extends __BaseException {
2439
+ readonly name: "InvalidDBParameterGroupStateFault";
2440
+ readonly $fault: "client";
2441
+ /**
2442
+ * @internal
2443
+ */
2444
+ constructor(opts: __ExceptionOptionType<InvalidDBParameterGroupStateFault, __BaseException>);
2306
2445
  }
2307
2446
  /**
2308
2447
  * <p>Represents the input to <a>DeleteDBClusterSnapshot</a>.</p>
@@ -2336,10 +2475,13 @@ export declare namespace DeleteDBClusterSnapshotResult {
2336
2475
  * <p>
2337
2476
  * <code>DBSnapshotIdentifier</code> is already being used by an existing snapshot. </p>
2338
2477
  */
2339
- export interface DBSnapshotAlreadyExistsFault extends __SmithyException, $MetadataBearer {
2340
- name: "DBSnapshotAlreadyExistsFault";
2341
- $fault: "client";
2342
- message?: string;
2478
+ export declare class DBSnapshotAlreadyExistsFault extends __BaseException {
2479
+ readonly name: "DBSnapshotAlreadyExistsFault";
2480
+ readonly $fault: "client";
2481
+ /**
2482
+ * @internal
2483
+ */
2484
+ constructor(opts: __ExceptionOptionType<DBSnapshotAlreadyExistsFault, __BaseException>);
2343
2485
  }
2344
2486
  /**
2345
2487
  * <p>Represents the input to <a>DeleteDBInstance</a>.</p>
@@ -2400,10 +2542,13 @@ export declare namespace DeleteDBSubnetGroupMessage {
2400
2542
  /**
2401
2543
  * <p> The subnet isn't in the <i>available</i> state. </p>
2402
2544
  */
2403
- export interface InvalidDBSubnetStateFault extends __SmithyException, $MetadataBearer {
2404
- name: "InvalidDBSubnetStateFault";
2405
- $fault: "client";
2406
- message?: string;
2545
+ export declare class InvalidDBSubnetStateFault extends __BaseException {
2546
+ readonly name: "InvalidDBSubnetStateFault";
2547
+ readonly $fault: "client";
2548
+ /**
2549
+ * @internal
2550
+ */
2551
+ constructor(opts: __ExceptionOptionType<InvalidDBSubnetStateFault, __BaseException>);
2407
2552
  }
2408
2553
  /**
2409
2554
  * <p>Represents the input to <a>DeleteEventSubscription</a>.</p>
@@ -2436,10 +2581,13 @@ export declare namespace DeleteEventSubscriptionResult {
2436
2581
  * <p>Someone else might be modifying a subscription. Wait a few seconds, and try
2437
2582
  * again.</p>
2438
2583
  */
2439
- export interface InvalidEventSubscriptionStateFault extends __SmithyException, $MetadataBearer {
2440
- name: "InvalidEventSubscriptionStateFault";
2441
- $fault: "client";
2442
- message?: string;
2584
+ export declare class InvalidEventSubscriptionStateFault extends __BaseException {
2585
+ readonly name: "InvalidEventSubscriptionStateFault";
2586
+ readonly $fault: "client";
2587
+ /**
2588
+ * @internal
2589
+ */
2590
+ constructor(opts: __ExceptionOptionType<InvalidEventSubscriptionStateFault, __BaseException>);
2443
2591
  }
2444
2592
  /**
2445
2593
  * <p>Represents the input to <a>DeleteGlobalCluster</a>.</p>
@@ -2533,10 +2681,13 @@ export declare namespace CertificateMessage {
2533
2681
  * <p>
2534
2682
  * <code>CertificateIdentifier</code> doesn't refer to an existing certificate. </p>
2535
2683
  */
2536
- export interface CertificateNotFoundFault extends __SmithyException, $MetadataBearer {
2537
- name: "CertificateNotFoundFault";
2538
- $fault: "client";
2539
- message?: string;
2684
+ export declare class CertificateNotFoundFault extends __BaseException {
2685
+ readonly name: "CertificateNotFoundFault";
2686
+ readonly $fault: "client";
2687
+ /**
2688
+ * @internal
2689
+ */
2690
+ constructor(opts: __ExceptionOptionType<CertificateNotFoundFault, __BaseException>);
2540
2691
  }
2541
2692
  /**
2542
2693
  * <p>A named set of filter values, used to return a more specific list of results. You can
@@ -3931,10 +4082,13 @@ export declare namespace TagListMessage {
3931
4082
  /**
3932
4083
  * <p>The state of the security group doesn't allow deletion.</p>
3933
4084
  */
3934
- export interface InvalidDBSecurityGroupStateFault extends __SmithyException, $MetadataBearer {
3935
- name: "InvalidDBSecurityGroupStateFault";
3936
- $fault: "client";
3937
- message?: string;
4085
+ export declare class InvalidDBSecurityGroupStateFault extends __BaseException {
4086
+ readonly name: "InvalidDBSecurityGroupStateFault";
4087
+ readonly $fault: "client";
4088
+ /**
4089
+ * @internal
4090
+ */
4091
+ constructor(opts: __ExceptionOptionType<InvalidDBSecurityGroupStateFault, __BaseException>);
3938
4092
  }
3939
4093
  /**
3940
4094
  * <p>The configuration setting for the log types to be enabled for export to Amazon
@@ -4210,19 +4364,25 @@ export declare namespace ModifyDBClusterSnapshotAttributeResult {
4210
4364
  * <p>You have exceeded the maximum number of accounts that you can share a manual DB
4211
4365
  * snapshot with. </p>
4212
4366
  */
4213
- export interface SharedSnapshotQuotaExceededFault extends __SmithyException, $MetadataBearer {
4214
- name: "SharedSnapshotQuotaExceededFault";
4215
- $fault: "client";
4216
- message?: string;
4367
+ export declare class SharedSnapshotQuotaExceededFault extends __BaseException {
4368
+ readonly name: "SharedSnapshotQuotaExceededFault";
4369
+ readonly $fault: "client";
4370
+ /**
4371
+ * @internal
4372
+ */
4373
+ constructor(opts: __ExceptionOptionType<SharedSnapshotQuotaExceededFault, __BaseException>);
4217
4374
  }
4218
4375
  /**
4219
4376
  * <p>The upgrade failed because a resource that the depends on can't be
4220
4377
  * modified.</p>
4221
4378
  */
4222
- export interface DBUpgradeDependencyFailureFault extends __SmithyException, $MetadataBearer {
4223
- name: "DBUpgradeDependencyFailureFault";
4224
- $fault: "client";
4225
- message?: string;
4379
+ export declare class DBUpgradeDependencyFailureFault extends __BaseException {
4380
+ readonly name: "DBUpgradeDependencyFailureFault";
4381
+ readonly $fault: "client";
4382
+ /**
4383
+ * @internal
4384
+ */
4385
+ constructor(opts: __ExceptionOptionType<DBUpgradeDependencyFailureFault, __BaseException>);
4226
4386
  }
4227
4387
  /**
4228
4388
  * <p>Represents the input to <a>ModifyDBInstance</a>.</p>
@@ -4365,10 +4525,13 @@ export declare namespace ModifyDBSubnetGroupResult {
4365
4525
  /**
4366
4526
  * <p>The subnet is already in use in the Availability Zone.</p>
4367
4527
  */
4368
- export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
4369
- name: "SubnetAlreadyInUse";
4370
- $fault: "client";
4371
- message?: string;
4528
+ export declare class SubnetAlreadyInUse extends __BaseException {
4529
+ readonly name: "SubnetAlreadyInUse";
4530
+ readonly $fault: "client";
4531
+ /**
4532
+ * @internal
4533
+ */
4534
+ constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
4372
4535
  }
4373
4536
  /**
4374
4537
  * <p>Represents the input to <a>ModifyEventSubscription</a>.</p>
@@ -4621,27 +4784,36 @@ export declare namespace ResetDBClusterParameterGroupMessage {
4621
4784
  /**
4622
4785
  * <p>The cluster doesn't have enough capacity for the current operation.</p>
4623
4786
  */
4624
- export interface InsufficientDBClusterCapacityFault extends __SmithyException, $MetadataBearer {
4625
- name: "InsufficientDBClusterCapacityFault";
4626
- $fault: "client";
4627
- message?: string;
4787
+ export declare class InsufficientDBClusterCapacityFault extends __BaseException {
4788
+ readonly name: "InsufficientDBClusterCapacityFault";
4789
+ readonly $fault: "client";
4790
+ /**
4791
+ * @internal
4792
+ */
4793
+ constructor(opts: __ExceptionOptionType<InsufficientDBClusterCapacityFault, __BaseException>);
4628
4794
  }
4629
4795
  /**
4630
4796
  * <p>The state of the snapshot doesn't allow deletion.</p>
4631
4797
  */
4632
- export interface InvalidDBSnapshotStateFault extends __SmithyException, $MetadataBearer {
4633
- name: "InvalidDBSnapshotStateFault";
4634
- $fault: "client";
4635
- message?: string;
4798
+ export declare class InvalidDBSnapshotStateFault extends __BaseException {
4799
+ readonly name: "InvalidDBSnapshotStateFault";
4800
+ readonly $fault: "client";
4801
+ /**
4802
+ * @internal
4803
+ */
4804
+ constructor(opts: __ExceptionOptionType<InvalidDBSnapshotStateFault, __BaseException>);
4636
4805
  }
4637
4806
  /**
4638
4807
  * <p>You cannot restore from a virtual private cloud (VPC) backup to a non-VPC DB
4639
4808
  * instance.</p>
4640
4809
  */
4641
- export interface InvalidRestoreFault extends __SmithyException, $MetadataBearer {
4642
- name: "InvalidRestoreFault";
4643
- $fault: "client";
4644
- message?: string;
4810
+ export declare class InvalidRestoreFault extends __BaseException {
4811
+ readonly name: "InvalidRestoreFault";
4812
+ readonly $fault: "client";
4813
+ /**
4814
+ * @internal
4815
+ */
4816
+ constructor(opts: __ExceptionOptionType<InvalidRestoreFault, __BaseException>);
4645
4817
  }
4646
4818
  /**
4647
4819
  * <p>Represents the input to <a>RestoreDBClusterFromSnapshot</a>.</p>