@aws-sdk/client-dynamodb 3.289.0 → 3.290.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 (54) hide show
  1. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +9 -0
  2. package/dist-types/commands/BatchGetItemCommand.d.ts +21 -0
  3. package/dist-types/commands/BatchWriteItemCommand.d.ts +25 -0
  4. package/dist-types/commands/CreateBackupCommand.d.ts +34 -0
  5. package/dist-types/commands/CreateGlobalTableCommand.d.ts +26 -0
  6. package/dist-types/commands/CreateTableCommand.d.ts +24 -0
  7. package/dist-types/commands/DeleteBackupCommand.d.ts +26 -0
  8. package/dist-types/commands/DeleteItemCommand.d.ts +32 -0
  9. package/dist-types/commands/DeleteTableCommand.d.ts +28 -0
  10. package/dist-types/commands/DescribeBackupCommand.d.ts +9 -0
  11. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +10 -0
  12. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +8 -0
  13. package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
  14. package/dist-types/commands/DescribeExportCommand.d.ts +20 -0
  15. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +9 -0
  16. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +9 -0
  17. package/dist-types/commands/DescribeImportCommand.d.ts +6 -0
  18. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +10 -0
  19. package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -0
  20. package/dist-types/commands/DescribeTableCommand.d.ts +10 -0
  21. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +8 -0
  22. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +10 -0
  23. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +28 -0
  24. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +28 -0
  25. package/dist-types/commands/ExecuteStatementCommand.d.ts +34 -0
  26. package/dist-types/commands/ExecuteTransactionCommand.d.ts +321 -0
  27. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +31 -0
  28. package/dist-types/commands/GetItemCommand.d.ts +21 -0
  29. package/dist-types/commands/ImportTableCommand.d.ts +26 -0
  30. package/dist-types/commands/ListBackupsCommand.d.ts +6 -0
  31. package/dist-types/commands/ListContributorInsightsCommand.d.ts +8 -0
  32. package/dist-types/commands/ListExportsCommand.d.ts +17 -0
  33. package/dist-types/commands/ListGlobalTablesCommand.d.ts +6 -0
  34. package/dist-types/commands/ListImportsCommand.d.ts +14 -0
  35. package/dist-types/commands/ListTablesCommand.d.ts +6 -0
  36. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +10 -0
  37. package/dist-types/commands/PutItemCommand.d.ts +32 -0
  38. package/dist-types/commands/QueryCommand.d.ts +21 -0
  39. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +33 -0
  40. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +37 -0
  41. package/dist-types/commands/ScanCommand.d.ts +21 -0
  42. package/dist-types/commands/TagResourceCommand.d.ts +28 -0
  43. package/dist-types/commands/TransactGetItemsCommand.d.ts +254 -0
  44. package/dist-types/commands/TransactWriteItemsCommand.d.ts +323 -0
  45. package/dist-types/commands/UntagResourceCommand.d.ts +28 -0
  46. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +13 -0
  47. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +8 -0
  48. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +19 -0
  49. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +33 -0
  50. package/dist-types/commands/UpdateItemCommand.d.ts +32 -0
  51. package/dist-types/commands/UpdateTableCommand.d.ts +28 -0
  52. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +26 -0
  53. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +28 -0
  54. package/package.json +31 -31
@@ -36,6 +36,327 @@ export interface ExecuteTransactionCommandOutput extends ExecuteTransactionOutpu
36
36
  * @see {@link ExecuteTransactionCommandOutput} for command's `response` shape.
37
37
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
38
38
  *
