@aws-sdk/client-dynamodb 3.774.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.
Files changed (64) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/DynamoDBClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +1 -0
  8. package/dist-types/commands/BatchGetItemCommand.d.ts +27 -27
  9. package/dist-types/commands/BatchWriteItemCommand.d.ts +32 -29
  10. package/dist-types/commands/CreateBackupCommand.d.ts +1 -0
  11. package/dist-types/commands/CreateGlobalTableCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateTableCommand.d.ts +1 -70
  13. package/dist-types/commands/DeleteBackupCommand.d.ts +1 -0
  14. package/dist-types/commands/DeleteItemCommand.d.ts +12 -12
  15. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteTableCommand.d.ts +13 -13
  17. package/dist-types/commands/DescribeBackupCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +1 -0
  19. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeEndpointsCommand.d.ts +1 -0
  21. package/dist-types/commands/DescribeExportCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -0
  24. package/dist-types/commands/DescribeImportCommand.d.ts +1 -0
  25. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +1 -0
  26. package/dist-types/commands/DescribeLimitsCommand.d.ts +8 -8
  27. package/dist-types/commands/DescribeTableCommand.d.ts +1 -47
  28. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +1 -0
  29. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +1 -0
  30. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +1 -0
  31. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +1 -0
  32. package/dist-types/commands/ExecuteStatementCommand.d.ts +1 -0
  33. package/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -0
  34. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +1 -0
  35. package/dist-types/commands/GetItemCommand.d.ts +16 -16
  36. package/dist-types/commands/GetResourcePolicyCommand.d.ts +1 -0
  37. package/dist-types/commands/ImportTableCommand.d.ts +1 -0
  38. package/dist-types/commands/ListBackupsCommand.d.ts +1 -0
  39. package/dist-types/commands/ListContributorInsightsCommand.d.ts +1 -0
  40. package/dist-types/commands/ListExportsCommand.d.ts +1 -0
  41. package/dist-types/commands/ListGlobalTablesCommand.d.ts +1 -0
  42. package/dist-types/commands/ListImportsCommand.d.ts +1 -0
  43. package/dist-types/commands/ListTablesCommand.d.ts +5 -5
  44. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +1 -0
  45. package/dist-types/commands/PutItemCommand.d.ts +15 -15
  46. package/dist-types/commands/PutResourcePolicyCommand.d.ts +1 -0
  47. package/dist-types/commands/QueryCommand.d.ts +15 -15
  48. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +1 -0
  49. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +1 -0
  50. package/dist-types/commands/ScanCommand.d.ts +24 -24
  51. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  52. package/dist-types/commands/TransactGetItemsCommand.d.ts +1 -0
  53. package/dist-types/commands/TransactWriteItemsCommand.d.ts +1 -0
  54. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  55. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +1 -0
  56. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +1 -0
  57. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +1 -0
  58. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +1 -0
  59. package/dist-types/commands/UpdateItemCommand.d.ts +28 -28
  60. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +1 -0
  61. package/dist-types/commands/UpdateTableCommand.d.ts +1 -52
  62. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +1 -0
  63. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +1 -0
  64. package/package.json +35 -35
