@aws-sdk/client-dynamodb 3.301.0 → 3.303.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.
@@ -3,73 +3,62 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ImportStatus = exports.GlobalTableNotFoundException = exports.ExportNotFoundException = exports.S3SseAlgorithm = exports.ExportStatus = exports.ExportFormat = exports.TransactionConflictException = exports.ReturnValue = exports.ResourceInUseException = exports.TableStatus = exports.IndexStatus = exports.GlobalTableAlreadyExistsException = exports.TableClass = exports.ReplicaStatus = exports.GlobalTableStatus = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.ContributorInsightsStatus = exports.ContributorInsightsAction = exports.ContinuousBackupsUnavailableException = exports.PointInTimeRecoveryStatus = exports.ContinuousBackupsStatus = exports.ReturnValuesOnConditionCheckFailure = exports.ConditionalOperator = exports.ConditionalCheckFailedException = exports.ComparisonOperator = exports.ItemCollectionSizeLimitExceededException = exports.ReturnItemCollectionMetrics = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementErrorCodeEnum = exports.ReturnConsumedCapacity = exports.BackupTypeFilter = exports.BackupNotFoundException = exports.BackupInUseException = exports.TimeToLiveStatus = exports.StreamViewType = exports.SSEStatus = exports.SSEType = exports.ProjectionType = exports.KeyType = exports.BillingMode = exports.BackupType = exports.BackupStatus = exports.ScalarAttributeType = exports.AttributeAction = void 0;
4
4
  exports.TransactionCanceledException = exports.AttributeValue = exports.IndexNotFoundException = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.Select = exports.ImportConflictException = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.DestinationStatus = exports.ImportNotFoundException = exports.InputFormat = exports.InputCompressionType = void 0;
5
5
  const DynamoDBServiceException_1 = require("./DynamoDBServiceException");
