@aws-sdk/client-dynamodb 3.52.0 → 3.53.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+ * **clients:** update clients as of 2022/02/23 ([#3356](https://github.com/aws/aws-sdk-js-v3/issues/3356)) ([b6b2e25](https://github.com/aws/aws-sdk-js-v3/commit/b6b2e258add12c73d807483ca078401a6d84a12b))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
19
 
8
20
  **Note:** Version bump only for package @aws-sdk/client-dynamodb
package/dist-cjs/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoDBServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./DynamoDB"), exports);
5
6
  tslib_1.__exportStar(require("./DynamoDBClient"), exports);
@@ -7,3 +8,5 @@ tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
8
9
  tslib_1.__exportStar(require("./pagination"), exports);
9
10
  tslib_1.__exportStar(require("./waiters"), exports);
11
+ var DynamoDBServiceException_1 = require("./models/DynamoDBServiceException");
12
+ Object.defineProperty(exports, "DynamoDBServiceException", { enumerable: true, get: function () { return DynamoDBServiceException_1.DynamoDBServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DynamoDBServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class DynamoDBServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, DynamoDBServiceException.prototype);
9
+ }
10
+ }
11
+ exports.DynamoDBServiceException = DynamoDBServiceException;
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Tag = exports.SSESpecification = exports.LocalSecondaryIndex = exports.GlobalSecondaryIndex = exports.CreateReplicationGroupMemberAction = exports.ReplicaGlobalSecondaryIndex = exports.CreateReplicaAction = exports.CreateGlobalTableOutput = exports.GlobalTableDescription = exports.ReplicaDescription = exports.TableClassSummary = exports.TableClass = exports.ReplicaGlobalSecondaryIndexDescription = exports.ProvisionedThroughputOverride = exports.CreateGlobalTableInput = exports.Replica = exports.CreateGlobalSecondaryIndexAction = exports.CreateBackupOutput = exports.CreateBackupInput = exports.ContributorInsightsSummary = exports.ContinuousBackupsDescription = exports.PointInTimeRecoveryDescription = exports.BillingModeSummary = exports.BatchStatementError = exports.BatchStatementErrorCodeEnum = exports.ConsumedCapacity = exports.Capacity = exports.BackupTypeFilter = exports.BackupSummary = exports.BackupDescription = exports.SourceTableFeatureDetails = exports.TimeToLiveDescription = exports.StreamSpecification = exports.SSEDescription = exports.LocalSecondaryIndexInfo = exports.GlobalSecondaryIndexInfo = exports.Projection = exports.SourceTableDetails = exports.ProvisionedThroughput = exports.KeySchemaElement = exports.BackupDetails = exports.BackupType = exports.AutoScalingSettingsUpdate = exports.AutoScalingSettingsDescription = exports.AutoScalingPolicyUpdate = exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = exports.AutoScalingPolicyDescription = exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription = exports.AttributeDefinition = exports.ArchivalSummary = void 0;
4
- exports.KinesisStreamingDestinationInput = exports.DescribeTimeToLiveOutput = exports.DescribeTimeToLiveInput = exports.DescribeTableReplicaAutoScalingOutput = exports.TableAutoScalingDescription = exports.ReplicaAutoScalingDescription = exports.ReplicaGlobalSecondaryIndexAutoScalingDescription = exports.DescribeTableReplicaAutoScalingInput = exports.DescribeTableOutput = exports.DescribeTableInput = exports.DescribeLimitsOutput = exports.DescribeLimitsInput = exports.DescribeKinesisStreamingDestinationOutput = exports.KinesisDataStreamDestination = exports.DescribeKinesisStreamingDestinationInput = exports.DescribeGlobalTableSettingsOutput = exports.ReplicaSettingsDescription = exports.ReplicaGlobalSecondaryIndexSettingsDescription = exports.DescribeGlobalTableSettingsInput = exports.DescribeGlobalTableOutput = exports.DescribeGlobalTableInput = exports.DescribeExportOutput = exports.ExportDescription = exports.ExportStatus = exports.ExportFormat = exports.DescribeExportInput = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeContributorInsightsOutput = exports.FailureException = exports.DescribeContributorInsightsInput = exports.DescribeContinuousBackupsOutput = exports.DescribeContinuousBackupsInput = exports.DescribeBackupOutput = exports.DescribeBackupInput = exports.DeleteTableOutput = exports.DeleteTableInput = exports.DeleteReplicationGroupMemberAction = exports.DeleteReplicaAction = exports.DeleteGlobalSecondaryIndexAction = exports.DeleteBackupOutput = exports.DeleteBackupInput = exports.CreateTableOutput = exports.TableDescription = exports.RestoreSummary = exports.LocalSecondaryIndexDescription = exports.GlobalSecondaryIndexDescription = exports.ProvisionedThroughputDescription = exports.CreateTableInput = void 0;
5
- exports.UpdateTimeToLiveOutput = exports.UpdateTimeToLiveInput = exports.TimeToLiveSpecification = exports.UpdateTableReplicaAutoScalingOutput = exports.UpdateTableReplicaAutoScalingInput = exports.ReplicaAutoScalingUpdate = exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate = exports.GlobalSecondaryIndexAutoScalingUpdate = exports.UpdateTableOutput = exports.UpdateTableInput = exports.ReplicationGroupUpdate = exports.UpdateReplicationGroupMemberAction = exports.GlobalSecondaryIndexUpdate = exports.UpdateGlobalSecondaryIndexAction = exports.UpdateGlobalTableSettingsOutput = exports.UpdateGlobalTableSettingsInput = exports.ReplicaSettingsUpdate = exports.ReplicaGlobalSecondaryIndexSettingsUpdate = exports.GlobalTableGlobalSecondaryIndexSettingsUpdate = exports.UpdateGlobalTableOutput = exports.UpdateGlobalTableInput = exports.ReplicaUpdate = exports.UpdateContributorInsightsOutput = exports.UpdateContributorInsightsInput = exports.UpdateContinuousBackupsOutput = exports.UpdateContinuousBackupsInput = exports.PointInTimeRecoverySpecification = exports.UntagResourceInput = exports.TagResourceInput = exports.RestoreTableToPointInTimeOutput = exports.RestoreTableToPointInTimeInput = exports.RestoreTableFromBackupOutput = exports.RestoreTableFromBackupInput = exports.ListTagsOfResourceOutput = exports.ListTagsOfResourceInput = exports.ListTablesOutput = exports.ListTablesInput = exports.ListGlobalTablesOutput = exports.GlobalTable = exports.ListGlobalTablesInput = exports.ListExportsOutput = exports.ExportSummary = exports.ListExportsInput = exports.ListContributorInsightsOutput = exports.ListContributorInsightsInput = exports.ListBackupsOutput = exports.ListBackupsInput = exports.ExportTableToPointInTimeOutput = exports.ExportTableToPointInTimeInput = exports.KinesisStreamingDestinationOutput = void 0;
6
- exports.TransactWriteItemsInput = exports.TransactWriteItem = exports.UpdateItemInput = exports.BatchWriteItemOutput = exports.QueryInput = exports.PutItemInput = exports.DeleteItemInput = exports.BatchWriteItemInput = exports.ScanInput = exports.BatchGetItemOutput = exports.WriteRequest = exports.UpdateItemOutput = exports.ScanOutput = exports.QueryOutput = exports.PutItemOutput = exports.DeleteItemOutput = exports.Update = exports.Put = exports.Delete = exports.ConditionCheck = exports.TransactWriteItemsOutput = exports.TransactGetItemsInput = exports.ExpectedAttributeValue = exports.BatchGetItemInput = exports.TransactGetItemsOutput = exports.ExecuteTransactionOutput = exports.ExecuteTransactionInput = exports.BatchExecuteStatementOutput = exports.BatchExecuteStatementInput = exports.TransactGetItem = exports.KeysAndAttributes = exports.ExecuteStatementOutput = exports.PutRequest = exports.ParameterizedStatement = exports.ItemResponse = exports.ItemCollectionMetrics = exports.GetItemOutput = exports.GetItemInput = exports.Get = exports.ExecuteStatementInput = exports.DeleteRequest = exports.Condition = exports.CancellationReason = exports.BatchStatementResponse = exports.BatchStatementRequest = exports.AttributeValueUpdate = exports.AttributeValue = void 0;
3
+ exports.ProvisionedThroughputOverride = exports.CreateGlobalTableInput = exports.Replica = exports.CreateGlobalSecondaryIndexAction = exports.TableNotFoundException = exports.TableInUseException = exports.LimitExceededException = exports.CreateBackupOutput = exports.CreateBackupInput = exports.ContributorInsightsSummary = exports.ContinuousBackupsUnavailableException = exports.ContinuousBackupsDescription = exports.PointInTimeRecoveryDescription = exports.ConditionalCheckFailedException = exports.BillingModeSummary = exports.ItemCollectionSizeLimitExceededException = exports.ResourceNotFoundException = exports.ProvisionedThroughputExceededException = exports.InvalidEndpointException = exports.RequestLimitExceeded = exports.InternalServerError = exports.BatchStatementError = exports.BatchStatementErrorCodeEnum = exports.ConsumedCapacity = exports.Capacity = exports.BackupTypeFilter = exports.BackupSummary = exports.BackupNotFoundException = exports.BackupInUseException = exports.BackupDescription = exports.SourceTableFeatureDetails = exports.TimeToLiveDescription = exports.StreamSpecification = exports.SSEDescription = exports.LocalSecondaryIndexInfo = exports.GlobalSecondaryIndexInfo = exports.Projection = exports.SourceTableDetails = exports.ProvisionedThroughput = exports.KeySchemaElement = exports.BackupDetails = exports.BackupType = exports.AutoScalingSettingsUpdate = exports.AutoScalingSettingsDescription = exports.AutoScalingPolicyUpdate = exports.AutoScalingTargetTrackingScalingPolicyConfigurationUpdate = exports.AutoScalingPolicyDescription = exports.AutoScalingTargetTrackingScalingPolicyConfigurationDescription = exports.AttributeDefinition = exports.ArchivalSummary = void 0;
4
+ exports.DescribeGlobalTableSettingsInput = exports.GlobalTableNotFoundException = exports.DescribeGlobalTableOutput = exports.DescribeGlobalTableInput = exports.ExportNotFoundException = exports.DescribeExportOutput = exports.ExportDescription = exports.ExportStatus = exports.ExportFormat = exports.DescribeExportInput = exports.DescribeEndpointsResponse = exports.Endpoint = exports.DescribeEndpointsRequest = exports.DescribeContributorInsightsOutput = exports.FailureException = exports.DescribeContributorInsightsInput = exports.DescribeContinuousBackupsOutput = exports.DescribeContinuousBackupsInput = exports.DescribeBackupOutput = exports.DescribeBackupInput = exports.DeleteTableOutput = exports.DeleteTableInput = exports.DeleteReplicationGroupMemberAction = exports.DeleteReplicaAction = exports.TransactionConflictException = exports.DeleteGlobalSecondaryIndexAction = exports.DeleteBackupOutput = exports.DeleteBackupInput = exports.ResourceInUseException = exports.CreateTableOutput = exports.TableDescription = exports.RestoreSummary = exports.LocalSecondaryIndexDescription = exports.GlobalSecondaryIndexDescription = exports.ProvisionedThroughputDescription = exports.CreateTableInput = exports.Tag = exports.SSESpecification = exports.LocalSecondaryIndex = exports.GlobalSecondaryIndex = exports.CreateReplicationGroupMemberAction = exports.ReplicaGlobalSecondaryIndex = exports.CreateReplicaAction = exports.GlobalTableAlreadyExistsException = exports.CreateGlobalTableOutput = exports.GlobalTableDescription = exports.ReplicaDescription = exports.TableClassSummary = exports.TableClass = exports.ReplicaGlobalSecondaryIndexDescription = void 0;
5
+ exports.PointInTimeRecoverySpecification = exports.UntagResourceInput = exports.TagResourceInput = exports.RestoreTableToPointInTimeOutput = exports.RestoreTableToPointInTimeInput = exports.InvalidRestoreTimeException = exports.TableAlreadyExistsException = exports.RestoreTableFromBackupOutput = exports.RestoreTableFromBackupInput = exports.ListTagsOfResourceOutput = exports.ListTagsOfResourceInput = exports.ListTablesOutput = exports.ListTablesInput = exports.ListGlobalTablesOutput = exports.GlobalTable = exports.ListGlobalTablesInput = exports.ListExportsOutput = exports.ExportSummary = exports.ListExportsInput = exports.ListContributorInsightsOutput = exports.ListContributorInsightsInput = exports.ListBackupsOutput = exports.ListBackupsInput = exports.PointInTimeRecoveryUnavailableException = exports.InvalidExportTimeException = exports.ExportTableToPointInTimeOutput = exports.ExportTableToPointInTimeInput = exports.ExportConflictException = exports.TransactionInProgressException = exports.IdempotentParameterMismatchException = exports.DuplicateItemException = exports.KinesisStreamingDestinationOutput = exports.KinesisStreamingDestinationInput = exports.DescribeTimeToLiveOutput = exports.DescribeTimeToLiveInput = exports.DescribeTableReplicaAutoScalingOutput = exports.TableAutoScalingDescription = exports.ReplicaAutoScalingDescription = exports.ReplicaGlobalSecondaryIndexAutoScalingDescription = exports.DescribeTableReplicaAutoScalingInput = exports.DescribeTableOutput = exports.DescribeTableInput = exports.DescribeLimitsOutput = exports.DescribeLimitsInput = exports.DescribeKinesisStreamingDestinationOutput = exports.KinesisDataStreamDestination = exports.DescribeKinesisStreamingDestinationInput = exports.DescribeGlobalTableSettingsOutput = exports.ReplicaSettingsDescription = exports.ReplicaGlobalSecondaryIndexSettingsDescription = void 0;
6
+ exports.ExecuteTransactionOutput = exports.ExecuteTransactionInput = exports.BatchExecuteStatementOutput = exports.BatchExecuteStatementInput = exports.TransactGetItem = exports.KeysAndAttributes = exports.PutRequest = exports.ParameterizedStatement = exports.ItemResponse = exports.ItemCollectionMetrics = exports.GetItemOutput = exports.GetItemInput = exports.Get = exports.ExecuteStatementInput = exports.DeleteRequest = exports.Condition = exports.CancellationReason = exports.BatchStatementResponse = exports.BatchStatementRequest = exports.AttributeValueUpdate = exports.AttributeValue = exports.UpdateTimeToLiveOutput = exports.UpdateTimeToLiveInput = exports.TimeToLiveSpecification = exports.UpdateTableReplicaAutoScalingOutput = exports.UpdateTableReplicaAutoScalingInput = exports.ReplicaAutoScalingUpdate = exports.ReplicaGlobalSecondaryIndexAutoScalingUpdate = exports.GlobalSecondaryIndexAutoScalingUpdate = exports.UpdateTableOutput = exports.UpdateTableInput = exports.ReplicationGroupUpdate = exports.UpdateReplicationGroupMemberAction = exports.GlobalSecondaryIndexUpdate = exports.UpdateGlobalSecondaryIndexAction = exports.UpdateGlobalTableSettingsOutput = exports.UpdateGlobalTableSettingsInput = exports.ReplicaSettingsUpdate = exports.ReplicaGlobalSecondaryIndexSettingsUpdate = exports.GlobalTableGlobalSecondaryIndexSettingsUpdate = exports.IndexNotFoundException = exports.UpdateGlobalTableOutput = exports.UpdateGlobalTableInput = exports.ReplicaUpdate = exports.ReplicaNotFoundException = exports.ReplicaAlreadyExistsException = exports.UpdateContributorInsightsOutput = exports.UpdateContributorInsightsInput = exports.UpdateContinuousBackupsOutput = exports.UpdateContinuousBackupsInput = void 0;
7
+ exports.TransactWriteItemsInput = exports.TransactWriteItem = exports.UpdateItemInput = exports.BatchWriteItemOutput = exports.QueryInput = exports.PutItemInput = exports.DeleteItemInput = exports.BatchWriteItemInput = exports.ScanInput = exports.BatchGetItemOutput = exports.WriteRequest = exports.UpdateItemOutput = exports.ScanOutput = exports.QueryOutput = exports.PutItemOutput = exports.ExecuteStatementOutput = exports.DeleteItemOutput = exports.Update = exports.Put = exports.Delete = exports.ConditionCheck = exports.TransactWriteItemsOutput = exports.TransactGetItemsInput = exports.ExpectedAttributeValue = exports.BatchGetItemInput = exports.TransactionCanceledException = exports.TransactGetItemsOutput = void 0;
8
+ const DynamoDBServiceException_1 = require("./DynamoDBServiceException");
7
9
  var ArchivalSummary;
8
10
  (function (ArchivalSummary) {
9
11
  ArchivalSummary.filterSensitiveLog = (obj) => ({
@@ -130,6 +132,32 @@ var BackupDescription;
130
132
  ...obj,
131
133
  });
132
134
  })(BackupDescription = exports.BackupDescription || (exports.BackupDescription = {}));
135
+ class BackupInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
136
+ constructor(opts) {
137
+ super({
138
+ name: "BackupInUseException",
139
+ $fault: "client",
140
+ ...opts,
141
+ });
142
+ this.name = "BackupInUseException";
143
+ this.$fault = "client";
144
+ Object.setPrototypeOf(this, BackupInUseException.prototype);
145
+ }
146
+ }
147
+ exports.BackupInUseException = BackupInUseException;
148
+ class BackupNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
149
+ constructor(opts) {
150
+ super({
151
+ name: "BackupNotFoundException",
152
+ $fault: "client",
153
+ ...opts,
154
+ });
155
+ this.name = "BackupNotFoundException";
156
+ this.$fault = "client";
157
+ Object.setPrototypeOf(this, BackupNotFoundException.prototype);
158
+ }
159
+ }
160
+ exports.BackupNotFoundException = BackupNotFoundException;
133
161
  var BackupSummary;
