@aws-sdk/client-dynamodb 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.
Files changed (35) hide show
  1. package/dist-cjs/index.js +241 -240
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +240 -0
  4. package/dist-es/models/errors.js +440 -0
  5. package/dist-es/models/models_0.js +1 -680
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +1 -1
  8. package/dist-types/commands/BatchGetItemCommand.d.ts +1 -1
  9. package/dist-types/commands/BatchWriteItemCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteItemCommand.d.ts +1 -1
  11. package/dist-types/commands/ExecuteStatementCommand.d.ts +1 -1
  12. package/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -1
  13. package/dist-types/commands/GetItemCommand.d.ts +1 -1
  14. package/dist-types/commands/PutItemCommand.d.ts +1 -1
  15. package/dist-types/commands/QueryCommand.d.ts +1 -1
  16. package/dist-types/commands/ScanCommand.d.ts +1 -1
  17. package/dist-types/commands/TransactGetItemsCommand.d.ts +1 -1
  18. package/dist-types/commands/TransactWriteItemsCommand.d.ts +2 -3
  19. package/dist-types/commands/UpdateItemCommand.d.ts +1 -1
  20. package/dist-types/index.d.ts +3 -1
  21. package/dist-types/models/enums.d.ts +576 -0
  22. package/dist-types/models/errors.d.ts +804 -0
  23. package/dist-types/models/models_0.d.ts +73 -1379
  24. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +4 -2
  25. package/dist-types/ts3.4/index.d.ts +3 -1
  26. package/dist-types/ts3.4/models/enums.d.ts +306 -0
  27. package/dist-types/ts3.4/models/errors.d.ts +286 -0
  28. package/dist-types/ts3.4/models/models_0.d.ts +50 -587
  29. package/package.json +12 -12
  30. package/dist-es/models/index.js +0 -2
  31. package/dist-es/models/models_1.js +0 -1
  32. package/dist-types/models/index.d.ts +0 -2
  33. package/dist-types/models/models_1.d.ts +0 -73
  34. package/dist-types/ts3.4/models/index.d.ts +0 -2
  35. package/dist-types/ts3.4/models/models_1.d.ts +0 -11