6
- var AttributeAction;
7
- (function (AttributeAction) {
8
- AttributeAction["ADD"] = "ADD";
9
- AttributeAction["DELETE"] = "DELETE";
10
- AttributeAction["PUT"] = "PUT";
11
- })(AttributeAction = exports.AttributeAction || (exports.AttributeAction = {}));
12
- var ScalarAttributeType;
13
- (function (ScalarAttributeType) {
14
- ScalarAttributeType["B"] = "B";
15
- ScalarAttributeType["N"] = "N";
16
- ScalarAttributeType["S"] = "S";
17
- })(ScalarAttributeType = exports.ScalarAttributeType || (exports.ScalarAttributeType = {}));
18
- var BackupStatus;
19
- (function (BackupStatus) {
20
- BackupStatus["AVAILABLE"] = "AVAILABLE";
21
- BackupStatus["CREATING"] = "CREATING";
22
- BackupStatus["DELETED"] = "DELETED";
23
- })(BackupStatus = exports.BackupStatus || (exports.BackupStatus = {}));
24
- var BackupType;
25
- (function (BackupType) {
26
- BackupType["AWS_BACKUP"] = "AWS_BACKUP";
27
- BackupType["SYSTEM"] = "SYSTEM";
28
- BackupType["USER"] = "USER";
29
- })(BackupType = exports.BackupType || (exports.BackupType = {}));
30
- var BillingMode;
31
- (function (BillingMode) {
32
- BillingMode["PAY_PER_REQUEST"] = "PAY_PER_REQUEST";
33
- BillingMode["PROVISIONED"] = "PROVISIONED";
34
- })(BillingMode = exports.BillingMode || (exports.BillingMode = {}));
35
- var KeyType;
36
- (function (KeyType) {
37
- KeyType["HASH"] = "HASH";
38
- KeyType["RANGE"] = "RANGE";
39
- })(KeyType = exports.KeyType || (exports.KeyType = {}));
40
- var ProjectionType;
41
- (function (ProjectionType) {
42
- ProjectionType["ALL"] = "ALL";
43
- ProjectionType["INCLUDE"] = "INCLUDE";
44
- ProjectionType["KEYS_ONLY"] = "KEYS_ONLY";
45
- })(ProjectionType = exports.ProjectionType || (exports.ProjectionType = {}));
46
- var SSEType;
47
- (function (SSEType) {
48
- SSEType["AES256"] = "AES256";
49
- SSEType["KMS"] = "KMS";
50
- })(SSEType = exports.SSEType || (exports.SSEType = {}));
51
- var SSEStatus;
52
- (function (SSEStatus) {
53
- SSEStatus["DISABLED"] = "DISABLED";
54
- SSEStatus["DISABLING"] = "DISABLING";
55
- SSEStatus["ENABLED"] = "ENABLED";
56
- SSEStatus["ENABLING"] = "ENABLING";
57
- SSEStatus["UPDATING"] = "UPDATING";
58
- })(SSEStatus = exports.SSEStatus || (exports.SSEStatus = {}));
59
- var StreamViewType;
60
- (function (StreamViewType) {
61
- StreamViewType["KEYS_ONLY"] = "KEYS_ONLY";
62
- StreamViewType["NEW_AND_OLD_IMAGES"] = "NEW_AND_OLD_IMAGES";
63
- StreamViewType["NEW_IMAGE"] = "NEW_IMAGE";
64
- StreamViewType["OLD_IMAGE"] = "OLD_IMAGE";
65
- })(StreamViewType = exports.StreamViewType || (exports.StreamViewType = {}));
66
- var TimeToLiveStatus;
67
- (function (TimeToLiveStatus) {
68
- TimeToLiveStatus["DISABLED"] = "DISABLED";
69
- TimeToLiveStatus["DISABLING"] = "DISABLING";
70
- TimeToLiveStatus["ENABLED"] = "ENABLED";
71
- TimeToLiveStatus["ENABLING"] = "ENABLING";
72
- })(TimeToLiveStatus = exports.TimeToLiveStatus || (exports.TimeToLiveStatus = {}));
6
+ exports.AttributeAction = {
7
+ ADD: "ADD",
8
+ DELETE: "DELETE",
9
+ PUT: "PUT",
10
+ };
11
+ exports.ScalarAttributeType = {
12
+ B: "B",
13
+ N: "N",
14
+ S: "S",
15
+ };
16
+ exports.BackupStatus = {
17
+ AVAILABLE: "AVAILABLE",
18
+ CREATING: "CREATING",
19
+ DELETED: "DELETED",
20
+ };
21
+ exports.BackupType = {
22
+ AWS_BACKUP: "AWS_BACKUP",
23
+ SYSTEM: "SYSTEM",
24
+ USER: "USER",
25
+ };
26
+ exports.BillingMode = {
27
+ PAY_PER_REQUEST: "PAY_PER_REQUEST",
28
+ PROVISIONED: "PROVISIONED",
29
+ };
30
+ exports.KeyType = {
31
+ HASH: "HASH",
32
+ RANGE: "RANGE",
33
+ };
34
+ exports.ProjectionType = {
35
+ ALL: "ALL",
36
+ INCLUDE: "INCLUDE",
37
+ KEYS_ONLY: "KEYS_ONLY",
38
+ };
39
+ exports.SSEType = {
40
+ AES256: "AES256",
41
+ KMS: "KMS",
42
+ };
43
+ exports.SSEStatus = {
44
+ DISABLED: "DISABLED",
45
+ DISABLING: "DISABLING",
46
+ ENABLED: "ENABLED",
47
+ ENABLING: "ENABLING",
48
+ UPDATING: "UPDATING",
49
+ };
50
+ exports.StreamViewType = {
51
+ KEYS_ONLY: "KEYS_ONLY",
52
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
53
+ NEW_IMAGE: "NEW_IMAGE",
54
+ OLD_IMAGE: "OLD_IMAGE",
55
+ };
56
+ exports.TimeToLiveStatus = {
57
+ DISABLED: "DISABLED",
58
+ DISABLING: "DISABLING",
59
+ ENABLED: "ENABLED",
60
+ ENABLING: "ENABLING",
61
+ };
73
62
  class BackupInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