134
162
  (function (BackupSummary) {
135
163
  BackupSummary.filterSensitiveLog = (obj) => ({
@@ -175,12 +203,104 @@ var BatchStatementError;
175
203
  ...obj,
176
204
  });
177
205
  })(BatchStatementError = exports.BatchStatementError || (exports.BatchStatementError = {}));
206
+ class InternalServerError extends DynamoDBServiceException_1.DynamoDBServiceException {
207
+ constructor(opts) {
208
+ super({
209
+ name: "InternalServerError",
210
+ $fault: "server",
211
+ ...opts,
212
+ });
213
+ this.name = "InternalServerError";
214
+ this.$fault = "server";
215
+ Object.setPrototypeOf(this, InternalServerError.prototype);
216
+ }
217
+ }
218
+ exports.InternalServerError = InternalServerError;
219
+ class RequestLimitExceeded extends DynamoDBServiceException_1.DynamoDBServiceException {
220
+ constructor(opts) {
221
+ super({
222
+ name: "RequestLimitExceeded",
223
+ $fault: "client",
224
+ ...opts,
225
+ });
226
+ this.name = "RequestLimitExceeded";
227
+ this.$fault = "client";
228
+ Object.setPrototypeOf(this, RequestLimitExceeded.prototype);
229
+ }
230
+ }
231
+ exports.RequestLimitExceeded = RequestLimitExceeded;
232
+ class InvalidEndpointException extends DynamoDBServiceException_1.DynamoDBServiceException {
233
+ constructor(opts) {
234
+ super({
235
+ name: "InvalidEndpointException",
236
+ $fault: "client",
237
+ ...opts,
238
+ });
239
+ this.name = "InvalidEndpointException";
240
+ this.$fault = "client";
241
+ Object.setPrototypeOf(this, InvalidEndpointException.prototype);
242
+ this.Message = opts.Message;
243
+ }
244
+ }
245
+ exports.InvalidEndpointException = InvalidEndpointException;
246
+ class ProvisionedThroughputExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
247
+ constructor(opts) {
248
+ super({
249
+ name: "ProvisionedThroughputExceededException",
250
+ $fault: "client",
251
+ ...opts,
252
+ });
253
+ this.name = "ProvisionedThroughputExceededException";
254
+ this.$fault = "client";
255
+ Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
256
+ }
257
+ }
258
+ exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
259
+ class ResourceNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
260
+ constructor(opts) {
261
+ super({
262
+ name: "ResourceNotFoundException",
263
+ $fault: "client",
264
+ ...opts,
265
+ });
266
+ this.name = "ResourceNotFoundException";
267
+ this.$fault = "client";
268
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
269
+ }
270
+ }
271
+ exports.ResourceNotFoundException = ResourceNotFoundException;
272
+ class ItemCollectionSizeLimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
273
+ constructor(opts) {
274
+ super({
275
+ name: "ItemCollectionSizeLimitExceededException",
276
+ $fault: "client",
277
+ ...opts,
278
+ });
279
+ this.name = "ItemCollectionSizeLimitExceededException";
280
+ this.$fault = "client";
281
+ Object.setPrototypeOf(this, ItemCollectionSizeLimitExceededException.prototype);
282
+ }
283
+ }
284
+ exports.ItemCollectionSizeLimitExceededException = ItemCollectionSizeLimitExceededException;
178
285
  var BillingModeSummary;