39
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
40
+ * <p>DynamoDB rejected the request because you retried a request with a
41
+ * different payload but with an idempotent token that was already used.</p>
42
+ *
43
+ * @throws {@link InternalServerError} (server fault)
44
+ * <p>An error occurred on the server side.</p>
45
+ *
46
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
47
+ * <p>Your request rate is too high. The Amazon Web Services SDKs for DynamoDB
48
+ * automatically retry requests that receive this exception. Your request is eventually
49
+ * successful, unless your retry queue is too large to finish. Reduce the frequency of
50
+ * requests and use exponential backoff. For more information, go to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff">Error Retries and Exponential Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
51
+ *
52
+ * @throws {@link RequestLimitExceeded} (client fault)
53
+ * <p>Throughput exceeds the current throughput quota for your account. Please contact
54
+ * <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
55
+ * quota increase.</p>
56
+ *
57
+ * @throws {@link ResourceNotFoundException} (client fault)
58
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
59
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
60
+ *
61
+ * @throws {@link TransactionCanceledException} (client fault)
62
+ * <p>The entire transaction request was canceled.</p>
63
+ * <p>DynamoDB cancels a <code>TransactWriteItems</code> request under the following
64
+ * circumstances:</p>
65
+ * <ul>
66
+ * <li>
67
+ * <p>A condition in one of the condition expressions is not met.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>A table in the <code>TransactWriteItems</code> request is in a different
71
+ * account or region.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>More than one action in the <code>TransactWriteItems</code> operation
75
+ * targets the same item.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>There is insufficient provisioned capacity for the transaction to be
79
+ * completed.</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>An item size becomes too large (larger than 400 KB), or a local secondary
83
+ * index (LSI) becomes too large, or a similar validation error occurs because of
84
+ * changes made by the transaction.</p>
85
+ * </li>
86
+ * <li>
87
+ * <p>There is a user error, such as an invalid data format.</p>
88
+ * </li>
89
+ * </ul>
90
+ * <p>DynamoDB cancels a <code>TransactGetItems</code> request under the
91
+ * following circumstances:</p>
92
+ * <ul>
93
+ * <li>
94
+ * <p>There is an ongoing <code>TransactGetItems</code> operation that conflicts
95
+ * with a concurrent <code>PutItem</code>, <code>UpdateItem</code>,
96
+ * <code>DeleteItem</code> or <code>TransactWriteItems</code> request. In this
97
+ * case the <code>TransactGetItems</code> operation fails with a
98
+ * <code>TransactionCanceledException</code>.</p>
99
+ * </li>
100
+ * <li>
101
+ * <p>A table in the <code>TransactGetItems</code> request is in a different
102
+ * account or region.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>There is insufficient provisioned capacity for the transaction to be
106
+ * completed.</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>There is a user error, such as an invalid data format.</p>
110
+ * </li>
111
+ * </ul>
112
+ * <note>
113
+ * <p>If using Java, DynamoDB lists the cancellation reasons on the
114
+ * <code>CancellationReasons</code> property. This property is not set for other
115
+ * languages. Transaction cancellation reasons are ordered in the order of requested
116
+ * items, if an item has no error it will have <code>None</code> code and
117
+ * <code>Null</code> message.</p>
118
+ * </note>
119
+ * <p>Cancellation reason codes and possible error messages:</p>
120
+ * <ul>
121
+ * <li>
122
+ * <p>No Errors:</p>
123
+ * <ul>
124
+ * <li>
125
+ * <p>Code: <code>None</code>
126
+ * </p>
127
+ * </li>
128
+ * <li>
129
+ * <p>Message: <code>null</code>
130
+ * </p>
131
+ * </li>
132
+ * </ul>
133
+ * </li>
134
+ * <li>
135
+ * <p>Conditional Check Failed:</p>
136
+ * <ul>
137
+ * <li>
138
+ * <p>Code: <code>ConditionalCheckFailed</code>
139
+ * </p>
140
+ * </li>
141
+ * <li>
142
+ * <p>Message: The conditional request failed. </p>
143
+ * </li>
144
+ * </ul>
145
+ * </li>
146
+ * <li>
147
+ * <p>Item Collection Size Limit Exceeded:</p>
148
+ * <ul>
149
+ * <li>
150
+ * <p>Code: <code>ItemCollectionSizeLimitExceeded</code>
151
+ * </p>
152
+ * </li>
153
+ * <li>
154
+ * <p>Message: Collection size exceeded.</p>
155
+ * </li>
156
+ * </ul>
157
+ * </li>
158
+ * <li>
159
+ * <p>Transaction Conflict:</p>
160
+ * <ul>
161
+ * <li>
162
+ * <p>Code: <code>TransactionConflict</code>
163
+ * </p>
164
+ * </li>
165
+ * <li>
166
+ * <p>Message: Transaction is ongoing for the item.</p>
167
+ * </li>
168
+ * </ul>
169
+ * </li>
170
+ * <li>
171
+ * <p>Provisioned Throughput Exceeded:</p>
172
+ * <ul>
173
+ * <li>
174
+ * <p>Code: <code>ProvisionedThroughputExceeded</code>
175
+ * </p>
176
+ * </li>
177
+ * <li>
178
+ * <p>Messages:</p>
179
+ * <ul>
180
+ * <li>
181
+ * <p>The level of configured provisioned throughput for the
182
+ * table was exceeded. Consider increasing your provisioning level
183
+ * with the UpdateTable API.</p>
184
+ * <note>
185
+ * <p>This Message is received when provisioned throughput is
186
+ * exceeded is on a provisioned DynamoDB
187
+ * table.</p>
188
+ * </note>
189
+ * </li>
190
+ * <li>
191
+ * <p>The level of configured provisioned throughput for one or
192
+ * more global secondary indexes of the table was exceeded.
193
+ * Consider increasing your provisioning level for the
194
+ * under-provisioned global secondary indexes with the UpdateTable
195
+ * API.</p>
196
+ * <note>
197
+ * <p>This message is returned when provisioned throughput is
198
+ * exceeded is on a provisioned GSI.</p>
199
+ * </note>
200
+ * </li>
201
+ * </ul>
202
+ * </li>
203
+ * </ul>
204
+ * </li>
205
+ * <li>
206
+ * <p>Throttling Error:</p>
207
+ * <ul>
208
+ * <li>
209
+ * <p>Code: <code>ThrottlingError</code>
210
+ * </p>
211
+ * </li>
212
+ * <li>
213
+ * <p>Messages: </p>
214
+ * <ul>
215
+ * <li>
216
+ * <p>Throughput exceeds the current capacity of your table or
217
+ * index. DynamoDB is automatically scaling your table or
218
+ * index so please try again shortly. If exceptions persist, check
219
+ * if you have a hot key:
220
+ * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.</p>
221
+ * <note>
222
+ * <p>This message is returned when writes get throttled on an
223
+ * On-Demand table as DynamoDB is automatically
224
+ * scaling the table.</p>
225
+ * </note>
226
+ * </li>
227
+ * <li>
228
+ * <p>Throughput exceeds the current capacity for one or more
229
+ * global secondary indexes. DynamoDB is automatically
230
+ * scaling your index so please try again shortly.</p>
231
+ * <note>
232
+ * <p>This message is returned when writes get throttled on
233
+ * an On-Demand GSI as DynamoDB is automatically
234
+ * scaling the GSI.</p>
235
+ * </note>
236
+ * </li>
237
+ * </ul>
238
+ * </li>
239
+ * </ul>
240
+ * </li>
241
+ * <li>
242
+ * <p>Validation Error:</p>
243
+ * <ul>
244
+ * <li>
245
+ * <p>Code: <code>ValidationError</code>
246
+ * </p>
247
+ * </li>
248
+ * <li>
249
+ * <p>Messages: </p>
250
+ * <ul>
251
+ * <li>
252
+ * <p>One or more parameter values were invalid.</p>
253
+ * </li>
254
+ * <li>
255
+ * <p>The update expression attempted to update the secondary
256
+ * index key beyond allowed size limits.</p>
257
+ * </li>
258
+ * <li>
259
+ * <p>The update expression attempted to update the secondary
260
+ * index key to unsupported type.</p>
261
+ * </li>
262
+ * <li>
263
+ * <p>An operand in the update expression has an incorrect data
264
+ * type.</p>
265
+ * </li>
266
+ * <li>
267
+ * <p>Item size to update has exceeded the maximum allowed
268
+ * size.</p>
269
+ * </li>
270
+ * <li>
271
+ * <p>Number overflow. Attempting to store a number with
272
+ * magnitude larger than supported range.</p>
273
+ * </li>
274
+ * <li>
275
+ * <p>Type mismatch for attribute to update.</p>
276
+ * </li>
277
+ * <li>
278
+ * <p>Nesting Levels have exceeded supported limits.</p>
279
+ * </li>
280
+ * <li>
281
+ * <p>The document path provided in the update expression is
282
+ * invalid for update.</p>
283
+ * </li>
284
+ * <li>
285
+ * <p>The provided expression refers to an attribute that does
286
+ * not exist in the item.</p>
287
+ * </li>
288
+ * </ul>
289
+ * </li>
290
+ * </ul>
291
+ * </li>
292
+ * </ul>
293
+ *
294
+ * @throws {@link TransactionInProgressException} (client fault)
295
+ * <p>The transaction with the given request token is already in progress.</p>
296
+ * <p>
297
+ * Recommended Settings
298
+ * </p>
299
+ * <note>
300
+ * <p>
301
+ * This is a general recommendation for handling the <code>TransactionInProgressException</code>. These settings help
302
+ * ensure that the client retries will trigger completion of the ongoing <code>TransactWriteItems</code> request.
303
+ * </p>
304
+ * </note>
305
+ * <ul>
306
+ * <li>
307
+ * <p>
308
+ * Set <code>clientExecutionTimeout</code> to a value that allows at least one retry to be processed after 5
309
+ * seconds have elapsed since the first attempt for the <code>TransactWriteItems</code> operation.
310
+ * </p>
311
+ * </li>
312
+ * <li>
313
+ * <p>
314
+ * Set <code>socketTimeout</code> to a value a little lower than the <code>requestTimeout</code> setting.
315
+ * </p>
316
+ * </li>
317
+ * <li>
318
+ * <p>
319
+ * <code>requestTimeout</code> should be set based on the time taken for the individual retries of a single
320
+ * HTTP request for your use case, but setting it to 1 second or higher should work well to reduce chances of
321
+ * retries and <code>TransactionInProgressException</code> errors.
322
+ * </p>
323
+ * </li>
324
+ * <li>
325
+ * <p>
326
+ * Use exponential backoff when retrying and tune backoff if needed.
327
+ * </p>
328
+ * </li>
329
+ * </ul>
330
+ * <p>
331
+ * Assuming <a href="https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97">default retry policy</a>,
332
+ * example timeout settings based on the guidelines above are as follows:
333
+ * </p>
334
+ * <p>Example timeline:</p>
335
+ * <ul>
336
+ * <li>
337
+ * <p>0-1000 first attempt</p>
338
+ * </li>
339
+ * <li>
340
+ * <p>1000-1500 first sleep/delay (default retry policy uses 500 ms as base delay for 4xx errors)</p>
341
+ * </li>
342
+ * <li>
343
+ * <p>1500-2500 second attempt</p>
344
+ * </li>
345
+ * <li>
346
+ * <p>2500-3500 second sleep/delay (500 * 2, exponential backoff)</p>
347
+ * </li>
348
+ * <li>
349
+ * <p>3500-4500 third attempt</p>
350
+ * </li>
351
+ * <li>
352
+ * <p>4500-6500 third sleep/delay (500 * 2^2)</p>
353
+ * </li>
354
+ * <li>
355
+ * <p>6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds have elapsed since the first attempt reached TC)</p>
356
+ * </li>
357
+ * </ul>
358
+ *
359
+ *
39
360
  */
