@aws-sdk/client-dynamodb 3.300.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.
Files changed (56) hide show
  1. package/dist-cjs/models/models_0.js +210 -246
  2. package/dist-es/models/models_0.js +210 -246
  3. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +21 -54
  4. package/dist-types/commands/BatchGetItemCommand.d.ts +22 -44
  5. package/dist-types/commands/BatchWriteItemCommand.d.ts +23 -45
  6. package/dist-types/commands/CreateBackupCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateGlobalTableCommand.d.ts +3 -3
  8. package/dist-types/commands/CreateTableCommand.d.ts +16 -16
  9. package/dist-types/commands/DeleteBackupCommand.d.ts +1 -1
  10. package/dist-types/commands/DeleteItemCommand.d.ts +24 -68
  11. package/dist-types/commands/DeleteTableCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeBackupCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +1 -1
  17. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeImportCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeTableCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +1 -1
  23. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +1 -1
  24. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +1 -1
  25. package/dist-types/commands/ExecuteStatementCommand.d.ts +19 -52
  26. package/dist-types/commands/ExecuteTransactionCommand.d.ts +21 -54
  27. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +1 -1
  28. package/dist-types/commands/GetItemCommand.d.ts +19 -41
  29. package/dist-types/commands/ImportTableCommand.d.ts +16 -16
  30. package/dist-types/commands/ListBackupsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListExportsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListGlobalTablesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListImportsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListTablesCommand.d.ts +1 -1
  36. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +1 -1
  37. package/dist-types/commands/PutItemCommand.d.ts +24 -68
  38. package/dist-types/commands/QueryCommand.d.ts +27 -71
  39. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +11 -11
  40. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +11 -11
  41. package/dist-types/commands/ScanCommand.d.ts +25 -58
  42. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  43. package/dist-types/commands/TransactGetItemsCommand.d.ts +21 -43
  44. package/dist-types/commands/TransactWriteItemsCommand.d.ts +26 -48
  45. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  46. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -2
  47. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +5 -5
  49. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +11 -17
  50. package/dist-types/commands/UpdateItemCommand.d.ts +27 -82
  51. package/dist-types/commands/UpdateTableCommand.d.ts +23 -23
  52. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +12 -24
  53. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +2 -2
  54. package/dist-types/models/models_0.d.ts +390 -210
  55. package/dist-types/ts3.4/models/models_0.d.ts +266 -210
  56. package/package.json +36 -36
@@ -1,71 +1,60 @@
1
1
  import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