179
286
  (function (BillingModeSummary) {
180
287
  BillingModeSummary.filterSensitiveLog = (obj) => ({
181
288
  ...obj,
182
289
  });
183
290
  })(BillingModeSummary = exports.BillingModeSummary || (exports.BillingModeSummary = {}));
291
+ class ConditionalCheckFailedException extends DynamoDBServiceException_1.DynamoDBServiceException {
292
+ constructor(opts) {
293
+ super({
294
+ name: "ConditionalCheckFailedException",
295
+ $fault: "client",
296
+ ...opts,
297
+ });
298
+ this.name = "ConditionalCheckFailedException";
299
+ this.$fault = "client";
300
+ Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
301
+ }
302
+ }
303
+ exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
184
304
  var PointInTimeRecoveryDescription;
185
305
  (function (PointInTimeRecoveryDescription) {
186
306
  PointInTimeRecoveryDescription.filterSensitiveLog = (obj) => ({
@@ -193,6 +313,19 @@ var ContinuousBackupsDescription;
193
313
  ...obj,
194
314
  });
195
315
  })(ContinuousBackupsDescription = exports.ContinuousBackupsDescription || (exports.ContinuousBackupsDescription = {}));
316
+ class ContinuousBackupsUnavailableException extends DynamoDBServiceException_1.DynamoDBServiceException {
317
+ constructor(opts) {
318
+ super({
319
+ name: "ContinuousBackupsUnavailableException",
320
+ $fault: "client",
321
+ ...opts,
322
+ });
323
+ this.name = "ContinuousBackupsUnavailableException";
324
+ this.$fault = "client";
325
+ Object.setPrototypeOf(this, ContinuousBackupsUnavailableException.prototype);
326
+ }
327
+ }
328
+ exports.ContinuousBackupsUnavailableException = ContinuousBackupsUnavailableException;
196
329
  var ContributorInsightsSummary;