@@ -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
- * @public
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
- * "ExpressionAttributeNames": {
254
- * "#AT": "AlbumTitle",
255
- * "#Y": "Year"
253
+ * ExpressionAttributeNames: {
254
+ * #AT: "AlbumTitle",
255
+ * #Y: "Year"
256
256
  * },
257
- * "ExpressionAttributeValues": {
258
- * ":t": {
259
- * "S": "Louder Than Ever"
257
+ * ExpressionAttributeValues: {
258
+ * :t: {
259
+ * S: "Louder Than Ever"
260
260
  * },
261
- * ":y": {
262
- * "N": "2015"
261
+ * :y: {
262
+ * N: "2015"
263
263
  * }
264
264
  * },
265
- * "Key": {
266
- * "Artist": {
267
- * "S": "Acme Band"
265
+ * Key: {
266
+ * Artist: {
267
+ * S: "Acme Band"
268
268
  * },
269
- * "SongTitle": {
270
- * "S": "Happy Day"
269
+ * SongTitle: {
270
+ * S: "Happy Day"
271
271
  * }
272
272
  * },
273
- * "ReturnValues": "ALL_NEW",
274
- * "TableName": "Music",
275
- * "UpdateExpression": "SET #Y = :y, #AT = :t"
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
- * "Attributes": {
282
- * "AlbumTitle": {
283
- * "S": "Louder Than Ever"
281
+ * Attributes: {
282
+ * AlbumTitle: {
283
+ * S: "Louder Than Ever"
284
284
  * },
285
- * "Artist": {
286
- * "S": "Acme Band"
285
+ * Artist: {
286
+ * S: "Acme Band"
287
287
  * },
288
- * "SongTitle": {
289
- * "S": "Happy Day"
288
+ * SongTitle: {
289
+ * S: "Happy Day"
290
290
  * },
291
- * "Year": {
292
- * "N": "2015"
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.774.0",
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",
@@ -20,44 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-endpoint-discovery": "3.774.0",
26
- "@aws-sdk/middleware-host-header": "3.774.0",
27
- "@aws-sdk/middleware-logger": "3.734.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
29
- "@aws-sdk/middleware-user-agent": "3.774.0",
30
- "@aws-sdk/region-config-resolver": "3.734.0",
31
- "@aws-sdk/types": "3.734.0",
32
- "@aws-sdk/util-endpoints": "3.743.0",
33
- "@aws-sdk/util-user-agent-browser": "3.734.0",
34
- "@aws-sdk/util-user-agent-node": "3.774.0",
35
- "@smithy/config-resolver": "^4.0.1",
36
- "@smithy/core": "^3.1.5",
37
- "@smithy/fetch-http-handler": "^5.0.1",
38
- "@smithy/hash-node": "^4.0.1",
39
- "@smithy/invalid-dependency": "^4.0.1",
40
- "@smithy/middleware-content-length": "^4.0.1",
41
- "@smithy/middleware-endpoint": "^4.0.6",
42
- "@smithy/middleware-retry": "^4.0.7",
43
- "@smithy/middleware-serde": "^4.0.2",
44
- "@smithy/middleware-stack": "^4.0.1",
45
- "@smithy/node-config-provider": "^4.0.1",
46
- "@smithy/node-http-handler": "^4.0.3",
47
- "@smithy/protocol-http": "^5.0.1",
48
- "@smithy/smithy-client": "^4.1.6",
49
- "@smithy/types": "^4.1.0",
50
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
+ "@aws-sdk/middleware-endpoint-discovery": "3.775.0",
26
+ "@aws-sdk/middleware-host-header": "3.775.0",
27
+ "@aws-sdk/middleware-logger": "3.775.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
29
+ "@aws-sdk/middleware-user-agent": "3.775.0",
30
+ "@aws-sdk/region-config-resolver": "3.775.0",
31
+ "@aws-sdk/types": "3.775.0",
32
+ "@aws-sdk/util-endpoints": "3.775.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
34
+ "@aws-sdk/util-user-agent-node": "3.775.0",
35
+ "@smithy/config-resolver": "^4.1.0",
36
+ "@smithy/core": "^3.2.0",
37
+ "@smithy/fetch-http-handler": "^5.0.2",
38
+ "@smithy/hash-node": "^4.0.2",
39
+ "@smithy/invalid-dependency": "^4.0.2",
40
+ "@smithy/middleware-content-length": "^4.0.2",
41
+ "@smithy/middleware-endpoint": "^4.1.0",
42
+ "@smithy/middleware-retry": "^4.1.0",
43
+ "@smithy/middleware-serde": "^4.0.3",
44
+ "@smithy/middleware-stack": "^4.0.2",
45
+ "@smithy/node-config-provider": "^4.0.2",
46
+ "@smithy/node-http-handler": "^4.0.4",
47
+ "@smithy/protocol-http": "^5.1.0",
48
+ "@smithy/smithy-client": "^4.2.0",
49
+ "@smithy/types": "^4.2.0",
50
+ "@smithy/url-parser": "^4.0.2",
51
51
  "@smithy/util-base64": "^4.0.0",
52
52
  "@smithy/util-body-length-browser": "^4.0.0",
53
53
  "@smithy/util-body-length-node": "^4.0.0",
54
- "@smithy/util-defaults-mode-browser": "^4.0.7",
55
- "@smithy/util-defaults-mode-node": "^4.0.7",
56
- "@smithy/util-endpoints": "^3.0.1",
57
- "@smithy/util-middleware": "^4.0.1",
58
- "@smithy/util-retry": "^4.0.1",
54
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
55
+ "@smithy/util-defaults-mode-node": "^4.0.8",
56
+ "@smithy/util-endpoints": "^3.0.2",
57
+ "@smithy/util-middleware": "^4.0.2",
58
+ "@smithy/util-retry": "^4.0.2",
59
59
  "@smithy/util-utf8": "^4.0.0",
60
- "@smithy/util-waiter": "^4.0.2",
60
+ "@smithy/util-waiter": "^4.0.3",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"