@depup/aws-sdk__client-dynamodb 3.1005.0-depup.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 (290) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +31 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +27 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1667 -0
  7. package/dist-cjs/models/DynamoDBServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +478 -0
  9. package/dist-cjs/runtimeConfig.browser.js +41 -0
  10. package/dist-cjs/runtimeConfig.js +57 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +46 -0
  13. package/dist-cjs/schemas/schemas_0.js +2390 -0
  14. package/dist-es/DynamoDB.js +149 -0
  15. package/dist-es/DynamoDBClient.js +55 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/BatchExecuteStatementCommand.js +16 -0
  19. package/dist-es/commands/BatchGetItemCommand.js +19 -0
  20. package/dist-es/commands/BatchWriteItemCommand.js +19 -0
  21. package/dist-es/commands/CreateBackupCommand.js +19 -0
  22. package/dist-es/commands/CreateGlobalTableCommand.js +19 -0
  23. package/dist-es/commands/CreateTableCommand.js +19 -0
  24. package/dist-es/commands/DeleteBackupCommand.js +19 -0
  25. package/dist-es/commands/DeleteItemCommand.js +19 -0
  26. package/dist-es/commands/DeleteResourcePolicyCommand.js +19 -0
  27. package/dist-es/commands/DeleteTableCommand.js +19 -0
  28. package/dist-es/commands/DescribeBackupCommand.js +19 -0
  29. package/dist-es/commands/DescribeContinuousBackupsCommand.js +19 -0
  30. package/dist-es/commands/DescribeContributorInsightsCommand.js +19 -0
  31. package/dist-es/commands/DescribeEndpointsCommand.js +16 -0
  32. package/dist-es/commands/DescribeExportCommand.js +19 -0
  33. package/dist-es/commands/DescribeGlobalTableCommand.js +19 -0
  34. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +19 -0
  35. package/dist-es/commands/DescribeImportCommand.js +19 -0
  36. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +19 -0
  37. package/dist-es/commands/DescribeLimitsCommand.js +16 -0
  38. package/dist-es/commands/DescribeTableCommand.js +19 -0
  39. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +19 -0
  40. package/dist-es/commands/DescribeTimeToLiveCommand.js +19 -0
  41. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +19 -0
  42. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +19 -0
  43. package/dist-es/commands/ExecuteStatementCommand.js +16 -0
  44. package/dist-es/commands/ExecuteTransactionCommand.js +16 -0
  45. package/dist-es/commands/ExportTableToPointInTimeCommand.js +19 -0
  46. package/dist-es/commands/GetItemCommand.js +19 -0
  47. package/dist-es/commands/GetResourcePolicyCommand.js +19 -0
  48. package/dist-es/commands/ImportTableCommand.js +19 -0
  49. package/dist-es/commands/ListBackupsCommand.js +19 -0
  50. package/dist-es/commands/ListContributorInsightsCommand.js +19 -0
  51. package/dist-es/commands/ListExportsCommand.js +19 -0
  52. package/dist-es/commands/ListGlobalTablesCommand.js +16 -0
  53. package/dist-es/commands/ListImportsCommand.js +19 -0
  54. package/dist-es/commands/ListTablesCommand.js +16 -0
  55. package/dist-es/commands/ListTagsOfResourceCommand.js +19 -0
  56. package/dist-es/commands/PutItemCommand.js +19 -0
  57. package/dist-es/commands/PutResourcePolicyCommand.js +19 -0
  58. package/dist-es/commands/QueryCommand.js +19 -0
  59. package/dist-es/commands/RestoreTableFromBackupCommand.js +19 -0
  60. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +19 -0
  61. package/dist-es/commands/ScanCommand.js +19 -0
  62. package/dist-es/commands/TagResourceCommand.js +19 -0
  63. package/dist-es/commands/TransactGetItemsCommand.js +19 -0
  64. package/dist-es/commands/TransactWriteItemsCommand.js +19 -0
  65. package/dist-es/commands/UntagResourceCommand.js +19 -0
  66. package/dist-es/commands/UpdateContinuousBackupsCommand.js +19 -0
  67. package/dist-es/commands/UpdateContributorInsightsCommand.js +19 -0
  68. package/dist-es/commands/UpdateGlobalTableCommand.js +19 -0
  69. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +19 -0
  70. package/dist-es/commands/UpdateItemCommand.js +19 -0
  71. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +19 -0
  72. package/dist-es/commands/UpdateTableCommand.js +19 -0
  73. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +19 -0
  74. package/dist-es/commands/UpdateTimeToLiveCommand.js +19 -0
  75. package/dist-es/commands/index.js +57 -0
  76. package/dist-es/endpoint/EndpointParameters.js +15 -0
  77. package/dist-es/endpoint/endpointResolver.js +23 -0
  78. package/dist-es/endpoint/ruleset.js +4 -0
  79. package/dist-es/extensionConfiguration.js +1 -0
  80. package/dist-es/index.js +10 -0
  81. package/dist-es/models/DynamoDBServiceException.js +8 -0
  82. package/dist-es/models/enums.js +245 -0
  83. package/dist-es/models/errors.js +440 -0
  84. package/dist-es/models/models_0.js +1 -0
  85. package/dist-es/pagination/Interfaces.js +1 -0
  86. package/dist-es/pagination/ListContributorInsightsPaginator.js +4 -0
  87. package/dist-es/pagination/ListExportsPaginator.js +4 -0
  88. package/dist-es/pagination/ListImportsPaginator.js +4 -0
  89. package/dist-es/pagination/ListTablesPaginator.js +4 -0
  90. package/dist-es/pagination/QueryPaginator.js +4 -0
  91. package/dist-es/pagination/ScanPaginator.js +4 -0
  92. package/dist-es/pagination/index.js +7 -0
  93. package/dist-es/runtimeConfig.browser.js +36 -0
  94. package/dist-es/runtimeConfig.js +52 -0
  95. package/dist-es/runtimeConfig.native.js +11 -0
  96. package/dist-es/runtimeConfig.shared.js +42 -0
  97. package/dist-es/runtimeExtensions.js +9 -0
  98. package/dist-es/schemas/schemas_0.js +2381 -0
  99. package/dist-es/waiters/index.js +6 -0
  100. package/dist-es/waiters/waitForContributorInsightsEnabled.js +40 -0
  101. package/dist-es/waiters/waitForExportCompleted.js +40 -0
  102. package/dist-es/waiters/waitForImportCompleted.js +49 -0
  103. package/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +49 -0
  104. package/dist-es/waiters/waitForTableExists.js +34 -0
  105. package/dist-es/waiters/waitForTableNotExists.js +25 -0
  106. package/dist-types/DynamoDB.d.ts +512 -0
  107. package/dist-types/DynamoDBClient.d.ts +272 -0
  108. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  109. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  110. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +234 -0
  111. package/dist-types/commands/BatchGetItemCommand.d.ts +366 -0
  112. package/dist-types/commands/BatchWriteItemCommand.d.ts +414 -0
  113. package/dist-types/commands/CreateBackupCommand.d.ts +151 -0
  114. package/dist-types/commands/CreateGlobalTableCommand.d.ts +211 -0
  115. package/dist-types/commands/CreateTableCommand.d.ts +394 -0
  116. package/dist-types/commands/DeleteBackupCommand.d.ts +197 -0
  117. package/dist-types/commands/DeleteItemCommand.d.ts +296 -0
  118. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +145 -0
  119. package/dist-types/commands/DeleteTableCommand.d.ts +338 -0
  120. package/dist-types/commands/DescribeBackupCommand.d.ts +175 -0
  121. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +104 -0
  122. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +94 -0
  123. package/dist-types/commands/DescribeEndpointsCommand.d.ts +78 -0
  124. package/dist-types/commands/DescribeExportCommand.d.ts +124 -0
  125. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +133 -0
  126. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +178 -0
  127. package/dist-types/commands/DescribeImportCommand.d.ts +165 -0
  128. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +91 -0
  129. package/dist-types/commands/DescribeLimitsCommand.d.ts +165 -0
  130. package/dist-types/commands/DescribeTableCommand.d.ts +269 -0
  131. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +164 -0
  132. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +86 -0
  133. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +128 -0
  134. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +130 -0
  135. package/dist-types/commands/ExecuteStatementCommand.d.ts +251 -0
  136. package/dist-types/commands/ExecuteTransactionCommand.d.ts +534 -0
  137. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +152 -0
  138. package/dist-types/commands/GetItemCommand.d.ts +264 -0
  139. package/dist-types/commands/GetResourcePolicyCommand.d.ts +124 -0
  140. package/dist-types/commands/ImportTableCommand.d.ts +275 -0
  141. package/dist-types/commands/ListBackupsCommand.d.ts +109 -0
  142. package/dist-types/commands/ListContributorInsightsCommand.d.ts +92 -0
  143. package/dist-types/commands/ListExportsCommand.d.ts +104 -0
  144. package/dist-types/commands/ListGlobalTablesCommand.d.ts +95 -0
  145. package/dist-types/commands/ListImportsCommand.d.ts +110 -0
  146. package/dist-types/commands/ListTablesCommand.d.ts +103 -0
  147. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +93 -0
  148. package/dist-types/commands/PutItemCommand.d.ts +315 -0
  149. package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
  150. package/dist-types/commands/QueryCommand.d.ts +338 -0
  151. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +373 -0
  152. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +407 -0
  153. package/dist-types/commands/ScanCommand.d.ts +337 -0
  154. package/dist-types/commands/TagResourceCommand.d.ts +145 -0
  155. package/dist-types/commands/TransactGetItemsCommand.d.ts +496 -0
  156. package/dist-types/commands/TransactWriteItemsCommand.d.ts +659 -0
  157. package/dist-types/commands/UntagResourceCommand.d.ts +140 -0
  158. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +111 -0
  159. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +93 -0
  160. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +179 -0
  161. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +286 -0
  162. package/dist-types/commands/UpdateItemCommand.d.ts +323 -0
  163. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +127 -0
  164. package/dist-types/commands/UpdateTableCommand.d.ts +458 -0
  165. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +246 -0
  166. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +149 -0
  167. package/dist-types/commands/index.d.ts +57 -0
  168. package/dist-types/endpoint/EndpointParameters.d.ts +64 -0
  169. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  170. package/dist-types/endpoint/ruleset.d.ts +2 -0
  171. package/dist-types/extensionConfiguration.d.ts +9 -0
  172. package/dist-types/index.d.ts +34 -0
  173. package/dist-types/models/DynamoDBServiceException.d.ts +14 -0
  174. package/dist-types/models/enums.d.ts +589 -0
  175. package/dist-types/models/errors.d.ts +803 -0
  176. package/dist-types/models/models_0.d.ts +10010 -0
  177. package/dist-types/pagination/Interfaces.d.ts +8 -0
  178. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +7 -0
  179. package/dist-types/pagination/ListExportsPaginator.d.ts +7 -0
  180. package/dist-types/pagination/ListImportsPaginator.d.ts +7 -0
  181. package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
  182. package/dist-types/pagination/QueryPaginator.d.ts +7 -0
  183. package/dist-types/pagination/ScanPaginator.d.ts +7 -0
  184. package/dist-types/pagination/index.d.ts +7 -0
  185. package/dist-types/runtimeConfig.browser.d.ts +60 -0
  186. package/dist-types/runtimeConfig.d.ts +60 -0
  187. package/dist-types/runtimeConfig.native.d.ts +59 -0
  188. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  189. package/dist-types/runtimeExtensions.d.ts +17 -0
  190. package/dist-types/schemas/schemas_0.d.ts +325 -0
  191. package/dist-types/ts3.4/DynamoDB.d.ts +1102 -0
  192. package/dist-types/ts3.4/DynamoDBClient.d.ts +472 -0
  193. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  194. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  195. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +51 -0
  196. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +47 -0
  197. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +47 -0
  198. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +47 -0
  199. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +50 -0
  200. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
  201. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +47 -0
  202. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +47 -0
  203. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  204. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +47 -0
  205. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +47 -0
  206. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +51 -0
  208. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +51 -0
  209. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +47 -0
  210. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +51 -0
  211. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +51 -0
  212. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +47 -0
  213. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +51 -0
  214. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +47 -0
  215. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +47 -0
  216. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +51 -0
  218. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +51 -0
  219. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +50 -0
  221. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +51 -0
  222. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +51 -0
  223. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +41 -0
  224. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +50 -0
  225. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +47 -0
  226. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +47 -0
  227. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +51 -0
  228. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +47 -0
  229. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +50 -0
  230. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +47 -0
  231. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +47 -0
  232. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +51 -0
  233. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +41 -0
  234. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +50 -0
  235. package/dist-types/ts3.4/commands/QueryCommand.d.ts +41 -0
  236. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +51 -0
  237. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +51 -0
  238. package/dist-types/ts3.4/commands/ScanCommand.d.ts +41 -0
  239. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  240. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +50 -0
  241. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +51 -0
  242. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  243. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +51 -0
  244. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +51 -0
  245. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +50 -0
  246. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +51 -0
  247. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +47 -0
  248. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +51 -0
  249. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +47 -0
  250. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +51 -0
  251. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +50 -0
  252. package/dist-types/ts3.4/commands/index.d.ts +57 -0
  253. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +65 -0
  254. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  255. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  256. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  257. package/dist-types/ts3.4/index.d.ts +13 -0
  258. package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +9 -0
  259. package/dist-types/ts3.4/models/enums.d.ts +313 -0
  260. package/dist-types/ts3.4/models/errors.d.ts +286 -0
  261. package/dist-types/ts3.4/models/models_0.d.ts +1557 -0
  262. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  263. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +11 -0
  264. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +11 -0
  265. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +11 -0
  266. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
  267. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +11 -0
  268. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +8 -0
  269. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  270. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +114 -0
  271. package/dist-types/ts3.4/runtimeConfig.d.ts +111 -0
  272. package/dist-types/ts3.4/runtimeConfig.native.d.ts +118 -0
  273. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  274. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  275. package/dist-types/ts3.4/schemas/schemas_0.d.ts +325 -0
  276. package/dist-types/ts3.4/waiters/index.d.ts +6 -0
  277. package/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +11 -0
  278. package/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +11 -0
  279. package/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +11 -0
  280. package/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +11 -0
  281. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +11 -0
  282. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +11 -0
  283. package/dist-types/waiters/index.d.ts +6 -0
  284. package/dist-types/waiters/waitForContributorInsightsEnabled.d.ts +14 -0
  285. package/dist-types/waiters/waitForExportCompleted.d.ts +14 -0
  286. package/dist-types/waiters/waitForImportCompleted.d.ts +14 -0
  287. package/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts +14 -0
  288. package/dist-types/waiters/waitForTableExists.d.ts +14 -0
  289. package/dist-types/waiters/waitForTableNotExists.d.ts +14 -0
  290. package/package.json +130 -0