197
330
  (function (ContributorInsightsSummary) {
198
331
  ContributorInsightsSummary.filterSensitiveLog = (obj) => ({
@@ -211,6 +344,45 @@ var CreateBackupOutput;
211
344
  ...obj,
212
345
  });
213
346
  })(CreateBackupOutput = exports.CreateBackupOutput || (exports.CreateBackupOutput = {}));
347
+ class LimitExceededException extends DynamoDBServiceException_1.DynamoDBServiceException {
348
+ constructor(opts) {
349
+ super({
350
+ name: "LimitExceededException",
351
+ $fault: "client",
352
+ ...opts,
353
+ });
354
+ this.name = "LimitExceededException";
355
+ this.$fault = "client";
356
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
357
+ }
358
+ }
359
+ exports.LimitExceededException = LimitExceededException;
360
+ class TableInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
361
+ constructor(opts) {
362
+ super({
363
+ name: "TableInUseException",
364
+ $fault: "client",
365
+ ...opts,
366
+ });
367
+ this.name = "TableInUseException";
368
+ this.$fault = "client";
369
+ Object.setPrototypeOf(this, TableInUseException.prototype);
370
+ }
371
+ }
372
+ exports.TableInUseException = TableInUseException;
373
+ class TableNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
374
+ constructor(opts) {
375
+ super({
376
+ name: "TableNotFoundException",
377
+ $fault: "client",
378
+ ...opts,
379
+ });
380
+ this.name = "TableNotFoundException";
381
+ this.$fault = "client";
382
+ Object.setPrototypeOf(this, TableNotFoundException.prototype);
383
+ }
384
+ }
385
+ exports.TableNotFoundException = TableNotFoundException;
214
386
  var CreateGlobalSecondaryIndexAction;
