@aws-sdk/client-dynamodb 3.30.0 → 3.34.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 (266) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/cjs/DynamoDBClient.js +14 -14
  3. package/dist/cjs/DynamoDBClient.js.map +1 -1
  4. package/dist/cjs/commands/BatchExecuteStatementCommand.js +3 -3
  5. package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +1 -1
  6. package/dist/cjs/commands/BatchGetItemCommand.js +3 -3
  7. package/dist/cjs/commands/BatchGetItemCommand.js.map +1 -1
  8. package/dist/cjs/commands/BatchWriteItemCommand.js +3 -3
  9. package/dist/cjs/commands/BatchWriteItemCommand.js.map +1 -1
  10. package/dist/cjs/commands/CreateBackupCommand.js +3 -3
  11. package/dist/cjs/commands/CreateBackupCommand.js.map +1 -1
  12. package/dist/cjs/commands/CreateGlobalTableCommand.js +3 -3
  13. package/dist/cjs/commands/CreateGlobalTableCommand.js.map +1 -1
  14. package/dist/cjs/commands/CreateTableCommand.js +3 -3
  15. package/dist/cjs/commands/CreateTableCommand.js.map +1 -1
  16. package/dist/cjs/commands/DeleteBackupCommand.js +3 -3
  17. package/dist/cjs/commands/DeleteBackupCommand.js.map +1 -1
  18. package/dist/cjs/commands/DeleteItemCommand.js +3 -3
  19. package/dist/cjs/commands/DeleteItemCommand.js.map +1 -1
  20. package/dist/cjs/commands/DeleteTableCommand.js +3 -3
  21. package/dist/cjs/commands/DeleteTableCommand.js.map +1 -1
  22. package/dist/cjs/commands/DescribeBackupCommand.js +3 -3
  23. package/dist/cjs/commands/DescribeBackupCommand.js.map +1 -1
  24. package/dist/cjs/commands/DescribeContinuousBackupsCommand.js +3 -3
  25. package/dist/cjs/commands/DescribeContinuousBackupsCommand.js.map +1 -1
  26. package/dist/cjs/commands/DescribeContributorInsightsCommand.js +3 -3
  27. package/dist/cjs/commands/DescribeContributorInsightsCommand.js.map +1 -1
  28. package/dist/cjs/commands/DescribeEndpointsCommand.js +3 -3
  29. package/dist/cjs/commands/DescribeEndpointsCommand.js.map +1 -1
  30. package/dist/cjs/commands/DescribeExportCommand.js +3 -3
  31. package/dist/cjs/commands/DescribeExportCommand.js.map +1 -1
  32. package/dist/cjs/commands/DescribeGlobalTableCommand.js +3 -3
  33. package/dist/cjs/commands/DescribeGlobalTableCommand.js.map +1 -1
  34. package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js +3 -3
  35. package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js.map +1 -1
  36. package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
  37. package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -1
  38. package/dist/cjs/commands/DescribeLimitsCommand.js +3 -3
  39. package/dist/cjs/commands/DescribeLimitsCommand.js.map +1 -1
  40. package/dist/cjs/commands/DescribeTableCommand.js +3 -3
  41. package/dist/cjs/commands/DescribeTableCommand.js.map +1 -1
  42. package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
  43. package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -1
  44. package/dist/cjs/commands/DescribeTimeToLiveCommand.js +3 -3
  45. package/dist/cjs/commands/DescribeTimeToLiveCommand.js.map +1 -1
  46. package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
  47. package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -1
  48. package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
  49. package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -1
  50. package/dist/cjs/commands/ExecuteStatementCommand.js +3 -3
  51. package/dist/cjs/commands/ExecuteStatementCommand.js.map +1 -1
  52. package/dist/cjs/commands/ExecuteTransactionCommand.js +3 -3
  53. package/dist/cjs/commands/ExecuteTransactionCommand.js.map +1 -1
  54. package/dist/cjs/commands/ExportTableToPointInTimeCommand.js +3 -3
  55. package/dist/cjs/commands/ExportTableToPointInTimeCommand.js.map +1 -1
  56. package/dist/cjs/commands/GetItemCommand.js +3 -3
  57. package/dist/cjs/commands/GetItemCommand.js.map +1 -1
  58. package/dist/cjs/commands/ListBackupsCommand.js +3 -3
  59. package/dist/cjs/commands/ListBackupsCommand.js.map +1 -1
  60. package/dist/cjs/commands/ListContributorInsightsCommand.js +3 -3
  61. package/dist/cjs/commands/ListContributorInsightsCommand.js.map +1 -1
  62. package/dist/cjs/commands/ListExportsCommand.js +3 -3
  63. package/dist/cjs/commands/ListExportsCommand.js.map +1 -1
  64. package/dist/cjs/commands/ListGlobalTablesCommand.js +3 -3
  65. package/dist/cjs/commands/ListGlobalTablesCommand.js.map +1 -1
  66. package/dist/cjs/commands/ListTablesCommand.js +3 -3
  67. package/dist/cjs/commands/ListTablesCommand.js.map +1 -1
  68. package/dist/cjs/commands/ListTagsOfResourceCommand.js +3 -3
  69. package/dist/cjs/commands/ListTagsOfResourceCommand.js.map +1 -1
  70. package/dist/cjs/commands/PutItemCommand.js +3 -3
  71. package/dist/cjs/commands/PutItemCommand.js.map +1 -1
  72. package/dist/cjs/commands/QueryCommand.js +3 -3
  73. package/dist/cjs/commands/QueryCommand.js.map +1 -1
  74. package/dist/cjs/commands/RestoreTableFromBackupCommand.js +3 -3
  75. package/dist/cjs/commands/RestoreTableFromBackupCommand.js.map +1 -1
  76. package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js +3 -3
  77. package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js.map +1 -1
  78. package/dist/cjs/commands/ScanCommand.js +3 -3
  79. package/dist/cjs/commands/ScanCommand.js.map +1 -1
  80. package/dist/cjs/commands/TagResourceCommand.js +3 -3
  81. package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
  82. package/dist/cjs/commands/TransactGetItemsCommand.js +3 -3
  83. package/dist/cjs/commands/TransactGetItemsCommand.js.map +1 -1
  84. package/dist/cjs/commands/TransactWriteItemsCommand.js +3 -3
  85. package/dist/cjs/commands/TransactWriteItemsCommand.js.map +1 -1
  86. package/dist/cjs/commands/UntagResourceCommand.js +3 -3
  87. package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
  88. package/dist/cjs/commands/UpdateContinuousBackupsCommand.js +3 -3
  89. package/dist/cjs/commands/UpdateContinuousBackupsCommand.js.map +1 -1
  90. package/dist/cjs/commands/UpdateContributorInsightsCommand.js +3 -3
  91. package/dist/cjs/commands/UpdateContributorInsightsCommand.js.map +1 -1
  92. package/dist/cjs/commands/UpdateGlobalTableCommand.js +3 -3
  93. package/dist/cjs/commands/UpdateGlobalTableCommand.js.map +1 -1
  94. package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js +3 -3
  95. package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js.map +1 -1
  96. package/dist/cjs/commands/UpdateItemCommand.js +3 -3
  97. package/dist/cjs/commands/UpdateItemCommand.js.map +1 -1
  98. package/dist/cjs/commands/UpdateTableCommand.js +3 -3
  99. package/dist/cjs/commands/UpdateTableCommand.js.map +1 -1
  100. package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
  101. package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -1
  102. package/dist/cjs/commands/UpdateTimeToLiveCommand.js +3 -3
  103. package/dist/cjs/commands/UpdateTimeToLiveCommand.js.map +1 -1
  104. package/dist/cjs/endpoints.js +1 -1
  105. package/dist/cjs/endpoints.js.map +1 -1
  106. package/dist/cjs/index.js +61 -61
  107. package/dist/cjs/index.js.map +1 -1
  108. package/dist/cjs/models/index.js +1 -1
  109. package/dist/cjs/models/index.js.map +1 -1
  110. package/dist/cjs/package.json +41 -41
  111. package/dist/cjs/protocols/Aws_json1_0.js +252 -250
  112. package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
  113. package/dist/cjs/runtimeConfig.browser.js +4 -4
  114. package/dist/cjs/runtimeConfig.browser.js.map +1 -1
  115. package/dist/cjs/runtimeConfig.js +9 -9
  116. package/dist/cjs/runtimeConfig.js.map +1 -1
  117. package/dist/cjs/runtimeConfig.native.js +1 -1
  118. package/dist/cjs/runtimeConfig.native.js.map +1 -1
  119. package/dist/cjs/waiters/waitForTableExists.js +3 -3
  120. package/dist/cjs/waiters/waitForTableExists.js.map +1 -1
  121. package/dist/cjs/waiters/waitForTableNotExists.js +3 -3
  122. package/dist/cjs/waiters/waitForTableNotExists.js.map +1 -1
  123. package/dist/es/DynamoDB.js +1 -22
  124. package/dist/es/DynamoDB.js.map +1 -1
  125. package/dist/es/DynamoDBClient.js +1 -27
  126. package/dist/es/DynamoDBClient.js.map +1 -1
  127. package/dist/es/commands/BatchExecuteStatementCommand.js +2 -29
  128. package/dist/es/commands/BatchExecuteStatementCommand.js.map +1 -1
  129. package/dist/es/commands/BatchGetItemCommand.js +2 -72
  130. package/dist/es/commands/BatchGetItemCommand.js.map +1 -1
  131. package/dist/es/commands/BatchWriteItemCommand.js +2 -101
  132. package/dist/es/commands/BatchWriteItemCommand.js.map +1 -1
  133. package/dist/es/commands/CreateBackupCommand.js +2 -56
  134. package/dist/es/commands/CreateBackupCommand.js.map +1 -1
  135. package/dist/es/commands/CreateGlobalTableCommand.js +2 -94
  136. package/dist/es/commands/CreateGlobalTableCommand.js.map +1 -1
  137. package/dist/es/commands/CreateTableCommand.js +2 -39
  138. package/dist/es/commands/CreateTableCommand.js.map +1 -1
  139. package/dist/es/commands/DeleteBackupCommand.js +2 -28
  140. package/dist/es/commands/DeleteBackupCommand.js.map +1 -1
  141. package/dist/es/commands/DeleteItemCommand.js +2 -32
  142. package/dist/es/commands/DeleteItemCommand.js.map +1 -1
  143. package/dist/es/commands/DeleteTableCommand.js +2 -43
  144. package/dist/es/commands/DeleteTableCommand.js.map +1 -1
  145. package/dist/es/commands/DescribeBackupCommand.js +2 -28
  146. package/dist/es/commands/DescribeBackupCommand.js.map +1 -1
  147. package/dist/es/commands/DescribeContinuousBackupsCommand.js +2 -37
  148. package/dist/es/commands/DescribeContinuousBackupsCommand.js.map +1 -1
  149. package/dist/es/commands/DescribeContributorInsightsCommand.js +2 -27
  150. package/dist/es/commands/DescribeContributorInsightsCommand.js.map +1 -1
  151. package/dist/es/commands/DescribeEndpointsCommand.js +2 -27
  152. package/dist/es/commands/DescribeEndpointsCommand.js.map +1 -1
  153. package/dist/es/commands/DescribeExportCommand.js +2 -27
  154. package/dist/es/commands/DescribeExportCommand.js.map +1 -1
  155. package/dist/es/commands/DescribeGlobalTableCommand.js +2 -31
  156. package/dist/es/commands/DescribeGlobalTableCommand.js.map +1 -1
  157. package/dist/es/commands/DescribeGlobalTableSettingsCommand.js +2 -30
  158. package/dist/es/commands/DescribeGlobalTableSettingsCommand.js.map +1 -1
  159. package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -27
  160. package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -1
  161. package/dist/es/commands/DescribeLimitsCommand.js +2 -90
  162. package/dist/es/commands/DescribeLimitsCommand.js.map +1 -1
  163. package/dist/es/commands/DescribeTableCommand.js +2 -33
  164. package/dist/es/commands/DescribeTableCommand.js.map +1 -1
  165. package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -30
  166. package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -1
  167. package/dist/es/commands/DescribeTimeToLiveCommand.js +2 -27
  168. package/dist/es/commands/DescribeTimeToLiveCommand.js.map +1 -1
  169. package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js +2 -28
  170. package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -1
  171. package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js +2 -30
  172. package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -1
  173. package/dist/es/commands/ExecuteStatementCommand.js +2 -29
  174. package/dist/es/commands/ExecuteStatementCommand.js.map +1 -1
  175. package/dist/es/commands/ExecuteTransactionCommand.js +2 -29
  176. package/dist/es/commands/ExecuteTransactionCommand.js.map +1 -1
  177. package/dist/es/commands/ExportTableToPointInTimeCommand.js +2 -29
  178. package/dist/es/commands/ExportTableToPointInTimeCommand.js.map +1 -1
  179. package/dist/es/commands/GetItemCommand.js +2 -33
  180. package/dist/es/commands/GetItemCommand.js.map +1 -1
  181. package/dist/es/commands/ListBackupsCommand.js +2 -33
  182. package/dist/es/commands/ListBackupsCommand.js.map +1 -1
  183. package/dist/es/commands/ListContributorInsightsCommand.js +2 -27
  184. package/dist/es/commands/ListContributorInsightsCommand.js.map +1 -1
  185. package/dist/es/commands/ListExportsCommand.js +2 -27
  186. package/dist/es/commands/ListExportsCommand.js.map +1 -1
  187. package/dist/es/commands/ListGlobalTablesCommand.js +2 -30
  188. package/dist/es/commands/ListGlobalTablesCommand.js.map +1 -1
  189. package/dist/es/commands/ListTablesCommand.js +2 -29
  190. package/dist/es/commands/ListTablesCommand.js.map +1 -1
  191. package/dist/es/commands/ListTagsOfResourceCommand.js +2 -30
  192. package/dist/es/commands/ListTagsOfResourceCommand.js.map +1 -1
  193. package/dist/es/commands/PutItemCommand.js +2 -94
  194. package/dist/es/commands/PutItemCommand.js.map +1 -1
  195. package/dist/es/commands/QueryCommand.js +2 -82
  196. package/dist/es/commands/QueryCommand.js.map +1 -1
  197. package/dist/es/commands/RestoreTableFromBackupCommand.js +2 -51
  198. package/dist/es/commands/RestoreTableFromBackupCommand.js.map +1 -1
  199. package/dist/es/commands/RestoreTableToPointInTimeCommand.js +2 -82
  200. package/dist/es/commands/RestoreTableToPointInTimeCommand.js.map +1 -1
  201. package/dist/es/commands/ScanCommand.js +2 -51
  202. package/dist/es/commands/ScanCommand.js.map +1 -1
  203. package/dist/es/commands/TagResourceCommand.js +2 -33
  204. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  205. package/dist/es/commands/TransactGetItemsCommand.js +2 -52
  206. package/dist/es/commands/TransactGetItemsCommand.js.map +1 -1
  207. package/dist/es/commands/TransactWriteItemsCommand.js +2 -100
  208. package/dist/es/commands/TransactWriteItemsCommand.js.map +1 -1
  209. package/dist/es/commands/UntagResourceCommand.js +2 -31
  210. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  211. package/dist/es/commands/UpdateContinuousBackupsCommand.js +2 -38
  212. package/dist/es/commands/UpdateContinuousBackupsCommand.js.map +1 -1
  213. package/dist/es/commands/UpdateContributorInsightsCommand.js +2 -27
  214. package/dist/es/commands/UpdateContributorInsightsCommand.js.map +1 -1
  215. package/dist/es/commands/UpdateGlobalTableCommand.js +2 -55
  216. package/dist/es/commands/UpdateGlobalTableCommand.js.map +1 -1
  217. package/dist/es/commands/UpdateGlobalTableSettingsCommand.js +2 -27
  218. package/dist/es/commands/UpdateGlobalTableSettingsCommand.js.map +1 -1
  219. package/dist/es/commands/UpdateItemCommand.js +2 -29
  220. package/dist/es/commands/UpdateItemCommand.js.map +1 -1
  221. package/dist/es/commands/UpdateTableCommand.js +2 -49
  222. package/dist/es/commands/UpdateTableCommand.js.map +1 -1
  223. package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -30
  224. package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -1
  225. package/dist/es/commands/UpdateTimeToLiveCommand.js +2 -51
  226. package/dist/es/commands/UpdateTimeToLiveCommand.js.map +1 -1
  227. package/dist/es/endpoints.js +1 -1
  228. package/dist/es/endpoints.js.map +1 -1
  229. package/dist/es/models/models_0.js +0 -660
  230. package/dist/es/models/models_0.js.map +1 -1
  231. package/dist/es/package.json +41 -41
  232. package/dist/es/pagination/ListContributorInsightsPaginator.js +16 -28
  233. package/dist/es/pagination/ListContributorInsightsPaginator.js.map +1 -1
  234. package/dist/es/pagination/ListExportsPaginator.js +16 -28
  235. package/dist/es/pagination/ListExportsPaginator.js.map +1 -1
  236. package/dist/es/pagination/ListTablesPaginator.js +16 -28
  237. package/dist/es/pagination/ListTablesPaginator.js.map +1 -1
  238. package/dist/es/pagination/QueryPaginator.js +16 -28
  239. package/dist/es/pagination/QueryPaginator.js.map +1 -1
  240. package/dist/es/pagination/ScanPaginator.js +16 -28
  241. package/dist/es/pagination/ScanPaginator.js.map +1 -1
  242. package/dist/es/protocols/Aws_json1_0.js +1306 -1309
  243. package/dist/es/protocols/Aws_json1_0.js.map +1 -1
  244. package/dist/es/runtimeConfig.browser.js +0 -3
  245. package/dist/es/runtimeConfig.browser.js.map +1 -1
  246. package/dist/es/runtimeConfig.js +0 -3
  247. package/dist/es/runtimeConfig.js.map +1 -1
  248. package/dist/es/runtimeConfig.native.js +0 -3
  249. package/dist/es/runtimeConfig.native.js.map +1 -1
  250. package/dist/es/runtimeConfig.shared.js +0 -3
  251. package/dist/es/runtimeConfig.shared.js.map +1 -1
  252. package/dist/es/waiters/waitForTableExists.js +9 -18
  253. package/dist/es/waiters/waitForTableExists.js.map +1 -1
  254. package/dist/es/waiters/waitForTableNotExists.js +8 -17
  255. package/dist/es/waiters/waitForTableNotExists.js.map +1 -1
  256. package/dist/types/runtimeConfig.browser.d.ts +1 -0
  257. package/dist/types/runtimeConfig.d.ts +1 -0
  258. package/dist/types/runtimeConfig.native.d.ts +1 -0
  259. package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
  260. package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
  261. package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
  262. package/package.json +41 -41
  263. package/protocols/Aws_json1_0.ts +32 -26
  264. package/tsconfig.es.json +0 -2
  265. package/tsconfig.json +3 -5
  266. package/tsconfig.types.json +8 -0