40
361
  export declare class ExecuteTransactionCommand extends $Command<ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput, DynamoDBClientResolvedConfig> {
41
362
  readonly input: ExecuteTransactionCommandInput;
@@ -31,6 +31,37 @@ export interface ExportTableToPointInTimeCommandOutput extends ExportTableToPoin
31
31
  * @see {@link ExportTableToPointInTimeCommandOutput} for command's `response` shape.
32
32
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
33
33
  *
34
+ * @throws {@link ExportConflictException} (client fault)
35
+ * <p>There was a conflict when writing to the specified S3 bucket.</p>
36
+ *
37
+ * @throws {@link InternalServerError} (server fault)
38
+ * <p>An error occurred on the server side.</p>
39
+ *
40
+ * @throws {@link InvalidExportTimeException} (client fault)
41
+ * <p>The specified <code>ExportTime</code> is outside of the point in time recovery
42
+ * window.</p>
43
+ *
44
+ * @throws {@link LimitExceededException} (client fault)
45
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
46
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
47
+ * include <code>CreateTable</code>, <code>UpdateTable</code>,
48
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
49
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
50
+ * <p>When you are creating a table with one or more secondary
51
+ * indexes, you can have up to 250 such requests running at a time. However, if the table or
52
+ * index specifications are complex, then DynamoDB might temporarily reduce the number
53
+ * of concurrent operations.</p>
54
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
55
+ * <p>There is a soft account quota of 2,500 tables.</p>
56
+ *
57
+ * @throws {@link PointInTimeRecoveryUnavailableException} (client fault)
58
+ * <p>Point in time recovery has not yet been enabled for this source table.</p>
59
+ *
60
+ * @throws {@link TableNotFoundException} (client fault)
61
+ * <p>A source table with the name <code>TableName</code> does not currently exist within
62
+ * the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.</p>
63
+ *
64
+ *
34
65
  */
35
66
  export declare class ExportTableToPointInTimeCommand extends $Command<ExportTableToPointInTimeCommandInput, ExportTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig> {
36
67
  readonly input: ExportTableToPointInTimeCommandInput;
@@ -36,6 +36,27 @@ export interface GetItemCommandOutput extends GetItemOutput, __MetadataBearer {
36
36
  * @see {@link GetItemCommandOutput} for command's `response` shape.
37
37
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
38
38
  *
39
+ * @throws {@link InternalServerError} (server fault)
40
+ * <p>An error occurred on the server side.</p>
41
+ *
42
+ * @throws {@link InvalidEndpointException} (client fault)
43
+ *
44
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
45
+ * <p>Your request rate is too high. The Amazon Web Services SDKs for DynamoDB
46
+ * automatically retry requests that receive this exception. Your request is eventually
47
+ * successful, unless your retry queue is too large to finish. Reduce the frequency of
48
+ * requests and use exponential backoff. For more information, go to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff">Error Retries and Exponential Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
49
+ *
50
+ * @throws {@link RequestLimitExceeded} (client fault)
51
+ * <p>Throughput exceeds the current throughput quota for your account. Please contact
52
+ * <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
53
+ * quota increase.</p>
54
+ *
55
+ * @throws {@link ResourceNotFoundException} (client fault)
56
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
57
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
58
+ *
59
+ *
39
60
  * @example To read an item from a table
40
61
  * ```javascript
41
62
  * // This example retrieves an item from the Music table. The table has a partition key and a sort key (Artist and SongTitle), so you must specify both of these attributes.
@@ -29,6 +29,32 @@ export interface ImportTableCommandOutput extends ImportTableOutput, __MetadataB
29
29
  * @see {@link ImportTableCommandOutput} for command's `response` shape.
30
30
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
31
31
  *
32
+ * @throws {@link ImportConflictException} (client fault)
33
+ * <p>
34
+ * There was a conflict when importing from the specified S3 source.
35
+ * This can occur when the current import conflicts with a previous import request
36
+ * that had the same client token.
37
+ * </p>
38
+ *
39
+ * @throws {@link LimitExceededException} (client fault)
40
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
41
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
42
+ * include <code>CreateTable</code>, <code>UpdateTable</code>,
43
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
44
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
45
+ * <p>When you are creating a table with one or more secondary
46
+ * indexes, you can have up to 250 such requests running at a time. However, if the table or
47
+ * index specifications are complex, then DynamoDB might temporarily reduce the number
48
+ * of concurrent operations.</p>
49
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
50
+ * <p>There is a soft account quota of 2,500 tables.</p>
51
+ *
52
+ * @throws {@link ResourceInUseException} (client fault)
53
+ * <p>The operation conflicts with the resource's availability. For example, you
54
+ * attempted to recreate an existing table, or tried to delete a table currently in the
55
+ * <code>CREATING</code> state.</p>
56
+ *
57
+ *
32
58
  */
33
59
  export declare class ImportTableCommand extends $Command<ImportTableCommandInput, ImportTableCommandOutput, DynamoDBClientResolvedConfig> {
34
60
  readonly input: ImportTableCommandInput;
@@ -35,6 +35,12 @@ export interface ListBackupsCommandOutput extends ListBackupsOutput, __MetadataB
35
35
  * @see {@link ListBackupsCommandOutput} for command's `response` shape.
36
36
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
37
37
  *
38
+ * @throws {@link InternalServerError} (server fault)
39
+ * <p>An error occurred on the server side.</p>
40
+ *
41
+ * @throws {@link InvalidEndpointException} (client fault)
42
+ *
43
+ *
38
44
  */
39
45
  export declare class ListBackupsCommand extends $Command<ListBackupsCommandInput, ListBackupsCommandOutput, DynamoDBClientResolvedConfig> {
40
46
  readonly input: ListBackupsCommandInput;
@@ -30,6 +30,14 @@ export interface ListContributorInsightsCommandOutput extends ListContributorIns
30
30
  * @see {@link ListContributorInsightsCommandOutput} for command's `response` shape.
31
31
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
32
32
  *
33
+ * @throws {@link InternalServerError} (server fault)
34
+ * <p>An error occurred on the server side.</p>
35
+ *
36
+ * @throws {@link ResourceNotFoundException} (client fault)
37
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
38
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
39
+ *
40
+ *
33
41
  */
34
42
  export declare class ListContributorInsightsCommand extends $Command<ListContributorInsightsCommandInput, ListContributorInsightsCommandOutput, DynamoDBClientResolvedConfig> {
35
43
  readonly input: ListContributorInsightsCommandInput;
@@ -29,6 +29,23 @@ export interface ListExportsCommandOutput extends ListExportsOutput, __MetadataB
29
29
  * @see {@link ListExportsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
31
31
  *
32
+ * @throws {@link InternalServerError} (server fault)
33
+ * <p>An error occurred on the server side.</p>
34
+ *
35
+ * @throws {@link LimitExceededException} (client fault)
36
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
37
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
38
+ * include <code>CreateTable</code>, <code>UpdateTable</code>,
39
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
40
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
41
+ * <p>When you are creating a table with one or more secondary
42
+ * indexes, you can have up to 250 such requests running at a time. However, if the table or
43
+ * index specifications are complex, then DynamoDB might temporarily reduce the number
44
+ * of concurrent operations.</p>
45
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
46
+ * <p>There is a soft account quota of 2,500 tables.</p>
47
+ *
48
+ *
32
49
  */
33
50
  export declare class ListExportsCommand extends $Command<ListExportsCommandInput, ListExportsCommandOutput, DynamoDBClientResolvedConfig> {
34
51
  readonly input: ListExportsCommandInput;
@@ -41,6 +41,12 @@ export interface ListGlobalTablesCommandOutput extends ListGlobalTablesOutput, _
41
41
  * @see {@link ListGlobalTablesCommandOutput} for command's `response` shape.
42
42
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
43
43
  *
44
+ * @throws {@link InternalServerError} (server fault)
45
+ * <p>An error occurred on the server side.</p>
46
+ *
47
+ * @throws {@link InvalidEndpointException} (client fault)
48
+ *
49
+ *
44
50
  */
45
51
  export declare class ListGlobalTablesCommand extends $Command<ListGlobalTablesCommandInput, ListGlobalTablesCommandOutput, DynamoDBClientResolvedConfig> {
46
52
  readonly input: ListGlobalTablesCommandInput;
@@ -29,6 +29,20 @@ export interface ListImportsCommandOutput extends ListImportsOutput, __MetadataB
29
29
  * @see {@link ListImportsCommandOutput} for command's `response` shape.
30
30
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
31
31
  *
32
+ * @throws {@link LimitExceededException} (client fault)
33
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
34
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
35
+ * include <code>CreateTable</code>, <code>UpdateTable</code>,
36
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
37
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
38
+ * <p>When you are creating a table with one or more secondary
39
+ * indexes, you can have up to 250 such requests running at a time. However, if the table or
40
+ * index specifications are complex, then DynamoDB might temporarily reduce the number
41
+ * of concurrent operations.</p>
42
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
43
+ * <p>There is a soft account quota of 2,500 tables.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class ListImportsCommand extends $Command<ListImportsCommandInput, ListImportsCommandOutput, DynamoDBClientResolvedConfig> {
34
48
  readonly input: ListImportsCommandInput;
@@ -31,6 +31,12 @@ export interface ListTablesCommandOutput extends ListTablesOutput, __MetadataBea
31
31
  * @see {@link ListTablesCommandOutput} for command's `response` shape.
32
32
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
33
33
  *
34
+ * @throws {@link InternalServerError} (server fault)
35
+ * <p>An error occurred on the server side.</p>
36
+ *
37
+ * @throws {@link InvalidEndpointException} (client fault)
38
+ *
39
+ *
34
40
  * @example To list tables
35
41
  * ```javascript
36
42
  * // This example lists all of the tables associated with the current AWS account and endpoint.
@@ -32,6 +32,16 @@ export interface ListTagsOfResourceCommandOutput extends ListTagsOfResourceOutpu
32
32
  * @see {@link ListTagsOfResourceCommandOutput} for command's `response` shape.
33
33
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
34
34
  *
35
+ * @throws {@link InternalServerError} (server fault)
36
+ * <p>An error occurred on the server side.</p>
37
+ *
38
+ * @throws {@link InvalidEndpointException} (client fault)
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
42
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
43
+ *
44
+ *
35
45
  */
36
46
  export declare class ListTagsOfResourceCommand extends $Command<ListTagsOfResourceCommandInput, ListTagsOfResourceCommandOutput, DynamoDBClientResolvedConfig> {
37
47
  readonly input: ListTagsOfResourceCommandInput;
@@ -50,6 +50,38 @@ export interface PutItemCommandOutput extends PutItemOutput, __MetadataBearer {
50
50
  * @see {@link PutItemCommandOutput} for command's `response` shape.
51
51
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
52
52
  *
53
+ * @throws {@link ConditionalCheckFailedException} (client fault)
54
+ * <p>A condition specified in the operation could not be evaluated.</p>
55
+ *
56
+ * @throws {@link InternalServerError} (server fault)
57
+ * <p>An error occurred on the server side.</p>
58
+ *
59
+ * @throws {@link InvalidEndpointException} (client fault)
60
+ *
61
+ * @throws {@link ItemCollectionSizeLimitExceededException} (client fault)
62
+ * <p>An item collection is too large. This exception is only returned for tables that
63
+ * have one or more local secondary indexes.</p>
64
+ *
65
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
66
+ * <p>Your request rate is too high. The Amazon Web Services SDKs for DynamoDB
67
+ * automatically retry requests that receive this exception. Your request is eventually
68
+ * successful, unless your retry queue is too large to finish. Reduce the frequency of
69
+ * requests and use exponential backoff. For more information, go to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff">Error Retries and Exponential Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
70
+ *
71
+ * @throws {@link RequestLimitExceeded} (client fault)
72
+ * <p>Throughput exceeds the current throughput quota for your account. Please contact
73
+ * <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
74
+ * quota increase.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
78
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
79
+ *
80
+ * @throws {@link TransactionConflictException} (client fault)
81
+ * <p>Operation was rejected because there is an ongoing transaction for the
82
+ * item.</p>
83
+ *
84
+ *
53
85
  * @example To add an item to a table
54
86
  * ```javascript
55
87
  * // This example adds a new item to the Music table.
@@ -79,6 +79,27 @@ export interface QueryCommandOutput extends QueryOutput, __MetadataBearer {
79
79
  * @see {@link QueryCommandOutput} for command's `response` shape.
80
80
  * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
81
81
  *
82
+ * @throws {@link InternalServerError} (server fault)
83
+ * <p>An error occurred on the server side.</p>
84
+ *
85
+ * @throws {@link InvalidEndpointException} (client fault)
86
+ *
87
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
88
+ * <p>Your request rate is too high. The Amazon Web Services SDKs for DynamoDB
89
+ * automatically retry requests that receive this exception. Your request is eventually
90
+ * successful, unless your retry queue is too large to finish. Reduce the frequency of
91
+ * requests and use exponential backoff. For more information, go to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff">Error Retries and Exponential Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
92
+ *
93
+ * @throws {@link RequestLimitExceeded} (client fault)
94
+ * <p>Throughput exceeds the current throughput quota for your account. Please contact
95
+ * <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a
96
+ * quota increase.</p>
97
+ *
98
+ * @throws {@link ResourceNotFoundException} (client fault)
99
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
100
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
101
+ *
102
+ *
82
103
  * @example To query an item
83
104
  * ```javascript
84
105
  * // This example queries items in the Music table. The table has a partition key and sort key (Artist and SongTitle), but this query only specifies the partition key value. It returns song titles by the artist named "No One You Know".