74
63
  constructor(opts) {
75
64
  super({
@@ -96,33 +85,30 @@ class BackupNotFoundException extends DynamoDBServiceException_1.DynamoDBService
96
85
  }
97
86
  }
98
87
  exports.BackupNotFoundException = BackupNotFoundException;
99
- var BackupTypeFilter;
100
- (function (BackupTypeFilter) {
101
- BackupTypeFilter["ALL"] = "ALL";
102
- BackupTypeFilter["AWS_BACKUP"] = "AWS_BACKUP";
103
- BackupTypeFilter["SYSTEM"] = "SYSTEM";
104
- BackupTypeFilter["USER"] = "USER";
105
- })(BackupTypeFilter = exports.BackupTypeFilter || (exports.BackupTypeFilter = {}));
106
- var ReturnConsumedCapacity;
107
- (function (ReturnConsumedCapacity) {
108
- ReturnConsumedCapacity["INDEXES"] = "INDEXES";
109
- ReturnConsumedCapacity["NONE"] = "NONE";
110
- ReturnConsumedCapacity["TOTAL"] = "TOTAL";
111
- })(ReturnConsumedCapacity = exports.ReturnConsumedCapacity || (exports.ReturnConsumedCapacity = {}));
112
- var BatchStatementErrorCodeEnum;
113
- (function (BatchStatementErrorCodeEnum) {
114
- BatchStatementErrorCodeEnum["AccessDenied"] = "AccessDenied";
115
- BatchStatementErrorCodeEnum["ConditionalCheckFailed"] = "ConditionalCheckFailed";
116
- BatchStatementErrorCodeEnum["DuplicateItem"] = "DuplicateItem";
117
- BatchStatementErrorCodeEnum["InternalServerError"] = "InternalServerError";
118
- BatchStatementErrorCodeEnum["ItemCollectionSizeLimitExceeded"] = "ItemCollectionSizeLimitExceeded";
119
- BatchStatementErrorCodeEnum["ProvisionedThroughputExceeded"] = "ProvisionedThroughputExceeded";
120
- BatchStatementErrorCodeEnum["RequestLimitExceeded"] = "RequestLimitExceeded";
121
- BatchStatementErrorCodeEnum["ResourceNotFound"] = "ResourceNotFound";
122
- BatchStatementErrorCodeEnum["ThrottlingError"] = "ThrottlingError";
123
- BatchStatementErrorCodeEnum["TransactionConflict"] = "TransactionConflict";
124
- BatchStatementErrorCodeEnum["ValidationError"] = "ValidationError";
125
- })(BatchStatementErrorCodeEnum = exports.BatchStatementErrorCodeEnum || (exports.BatchStatementErrorCodeEnum = {}));
88
+ exports.BackupTypeFilter = {
89
+ ALL: "ALL",
90
+ AWS_BACKUP: "AWS_BACKUP",
91
+ SYSTEM: "SYSTEM",
92
+ USER: "USER",
93
+ };
94
+ exports.ReturnConsumedCapacity = {
95
+ INDEXES: "INDEXES",
96
+ NONE: "NONE",
97
+ TOTAL: "TOTAL",
98
+ };
99
+ exports.BatchStatementErrorCodeEnum = {
100
+ AccessDenied: "AccessDenied",
101
+ ConditionalCheckFailed: "ConditionalCheckFailed",
102
+ DuplicateItem: "DuplicateItem",
103
+ InternalServerError: "InternalServerError",
104
+ ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded",
105
+ ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded",
106
+ RequestLimitExceeded: "RequestLimitExceeded",
107
+ ResourceNotFound: "ResourceNotFound",
108
+ ThrottlingError: "ThrottlingError",
109
+ TransactionConflict: "TransactionConflict",
110
+ ValidationError: "ValidationError",
111
+ };
126
112
  class InternalServerError extends DynamoDBServiceException_1.DynamoDBServiceException {
127
113
  constructor(opts) {
128
114
  super({
@@ -189,11 +175,10 @@ class ResourceNotFoundException extends DynamoDBServiceException_1.DynamoDBServi
189
175
  }
190
176
  }
191
177
  exports.ResourceNotFoundException = ResourceNotFoundException;
192
- var ReturnItemCollectionMetrics;
193
- (function (ReturnItemCollectionMetrics) {
194
- ReturnItemCollectionMetrics["NONE"] = "NONE";
195
- ReturnItemCollectionMetrics["SIZE"] = "SIZE";
196
- })(ReturnItemCollectionMetrics = exports.ReturnItemCollectionMetrics || (exports.ReturnItemCollectionMetrics = {}));
178
+ exports.ReturnItemCollectionMetrics = {
179
+ NONE: "NONE",
180
+ SIZE: "SIZE",
181
+ };
197
182
  class ItemCollectionSizeLimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
198
183
  constructor(opts) {
199
184
  super({
@@ -207,22 +192,21 @@ class ItemCollectionSizeLimitExceededException extends DynamoDBServiceException_
207
192
  }
208
193
  }
209
194
  exports.ItemCollectionSizeLimitExceededException = ItemCollectionSizeLimitExceededException;
210
- var ComparisonOperator;
211
- (function (ComparisonOperator) {
212
- ComparisonOperator["BEGINS_WITH"] = "BEGINS_WITH";
213
- ComparisonOperator["BETWEEN"] = "BETWEEN";
214
- ComparisonOperator["CONTAINS"] = "CONTAINS";
215
- ComparisonOperator["EQ"] = "EQ";
216
- ComparisonOperator["GE"] = "GE";
217
- ComparisonOperator["GT"] = "GT";
218
- ComparisonOperator["IN"] = "IN";
219
- ComparisonOperator["LE"] = "LE";
220
- ComparisonOperator["LT"] = "LT";
221
- ComparisonOperator["NE"] = "NE";
222
- ComparisonOperator["NOT_CONTAINS"] = "NOT_CONTAINS";
223
- ComparisonOperator["NOT_NULL"] = "NOT_NULL";
224
- ComparisonOperator["NULL"] = "NULL";
225
- })(ComparisonOperator = exports.ComparisonOperator || (exports.ComparisonOperator = {}));
195
+ exports.ComparisonOperator = {
196
+ BEGINS_WITH: "BEGINS_WITH",
197
+ BETWEEN: "BETWEEN",
198
+ CONTAINS: "CONTAINS",
199
+ EQ: "EQ",
200
+ GE: "GE",
201
+ GT: "GT",
202
+ IN: "IN",
203
+ LE: "LE",
204
+ LT: "LT",
205
+ NE: "NE",
206
+ NOT_CONTAINS: "NOT_CONTAINS",
207
+ NOT_NULL: "NOT_NULL",
208
+ NULL: "NULL",
209
+ };
226
210
  class ConditionalCheckFailedException extends DynamoDBServiceException_1.DynamoDBServiceException {
227
211
  constructor(opts) {
228
212
  super({
@@ -236,26 +220,22 @@ class ConditionalCheckFailedException extends DynamoDBServiceException_1.DynamoD
236
220
  }
237
221
  }
238
222
  exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
239
- var ConditionalOperator;
240
- (function (ConditionalOperator) {
241
- ConditionalOperator["AND"] = "AND";
242
- ConditionalOperator["OR"] = "OR";
243
- })(ConditionalOperator = exports.ConditionalOperator || (exports.ConditionalOperator = {}));
244
- var ReturnValuesOnConditionCheckFailure;
245
- (function (ReturnValuesOnConditionCheckFailure) {
246
- ReturnValuesOnConditionCheckFailure["ALL_OLD"] = "ALL_OLD";
247
- ReturnValuesOnConditionCheckFailure["NONE"] = "NONE";
248
- })(ReturnValuesOnConditionCheckFailure = exports.ReturnValuesOnConditionCheckFailure || (exports.ReturnValuesOnConditionCheckFailure = {}));
249
- var ContinuousBackupsStatus;
250
- (function (ContinuousBackupsStatus) {
251
- ContinuousBackupsStatus["DISABLED"] = "DISABLED";
252
- ContinuousBackupsStatus["ENABLED"] = "ENABLED";
253
- })(ContinuousBackupsStatus = exports.ContinuousBackupsStatus || (exports.ContinuousBackupsStatus = {}));
254
- var PointInTimeRecoveryStatus;
255
- (function (PointInTimeRecoveryStatus) {
256
- PointInTimeRecoveryStatus["DISABLED"] = "DISABLED";
257
- PointInTimeRecoveryStatus["ENABLED"] = "ENABLED";
258
- })(PointInTimeRecoveryStatus = exports.PointInTimeRecoveryStatus || (exports.PointInTimeRecoveryStatus = {}));
223
+ exports.ConditionalOperator = {
224
+ AND: "AND",
225
+ OR: "OR",
226
+ };
227
+ exports.ReturnValuesOnConditionCheckFailure = {
228
+ ALL_OLD: "ALL_OLD",
229
+ NONE: "NONE",
230
+ };
231
+ exports.ContinuousBackupsStatus = {
232
+ DISABLED: "DISABLED",
233
+ ENABLED: "ENABLED",
234
+ };
235
+ exports.PointInTimeRecoveryStatus = {
236
+ DISABLED: "DISABLED",
237
+ ENABLED: "ENABLED",
238
+ };
259
239
  class ContinuousBackupsUnavailableException extends DynamoDBServiceException_1.DynamoDBServiceException {
260
240
  constructor(opts) {
261
241
  super({
@@ -269,19 +249,17 @@ class ContinuousBackupsUnavailableException extends DynamoDBServiceException_1.D
269
249
  }
270
250
  }
271
251
  exports.ContinuousBackupsUnavailableException = ContinuousBackupsUnavailableException;
272
- var ContributorInsightsAction;
273
- (function (ContributorInsightsAction) {
274
- ContributorInsightsAction["DISABLE"] = "DISABLE";
275
- ContributorInsightsAction["ENABLE"] = "ENABLE";
276
- })(ContributorInsightsAction = exports.ContributorInsightsAction || (exports.ContributorInsightsAction = {}));
277
- var ContributorInsightsStatus;
278
- (function (ContributorInsightsStatus) {
279
- ContributorInsightsStatus["DISABLED"] = "DISABLED";
280
- ContributorInsightsStatus["DISABLING"] = "DISABLING";
281
- ContributorInsightsStatus["ENABLED"] = "ENABLED";
282
- ContributorInsightsStatus["ENABLING"] = "ENABLING";
283
- ContributorInsightsStatus["FAILED"] = "FAILED";
284
- })(ContributorInsightsStatus = exports.ContributorInsightsStatus || (exports.ContributorInsightsStatus = {}));
252
+ exports.ContributorInsightsAction = {
253
+ DISABLE: "DISABLE",
254
+ ENABLE: "ENABLE",
255
+ };
256
+ exports.ContributorInsightsStatus = {
257
+ DISABLED: "DISABLED",
258
+ DISABLING: "DISABLING",
259
+ ENABLED: "ENABLED",
260
+ ENABLING: "ENABLING",
261
+ FAILED: "FAILED",
262
+ };
285
263
  class LimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
286
264
  constructor(opts) {
287
265
  super({
@@ -321,28 +299,25 @@ class TableNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceE
321
299
  }
322
300
  }
323
301
  exports.TableNotFoundException = TableNotFoundException;
324
- var GlobalTableStatus;
325
- (function (GlobalTableStatus) {
326
- GlobalTableStatus["ACTIVE"] = "ACTIVE";
327
- GlobalTableStatus["CREATING"] = "CREATING";
328
- GlobalTableStatus["DELETING"] = "DELETING";
329
- GlobalTableStatus["UPDATING"] = "UPDATING";
330
- })(GlobalTableStatus = exports.GlobalTableStatus || (exports.GlobalTableStatus = {}));
331
- var ReplicaStatus;
332
- (function (ReplicaStatus) {
333
- ReplicaStatus["ACTIVE"] = "ACTIVE";
334
- ReplicaStatus["CREATING"] = "CREATING";
335
- ReplicaStatus["CREATION_FAILED"] = "CREATION_FAILED";
336
- ReplicaStatus["DELETING"] = "DELETING";
337
- ReplicaStatus["INACCESSIBLE_ENCRYPTION_CREDENTIALS"] = "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
338
- ReplicaStatus["REGION_DISABLED"] = "REGION_DISABLED";
339
- ReplicaStatus["UPDATING"] = "UPDATING";
340
- })(ReplicaStatus = exports.ReplicaStatus || (exports.ReplicaStatus = {}));
341
- var TableClass;
342
- (function (TableClass) {
343
- TableClass["STANDARD"] = "STANDARD";
344
- TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
345
- })(TableClass = exports.TableClass || (exports.TableClass = {}));
302
+ exports.GlobalTableStatus = {
303
+ ACTIVE: "ACTIVE",
304
+ CREATING: "CREATING",
305
+ DELETING: "DELETING",
306
+ UPDATING: "UPDATING",
307
+ };
308
+ exports.ReplicaStatus = {
309
+ ACTIVE: "ACTIVE",
310
+ CREATING: "CREATING",
311
+ CREATION_FAILED: "CREATION_FAILED",
312
+ DELETING: "DELETING",
313
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
314
+ REGION_DISABLED: "REGION_DISABLED",
315
+ UPDATING: "UPDATING",
316
+ };
317
+ exports.TableClass = {
318
+ STANDARD: "STANDARD",
319
+ STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS",
320
+ };
346
321
  class GlobalTableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
347
322
  constructor(opts) {
348
323
  super({
@@ -356,23 +331,21 @@ class GlobalTableAlreadyExistsException extends DynamoDBServiceException_1.Dynam
356
331
  }
357
332
  }
358
333
  exports.GlobalTableAlreadyExistsException = GlobalTableAlreadyExistsException;
359
- var IndexStatus;
360
- (function (IndexStatus) {
361
- IndexStatus["ACTIVE"] = "ACTIVE";
362
- IndexStatus["CREATING"] = "CREATING";
363
- IndexStatus["DELETING"] = "DELETING";
364
- IndexStatus["UPDATING"] = "UPDATING";
365
- })(IndexStatus = exports.IndexStatus || (exports.IndexStatus = {}));
366
- var TableStatus;
367
- (function (TableStatus) {
368
- TableStatus["ACTIVE"] = "ACTIVE";
369
- TableStatus["ARCHIVED"] = "ARCHIVED";
370
- TableStatus["ARCHIVING"] = "ARCHIVING";
371
- TableStatus["CREATING"] = "CREATING";
372
- TableStatus["DELETING"] = "DELETING";
373
- TableStatus["INACCESSIBLE_ENCRYPTION_CREDENTIALS"] = "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
374
- TableStatus["UPDATING"] = "UPDATING";
375
- })(TableStatus = exports.TableStatus || (exports.TableStatus = {}));
334
+ exports.IndexStatus = {
335
+ ACTIVE: "ACTIVE",
336
+ CREATING: "CREATING",
337
+ DELETING: "DELETING",
338
+ UPDATING: "UPDATING",
339
+ };
340
+ exports.TableStatus = {
341
+ ACTIVE: "ACTIVE",
342
+ ARCHIVED: "ARCHIVED",
343
+ ARCHIVING: "ARCHIVING",
344
+ CREATING: "CREATING",
345
+ DELETING: "DELETING",
346
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
347
+ UPDATING: "UPDATING",
348
+ };
376
349
  class ResourceInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
377
350
  constructor(opts) {
378
351
  super({
@@ -386,14 +359,13 @@ class ResourceInUseException extends DynamoDBServiceException_1.DynamoDBServiceE
386
359
  }
387
360
  }
388
361
  exports.ResourceInUseException = ResourceInUseException;
389
- var ReturnValue;
390
- (function (ReturnValue) {
391
- ReturnValue["ALL_NEW"] = "ALL_NEW";
392
- ReturnValue["ALL_OLD"] = "ALL_OLD";
393
- ReturnValue["NONE"] = "NONE";
394
- ReturnValue["UPDATED_NEW"] = "UPDATED_NEW";
395
- ReturnValue["UPDATED_OLD"] = "UPDATED_OLD";
396
- })(ReturnValue = exports.ReturnValue || (exports.ReturnValue = {}));
362
+ exports.ReturnValue = {
363
+ ALL_NEW: "ALL_NEW",
364
+ ALL_OLD: "ALL_OLD",
365
+ NONE: "NONE",
366
+ UPDATED_NEW: "UPDATED_NEW",
367
+ UPDATED_OLD: "UPDATED_OLD",
368
+ };
397
369
  class TransactionConflictException extends DynamoDBServiceException_1.DynamoDBServiceException {
398
370
  constructor(opts) {
399
371
  super({
@@ -407,22 +379,19 @@ class TransactionConflictException extends DynamoDBServiceException_1.DynamoDBSe
407
379
  }
408
380
  }
409
381
  exports.TransactionConflictException = TransactionConflictException;
410
- var ExportFormat;
411
- (function (ExportFormat) {
412
- ExportFormat["DYNAMODB_JSON"] = "DYNAMODB_JSON";
413
- ExportFormat["ION"] = "ION";
414
- })(ExportFormat = exports.ExportFormat || (exports.ExportFormat = {}));
415
- var ExportStatus;
416
- (function (ExportStatus) {
417
- ExportStatus["COMPLETED"] = "COMPLETED";
418
- ExportStatus["FAILED"] = "FAILED";
419
- ExportStatus["IN_PROGRESS"] = "IN_PROGRESS";
420
- })(ExportStatus = exports.ExportStatus || (exports.ExportStatus = {}));
421
- var S3SseAlgorithm;
422
- (function (S3SseAlgorithm) {
423
- S3SseAlgorithm["AES256"] = "AES256";
424
- S3SseAlgorithm["KMS"] = "KMS";
425
- })(S3SseAlgorithm = exports.S3SseAlgorithm || (exports.S3SseAlgorithm = {}));
382
+ exports.ExportFormat = {
383
+ DYNAMODB_JSON: "DYNAMODB_JSON",
384
+ ION: "ION",
385
+ };
386
+ exports.ExportStatus = {
387
+ COMPLETED: "COMPLETED",
388
+ FAILED: "FAILED",
389
+ IN_PROGRESS: "IN_PROGRESS",
390
+ };
391
+ exports.S3SseAlgorithm = {
392
+ AES256: "AES256",
393
+ KMS: "KMS",
394
+ };
426
395
  class ExportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
427
396
  constructor(opts) {
428
397
  super({
@@ -449,26 +418,23 @@ class GlobalTableNotFoundException extends DynamoDBServiceException_1.DynamoDBSe
449
418
  }
450
419
  }
451
420
  exports.GlobalTableNotFoundException = GlobalTableNotFoundException;
452
- var ImportStatus;
453
- (function (ImportStatus) {
454
- ImportStatus["CANCELLED"] = "CANCELLED";
455
- ImportStatus["CANCELLING"] = "CANCELLING";
456
- ImportStatus["COMPLETED"] = "COMPLETED";
457
- ImportStatus["FAILED"] = "FAILED";
458
- ImportStatus["IN_PROGRESS"] = "IN_PROGRESS";
459
- })(ImportStatus = exports.ImportStatus || (exports.ImportStatus = {}));
460
- var InputCompressionType;
461
- (function (InputCompressionType) {
462
- InputCompressionType["GZIP"] = "GZIP";
463
- InputCompressionType["NONE"] = "NONE";
464
- InputCompressionType["ZSTD"] = "ZSTD";
465
- })(InputCompressionType = exports.InputCompressionType || (exports.InputCompressionType = {}));
466
- var InputFormat;
467
- (function (InputFormat) {
468
- InputFormat["CSV"] = "CSV";
469
- InputFormat["DYNAMODB_JSON"] = "DYNAMODB_JSON";
470
- InputFormat["ION"] = "ION";
471
- })(InputFormat = exports.InputFormat || (exports.InputFormat = {}));
421
+ exports.ImportStatus = {
422
+ CANCELLED: "CANCELLED",
423
+ CANCELLING: "CANCELLING",
424
+ COMPLETED: "COMPLETED",
425
+ FAILED: "FAILED",
426
+ IN_PROGRESS: "IN_PROGRESS",
427
+ };
428
+ exports.InputCompressionType = {
429
+ GZIP: "GZIP",
430
+ NONE: "NONE",
431
+ ZSTD: "ZSTD",
432
+ };
433
+ exports.InputFormat = {
434
+ CSV: "CSV",
435
+ DYNAMODB_JSON: "DYNAMODB_JSON",
436
+ ION: "ION",
437
+ };
472
438
  class ImportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
473
439
  constructor(opts) {
474
440
  super({
@@ -482,14 +448,13 @@ class ImportNotFoundException extends DynamoDBServiceException_1.DynamoDBService
482
448
  }
483
449
  }
484
450
  exports.ImportNotFoundException = ImportNotFoundException;
485
- var DestinationStatus;
486
- (function (DestinationStatus) {
487
- DestinationStatus["ACTIVE"] = "ACTIVE";
488
- DestinationStatus["DISABLED"] = "DISABLED";
489
- DestinationStatus["DISABLING"] = "DISABLING";
490
- DestinationStatus["ENABLE_FAILED"] = "ENABLE_FAILED";
491
- DestinationStatus["ENABLING"] = "ENABLING";
492
- })(DestinationStatus = exports.DestinationStatus || (exports.DestinationStatus = {}));
451
+ exports.DestinationStatus = {
452
+ ACTIVE: "ACTIVE",
453
+ DISABLED: "DISABLED",
454
+ DISABLING: "DISABLING",
455
+ ENABLE_FAILED: "ENABLE_FAILED",
456
+ ENABLING: "ENABLING",
457
+ };
493
458
  class DuplicateItemException extends DynamoDBServiceException_1.DynamoDBServiceException {
494
459
  constructor(opts) {
495
460
  super({
@@ -583,13 +548,12 @@ class ImportConflictException extends DynamoDBServiceException_1.DynamoDBService
583
548
  }
584
549
  }
585
550
  exports.ImportConflictException = ImportConflictException;
586
- var Select;
587
- (function (Select) {
588
- Select["ALL_ATTRIBUTES"] = "ALL_ATTRIBUTES";
589
- Select["ALL_PROJECTED_ATTRIBUTES"] = "ALL_PROJECTED_ATTRIBUTES";
590
- Select["COUNT"] = "COUNT";
591
- Select["SPECIFIC_ATTRIBUTES"] = "SPECIFIC_ATTRIBUTES";
592
- })(Select = exports.Select || (exports.Select = {}));
551
+ exports.Select = {
552
+ ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
553
+ ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
554
+ COUNT: "COUNT",
555
+ SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
556
+ };
593
557
  class TableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
594
558
  constructor(opts) {
595
559
  super({