2
- export var AttributeAction;
3
- (function (AttributeAction) {
4
- AttributeAction["ADD"] = "ADD";
5
- AttributeAction["DELETE"] = "DELETE";
6
- AttributeAction["PUT"] = "PUT";
7
- })(AttributeAction || (AttributeAction = {}));
8
- export var ScalarAttributeType;
9
- (function (ScalarAttributeType) {
10
- ScalarAttributeType["B"] = "B";
11
- ScalarAttributeType["N"] = "N";
12
- ScalarAttributeType["S"] = "S";
13
- })(ScalarAttributeType || (ScalarAttributeType = {}));
14
- export var BackupStatus;
15
- (function (BackupStatus) {
16
- BackupStatus["AVAILABLE"] = "AVAILABLE";
17
- BackupStatus["CREATING"] = "CREATING";
18
- BackupStatus["DELETED"] = "DELETED";
19
- })(BackupStatus || (BackupStatus = {}));
20
- export var BackupType;
21
- (function (BackupType) {
22
- BackupType["AWS_BACKUP"] = "AWS_BACKUP";
23
- BackupType["SYSTEM"] = "SYSTEM";
24
- BackupType["USER"] = "USER";
25
- })(BackupType || (BackupType = {}));
26
- export var BillingMode;
27
- (function (BillingMode) {
28
- BillingMode["PAY_PER_REQUEST"] = "PAY_PER_REQUEST";
29
- BillingMode["PROVISIONED"] = "PROVISIONED";
30
- })(BillingMode || (BillingMode = {}));
31
- export var KeyType;
32
- (function (KeyType) {
33
- KeyType["HASH"] = "HASH";
34
- KeyType["RANGE"] = "RANGE";
35
- })(KeyType || (KeyType = {}));
36
- export var ProjectionType;
37
- (function (ProjectionType) {
38
- ProjectionType["ALL"] = "ALL";
39
- ProjectionType["INCLUDE"] = "INCLUDE";
40
- ProjectionType["KEYS_ONLY"] = "KEYS_ONLY";
41
- })(ProjectionType || (ProjectionType = {}));
42
- export var SSEType;
43
- (function (SSEType) {
44
- SSEType["AES256"] = "AES256";
45
- SSEType["KMS"] = "KMS";
46
- })(SSEType || (SSEType = {}));
47
- export var SSEStatus;
48
- (function (SSEStatus) {
49
- SSEStatus["DISABLED"] = "DISABLED";
50
- SSEStatus["DISABLING"] = "DISABLING";
51
- SSEStatus["ENABLED"] = "ENABLED";
52
- SSEStatus["ENABLING"] = "ENABLING";
53
- SSEStatus["UPDATING"] = "UPDATING";
54
- })(SSEStatus || (SSEStatus = {}));
55
- export var StreamViewType;
56
- (function (StreamViewType) {
57
- StreamViewType["KEYS_ONLY"] = "KEYS_ONLY";
58
- StreamViewType["NEW_AND_OLD_IMAGES"] = "NEW_AND_OLD_IMAGES";
59
- StreamViewType["NEW_IMAGE"] = "NEW_IMAGE";
60
- StreamViewType["OLD_IMAGE"] = "OLD_IMAGE";
61
- })(StreamViewType || (StreamViewType = {}));
62
- export var TimeToLiveStatus;
63
- (function (TimeToLiveStatus) {
64
- TimeToLiveStatus["DISABLED"] = "DISABLED";
65
- TimeToLiveStatus["DISABLING"] = "DISABLING";
66
- TimeToLiveStatus["ENABLED"] = "ENABLED";
67
- TimeToLiveStatus["ENABLING"] = "ENABLING";
68
- })(TimeToLiveStatus || (TimeToLiveStatus = {}));
2
+ export const AttributeAction = {
3
+ ADD: "ADD",
4
+ DELETE: "DELETE",
5
+ PUT: "PUT",
6
+ };
7
+ export const ScalarAttributeType = {
8
+ B: "B",
9
+ N: "N",
10
+ S: "S",
11
+ };
12
+ export const BackupStatus = {
13
+ AVAILABLE: "AVAILABLE",
14
+ CREATING: "CREATING",
15
+ DELETED: "DELETED",
16
+ };
17
+ export const BackupType = {
18
+ AWS_BACKUP: "AWS_BACKUP",
19
+ SYSTEM: "SYSTEM",
20
+ USER: "USER",
21
+ };
22
+ export const BillingMode = {
23
+ PAY_PER_REQUEST: "PAY_PER_REQUEST",
24
+ PROVISIONED: "PROVISIONED",
25
+ };
26
+ export const KeyType = {
27
+ HASH: "HASH",
28
+ RANGE: "RANGE",
29
+ };
30
+ export const ProjectionType = {
31
+ ALL: "ALL",
32
+ INCLUDE: "INCLUDE",
33
+ KEYS_ONLY: "KEYS_ONLY",
34
+ };
35
+ export const SSEType = {
36
+ AES256: "AES256",
37
+ KMS: "KMS",
38
+ };
39
+ export const SSEStatus = {
40
+ DISABLED: "DISABLED",
41
+ DISABLING: "DISABLING",
42
+ ENABLED: "ENABLED",
43
+ ENABLING: "ENABLING",
44
+ UPDATING: "UPDATING",
45
+ };
46
+ export const StreamViewType = {
47
+ KEYS_ONLY: "KEYS_ONLY",
48
+ NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
49
+ NEW_IMAGE: "NEW_IMAGE",
50
+ OLD_IMAGE: "OLD_IMAGE",
51
+ };
52
+ export const TimeToLiveStatus = {
53
+ DISABLED: "DISABLED",
54
+ DISABLING: "DISABLING",
55
+ ENABLED: "ENABLED",
56
+ ENABLING: "ENABLING",
57
+ };
69
58
  export class BackupInUseException extends __BaseException {
70
59
  constructor(opts) {
71
60
  super({
@@ -90,33 +79,30 @@ export class BackupNotFoundException extends __BaseException {
90
79
  Object.setPrototypeOf(this, BackupNotFoundException.prototype);
91
80
  }
92
81
  }
93
- export var BackupTypeFilter;
94
- (function (BackupTypeFilter) {
95
- BackupTypeFilter["ALL"] = "ALL";
96
- BackupTypeFilter["AWS_BACKUP"] = "AWS_BACKUP";
97
- BackupTypeFilter["SYSTEM"] = "SYSTEM";
98
- BackupTypeFilter["USER"] = "USER";
99
- })(BackupTypeFilter || (BackupTypeFilter = {}));
100
- export var ReturnConsumedCapacity;
101
- (function (ReturnConsumedCapacity) {
102
- ReturnConsumedCapacity["INDEXES"] = "INDEXES";
103
- ReturnConsumedCapacity["NONE"] = "NONE";
104
- ReturnConsumedCapacity["TOTAL"] = "TOTAL";
105
- })(ReturnConsumedCapacity || (ReturnConsumedCapacity = {}));
106
- export var BatchStatementErrorCodeEnum;
107
- (function (BatchStatementErrorCodeEnum) {
108
- BatchStatementErrorCodeEnum["AccessDenied"] = "AccessDenied";
109
- BatchStatementErrorCodeEnum["ConditionalCheckFailed"] = "ConditionalCheckFailed";
110
- BatchStatementErrorCodeEnum["DuplicateItem"] = "DuplicateItem";
111
- BatchStatementErrorCodeEnum["InternalServerError"] = "InternalServerError";
112
- BatchStatementErrorCodeEnum["ItemCollectionSizeLimitExceeded"] = "ItemCollectionSizeLimitExceeded";
113
- BatchStatementErrorCodeEnum["ProvisionedThroughputExceeded"] = "ProvisionedThroughputExceeded";
114
- BatchStatementErrorCodeEnum["RequestLimitExceeded"] = "RequestLimitExceeded";
115
- BatchStatementErrorCodeEnum["ResourceNotFound"] = "ResourceNotFound";
116
- BatchStatementErrorCodeEnum["ThrottlingError"] = "ThrottlingError";
117
- BatchStatementErrorCodeEnum["TransactionConflict"] = "TransactionConflict";
118
- BatchStatementErrorCodeEnum["ValidationError"] = "ValidationError";
119
- })(BatchStatementErrorCodeEnum || (BatchStatementErrorCodeEnum = {}));
82
+ export const BackupTypeFilter = {
83
+ ALL: "ALL",
84
+ AWS_BACKUP: "AWS_BACKUP",
85
+ SYSTEM: "SYSTEM",
86
+ USER: "USER",
87
+ };
88
+ export const ReturnConsumedCapacity = {
89
+ INDEXES: "INDEXES",
90
+ NONE: "NONE",
91
+ TOTAL: "TOTAL",
92
+ };
93
+ export const BatchStatementErrorCodeEnum = {
94
+ AccessDenied: "AccessDenied",
95
+ ConditionalCheckFailed: "ConditionalCheckFailed",
96
+ DuplicateItem: "DuplicateItem",
97
+ InternalServerError: "InternalServerError",
98
+ ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded",
99
+ ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded",
100
+ RequestLimitExceeded: "RequestLimitExceeded",
101
+ ResourceNotFound: "ResourceNotFound",
102
+ ThrottlingError: "ThrottlingError",
103
+ TransactionConflict: "TransactionConflict",
104
+ ValidationError: "ValidationError",
105
+ };
120
106
  export class InternalServerError extends __BaseException {
121
107
  constructor(opts) {
122
108
  super({
@@ -178,11 +164,10 @@ export class ResourceNotFoundException extends __BaseException {
178
164
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
179
165
  }
180
166
  }
181
- export var ReturnItemCollectionMetrics;
182
- (function (ReturnItemCollectionMetrics) {
183
- ReturnItemCollectionMetrics["NONE"] = "NONE";
184
- ReturnItemCollectionMetrics["SIZE"] = "SIZE";
185
- })(ReturnItemCollectionMetrics || (ReturnItemCollectionMetrics = {}));
167
+ export const ReturnItemCollectionMetrics = {
168
+ NONE: "NONE",
169
+ SIZE: "SIZE",
170
+ };
186
171
  export class ItemCollectionSizeLimitExceededException extends __BaseException {
187
172
  constructor(opts) {
188
173
  super({
@@ -195,22 +180,21 @@ export class ItemCollectionSizeLimitExceededException extends __BaseException {
195
180
  Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);
196
181
  }
197
182
  }
198
- export var ComparisonOperator;
199
- (function (ComparisonOperator) {
200
- ComparisonOperator["BEGINS_WITH"] = "BEGINS_WITH";
201
- ComparisonOperator["BETWEEN"] = "BETWEEN";
202
- ComparisonOperator["CONTAINS"] = "CONTAINS";
203
- ComparisonOperator["EQ"] = "EQ";
204
- ComparisonOperator["GE"] = "GE";
205
- ComparisonOperator["GT"] = "GT";
206
- ComparisonOperator["IN"] = "IN";
207
- ComparisonOperator["LE"] = "LE";
208
- ComparisonOperator["LT"] = "LT";
209
- ComparisonOperator["NE"] = "NE";
210
- ComparisonOperator["NOT_CONTAINS"] = "NOT_CONTAINS";
211
- ComparisonOperator["NOT_NULL"] = "NOT_NULL";
212
- ComparisonOperator["NULL"] = "NULL";
213
- })(ComparisonOperator || (ComparisonOperator = {}));
183
+ export const ComparisonOperator = {
184
+ BEGINS_WITH: "BEGINS_WITH",
185
+ BETWEEN: "BETWEEN",
186
+ CONTAINS: "CONTAINS",
187
+ EQ: "EQ",
188
+ GE: "GE",
189
+ GT: "GT",
190
+ IN: "IN",
191
+ LE: "LE",
192
+ LT: "LT",
193
+ NE: "NE",
194
+ NOT_CONTAINS: "NOT_CONTAINS",
195
+ NOT_NULL: "NOT_NULL",
196
+ NULL: "NULL",
197
+ };
214
198
  export class ConditionalCheckFailedException extends __BaseException {
215
199
  constructor(opts) {
216
200
  super({
@@ -223,26 +207,22 @@ export class ConditionalCheckFailedException extends __BaseException {
223
207
  Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
224
208
  }
225
209
  }
226
- export var ConditionalOperator;
227
- (function (ConditionalOperator) {
228
- ConditionalOperator["AND"] = "AND";
229
- ConditionalOperator["OR"] = "OR";
230
- })(ConditionalOperator || (ConditionalOperator = {}));
231
- export var ReturnValuesOnConditionCheckFailure;
232
- (function (ReturnValuesOnConditionCheckFailure) {
233
- ReturnValuesOnConditionCheckFailure["ALL_OLD"] = "ALL_OLD";
234
- ReturnValuesOnConditionCheckFailure["NONE"] = "NONE";
235
- })(ReturnValuesOnConditionCheckFailure || (ReturnValuesOnConditionCheckFailure = {}));
236
- export var ContinuousBackupsStatus;
237
- (function (ContinuousBackupsStatus) {
238
- ContinuousBackupsStatus["DISABLED"] = "DISABLED";
239
- ContinuousBackupsStatus["ENABLED"] = "ENABLED";
240
- })(ContinuousBackupsStatus || (ContinuousBackupsStatus = {}));
241
- export var PointInTimeRecoveryStatus;
242
- (function (PointInTimeRecoveryStatus) {
243
- PointInTimeRecoveryStatus["DISABLED"] = "DISABLED";
244
- PointInTimeRecoveryStatus["ENABLED"] = "ENABLED";
245
- })(PointInTimeRecoveryStatus || (PointInTimeRecoveryStatus = {}));
210
+ export const ConditionalOperator = {
211
+ AND: "AND",
212
+ OR: "OR",
213
+ };
214
+ export const ReturnValuesOnConditionCheckFailure = {
215
+ ALL_OLD: "ALL_OLD",
216
+ NONE: "NONE",
217
+ };
218
+ export const ContinuousBackupsStatus = {
219
+ DISABLED: "DISABLED",
220
+ ENABLED: "ENABLED",
221
+ };
222
+ export const PointInTimeRecoveryStatus = {
223
+ DISABLED: "DISABLED",
224
+ ENABLED: "ENABLED",
225
+ };
246
226
  export class ContinuousBackupsUnavailableException extends __BaseException {
247
227
  constructor(opts) {
248
228
  super({
@@ -255,19 +235,17 @@ export class ContinuousBackupsUnavailableException extends __BaseException {
255
235
  Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);
256
236
  }
257
237
  }
258
- export var ContributorInsightsAction;
259
- (function (ContributorInsightsAction) {
260
- ContributorInsightsAction["DISABLE"] = "DISABLE";
261
- ContributorInsightsAction["ENABLE"] = "ENABLE";
262
- })(ContributorInsightsAction || (ContributorInsightsAction = {}));
263
- export var ContributorInsightsStatus;
264
- (function (ContributorInsightsStatus) {
265
- ContributorInsightsStatus["DISABLED"] = "DISABLED";
266
- ContributorInsightsStatus["DISABLING"] = "DISABLING";
267
- ContributorInsightsStatus["ENABLED"] = "ENABLED";
268
- ContributorInsightsStatus["ENABLING"] = "ENABLING";
269
- ContributorInsightsStatus["FAILED"] = "FAILED";
270
- })(ContributorInsightsStatus || (ContributorInsightsStatus = {}));
238
+ export const ContributorInsightsAction = {
239
+ DISABLE: "DISABLE",
240
+ ENABLE: "ENABLE",
241
+ };
242
+ export const ContributorInsightsStatus = {
243
+ DISABLED: "DISABLED",
244
+ DISABLING: "DISABLING",
245
+ ENABLED: "ENABLED",
246
+ ENABLING: "ENABLING",
247
+ FAILED: "FAILED",
248
+ };
271
249
  export class LimitExceededException extends __BaseException {
272
250
  constructor(opts) {
273
251
  super({
@@ -304,28 +282,25 @@ export class TableNotFoundException extends __BaseException {
304
282
  Object.setPrototypeOf(this, TableNotFoundException.prototype);
305
283
  }
306
284
  }
307
- export var GlobalTableStatus;
308
- (function (GlobalTableStatus) {
309
- GlobalTableStatus["ACTIVE"] = "ACTIVE";
310
- GlobalTableStatus["CREATING"] = "CREATING";
311
- GlobalTableStatus["DELETING"] = "DELETING";
312
- GlobalTableStatus["UPDATING"] = "UPDATING";
313
- })(GlobalTableStatus || (GlobalTableStatus = {}));
314
- export var ReplicaStatus;
315
- (function (ReplicaStatus) {
316
- ReplicaStatus["ACTIVE"] = "ACTIVE";
317
- ReplicaStatus["CREATING"] = "CREATING";
318
- ReplicaStatus["CREATION_FAILED"] = "CREATION_FAILED";
319
- ReplicaStatus["DELETING"] = "DELETING";
320
- ReplicaStatus["INACCESSIBLE_ENCRYPTION_CREDENTIALS"] = "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
321
- ReplicaStatus["REGION_DISABLED"] = "REGION_DISABLED";
322
- ReplicaStatus["UPDATING"] = "UPDATING";
323
- })(ReplicaStatus || (ReplicaStatus = {}));
324
- export var TableClass;
325
- (function (TableClass) {
326
- TableClass["STANDARD"] = "STANDARD";
327
- TableClass["STANDARD_INFREQUENT_ACCESS"] = "STANDARD_INFREQUENT_ACCESS";
328
- })(TableClass || (TableClass = {}));
285
+ export const GlobalTableStatus = {
286
+ ACTIVE: "ACTIVE",
287
+ CREATING: "CREATING",
288
+ DELETING: "DELETING",
289
+ UPDATING: "UPDATING",
290
+ };
291
+ export const ReplicaStatus = {
292
+ ACTIVE: "ACTIVE",
293
+ CREATING: "CREATING",
294
+ CREATION_FAILED: "CREATION_FAILED",
295
+ DELETING: "DELETING",
296
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
297
+ REGION_DISABLED: "REGION_DISABLED",
298
+ UPDATING: "UPDATING",
299
+ };
300
+ export const TableClass = {
301
+ STANDARD: "STANDARD",
302
+ STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS",
303
+ };
329
304
  export class GlobalTableAlreadyExistsException extends __BaseException {
330
305
  constructor(opts) {
331
306
  super({
@@ -338,23 +313,21 @@ export class GlobalTableAlreadyExistsException extends __BaseException {
338
313
  Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);
339
314
  }
340
315
  }
341
- export var IndexStatus;
342
- (function (IndexStatus) {
343
- IndexStatus["ACTIVE"] = "ACTIVE";
344
- IndexStatus["CREATING"] = "CREATING";
345
- IndexStatus["DELETING"] = "DELETING";
346
- IndexStatus["UPDATING"] = "UPDATING";
347
- })(IndexStatus || (IndexStatus = {}));
348
- export var TableStatus;
349
- (function (TableStatus) {
350
- TableStatus["ACTIVE"] = "ACTIVE";
351
- TableStatus["ARCHIVED"] = "ARCHIVED";
352
- TableStatus["ARCHIVING"] = "ARCHIVING";
353
- TableStatus["CREATING"] = "CREATING";
354
- TableStatus["DELETING"] = "DELETING";
355
- TableStatus["INACCESSIBLE_ENCRYPTION_CREDENTIALS"] = "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
356
- TableStatus["UPDATING"] = "UPDATING";
357
- })(TableStatus || (TableStatus = {}));
316
+ export const IndexStatus = {
317
+ ACTIVE: "ACTIVE",
318
+ CREATING: "CREATING",
319
+ DELETING: "DELETING",
320
+ UPDATING: "UPDATING",
321
+ };
322
+ export const TableStatus = {
323
+ ACTIVE: "ACTIVE",
324
+ ARCHIVED: "ARCHIVED",
325
+ ARCHIVING: "ARCHIVING",
326
+ CREATING: "CREATING",
327
+ DELETING: "DELETING",
328
+ INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
329
+ UPDATING: "UPDATING",
330
+ };
358
331
  export class ResourceInUseException extends __BaseException {
359
332
  constructor(opts) {
360
333
  super({
@@ -367,14 +340,13 @@ export class ResourceInUseException extends __BaseException {
367
340
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
368
341
  }
369
342
  }
370
- export var ReturnValue;
371
- (function (ReturnValue) {
372
- ReturnValue["ALL_NEW"] = "ALL_NEW";
373
- ReturnValue["ALL_OLD"] = "ALL_OLD";
374
- ReturnValue["NONE"] = "NONE";
375
- ReturnValue["UPDATED_NEW"] = "UPDATED_NEW";
376
- ReturnValue["UPDATED_OLD"] = "UPDATED_OLD";
377
- })(ReturnValue || (ReturnValue = {}));
343
+ export const ReturnValue = {
344
+ ALL_NEW: "ALL_NEW",
345
+ ALL_OLD: "ALL_OLD",
346
+ NONE: "NONE",
347
+ UPDATED_NEW: "UPDATED_NEW",
348
+ UPDATED_OLD: "UPDATED_OLD",
349
+ };
378
350
  export class TransactionConflictException extends __BaseException {
379
351
  constructor(opts) {
380
352
  super({
@@ -387,22 +359,19 @@ export class TransactionConflictException extends __BaseException {
387
359
  Object.setPrototypeOf(this, TransactionConflictException.prototype);
388
360
  }
389
361
  }
390
- export var ExportFormat;
391
- (function (ExportFormat) {
392
- ExportFormat["DYNAMODB_JSON"] = "DYNAMODB_JSON";
393
- ExportFormat["ION"] = "ION";
394
- })(ExportFormat || (ExportFormat = {}));
395
- export var ExportStatus;
396
- (function (ExportStatus) {
397
- ExportStatus["COMPLETED"] = "COMPLETED";
398
- ExportStatus["FAILED"] = "FAILED";
399
- ExportStatus["IN_PROGRESS"] = "IN_PROGRESS";
400
- })(ExportStatus || (ExportStatus = {}));
401
- export var S3SseAlgorithm;
402
- (function (S3SseAlgorithm) {
403
- S3SseAlgorithm["AES256"] = "AES256";
404
- S3SseAlgorithm["KMS"] = "KMS";
405
- })(S3SseAlgorithm || (S3SseAlgorithm = {}));
362
+ export const ExportFormat = {
363
+ DYNAMODB_JSON: "DYNAMODB_JSON",
364
+ ION: "ION",
365
+ };
366
+ export const ExportStatus = {
367
+ COMPLETED: "COMPLETED",
368
+ FAILED: "FAILED",
369
+ IN_PROGRESS: "IN_PROGRESS",
370
+ };
371
+ export const S3SseAlgorithm = {
372
+ AES256: "AES256",
373
+ KMS: "KMS",
374
+ };
406
375
  export class ExportNotFoundException extends __BaseException {
407
376
  constructor(opts) {
408
377
  super({
@@ -427,26 +396,23 @@ export class GlobalTableNotFoundException extends __BaseException {
427
396
  Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);
428
397
  }
429
398
  }
430
- export var ImportStatus;
431
- (function (ImportStatus) {
432
- ImportStatus["CANCELLED"] = "CANCELLED";
433
- ImportStatus["CANCELLING"] = "CANCELLING";
434
- ImportStatus["COMPLETED"] = "COMPLETED";
435
- ImportStatus["FAILED"] = "FAILED";
436
- ImportStatus["IN_PROGRESS"] = "IN_PROGRESS";
437
- })(ImportStatus || (ImportStatus = {}));
438
- export var InputCompressionType;
439
- (function (InputCompressionType) {
440
- InputCompressionType["GZIP"] = "GZIP";
441
- InputCompressionType["NONE"] = "NONE";
442
- InputCompressionType["ZSTD"] = "ZSTD";
443
- })(InputCompressionType || (InputCompressionType = {}));
444
- export var InputFormat;
445
- (function (InputFormat) {
446
- InputFormat["CSV"] = "CSV";
447
- InputFormat["DYNAMODB_JSON"] = "DYNAMODB_JSON";
448
- InputFormat["ION"] = "ION";
449
- })(InputFormat || (InputFormat = {}));
399
+ export const ImportStatus = {
400
+ CANCELLED: "CANCELLED",
401
+ CANCELLING: "CANCELLING",
402
+ COMPLETED: "COMPLETED",
403
+ FAILED: "FAILED",
404
+ IN_PROGRESS: "IN_PROGRESS",
405
+ };
406
+ export const InputCompressionType = {
407
+ GZIP: "GZIP",
408
+ NONE: "NONE",
409
+ ZSTD: "ZSTD",
410
+ };
411
+ export const InputFormat = {
412
+ CSV: "CSV",
413
+ DYNAMODB_JSON: "DYNAMODB_JSON",
414
+ ION: "ION",
415
+ };
450
416
  export class ImportNotFoundException extends __BaseException {
451
417
  constructor(opts) {
452
418
  super({
@@ -459,14 +425,13 @@ export class ImportNotFoundException extends __BaseException {
459
425
  Object.setPrototypeOf(this, ImportNotFoundException.prototype);
460
426
  }
461
427
  }
462
- export var DestinationStatus;
463
- (function (DestinationStatus) {
464
- DestinationStatus["ACTIVE"] = "ACTIVE";
465
- DestinationStatus["DISABLED"] = "DISABLED";
466
- DestinationStatus["DISABLING"] = "DISABLING";
467
- DestinationStatus["ENABLE_FAILED"] = "ENABLE_FAILED";
468
- DestinationStatus["ENABLING"] = "ENABLING";
469
- })(DestinationStatus || (DestinationStatus = {}));
428
+ export const DestinationStatus = {
429
+ ACTIVE: "ACTIVE",
430
+ DISABLED: "DISABLED",
431
+ DISABLING: "DISABLING",
432
+ ENABLE_FAILED: "ENABLE_FAILED",
433
+ ENABLING: "ENABLING",
434
+ };
470
435
  export class DuplicateItemException extends __BaseException {
471
436
  constructor(opts) {
472
437
  super({
@@ -553,13 +518,12 @@ export class ImportConflictException extends __BaseException {
553
518
  Object.setPrototypeOf(this, ImportConflictException.prototype);
554
519
  }
555
520
  }
556
- export var Select;
557
- (function (Select) {
558
- Select["ALL_ATTRIBUTES"] = "ALL_ATTRIBUTES";
559
- Select["ALL_PROJECTED_ATTRIBUTES"] = "ALL_PROJECTED_ATTRIBUTES";
560
- Select["COUNT"] = "COUNT";
561
- Select["SPECIFIC_ATTRIBUTES"] = "SPECIFIC_ATTRIBUTES";
562
- })(Select || (Select = {}));
521
+ export const Select = {
522
+ ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
523
+ ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
524
+ COUNT: "COUNT",
525
+ SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
526
+ };
563
527
  export class TableAlreadyExistsException extends __BaseException {
564
528
  constructor(opts) {
565
529
  super({
@@ -38,26 +38,26 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
38
38
  * import { DynamoDBClient, BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
39
39
  * // const { DynamoDBClient, BatchExecuteStatementCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
40
40
  * const client = new DynamoDBClient(config);
41
- * const input = {
42
- * Statements: [ // required
43
- * {
41
+ * const input = { // BatchExecuteStatementInput
42
+ * Statements: [ // PartiQLBatchRequest // required
43
+ * { // BatchStatementRequest
44
44
  * Statement: "STRING_VALUE", // required
45
- * Parameters: [
46
- * { // Union: only one key present
45
+ * Parameters: [ // PreparedStatementParameters
46
+ * { // AttributeValue Union: only one key present
47
47
  * S: "STRING_VALUE",
48
48
  * N: "STRING_VALUE",
49
49
  * B: "BLOB_VALUE",
50
- * SS: [
50
+ * SS: [ // StringSetAttributeValue
51
51
  * "STRING_VALUE",
52
52
  * ],
53
- * NS: [
53
+ * NS: [ // NumberSetAttributeValue
54
54
  * "STRING_VALUE",
55
55
  * ],
56
- * BS: [
56
+ * BS: [ // BinarySetAttributeValue
57
57
  * "BLOB_VALUE",
58
58
  * ],
59
- * M: {
60
- * "<keys>": { // Union: only one key present
59
+ * M: { // MapAttributeValue
60
+ * "<keys>": {// Union: only one key present
61
61
  * S: "STRING_VALUE",
62
62
  * N: "STRING_VALUE",
63
63
  * B: "BLOB_VALUE",
@@ -71,53 +71,20 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
71
71
  * "BLOB_VALUE",
72
72
  * ],
73
73
  * M: {
74
- * "<keys>": { // Union: only one key present
75
- * S: "<AttributeValue>",
76
- * N: "<AttributeValue>",
77
- * B: "<AttributeValue>",
78
- * SS: "<AttributeValue>",
79
- * NS: "<AttributeValue>",
80
- * BS: "<AttributeValue>",
81
- * M: "<AttributeValue>",
82
- * L: [
83
- * { // Union: only one key present
84
- * S: "<AttributeValue>",
85
- * N: "<AttributeValue>",
86
- * B: "<AttributeValue>",
87
- * SS: "<AttributeValue>",
88
- * NS: "<AttributeValue>",
89
- * BS: "<AttributeValue>",
90
- * M: "<AttributeValue>",
91
- * L: [
92
- * { // Union: only one key present
93
- * S: "<AttributeValue>",
94
- * N: "<AttributeValue>",
95
- * B: "<AttributeValue>",
96
- * SS: "<AttributeValue>",
97
- * NS: "<AttributeValue>",
98
- * BS: "<AttributeValue>",
99
- * M: "<AttributeValue>",
100
- * L: "<AttributeValue>",
101
- * NULL: true || false,
102
- * BOOL: true || false,
103
- * },
104
- * ],
105
- * NULL: true || false,
106
- * BOOL: true || false,
107
- * },
108
- * ],
109
- * NULL: "<AttributeValue>",
110
- * BOOL: "<AttributeValue>",
111
- * },
74
+ * "<keys>": "<AttributeValue>",
112
75
  * },
113
- * L: "<AttributeValue>",
114
- * NULL: "<AttributeValue>",
115
- * BOOL: "<AttributeValue>",
76
+ * L: [ // ListAttributeValue
77
+ * "<AttributeValue>",
78
+ * ],
79
+ * NULL: true || false,
80
+ * BOOL: true || false,
116
81
  * },
117
82
  * },
118
- * L: "<AttributeValue>",
119
- * NULL: "<AttributeValue>",
120
- * BOOL: "<AttributeValue>",
83
+ * L: [
84
+ * "<AttributeValue>",
85
+ * ],
86
+ * NULL: true || false,
87
+ * BOOL: true || false,
121
88
  * },
122
89
  * ],
123
90
  * ConsistentRead: true || false,