215
387
  (function (CreateGlobalSecondaryIndexAction) {
216
388
  CreateGlobalSecondaryIndexAction.filterSensitiveLog = (obj) => ({
@@ -270,6 +442,19 @@ var CreateGlobalTableOutput;
270
442
  ...obj,
271
443
  });
272
444
  })(CreateGlobalTableOutput = exports.CreateGlobalTableOutput || (exports.CreateGlobalTableOutput = {}));
445
+ class GlobalTableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
446
+ constructor(opts) {
447
+ super({
448
+ name: "GlobalTableAlreadyExistsException",
449
+ $fault: "client",
450
+ ...opts,
451
+ });
452
+ this.name = "GlobalTableAlreadyExistsException";
453
+ this.$fault = "client";
454
+ Object.setPrototypeOf(this, GlobalTableAlreadyExistsException.prototype);
455
+ }
456
+ }
457
+ exports.GlobalTableAlreadyExistsException = GlobalTableAlreadyExistsException;
273
458
  var CreateReplicaAction;
274
459
  (function (CreateReplicaAction) {
275
460
  CreateReplicaAction.filterSensitiveLog = (obj) => ({
@@ -354,6 +539,19 @@ var CreateTableOutput;
354
539
  ...obj,
355
540
  });
356
541
  })(CreateTableOutput = exports.CreateTableOutput || (exports.CreateTableOutput = {}));
