@aws-sdk/client-dynamodb 3.490.0 → 3.495.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 (78) hide show
  1. package/dist-cjs/DynamoDB.js +1 -117
  2. package/dist-cjs/DynamoDBClient.js +1 -61
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +1 -43
  4. package/dist-cjs/commands/BatchExecuteStatementCommand.js +1 -28
  5. package/dist-cjs/commands/BatchGetItemCommand.js +1 -28
  6. package/dist-cjs/commands/BatchWriteItemCommand.js +1 -28
  7. package/dist-cjs/commands/CreateBackupCommand.js +1 -28
  8. package/dist-cjs/commands/CreateGlobalTableCommand.js +1 -28
  9. package/dist-cjs/commands/CreateTableCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteBackupCommand.js +1 -28
  11. package/dist-cjs/commands/DeleteItemCommand.js +1 -28
  12. package/dist-cjs/commands/DeleteTableCommand.js +1 -28
  13. package/dist-cjs/commands/DescribeBackupCommand.js +1 -28
  14. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +1 -28
  15. package/dist-cjs/commands/DescribeContributorInsightsCommand.js +1 -28
  16. package/dist-cjs/commands/DescribeEndpointsCommand.js +1 -28
  17. package/dist-cjs/commands/DescribeExportCommand.js +1 -28
  18. package/dist-cjs/commands/DescribeGlobalTableCommand.js +1 -28
  19. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +1 -28
  20. package/dist-cjs/commands/DescribeImportCommand.js +1 -28
  21. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +1 -28
  22. package/dist-cjs/commands/DescribeLimitsCommand.js +1 -28
  23. package/dist-cjs/commands/DescribeTableCommand.js +1 -28
  24. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +1 -28
  25. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +1 -28
  26. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +1 -28
  27. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +1 -28
  28. package/dist-cjs/commands/ExecuteStatementCommand.js +1 -28
  29. package/dist-cjs/commands/ExecuteTransactionCommand.js +1 -28
  30. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +1 -28
  31. package/dist-cjs/commands/GetItemCommand.js +1 -28
  32. package/dist-cjs/commands/ImportTableCommand.js +1 -28
  33. package/dist-cjs/commands/ListBackupsCommand.js +1 -28
  34. package/dist-cjs/commands/ListContributorInsightsCommand.js +1 -28
  35. package/dist-cjs/commands/ListExportsCommand.js +1 -28
  36. package/dist-cjs/commands/ListGlobalTablesCommand.js +1 -28
  37. package/dist-cjs/commands/ListImportsCommand.js +1 -28
  38. package/dist-cjs/commands/ListTablesCommand.js +1 -28
  39. package/dist-cjs/commands/ListTagsOfResourceCommand.js +1 -28
  40. package/dist-cjs/commands/PutItemCommand.js +1 -28
  41. package/dist-cjs/commands/QueryCommand.js +1 -28
  42. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +1 -28
  43. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +1 -28
  44. package/dist-cjs/commands/ScanCommand.js +1 -28
  45. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  46. package/dist-cjs/commands/TransactGetItemsCommand.js +1 -28
  47. package/dist-cjs/commands/TransactWriteItemsCommand.js +1 -28
  48. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  49. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +1 -28
  50. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +1 -28
  51. package/dist-cjs/commands/UpdateGlobalTableCommand.js +1 -28
  52. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +1 -28
  53. package/dist-cjs/commands/UpdateItemCommand.js +1 -28
  54. package/dist-cjs/commands/UpdateTableCommand.js +1 -28
  55. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +1 -28
  56. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +1 -28
  57. package/dist-cjs/commands/index.js +1 -56
  58. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  59. package/dist-cjs/extensionConfiguration.js +1 -2
  60. package/dist-cjs/index.js +6692 -12
  61. package/dist-cjs/models/DynamoDBServiceException.js +1 -12
  62. package/dist-cjs/models/index.js +1 -4
  63. package/dist-cjs/models/models_0.js +1 -671
  64. package/dist-cjs/pagination/Interfaces.js +1 -2
  65. package/dist-cjs/pagination/ListContributorInsightsPaginator.js +1 -7
  66. package/dist-cjs/pagination/ListExportsPaginator.js +1 -7
  67. package/dist-cjs/pagination/ListImportsPaginator.js +1 -7
  68. package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
  69. package/dist-cjs/pagination/QueryPaginator.js +1 -7
  70. package/dist-cjs/pagination/ScanPaginator.js +1 -7
  71. package/dist-cjs/pagination/index.js +1 -10
  72. package/dist-cjs/protocols/Aws_json1_0.js +1 -4555
  73. package/dist-cjs/runtimeExtensions.js +1 -25
  74. package/dist-cjs/waiters/index.js +1 -5
  75. package/dist-cjs/waiters/waitForTableExists.js +1 -39
  76. package/dist-cjs/waiters/waitForTableNotExists.js +1 -30
  77. package/dist-types/models/models_0.d.ts +2 -2
  78. package/package.json +42 -42
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DynamoDBServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class DynamoDBServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, DynamoDBServiceException.prototype);
10
- }
11
- }
12
- exports.DynamoDBServiceException = DynamoDBServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,671 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GlobalTableNotFoundException = exports.ExportNotFoundException = exports.S3SseAlgorithm = exports.ExportViewType = exports.ExportType = 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.ConditionalOperator = exports.ComparisonOperator = exports.ItemCollectionSizeLimitExceededException = exports.ReturnItemCollectionMetrics = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementErrorCodeEnum = exports.ReturnValuesOnConditionCheckFailure = 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
- exports.TransactionCanceledException = exports.ConditionalCheckFailedException = 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 = exports.ImportStatus = void 0;
5
- const DynamoDBServiceException_1 = require("./DynamoDBServiceException");
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
- };
62
- class BackupInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
63
- constructor(opts) {
64
- super({
65
- name: "BackupInUseException",
66
- $fault: "client",
67
- ...opts,
68
- });
69
- this.name = "BackupInUseException";
70
- this.$fault = "client";
71
- Object.setPrototypeOf(this, BackupInUseException.prototype);
72
- }
73
- }
74
- exports.BackupInUseException = BackupInUseException;
75
- class BackupNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
76
- constructor(opts) {
77
- super({
78
- name: "BackupNotFoundException",
79
- $fault: "client",
80
- ...opts,
81
- });
82
- this.name = "BackupNotFoundException";
83
- this.$fault = "client";
84
- Object.setPrototypeOf(this, BackupNotFoundException.prototype);
85
- }
86
- }
87
- exports.BackupNotFoundException = BackupNotFoundException;
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.ReturnValuesOnConditionCheckFailure = {
100
- ALL_OLD: "ALL_OLD",
101
- NONE: "NONE",
102
- };
103
- exports.BatchStatementErrorCodeEnum = {
104
- AccessDenied: "AccessDenied",
105
- ConditionalCheckFailed: "ConditionalCheckFailed",
106
- DuplicateItem: "DuplicateItem",
107
- InternalServerError: "InternalServerError",
108
- ItemCollectionSizeLimitExceeded: "ItemCollectionSizeLimitExceeded",
109
- ProvisionedThroughputExceeded: "ProvisionedThroughputExceeded",
110
- RequestLimitExceeded: "RequestLimitExceeded",
111
- ResourceNotFound: "ResourceNotFound",
112
- ThrottlingError: "ThrottlingError",
113
- TransactionConflict: "TransactionConflict",
114
- ValidationError: "ValidationError",
115
- };
116
- class InternalServerError extends DynamoDBServiceException_1.DynamoDBServiceException {
117
- constructor(opts) {
118
- super({
119
- name: "InternalServerError",
120
- $fault: "server",
121
- ...opts,
122
- });
123
- this.name = "InternalServerError";
124
- this.$fault = "server";
125
- Object.setPrototypeOf(this, InternalServerError.prototype);
126
- }
127
- }
128
- exports.InternalServerError = InternalServerError;
129
- class RequestLimitExceeded extends DynamoDBServiceException_1.DynamoDBServiceException {
130
- constructor(opts) {
131
- super({
132
- name: "RequestLimitExceeded",
133
- $fault: "client",
134
- ...opts,
135
- });
136
- this.name = "RequestLimitExceeded";
137
- this.$fault = "client";
138
- Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
139
- }
140
- }
141
- exports.RequestLimitExceeded = RequestLimitExceeded;
142
- class InvalidEndpointException extends DynamoDBServiceException_1.DynamoDBServiceException {
143
- constructor(opts) {
144
- super({
145
- name: "InvalidEndpointException",
146
- $fault: "client",
147
- ...opts,
148
- });
149
- this.name = "InvalidEndpointException";
150
- this.$fault = "client";
151
- Object.setPrototypeOf(this, InvalidEndpointException.prototype);
152
- this.Message = opts.Message;
153
- }
154
- }
155
- exports.InvalidEndpointException = InvalidEndpointException;
156
- class ProvisionedThroughputExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
157
- constructor(opts) {
158
- super({
159
- name: "ProvisionedThroughputExceededException",
160
- $fault: "client",
161
- ...opts,
162
- });
163
- this.name = "ProvisionedThroughputExceededException";
164
- this.$fault = "client";
165
- Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
166
- }
167
- }
168
- exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
169
- class ResourceNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
170
- constructor(opts) {
171
- super({
172
- name: "ResourceNotFoundException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- this.name = "ResourceNotFoundException";
177
- this.$fault = "client";
178
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
179
- }
180
- }
181
- exports.ResourceNotFoundException = ResourceNotFoundException;
182
- exports.ReturnItemCollectionMetrics = {
183
- NONE: "NONE",
184
- SIZE: "SIZE",
185
- };
186
- class ItemCollectionSizeLimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
187
- constructor(opts) {
188
- super({
189
- name: "ItemCollectionSizeLimitExceededException",
190
- $fault: "client",
191
- ...opts,
192
- });
193
- this.name = "ItemCollectionSizeLimitExceededException";
194
- this.$fault = "client";
195
- Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);
196
- }
197
- }
198
- exports.ItemCollectionSizeLimitExceededException = ItemCollectionSizeLimitExceededException;
199
- exports.ComparisonOperator = {
200
- BEGINS_WITH: "BEGINS_WITH",
201
- BETWEEN: "BETWEEN",
202
- CONTAINS: "CONTAINS",
203
- EQ: "EQ",
204
- GE: "GE",
205
- GT: "GT",
206
- IN: "IN",
207
- LE: "LE",
208
- LT: "LT",
209
- NE: "NE",
210
- NOT_CONTAINS: "NOT_CONTAINS",
211
- NOT_NULL: "NOT_NULL",
212
- NULL: "NULL",
213
- };
214
- exports.ConditionalOperator = {
215
- AND: "AND",
216
- OR: "OR",
217
- };
218
- exports.ContinuousBackupsStatus = {
219
- DISABLED: "DISABLED",
220
- ENABLED: "ENABLED",
221
- };
222
- exports.PointInTimeRecoveryStatus = {
223
- DISABLED: "DISABLED",
224
- ENABLED: "ENABLED",
225
- };
226
- class ContinuousBackupsUnavailableException extends DynamoDBServiceException_1.DynamoDBServiceException {
227
- constructor(opts) {
228
- super({
229
- name: "ContinuousBackupsUnavailableException",
230
- $fault: "client",
231
- ...opts,
232
- });
233
- this.name = "ContinuousBackupsUnavailableException";
234
- this.$fault = "client";
235
- Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);
236
- }
237
- }
238
- exports.ContinuousBackupsUnavailableException = ContinuousBackupsUnavailableException;
239
- exports.ContributorInsightsAction = {
240
- DISABLE: "DISABLE",
241
- ENABLE: "ENABLE",
242
- };
243
- exports.ContributorInsightsStatus = {
244
- DISABLED: "DISABLED",
245
- DISABLING: "DISABLING",
246
- ENABLED: "ENABLED",
247
- ENABLING: "ENABLING",
248
- FAILED: "FAILED",
249
- };
250
- class LimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
251
- constructor(opts) {
252
- super({
253
- name: "LimitExceededException",
254
- $fault: "client",
255
- ...opts,
256
- });
257
- this.name = "LimitExceededException";
258
- this.$fault = "client";
259
- Object.setPrototypeOf(this, LimitExceededException.prototype);
260
- }
261
- }
262
- exports.LimitExceededException = LimitExceededException;
263
- class TableInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
264
- constructor(opts) {
265
- super({
266
- name: "TableInUseException",
267
- $fault: "client",
268
- ...opts,
269
- });
270
- this.name = "TableInUseException";
271
- this.$fault = "client";
272
- Object.setPrototypeOf(this, TableInUseException.prototype);
273
- }
274
- }
275
- exports.TableInUseException = TableInUseException;
276
- class TableNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
277
- constructor(opts) {
278
- super({
279
- name: "TableNotFoundException",
280
- $fault: "client",
281
- ...opts,
282
- });
283
- this.name = "TableNotFoundException";
284
- this.$fault = "client";
285
- Object.setPrototypeOf(this, TableNotFoundException.prototype);
286
- }
287
- }
288
- exports.TableNotFoundException = TableNotFoundException;
289
- exports.GlobalTableStatus = {
290
- ACTIVE: "ACTIVE",
291
- CREATING: "CREATING",
292
- DELETING: "DELETING",
293
- UPDATING: "UPDATING",
294
- };
295
- exports.ReplicaStatus = {
296
- ACTIVE: "ACTIVE",
297
- CREATING: "CREATING",
298
- CREATION_FAILED: "CREATION_FAILED",
299
- DELETING: "DELETING",
300
- INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
301
- REGION_DISABLED: "REGION_DISABLED",
302
- UPDATING: "UPDATING",
303
- };
304
- exports.TableClass = {
305
- STANDARD: "STANDARD",
306
- STANDARD_INFREQUENT_ACCESS: "STANDARD_INFREQUENT_ACCESS",
307
- };
308
- class GlobalTableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
309
- constructor(opts) {
310
- super({
311
- name: "GlobalTableAlreadyExistsException",
312
- $fault: "client",
313
- ...opts,
314
- });
315
- this.name = "GlobalTableAlreadyExistsException";
316
- this.$fault = "client";
317
- Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);
318
- }
319
- }
320
- exports.GlobalTableAlreadyExistsException = GlobalTableAlreadyExistsException;
321
- exports.IndexStatus = {
322
- ACTIVE: "ACTIVE",
323
- CREATING: "CREATING",
324
- DELETING: "DELETING",
325
- UPDATING: "UPDATING",
326
- };
327
- exports.TableStatus = {
328
- ACTIVE: "ACTIVE",
329
- ARCHIVED: "ARCHIVED",
330
- ARCHIVING: "ARCHIVING",
331
- CREATING: "CREATING",
332
- DELETING: "DELETING",
333
- INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
334
- UPDATING: "UPDATING",
335
- };
336
- class ResourceInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
337
- constructor(opts) {
338
- super({
339
- name: "ResourceInUseException",
340
- $fault: "client",
341
- ...opts,
342
- });
343
- this.name = "ResourceInUseException";
344
- this.$fault = "client";
345
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
346
- }
347
- }
348
- exports.ResourceInUseException = ResourceInUseException;
349
- exports.ReturnValue = {
350
- ALL_NEW: "ALL_NEW",
351
- ALL_OLD: "ALL_OLD",
352
- NONE: "NONE",
353
- UPDATED_NEW: "UPDATED_NEW",
354
- UPDATED_OLD: "UPDATED_OLD",
355
- };
356
- class TransactionConflictException extends DynamoDBServiceException_1.DynamoDBServiceException {
357
- constructor(opts) {
358
- super({
359
- name: "TransactionConflictException",
360
- $fault: "client",
361
- ...opts,
362
- });
363
- this.name = "TransactionConflictException";
364
- this.$fault = "client";
365
- Object.setPrototypeOf(this, TransactionConflictException.prototype);
366
- }
367
- }
368
- exports.TransactionConflictException = TransactionConflictException;
369
- exports.ExportFormat = {
370
- DYNAMODB_JSON: "DYNAMODB_JSON",
371
- ION: "ION",
372
- };
373
- exports.ExportStatus = {
374
- COMPLETED: "COMPLETED",
375
- FAILED: "FAILED",
376
- IN_PROGRESS: "IN_PROGRESS",
377
- };
378
- exports.ExportType = {
379
- FULL_EXPORT: "FULL_EXPORT",
380
- INCREMENTAL_EXPORT: "INCREMENTAL_EXPORT",
381
- };
382
- exports.ExportViewType = {
383
- NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
384
- NEW_IMAGE: "NEW_IMAGE",
385
- };
386
- exports.S3SseAlgorithm = {
387
- AES256: "AES256",
388
- KMS: "KMS",
389
- };
390
- class ExportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
391
- constructor(opts) {
392
- super({
393
- name: "ExportNotFoundException",
394
- $fault: "client",
395
- ...opts,
396
- });
397
- this.name = "ExportNotFoundException";
398
- this.$fault = "client";
399
- Object.setPrototypeOf(this, ExportNotFoundException.prototype);
400
- }
401
- }
402
- exports.ExportNotFoundException = ExportNotFoundException;
403
- class GlobalTableNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
404
- constructor(opts) {
405
- super({
406
- name: "GlobalTableNotFoundException",
407
- $fault: "client",
408
- ...opts,
409
- });
410
- this.name = "GlobalTableNotFoundException";
411
- this.$fault = "client";
412
- Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);
413
- }
414
- }
415
- exports.GlobalTableNotFoundException = GlobalTableNotFoundException;
416
- exports.ImportStatus = {
417
- CANCELLED: "CANCELLED",
418
- CANCELLING: "CANCELLING",
419
- COMPLETED: "COMPLETED",
420
- FAILED: "FAILED",
421
- IN_PROGRESS: "IN_PROGRESS",
422
- };
423
- exports.InputCompressionType = {
424
- GZIP: "GZIP",
425
- NONE: "NONE",
426
- ZSTD: "ZSTD",
427
- };
428
- exports.InputFormat = {
429
- CSV: "CSV",
430
- DYNAMODB_JSON: "DYNAMODB_JSON",
431
- ION: "ION",
432
- };
433
- class ImportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
434
- constructor(opts) {
435
- super({
436
- name: "ImportNotFoundException",
437
- $fault: "client",
438
- ...opts,
439
- });
440
- this.name = "ImportNotFoundException";
441
- this.$fault = "client";
442
- Object.setPrototypeOf(this, ImportNotFoundException.prototype);
443
- }
444
- }
445
- exports.ImportNotFoundException = ImportNotFoundException;
446
- exports.DestinationStatus = {
447
- ACTIVE: "ACTIVE",
448
- DISABLED: "DISABLED",
449
- DISABLING: "DISABLING",
450
- ENABLE_FAILED: "ENABLE_FAILED",
451
- ENABLING: "ENABLING",
452
- };
453
- class DuplicateItemException extends DynamoDBServiceException_1.DynamoDBServiceException {
454
- constructor(opts) {
455
- super({
456
- name: "DuplicateItemException",
457
- $fault: "client",
458
- ...opts,
459
- });
460
- this.name = "DuplicateItemException";
461
- this.$fault = "client";
462
- Object.setPrototypeOf(this, DuplicateItemException.prototype);
463
- }
464
- }
465
- exports.DuplicateItemException = DuplicateItemException;
466
- class IdempotentParameterMismatchException extends DynamoDBServiceException_1.DynamoDBServiceException {
467
- constructor(opts) {
468
- super({
469
- name: "IdempotentParameterMismatchException",
470
- $fault: "client",
471
- ...opts,
472
- });
473
- this.name = "IdempotentParameterMismatchException";
474
- this.$fault = "client";
475
- Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
476
- this.Message = opts.Message;
477
- }
478
- }
479
- exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
480
- class TransactionInProgressException extends DynamoDBServiceException_1.DynamoDBServiceException {
481
- constructor(opts) {
482
- super({
483
- name: "TransactionInProgressException",
484
- $fault: "client",
485
- ...opts,
486
- });
487
- this.name = "TransactionInProgressException";
488
- this.$fault = "client";
489
- Object.setPrototypeOf(this, TransactionInProgressException.prototype);
490
- this.Message = opts.Message;
491
- }
492
- }
493
- exports.TransactionInProgressException = TransactionInProgressException;
494
- class ExportConflictException extends DynamoDBServiceException_1.DynamoDBServiceException {
495
- constructor(opts) {
496
- super({
497
- name: "ExportConflictException",
498
- $fault: "client",
499
- ...opts,
500
- });
501
- this.name = "ExportConflictException";
502
- this.$fault = "client";
503
- Object.setPrototypeOf(this, ExportConflictException.prototype);
504
- }
505
- }
506
- exports.ExportConflictException = ExportConflictException;
507
- class InvalidExportTimeException extends DynamoDBServiceException_1.DynamoDBServiceException {
508
- constructor(opts) {
509
- super({
510
- name: "InvalidExportTimeException",
511
- $fault: "client",
512
- ...opts,
513
- });
514
- this.name = "InvalidExportTimeException";
515
- this.$fault = "client";
516
- Object.setPrototypeOf(this, InvalidExportTimeException.prototype);
517
- }
518
- }
519
- exports.InvalidExportTimeException = InvalidExportTimeException;
520
- class PointInTimeRecoveryUnavailableException extends DynamoDBServiceException_1.DynamoDBServiceException {
521
- constructor(opts) {
522
- super({
523
- name: "PointInTimeRecoveryUnavailableException",
524
- $fault: "client",
525
- ...opts,
526
- });
527
- this.name = "PointInTimeRecoveryUnavailableException";
528
- this.$fault = "client";
529
- Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype);
530
- }
531
- }
532
- exports.PointInTimeRecoveryUnavailableException = PointInTimeRecoveryUnavailableException;
533
- class ImportConflictException extends DynamoDBServiceException_1.DynamoDBServiceException {
534
- constructor(opts) {
535
- super({
536
- name: "ImportConflictException",
537
- $fault: "client",
538
- ...opts,
539
- });
540
- this.name = "ImportConflictException";
541
- this.$fault = "client";
542
- Object.setPrototypeOf(this, ImportConflictException.prototype);
543
- }
544
- }
545
- exports.ImportConflictException = ImportConflictException;
546
- exports.Select = {
547
- ALL_ATTRIBUTES: "ALL_ATTRIBUTES",
548
- ALL_PROJECTED_ATTRIBUTES: "ALL_PROJECTED_ATTRIBUTES",
549
- COUNT: "COUNT",
550
- SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
551
- };
552
- class TableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
553
- constructor(opts) {
554
- super({
555
- name: "TableAlreadyExistsException",
556
- $fault: "client",
557
- ...opts,
558
- });
559
- this.name = "TableAlreadyExistsException";
560
- this.$fault = "client";
561
- Object.setPrototypeOf(this, TableAlreadyExistsException.prototype);
562
- }
563
- }
564
- exports.TableAlreadyExistsException = TableAlreadyExistsException;
565
- class InvalidRestoreTimeException extends DynamoDBServiceException_1.DynamoDBServiceException {
566
- constructor(opts) {
567
- super({
568
- name: "InvalidRestoreTimeException",
569
- $fault: "client",
570
- ...opts,
571
- });
572
- this.name = "InvalidRestoreTimeException";
573
- this.$fault = "client";
574
- Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype);
575
- }
576
- }
577
- exports.InvalidRestoreTimeException = InvalidRestoreTimeException;
578
- class ReplicaAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
579
- constructor(opts) {
580
- super({
581
- name: "ReplicaAlreadyExistsException",
582
- $fault: "client",
583
- ...opts,
584
- });
585
- this.name = "ReplicaAlreadyExistsException";
586
- this.$fault = "client";
587
- Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype);
588
- }
589
- }
590
- exports.ReplicaAlreadyExistsException = ReplicaAlreadyExistsException;
591
- class ReplicaNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
592
- constructor(opts) {
593
- super({
594
- name: "ReplicaNotFoundException",
595
- $fault: "client",
596
- ...opts,
597
- });
598
- this.name = "ReplicaNotFoundException";
599
- this.$fault = "client";
600
- Object.setPrototypeOf(this, ReplicaNotFoundException.prototype);
601
- }
602
- }
603
- exports.ReplicaNotFoundException = ReplicaNotFoundException;
604
- class IndexNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
605
- constructor(opts) {
606
- super({
607
- name: "IndexNotFoundException",
608
- $fault: "client",
609
- ...opts,
610
- });
611
- this.name = "IndexNotFoundException";
612
- this.$fault = "client";
613
- Object.setPrototypeOf(this, IndexNotFoundException.prototype);
614
- }
615
- }
616
- exports.IndexNotFoundException = IndexNotFoundException;
617
- var AttributeValue;
618
- (function (AttributeValue) {
619
- AttributeValue.visit = (value, visitor) => {
620
- if (value.S !== undefined)
621
- return visitor.S(value.S);
622
- if (value.N !== undefined)
623
- return visitor.N(value.N);
624
- if (value.B !== undefined)
625
- return visitor.B(value.B);
626
- if (value.SS !== undefined)
627
- return visitor.SS(value.SS);
628
- if (value.NS !== undefined)
629
- return visitor.NS(value.NS);
630
- if (value.BS !== undefined)
631
- return visitor.BS(value.BS);
632
- if (value.M !== undefined)
633
- return visitor.M(value.M);
634
- if (value.L !== undefined)
635
- return visitor.L(value.L);
636
- if (value.NULL !== undefined)
637
- return visitor.NULL(value.NULL);
638
- if (value.BOOL !== undefined)
639
- return visitor.BOOL(value.BOOL);
640
- return visitor._(value.$unknown[0], value.$unknown[1]);
641
- };
642
- })(AttributeValue = exports.AttributeValue || (exports.AttributeValue = {}));
643
- class ConditionalCheckFailedException extends DynamoDBServiceException_1.DynamoDBServiceException {
644
- constructor(opts) {
645
- super({
646
- name: "ConditionalCheckFailedException",
647
- $fault: "client",
648
- ...opts,
649
- });
650
- this.name = "ConditionalCheckFailedException";
651
- this.$fault = "client";
652
- Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
653
- this.Item = opts.Item;
654
- }
655
- }
656
- exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
657
- class TransactionCanceledException extends DynamoDBServiceException_1.DynamoDBServiceException {
658
- constructor(opts) {
659
- super({
660
- name: "TransactionCanceledException",
661
- $fault: "client",
662
- ...opts,
663
- });
664
- this.name = "TransactionCanceledException";
665
- this.$fault = "client";
666
- Object.setPrototypeOf(this, TransactionCanceledException.prototype);
667
- this.Message = opts.Message;
668
- this.CancellationReasons = opts.CancellationReasons;
669
- }
670
- }
671
- exports.TransactionCanceledException = TransactionCanceledException;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");