@aws-sdk/client-dynamodb 3.529.1 → 3.535.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 (121) hide show
  1. package/dist-types/DynamoDB.d.ts +9 -1
  2. package/dist-types/DynamoDBClient.d.ts +1 -1
  3. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +10 -9
  4. package/dist-types/commands/BatchGetItemCommand.d.ts +10 -9
  5. package/dist-types/commands/BatchWriteItemCommand.d.ts +10 -9
  6. package/dist-types/commands/CreateBackupCommand.d.ts +2 -1
  7. package/dist-types/commands/CreateGlobalTableCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateTableCommand.d.ts +2 -1
  9. package/dist-types/commands/DeleteBackupCommand.d.ts +2 -1
  10. package/dist-types/commands/DeleteItemCommand.d.ts +10 -9
  11. package/dist-types/commands/DeleteTableCommand.d.ts +2 -1
  12. package/dist-types/commands/DescribeBackupCommand.d.ts +2 -1
  13. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
  14. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +2 -1
  15. package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -1
  16. package/dist-types/commands/DescribeExportCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeImportCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -1
  22. package/dist-types/commands/DescribeTableCommand.d.ts +2 -1
  23. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -1
  24. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +2 -1
  25. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -1
  26. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -1
  27. package/dist-types/commands/ExecuteStatementCommand.d.ts +10 -9
  28. package/dist-types/commands/ExecuteTransactionCommand.d.ts +10 -9
  29. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +2 -1
  30. package/dist-types/commands/GetItemCommand.d.ts +10 -9
  31. package/dist-types/commands/ImportTableCommand.d.ts +2 -1
  32. package/dist-types/commands/ListBackupsCommand.d.ts +2 -1
  33. package/dist-types/commands/ListContributorInsightsCommand.d.ts +2 -1
  34. package/dist-types/commands/ListExportsCommand.d.ts +2 -1
  35. package/dist-types/commands/ListGlobalTablesCommand.d.ts +2 -1
  36. package/dist-types/commands/ListImportsCommand.d.ts +2 -1
  37. package/dist-types/commands/ListTablesCommand.d.ts +2 -1
  38. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +2 -1
  39. package/dist-types/commands/PutItemCommand.d.ts +10 -9
  40. package/dist-types/commands/QueryCommand.d.ts +10 -9
  41. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +2 -1
  42. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +2 -1
  43. package/dist-types/commands/ScanCommand.d.ts +10 -9
  44. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  45. package/dist-types/commands/TransactGetItemsCommand.d.ts +10 -9
  46. package/dist-types/commands/TransactWriteItemsCommand.d.ts +10 -9
  47. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  48. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -1
  49. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -1
  50. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +2 -1
  51. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -1
  52. package/dist-types/commands/UpdateItemCommand.d.ts +10 -9
  53. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +2 -1
  54. package/dist-types/commands/UpdateTableCommand.d.ts +2 -1
  55. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -1
  56. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +2 -1
  57. package/dist-types/models/models_0.d.ts +910 -910
  58. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  59. package/dist-types/runtimeConfig.d.ts +2 -2
  60. package/dist-types/runtimeConfig.native.d.ts +2 -2
  61. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  62. package/dist-types/ts3.4/DynamoDB.d.ts +8 -0
  63. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +9 -0
  64. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +9 -0
  65. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +9 -0
  66. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +9 -0
  67. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +9 -0
  68. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +9 -0
  69. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +9 -0
  70. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +9 -0
  71. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +9 -0
  72. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +9 -0
  73. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +9 -0
  74. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +9 -0
  75. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +9 -0
  76. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +9 -0
  77. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +9 -0
  78. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +9 -0
  79. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +9 -0
  80. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +9 -0
  81. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +9 -0
  82. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +9 -0
  83. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +9 -0
  84. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +9 -0
  85. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +9 -0
  86. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +9 -0
  87. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +9 -0
  88. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +9 -0
  89. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +9 -0
  90. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +7 -0
  91. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +9 -0
  92. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +9 -0
  93. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +9 -0
  94. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +9 -0
  95. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +9 -0
  96. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +9 -0
  97. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +9 -0
  98. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +9 -0
  99. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +7 -0
  100. package/dist-types/ts3.4/commands/QueryCommand.d.ts +7 -0
  101. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +9 -0
  102. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +9 -0
  103. package/dist-types/ts3.4/commands/ScanCommand.d.ts +7 -0
  104. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  105. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +9 -0
  106. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +9 -0
  107. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  108. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +9 -0
  109. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +9 -0
  110. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +9 -0
  111. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +9 -0
  112. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +9 -0
  113. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +9 -0
  114. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +9 -0
  115. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +9 -0
  116. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +9 -0
  117. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  118. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  119. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  120. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
  121. package/package.json +42 -42