542
+ class ResourceInUseException extends DynamoDBServiceException_1.DynamoDBServiceException {
543
+ constructor(opts) {
544
+ super({
545
+ name: "ResourceInUseException",
546
+ $fault: "client",
547
+ ...opts,
548
+ });
549
+ this.name = "ResourceInUseException";
550
+ this.$fault = "client";
551
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
552
+ }
553
+ }
554
+ exports.ResourceInUseException = ResourceInUseException;
357
555
  var DeleteBackupInput;
358
556
  (function (DeleteBackupInput) {
359
557
  DeleteBackupInput.filterSensitiveLog = (obj) => ({
@@ -372,6 +570,19 @@ var DeleteGlobalSecondaryIndexAction;
372
570
  ...obj,
373
571
  });
374
572
  })(DeleteGlobalSecondaryIndexAction = exports.DeleteGlobalSecondaryIndexAction || (exports.DeleteGlobalSecondaryIndexAction = {}));
573
+ class TransactionConflictException extends DynamoDBServiceException_1.DynamoDBServiceException {
574
+ constructor(opts) {
575
+ super({
576
+ name: "TransactionConflictException",
577
+ $fault: "client",
578
+ ...opts,
579
+ });
580
+ this.name = "TransactionConflictException";
581
+ this.$fault = "client";
582
+ Object.setPrototypeOf(this, TransactionConflictException.prototype);
583
+ }
584
+ }
585
+ exports.TransactionConflictException = TransactionConflictException;
375
586
  var DeleteReplicaAction;
376
587
  (function (DeleteReplicaAction) {
377
588
  DeleteReplicaAction.filterSensitiveLog = (obj) => ({
@@ -485,6 +696,19 @@ var DescribeExportOutput;
485
696
  ...obj,
486
697
  });
487
698
  })(DescribeExportOutput = exports.DescribeExportOutput || (exports.DescribeExportOutput = {}));
699
+ class ExportNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
700
+ constructor(opts) {
701
+ super({
702
+ name: "ExportNotFoundException",
703
+ $fault: "client",
704
+ ...opts,
705
+ });
706
+ this.name = "ExportNotFoundException";
707
+ this.$fault = "client";
708
+ Object.setPrototypeOf(this, ExportNotFoundException.prototype);
709
+ }
710
+ }
711
+ exports.ExportNotFoundException = ExportNotFoundException;
488
712
  var DescribeGlobalTableInput;
489
713
  (function (DescribeGlobalTableInput) {
490
714
  DescribeGlobalTableInput.filterSensitiveLog = (obj) => ({
@@ -497,6 +721,19 @@ var DescribeGlobalTableOutput;
497
721
  ...obj,
498
722
  });
499
723
  })(DescribeGlobalTableOutput = exports.DescribeGlobalTableOutput || (exports.DescribeGlobalTableOutput = {}));
724
+ class GlobalTableNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
725
+ constructor(opts) {
726
+ super({
727
+ name: "GlobalTableNotFoundException",
728
+ $fault: "client",
729
+ ...opts,
730
+ });
731
+ this.name = "GlobalTableNotFoundException";
732
+ this.$fault = "client";
733
+ Object.setPrototypeOf(this, GlobalTableNotFoundException.prototype);
734
+ }
735
+ }
736
+ exports.GlobalTableNotFoundException = GlobalTableNotFoundException;
500
737
  var DescribeGlobalTableSettingsInput;
501
738
  (function (DescribeGlobalTableSettingsInput) {
502
739
  DescribeGlobalTableSettingsInput.filterSensitiveLog = (obj) => ({
@@ -617,6 +854,60 @@ var KinesisStreamingDestinationOutput;
617
854
  ...obj,
618
855
  });
619
856
  })(KinesisStreamingDestinationOutput = exports.KinesisStreamingDestinationOutput || (exports.KinesisStreamingDestinationOutput = {}));
857
+ class DuplicateItemException extends DynamoDBServiceException_1.DynamoDBServiceException {
858
+ constructor(opts) {
859
+ super({
860
+ name: "DuplicateItemException",
861
+ $fault: "client",
862
+ ...opts,
863
+ });
864
+ this.name = "DuplicateItemException";
865
+ this.$fault = "client";
866
+ Object.setPrototypeOf(this, DuplicateItemException.prototype);
867
+ }
868
+ }
869
+ exports.DuplicateItemException = DuplicateItemException;
870
+ class IdempotentParameterMismatchException extends DynamoDBServiceException_1.DynamoDBServiceException {
871
+ constructor(opts) {
872
+ super({
873
+ name: "IdempotentParameterMismatchException",
874
+ $fault: "client",
875
+ ...opts,
876
+ });
877
+ this.name = "IdempotentParameterMismatchException";
878
+ this.$fault = "client";
879
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
880
+ this.Message = opts.Message;
881
+ }
882
+ }
883
+ exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
884
+ class TransactionInProgressException extends DynamoDBServiceException_1.DynamoDBServiceException {
885
+ constructor(opts) {
886
+ super({
887
+ name: "TransactionInProgressException",
888
+ $fault: "client",
889
+ ...opts,
890
+ });
891
+ this.name = "TransactionInProgressException";
892
+ this.$fault = "client";
893
+ Object.setPrototypeOf(this, TransactionInProgressException.prototype);
894
+ this.Message = opts.Message;
895
+ }
896
+ }
897
+ exports.TransactionInProgressException = TransactionInProgressException;
898
+ class ExportConflictException extends DynamoDBServiceException_1.DynamoDBServiceException {
899
+ constructor(opts) {
900
+ super({
901
+ name: "ExportConflictException",
902
+ $fault: "client",
903
+ ...opts,
904
+ });
905
+ this.name = "ExportConflictException";
906
+ this.$fault = "client";
907
+ Object.setPrototypeOf(this, ExportConflictException.prototype);
908
+ }
909
+ }
910
+ exports.ExportConflictException = ExportConflictException;
620
911
  var ExportTableToPointInTimeInput;
