@aws-sdk/client-docdb 3.934.0 → 3.935.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.
@@ -6,5 +6,7 @@ export { DocDBExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
- export * from "./models";
9
+ export * from "./models/enums";
10
+ export * from "./models/errors";
11
+ export * from "./models/models_0";
10
12
  export { DocDBServiceException } from "./models/DocDBServiceException";
@@ -0,0 +1,27 @@
1
+ export declare const FailoverStatus: {
2
+ readonly CANCELLING: "cancelling";
3
+ readonly FAILING_OVER: "failing-over";
4
+ readonly PENDING: "pending";
5
+ };
6
+ export type FailoverStatus =
7
+ (typeof FailoverStatus)[keyof typeof FailoverStatus];
8
+ export declare const GlobalClusterMemberSynchronizationStatus: {
9
+ readonly CONNECTED: "connected";
10
+ readonly PENDING_RESYNC: "pending-resync";
11
+ };
12
+ export type GlobalClusterMemberSynchronizationStatus =
13
+ (typeof GlobalClusterMemberSynchronizationStatus)[keyof typeof GlobalClusterMemberSynchronizationStatus];
14
+ export declare const ApplyMethod: {
15
+ readonly immediate: "immediate";
16
+ readonly pending_reboot: "pending-reboot";
17
+ };
18
+ export type ApplyMethod = (typeof ApplyMethod)[keyof typeof ApplyMethod];
19
+ export declare const SourceType: {
20
+ readonly db_cluster: "db-cluster";
21
+ readonly db_cluster_snapshot: "db-cluster-snapshot";
22
+ readonly db_instance: "db-instance";
23
+ readonly db_parameter_group: "db-parameter-group";
24
+ readonly db_security_group: "db-security-group";
25
+ readonly db_snapshot: "db-snapshot";
26
+ };
27
+ export type SourceType = (typeof SourceType)[keyof typeof SourceType];
@@ -0,0 +1,464 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { DocDBServiceException as __BaseException } from "./DocDBServiceException";
3
+ export declare class SourceNotFoundFault extends __BaseException {
4
+ readonly name: "SourceNotFoundFault";
5
+ readonly $fault: "client";
6
+ constructor(
7
+ opts: __ExceptionOptionType<SourceNotFoundFault, __BaseException>
8
+ );
9
+ }
10
+ export declare class SubscriptionNotFoundFault extends __BaseException {
11
+ readonly name: "SubscriptionNotFoundFault";
12
+ readonly $fault: "client";
13
+ constructor(
14
+ opts: __ExceptionOptionType<SubscriptionNotFoundFault, __BaseException>
15
+ );
16
+ }
17
+ export declare class DBClusterNotFoundFault extends __BaseException {
18
+ readonly name: "DBClusterNotFoundFault";
19
+ readonly $fault: "client";
20
+ constructor(
21
+ opts: __ExceptionOptionType<DBClusterNotFoundFault, __BaseException>
22
+ );
23
+ }
24
+ export declare class DBInstanceNotFoundFault extends __BaseException {
25
+ readonly name: "DBInstanceNotFoundFault";
26
+ readonly $fault: "client";
27
+ constructor(
28
+ opts: __ExceptionOptionType<DBInstanceNotFoundFault, __BaseException>
29
+ );
30
+ }
31
+ export declare class DBSnapshotNotFoundFault extends __BaseException {
32
+ readonly name: "DBSnapshotNotFoundFault";
33
+ readonly $fault: "client";
34
+ constructor(
35
+ opts: __ExceptionOptionType<DBSnapshotNotFoundFault, __BaseException>
36
+ );
37
+ }
38
+ export declare class InvalidDBClusterStateFault extends __BaseException {
39
+ readonly name: "InvalidDBClusterStateFault";
40
+ readonly $fault: "client";
41
+ constructor(
42
+ opts: __ExceptionOptionType<InvalidDBClusterStateFault, __BaseException>
43
+ );
44
+ }
45
+ export declare class InvalidDBInstanceStateFault extends __BaseException {
46
+ readonly name: "InvalidDBInstanceStateFault";
47
+ readonly $fault: "client";
48
+ constructor(
49
+ opts: __ExceptionOptionType<InvalidDBInstanceStateFault, __BaseException>
50
+ );
51
+ }
52
+ export declare class ResourceNotFoundFault extends __BaseException {
53
+ readonly name: "ResourceNotFoundFault";
54
+ readonly $fault: "client";
55
+ constructor(
56
+ opts: __ExceptionOptionType<ResourceNotFoundFault, __BaseException>
57
+ );
58
+ }
59
+ export declare class DBParameterGroupAlreadyExistsFault extends __BaseException {
60
+ readonly name: "DBParameterGroupAlreadyExistsFault";
61
+ readonly $fault: "client";
62
+ constructor(
63
+ opts: __ExceptionOptionType<
64
+ DBParameterGroupAlreadyExistsFault,
65
+ __BaseException
66
+ >
67
+ );
68
+ }
69
+ export declare class DBParameterGroupNotFoundFault extends __BaseException {
70
+ readonly name: "DBParameterGroupNotFoundFault";
71
+ readonly $fault: "client";
72
+ constructor(
73
+ opts: __ExceptionOptionType<DBParameterGroupNotFoundFault, __BaseException>
74
+ );
75
+ }
76
+ export declare class DBParameterGroupQuotaExceededFault extends __BaseException {
77
+ readonly name: "DBParameterGroupQuotaExceededFault";
78
+ readonly $fault: "client";
79
+ constructor(
80
+ opts: __ExceptionOptionType<
81
+ DBParameterGroupQuotaExceededFault,
82
+ __BaseException
83
+ >
84
+ );
85
+ }
86
+ export declare class DBClusterSnapshotAlreadyExistsFault extends __BaseException {
87
+ readonly name: "DBClusterSnapshotAlreadyExistsFault";
88
+ readonly $fault: "client";
89
+ constructor(
90
+ opts: __ExceptionOptionType<
91
+ DBClusterSnapshotAlreadyExistsFault,
92
+ __BaseException
93
+ >
94
+ );
95
+ }
96
+ export declare class DBClusterSnapshotNotFoundFault extends __BaseException {
97
+ readonly name: "DBClusterSnapshotNotFoundFault";
98
+ readonly $fault: "client";
99
+ constructor(
100
+ opts: __ExceptionOptionType<DBClusterSnapshotNotFoundFault, __BaseException>
101
+ );
102
+ }
103
+ export declare class InvalidDBClusterSnapshotStateFault extends __BaseException {
104
+ readonly name: "InvalidDBClusterSnapshotStateFault";
105
+ readonly $fault: "client";
106
+ constructor(
107
+ opts: __ExceptionOptionType<
108
+ InvalidDBClusterSnapshotStateFault,
109
+ __BaseException
110
+ >
111
+ );
112
+ }
113
+ export declare class KMSKeyNotAccessibleFault extends __BaseException {
114
+ readonly name: "KMSKeyNotAccessibleFault";
115
+ readonly $fault: "client";
116
+ constructor(
117
+ opts: __ExceptionOptionType<KMSKeyNotAccessibleFault, __BaseException>
118
+ );
119
+ }
120
+ export declare class SnapshotQuotaExceededFault extends __BaseException {
121
+ readonly name: "SnapshotQuotaExceededFault";
122
+ readonly $fault: "client";
123
+ constructor(
124
+ opts: __ExceptionOptionType<SnapshotQuotaExceededFault, __BaseException>
125
+ );
126
+ }
127
+ export declare class DBClusterAlreadyExistsFault extends __BaseException {
128
+ readonly name: "DBClusterAlreadyExistsFault";
129
+ readonly $fault: "client";
130
+ constructor(
131
+ opts: __ExceptionOptionType<DBClusterAlreadyExistsFault, __BaseException>
132
+ );
133
+ }
134
+ export declare class DBClusterParameterGroupNotFoundFault extends __BaseException {
135
+ readonly name: "DBClusterParameterGroupNotFoundFault";
136
+ readonly $fault: "client";
137
+ constructor(
138
+ opts: __ExceptionOptionType<
139
+ DBClusterParameterGroupNotFoundFault,
140
+ __BaseException
141
+ >
142
+ );
143
+ }
144
+ export declare class DBClusterQuotaExceededFault extends __BaseException {
145
+ readonly name: "DBClusterQuotaExceededFault";
146
+ readonly $fault: "client";
147
+ constructor(
148
+ opts: __ExceptionOptionType<DBClusterQuotaExceededFault, __BaseException>
149
+ );
150
+ }
151
+ export declare class DBSubnetGroupDoesNotCoverEnoughAZs extends __BaseException {
152
+ readonly name: "DBSubnetGroupDoesNotCoverEnoughAZs";
153
+ readonly $fault: "client";
154
+ constructor(
155
+ opts: __ExceptionOptionType<
156
+ DBSubnetGroupDoesNotCoverEnoughAZs,
157
+ __BaseException
158
+ >
159
+ );
160
+ }
161
+ export declare class DBSubnetGroupNotFoundFault extends __BaseException {
162
+ readonly name: "DBSubnetGroupNotFoundFault";
163
+ readonly $fault: "client";
164
+ constructor(
165
+ opts: __ExceptionOptionType<DBSubnetGroupNotFoundFault, __BaseException>
166
+ );
167
+ }
168
+ export declare class GlobalClusterNotFoundFault extends __BaseException {
169
+ readonly name: "GlobalClusterNotFoundFault";
170
+ readonly $fault: "client";
171
+ constructor(
172
+ opts: __ExceptionOptionType<GlobalClusterNotFoundFault, __BaseException>
173
+ );
174
+ }
175
+ export declare class InsufficientStorageClusterCapacityFault extends __BaseException {
176
+ readonly name: "InsufficientStorageClusterCapacityFault";
177
+ readonly $fault: "client";
178
+ constructor(
179
+ opts: __ExceptionOptionType<
180
+ InsufficientStorageClusterCapacityFault,
181
+ __BaseException
182
+ >
183
+ );
184
+ }
185
+ export declare class InvalidDBSubnetGroupStateFault extends __BaseException {
186
+ readonly name: "InvalidDBSubnetGroupStateFault";
187
+ readonly $fault: "client";
188
+ constructor(
189
+ opts: __ExceptionOptionType<InvalidDBSubnetGroupStateFault, __BaseException>
190
+ );
191
+ }
192
+ export declare class InvalidGlobalClusterStateFault extends __BaseException {
193
+ readonly name: "InvalidGlobalClusterStateFault";
194
+ readonly $fault: "client";
195
+ constructor(
196
+ opts: __ExceptionOptionType<InvalidGlobalClusterStateFault, __BaseException>
197
+ );
198
+ }
199
+ export declare class InvalidSubnet extends __BaseException {
200
+ readonly name: "InvalidSubnet";
201
+ readonly $fault: "client";
202
+ constructor(opts: __ExceptionOptionType<InvalidSubnet, __BaseException>);
203
+ }
204
+ export declare class InvalidVPCNetworkStateFault extends __BaseException {
205
+ readonly name: "InvalidVPCNetworkStateFault";
206
+ readonly $fault: "client";
207
+ constructor(
208
+ opts: __ExceptionOptionType<InvalidVPCNetworkStateFault, __BaseException>
209
+ );
210
+ }
211
+ export declare class NetworkTypeNotSupported extends __BaseException {
212
+ readonly name: "NetworkTypeNotSupported";
213
+ readonly $fault: "client";
214
+ constructor(
215
+ opts: __ExceptionOptionType<NetworkTypeNotSupported, __BaseException>
216
+ );
217
+ }
218
+ export declare class StorageQuotaExceededFault extends __BaseException {
219
+ readonly name: "StorageQuotaExceededFault";
220
+ readonly $fault: "client";
221
+ constructor(
222
+ opts: __ExceptionOptionType<StorageQuotaExceededFault, __BaseException>
223
+ );
224
+ }
225
+ export declare class AuthorizationNotFoundFault extends __BaseException {
226
+ readonly name: "AuthorizationNotFoundFault";
227
+ readonly $fault: "client";
228
+ constructor(
229
+ opts: __ExceptionOptionType<AuthorizationNotFoundFault, __BaseException>
230
+ );
231
+ }
232
+ export declare class DBInstanceAlreadyExistsFault extends __BaseException {
233
+ readonly name: "DBInstanceAlreadyExistsFault";
234
+ readonly $fault: "client";
235
+ constructor(
236
+ opts: __ExceptionOptionType<DBInstanceAlreadyExistsFault, __BaseException>
237
+ );
238
+ }
239
+ export declare class DBSecurityGroupNotFoundFault extends __BaseException {
240
+ readonly name: "DBSecurityGroupNotFoundFault";
241
+ readonly $fault: "client";
242
+ constructor(
243
+ opts: __ExceptionOptionType<DBSecurityGroupNotFoundFault, __BaseException>
244
+ );
245
+ }
246
+ export declare class InstanceQuotaExceededFault extends __BaseException {
247
+ readonly name: "InstanceQuotaExceededFault";
248
+ readonly $fault: "client";
249
+ constructor(
250
+ opts: __ExceptionOptionType<InstanceQuotaExceededFault, __BaseException>
251
+ );
252
+ }
253
+ export declare class InsufficientDBInstanceCapacityFault extends __BaseException {
254
+ readonly name: "InsufficientDBInstanceCapacityFault";
255
+ readonly $fault: "client";
256
+ constructor(
257
+ opts: __ExceptionOptionType<
258
+ InsufficientDBInstanceCapacityFault,
259
+ __BaseException
260
+ >
261
+ );
262
+ }
263
+ export declare class StorageTypeNotSupportedFault extends __BaseException {
264
+ readonly name: "StorageTypeNotSupportedFault";
265
+ readonly $fault: "client";
266
+ constructor(
267
+ opts: __ExceptionOptionType<StorageTypeNotSupportedFault, __BaseException>
268
+ );
269
+ }
270
+ export declare class DBSubnetGroupAlreadyExistsFault extends __BaseException {
271
+ readonly name: "DBSubnetGroupAlreadyExistsFault";
272
+ readonly $fault: "client";
273
+ constructor(
274
+ opts: __ExceptionOptionType<
275
+ DBSubnetGroupAlreadyExistsFault,
276
+ __BaseException
277
+ >
278
+ );
279
+ }
280
+ export declare class DBSubnetGroupQuotaExceededFault extends __BaseException {
281
+ readonly name: "DBSubnetGroupQuotaExceededFault";
282
+ readonly $fault: "client";
283
+ constructor(
284
+ opts: __ExceptionOptionType<
285
+ DBSubnetGroupQuotaExceededFault,
286
+ __BaseException
287
+ >
288
+ );
289
+ }
290
+ export declare class DBSubnetQuotaExceededFault extends __BaseException {
291
+ readonly name: "DBSubnetQuotaExceededFault";
292
+ readonly $fault: "client";
293
+ constructor(
294
+ opts: __ExceptionOptionType<DBSubnetQuotaExceededFault, __BaseException>
295
+ );
296
+ }
297
+ export declare class EventSubscriptionQuotaExceededFault extends __BaseException {
298
+ readonly name: "EventSubscriptionQuotaExceededFault";
299
+ readonly $fault: "client";
300
+ constructor(
301
+ opts: __ExceptionOptionType<
302
+ EventSubscriptionQuotaExceededFault,
303
+ __BaseException
304
+ >
305
+ );
306
+ }
307
+ export declare class SNSInvalidTopicFault extends __BaseException {
308
+ readonly name: "SNSInvalidTopicFault";
309
+ readonly $fault: "client";
310
+ constructor(
311
+ opts: __ExceptionOptionType<SNSInvalidTopicFault, __BaseException>
312
+ );
313
+ }
314
+ export declare class SNSNoAuthorizationFault extends __BaseException {
315
+ readonly name: "SNSNoAuthorizationFault";
316
+ readonly $fault: "client";
317
+ constructor(
318
+ opts: __ExceptionOptionType<SNSNoAuthorizationFault, __BaseException>
319
+ );
320
+ }
321
+ export declare class SNSTopicArnNotFoundFault extends __BaseException {
322
+ readonly name: "SNSTopicArnNotFoundFault";
323
+ readonly $fault: "client";
324
+ constructor(
325
+ opts: __ExceptionOptionType<SNSTopicArnNotFoundFault, __BaseException>
326
+ );
327
+ }
328
+ export declare class SubscriptionAlreadyExistFault extends __BaseException {
329
+ readonly name: "SubscriptionAlreadyExistFault";
330
+ readonly $fault: "client";
331
+ constructor(
332
+ opts: __ExceptionOptionType<SubscriptionAlreadyExistFault, __BaseException>
333
+ );
334
+ }
335
+ export declare class SubscriptionCategoryNotFoundFault extends __BaseException {
336
+ readonly name: "SubscriptionCategoryNotFoundFault";
337
+ readonly $fault: "client";
338
+ constructor(
339
+ opts: __ExceptionOptionType<
340
+ SubscriptionCategoryNotFoundFault,
341
+ __BaseException
342
+ >
343
+ );
344
+ }
345
+ export declare class GlobalClusterAlreadyExistsFault extends __BaseException {
346
+ readonly name: "GlobalClusterAlreadyExistsFault";
347
+ readonly $fault: "client";
348
+ constructor(
349
+ opts: __ExceptionOptionType<
350
+ GlobalClusterAlreadyExistsFault,
351
+ __BaseException
352
+ >
353
+ );
354
+ }
355
+ export declare class GlobalClusterQuotaExceededFault extends __BaseException {
356
+ readonly name: "GlobalClusterQuotaExceededFault";
357
+ readonly $fault: "client";
358
+ constructor(
359
+ opts: __ExceptionOptionType<
360
+ GlobalClusterQuotaExceededFault,
361
+ __BaseException
362
+ >
363
+ );
364
+ }
365
+ export declare class InvalidDBParameterGroupStateFault extends __BaseException {
366
+ readonly name: "InvalidDBParameterGroupStateFault";
367
+ readonly $fault: "client";
368
+ constructor(
369
+ opts: __ExceptionOptionType<
370
+ InvalidDBParameterGroupStateFault,
371
+ __BaseException
372
+ >
373
+ );
374
+ }
375
+ export declare class DBSnapshotAlreadyExistsFault extends __BaseException {
376
+ readonly name: "DBSnapshotAlreadyExistsFault";
377
+ readonly $fault: "client";
378
+ constructor(
379
+ opts: __ExceptionOptionType<DBSnapshotAlreadyExistsFault, __BaseException>
380
+ );
381
+ }
382
+ export declare class InvalidDBSubnetStateFault extends __BaseException {
383
+ readonly name: "InvalidDBSubnetStateFault";
384
+ readonly $fault: "client";
385
+ constructor(
386
+ opts: __ExceptionOptionType<InvalidDBSubnetStateFault, __BaseException>
387
+ );
388
+ }
389
+ export declare class InvalidEventSubscriptionStateFault extends __BaseException {
390
+ readonly name: "InvalidEventSubscriptionStateFault";
391
+ readonly $fault: "client";
392
+ constructor(
393
+ opts: __ExceptionOptionType<
394
+ InvalidEventSubscriptionStateFault,
395
+ __BaseException
396
+ >
397
+ );
398
+ }
399
+ export declare class CertificateNotFoundFault extends __BaseException {
400
+ readonly name: "CertificateNotFoundFault";
401
+ readonly $fault: "client";
402
+ constructor(
403
+ opts: __ExceptionOptionType<CertificateNotFoundFault, __BaseException>
404
+ );
405
+ }
406
+ export declare class InvalidDBSecurityGroupStateFault extends __BaseException {
407
+ readonly name: "InvalidDBSecurityGroupStateFault";
408
+ readonly $fault: "client";
409
+ constructor(
410
+ opts: __ExceptionOptionType<
411
+ InvalidDBSecurityGroupStateFault,
412
+ __BaseException
413
+ >
414
+ );
415
+ }
416
+ export declare class SharedSnapshotQuotaExceededFault extends __BaseException {
417
+ readonly name: "SharedSnapshotQuotaExceededFault";
418
+ readonly $fault: "client";
419
+ constructor(
420
+ opts: __ExceptionOptionType<
421
+ SharedSnapshotQuotaExceededFault,
422
+ __BaseException
423
+ >
424
+ );
425
+ }
426
+ export declare class DBUpgradeDependencyFailureFault extends __BaseException {
427
+ readonly name: "DBUpgradeDependencyFailureFault";
428
+ readonly $fault: "client";
429
+ constructor(
430
+ opts: __ExceptionOptionType<
431
+ DBUpgradeDependencyFailureFault,
432
+ __BaseException
433
+ >
434
+ );
435
+ }
436
+ export declare class SubnetAlreadyInUse extends __BaseException {
437
+ readonly name: "SubnetAlreadyInUse";
438
+ readonly $fault: "client";
439
+ constructor(opts: __ExceptionOptionType<SubnetAlreadyInUse, __BaseException>);
440
+ }
441
+ export declare class InsufficientDBClusterCapacityFault extends __BaseException {
442
+ readonly name: "InsufficientDBClusterCapacityFault";
443
+ readonly $fault: "client";
444
+ constructor(
445
+ opts: __ExceptionOptionType<
446
+ InsufficientDBClusterCapacityFault,
447
+ __BaseException
448
+ >
449
+ );
450
+ }
451
+ export declare class InvalidDBSnapshotStateFault extends __BaseException {
452
+ readonly name: "InvalidDBSnapshotStateFault";
453
+ readonly $fault: "client";
454
+ constructor(
455
+ opts: __ExceptionOptionType<InvalidDBSnapshotStateFault, __BaseException>
456
+ );
457
+ }
458
+ export declare class InvalidRestoreFault extends __BaseException {
459
+ readonly name: "InvalidRestoreFault";
460
+ readonly $fault: "client";
461
+ constructor(
462
+ opts: __ExceptionOptionType<InvalidRestoreFault, __BaseException>
463
+ );
464
+ }