@aws-sdk/client-dynamodb 3.775.0 → 3.777.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-types/commands/BatchExecuteStatementCommand.d.ts +1 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +27 -27
- package/dist-types/commands/BatchWriteItemCommand.d.ts +32 -29
- package/dist-types/commands/CreateBackupCommand.d.ts +1 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +1 -0
- package/dist-types/commands/CreateTableCommand.d.ts +1 -70
- package/dist-types/commands/DeleteBackupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +12 -12
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +13 -13
- package/dist-types/commands/DescribeBackupCommand.d.ts +1 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +1 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +1 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +1 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +8 -8
- package/dist-types/commands/DescribeTableCommand.d.ts +1 -47
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +1 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +1 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +1 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +1 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +1 -0
- package/dist-types/commands/GetItemCommand.d.ts +16 -16
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/ImportTableCommand.d.ts +1 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +1 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
- package/dist-types/commands/ListExportsCommand.d.ts +1 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +1 -0
- package/dist-types/commands/ListImportsCommand.d.ts +1 -0
- package/dist-types/commands/ListTablesCommand.d.ts +5 -5
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +1 -0
- package/dist-types/commands/PutItemCommand.d.ts +15 -15
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
- package/dist-types/commands/QueryCommand.d.ts +15 -15
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +1 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +1 -0
- package/dist-types/commands/ScanCommand.d.ts +24 -24
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +1 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +1 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +28 -28
- package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +1 -52
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +1 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +1 -0
- package/package.json +2 -2
|
@@ -204,41 +204,41 @@ declare const GetItemCommand_base: {
|
|
|
204
204
|
* @throws {@link DynamoDBServiceException}
|
|
205
205
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
206
206
|
*
|
|
207
|
-
*
|
|
207
|
+
*
|
|
208
208
|
* @example To read an item from a table
|
|
209
209
|
* ```javascript
|
|
210
210
|
* // 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.
|
|
211
211
|
* const input = {
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
212
|
+
* Key: {
|
|
213
|
+
* Artist: {
|
|
214
|
+
* S: "Acme Band"
|
|
215
215
|
* },
|
|
216
|
-
*
|
|
217
|
-
*
|
|
216
|
+
* SongTitle: {
|
|
217
|
+
* S: "Happy Day"
|
|
218
218
|
* }
|
|
219
219
|
* },
|
|
220
|
-
*
|
|
220
|
+
* TableName: "Music"
|
|
221
221
|
* };
|
|
222
222
|
* const command = new GetItemCommand(input);
|
|
223
223
|
* const response = await client.send(command);
|
|
224
|
-
* /* response
|
|
224
|
+
* /* response is
|
|
225
225
|
* {
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
226
|
+
* Item: {
|
|
227
|
+
* AlbumTitle: {
|
|
228
|
+
* S: "Songs About Life"
|
|
229
229
|
* },
|
|
230
|
-
*
|
|
231
|
-
*
|
|
230
|
+
* Artist: {
|
|
231
|
+
* S: "Acme Band"
|
|
232
232
|
* },
|
|
233
|
-
*
|
|
234
|
-
*
|
|
233
|
+
* SongTitle: {
|
|
234
|
+
* S: "Happy Day"
|
|
235
235
|
* }
|
|
236
236
|
* }
|
|
237
237
|
* }
|
|
238
238
|
* *\/
|
|
239
|
-
* // example id: to-read-an-item-from-a-table-1475884258350
|
|
240
239
|
* ```
|
|
241
240
|
*
|
|
241
|
+
* @public
|
|
242
242
|
*/
|
|
243
243
|
export declare class GetItemCommand extends GetItemCommand_base {
|
|
244
244
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -103,6 +103,7 @@ declare const GetResourcePolicyCommand_base: {
|
|
|
103
103
|
* @throws {@link DynamoDBServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
105
105
|
*
|
|
106
|
+
*
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
|
|
@@ -253,6 +253,7 @@ declare const ImportTableCommand_base: {
|
|
|
253
253
|
* @throws {@link DynamoDBServiceException}
|
|
254
254
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
255
255
|
*
|
|
256
|
+
*
|
|
256
257
|
* @public
|
|
257
258
|
*/
|
|
258
259
|
export declare class ImportTableCommand extends ImportTableCommand_base {
|
|
@@ -89,6 +89,7 @@ declare const ListBackupsCommand_base: {
|
|
|
89
89
|
* @throws {@link DynamoDBServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
92
93
|
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class ListBackupsCommand extends ListBackupsCommand_base {
|
|
@@ -71,6 +71,7 @@ declare const ListContributorInsightsCommand_base: {
|
|
|
71
71
|
* @throws {@link DynamoDBServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class ListContributorInsightsCommand extends ListContributorInsightsCommand_base {
|
|
@@ -82,6 +82,7 @@ declare const ListExportsCommand_base: {
|
|
|
82
82
|
* @throws {@link DynamoDBServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
84
84
|
*
|
|
85
|
+
*
|
|
85
86
|
* @public
|
|
86
87
|
*/
|
|
87
88
|
export declare class ListExportsCommand extends ListExportsCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const ListGlobalTablesCommand_base: {
|
|
|
75
75
|
* @throws {@link DynamoDBServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class ListGlobalTablesCommand extends ListGlobalTablesCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const ListImportsCommand_base: {
|
|
|
88
88
|
* @throws {@link DynamoDBServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class ListImportsCommand extends ListImportsCommand_base {
|
|
@@ -65,16 +65,16 @@ declare const ListTablesCommand_base: {
|
|
|
65
65
|
* @throws {@link DynamoDBServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To list tables
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // This example lists all of the tables associated with the current AWS account and endpoint.
|
|
72
|
-
* const input = {};
|
|
72
|
+
* const input = { /* empty *\/ };
|
|
73
73
|
* const command = new ListTablesCommand(input);
|
|
74
74
|
* const response = await client.send(command);
|
|
75
|
-
* /* response
|
|
75
|
+
* /* response is
|
|
76
76
|
* {
|
|
77
|
-
*
|
|
77
|
+
* TableNames: [
|
|
78
78
|
* "Forum",
|
|
79
79
|
* "ProductCatalog",
|
|
80
80
|
* "Reply",
|
|
@@ -82,9 +82,9 @@ declare const ListTablesCommand_base: {
|
|
|
82
82
|
* ]
|
|
83
83
|
* }
|
|
84
84
|
* *\/
|
|
85
|
-
* // example id: to-list-tables-1475884741238
|
|
86
85
|
* ```
|
|
87
86
|
*
|
|
87
|
+
* @public
|
|
88
88
|
*/
|
|
89
89
|
export declare class ListTablesCommand extends ListTablesCommand_base {
|
|
90
90
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,6 +73,7 @@ declare const ListTagsOfResourceCommand_base: {
|
|
|
73
73
|
* @throws {@link DynamoDBServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class ListTagsOfResourceCommand extends ListTagsOfResourceCommand_base {
|
|
@@ -252,38 +252,38 @@ declare const PutItemCommand_base: {
|
|
|
252
252
|
* @throws {@link DynamoDBServiceException}
|
|
253
253
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
254
254
|
*
|
|
255
|
-
*
|
|
255
|
+
*
|
|
256
256
|
* @example To add an item to a table
|
|
257
257
|
* ```javascript
|
|
258
258
|
* // This example adds a new item to the Music table.
|
|
259
259
|
* const input = {
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
*
|
|
260
|
+
* Item: {
|
|
261
|
+
* AlbumTitle: {
|
|
262
|
+
* S: "Somewhat Famous"
|
|
263
263
|
* },
|
|
264
|
-
*
|
|
265
|
-
*
|
|
264
|
+
* Artist: {
|
|
265
|
+
* S: "No One You Know"
|
|
266
266
|
* },
|
|
267
|
-
*
|
|
268
|
-
*
|
|
267
|
+
* SongTitle: {
|
|
268
|
+
* S: "Call Me Today"
|
|
269
269
|
* }
|
|
270
270
|
* },
|
|
271
|
-
*
|
|
272
|
-
*
|
|
271
|
+
* ReturnConsumedCapacity: "TOTAL",
|
|
272
|
+
* TableName: "Music"
|
|
273
273
|
* };
|
|
274
274
|
* const command = new PutItemCommand(input);
|
|
275
275
|
* const response = await client.send(command);
|
|
276
|
-
* /* response
|
|
276
|
+
* /* response is
|
|
277
277
|
* {
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
278
|
+
* ConsumedCapacity: {
|
|
279
|
+
* CapacityUnits: 1,
|
|
280
|
+
* TableName: "Music"
|
|
281
281
|
* }
|
|
282
282
|
* }
|
|
283
283
|
* *\/
|
|
284
|
-
* // example id: to-add-an-item-to-a-table-1476116191110
|
|
285
284
|
* ```
|
|
286
285
|
*
|
|
286
|
+
* @public
|
|
287
287
|
*/
|
|
288
288
|
export declare class PutItemCommand extends PutItemCommand_base {
|
|
289
289
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -122,6 +122,7 @@ declare const PutResourcePolicyCommand_base: {
|
|
|
122
122
|
* @throws {@link DynamoDBServiceException}
|
|
123
123
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
124
124
|
*
|
|
125
|
+
*
|
|
125
126
|
* @public
|
|
126
127
|
*/
|
|
127
128
|
export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
|
|
@@ -280,39 +280,39 @@ declare const QueryCommand_base: {
|
|
|
280
280
|
* @throws {@link DynamoDBServiceException}
|
|
281
281
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
282
282
|
*
|
|
283
|
-
*
|
|
283
|
+
*
|
|
284
284
|
* @example To query an item
|
|
285
285
|
* ```javascript
|
|
286
286
|
* // 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".
|
|
287
287
|
* const input = {
|
|
288
|
-
*
|
|
289
|
-
*
|
|
290
|
-
*
|
|
288
|
+
* ExpressionAttributeValues: {
|
|
289
|
+
* :v1: {
|
|
290
|
+
* S: "No One You Know"
|
|
291
291
|
* }
|
|
292
292
|
* },
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
293
|
+
* KeyConditionExpression: "Artist = :v1",
|
|
294
|
+
* ProjectionExpression: "SongTitle",
|
|
295
|
+
* TableName: "Music"
|
|
296
296
|
* };
|
|
297
297
|
* const command = new QueryCommand(input);
|
|
298
298
|
* const response = await client.send(command);
|
|
299
|
-
* /* response
|
|
299
|
+
* /* response is
|
|
300
300
|
* {
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
*
|
|
301
|
+
* ConsumedCapacity: { /* empty *\/ },
|
|
302
|
+
* Count: 2,
|
|
303
|
+
* Items: [
|
|
304
304
|
* {
|
|
305
|
-
*
|
|
306
|
-
*
|
|
305
|
+
* SongTitle: {
|
|
306
|
+
* S: "Call Me Today"
|
|
307
307
|
* }
|
|
308
308
|
* }
|
|
309
309
|
* ],
|
|
310
|
-
*
|
|
310
|
+
* ScannedCount: 2
|
|
311
311
|
* }
|
|
312
312
|
* *\/
|
|
313
|
-
* // example id: to-query-an-item-1475883874631
|
|
314
313
|
* ```
|
|
315
314
|
*
|
|
315
|
+
* @public
|
|
316
316
|
*/
|
|
317
317
|
export declare class QueryCommand extends QueryCommand_base {
|
|
318
318
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -343,6 +343,7 @@ declare const RestoreTableFromBackupCommand_base: {
|
|
|
343
343
|
* @throws {@link DynamoDBServiceException}
|
|
344
344
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
345
345
|
*
|
|
346
|
+
*
|
|
346
347
|
* @public
|
|
347
348
|
*/
|
|
348
349
|
export declare class RestoreTableFromBackupCommand extends RestoreTableFromBackupCommand_base {
|
|
@@ -375,6 +375,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
|
|
|
375
375
|
* @throws {@link DynamoDBServiceException}
|
|
376
376
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
377
377
|
*
|
|
378
|
+
*
|
|
378
379
|
* @public
|
|
379
380
|
*/
|
|
380
381
|
export declare class RestoreTableToPointInTimeCommand extends RestoreTableToPointInTimeCommand_base {
|
|
@@ -264,54 +264,54 @@ declare const ScanCommand_base: {
|
|
|
264
264
|
* @throws {@link DynamoDBServiceException}
|
|
265
265
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
266
266
|
*
|
|
267
|
-
*
|
|
267
|
+
*
|
|
268
268
|
* @example To scan a table
|
|
269
269
|
* ```javascript
|
|
270
270
|
* // This example scans the entire Music table, and then narrows the results to songs by the artist "No One You Know". For each item, only the album title and song title are returned.
|
|
271
271
|
* const input = {
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
272
|
+
* ExpressionAttributeNames: {
|
|
273
|
+
* #AT: "AlbumTitle",
|
|
274
|
+
* #ST: "SongTitle"
|
|
275
275
|
* },
|
|
276
|
-
*
|
|
277
|
-
*
|
|
278
|
-
*
|
|
276
|
+
* ExpressionAttributeValues: {
|
|
277
|
+
* :a: {
|
|
278
|
+
* S: "No One You Know"
|
|
279
279
|
* }
|
|
280
280
|
* },
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
281
|
+
* FilterExpression: "Artist = :a",
|
|
282
|
+
* ProjectionExpression: "#ST, #AT",
|
|
283
|
+
* TableName: "Music"
|
|
284
284
|
* };
|
|
285
285
|
* const command = new ScanCommand(input);
|
|
286
286
|
* const response = await client.send(command);
|
|
287
|
-
* /* response
|
|
287
|
+
* /* response is
|
|
288
288
|
* {
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
289
|
+
* ConsumedCapacity: { /* empty *\/ },
|
|
290
|
+
* Count: 2,
|
|
291
|
+
* Items: [
|
|
292
292
|
* {
|
|
293
|
-
*
|
|
294
|
-
*
|
|
293
|
+
* AlbumTitle: {
|
|
294
|
+
* S: "Somewhat Famous"
|
|
295
295
|
* },
|
|
296
|
-
*
|
|
297
|
-
*
|
|
296
|
+
* SongTitle: {
|
|
297
|
+
* S: "Call Me Today"
|
|
298
298
|
* }
|
|
299
299
|
* },
|
|
300
300
|
* {
|
|
301
|
-
*
|
|
302
|
-
*
|
|
301
|
+
* AlbumTitle: {
|
|
302
|
+
* S: "Blue Sky Blues"
|
|
303
303
|
* },
|
|
304
|
-
*
|
|
305
|
-
*
|
|
304
|
+
* SongTitle: {
|
|
305
|
+
* S: "Scared of My Shadow"
|
|
306
306
|
* }
|
|
307
307
|
* }
|
|
308
308
|
* ],
|
|
309
|
-
*
|
|
309
|
+
* ScannedCount: 3
|
|
310
310
|
* }
|
|
311
311
|
* *\/
|
|
312
|
-
* // example id: to-scan-a-table-1475883652470
|
|
313
312
|
* ```
|
|
314
313
|
*
|
|
314
|
+
* @public
|
|
315
315
|
*/
|
|
316
316
|
export declare class ScanCommand extends ScanCommand_base {
|
|
317
317
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -112,6 +112,7 @@ declare const TagResourceCommand_base: {
|
|
|
112
112
|
* @throws {@link DynamoDBServiceException}
|
|
113
113
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
114
114
|
*
|
|
115
|
+
*
|
|
115
116
|
* @public
|
|
116
117
|
*/
|
|
117
118
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -471,6 +471,7 @@ declare const TransactGetItemsCommand_base: {
|
|
|
471
471
|
* @throws {@link DynamoDBServiceException}
|
|
472
472
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
473
473
|
*
|
|
474
|
+
*
|
|
474
475
|
* @public
|
|
475
476
|
*/
|
|
476
477
|
export declare class TransactGetItemsCommand extends TransactGetItemsCommand_base {
|
|
@@ -640,6 +640,7 @@ declare const TransactWriteItemsCommand_base: {
|
|
|
640
640
|
* @throws {@link DynamoDBServiceException}
|
|
641
641
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
642
642
|
*
|
|
643
|
+
*
|
|
643
644
|
* @public
|
|
644
645
|
*/
|
|
645
646
|
export declare class TransactWriteItemsCommand extends TransactWriteItemsCommand_base {
|
|
@@ -107,6 +107,7 @@ declare const UntagResourceCommand_base: {
|
|
|
107
107
|
* @throws {@link DynamoDBServiceException}
|
|
108
108
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
109
109
|
*
|
|
110
|
+
*
|
|
110
111
|
* @public
|
|
111
112
|
*/
|
|
112
113
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -89,6 +89,7 @@ declare const UpdateContinuousBackupsCommand_base: {
|
|
|
89
89
|
* @throws {@link DynamoDBServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
92
93
|
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class UpdateContinuousBackupsCommand extends UpdateContinuousBackupsCommand_base {
|
|
@@ -71,6 +71,7 @@ declare const UpdateContributorInsightsCommand_base: {
|
|
|
71
71
|
* @throws {@link DynamoDBServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
73
73
|
*
|
|
74
|
+
*
|
|
74
75
|
* @public
|
|
75
76
|
*/
|
|
76
77
|
export declare class UpdateContributorInsightsCommand extends UpdateContributorInsightsCommand_base {
|
|
@@ -158,6 +158,7 @@ declare const UpdateGlobalTableCommand_base: {
|
|
|
158
158
|
* @throws {@link DynamoDBServiceException}
|
|
159
159
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
160
160
|
*
|
|
161
|
+
*
|
|
161
162
|
* @public
|
|
162
163
|
*/
|
|
163
164
|
export declare class UpdateGlobalTableCommand extends UpdateGlobalTableCommand_base {
|
|
@@ -262,6 +262,7 @@ declare const UpdateGlobalTableSettingsCommand_base: {
|
|
|
262
262
|
* @throws {@link DynamoDBServiceException}
|
|
263
263
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
264
264
|
*
|
|
265
|
+
*
|
|
265
266
|
* @public
|
|
266
267
|
*/
|
|
267
268
|
export declare class UpdateGlobalTableSettingsCommand extends UpdateGlobalTableSettingsCommand_base {
|
|
@@ -245,58 +245,58 @@ declare const UpdateItemCommand_base: {
|
|
|
245
245
|
* @throws {@link DynamoDBServiceException}
|
|
246
246
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
247
247
|
*
|
|
248
|
-
*
|
|
248
|
+
*
|
|
249
249
|
* @example To update an item in a table
|
|
250
250
|
* ```javascript
|
|
251
251
|
* // This example updates an item in the Music table. It adds a new attribute (Year) and modifies the AlbumTitle attribute. All of the attributes in the item, as they appear after the update, are returned in the response.
|
|
252
252
|
* const input = {
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
253
|
+
* ExpressionAttributeNames: {
|
|
254
|
+
* #AT: "AlbumTitle",
|
|
255
|
+
* #Y: "Year"
|
|
256
256
|
* },
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
257
|
+
* ExpressionAttributeValues: {
|
|
258
|
+
* :t: {
|
|
259
|
+
* S: "Louder Than Ever"
|
|
260
260
|
* },
|
|
261
|
-
*
|
|
262
|
-
*
|
|
261
|
+
* :y: {
|
|
262
|
+
* N: "2015"
|
|
263
263
|
* }
|
|
264
264
|
* },
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
265
|
+
* Key: {
|
|
266
|
+
* Artist: {
|
|
267
|
+
* S: "Acme Band"
|
|
268
268
|
* },
|
|
269
|
-
*
|
|
270
|
-
*
|
|
269
|
+
* SongTitle: {
|
|
270
|
+
* S: "Happy Day"
|
|
271
271
|
* }
|
|
272
272
|
* },
|
|
273
|
-
*
|
|
274
|
-
*
|
|
275
|
-
*
|
|
273
|
+
* ReturnValues: "ALL_NEW",
|
|
274
|
+
* TableName: "Music",
|
|
275
|
+
* UpdateExpression: "SET #Y = :y, #AT = :t"
|
|
276
276
|
* };
|
|
277
277
|
* const command = new UpdateItemCommand(input);
|
|
278
278
|
* const response = await client.send(command);
|
|
279
|
-
* /* response
|
|
279
|
+
* /* response is
|
|
280
280
|
* {
|
|
281
|
-
*
|
|
282
|
-
*
|
|
283
|
-
*
|
|
281
|
+
* Attributes: {
|
|
282
|
+
* AlbumTitle: {
|
|
283
|
+
* S: "Louder Than Ever"
|
|
284
284
|
* },
|
|
285
|
-
*
|
|
286
|
-
*
|
|
285
|
+
* Artist: {
|
|
286
|
+
* S: "Acme Band"
|
|
287
287
|
* },
|
|
288
|
-
*
|
|
289
|
-
*
|
|
288
|
+
* SongTitle: {
|
|
289
|
+
* S: "Happy Day"
|
|
290
290
|
* },
|
|
291
|
-
*
|
|
292
|
-
*
|
|
291
|
+
* Year: {
|
|
292
|
+
* N: "2015"
|
|
293
293
|
* }
|
|
294
294
|
* }
|
|
295
295
|
* }
|
|
296
296
|
* *\/
|
|
297
|
-
* // example id: to-update-an-item-in-a-table-1476118250055
|
|
298
297
|
* ```
|
|
299
298
|
*
|
|
299
|
+
* @public
|
|
300
300
|
*/
|
|
301
301
|
export declare class UpdateItemCommand extends UpdateItemCommand_base {
|
|
302
302
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -103,6 +103,7 @@ declare const UpdateKinesisStreamingDestinationCommand_base: {
|
|
|
103
103
|
* @throws {@link DynamoDBServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
105
105
|
*
|
|
106
|
+
*
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare class UpdateKinesisStreamingDestinationCommand extends UpdateKinesisStreamingDestinationCommand_base {
|
|
@@ -419,59 +419,8 @@ declare const UpdateTableCommand_base: {
|
|
|
419
419
|
* @throws {@link DynamoDBServiceException}
|
|
420
420
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
421
421
|
*
|
|
422
|
-
* @public
|
|
423
|
-
* @example To modify a table's provisioned throughput
|
|
424
|
-
* ```javascript
|
|
425
|
-
* // This example increases the provisioned read and write capacity on the Music table.
|
|
426
|
-
* const input = {
|
|
427
|
-
* "ProvisionedThroughput": {
|
|
428
|
-
* "ReadCapacityUnits": 10,
|
|
429
|
-
* "WriteCapacityUnits": 10
|
|
430
|
-
* },
|
|
431
|
-
* "TableName": "MusicCollection"
|
|
432
|
-
* };
|
|
433
|
-
* const command = new UpdateTableCommand(input);
|
|
434
|
-
* const response = await client.send(command);
|
|
435
|
-
* /* response ==
|
|
436
|
-
* {
|
|
437
|
-
* "TableDescription": {
|
|
438
|
-
* "AttributeDefinitions": [
|
|
439
|
-
* {
|
|
440
|
-
* "AttributeName": "Artist",
|
|
441
|
-
* "AttributeType": "S"
|
|
442
|
-
* },
|
|
443
|
-
* {
|
|
444
|
-
* "AttributeName": "SongTitle",
|
|
445
|
-
* "AttributeType": "S"
|
|
446
|
-
* }
|
|
447
|
-
* ],
|
|
448
|
-
* "CreationDateTime": "1421866952.062",
|
|
449
|
-
* "ItemCount": 0,
|
|
450
|
-
* "KeySchema": [
|
|
451
|
-
* {
|
|
452
|
-
* "AttributeName": "Artist",
|
|
453
|
-
* "KeyType": "HASH"
|
|
454
|
-
* },
|
|
455
|
-
* {
|
|
456
|
-
* "AttributeName": "SongTitle",
|
|
457
|
-
* "KeyType": "RANGE"
|
|
458
|
-
* }
|
|
459
|
-
* ],
|
|
460
|
-
* "ProvisionedThroughput": {
|
|
461
|
-
* "LastIncreaseDateTime": "1421874759.194",
|
|
462
|
-
* "NumberOfDecreasesToday": 1,
|
|
463
|
-
* "ReadCapacityUnits": 1,
|
|
464
|
-
* "WriteCapacityUnits": 1
|
|
465
|
-
* },
|
|
466
|
-
* "TableName": "MusicCollection",
|
|
467
|
-
* "TableSizeBytes": 0,
|
|
468
|
-
* "TableStatus": "UPDATING"
|
|
469
|
-
* }
|
|
470
|
-
* }
|
|
471
|
-
* *\/
|
|
472
|
-
* // example id: to-modify-a-tables-provisioned-throughput-1476118076147
|
|
473
|
-
* ```
|
|
474
422
|
*
|
|
423
|
+
* @public
|
|
475
424
|
*/
|
|
476
425
|
export declare class UpdateTableCommand extends UpdateTableCommand_base {
|
|
477
426
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -226,6 +226,7 @@ declare const UpdateTableReplicaAutoScalingCommand_base: {
|
|
|
226
226
|
* @throws {@link DynamoDBServiceException}
|
|
227
227
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
228
228
|
*
|
|
229
|
+
*
|
|
229
230
|
* @public
|
|
230
231
|
*/
|
|
231
232
|
export declare class UpdateTableReplicaAutoScalingCommand extends UpdateTableReplicaAutoScalingCommand_base {
|
|
@@ -125,6 +125,7 @@ declare const UpdateTimeToLiveCommand_base: {
|
|
|
125
125
|
* @throws {@link DynamoDBServiceException}
|
|
126
126
|
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
127
127
|
*
|
|
128
|
+
*
|
|
128
129
|
* @public
|
|
129
130
|
*/
|
|
130
131
|
export declare class UpdateTimeToLiveCommand extends UpdateTimeToLiveCommand_base {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.777.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.775.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.777.0",
|
|
25
25
|
"@aws-sdk/middleware-endpoint-discovery": "3.775.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.775.0",
|