621
912
  (function (ExportTableToPointInTimeInput) {
622
913
  ExportTableToPointInTimeInput.filterSensitiveLog = (obj) => ({
@@ -629,6 +920,32 @@ var ExportTableToPointInTimeOutput;
629
920
  ...obj,
630
921
  });
631
922
  })(ExportTableToPointInTimeOutput = exports.ExportTableToPointInTimeOutput || (exports.ExportTableToPointInTimeOutput = {}));
923
+ class InvalidExportTimeException extends DynamoDBServiceException_1.DynamoDBServiceException {
924
+ constructor(opts) {
925
+ super({
926
+ name: "InvalidExportTimeException",
927
+ $fault: "client",
928
+ ...opts,
929
+ });
930
+ this.name = "InvalidExportTimeException";
931
+ this.$fault = "client";
932
+ Object.setPrototypeOf(this, InvalidExportTimeException.prototype);
933
+ }
934
+ }
935
+ exports.InvalidExportTimeException = InvalidExportTimeException;
936
+ class PointInTimeRecoveryUnavailableException extends DynamoDBServiceException_1.DynamoDBServiceException {
937
+ constructor(opts) {
938
+ super({
939
+ name: "PointInTimeRecoveryUnavailableException",
940
+ $fault: "client",
941
+ ...opts,
942
+ });
943
+ this.name = "PointInTimeRecoveryUnavailableException";
944
+ this.$fault = "client";
945
+ Object.setPrototypeOf(this, PointInTimeRecoveryUnavailableException.prototype);
946
+ }
947
+ }
948
+ exports.PointInTimeRecoveryUnavailableException = PointInTimeRecoveryUnavailableException;
632
949
  var ListBackupsInput;
633
950
  (function (ListBackupsInput) {
634
951
  ListBackupsInput.filterSensitiveLog = (obj) => ({
@@ -725,6 +1042,32 @@ var RestoreTableFromBackupOutput;
725
1042
  ...obj,
726
1043
  });
727
1044
  })(RestoreTableFromBackupOutput = exports.RestoreTableFromBackupOutput || (exports.RestoreTableFromBackupOutput = {}));
1045
+ class TableAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
1046
+ constructor(opts) {
1047
+ super({
1048
+ name: "TableAlreadyExistsException",
1049
+ $fault: "client",
1050
+ ...opts,
1051
+ });
1052
+ this.name = "TableAlreadyExistsException";
1053
+ this.$fault = "client";
1054
+ Object.setPrototypeOf(this, TableAlreadyExistsException.prototype);
1055
+ }
1056
+ }
1057
+ exports.TableAlreadyExistsException = TableAlreadyExistsException;
1058
+ class InvalidRestoreTimeException extends DynamoDBServiceException_1.DynamoDBServiceException {
1059
+ constructor(opts) {
1060
+ super({
1061
+ name: "InvalidRestoreTimeException",
1062
+ $fault: "client",
1063
+ ...opts,
1064
+ });
1065
+ this.name = "InvalidRestoreTimeException";
1066
+ this.$fault = "client";
1067
+ Object.setPrototypeOf(this, InvalidRestoreTimeException.prototype);
1068
+ }
1069
+ }
1070
+ exports.InvalidRestoreTimeException = InvalidRestoreTimeException;
728
1071
  var RestoreTableToPointInTimeInput;
729
1072
  (function (RestoreTableToPointInTimeInput) {
730
1073
  RestoreTableToPointInTimeInput.filterSensitiveLog = (obj) => ({
@@ -779,6 +1122,32 @@ var UpdateContributorInsightsOutput;
779
1122
  ...obj,
780
1123
  });
781
1124
  })(UpdateContributorInsightsOutput = exports.UpdateContributorInsightsOutput || (exports.UpdateContributorInsightsOutput = {}));
1125
+ class ReplicaAlreadyExistsException extends DynamoDBServiceException_1.DynamoDBServiceException {
1126
+ constructor(opts) {
1127
+ super({
1128
+ name: "ReplicaAlreadyExistsException",
1129
+ $fault: "client",
1130
+ ...opts,
1131
+ });
1132
+ this.name = "ReplicaAlreadyExistsException";
1133
+ this.$fault = "client";
1134
+ Object.setPrototypeOf(this, ReplicaAlreadyExistsException.prototype);
1135
+ }
1136
+ }
1137
+ exports.ReplicaAlreadyExistsException = ReplicaAlreadyExistsException;
1138
+ class ReplicaNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
1139
+ constructor(opts) {
1140
+ super({
1141
+ name: "ReplicaNotFoundException",
1142
+ $fault: "client",
1143
+ ...opts,
1144
+ });
1145
+ this.name = "ReplicaNotFoundException";
1146
+ this.$fault = "client";
1147
+ Object.setPrototypeOf(this, ReplicaNotFoundException.prototype);
1148
+ }
1149
+ }
1150
+ exports.ReplicaNotFoundException = ReplicaNotFoundException;
782
1151
  var ReplicaUpdate;