@@ -0,0 +1,240 @@
1
+ export const ApproximateCreationDateTimePrecision = {
2
+ MICROSECOND: "MICROSECOND",
3
+ MILLISECOND: "MILLISECOND",
4
+ };
5
+ export const AttributeAction = {
6
+ ADD: "ADD",
7
+ DELETE: "DELETE",
8
+ PUT: "PUT",
9
+ };
10
+ export const ScalarAttributeType = {
11
+ B: "B",
12
+ N: "N",
13
+ S: "S",
14
+ };
15
+ export const BackupStatus = {
16
+ AVAILABLE: "AVAILABLE",
17
+ CREATING: "CREATING",
18
+ DELETED: "DELETED",
19
+ };
20
+ export const BackupType = {
21
+ AWS_BACKUP: "AWS_BACKUP",
22
+ SYSTEM: "SYSTEM",
23
+ USER: "USER",
24
+ };
25
+ export const BillingMode = {
26
+ PAY_PER_REQUEST: "PAY_PER_REQUEST",
27
+ PROVISIONED: "PROVISIONED",
28
+ };
29
+ export const KeyType = {
30
+ HASH: "HASH",
31
+ RANGE: "RANGE",
32
+ };
33
+ export const ProjectionType = {
34
+ ALL: "ALL",
35
+ INCLUDE: "INCLUDE",
36
+ KEYS_ONLY: "KEYS_ONLY",
37
+ };
38
+ export const SSEType = {
39
+ AES256: "AES256",
40
+ KMS: "KMS",
41
+ };
42
+ export const SSEStatus = {
43
+ DISABLED: "DISABLED",
44
+ DISABLING: "DISABLING",
45
+ ENABLED: "ENABLED",
46
+ ENABLING: "ENABLING",
47
+ UPDATING: "UPDATING",
48
+ };
49
+ export const StreamViewType = {
50
+ KEYS_ONLY: "KEYS_ONLY",
51
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
52
+ NEW_IMAGE: "NEW_IMAGE",
53
+ OLD_IMAGE: "OLD_IMAGE",
54
+ };
55
+ export const TimeToLiveStatus = {
56
+ DISABLED: "DISABLED",
57
+ DISABLING: "DISABLING",
58
+ ENABLED: "ENABLED",
59
+ ENABLING: "ENABLING",
60
+ };
61
+ export const BackupTypeFilter = {
62
+ ALL: "ALL",
63
+ AWS_BACKUP: "AWS_BACKUP",
64
+ SYSTEM: "SYSTEM",
65
+ USER: "USER",
66
+ };
67
+ export const ReturnConsumedCapacity = {
68
+ INDEXES: "INDEXES",
69
+ NONE: "NONE",
70
+ TOTAL: "TOTAL",
71
+ };
72
+ export const ReturnValuesOnConditionCheckFailure = {
73
+ ALL_OLD: "ALL_OLD",
74
+ NONE: "NONE",
75
+ };
76
+ export const BatchStatementErrorCodeEnum = {
77
+ AccessDenied: "AccessDenied",
78
+ ConditionalCheckFailed: "ConditionalCheckFailed",
79
+ DuplicateItem: "DuplicateItem",
80
+ InternalServerError: "InternalServerError",
81
+ ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded",
82
+ ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded",
83
+ RequestLimitExceeded: "RequestLimitExceeded",
84
+ ResourceNotFound: "ResourceNotFound",
85
+ ThrottlingError: "ThrottlingError",
86
+ TransactionConflict: "TransactionConflict",
87
+ ValidationError: "ValidationError",
88
+ };
89
+ export const ReturnItemCollectionMetrics = {
90
+ NONE: "NONE",
91
+ SIZE: "SIZE",
92
+ };
93
+ export const ComparisonOperator = {
94
+ BEGINS_WITH: "BEGINS_WITH",
95
+ BETWEEN: "BETWEEN",
96
+ CONTAINS: "CONTAINS",
97
+ EQ: "EQ",
98
+ GE: "GE",
99
+ GT: "GT",
100
+ IN: "IN",
101
+ LE: "LE",
102
+ LT: "LT",
103
+ NE: "NE",
104
+ NOT_CONTAINS: "NOT_CONTAINS",
105
+ NOT_NULL: "NOT_NULL",
106
+ NULL: "NULL",
107
+ };
108
+ export const ConditionalOperator = {
109
+ AND: "AND",
110
+ OR: "OR",
111
+ };
112
+ export const ContinuousBackupsStatus = {
113
+ DISABLED: "DISABLED",
114
+ ENABLED: "ENABLED",
115
+ };
116
+ export const PointInTimeRecoveryStatus = {
117
+ DISABLED: "DISABLED",
118
+ ENABLED: "ENABLED",
119
+ };
120
+ export const ContributorInsightsAction = {
121
+ DISABLE: "DISABLE",
122
+ ENABLE: "ENABLE",
123
+ };
124
+ export const ContributorInsightsMode = {
125
+ ACCESSED_AND_THROTTLED_KEYS: "ACCESSED_AND_THROTTLED_KEYS",
126
+ THROTTLED_KEYS: "THROTTLED_KEYS",
127
+ };
128
+ export const ContributorInsightsStatus = {
129
+ DISABLED: "DISABLED",
130
+ DISABLING: "DISABLING",
131
+ ENABLED: "ENABLED",
132
+ ENABLING: "ENABLING",
133
+ FAILED: "FAILED",
134
+ };
135
+ export const GlobalTableStatus = {
136
+ ACTIVE: "ACTIVE",
137
+ CREATING: "CREATING",
138
+ DELETING: "DELETING",
139
+ UPDATING: "UPDATING",
140
+ };
141
+ export const IndexStatus = {
142
+ ACTIVE: "ACTIVE",
143
+ CREATING: "CREATING",
144
+ DELETING: "DELETING",
145
+ UPDATING: "UPDATING",
146
+ };
147
+ export const ReplicaStatus = {
148
+ ACTIVE: "ACTIVE",
149
+ ARCHIVED: "ARCHIVED",
150
+ ARCHIVING: "ARCHIVING",
151
+ CREATING: "CREATING",
152
+ CREATION_FAILED: "CREATION_FAILED",
153
+ DELETING: "DELETING",
154
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
155
+ REGION_DISABLED: "REGION_DISABLED",
156
+ REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED",
157
+ UPDATING: "UPDATING",
158
+ };
159
+ export const TableClass = {
160
+ STANDARD: "STANDARD",
161
+ STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS",
162
+ };
163
+ export const TableStatus = {
164
+ ACTIVE: "ACTIVE",
165
+ ARCHIVED: "ARCHIVED",
166
+ ARCHIVING: "ARCHIVING",
167
+ CREATING: "CREATING",
168
+ DELETING: "DELETING",
169
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
170
+ REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED",
171
+ UPDATING: "UPDATING",
172
+ };
173
+ export const WitnessStatus = {
174
+ ACTIVE: "ACTIVE",
175
+ CREATING: "CREATING",
176
+ DELETING: "DELETING",
177
+ };
178
+ export const MultiRegionConsistency = {
179
+ EVENTUAL: "EVENTUAL",
180
+ STRONG: "STRONG",
181
+ };
182
+ export const ReturnValue = {
183
+ ALL_NEW: "ALL_NEW",
184
+ ALL_OLD: "ALL_OLD",
185
+ NONE: "NONE",
186
+ UPDATED_NEW: "UPDATED_NEW",
187
+ UPDATED_OLD: "UPDATED_OLD",
188
+ };
189
+ export const ExportFormat = {
190
+ DYNAMODB_JSON: "DYNAMODB_JSON",
191
+ ION: "ION",
192
+ };
193
+ export const ExportStatus = {
194
+ COMPLETED: "COMPLETED",
195
+ FAILED: "FAILED",
196
+ IN_PROGRESS: "IN_PROGRESS",
197
+ };
198
+ export const ExportType = {
199
+ FULL_EXPORT: "FULL_EXPORT",
200
+ INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT",
201
+ };
202
+ export const ExportViewType = {
203
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
204
+ NEW_IMAGE: "NEW_IMAGE",
205
+ };
206
+ export const S3SseAlgorithm = {
207
+ AES256: "AES256",
208
+ KMS: "KMS",
209
+ };
210
+ export const ImportStatus = {
211
+ CANCELLED: "CANCELLED",
212
+ CANCELLING: "CANCELLING",
213
+ COMPLETED: "COMPLETED",
214
+ FAILED: "FAILED",
215
+ IN_PROGRESS: "IN_PROGRESS",
216
+ };
217
+ export const InputCompressionType = {
218
+ GZIP: "GZIP",
219
+ NONE: "NONE",
220
+ ZSTD: "ZSTD",
221
+ };
222
+ export const InputFormat = {
223
+ CSV: "CSV",
224
+ DYNAMODB_JSON: "DYNAMODB_JSON",
225
+ ION: "ION",
226
+ };
227
+ export const DestinationStatus = {
228
+ ACTIVE: "ACTIVE",
229
+ DISABLED: "DISABLED",
230
+ DISABLING: "DISABLING",
231
+ ENABLE_FAILED: "ENABLE_FAILED",
232
+ ENABLING: "ENABLING",
233
+ UPDATING: "UPDATING",
234
+ };
235
+ export const Select = {
236
+ ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
237
+ ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
238
+ COUNT: "COUNT",
239
+ SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
240
+ };
@@ -0,0 +1,440 @@
1
+ import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
2
+ export class BackupInUseException extends __BaseException {
3
+ name = "BackupInUseException";
4
+ $fault = "client";
5
+ constructor(opts) {
6
+ super({
7
+ name: "BackupInUseException",
8
+ $fault: "client",
9
+ ...opts,
10
+ });
11
+ Object.setPrototypeOf(this, BackupInUseException.prototype);
12
+ }
13
+ }
14
+ export class BackupNotFoundException extends __BaseException {
15
+ name = "BackupNotFoundException";
16
+ $fault = "client";
17
+ constructor(opts) {
18
+ super({
19
+ name: "BackupNotFoundException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ Object.setPrototypeOf(this, BackupNotFoundException.prototype);
24
+ }
25
+ }
26
+ export class InternalServerError extends __BaseException {
27
+ name = "InternalServerError";
28
+ $fault = "server";
29
+ constructor(opts) {
30
+ super({
31
+ name: "InternalServerError",
32
+ $fault: "server",
33
+ ...opts,
34
+ });
35
+ Object.setPrototypeOf(this, InternalServerError.prototype);
36
+ }
37
+ }
38
+ export class RequestLimitExceeded extends __BaseException {
39
+ name = "RequestLimitExceeded";
40
+ $fault = "client";
41
+ ThrottlingReasons;
42
+ constructor(opts) {
43
+ super({
44
+ name: "RequestLimitExceeded",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
49
+ this.ThrottlingReasons = opts.ThrottlingReasons;
50
+ }
51
+ }
52
+ export class ThrottlingException extends __BaseException {
53
+ name = "ThrottlingException";
54
+ $fault = "client";
55
+ throttlingReasons;
56
+ constructor(opts) {
57
+ super({
58
+ name: "ThrottlingException",
59
+ $fault: "client",
60
+ ...opts,
61
+ });
62
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
63
+ this.throttlingReasons = opts.throttlingReasons;
64
+ }
65
+ }
66
+ export class InvalidEndpointException extends __BaseException {
67
+ name = "InvalidEndpointException";
68
+ $fault = "client";
69
+ Message;
70
+ constructor(opts) {
71
+ super({
72
+ name: "InvalidEndpointException",
73
+ $fault: "client",
74
+ ...opts,
75
+ });
76
+ Object.setPrototypeOf(this, InvalidEndpointException.prototype);
77
+ this.Message = opts.Message;
78
+ }
79
+ }
80
+ export class ProvisionedThroughputExceededException extends __BaseException {
81
+ name = "ProvisionedThroughputExceededException";
82
+ $fault = "client";
83
+ ThrottlingReasons;
84
+ constructor(opts) {
85
+ super({
86
+ name: "ProvisionedThroughputExceededException",
87
+ $fault: "client",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
91
+ this.ThrottlingReasons = opts.ThrottlingReasons;
92
+ }
93
+ }
94
+ export class ResourceNotFoundException extends __BaseException {
95
+ name = "ResourceNotFoundException";
96
+ $fault = "client";
97
+ constructor(opts) {
98
+ super({
99
+ name: "ResourceNotFoundException",
100
+ $fault: "client",
101
+ ...opts,
102
+ });
103
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
104
+ }
105
+ }
106
+ export class ItemCollectionSizeLimitExceededException extends __BaseException {
107
+ name = "ItemCollectionSizeLimitExceededException";
108
+ $fault = "client";
109
+ constructor(opts) {
110
+ super({
111
+ name: "ItemCollectionSizeLimitExceededException",
112
+ $fault: "client",
113
+ ...opts,
114
+ });
115
+ Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);
116
+ }
117
+ }
118
+ export class ReplicatedWriteConflictException extends __BaseException {
119
+ name = "ReplicatedWriteConflictException";
120
+ $fault = "client";
121
+ $retryable = {};
122
+ constructor(opts) {
123
+ super({
124
+ name: "ReplicatedWriteConflictException",
125
+ $fault: "client",
126
+ ...opts,
127
+ });
128
+ Object.setPrototypeOf(this, ReplicatedWriteConflictException.prototype);
129
+ }
130
+ }
131
+ export class ContinuousBackupsUnavailableException extends __BaseException {
132
+ name = "ContinuousBackupsUnavailableException";
133
+ $fault = "client";
134
+ constructor(opts) {
135
+ super({
136
+ name: "ContinuousBackupsUnavailableException",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);
141
+ }
142
+ }
143
+ export class LimitExceededException extends __BaseException {
144
+ name = "LimitExceededException";
145
+ $fault = "client";
146
+ constructor(opts) {
147
+ super({
148
+ name: "LimitExceededException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
153
+ }
154
+ }
155
+ export class TableInUseException extends __BaseException {
156
+ name = "TableInUseException";
157
+ $fault = "client";
158
+ constructor(opts) {
159
+ super({
160
+ name: "TableInUseException",
161
+ $fault: "client",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, TableInUseException.prototype);
165
+ }
166
+ }
167
+ export class TableNotFoundException extends __BaseException {
168
+ name = "TableNotFoundException";
169
+ $fault = "client";
170
+ constructor(opts) {
171
+ super({
172
+ name: "TableNotFoundException",
173
+ $fault: "client",
174
+ ...opts,
175
+ });
176
+ Object.setPrototypeOf(this, TableNotFoundException.prototype);
177
+ }
178
+ }
179
+ export class GlobalTableAlreadyExistsException extends __BaseException {
180
+ name = "GlobalTableAlreadyExistsException";
181
+ $fault = "client";
182
+ constructor(opts) {
183
+ super({
184
+ name: "GlobalTableAlreadyExistsException",
185
+ $fault: "client",
186
+ ...opts,
187
+ });
188
+ Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);
189
+ }
190
+ }
191
+ export class ResourceInUseException extends __BaseException {
192
+ name = "ResourceInUseException";
193
+ $fault = "client";
194
+ constructor(opts) {
195
+ super({
196
+ name: "ResourceInUseException",
197
+ $fault: "client",
198
+ ...opts,
199
+ });
200
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
201
+ }
202
+ }
203
+ export class TransactionConflictException extends __BaseException {
204
+ name = "TransactionConflictException";
205
+ $fault = "client";
206
+ constructor(opts) {
207
+ super({
208
+ name: "TransactionConflictException",
209
+ $fault: "client",
210
+ ...opts,
211
+ });
212
+ Object.setPrototypeOf(this, TransactionConflictException.prototype);
213
+ }
214
+ }
215
+ export class PolicyNotFoundException extends __BaseException {
216
+ name = "PolicyNotFoundException";
217
+ $fault = "client";
218
+ constructor(opts) {
219
+ super({
220
+ name: "PolicyNotFoundException",
221
+ $fault: "client",
222
+ ...opts,
223
+ });
224
+ Object.setPrototypeOf(this, PolicyNotFoundException.prototype);
225
+ }
226
+ }
227
+ export class ExportNotFoundException extends __BaseException {
228
+ name = "ExportNotFoundException";
229
+ $fault = "client";
230
+ constructor(opts) {
231
+ super({
232
+ name: "ExportNotFoundException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ Object.setPrototypeOf(this, ExportNotFoundException.prototype);
237
+ }
238
+ }
239
+ export class GlobalTableNotFoundException extends __BaseException {
240
+ name = "GlobalTableNotFoundException";
241
+ $fault = "client";
242
+ constructor(opts) {
243
+ super({
244
+ name: "GlobalTableNotFoundException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);
249
+ }
250
+ }
251
+ export class ImportNotFoundException extends __BaseException {
252
+ name = "ImportNotFoundException";
253
+ $fault = "client";
254
+ constructor(opts) {
255
+ super({
256
+ name: "ImportNotFoundException",
257
+ $fault: "client",
258
+ ...opts,
259
+ });
260
+ Object.setPrototypeOf(this, ImportNotFoundException.prototype);
261
+ }
262
+ }
263
+ export class DuplicateItemException extends __BaseException {
264
+ name = "DuplicateItemException";
265
+ $fault = "client";
266
+ constructor(opts) {
267
+ super({
268
+ name: "DuplicateItemException",
269
+ $fault: "client",
270
+ ...opts,
271
+ });
272
+ Object.setPrototypeOf(this, DuplicateItemException.prototype);
273
+ }
274
+ }
275
+ export class IdempotentParameterMismatchException extends __BaseException {
276
+ name = "IdempotentParameterMismatchException";
277
+ $fault = "client";
278
+ Message;
279
+ constructor(opts) {
280
+ super({
281
+ name: "IdempotentParameterMismatchException",
282
+ $fault: "client",
283
+ ...opts,
284
+ });
285
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
286
+ this.Message = opts.Message;
287
+ }
288
+ }
289
+ export class TransactionInProgressException extends __BaseException {
290
+ name = "TransactionInProgressException";
291
+ $fault = "client";
292
+ Message;
293
+ constructor(opts) {
294
+ super({
295
+ name: "TransactionInProgressException",
296
+ $fault: "client",
297
+ ...opts,
298
+ });
299
+ Object.setPrototypeOf(this, TransactionInProgressException.prototype);
300
+ this.Message = opts.Message;
301
+ }
302
+ }
303
+ export class ExportConflictException extends __BaseException {
304
+ name = "ExportConflictException";
305
+ $fault = "client";
306
+ constructor(opts) {
307
+ super({
308
+ name: "ExportConflictException",
309
+ $fault: "client",
310
+ ...opts,
311
+ });
312
+ Object.setPrototypeOf(this, ExportConflictException.prototype);
313
+ }
314
+ }
315
+ export class InvalidExportTimeException extends __BaseException {
316
+ name = "InvalidExportTimeException";
317
+ $fault = "client";
318
+ constructor(opts) {
319
+ super({
320
+ name: "InvalidExportTimeException",
321
+ $fault: "client",
322
+ ...opts,
323
+ });
324
+ Object.setPrototypeOf(this, InvalidExportTimeException.prototype);
325
+ }
326
+ }
327
+ export class PointInTimeRecoveryUnavailableException extends __BaseException {
328
+ name = "PointInTimeRecoveryUnavailableException";
329
+ $fault = "client";
330
+ constructor(opts) {
331
+ super({
332
+ name: "PointInTimeRecoveryUnavailableException",
333
+ $fault: "client",
334
+ ...opts,
335
+ });
336
+ Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype);
337
+ }
338
+ }
339
+ export class ImportConflictException extends __BaseException {
340
+ name = "ImportConflictException";
341
+ $fault = "client";
342
+ constructor(opts) {
343
+ super({
344
+ name: "ImportConflictException",
345
+ $fault: "client",
346
+ ...opts,
347
+ });
348
+ Object.setPrototypeOf(this, ImportConflictException.prototype);
349
+ }
350
+ }
351
+ export class TableAlreadyExistsException extends __BaseException {
352
+ name = "TableAlreadyExistsException";
353
+ $fault = "client";
354
+ constructor(opts) {
355
+ super({
356
+ name: "TableAlreadyExistsException",
357
+ $fault: "client",
358
+ ...opts,
359
+ });
360
+ Object.setPrototypeOf(this, TableAlreadyExistsException.prototype);
361
+ }
362
+ }
363
+ export class InvalidRestoreTimeException extends __BaseException {
364
+ name = "InvalidRestoreTimeException";
365
+ $fault = "client";
366
+ constructor(opts) {
367
+ super({
368
+ name: "InvalidRestoreTimeException",
369
+ $fault: "client",
370
+ ...opts,
371
+ });
372
+ Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype);
373
+ }
374
+ }
375
+ export class ReplicaAlreadyExistsException extends __BaseException {
376
+ name = "ReplicaAlreadyExistsException";
377
+ $fault = "client";
378
+ constructor(opts) {
379
+ super({
380
+ name: "ReplicaAlreadyExistsException",
381
+ $fault: "client",
382
+ ...opts,
383
+ });
384
+ Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype);
385
+ }
386
+ }
387
+ export class ReplicaNotFoundException extends __BaseException {
388
+ name = "ReplicaNotFoundException";
389
+ $fault = "client";
390
+ constructor(opts) {
391
+ super({
392
+ name: "ReplicaNotFoundException",
393
+ $fault: "client",
394
+ ...opts,
395
+ });
396
+ Object.setPrototypeOf(this, ReplicaNotFoundException.prototype);
397
+ }
398
+ }
399
+ export class IndexNotFoundException extends __BaseException {
400
+ name = "IndexNotFoundException";
401
+ $fault = "client";
402
+ constructor(opts) {
403
+ super({
404
+ name: "IndexNotFoundException",
405
+ $fault: "client",
406
+ ...opts,
407
+ });
408
+ Object.setPrototypeOf(this, IndexNotFoundException.prototype);
409
+ }
410
+ }
411
+ export class ConditionalCheckFailedException extends __BaseException {
412
+ name = "ConditionalCheckFailedException";
413
+ $fault = "client";
414
+ Item;
415
+ constructor(opts) {
416
+ super({
417
+ name: "ConditionalCheckFailedException",
418
+ $fault: "client",
419
+ ...opts,
420
+ });
421
+ Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
422
+ this.Item = opts.Item;
423
+ }
424
+ }
425
+ export class TransactionCanceledException extends __BaseException {
426
+ name = "TransactionCanceledException";
427
+ $fault = "client";
428
+ Message;
429
+ CancellationReasons;
430
+ constructor(opts) {
431
+ super({
432
+ name: "TransactionCanceledException",
433
+ $fault: "client",
434
+ ...opts,
435
+ });
436
+ Object.setPrototypeOf(this, TransactionCanceledException.prototype);
437
+ this.Message = opts.Message;
438
+ this.CancellationReasons = opts.CancellationReasons;
439
+ }
440
+ }