@@ -22,10 +22,10 @@ export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBea
22
22
  }
23
23
  declare const UpdateItemCommand_base: {
24
24
  new (input: UpdateItemCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateItemCommandInput, UpdateItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateItemCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateItemCommandInput, UpdateItemCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Edits an existing item's attributes, or adds a new item to the table if it does not
30
30
  * already exist. You can put, delete, or add attribute values. You can also perform a
31
31
  * conditional update on an existing item (insert a new attribute name-value pair if it
@@ -45,7 +45,7 @@ declare const UpdateItemCommand_base: {
45
45
  * "<keys>": { // AttributeValue Union: only one key present
46
46
  * S: "STRING_VALUE",
47
47
  * N: "STRING_VALUE",
48
- * B: "BLOB_VALUE",
48
+ * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
49
49
  * SS: [ // StringSetAttributeValue
50
50
  * "STRING_VALUE",
51
51
  * ],
@@ -53,13 +53,13 @@ declare const UpdateItemCommand_base: {
53
53
  * "STRING_VALUE",
54
54
  * ],
55
55
  * BS: [ // BinarySetAttributeValue
56
- * "BLOB_VALUE",
56
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
57
57
  * ],
58
58
  * M: { // MapAttributeValue
59
59
  * "<keys>": {// Union: only one key present
60
60
  * S: "STRING_VALUE",
61
61
  * N: "STRING_VALUE",
62
- * B: "BLOB_VALUE",
62
+ * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
63
63
  * SS: [
64
64
  * "STRING_VALUE",
65
65
  * ],
@@ -67,7 +67,7 @@ declare const UpdateItemCommand_base: {
67
67
  * "STRING_VALUE",
68
68
  * ],
69
69
  * BS: [
70
- * "BLOB_VALUE",
70
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
71
71
  * ],
72
72
  * M: {
73
73
  * "<keys>": "<AttributeValue>",
@@ -123,7 +123,7 @@ declare const UpdateItemCommand_base: {
123
123
  * // "<keys>": { // AttributeValue Union: only one key present
124
124
  * // S: "STRING_VALUE",
125
125
  * // N: "STRING_VALUE",
126
- * // B: "BLOB_VALUE",
126
+ * // B: new Uint8Array(),
127
127
  * // SS: [ // StringSetAttributeValue
128
128
  * // "STRING_VALUE",
129
129
  * // ],
@@ -131,13 +131,13 @@ declare const UpdateItemCommand_base: {
131
131
  * // "STRING_VALUE",
132
132
  * // ],
133
133
  * // BS: [ // BinarySetAttributeValue
134
- * // "BLOB_VALUE",
134
+ * // new Uint8Array(),
135
135
  * // ],
136
136
  * // M: { // MapAttributeValue
137
137
  * // "<keys>": {// Union: only one key present
138
138
  * // S: "STRING_VALUE",
139
139
  * // N: "STRING_VALUE",
140
- * // B: "BLOB_VALUE",
140
+ * // B: new Uint8Array(),
141
141
  * // SS: [
142
142
  * // "STRING_VALUE",
143
143
  * // ],
@@ -145,7 +145,7 @@ declare const UpdateItemCommand_base: {
145
145
  * // "STRING_VALUE",
146
146
  * // ],
147
147
  * // BS: [
148
- * // "BLOB_VALUE",
148
+ * // new Uint8Array(),
149
149
  * // ],
150
150
  * // M: {
151
151
  * // "<keys>": "<AttributeValue>",
@@ -241,6 +241,7 @@ declare const UpdateItemCommand_base: {
241
241
  * @throws {@link DynamoDBServiceException}
242
242
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
243
243
  *
244
+ * @public
244
245
  * @example To update an item in a table
245
246
  * ```javascript
246
247
  * // 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.
@@ -22,10 +22,10 @@ export interface UpdateKinesisStreamingDestinationCommandOutput extends UpdateKi
22
22
  }
23
23
  declare const UpdateKinesisStreamingDestinationCommand_base: {
24
24
  new (input: UpdateKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateKinesisStreamingDestinationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateKinesisStreamingDestinationCommandInput, UpdateKinesisStreamingDestinationCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>The command to update the Kinesis stream destination.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -92,6 +92,7 @@ declare const UpdateKinesisStreamingDestinationCommand_base: {
92
92
  * @throws {@link DynamoDBServiceException}
93
93
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
94
94
  *
95
+ * @public
95
96
  */
96
97
  export declare class UpdateKinesisStreamingDestinationCommand extends UpdateKinesisStreamingDestinationCommand_base {
97
98
  }
@@ -22,10 +22,10 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
22
22
  }
23
23
  declare const UpdateTableCommand_base: {
24
24
  new (input: UpdateTableCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTableCommandInput, UpdateTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateTableCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTableCommandInput, UpdateTableCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB
30
30
  * Streams settings for a given table.</p>
31
31
  * <important>
@@ -340,6 +340,7 @@ declare const UpdateTableCommand_base: {
340
340
  * @throws {@link DynamoDBServiceException}
341
341
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
342
342
  *
343
+ * @public
343
344
  * @example To modify a table's provisioned throughput
344
345
  * ```javascript
345
346
  * // This example increases the provisioned read and write capacity on the Music table.
@@ -22,10 +22,10 @@ export interface UpdateTableReplicaAutoScalingCommandOutput extends UpdateTableR
22
22
  }
23
23
  declare const UpdateTableReplicaAutoScalingCommand_base: {
24
24
  new (input: UpdateTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateTableReplicaAutoScalingCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTableReplicaAutoScalingCommandInput, UpdateTableReplicaAutoScalingCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Updates auto scaling settings on your global tables at once.</p>
30
30
  * <important>
31
31
  * <p>This operation only applies to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/globaltables.V2.html">Version 2019.11.21 (Current)</a>
@@ -216,6 +216,7 @@ declare const UpdateTableReplicaAutoScalingCommand_base: {
216
216
  * @throws {@link DynamoDBServiceException}
217
217
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
218
218
  *
219
+ * @public
219
220
  */
220
221
  export declare class UpdateTableReplicaAutoScalingCommand extends UpdateTableReplicaAutoScalingCommand_base {
221
222
  }
@@ -22,10 +22,10 @@ export interface UpdateTimeToLiveCommandOutput extends UpdateTimeToLiveOutput, _
22
22
  }
23
23
  declare const UpdateTimeToLiveCommand_base: {
24
24
  new (input: UpdateTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateTimeToLiveCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateTimeToLiveCommandInput, UpdateTimeToLiveCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>The <code>UpdateTimeToLive</code> method enables or disables Time to Live (TTL) for
30
30
  * the specified table. A successful <code>UpdateTimeToLive</code> call returns the current
31
31
  * <code>TimeToLiveSpecification</code>. It can take up to one hour for the change to
@@ -114,6 +114,7 @@ declare const UpdateTimeToLiveCommand_base: {
114
114
  * @throws {@link DynamoDBServiceException}
115
115
  * <p>Base exception class for all service exceptions from DynamoDB service.</p>
116
116
  *
117
+ * @public
117
118
  */
118
119
  export declare class UpdateTimeToLiveCommand extends UpdateTimeToLiveCommand_base {
119
120
  }