@@ -3,40 +3,13 @@ import { ListTablesInput, ListTablesOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0ListTablesCommand, serializeAws_json1_0ListTablesCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns an array of table names associated with the current account and endpoint. The output
8
- * from <code>ListTables</code> is paginated, with each page returning a maximum of 100 table
9
- * names.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { DynamoDBClient, ListTablesCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
14
- * // const { DynamoDBClient, ListTablesCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
15
- * const client = new DynamoDBClient(config);
16
- * const command = new ListTablesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListTablesCommandInput} for command's `input` shape.
21
- * @see {@link ListTablesCommandOutput} for command's `response` shape.
22
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
- var ListTablesCommand = /** @class */ (function (_super) {
6
+ var ListTablesCommand = (function (_super) {
26
7
  __extends(ListTablesCommand, _super);
27
- // Start section: command_properties
28
- // End section: command_properties
29
8
  function ListTablesCommand(input) {
30
- var _this =
31
- // Start section: command_constructor
32
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
33
10
  _this.input = input;
34
11
  return _this;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  ListTablesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
41
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ListTablesCommand.js","sourceRoot":"","sources":["../../../commands/ListTablesCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;GAkBG;AACH;IAAuC,qCAItC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2BAAqB,KAA6B;Q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UAAkB,KAA6B,EAAE,OAAuB;QACtE,OAAO,qCAAqC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAEO,uCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,uCAAuC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAIH,wBAAC;AAAD,CAAC,AAtDD,CAAuC,QAAQ,GAsD9C"}
@@ -3,41 +3,13 @@ import { ListTagsOfResourceInput, ListTagsOfResourceOutput } from "../models/mod
3
3
  import { deserializeAws_json1_0ListTagsOfResourceCommand, serializeAws_json1_0ListTagsOfResourceCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>List all tags on an Amazon DynamoDB resource. You can call ListTagsOfResource up to 10 times per second, per account.</p>
8
- * <p>For an overview on tagging DynamoDB resources, see
9
- * <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
10
- * in the <i>Amazon DynamoDB Developer Guide</i>.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { DynamoDBClient, ListTagsOfResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
15
- * // const { DynamoDBClient, ListTagsOfResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
16
- * const client = new DynamoDBClient(config);
17
- * const command = new ListTagsOfResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListTagsOfResourceCommandInput} for command's `input` shape.
22
- * @see {@link ListTagsOfResourceCommandOutput} for command's `response` shape.
23
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
- var ListTagsOfResourceCommand = /** @class */ (function (_super) {
6
+ var ListTagsOfResourceCommand = (function (_super) {
27
7
  __extends(ListTagsOfResourceCommand, _super);
28
- // Start section: command_properties
29
- // End section: command_properties
30
8
  function ListTagsOfResourceCommand(input) {
31
- var _this =
32
- // Start section: command_constructor
33
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
34
10
  _this.input = input;
35
11
  return _this;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  ListTagsOfResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
42
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ListTagsOfResourceCommand.js","sourceRoot":"","sources":["../../../commands/ListTagsOfResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAA+C,6CAI9C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,mCAAqB,KAAqC;QAA1D;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAgC;;QAGxD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAm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I1D,CAAC;IAKD,qDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,2BAA2B,CAAC;QAChD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,wBAAwB,CAAC,kBAAkB;SACtE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
@@ -3,105 +3,13 @@ import { PutItemInput, PutItemOutput } from "../models/models_0";
3
3
  import { deserializeAws_json1_0PutItemCommand, serializeAws_json1_0PutItemCommand } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a new item, or replaces an old item with a new item. If an item that has the same primary key as the new item already exists in the specified table, the new item completely replaces the existing item. You can perform a conditional put operation (add a new item if one with the specified primary key doesn't exist), or replace an existing item if it has certain attribute values. You can return the item's attribute values in the same operation, using the <code>ReturnValues</code> parameter.</p>
8
- * <important>
9
- * <p>This topic provides general information about the <code>PutItem</code> API.</p>
10
- * <p>For information on how to call the <code>PutItem</code> API using the AWS SDK in specific languages, see the following:</p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <a href="http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem"> PutItem in the AWS Command Line Interface</a>
15
- * </p>
16
- * </li>
17
- * <li>
18
- * <p>
19
- * <a href="http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for .NET</a>
20
- * </p>
21
- * </li>
22
- * <li>
23
- * <p>
24
- * <a href="http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for C++</a>
25
- * </p>
26
- * </li>
27
- * <li>
28
- * <p>
29
- * <a href="http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Go</a>
30
- * </p>
31
- * </li>
32
- * <li>
33
- * <p>
34
- * <a href="http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Java</a>
35
- * </p>
36
- * </li>
37
- * <li>
38
- * <p>
39
- * <a href="http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for JavaScript</a>
40
- * </p>
41
- * </li>
42
- * <li>
43
- * <p>
44
- * <a href="http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for PHP V3</a>
45
- * </p>
46
- * </li>
47
- * <li>
48
- * <p>
49
- * <a href="http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem">
50
- * PutItem in the AWS SDK for Python</a>
51
- * </p>
52
- * </li>
53
- * <li>
54
- * <p>
55
- * <a href="http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem"> PutItem in the AWS SDK for Ruby V2</a>
56
- * </p>
57
- * </li>
58
- * </ul>
59
- * </important>
60
- *
61
- * <p>When you add an item, the primary key attributes are the only required attributes.
62
- * Attribute values cannot be null.</p>
63
- * <p>Empty String and Binary attribute values are allowed. Attribute values of type String and Binary must have a length greater than zero if the attribute is used as a key attribute for a table or index.
64
- * Set type attributes cannot be empty. </p>
65
- * <p>Invalid Requests with empty values will
66
- * be rejected with a <code>ValidationException</code> exception.</p>
67
- * <note>
68
- * <p>To prevent a new item from replacing an existing item, use a conditional expression
69
- * that contains the <code>attribute_not_exists</code> function with the name of the
70
- * attribute being used as the partition key for the table. Since every record must contain
71
- * that attribute, the <code>attribute_not_exists</code> function will only succeed if
72
- * no matching item exists.</p>
73
- * </note>
74
- * <p>For more information about <code>PutItem</code>, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html">Working with Items</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
75
- * @example
76
- * Use a bare-bones client and the command you need to make an API call.
77
- * ```javascript
78
- * import { DynamoDBClient, PutItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
79
- * // const { DynamoDBClient, PutItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
80
- * const client = new DynamoDBClient(config);
81
- * const command = new PutItemCommand(input);
82
- * const response = await client.send(command);
83
- * ```
84
- *
85
- * @see {@link PutItemCommandInput} for command's `input` shape.
86
- * @see {@link PutItemCommandOutput} for command's `response` shape.
87
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
88
- *
89
- */
90
- var PutItemCommand = /** @class */ (function (_super) {
6
+ var PutItemCommand = (function (_super) {
91
7
  __extends(PutItemCommand, _super);
92
- // Start section: command_properties
93
- // End section: command_properties
94
8
  function PutItemCommand(input) {
95
- var _this =
96
- // Start section: command_constructor
97
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
98
10
  _this.input = input;
99
11
  return _this;
100
- // End section: command_constructor
101
12
  }
102
- /**
103
- * @internal
104
- */
105
13
  PutItemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
106
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
107
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"PutItemCommand.js","sourceRoot":"","sources":["../../../commands/PutItemCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,oCAAoC,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAC;AACpH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH;IAAoC,kCAAiF;IACnH,oCAAoC;IACpC,kCAAkC;IAElC,wBAAqB,KAA0B;QAA/C;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAqB;;QAG7C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,0CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,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
  import { deserializeAws_json1_0QueryCommand, serializeAws_json1_0QueryCommand } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>The <code>Query</code> operation finds items based on primary key values.
8
- * You can query any table or secondary index that has a composite primary key (a partition
9
- * key and a sort key).
10
- * </p>
11
- * <p>Use the <code>KeyConditionExpression</code> parameter to provide a specific value
12
- * for the partition key. The <code>Query</code> operation will return all of the items
13
- * from the table or index with that partition key value. You can optionally narrow the
14
- * scope of the <code>Query</code> operation by specifying a sort key value and a
15
- * comparison operator in <code>KeyConditionExpression</code>. To further refine the <code>Query</code> results,
16
- * you can optionally provide a <code>FilterExpression</code>. A <code>FilterExpression</code> determines which items
17
- * within the results should be returned to you. All of the other results are discarded.
18
- * </p>
19
- * <p>
20
- * A <code>Query</code> operation always returns a result set. If no matching items are found,
21
- * the result set will be empty. Queries that do not return results consume the minimum number of
22
- * read capacity units for that type of read operation.
23
- * </p>
24
- * <note>
25
- * <p>
26
- * DynamoDB calculates the number of read capacity units consumed based on item size,
27
- * not on the amount of data that is returned to an application. The number of capacity
28
- * units consumed will be the same whether you request all of the attributes (the default behavior)
29
- * or just some of them (using a projection expression). The number will also be the same
30
- * whether or not you use a <code>FilterExpression</code>.
31
- * </p>
32
- * </note>
33
- * <p>
34
- * <code>Query</code> results are always sorted by the sort key value. If the data type of the sort key is Number,
35
- * the results are returned in numeric order; otherwise, the results are returned in order of UTF-8 bytes.
36
- * By default, the sort order is ascending. To reverse the order, set the <code>ScanIndexForward</code> parameter
37
- * to false.
38
- * </p>
39
- * <p> A single <code>Query</code> operation will read up to the maximum number of items
40
- * set (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then
41
- * apply any filtering to the results using <code>FilterExpression</code>. If
42
- * <code>LastEvaluatedKey</code> is present in the response, you will need to paginate
43
- * the result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.Pagination">Paginating
44
- * the Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>
45
- * <p>
46
- * <code>FilterExpression</code> is applied after a <code>Query</code> finishes, but before
47
- * the results are returned.
48
- * A <code>FilterExpression</code> cannot contain partition key or sort key attributes.
49
- * You need to specify those attributes in the <code>KeyConditionExpression</code>.
50
- * </p>
51
- * <note>
52
- * <p>
53
- * A <code>Query</code> operation can return an empty result set and a <code>LastEvaluatedKey</code>
54
- * if all the items read for the page of results are filtered out.
55
- * </p>
56
- * </note>
57
- * <p>You can query a table, a local secondary index, or a global secondary index. For a
58
- * query on a table or on a local secondary index, you can set the
59
- * <code>ConsistentRead</code> parameter to <code>true</code> and obtain a
60
- * strongly consistent result. Global secondary indexes support eventually consistent reads
61
- * only, so do not specify <code>ConsistentRead</code> when querying a global
62
- * secondary index.</p>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { DynamoDBClient, QueryCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
67
- * // const { DynamoDBClient, QueryCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
68
- * const client = new DynamoDBClient(config);
69
- * const command = new QueryCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link QueryCommandInput} for command's `input` shape.
74
- * @see {@link QueryCommandOutput} for command's `response` shape.
75
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
- var QueryCommand = /** @class */ (function (_super) {
6
+ var QueryCommand = (function (_super) {
79
7
  __extends(QueryCommand, _super);
80
- // Start section: command_properties
81
- // End section: command_properties
82
8
  function QueryCommand(input) {
83
- var _this =
84
- // Start section: command_constructor
85
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
86
10
  _this.input = input;
87
11
  return _this;
88
- // End section: command_constructor
89
12
  }
90
- /**
91
- * @internal
92
- */
93
13
  QueryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
94
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
95
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"QueryCommand.js","sourceRoot":"","sources":["../../../commands/QueryCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,kCAAkC,EAAE,gCAAgC,EAAE,MAAM,0BAA0B,CAAC;AAChH,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH;IAAkC,gCAA6E;IAC7G,oCAAoC;IACpC,kCAAkC;IAElC,sBAAqB,KAAwB;QAA7C;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAmB;;QAG3C,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,wCAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,cAAc,CAAC;QACnC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,UAAU,CAAC,kBAAkB;YACtD,wBAAwB,EAAE,WAAW,CAA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,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,cAAc,CAAC;QACnC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,UAAU,CAAC,kBAAkB;YACtD,wBAAwB,EAAE,WAAW,CAAC,kBAAkB;SACzD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gCAAS,GAAjB,UAAkB,KAAwB,EAAE,OAAuB;QACjE,OAAO,gCAAgC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAEO,kCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kCAAkC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAIH,mBAAC;AAAD,CAAC,AAlDD,CAAkC,QAAQ,GAkDzC"}
@@ -3,62 +3,13 @@ import { RestoreTableFromBackupInput, RestoreTableFromBackupOutput } from "../mo
3
3
  import { deserializeAws_json1_0RestoreTableFromBackupCommand, serializeAws_json1_0RestoreTableFromBackupCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a new table from an existing backup. Any number of users can execute up to 4 concurrent restores
8
- * (any type of restore) in a given account.
9
- * </p>
10
- * <p>You can call <code>RestoreTableFromBackup</code> at a maximum rate of 10 times per second.</p>
11
- * <p>You must manually set up the following on the restored table:</p>
12
- * <ul>
13
- * <li>
14
- * <p>Auto scaling policies</p>
15
- * </li>
16
- * <li>
17
- * <p>IAM policies</p>
18
- * </li>
19
- * <li>
20
- * <p>Amazon CloudWatch metrics and alarms</p>
21
- * </li>
22
- * <li>
23
- * <p>Tags</p>
24
- * </li>
25
- * <li>
26
- * <p>Stream settings</p>
27
- * </li>
28
- * <li>
29
- * <p>Time to Live (TTL) settings</p>
30
- * </li>
31
- * </ul>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DynamoDBClient, RestoreTableFromBackupCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
36
- * // const { DynamoDBClient, RestoreTableFromBackupCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
37
- * const client = new DynamoDBClient(config);
38
- * const command = new RestoreTableFromBackupCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link RestoreTableFromBackupCommandInput} for command's `input` shape.
43
- * @see {@link RestoreTableFromBackupCommandOutput} for command's `response` shape.
44
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- var RestoreTableFromBackupCommand = /** @class */ (function (_super) {
6
+ var RestoreTableFromBackupCommand = (function (_super) {
48
7
  __extends(RestoreTableFromBackupCommand, _super);
49
- // Start section: command_properties
50
- // End section: command_properties
51
8
  function RestoreTableFromBackupCommand(input) {
52
- var _this =
53
- // Start section: command_constructor
54
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
55
10
  _this.input = input;
56
11
  return _this;
57
- // End section: command_constructor
58
12
  }
59
- /**
60
- * @internal
61
- */
62
13
  RestoreTableFromBackupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
63
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RestoreTableFromBackupCommand.js","sourceRoot":"","sources":["../../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,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
@@ -3,93 +3,13 @@ import { RestoreTableToPointInTimeInput, RestoreTableToPointInTimeOutput } from
3
3
  import { deserializeAws_json1_0RestoreTableToPointInTimeCommand, serializeAws_json1_0RestoreTableToPointInTimeCommand, } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Restores the specified table to the specified point in time within
8
- * <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
9
- * You can restore your table to any point in time during the last 35 days.
10
- * Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
11
- * </p>
12
- * <p>
13
- * When you restore using point in time recovery, DynamoDB restores your table data to the state based on
14
- * the selected date and time (day:hour:minute:second) to a new table.
15
- * </p>
16
- * <p>
17
- * Along with data, the following are also included on the new restored table using point in time recovery:
18
- * </p>
19
- * <ul>
20
- * <li>
21
- * <p>Global secondary indexes (GSIs)</p>
22
- * </li>
23
- * <li>
24
- * <p>Local secondary indexes (LSIs)</p>
25
- * </li>
26
- * <li>
27
- * <p>Provisioned read and write capacity</p>
28
- * </li>
29
- * <li>
30
- * <p>Encryption settings</p>
31
- * <important>
32
- * <p>
33
- * All these settings come from the current settings of the source table at the time of restore.
34
- * </p>
35
- * </important>
36
- * </li>
37
- * </ul>
38
- *
39
- * <p>You must manually set up the following on the restored table:</p>
40
- * <ul>
41
- * <li>
42
- * <p>Auto scaling policies</p>
43
- * </li>
44
- * <li>
45
- * <p>IAM policies</p>
46
- * </li>
47
- * <li>
48
- * <p>Amazon CloudWatch metrics and alarms</p>
49
- * </li>
50
- * <li>
51
- * <p>Tags</p>
52
- * </li>
53
- * <li>
54
- * <p>Stream settings</p>
55
- * </li>
56
- * <li>
57
- * <p>Time to Live (TTL) settings</p>
58
- * </li>
59
- * <li>
60
- * <p>Point in time recovery settings</p>
61
- * </li>
62
- * </ul>
63
- * @example
64
- * Use a bare-bones client and the command you need to make an API call.
65
- * ```javascript
66
- * import { DynamoDBClient, RestoreTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
67
- * // const { DynamoDBClient, RestoreTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
68
- * const client = new DynamoDBClient(config);
69
- * const command = new RestoreTableToPointInTimeCommand(input);
70
- * const response = await client.send(command);
71
- * ```
72
- *
73
- * @see {@link RestoreTableToPointInTimeCommandInput} for command's `input` shape.
74
- * @see {@link RestoreTableToPointInTimeCommandOutput} for command's `response` shape.
75
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
76
- *
77
- */
78
- var RestoreTableToPointInTimeCommand = /** @class */ (function (_super) {
6
+ var RestoreTableToPointInTimeCommand = (function (_super) {
79
7
  __extends(RestoreTableToPointInTimeCommand, _super);
80
- // Start section: command_properties
81
- // End section: command_properties
82
8
  function RestoreTableToPointInTimeCommand(input) {
83
- var _this =
84
- // Start section: command_constructor
85
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
86
10
  _this.input = input;
87
11
  return _this;
88
- // End section: command_constructor
89
12
  }
90
- /**
91
- * @internal
92
- */
93
13
  RestoreTableToPointInTimeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
94
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
95
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"RestoreTableToPointInTimeCommand.js","sourceRoot":"","sources":["../../../commands/RestoreTableToPointInTimeCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuEG;AACH;IAAsD,oDAIrD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,0CAAqB,KAA4C;QAAjE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;QAG/D,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,4DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8BAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,+BAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
1
+ {"version":3,"file":"RestoreTableToPointInTimeCommand.js","sourceRoot":"","sources":["../../../commands/RestoreTableToPointInTimeCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAsF7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QA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0ScanCommand, serializeAws_json1_0ScanCommand } from "../protocols/Aws_json1_0";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>The <code>Scan</code> operation returns one or more items and item attributes by accessing every
8
- * item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a <code>FilterExpression</code> operation.</p>
9
- * <p>If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the
10
- * scan stops and results are returned to the user as a <code>LastEvaluatedKey</code> value
11
- * to continue the scan in a subsequent operation. The results also include the number of
12
- * items exceeding the limit. A scan can result in no table data meeting the filter
13
- * criteria. </p>
14
- * <p>A single <code>Scan</code> operation reads up to the maximum number of items set (if
15
- * using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any
16
- * filtering to the results using <code>FilterExpression</code>. If
17
- * <code>LastEvaluatedKey</code> is present in the response, you need to paginate the
18
- * result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination">Paginating the
19
- * Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>
20
- * <p>
21
- * <code>Scan</code> operations proceed sequentially; however, for faster performance on
22
- * a large table or secondary index, applications can request a parallel <code>Scan</code>
23
- * operation by providing the <code>Segment</code> and <code>TotalSegments</code>
24
- * parameters. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan">Parallel
25
- * Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
26
- * <p>
27
- * <code>Scan</code> uses eventually consistent reads when accessing the data in a
28
- * table; therefore, the result set might not include the changes to data in the table
29
- * immediately before the operation began. If you need a consistent copy of the data, as of
30
- * the time that the <code>Scan</code> begins, you can set the <code>ConsistentRead</code>
31
- * parameter to <code>true</code>.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { DynamoDBClient, ScanCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
36
- * // const { DynamoDBClient, ScanCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
37
- * const client = new DynamoDBClient(config);
38
- * const command = new ScanCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link ScanCommandInput} for command's `input` shape.
43
- * @see {@link ScanCommandOutput} for command's `response` shape.
44
- * @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- var ScanCommand = /** @class */ (function (_super) {
6
+ var ScanCommand = (function (_super) {
48
7
  __extends(ScanCommand, _super);
49
- // Start section: command_properties
50
- // End section: command_properties
51
8
  function ScanCommand(input) {
52
- var _this =
53
- // Start section: command_constructor
54
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
55
10
  _this.input = input;
56
11
  return _this;
57
- // End section: command_constructor
58
12
  }
59
- /**
60
- * @internal
61
- */
62
13
  ScanCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
63
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"ScanCommand.js","sourceRoot":"","sources":["../../../commands/ScanCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,iCAAiC,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC9G,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH;IAAiC,+BAA2E;IAC1G,oCAAoC;IACpC,kCAAkC;IAElC,qBAAqB,KAAuB;QAA5C;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkB;;QAG1C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