783
1152
  (function (ReplicaUpdate) {
784
1153
  ReplicaUpdate.filterSensitiveLog = (obj) => ({
@@ -797,6 +1166,19 @@ var UpdateGlobalTableOutput;
797
1166
  ...obj,
798
1167
  });
799
1168
  })(UpdateGlobalTableOutput = exports.UpdateGlobalTableOutput || (exports.UpdateGlobalTableOutput = {}));
1169
+ class IndexNotFoundException extends DynamoDBServiceException_1.DynamoDBServiceException {
1170
+ constructor(opts) {
1171
+ super({
1172
+ name: "IndexNotFoundException",
1173
+ $fault: "client",
1174
+ ...opts,
1175
+ });
1176
+ this.name = "IndexNotFoundException";
1177
+ this.$fault = "client";
1178
+ Object.setPrototypeOf(this, IndexNotFoundException.prototype);
1179
+ }
1180
+ }
1181
+ exports.IndexNotFoundException = IndexNotFoundException;
800
1182
  var GlobalTableGlobalSecondaryIndexSettingsUpdate;
801
1183
  (function (GlobalTableGlobalSecondaryIndexSettingsUpdate) {
802
1184
  GlobalTableGlobalSecondaryIndexSettingsUpdate.filterSensitiveLog = (obj) => ({
@@ -1111,18 +1493,6 @@ var PutRequest;
1111
1493
  }),
1112
1494
  });
1113
1495
  })(PutRequest = exports.PutRequest || (exports.PutRequest = {}));
1114
- var ExecuteStatementOutput;
1115
- (function (ExecuteStatementOutput) {
1116
- ExecuteStatementOutput.filterSensitiveLog = (obj) => ({
1117
- ...obj,
1118
- ...(obj.Items && {
1119
- Items: obj.Items.map((item) => Object.entries(item).reduce((acc, [key, value]) => ({
1120
- ...acc,
1121
- [key]: AttributeValue.filterSensitiveLog(value),
1122
- }), {})),
1123
- }),
1124
- });
1125
- })(ExecuteStatementOutput = exports.ExecuteStatementOutput || (exports.ExecuteStatementOutput = {}));
1126
1496
  var KeysAndAttributes;
1127
1497
  (function (KeysAndAttributes) {
1128
1498
  KeysAndAttributes.filterSensitiveLog = (obj) => ({
@@ -1179,6 +1549,21 @@ var TransactGetItemsOutput;
1179
1549
  ...(obj.Responses && { Responses: obj.Responses.map((item) => ItemResponse.filterSensitiveLog(item)) }),
1180
1550
  });
1181
1551
  })(TransactGetItemsOutput = exports.TransactGetItemsOutput || (exports.TransactGetItemsOutput = {}));
1552
+ class TransactionCanceledException extends DynamoDBServiceException_1.DynamoDBServiceException {
1553
+ constructor(opts) {
1554
+ super({
1555
+ name: "TransactionCanceledException",
1556
+ $fault: "client",
1557
+ ...opts,
1558
+ });
1559
+ this.name = "TransactionCanceledException";
1560
+ this.$fault = "client";
1561
+ Object.setPrototypeOf(this, TransactionCanceledException.prototype);
1562
+ this.Message = opts.Message;
1563
+ this.CancellationReasons = opts.CancellationReasons;
1564
+ }
1565
+ }
1566
+ exports.TransactionCanceledException = TransactionCanceledException;
1182
1567
  var BatchGetItemInput;
1183
1568
  (function (BatchGetItemInput) {
1184
1569
  BatchGetItemInput.filterSensitiveLog = (obj) => ({
@@ -1309,6 +1694,24 @@ var DeleteItemOutput;
1309
1694
  }),
1310
1695
  });
1311
1696
  })(DeleteItemOutput = exports.DeleteItemOutput || (exports.DeleteItemOutput = {}));
1697
+ var ExecuteStatementOutput;
1698
+ (function (ExecuteStatementOutput) {
1699
+ ExecuteStatementOutput.filterSensitiveLog = (obj) => ({
1700
+ ...obj,
1701
+ ...(obj.Items && {
1702
+ Items: obj.Items.map((item) => Object.entries(item).reduce((acc, [key, value]) => ({
1703
+ ...acc,
1704
+ [key]: AttributeValue.filterSensitiveLog(value),
1705
+ }), {})),
1706
+ }),
1707
+ ...(obj.LastEvaluatedKey && {
1708
+ LastEvaluatedKey: Object.entries(obj.LastEvaluatedKey).reduce((acc, [key, value]) => ({
1709
+ ...acc,
1710
+ [key]: AttributeValue.filterSensitiveLog(value),
1711
+ }), {}),
1712
+ }),
1713
+ });
1714
+ })(ExecuteStatementOutput = exports.ExecuteStatementOutput || (exports.ExecuteStatementOutput = {}));
1312
1715
  var PutItemOutput;
1313
1716
  (function (PutItemOutput) {
1314
1717
  PutItemOutput.filterSensitiveLog = (obj) => ({