@@ -0,0 +1,337 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
4
+ import type { ScanInput, ScanOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ScanCommand}.
14
+ */
15
+ export interface ScanCommandInput extends ScanInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ScanCommand}.
21
+ */
22
+ export interface ScanCommandOutput extends ScanOutput, __MetadataBearer {
23
+ }
24
+ declare const ScanCommand_base: {
25
+ new (input: ScanCommandInput): import("@smithy/smithy-client").CommandImpl<ScanCommandInput, ScanCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ScanCommandInput): import("@smithy/smithy-client").CommandImpl<ScanCommandInput, ScanCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>The <code>Scan</code> operation returns one or more items and item attributes by
31
+ * accessing every item in a table or a secondary index. To have DynamoDB return fewer
32
+ * items, you can provide a <code>FilterExpression</code> operation.</p>
33
+ * <p>If the total size of scanned items exceeds the maximum dataset size limit of 1 MB, the
34
+ * scan completes and results are returned to the user. The <code>LastEvaluatedKey</code>
35
+ * value is also returned and the requestor can use the <code>LastEvaluatedKey</code> to
36
+ * continue the scan in a subsequent operation. Each scan response also includes number of
37
+ * items that were scanned (ScannedCount) as part of the request. If using a
38
+ * <code>FilterExpression</code>, a scan result can result in no items meeting the
39
+ * criteria and the <code>Count</code> will result in zero. If you did not use a
40
+ * <code>FilterExpression</code> in the scan request, then <code>Count</code> is the
41
+ * same as <code>ScannedCount</code>.</p>
42
+ * <note>
43
+ * <p>
44
+ * <code>Count</code> and <code>ScannedCount</code> only return the count of items
45
+ * specific to a single scan request and, unless the table is less than 1MB, do not
46
+ * represent the total number of items in the table. </p>
47
+ * </note>
48
+ * <p>A single <code>Scan</code> operation first reads up to the maximum number of items set
49
+ * (if using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then
50
+ * applies any filtering to the results if a <code>FilterExpression</code> is provided. If
51
+ * <code>LastEvaluatedKey</code> is present in the response, pagination is required to
52
+ * complete the full table scan. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination">Paginating the
53
+ * Results</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
54
+ * <p>
55
+ * <code>Scan</code> operations proceed sequentially; however, for faster performance on
56
+ * a large table or secondary index, applications can request a parallel <code>Scan</code>
57
+ * operation by providing the <code>Segment</code> and <code>TotalSegments</code>
58
+ * parameters. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan">Parallel
59
+ * Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
60
+ * <p>By default, a <code>Scan</code> uses eventually consistent reads when accessing the
61
+ * items in a table. Therefore, the results from an eventually consistent <code>Scan</code>
62
+ * may not include the latest item changes at the time the scan iterates through each item
63
+ * in the table. If you require a strongly consistent read of each item as the scan
64
+ * iterates through the items in the table, you can set the <code>ConsistentRead</code>
65
+ * parameter to true. Strong consistency only relates to the consistency of the read at the
66
+ * item level.</p>
67
+ * <note>
68
+ * <p> DynamoDB does not provide snapshot isolation for a scan operation when the
69
+ * <code>ConsistentRead</code> parameter is set to true. Thus, a DynamoDB scan
70
+ * operation does not guarantee that all reads in a scan see a consistent snapshot of
71
+ * the table when the scan operation was requested. </p>
72
+ * </note>
73
+ * @example
74
+ * Use a bare-bones client and the command you need to make an API call.
75
+ * ```javascript
76
+ * import { DynamoDBClient, ScanCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
77
+ * // const { DynamoDBClient, ScanCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
78
+ * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
79
+ * const config = {}; // type is DynamoDBClientConfig
80
+ * const client = new DynamoDBClient(config);
81
+ * const input = { // ScanInput
82
+ * TableName: "STRING_VALUE", // required
83
+ * IndexName: "STRING_VALUE",
84
+ * AttributesToGet: [ // AttributeNameList
85
+ * "STRING_VALUE",
86
+ * ],
87
+ * Limit: Number("int"),
88
+ * Select: "ALL_ATTRIBUTES" || "ALL_PROJECTED_ATTRIBUTES" || "SPECIFIC_ATTRIBUTES" || "COUNT",
89
+ * ScanFilter: { // FilterConditionMap
90
+ * "<keys>": { // Condition
91
+ * AttributeValueList: [ // AttributeValueList
92
+ * { // AttributeValue Union: only one key present
93
+ * S: "STRING_VALUE",
94
+ * N: "STRING_VALUE",
95
+ * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
96
+ * SS: [ // StringSetAttributeValue
97
+ * "STRING_VALUE",
98
+ * ],
99
+ * NS: [ // NumberSetAttributeValue
100
+ * "STRING_VALUE",
101
+ * ],
102
+ * BS: [ // BinarySetAttributeValue
103
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
104
+ * ],
105
+ * M: { // MapAttributeValue
106
+ * "<keys>": {// Union: only one key present
107
+ * S: "STRING_VALUE",
108
+ * N: "STRING_VALUE",
109
+ * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
110
+ * SS: [
111
+ * "STRING_VALUE",
112
+ * ],
113
+ * NS: [
114
+ * "STRING_VALUE",
115
+ * ],
116
+ * BS: [
117
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
118
+ * ],
119
+ * M: {
120
+ * "<keys>": "<AttributeValue>",
121
+ * },
122
+ * L: [ // ListAttributeValue
123
+ * "<AttributeValue>",
124
+ * ],
125
+ * NULL: true || false,
126
+ * BOOL: true || false,
127
+ * },
128
+ * },
129
+ * L: [
130
+ * "<AttributeValue>",
131
+ * ],
132
+ * NULL: true || false,
133
+ * BOOL: true || false,
134
+ * },
135
+ * ],
136
+ * ComparisonOperator: "EQ" || "NE" || "IN" || "LE" || "LT" || "GE" || "GT" || "BETWEEN" || "NOT_NULL" || "NULL" || "CONTAINS" || "NOT_CONTAINS" || "BEGINS_WITH", // required
137
+ * },
138
+ * },
139
+ * ConditionalOperator: "AND" || "OR",
140
+ * ExclusiveStartKey: { // Key
141
+ * "<keys>": "<AttributeValue>",
142
+ * },
143
+ * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
144
+ * TotalSegments: Number("int"),
145
+ * Segment: Number("int"),
146
+ * ProjectionExpression: "STRING_VALUE",
147
+ * FilterExpression: "STRING_VALUE",
148
+ * ExpressionAttributeNames: { // ExpressionAttributeNameMap
149
+ * "<keys>": "STRING_VALUE",
150
+ * },
151
+ * ExpressionAttributeValues: { // ExpressionAttributeValueMap
152
+ * "<keys>": "<AttributeValue>",
153
+ * },
154
+ * ConsistentRead: true || false,
155
+ * };
156
+ * const command = new ScanCommand(input);
157
+ * const response = await client.send(command);
158
+ * // { // ScanOutput
159
+ * // Items: [ // ItemList
160
+ * // { // AttributeMap
161
+ * // "<keys>": { // AttributeValue Union: only one key present
162
+ * // S: "STRING_VALUE",
163
+ * // N: "STRING_VALUE",
164
+ * // B: new Uint8Array(),
165
+ * // SS: [ // StringSetAttributeValue
166
+ * // "STRING_VALUE",
167
+ * // ],
168
+ * // NS: [ // NumberSetAttributeValue
169
+ * // "STRING_VALUE",
170
+ * // ],
171
+ * // BS: [ // BinarySetAttributeValue
172
+ * // new Uint8Array(),
173
+ * // ],
174
+ * // M: { // MapAttributeValue
175
+ * // "<keys>": {// Union: only one key present
176
+ * // S: "STRING_VALUE",
177
+ * // N: "STRING_VALUE",
178
+ * // B: new Uint8Array(),
179
+ * // SS: [
180
+ * // "STRING_VALUE",
181
+ * // ],
182
+ * // NS: [
183
+ * // "STRING_VALUE",
184
+ * // ],
185
+ * // BS: [
186
+ * // new Uint8Array(),
187
+ * // ],
188
+ * // M: {
189
+ * // "<keys>": "<AttributeValue>",
190
+ * // },
191
+ * // L: [ // ListAttributeValue
192
+ * // "<AttributeValue>",
193
+ * // ],
194
+ * // NULL: true || false,
195
+ * // BOOL: true || false,
196
+ * // },
197
+ * // },
198
+ * // L: [
199
+ * // "<AttributeValue>",
200
+ * // ],
201
+ * // NULL: true || false,
202
+ * // BOOL: true || false,
203
+ * // },
204
+ * // },
205
+ * // ],
206
+ * // Count: Number("int"),
207
+ * // ScannedCount: Number("int"),
208
+ * // LastEvaluatedKey: { // Key
209
+ * // "<keys>": "<AttributeValue>",
210
+ * // },
211
+ * // ConsumedCapacity: { // ConsumedCapacity
212
+ * // TableName: "STRING_VALUE",
213
+ * // CapacityUnits: Number("double"),
214
+ * // ReadCapacityUnits: Number("double"),
215
+ * // WriteCapacityUnits: Number("double"),
216
+ * // Table: { // Capacity
217
+ * // ReadCapacityUnits: Number("double"),
218
+ * // WriteCapacityUnits: Number("double"),
219
+ * // CapacityUnits: Number("double"),
220
+ * // },
221
+ * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
222
+ * // "<keys>": {
223
+ * // ReadCapacityUnits: Number("double"),
224
+ * // WriteCapacityUnits: Number("double"),
225
+ * // CapacityUnits: Number("double"),
226
+ * // },
227
+ * // },
228
+ * // GlobalSecondaryIndexes: {
229
+ * // "<keys>": {
230
+ * // ReadCapacityUnits: Number("double"),
231
+ * // WriteCapacityUnits: Number("double"),
232
+ * // CapacityUnits: Number("double"),
233
+ * // },
234
+ * // },
235
+ * // },
236
+ * // };
237
+ *
238
+ * ```
239
+ *
240
+ * @param ScanCommandInput - {@link ScanCommandInput}
241
+ * @returns {@link ScanCommandOutput}
242
+ * @see {@link ScanCommandInput} for command's `input` shape.
243
+ * @see {@link ScanCommandOutput} for command's `response` shape.
244
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
245
+ *
246
+ * @throws {@link InternalServerError} (server fault)
247
+ * <p>An error occurred on the server side.</p>
248
+ *
249
+ * @throws {@link InvalidEndpointException} (client fault)
250
+ *
251
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
252
+ * <p>The request was denied due to request throttling. For detailed information about
253
+ * why the request was throttled and the ARN of the impacted resource, find the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html">ThrottlingReason</a> field in the returned exception. The Amazon Web Services
254
+ * SDKs for DynamoDB automatically retry requests that receive this exception.
255
+ * Your request is eventually successful, unless your retry queue is too large to finish.
256
+ * Reduce the frequency of requests and use exponential backoff. For more information, go
257
+ * to <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Programming.Errors.html#Programming.Errors.RetryAndBackoff">Error Retries and Exponential Backoff</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
258
+ *
259
+ * @throws {@link RequestLimitExceeded} (client fault)
260
+ * <p>Throughput exceeds the current throughput quota for your account. For detailed
261
+ * information about why the request was throttled and the ARN of the impacted resource,
262
+ * find the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html">ThrottlingReason</a> field in the returned exception. Contact <a href="https://aws.amazon.com/support">Amazon Web Services Support</a> to request a quota
263
+ * increase.</p>
264
+ *
265
+ * @throws {@link ResourceNotFoundException} (client fault)
266
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
267
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
268
+ *
269
+ * @throws {@link ThrottlingException} (client fault)
270
+ * <p>The request was denied due to request throttling. For detailed information about why
271
+ * the request was throttled and the ARN of the impacted resource, find the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_ThrottlingReason.html">ThrottlingReason</a> field in the returned exception.</p>
272
+ *
273
+ * @throws {@link DynamoDBServiceException}
274
+ * <p>Base exception class for all service exceptions from DynamoDB service.</p>
275
+ *
276
+ *
277
+ * @example To scan a table
278
+ * ```javascript
279
+ * // 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.
280
+ * const input = {
281
+ * ExpressionAttributeNames: {
282
+ * #AT: "AlbumTitle",
283
+ * #ST: "SongTitle"
284
+ * },
285
+ * ExpressionAttributeValues: {
286
+ * :a: {
287
+ * S: "No One You Know"
288
+ * }
289
+ * },
290
+ * FilterExpression: "Artist = :a",
291
+ * ProjectionExpression: "#ST, #AT",
292
+ * TableName: "Music"
293
+ * };
294
+ * const command = new ScanCommand(input);
295
+ * const response = await client.send(command);
296
+ * /* response is
297
+ * {
298
+ * ConsumedCapacity: { /* empty *\/ },
299
+ * Count: 2,
300
+ * Items: [
301
+ * {
302
+ * AlbumTitle: {
303
+ * S: "Somewhat Famous"
304
+ * },
305
+ * SongTitle: {
306
+ * S: "Call Me Today"
307
+ * }
308
+ * },
309
+ * {
310
+ * AlbumTitle: {
311
+ * S: "Blue Sky Blues"
312
+ * },
313
+ * SongTitle: {
314
+ * S: "Scared of My Shadow"
315
+ * }
316
+ * }
317
+ * ],
318
+ * ScannedCount: 3
319
+ * }
320
+ * *\/
321
+ * ```
322
+ *
323
+ * @public
324
+ */
325
+ export declare class ScanCommand extends ScanCommand_base {
326
+ /** @internal type navigation helper, not in runtime. */
327
+ protected static __types: {
328
+ api: {
329
+ input: ScanInput;
330
+ output: ScanOutput;
331
+ };
332
+ sdk: {
333
+ input: ScanCommandInput;
334
+ output: ScanCommandOutput;
335
+ };
336
+ };
337
+ }
@@ -0,0 +1,145 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
4
+ import type { TagResourceInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Associate a set of tags with an Amazon DynamoDB resource. You can then activate these
31
+ * user-defined tags so that they appear on the Billing and Cost Management console for
32
+ * cost allocation tracking. You can call TagResource up to five times per second, per
33
+ * account. </p>
34
+ * <ul>
35
+ * <li>
36
+ * <p>
37
+ * <code>TagResource</code> is an asynchronous operation. If you issue a <a>ListTagsOfResource</a> request immediately after a
38
+ * <code>TagResource</code> request, DynamoDB might return your
39
+ * previous tag set, if there was one, or an empty tag set. This is because
40
+ * <code>ListTagsOfResource</code> uses an eventually consistent query, and the
41
+ * metadata for your tags or table might not be available at that moment. Wait for
42
+ * a few seconds, and then try the <code>ListTagsOfResource</code> request
43
+ * again.</p>
44
+ * </li>
45
+ * <li>
46
+ * <p>The application or removal of tags using <code>TagResource</code> and
47
+ * <code>UntagResource</code> APIs is eventually consistent.
48
+ * <code>ListTagsOfResource</code> API will only reflect the changes after a
49
+ * few seconds.</p>
50
+ * </li>
51
+ * </ul>
52
+ * <p>For an overview on tagging DynamoDB resources, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
53
+ * in the <i>Amazon DynamoDB Developer Guide</i>.</p>
54
+ * @example
55
+ * Use a bare-bones client and the command you need to make an API call.
56
+ * ```javascript
57
+ * import { DynamoDBClient, TagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
58
+ * // const { DynamoDBClient, TagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
59
+ * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
60
+ * const config = {}; // type is DynamoDBClientConfig
61
+ * const client = new DynamoDBClient(config);
62
+ * const input = { // TagResourceInput
63
+ * ResourceArn: "STRING_VALUE", // required
64
+ * Tags: [ // TagList // required
65
+ * { // Tag
66
+ * Key: "STRING_VALUE", // required
67
+ * Value: "STRING_VALUE", // required
68
+ * },
69
+ * ],
70
+ * };
71
+ * const command = new TagResourceCommand(input);
72
+ * const response = await client.send(command);
73
+ * // {};
74
+ *
75
+ * ```
76
+ *
77
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
78
+ * @returns {@link TagResourceCommandOutput}
79
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
80
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
81
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
82
+ *
83
+ * @throws {@link InternalServerError} (server fault)
84
+ * <p>An error occurred on the server side.</p>
85
+ *
86
+ * @throws {@link InvalidEndpointException} (client fault)
87
+ *
88
+ * @throws {@link LimitExceededException} (client fault)
89
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
90
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account.
91
+ * These operations include <code>CreateTable</code>, <code>UpdateTable</code>,
92
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
93
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
94
+ * <p>When you are creating a table with one or more secondary indexes, you can have up
95
+ * to 250 such requests running at a time. However, if the table or index specifications
96
+ * are complex, then DynamoDB might temporarily reduce the number of concurrent
97
+ * operations.</p>
98
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are
99
+ * allowed per account.</p>
100
+ * <p>There is a soft account quota of 2,500 tables.</p>
101
+ * <p>GetRecords was called with a value of more than 1000 for the limit request
102
+ * parameter.</p>
103
+ * <p>More than 2 processes are reading from the same streams shard at the same time.
104
+ * Exceeding this limit may result in request throttling.</p>
105
+ *
106
+ * @throws {@link ResourceInUseException} (client fault)
107
+ * <p>The operation conflicts with the resource's availability. For example:</p>
108
+ * <ul>
109
+ * <li>
110
+ * <p>You attempted to recreate an existing table.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>You tried to delete a table currently in the <code>CREATING</code>
114
+ * state.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>You tried to update a resource that was already being updated.</p>
118
+ * </li>
119
+ * </ul>
120
+ * <p>When appropriate, wait for the ongoing update to complete and attempt the request
121
+ * again.</p>
122
+ *
123
+ * @throws {@link ResourceNotFoundException} (client fault)
124
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
125
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
126
+ *
127
+ * @throws {@link DynamoDBServiceException}
128
+ * <p>Base exception class for all service exceptions from DynamoDB service.</p>
129
+ *
130
+ *
131
+ * @public
132
+ */
133
+ export declare class TagResourceCommand extends TagResourceCommand_base {
134
+ /** @internal type navigation helper, not in runtime. */
135
+ protected static __types: {
136
+ api: {
137
+ input: TagResourceInput;
138
+ output: {};
139
+ };
140
+ sdk: {
141
+ input: TagResourceCommandInput;
142
+ output: TagResourceCommandOutput;
143
+ };
144
+ };
145
+ }