@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,659 @@
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 { TransactWriteItemsInput, TransactWriteItemsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TransactWriteItemsCommand}.
14
+ */
15
+ export interface TransactWriteItemsCommandInput extends TransactWriteItemsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TransactWriteItemsCommand}.
21
+ */
22
+ export interface TransactWriteItemsCommandOutput extends TransactWriteItemsOutput, __MetadataBearer {
23
+ }
24
+ declare const TransactWriteItemsCommand_base: {
25
+ new (input: TransactWriteItemsCommandInput): import("@smithy/smithy-client").CommandImpl<TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: TransactWriteItemsCommandInput): import("@smithy/smithy-client").CommandImpl<TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput, DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * <code>TransactWriteItems</code> is a synchronous write operation that groups up to 100
32
+ * action requests. These actions can target items in different tables, but not in
33
+ * different Amazon Web Services accounts or Regions, and no two actions can target the same
34
+ * item. For example, you cannot both <code>ConditionCheck</code> and <code>Update</code>
35
+ * the same item. The aggregate size of the items in the transaction cannot exceed 4
36
+ * MB.</p>
37
+ * <p>The actions are completed atomically so that either all of them succeed, or all of
38
+ * them fail. They are defined by the following objects:</p>
39
+ * <ul>
40
+ * <li>
41
+ * <p>
42
+ * <code>Put</code>  —   Initiates a <code>PutItem</code>
43
+ * operation to write a new item. This structure specifies the primary key of the
44
+ * item to be written, the name of the table to write it in, an optional condition
45
+ * expression that must be satisfied for the write to succeed, a list of the item's
46
+ * attributes, and a field indicating whether to retrieve the item's attributes if
47
+ * the condition is not met.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>
51
+ * <code>Update</code>  —   Initiates an <code>UpdateItem</code>
52
+ * operation to update an existing item. This structure specifies the primary key
53
+ * of the item to be updated, the name of the table where it resides, an optional
54
+ * condition expression that must be satisfied for the update to succeed, an
55
+ * expression that defines one or more attributes to be updated, and a field
56
+ * indicating whether to retrieve the item's attributes if the condition is not
57
+ * met.</p>
58
+ * </li>
59
+ * <li>
60
+ * <p>
61
+ * <code>Delete</code>  —   Initiates a <code>DeleteItem</code>
62
+ * operation to delete an existing item. This structure specifies the primary key
63
+ * of the item to be deleted, the name of the table where it resides, an optional
64
+ * condition expression that must be satisfied for the deletion to succeed, and a
65
+ * field indicating whether to retrieve the item's attributes if the condition is
66
+ * not met.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>
70
+ * <code>ConditionCheck</code>  —   Applies a condition to an item
71
+ * that is not being modified by the transaction. This structure specifies the
72
+ * primary key of the item to be checked, the name of the table where it resides, a
73
+ * condition expression that must be satisfied for the transaction to succeed, and
74
+ * a field indicating whether to retrieve the item's attributes if the condition is
75
+ * not met.</p>
76
+ * </li>
77
+ * </ul>
78
+ * <p>DynamoDB rejects the entire <code>TransactWriteItems</code> request if any of the
79
+ * following is true:</p>
80
+ * <ul>
81
+ * <li>
82
+ * <p>A condition in one of the condition expressions is not met.</p>
83
+ * </li>
84
+ * <li>
85
+ * <p>An ongoing operation is in the process of updating the same item.</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>There is insufficient provisioned capacity for the transaction to be
89
+ * completed.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>An item size becomes too large (bigger than 400 KB), a local secondary index
93
+ * (LSI) becomes too large, or a similar validation error occurs because of changes
94
+ * made by the transaction.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>The aggregate size of the items in the transaction exceeds 4 MB.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>There is a user error, such as an invalid data format.</p>
101
+ * </li>
102
+ * </ul>
103
+ * @example
104
+ * Use a bare-bones client and the command you need to make an API call.
105
+ * ```javascript
106
+ * import { DynamoDBClient, TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
107
+ * // const { DynamoDBClient, TransactWriteItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
108
+ * // import type { DynamoDBClientConfig } from "@aws-sdk/client-dynamodb";
109
+ * const config = {}; // type is DynamoDBClientConfig
110
+ * const client = new DynamoDBClient(config);
111
+ * const input = { // TransactWriteItemsInput
112
+ * TransactItems: [ // TransactWriteItemList // required
113
+ * { // TransactWriteItem
114
+ * ConditionCheck: { // ConditionCheck
115
+ * Key: { // Key // required
116
+ * "<keys>": { // AttributeValue Union: only one key present
117
+ * S: "STRING_VALUE",
118
+ * N: "STRING_VALUE",
119
+ * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
120
+ * SS: [ // StringSetAttributeValue
121
+ * "STRING_VALUE",
122
+ * ],
123
+ * NS: [ // NumberSetAttributeValue
124
+ * "STRING_VALUE",
125
+ * ],
126
+ * BS: [ // BinarySetAttributeValue
127
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
128
+ * ],
129
+ * M: { // MapAttributeValue
130
+ * "<keys>": {// Union: only one key present
131
+ * S: "STRING_VALUE",
132
+ * N: "STRING_VALUE",
133
+ * B: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
134
+ * SS: [
135
+ * "STRING_VALUE",
136
+ * ],
137
+ * NS: [
138
+ * "STRING_VALUE",
139
+ * ],
140
+ * BS: [
141
+ * new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("")
142
+ * ],
143
+ * M: {
144
+ * "<keys>": "<AttributeValue>",
145
+ * },
146
+ * L: [ // ListAttributeValue
147
+ * "<AttributeValue>",
148
+ * ],
149
+ * NULL: true || false,
150
+ * BOOL: true || false,
151
+ * },
152
+ * },
153
+ * L: [
154
+ * "<AttributeValue>",
155
+ * ],
156
+ * NULL: true || false,
157
+ * BOOL: true || false,
158
+ * },
159
+ * },
160
+ * TableName: "STRING_VALUE", // required
161
+ * ConditionExpression: "STRING_VALUE", // required
162
+ * ExpressionAttributeNames: { // ExpressionAttributeNameMap
163
+ * "<keys>": "STRING_VALUE",
164
+ * },
165
+ * ExpressionAttributeValues: { // ExpressionAttributeValueMap
166
+ * "<keys>": "<AttributeValue>",
167
+ * },
168
+ * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
169
+ * },
170
+ * Put: { // Put
171
+ * Item: { // PutItemInputAttributeMap // required
172
+ * "<keys>": "<AttributeValue>",
173
+ * },
174
+ * TableName: "STRING_VALUE", // required
175
+ * ConditionExpression: "STRING_VALUE",
176
+ * ExpressionAttributeNames: {
177
+ * "<keys>": "STRING_VALUE",
178
+ * },
179
+ * ExpressionAttributeValues: {
180
+ * "<keys>": "<AttributeValue>",
181
+ * },
182
+ * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
183
+ * },
184
+ * Delete: { // Delete
185
+ * Key: { // required
186
+ * "<keys>": "<AttributeValue>",
187
+ * },
188
+ * TableName: "STRING_VALUE", // required
189
+ * ConditionExpression: "STRING_VALUE",
190
+ * ExpressionAttributeNames: {
191
+ * "<keys>": "STRING_VALUE",
192
+ * },
193
+ * ExpressionAttributeValues: {
194
+ * "<keys>": "<AttributeValue>",
195
+ * },
196
+ * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
197
+ * },
198
+ * Update: { // Update
199
+ * Key: { // required
200
+ * "<keys>": "<AttributeValue>",
201
+ * },
202
+ * UpdateExpression: "STRING_VALUE", // required
203
+ * TableName: "STRING_VALUE", // required
204
+ * ConditionExpression: "STRING_VALUE",
205
+ * ExpressionAttributeNames: {
206
+ * "<keys>": "STRING_VALUE",
207
+ * },
208
+ * ExpressionAttributeValues: {
209
+ * "<keys>": "<AttributeValue>",
210
+ * },
211
+ * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
212
+ * },
213
+ * },
214
+ * ],
215
+ * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
216
+ * ReturnItemCollectionMetrics: "SIZE" || "NONE",
217
+ * ClientRequestToken: "STRING_VALUE",
218
+ * };
219
+ * const command = new TransactWriteItemsCommand(input);
220
+ * const response = await client.send(command);
221
+ * // { // TransactWriteItemsOutput
222
+ * // ConsumedCapacity: [ // ConsumedCapacityMultiple
223
+ * // { // ConsumedCapacity
224
+ * // TableName: "STRING_VALUE",
225
+ * // CapacityUnits: Number("double"),
226
+ * // ReadCapacityUnits: Number("double"),
227
+ * // WriteCapacityUnits: Number("double"),
228
+ * // Table: { // Capacity
229
+ * // ReadCapacityUnits: Number("double"),
230
+ * // WriteCapacityUnits: Number("double"),
231
+ * // CapacityUnits: Number("double"),
232
+ * // },
233
+ * // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
234
+ * // "<keys>": {
235
+ * // ReadCapacityUnits: Number("double"),
236
+ * // WriteCapacityUnits: Number("double"),
237
+ * // CapacityUnits: Number("double"),
238
+ * // },
239
+ * // },
240
+ * // GlobalSecondaryIndexes: {
241
+ * // "<keys>": {
242
+ * // ReadCapacityUnits: Number("double"),
243
+ * // WriteCapacityUnits: Number("double"),
244
+ * // CapacityUnits: Number("double"),
245
+ * // },
246
+ * // },
247
+ * // },
248
+ * // ],
249
+ * // ItemCollectionMetrics: { // ItemCollectionMetricsPerTable
250
+ * // "<keys>": [ // ItemCollectionMetricsMultiple
251
+ * // { // ItemCollectionMetrics
252
+ * // ItemCollectionKey: { // ItemCollectionKeyAttributeMap
253
+ * // "<keys>": { // AttributeValue Union: only one key present
254
+ * // S: "STRING_VALUE",
255
+ * // N: "STRING_VALUE",
256
+ * // B: new Uint8Array(),
257
+ * // SS: [ // StringSetAttributeValue
258
+ * // "STRING_VALUE",
259
+ * // ],
260
+ * // NS: [ // NumberSetAttributeValue
261
+ * // "STRING_VALUE",
262
+ * // ],
263
+ * // BS: [ // BinarySetAttributeValue
264
+ * // new Uint8Array(),
265
+ * // ],
266
+ * // M: { // MapAttributeValue
267
+ * // "<keys>": {// Union: only one key present
268
+ * // S: "STRING_VALUE",
269
+ * // N: "STRING_VALUE",
270
+ * // B: new Uint8Array(),
271
+ * // SS: [
272
+ * // "STRING_VALUE",
273
+ * // ],
274
+ * // NS: [
275
+ * // "STRING_VALUE",
276
+ * // ],
277
+ * // BS: [
278
+ * // new Uint8Array(),
279
+ * // ],
280
+ * // M: {
281
+ * // "<keys>": "<AttributeValue>",
282
+ * // },
283
+ * // L: [ // ListAttributeValue
284
+ * // "<AttributeValue>",
285
+ * // ],
286
+ * // NULL: true || false,
287
+ * // BOOL: true || false,
288
+ * // },
289
+ * // },
290
+ * // L: [
291
+ * // "<AttributeValue>",
292
+ * // ],
293
+ * // NULL: true || false,
294
+ * // BOOL: true || false,
295
+ * // },
296
+ * // },
297
+ * // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange
298
+ * // Number("double"),
299
+ * // ],
300
+ * // },
301
+ * // ],
302
+ * // },
303
+ * // };
304
+ *
305
+ * ```
306
+ *
307
+ * @param TransactWriteItemsCommandInput - {@link TransactWriteItemsCommandInput}
308
+ * @returns {@link TransactWriteItemsCommandOutput}
309
+ * @see {@link TransactWriteItemsCommandInput} for command's `input` shape.
310
+ * @see {@link TransactWriteItemsCommandOutput} for command's `response` shape.
311
+ * @see {@link DynamoDBClientResolvedConfig | config} for DynamoDBClient's `config` shape.
312
+ *
313
+ * @throws {@link IdempotentParameterMismatchException} (client fault)
314
+ * <p>DynamoDB rejected the request because you retried a request with a
315
+ * different payload but with an idempotent token that was already used.</p>
316
+ *
317
+ * @throws {@link InternalServerError} (server fault)
318
+ * <p>An error occurred on the server side.</p>
319
+ *
320
+ * @throws {@link InvalidEndpointException} (client fault)
321
+ *
322
+ * @throws {@link ProvisionedThroughputExceededException} (client fault)
323
+ * <p>The request was denied due to request throttling. For detailed information about
324
+ * 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
325
+ * SDKs for DynamoDB automatically retry requests that receive this exception.
326
+ * Your request is eventually successful, unless your retry queue is too large to finish.
327
+ * Reduce the frequency of requests and use exponential backoff. For more information, go
328
+ * 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>
329
+ *
330
+ * @throws {@link RequestLimitExceeded} (client fault)
331
+ * <p>Throughput exceeds the current throughput quota for your account. For detailed
332
+ * information about why the request was throttled and the ARN of the impacted resource,
333
+ * 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
334
+ * increase.</p>
335
+ *
336
+ * @throws {@link ResourceNotFoundException} (client fault)
337
+ * <p>The operation tried to access a nonexistent table or index. The resource might not
338
+ * be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
339
+ *
340
+ * @throws {@link ThrottlingException} (client fault)
341
+ * <p>The request was denied due to request throttling. For detailed information about why
342
+ * 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>
343
+ *
344
+ * @throws {@link TransactionCanceledException} (client fault)
345
+ * <p>The entire transaction request was canceled.</p>
346
+ * <p>DynamoDB cancels a <code>TransactWriteItems</code> request under the following
347
+ * circumstances:</p>
348
+ * <ul>
349
+ * <li>
350
+ * <p>A condition in one of the condition expressions is not met.</p>
351
+ * </li>
352
+ * <li>
353
+ * <p>A table in the <code>TransactWriteItems</code> request is in a different
354
+ * account or region.</p>
355
+ * </li>
356
+ * <li>
357
+ * <p>More than one action in the <code>TransactWriteItems</code> operation
358
+ * targets the same item.</p>
359
+ * </li>
360
+ * <li>
361
+ * <p>There is insufficient provisioned capacity for the transaction to be
362
+ * completed.</p>
363
+ * </li>
364
+ * <li>
365
+ * <p>An item size becomes too large (larger than 400 KB), or a local secondary
366
+ * index (LSI) becomes too large, or a similar validation error occurs because of
367
+ * changes made by the transaction.</p>
368
+ * </li>
369
+ * <li>
370
+ * <p>There is a user error, such as an invalid data format.</p>
371
+ * </li>
372
+ * <li>
373
+ * <p> There is an ongoing <code>TransactWriteItems</code> operation that
374
+ * conflicts with a concurrent <code>TransactWriteItems</code> request. In this
375
+ * case the <code>TransactWriteItems</code> operation fails with a
376
+ * <code>TransactionCanceledException</code>. </p>
377
+ * </li>
378
+ * </ul>
379
+ * <p>DynamoDB cancels a <code>TransactGetItems</code> request under the
380
+ * following circumstances:</p>
381
+ * <ul>
382
+ * <li>
383
+ * <p>There is an ongoing <code>TransactGetItems</code> operation that conflicts
384
+ * with a concurrent <code>PutItem</code>, <code>UpdateItem</code>,
385
+ * <code>DeleteItem</code> or <code>TransactWriteItems</code> request. In this
386
+ * case the <code>TransactGetItems</code> operation fails with a
387
+ * <code>TransactionCanceledException</code>.</p>
388
+ * </li>
389
+ * <li>
390
+ * <p>A table in the <code>TransactGetItems</code> request is in a different
391
+ * account or region.</p>
392
+ * </li>
393
+ * <li>
394
+ * <p>There is insufficient provisioned capacity for the transaction to be
395
+ * completed.</p>
396
+ * </li>
397
+ * <li>
398
+ * <p>There is a user error, such as an invalid data format.</p>
399
+ * </li>
400
+ * </ul>
401
+ * <note>
402
+ * <p>DynamoDB lists the cancellation reasons on the
403
+ * <code>CancellationReasons</code> property. Transaction cancellation reasons are ordered in the order of requested
404
+ * items, if an item has no error it will have <code>None</code> code and
405
+ * <code>Null</code> message.</p>
406
+ * </note>
407
+ * <p>Cancellation reason codes and possible error messages:</p>
408
+ * <ul>
409
+ * <li>
410
+ * <p>No Errors:</p>
411
+ * <ul>
412
+ * <li>
413
+ * <p>Code: <code>None</code>
414
+ * </p>
415
+ * </li>
416
+ * <li>
417
+ * <p>Message: <code>null</code>
418
+ * </p>
419
+ * </li>
420
+ * </ul>
421
+ * </li>
422
+ * <li>
423
+ * <p>Conditional Check Failed:</p>
424
+ * <ul>
425
+ * <li>
426
+ * <p>Code: <code>ConditionalCheckFailed</code>
427
+ * </p>
428
+ * </li>
429
+ * <li>
430
+ * <p>Message: The conditional request failed. </p>
431
+ * </li>
432
+ * </ul>
433
+ * </li>
434
+ * <li>
435
+ * <p>Item Collection Size Limit Exceeded:</p>
436
+ * <ul>
437
+ * <li>
438
+ * <p>Code: <code>ItemCollectionSizeLimitExceeded</code>
439
+ * </p>
440
+ * </li>
441
+ * <li>
442
+ * <p>Message: Collection size exceeded.</p>
443
+ * </li>
444
+ * </ul>
445
+ * </li>
446
+ * <li>
447
+ * <p>Transaction Conflict:</p>
448
+ * <ul>
449
+ * <li>
450
+ * <p>Code: <code>TransactionConflict</code>
451
+ * </p>
452
+ * </li>
453
+ * <li>
454
+ * <p>Message: Transaction is ongoing for the item.</p>
455
+ * </li>
456
+ * </ul>
457
+ * </li>
458
+ * <li>
459
+ * <p>Provisioned Throughput Exceeded:</p>
460
+ * <ul>
461
+ * <li>
462
+ * <p>Code: <code>ProvisionedThroughputExceeded</code>
463
+ * </p>
464
+ * </li>
465
+ * <li>
466
+ * <p>Messages:</p>
467
+ * <ul>
468
+ * <li>
469
+ * <p>The level of configured provisioned throughput for the
470
+ * table was exceeded. Consider increasing your provisioning level
471
+ * with the UpdateTable API.</p>
472
+ * <note>
473
+ * <p>This Message is received when provisioned throughput is
474
+ * exceeded is on a provisioned DynamoDB
475
+ * table.</p>
476
+ * </note>
477
+ * </li>
478
+ * <li>
479
+ * <p>The level of configured provisioned throughput for one or
480
+ * more global secondary indexes of the table was exceeded.
481
+ * Consider increasing your provisioning level for the
482
+ * under-provisioned global secondary indexes with the UpdateTable
483
+ * API.</p>
484
+ * <note>
485
+ * <p>This message is returned when provisioned throughput is
486
+ * exceeded is on a provisioned GSI.</p>
487
+ * </note>
488
+ * </li>
489
+ * </ul>
490
+ * </li>
491
+ * </ul>
492
+ * </li>
493
+ * <li>
494
+ * <p>Throttling Error:</p>
495
+ * <ul>
496
+ * <li>
497
+ * <p>Code: <code>ThrottlingError</code>
498
+ * </p>
499
+ * </li>
500
+ * <li>
501
+ * <p>Messages: </p>
502
+ * <ul>
503
+ * <li>
504
+ * <p>Throughput exceeds the current capacity of your table or
505
+ * index. DynamoDB is automatically scaling your table or
506
+ * index so please try again shortly. If exceptions persist, check
507
+ * if you have a hot key:
508
+ * https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-design.html.</p>
509
+ * <note>
510
+ * <p>This message is returned when writes get throttled on an
511
+ * On-Demand table as DynamoDB is automatically
512
+ * scaling the table.</p>
513
+ * </note>
514
+ * </li>
515
+ * <li>
516
+ * <p>Throughput exceeds the current capacity for one or more
517
+ * global secondary indexes. DynamoDB is automatically
518
+ * scaling your index so please try again shortly.</p>
519
+ * <note>
520
+ * <p>This message is returned when writes get throttled on an
521
+ * On-Demand GSI as DynamoDB is automatically scaling
522
+ * the GSI.</p>
523
+ * </note>
524
+ * </li>
525
+ * </ul>
526
+ * </li>
527
+ * </ul>
528
+ * </li>
529
+ * <li>
530
+ * <p>Validation Error:</p>
531
+ * <ul>
532
+ * <li>
533
+ * <p>Code: <code>ValidationError</code>
534
+ * </p>
535
+ * </li>
536
+ * <li>
537
+ * <p>Messages: </p>
538
+ * <ul>
539
+ * <li>
540
+ * <p>One or more parameter values were invalid.</p>
541
+ * </li>
542
+ * <li>
543
+ * <p>The update expression attempted to update the secondary
544
+ * index key beyond allowed size limits.</p>
545
+ * </li>
546
+ * <li>
547
+ * <p>The update expression attempted to update the secondary
548
+ * index key to unsupported type.</p>
549
+ * </li>
550
+ * <li>
551
+ * <p>An operand in the update expression has an incorrect data
552
+ * type.</p>
553
+ * </li>
554
+ * <li>
555
+ * <p>Item size to update has exceeded the maximum allowed
556
+ * size.</p>
557
+ * </li>
558
+ * <li>
559
+ * <p>Number overflow. Attempting to store a number with
560
+ * magnitude larger than supported range.</p>
561
+ * </li>
562
+ * <li>
563
+ * <p>Type mismatch for attribute to update.</p>
564
+ * </li>
565
+ * <li>
566
+ * <p>Nesting Levels have exceeded supported limits.</p>
567
+ * </li>
568
+ * <li>
569
+ * <p>The document path provided in the update expression is
570
+ * invalid for update.</p>
571
+ * </li>
572
+ * <li>
573
+ * <p>The provided expression refers to an attribute that does
574
+ * not exist in the item.</p>
575
+ * </li>
576
+ * </ul>
577
+ * </li>
578
+ * </ul>
579
+ * </li>
580
+ * </ul>
581
+ *
582
+ * @throws {@link TransactionInProgressException} (client fault)
583
+ * <p>The transaction with the given request token is already in progress.</p>
584
+ * <p> Recommended Settings </p>
585
+ * <note>
586
+ * <p> This is a general recommendation for handling the
587
+ * <code>TransactionInProgressException</code>. These settings help ensure that the
588
+ * client retries will trigger completion of the ongoing
589
+ * <code>TransactWriteItems</code> request. </p>
590
+ * </note>
591
+ * <ul>
592
+ * <li>
593
+ * <p> Set <code>clientExecutionTimeout</code> to a value that allows at least one
594
+ * retry to be processed after 5 seconds have elapsed since the first attempt for
595
+ * the <code>TransactWriteItems</code> operation. </p>
596
+ * </li>
597
+ * <li>
598
+ * <p> Set <code>socketTimeout</code> to a value a little lower than the
599
+ * <code>requestTimeout</code> setting. </p>
600
+ * </li>
601
+ * <li>
602
+ * <p>
603
+ * <code>requestTimeout</code> should be set based on the time taken for the
604
+ * individual retries of a single HTTP request for your use case, but setting it to
605
+ * 1 second or higher should work well to reduce chances of retries and
606
+ * <code>TransactionInProgressException</code> errors. </p>
607
+ * </li>
608
+ * <li>
609
+ * <p> Use exponential backoff when retrying and tune backoff if needed. </p>
610
+ * </li>
611
+ * </ul>
612
+ * <p> Assuming <a href="https://github.com/aws/aws-sdk-java/blob/fd409dee8ae23fb8953e0bb4dbde65536a7e0514/aws-java-sdk-core/src/main/java/com/amazonaws/retry/PredefinedRetryPolicies.java#L97">default retry policy</a>, example timeout settings based on the guidelines
613
+ * above are as follows: </p>
614
+ * <p>Example timeline:</p>
615
+ * <ul>
616
+ * <li>
617
+ * <p>0-1000 first attempt</p>
618
+ * </li>
619
+ * <li>
620
+ * <p>1000-1500 first sleep/delay (default retry policy uses 500 ms as base delay
621
+ * for 4xx errors)</p>
622
+ * </li>
623
+ * <li>
624
+ * <p>1500-2500 second attempt</p>
625
+ * </li>
626
+ * <li>
627
+ * <p>2500-3500 second sleep/delay (500 * 2, exponential backoff)</p>
628
+ * </li>
629
+ * <li>
630
+ * <p>3500-4500 third attempt</p>
631
+ * </li>
632
+ * <li>
633
+ * <p>4500-6500 third sleep/delay (500 * 2^2)</p>
634
+ * </li>
635
+ * <li>
636
+ * <p>6500-7500 fourth attempt (this can trigger inline recovery since 5 seconds
637
+ * have elapsed since the first attempt reached TC)</p>
638
+ * </li>
639
+ * </ul>
640
+ *
641
+ * @throws {@link DynamoDBServiceException}
642
+ * <p>Base exception class for all service exceptions from DynamoDB service.</p>
643
+ *
644
+ *
645
+ * @public
646
+ */
647
+ export declare class TransactWriteItemsCommand extends TransactWriteItemsCommand_base {
648
+ /** @internal type navigation helper, not in runtime. */
649
+ protected static __types: {
650
+ api: {
651
+ input: TransactWriteItemsInput;
652
+ output: TransactWriteItemsOutput;
653
+ };
654
+ sdk: {
655
+ input: TransactWriteItemsCommandInput;
656
+ output: TransactWriteItemsCommandOutput;
657
+ };
658
+ };
659
+ }