@aws-sdk/client-dynamodb 3.835.0 → 3.840.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/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +35 -22
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +22 -12
- package/dist-es/protocols/Aws_json1_0.js +4 -3
- package/dist-types/commands/BatchWriteItemCommand.d.ts +4 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +14 -11
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +16 -13
- package/dist-types/commands/CreateTableCommand.d.ts +26 -16
- package/dist-types/commands/DeleteBackupCommand.d.ts +12 -10
- package/dist-types/commands/DeleteItemCommand.d.ts +2 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +18 -13
- package/dist-types/commands/DeleteTableCommand.d.ts +26 -20
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeExportCommand.d.ts +12 -10
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -2
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +1 -3
- package/dist-types/commands/DescribeTableCommand.d.ts +10 -8
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -6
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +16 -12
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +16 -12
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +28 -35
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +14 -11
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
- package/dist-types/commands/ImportTableCommand.d.ts +19 -17
- package/dist-types/commands/ListExportsCommand.d.ts +12 -10
- package/dist-types/commands/ListImportsCommand.d.ts +12 -10
- package/dist-types/commands/PutItemCommand.d.ts +2 -1
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +18 -13
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +22 -14
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -15
- package/dist-types/commands/TagResourceCommand.d.ts +16 -12
- package/dist-types/commands/TransactGetItemsCommand.d.ts +7 -8
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +28 -35
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -12
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -2
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -6
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +17 -13
- package/dist-types/commands/UpdateItemCommand.d.ts +2 -1
- package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +16 -12
- package/dist-types/commands/UpdateTableCommand.d.ts +36 -20
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +18 -18
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +16 -12
- package/dist-types/models/models_0.d.ts +240 -112
- package/dist-types/ts3.4/models/models_0.d.ts +37 -10
- package/package.json +20 -20
|
@@ -213,27 +213,27 @@ declare const ImportTableCommand_base: {
|
|
|
213
213
|
* @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
|
|
214
214
|
*
|
|
215
215
|
* @throws {@link ImportConflictException} (client fault)
|
|
216
|
-
* <p>
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
* that had the same client token.
|
|
220
|
-
* </p>
|
|
216
|
+
* <p> There was a conflict when importing from the specified S3 source. This can occur when
|
|
217
|
+
* the current import conflicts with a previous import request that had the same client
|
|
218
|
+
* token. </p>
|
|
221
219
|
*
|
|
222
220
|
* @throws {@link LimitExceededException} (client fault)
|
|
223
221
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
224
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
225
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
222
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
223
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
226
224
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
227
225
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
228
|
-
* <p>When you are creating a table with one or more secondary
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
226
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
227
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
228
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
229
|
+
* operations.</p>
|
|
230
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
231
|
+
* allowed per account.</p>
|
|
233
232
|
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
234
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
235
|
-
*
|
|
236
|
-
*
|
|
233
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
234
|
+
* parameter.</p>
|
|
235
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
236
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
237
237
|
*
|
|
238
238
|
* @throws {@link ResourceInUseException} (client fault)
|
|
239
239
|
* <p>The operation conflicts with the resource's availability. For example:</p>
|
|
@@ -242,13 +242,15 @@ declare const ImportTableCommand_base: {
|
|
|
242
242
|
* <p>You attempted to recreate an existing table.</p>
|
|
243
243
|
* </li>
|
|
244
244
|
* <li>
|
|
245
|
-
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
245
|
+
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
246
|
+
* state.</p>
|
|
246
247
|
* </li>
|
|
247
248
|
* <li>
|
|
248
249
|
* <p>You tried to update a resource that was already being updated.</p>
|
|
249
250
|
* </li>
|
|
250
251
|
* </ul>
|
|
251
|
-
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
252
|
+
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
253
|
+
* again.</p>
|
|
252
254
|
*
|
|
253
255
|
* @throws {@link DynamoDBServiceException}
|
|
254
256
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
@@ -65,19 +65,21 @@ declare const ListExportsCommand_base: {
|
|
|
65
65
|
*
|
|
66
66
|
* @throws {@link LimitExceededException} (client fault)
|
|
67
67
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
68
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
69
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
68
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
69
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
70
70
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
71
71
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
72
|
-
* <p>When you are creating a table with one or more secondary
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
72
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
73
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
74
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
75
|
+
* operations.</p>
|
|
76
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
77
|
+
* allowed per account.</p>
|
|
77
78
|
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
78
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
79
|
-
*
|
|
80
|
-
*
|
|
79
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
80
|
+
* parameter.</p>
|
|
81
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
82
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
81
83
|
*
|
|
82
84
|
* @throws {@link DynamoDBServiceException}
|
|
83
85
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
@@ -71,19 +71,21 @@ declare const ListImportsCommand_base: {
|
|
|
71
71
|
*
|
|
72
72
|
* @throws {@link LimitExceededException} (client fault)
|
|
73
73
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
74
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
75
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
74
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
75
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
76
76
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
77
77
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
78
|
-
* <p>When you are creating a table with one or more secondary
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
78
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
79
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
80
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
81
|
+
* operations.</p>
|
|
82
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
83
|
+
* allowed per account.</p>
|
|
83
84
|
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
84
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
85
|
-
*
|
|
86
|
-
*
|
|
85
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
86
|
+
* parameter.</p>
|
|
87
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
88
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
87
89
|
*
|
|
88
90
|
* @throws {@link DynamoDBServiceException}
|
|
89
91
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
@@ -234,7 +234,8 @@ declare const PutItemCommand_base: {
|
|
|
234
234
|
* 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>
|
|
235
235
|
*
|
|
236
236
|
* @throws {@link ReplicatedWriteConflictException} (client fault)
|
|
237
|
-
* <p>The request was rejected because one or more items in the request are being modified
|
|
237
|
+
* <p>The request was rejected because one or more items in the request are being modified
|
|
238
|
+
* by a request in another Region. </p>
|
|
238
239
|
*
|
|
239
240
|
* @throws {@link RequestLimitExceeded} (client fault)
|
|
240
241
|
* <p>Throughput exceeds the current throughput quota for your account. Please contact
|
|
@@ -82,23 +82,26 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link LimitExceededException} (client fault)
|
|
84
84
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
85
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
86
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
85
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
86
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
87
87
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
88
88
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
89
|
-
* <p>When you are creating a table with one or more secondary
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
89
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
90
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
91
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
92
|
+
* operations.</p>
|
|
93
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
94
|
+
* allowed per account.</p>
|
|
94
95
|
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
95
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
96
|
-
*
|
|
97
|
-
*
|
|
96
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
97
|
+
* parameter.</p>
|
|
98
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
99
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
98
100
|
*
|
|
99
101
|
* @throws {@link PolicyNotFoundException} (client fault)
|
|
100
102
|
* <p>The operation tried to access a nonexistent resource-based policy.</p>
|
|
101
|
-
* <p>If you specified an <code>ExpectedRevisionId</code>, it's possible that a policy is
|
|
103
|
+
* <p>If you specified an <code>ExpectedRevisionId</code>, it's possible that a policy is
|
|
104
|
+
* present for the resource but its revision ID didn't match the expected value.</p>
|
|
102
105
|
*
|
|
103
106
|
* @throws {@link ResourceInUseException} (client fault)
|
|
104
107
|
* <p>The operation conflicts with the resource's availability. For example:</p>
|
|
@@ -107,13 +110,15 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
107
110
|
* <p>You attempted to recreate an existing table.</p>
|
|
108
111
|
* </li>
|
|
109
112
|
* <li>
|
|
110
|
-
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
113
|
+
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
114
|
+
* state.</p>
|
|
111
115
|
* </li>
|
|
112
116
|
* <li>
|
|
113
117
|
* <p>You tried to update a resource that was already being updated.</p>
|
|
114
118
|
* </li>
|
|
115
119
|
* </ul>
|
|
116
|
-
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
120
|
+
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
121
|
+
* again.</p>
|
|
117
122
|
*
|
|
118
123
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
119
124
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
@@ -139,7 +139,7 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
139
139
|
* // KeyType: "HASH" || "RANGE", // required
|
|
140
140
|
* // },
|
|
141
141
|
* // ],
|
|
142
|
-
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
142
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
143
143
|
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
144
144
|
* // ProvisionedThroughput: { // ProvisionedThroughputDescription
|
|
145
145
|
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
@@ -224,7 +224,7 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
224
224
|
* // Replicas: [ // ReplicaDescriptionList
|
|
225
225
|
* // { // ReplicaDescription
|
|
226
226
|
* // RegionName: "STRING_VALUE",
|
|
227
|
-
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
227
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
228
228
|
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
229
229
|
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
230
230
|
* // KMSMasterKeyId: "STRING_VALUE",
|
|
@@ -237,7 +237,7 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
237
237
|
* // WarmThroughput: { // TableWarmThroughputDescription
|
|
238
238
|
* // ReadUnitsPerSecond: Number("long"),
|
|
239
239
|
* // WriteUnitsPerSecond: Number("long"),
|
|
240
|
-
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
240
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
241
241
|
* // },
|
|
242
242
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
243
243
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
@@ -262,6 +262,12 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
262
262
|
* // },
|
|
263
263
|
* // },
|
|
264
264
|
* // ],
|
|
265
|
+
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
266
|
+
* // { // GlobalTableWitnessDescription
|
|
267
|
+
* // RegionName: "STRING_VALUE",
|
|
268
|
+
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
269
|
+
* // },
|
|
270
|
+
* // ],
|
|
265
271
|
* // RestoreSummary: { // RestoreSummary
|
|
266
272
|
* // SourceBackupArn: "STRING_VALUE",
|
|
267
273
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -291,7 +297,7 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
291
297
|
* // WarmThroughput: {
|
|
292
298
|
* // ReadUnitsPerSecond: Number("long"),
|
|
293
299
|
* // WriteUnitsPerSecond: Number("long"),
|
|
294
|
-
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
300
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
295
301
|
* // },
|
|
296
302
|
* // MultiRegionConsistency: "EVENTUAL" || "STRONG",
|
|
297
303
|
* // },
|
|
@@ -319,19 +325,21 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
319
325
|
*
|
|
320
326
|
* @throws {@link LimitExceededException} (client fault)
|
|
321
327
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
322
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
323
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
328
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
329
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
324
330
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
325
331
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
326
|
-
* <p>When you are creating a table with one or more secondary
|
|
327
|
-
*
|
|
328
|
-
*
|
|
329
|
-
*
|
|
330
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
332
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
333
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
334
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
335
|
+
* operations.</p>
|
|
336
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
337
|
+
* allowed per account.</p>
|
|
331
338
|
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
332
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
333
|
-
*
|
|
334
|
-
*
|
|
339
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
340
|
+
* parameter.</p>
|
|
341
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
342
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
335
343
|
*
|
|
336
344
|
* @throws {@link TableAlreadyExistsException} (client fault)
|
|
337
345
|
* <p>A target table with the specified name already exists. </p>
|
|
@@ -168,7 +168,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
168
168
|
* // KeyType: "HASH" || "RANGE", // required
|
|
169
169
|
* // },
|
|
170
170
|
* // ],
|
|
171
|
-
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
171
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
172
172
|
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
173
173
|
* // ProvisionedThroughput: { // ProvisionedThroughputDescription
|
|
174
174
|
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
@@ -253,7 +253,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
253
253
|
* // Replicas: [ // ReplicaDescriptionList
|
|
254
254
|
* // { // ReplicaDescription
|
|
255
255
|
* // RegionName: "STRING_VALUE",
|
|
256
|
-
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
256
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
257
257
|
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
258
258
|
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
259
259
|
* // KMSMasterKeyId: "STRING_VALUE",
|
|
@@ -266,7 +266,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
266
266
|
* // WarmThroughput: { // TableWarmThroughputDescription
|
|
267
267
|
* // ReadUnitsPerSecond: Number("long"),
|
|
268
268
|
* // WriteUnitsPerSecond: Number("long"),
|
|
269
|
-
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
269
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
270
270
|
* // },
|
|
271
271
|
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
272
272
|
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
@@ -291,6 +291,12 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
291
291
|
* // },
|
|
292
292
|
* // },
|
|
293
293
|
* // ],
|
|
294
|
+
* // GlobalTableWitnesses: [ // GlobalTableWitnessDescriptionList
|
|
295
|
+
* // { // GlobalTableWitnessDescription
|
|
296
|
+
* // RegionName: "STRING_VALUE",
|
|
297
|
+
* // WitnessStatus: "CREATING" || "DELETING" || "ACTIVE",
|
|
298
|
+
* // },
|
|
299
|
+
* // ],
|
|
294
300
|
* // RestoreSummary: { // RestoreSummary
|
|
295
301
|
* // SourceBackupArn: "STRING_VALUE",
|
|
296
302
|
* // SourceTableArn: "STRING_VALUE",
|
|
@@ -320,7 +326,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
320
326
|
* // WarmThroughput: {
|
|
321
327
|
* // ReadUnitsPerSecond: Number("long"),
|
|
322
328
|
* // WriteUnitsPerSecond: Number("long"),
|
|
323
|
-
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
329
|
+
* // Status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
|
|
324
330
|
* // },
|
|
325
331
|
* // MultiRegionConsistency: "EVENTUAL" || "STRONG",
|
|
326
332
|
* // },
|
|
@@ -345,19 +351,21 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
345
351
|
*
|
|
346
352
|
* @throws {@link LimitExceededException} (client fault)
|
|
347
353
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
348
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
349
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
354
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
355
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
350
356
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
351
357
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
352
|
-
* <p>When you are creating a table with one or more secondary
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
358
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
359
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
360
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
361
|
+
* operations.</p>
|
|
362
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
363
|
+
* allowed per account.</p>
|
|
357
364
|
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
358
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
359
|
-
*
|
|
360
|
-
*
|
|
365
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
366
|
+
* parameter.</p>
|
|
367
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
368
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
361
369
|
*
|
|
362
370
|
* @throws {@link PointInTimeRecoveryUnavailableException} (client fault)
|
|
363
371
|
* <p>Point in time recovery has not yet been enabled for this source table.</p>
|
|
@@ -371,7 +379,8 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
371
379
|
*
|
|
372
380
|
* @throws {@link TableNotFoundException} (client fault)
|
|
373
381
|
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
374
|
-
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services
|
|
382
|
+
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services
|
|
383
|
+
* Region.</p>
|
|
375
384
|
*
|
|
376
385
|
* @throws {@link DynamoDBServiceException}
|
|
377
386
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
@@ -85,19 +85,21 @@ declare const TagResourceCommand_base: {
|
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link LimitExceededException} (client fault)
|
|
87
87
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
88
|
-
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
89
|
-
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
88
|
+
* <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
|
|
89
|
+
* These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
90
90
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
91
91
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
92
|
-
* <p>When you are creating a table with one or more secondary
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
92
|
+
* <p>When you are creating a table with one or more secondary indexes, you can have up
|
|
93
|
+
* to 250 such requests running at a time. However, if the table or index specifications
|
|
94
|
+
* are complex, then DynamoDB might temporarily reduce the number of concurrent
|
|
95
|
+
* operations.</p>
|
|
96
|
+
* <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
|
|
97
|
+
* allowed per account.</p>
|
|
97
98
|
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
98
|
-
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
99
|
-
*
|
|
100
|
-
*
|
|
99
|
+
* <p>GetRecords was called with a value of more than 1000 for the limit request
|
|
100
|
+
* parameter.</p>
|
|
101
|
+
* <p>More than 2 processes are reading from the same streams shard at the same time.
|
|
102
|
+
* Exceeding this limit may result in request throttling.</p>
|
|
101
103
|
*
|
|
102
104
|
* @throws {@link ResourceInUseException} (client fault)
|
|
103
105
|
* <p>The operation conflicts with the resource's availability. For example:</p>
|
|
@@ -106,13 +108,15 @@ declare const TagResourceCommand_base: {
|
|
|
106
108
|
* <p>You attempted to recreate an existing table.</p>
|
|
107
109
|
* </li>
|
|
108
110
|
* <li>
|
|
109
|
-
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
111
|
+
* <p>You tried to delete a table currently in the <code>CREATING</code>
|
|
112
|
+
* state.</p>
|
|
110
113
|
* </li>
|
|
111
114
|
* <li>
|
|
112
115
|
* <p>You tried to update a resource that was already being updated.</p>
|
|
113
116
|
* </li>
|
|
114
117
|
* </ul>
|
|
115
|
-
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
118
|
+
* <p>When appropriate, wait for the ongoing update to complete and attempt the request
|
|
119
|
+
* again.</p>
|
|
116
120
|
*
|
|
117
121
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
118
122
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
@@ -257,11 +257,10 @@ declare const TransactGetItemsCommand_base: {
|
|
|
257
257
|
* <p>There is a user error, such as an invalid data format.</p>
|
|
258
258
|
* </li>
|
|
259
259
|
* <li>
|
|
260
|
-
* <p>
|
|
261
|
-
*
|
|
262
|
-
*
|
|
263
|
-
*
|
|
264
|
-
* </p>
|
|
260
|
+
* <p> There is an ongoing <code>TransactWriteItems</code> operation that
|
|
261
|
+
* conflicts with a concurrent <code>TransactWriteItems</code> request. In this
|
|
262
|
+
* case the <code>TransactWriteItems</code> operation fails with a
|
|
263
|
+
* <code>TransactionCanceledException</code>. </p>
|
|
265
264
|
* </li>
|
|
266
265
|
* </ul>
|
|
267
266
|
* <p>DynamoDB cancels a <code>TransactGetItems</code> request under the
|
|
@@ -406,9 +405,9 @@ declare const TransactGetItemsCommand_base: {
|
|
|
406
405
|
* global secondary indexes. DynamoDB is automatically
|
|
407
406
|
* scaling your index so please try again shortly.</p>
|
|
408
407
|
* <note>
|
|
409
|
-
* <p>This message is returned when writes get throttled on
|
|
410
|
-
*
|
|
411
|
-
*
|
|
408
|
+
* <p>This message is returned when writes get throttled on an
|
|
409
|
+
* On-Demand GSI as DynamoDB is automatically scaling
|
|
410
|
+
* the GSI.</p>
|
|
412
411
|
* </note>
|
|
413
412
|
* </li>
|
|
414
413
|
* </ul>
|
|
@@ -361,11 +361,10 @@ declare const TransactWriteItemsCommand_base: {
|
|
|
361
361
|
* <p>There is a user error, such as an invalid data format.</p>
|
|
362
362
|
* </li>
|
|
363
363
|
* <li>
|
|
364
|
-
* <p>
|
|
365
|
-
*
|
|
366
|
-
*
|
|
367
|
-
*
|
|
368
|
-
* </p>
|
|
364
|
+
* <p> There is an ongoing <code>TransactWriteItems</code> operation that
|
|
365
|
+
* conflicts with a concurrent <code>TransactWriteItems</code> request. In this
|
|
366
|
+
* case the <code>TransactWriteItems</code> operation fails with a
|
|
367
|
+
* <code>TransactionCanceledException</code>. </p>
|
|
369
368
|
* </li>
|
|
370
369
|
* </ul>
|
|
371
370
|
* <p>DynamoDB cancels a <code>TransactGetItems</code> request under the
|
|
@@ -510,9 +509,9 @@ declare const TransactWriteItemsCommand_base: {
|
|
|
510
509
|
* global secondary indexes. DynamoDB is automatically
|
|
511
510
|
* scaling your index so please try again shortly.</p>
|
|
512
511
|
* <note>
|
|
513
|
-
* <p>This message is returned when writes get throttled on
|
|
514
|
-
*
|
|
515
|
-
*
|
|
512
|
+
* <p>This message is returned when writes get throttled on an
|
|
513
|
+
* On-Demand GSI as DynamoDB is automatically scaling
|
|
514
|
+
* the GSI.</p>
|
|
516
515
|
* </note>
|
|
517
516
|
* </li>
|
|
518
517
|
* </ul>
|
|
@@ -574,51 +573,44 @@ declare const TransactWriteItemsCommand_base: {
|
|
|
574
573
|
*
|
|
575
574
|
* @throws {@link TransactionInProgressException} (client fault)
|
|
576
575
|
* <p>The transaction with the given request token is already in progress.</p>
|
|
577
|
-
* <p>
|
|
578
|
-
* Recommended Settings
|
|
579
|
-
* </p>
|
|
576
|
+
* <p> Recommended Settings </p>
|
|
580
577
|
* <note>
|
|
581
|
-
* <p>
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
*
|
|
578
|
+
* <p> This is a general recommendation for handling the
|
|
579
|
+
* <code>TransactionInProgressException</code>. These settings help ensure that the
|
|
580
|
+
* client retries will trigger completion of the ongoing
|
|
581
|
+
* <code>TransactWriteItems</code> request. </p>
|
|
585
582
|
* </note>
|
|
586
583
|
* <ul>
|
|
587
584
|
* <li>
|
|
588
|
-
* <p>
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
* </p>
|
|
585
|
+
* <p> Set <code>clientExecutionTimeout</code> to a value that allows at least one
|
|
586
|
+
* retry to be processed after 5 seconds have elapsed since the first attempt for
|
|
587
|
+
* the <code>TransactWriteItems</code> operation. </p>
|
|
592
588
|
* </li>
|
|
593
589
|
* <li>
|
|
594
|
-
* <p>
|
|
595
|
-
*
|
|
596
|
-
* </p>
|
|
590
|
+
* <p> Set <code>socketTimeout</code> to a value a little lower than the
|
|
591
|
+
* <code>requestTimeout</code> setting. </p>
|
|
597
592
|
* </li>
|
|
598
593
|
* <li>
|
|
599
594
|
* <p>
|
|
600
|
-
* <code>requestTimeout</code> should be set based on the time taken for the
|
|
601
|
-
* HTTP request for your use case, but setting it to
|
|
602
|
-
* retries and
|
|
603
|
-
*
|
|
595
|
+
* <code>requestTimeout</code> should be set based on the time taken for the
|
|
596
|
+
* individual retries of a single HTTP request for your use case, but setting it to
|
|
597
|
+
* 1 second or higher should work well to reduce chances of retries and
|
|
598
|
+
* <code>TransactionInProgressException</code> errors. </p>
|
|
604
599
|
* </li>
|
|
605
600
|
* <li>
|
|
606
|
-
* <p>
|
|
607
|
-
* Use exponential backoff when retrying and tune backoff if needed.
|
|
608
|
-
* </p>
|
|
601
|
+
* <p> Use exponential backoff when retrying and tune backoff if needed. </p>
|
|
609
602
|
* </li>
|
|
610
603
|
* </ul>
|
|
611
|
-
* <p>
|
|
612
|
-
*
|
|
613
|
-
* example timeout settings based on the guidelines above are as follows:
|
|
614
|
-
* </p>
|
|
604
|
+
* <p> 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>, example timeout settings based on the guidelines
|
|
605
|
+
* above are as follows: </p>
|
|
615
606
|
* <p>Example timeline:</p>
|
|
616
607
|
* <ul>
|
|
617
608
|
* <li>
|
|
618
609
|
* <p>0-1000 first attempt</p>
|
|
619
610
|
* </li>
|
|
620
611
|
* <li>
|
|
621
|
-
* <p>1000-1500 first sleep/delay (default retry policy uses 500 ms as base delay
|
|
612
|
+
* <p>1000-1500 first sleep/delay (default retry policy uses 500 ms as base delay
|
|
613
|
+
* for 4xx errors)</p>
|
|
622
614
|
* </li>
|
|
623
615
|
* <li>
|
|
624
616
|
* <p>1500-2500 second attempt</p>
|
|
@@ -633,7 +625,8 @@ declare const TransactWriteItemsCommand_base: {
|
|
|
633
625
|
* <p>4500-6500 third sleep/delay (500 * 2^2)</p>
|
|
634
626
|
* </li>
|
|
635
627
|
* <li>
|
|
636
|
-
* <p>6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds
|
|
628
|
+
* <p>6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds
|
|
629
|
+
* have elapsed since the first attempt reached TC)</p>
|
|
637
630
|
* </li>
|
|
638
631
|
* </ul>
|
|
639
632
|
*
|