@aws-sdk/client-dynamodb 3.362.0 → 3.369.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 (273) hide show
  1. package/dist-cjs/DynamoDB.js +1 -1
  2. package/dist-cjs/DynamoDBClient.js +5 -5
  3. package/dist-cjs/commands/BatchExecuteStatementCommand.js +3 -3
  4. package/dist-cjs/commands/BatchGetItemCommand.js +3 -3
  5. package/dist-cjs/commands/BatchWriteItemCommand.js +3 -3
  6. package/dist-cjs/commands/CreateBackupCommand.js +3 -3
  7. package/dist-cjs/commands/CreateGlobalTableCommand.js +3 -3
  8. package/dist-cjs/commands/CreateTableCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteBackupCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteItemCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteTableCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeBackupCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeContributorInsightsCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeExportCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeGlobalTableCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeImportCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeLimitsCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeTableCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +3 -3
  25. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
  26. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
  27. package/dist-cjs/commands/ExecuteStatementCommand.js +3 -3
  28. package/dist-cjs/commands/ExecuteTransactionCommand.js +3 -3
  29. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +3 -3
  30. package/dist-cjs/commands/GetItemCommand.js +3 -3
  31. package/dist-cjs/commands/ImportTableCommand.js +3 -3
  32. package/dist-cjs/commands/ListBackupsCommand.js +3 -3
  33. package/dist-cjs/commands/ListContributorInsightsCommand.js +3 -3
  34. package/dist-cjs/commands/ListExportsCommand.js +3 -3
  35. package/dist-cjs/commands/ListGlobalTablesCommand.js +3 -3
  36. package/dist-cjs/commands/ListImportsCommand.js +3 -3
  37. package/dist-cjs/commands/ListTablesCommand.js +3 -3
  38. package/dist-cjs/commands/ListTagsOfResourceCommand.js +3 -3
  39. package/dist-cjs/commands/PutItemCommand.js +3 -3
  40. package/dist-cjs/commands/QueryCommand.js +3 -3
  41. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +3 -3
  42. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +3 -3
  43. package/dist-cjs/commands/ScanCommand.js +3 -3
  44. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  45. package/dist-cjs/commands/TransactGetItemsCommand.js +3 -3
  46. package/dist-cjs/commands/TransactWriteItemsCommand.js +3 -3
  47. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  48. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +3 -3
  49. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +3 -3
  50. package/dist-cjs/commands/UpdateGlobalTableCommand.js +3 -3
  51. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateItemCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateTableCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +3 -3
  56. package/dist-cjs/models/DynamoDBServiceException.js +1 -1
  57. package/dist-cjs/models/models_0.js +20 -19
  58. package/dist-cjs/protocols/Aws_json1_0.js +22 -3
  59. package/dist-cjs/runtimeConfig.browser.js +7 -7
  60. package/dist-cjs/runtimeConfig.js +10 -10
  61. package/dist-cjs/runtimeConfig.shared.js +4 -4
  62. package/dist-cjs/waiters/waitForTableExists.js +1 -1
  63. package/dist-cjs/waiters/waitForTableNotExists.js +1 -1
  64. package/dist-es/DynamoDB.js +1 -1
  65. package/dist-es/DynamoDBClient.js +5 -5
  66. package/dist-es/commands/BatchExecuteStatementCommand.js +3 -3
  67. package/dist-es/commands/BatchGetItemCommand.js +3 -3
  68. package/dist-es/commands/BatchWriteItemCommand.js +3 -3
  69. package/dist-es/commands/CreateBackupCommand.js +3 -3
  70. package/dist-es/commands/CreateGlobalTableCommand.js +3 -3
  71. package/dist-es/commands/CreateTableCommand.js +3 -3
  72. package/dist-es/commands/DeleteBackupCommand.js +3 -3
  73. package/dist-es/commands/DeleteItemCommand.js +3 -3
  74. package/dist-es/commands/DeleteTableCommand.js +3 -3
  75. package/dist-es/commands/DescribeBackupCommand.js +3 -3
  76. package/dist-es/commands/DescribeContinuousBackupsCommand.js +3 -3
  77. package/dist-es/commands/DescribeContributorInsightsCommand.js +3 -3
  78. package/dist-es/commands/DescribeEndpointsCommand.js +3 -3
  79. package/dist-es/commands/DescribeExportCommand.js +3 -3
  80. package/dist-es/commands/DescribeGlobalTableCommand.js +3 -3
  81. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +3 -3
  82. package/dist-es/commands/DescribeImportCommand.js +3 -3
  83. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
  84. package/dist-es/commands/DescribeLimitsCommand.js +3 -3
  85. package/dist-es/commands/DescribeTableCommand.js +3 -3
  86. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
  87. package/dist-es/commands/DescribeTimeToLiveCommand.js +3 -3
  88. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
  89. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
  90. package/dist-es/commands/ExecuteStatementCommand.js +3 -3
  91. package/dist-es/commands/ExecuteTransactionCommand.js +3 -3
  92. package/dist-es/commands/ExportTableToPointInTimeCommand.js +3 -3
  93. package/dist-es/commands/GetItemCommand.js +3 -3
  94. package/dist-es/commands/ImportTableCommand.js +3 -3
  95. package/dist-es/commands/ListBackupsCommand.js +3 -3
  96. package/dist-es/commands/ListContributorInsightsCommand.js +3 -3
  97. package/dist-es/commands/ListExportsCommand.js +3 -3
  98. package/dist-es/commands/ListGlobalTablesCommand.js +3 -3
  99. package/dist-es/commands/ListImportsCommand.js +3 -3
  100. package/dist-es/commands/ListTablesCommand.js +3 -3
  101. package/dist-es/commands/ListTagsOfResourceCommand.js +3 -3
  102. package/dist-es/commands/PutItemCommand.js +3 -3
  103. package/dist-es/commands/QueryCommand.js +3 -3
  104. package/dist-es/commands/RestoreTableFromBackupCommand.js +3 -3
  105. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +3 -3
  106. package/dist-es/commands/ScanCommand.js +3 -3
  107. package/dist-es/commands/TagResourceCommand.js +3 -3
  108. package/dist-es/commands/TransactGetItemsCommand.js +3 -3
  109. package/dist-es/commands/TransactWriteItemsCommand.js +3 -3
  110. package/dist-es/commands/UntagResourceCommand.js +3 -3
  111. package/dist-es/commands/UpdateContinuousBackupsCommand.js +3 -3
  112. package/dist-es/commands/UpdateContributorInsightsCommand.js +3 -3
  113. package/dist-es/commands/UpdateGlobalTableCommand.js +3 -3
  114. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +3 -3
  115. package/dist-es/commands/UpdateItemCommand.js +3 -3
  116. package/dist-es/commands/UpdateTableCommand.js +3 -3
  117. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
  118. package/dist-es/commands/UpdateTimeToLiveCommand.js +3 -3
  119. package/dist-es/models/DynamoDBServiceException.js +1 -1
  120. package/dist-es/models/models_0.js +17 -16
  121. package/dist-es/protocols/Aws_json1_0.js +22 -3
  122. package/dist-es/runtimeConfig.browser.js +7 -7
  123. package/dist-es/runtimeConfig.js +10 -10
  124. package/dist-es/runtimeConfig.shared.js +4 -4
  125. package/dist-es/waiters/waitForTableExists.js +1 -1
  126. package/dist-es/waiters/waitForTableNotExists.js +1 -1
  127. package/dist-types/DynamoDB.d.ts +1 -1
  128. package/dist-types/DynamoDBClient.d.ts +8 -8
  129. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +49 -45
  130. package/dist-types/commands/BatchGetItemCommand.d.ts +3 -3
  131. package/dist-types/commands/BatchWriteItemCommand.d.ts +7 -7
  132. package/dist-types/commands/CreateBackupCommand.d.ts +3 -3
  133. package/dist-types/commands/CreateGlobalTableCommand.d.ts +3 -3
  134. package/dist-types/commands/CreateTableCommand.d.ts +3 -3
  135. package/dist-types/commands/DeleteBackupCommand.d.ts +3 -3
  136. package/dist-types/commands/DeleteItemCommand.d.ts +4 -3
  137. package/dist-types/commands/DeleteTableCommand.d.ts +3 -3
  138. package/dist-types/commands/DescribeBackupCommand.d.ts +3 -3
  139. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
  140. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +3 -3
  141. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -3
  142. package/dist-types/commands/DescribeExportCommand.d.ts +3 -3
  143. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +3 -3
  144. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -3
  145. package/dist-types/commands/DescribeImportCommand.d.ts +3 -3
  146. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -3
  147. package/dist-types/commands/DescribeLimitsCommand.d.ts +3 -3
  148. package/dist-types/commands/DescribeTableCommand.d.ts +3 -3
  149. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -3
  150. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +3 -3
  151. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -3
  152. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -3
  153. package/dist-types/commands/ExecuteStatementCommand.d.ts +4 -3
  154. package/dist-types/commands/ExecuteTransactionCommand.d.ts +4 -3
  155. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +3 -3
  156. package/dist-types/commands/GetItemCommand.d.ts +3 -3
  157. package/dist-types/commands/ImportTableCommand.d.ts +3 -3
  158. package/dist-types/commands/ListBackupsCommand.d.ts +3 -3
  159. package/dist-types/commands/ListContributorInsightsCommand.d.ts +3 -3
  160. package/dist-types/commands/ListExportsCommand.d.ts +3 -3
  161. package/dist-types/commands/ListGlobalTablesCommand.d.ts +3 -3
  162. package/dist-types/commands/ListImportsCommand.d.ts +3 -3
  163. package/dist-types/commands/ListTablesCommand.d.ts +3 -3
  164. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +3 -3
  165. package/dist-types/commands/PutItemCommand.d.ts +5 -5
  166. package/dist-types/commands/QueryCommand.d.ts +3 -3
  167. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +3 -3
  168. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -3
  169. package/dist-types/commands/ScanCommand.d.ts +3 -3
  170. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  171. package/dist-types/commands/TransactGetItemsCommand.d.ts +3 -3
  172. package/dist-types/commands/TransactWriteItemsCommand.d.ts +3 -3
  173. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  174. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -3
  175. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +3 -3
  176. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +3 -3
  177. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -3
  178. package/dist-types/commands/UpdateItemCommand.d.ts +4 -3
  179. package/dist-types/commands/UpdateTableCommand.d.ts +3 -3
  180. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -3
  181. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +3 -3
  182. package/dist-types/endpoint/EndpointParameters.d.ts +1 -2
  183. package/dist-types/endpoint/endpointResolver.d.ts +1 -1
  184. package/dist-types/endpoint/ruleset.d.ts +1 -1
  185. package/dist-types/models/DynamoDBServiceException.d.ts +1 -1
  186. package/dist-types/models/models_0.d.ts +125 -69
  187. package/dist-types/pagination/Interfaces.d.ts +1 -1
  188. package/dist-types/pagination/ListContributorInsightsPaginator.d.ts +1 -1
  189. package/dist-types/pagination/ListExportsPaginator.d.ts +1 -1
  190. package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
  191. package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
  192. package/dist-types/pagination/QueryPaginator.d.ts +1 -1
  193. package/dist-types/pagination/ScanPaginator.d.ts +1 -1
  194. package/dist-types/runtimeConfig.browser.d.ts +20 -20
  195. package/dist-types/runtimeConfig.d.ts +20 -20
  196. package/dist-types/runtimeConfig.native.d.ts +19 -19
  197. package/dist-types/runtimeConfig.shared.d.ts +4 -4
  198. package/dist-types/ts3.4/DynamoDB.d.ts +1 -1
  199. package/dist-types/ts3.4/DynamoDBClient.d.ts +19 -21
  200. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +3 -3
  201. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +3 -3
  202. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +3 -3
  203. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +3 -3
  204. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +3 -3
  205. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +3 -3
  206. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +3 -3
  207. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +3 -3
  208. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +3 -3
  209. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +3 -3
  210. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
  211. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +3 -3
  212. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +3 -3
  213. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +3 -3
  214. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +3 -3
  215. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +3 -3
  216. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +3 -3
  217. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +3 -3
  218. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +3 -3
  219. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +3 -3
  220. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +3 -3
  221. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +3 -3
  222. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +3 -3
  223. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +3 -3
  224. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
  225. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +3 -3
  226. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +3 -3
  227. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +3 -3
  228. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +3 -3
  229. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +3 -3
  230. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +3 -3
  231. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +3 -3
  232. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +3 -3
  233. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +3 -3
  234. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +3 -3
  235. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +3 -3
  236. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +3 -3
  237. package/dist-types/ts3.4/commands/QueryCommand.d.ts +3 -3
  238. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +3 -3
  239. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +3 -3
  240. package/dist-types/ts3.4/commands/ScanCommand.d.ts +3 -3
  241. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  242. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +3 -3
  243. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +3 -3
  244. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  245. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +3 -3
  246. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +3 -3
  247. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +3 -3
  248. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +3 -3
  249. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +3 -3
  250. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +3 -3
  251. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +3 -3
  252. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +3 -3
  253. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -2
  254. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  255. package/dist-types/ts3.4/endpoint/ruleset.d.ts +1 -1
  256. package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +1 -1
  257. package/dist-types/ts3.4/models/models_0.d.ts +50 -30
  258. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
  259. package/dist-types/ts3.4/pagination/ListContributorInsightsPaginator.d.ts +1 -1
  260. package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +1 -1
  261. package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +1 -1
  262. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -1
  263. package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +1 -1
  264. package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +1 -1
  265. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +35 -40
  266. package/dist-types/ts3.4/runtimeConfig.d.ts +35 -37
  267. package/dist-types/ts3.4/runtimeConfig.native.d.ts +33 -38
  268. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -4
  269. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +1 -1
  270. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +1 -1
  271. package/dist-types/waiters/waitForTableExists.d.ts +1 -1
  272. package/dist-types/waiters/waitForTableNotExists.d.ts +1 -1
  273. package/package.json +36 -35
@@ -1,5 +1,5 @@
1
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
2
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { DynamoDBServiceException as __BaseException } from "../models/DynamoDBServiceException";
5
5
  import { AttributeValue, BackupInUseException, BackupNotFoundException, ConditionalCheckFailedException, ContinuousBackupsUnavailableException, DuplicateItemException, ExportConflictException, ExportNotFoundException, GlobalTableAlreadyExistsException, GlobalTableNotFoundException, IdempotentParameterMismatchException, ImportConflictException, ImportNotFoundException, IndexNotFoundException, InternalServerError, InvalidEndpointException, InvalidExportTimeException, InvalidRestoreTimeException, ItemCollectionSizeLimitExceededException, LimitExceededException, PointInTimeRecoveryUnavailableException, ProvisionedThroughputExceededException, ReplicaAlreadyExistsException, ReplicaNotFoundException, RequestLimitExceeded, ResourceInUseException, ResourceNotFoundException, TableAlreadyExistsException, TableInUseException, TableNotFoundException, TransactionCanceledException, TransactionConflictException, TransactionInProgressException, } from "../models/models_0";
@@ -2556,7 +2556,7 @@ const de_BackupNotFoundExceptionRes = async (parsedOutput, context) => {
2556
2556
  };
2557
2557
  const de_ConditionalCheckFailedExceptionRes = async (parsedOutput, context) => {
2558
2558
  const body = parsedOutput.body;
2559
- const deserialized = _json(body);
2559
+ const deserialized = de_ConditionalCheckFailedException(body, context);
2560
2560
  const exception = new ConditionalCheckFailedException({
2561
2561
  $metadata: deserializeMetadata(parsedOutput),
2562
2562
  ...deserialized,
@@ -2909,6 +2909,7 @@ const se_BatchStatementRequest = (input, context) => {
2909
2909
  return take(input, {
2910
2910
  ConsistentRead: [],
2911
2911
  Parameters: (_) => se_PreparedStatementParameters(_, context),
2912
+ ReturnValuesOnConditionCheckFailure: [],
2912
2913
  Statement: [],
2913
2914
  });
2914
2915
  };
@@ -2972,6 +2973,7 @@ const se_DeleteItemInput = (input, context) => {
2972
2973
  ReturnConsumedCapacity: [],
2973
2974
  ReturnItemCollectionMetrics: [],
2974
2975
  ReturnValues: [],
2976
+ ReturnValuesOnConditionCheckFailure: [],
2975
2977
  TableName: [],
2976
2978
  });
2977
2979
  };
@@ -2987,6 +2989,7 @@ const se_ExecuteStatementInput = (input, context) => {
2987
2989
  NextToken: [],
2988
2990
  Parameters: (_) => se_PreparedStatementParameters(_, context),
2989
2991
  ReturnConsumedCapacity: [],
2992
+ ReturnValuesOnConditionCheckFailure: [],
2990
2993
  Statement: [],
2991
2994
  });
2992
2995
  };
@@ -3164,6 +3167,7 @@ const se_MapAttributeValue = (input, context) => {
3164
3167
  const se_ParameterizedStatement = (input, context) => {
3165
3168
  return take(input, {
3166
3169
  Parameters: (_) => se_PreparedStatementParameters(_, context),
3170
+ ReturnValuesOnConditionCheckFailure: [],
3167
3171
  Statement: [],
3168
3172
  });
3169
3173
  };
@@ -3209,6 +3213,7 @@ const se_PutItemInput = (input, context) => {
3209
3213
  ReturnConsumedCapacity: [],
3210
3214
  ReturnItemCollectionMetrics: [],
3211
3215
  ReturnValues: [],
3216
+ ReturnValuesOnConditionCheckFailure: [],
3212
3217
  TableName: [],
3213
3218
  });
3214
3219
  };
@@ -3412,6 +3417,7 @@ const se_UpdateItemInput = (input, context) => {
3412
3417
  ReturnConsumedCapacity: [],
3413
3418
  ReturnItemCollectionMetrics: [],
3414
3419
  ReturnValues: [],
3420
+ ReturnValuesOnConditionCheckFailure: [],
3415
3421
  TableName: [],
3416
3422
  UpdateExpression: [],
3417
3423
  });
@@ -3600,9 +3606,16 @@ const de_BatchGetResponseMap = (output, context) => {
3600
3606
  return acc;
3601
3607
  }, {});
3602
3608
  };
3609
+ const de_BatchStatementError = (output, context) => {
3610
+ return take(output, {
3611
+ Code: __expectString,
3612
+ Item: (_) => de_AttributeMap(_, context),
3613
+ Message: __expectString,
3614
+ });
3615
+ };
3603
3616
  const de_BatchStatementResponse = (output, context) => {
3604
3617
  return take(output, {
3605
- Error: _json,
3618
+ Error: (_) => de_BatchStatementError(_, context),
3606
3619
  Item: (_) => de_AttributeMap(_, context),
3607
3620
  TableName: __expectString,
3608
3621
  });
@@ -3659,6 +3672,12 @@ const de_Capacity = (output, context) => {
3659
3672
  WriteCapacityUnits: __limitedParseDouble,
3660
3673
  });
3661
3674
  };
3675
+ const de_ConditionalCheckFailedException = (output, context) => {
3676
+ return take(output, {
3677
+ Item: (_) => de_AttributeMap(_, context),
3678
+ message: __expectString,
3679
+ });
3680
+ };
3662
3681
  const de_ConsumedCapacity = (output, context) => {
3663
3682
  return take(output, {
3664
3683
  CapacityUnits: __limitedParseDouble,
@@ -1,14 +1,14 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
- import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
- import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
- import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
- import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
7
- import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
8
3
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
+ import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { calculateBodyLength } from "@smithy/util-body-length-browser";
8
+ import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
9
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
10
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -1,19 +1,19 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
4
3
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
5
- import { Hash } from "@aws-sdk/hash-node";
6
4
  import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
8
- import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
- import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
11
- import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
12
5
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
6
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
7
+ import { Hash } from "@smithy/hash-node";
8
+ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
9
+ import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
10
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
+ import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
13
13
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
14
- import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
15
- import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
14
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
15
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
16
+ import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
17
17
  export const getRuntimeConfig = (config) => {
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -1,7 +1,7 @@
1
- import { NoOpLogger } from "@aws-sdk/smithy-client";
2
- import { parseUrl } from "@aws-sdk/url-parser";
3
- import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
4
- import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
1
+ import { NoOpLogger } from "@smithy/smithy-client";
2
+ import { parseUrl } from "@smithy/url-parser";
3
+ import { fromBase64, toBase64 } from "@smithy/util-base64";
4
+ import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
5
5
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
6
6
  export const getRuntimeConfig = (config) => ({
7
7
  apiVersion: "2012-08-10",
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
2
2
  import { DescribeTableCommand } from "../commands/DescribeTableCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
1
+ import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter";
2
2
  import { DescribeTableCommand } from "../commands/DescribeTableCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
3
3
  import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
4
4
  import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand";
@@ -1,14 +1,14 @@
1
- import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
3
1
  import { EndpointDiscoveryInputConfig, EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
4
2
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
6
3
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
7
4
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
8
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
5
+ import { Credentials as __Credentials } from "@aws-sdk/types";
6
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
7
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
8
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
10
9
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
11
- import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
10
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
11
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
12
12
  import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
13
13
  import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
14
14
  import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand";
@@ -81,7 +81,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
81
81
  */
82
82
  requestHandler?: __HttpHandler;
83
83
  /**
84
- * A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
84
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
85
85
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
86
86
  * @internal
87
87
  */
@@ -177,7 +177,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
177
177
  */
178
178
  logger?: __Logger;
179
179
  /**
180
- * The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
180
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
181
181
  */
182
182
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
183
183
  }
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { BatchExecuteStatementInput, BatchExecuteStatementOutput } from "../models/models_0";
6
6
  /**
@@ -92,6 +92,7 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
92
92
  * },
93
93
  * ],
94
94
  * ConsistentRead: true || false,
95
+ * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
95
96
  * },
96
97
  * ],
97
98
  * ReturnConsumedCapacity: "INDEXES" || "TOTAL" || "NONE",
@@ -104,53 +105,56 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
104
105
  * // Error: { // BatchStatementError
105
106
  * // Code: "ConditionalCheckFailed" || "ItemCollectionSizeLimitExceeded" || "RequestLimitExceeded" || "ValidationError" || "ProvisionedThroughputExceeded" || "TransactionConflict" || "ThrottlingError" || "InternalServerError" || "ResourceNotFound" || "AccessDenied" || "DuplicateItem",
106
107
  * // Message: "STRING_VALUE",
107
- * // },
108
- * // TableName: "STRING_VALUE",
109
- * // Item: { // AttributeMap
110
- * // "<keys>": { // AttributeValue Union: only one key present
111
- * // S: "STRING_VALUE",
112
- * // N: "STRING_VALUE",
113
- * // B: "BLOB_VALUE",
114
- * // SS: [ // StringSetAttributeValue
115
- * // "STRING_VALUE",
116
- * // ],
117
- * // NS: [ // NumberSetAttributeValue
118
- * // "STRING_VALUE",
119
- * // ],
120
- * // BS: [ // BinarySetAttributeValue
121
- * // "BLOB_VALUE",
122
- * // ],
123
- * // M: { // MapAttributeValue
124
- * // "<keys>": {// Union: only one key present
125
- * // S: "STRING_VALUE",
126
- * // N: "STRING_VALUE",
127
- * // B: "BLOB_VALUE",
128
- * // SS: [
129
- * // "STRING_VALUE",
130
- * // ],
131
- * // NS: [
132
- * // "STRING_VALUE",
133
- * // ],
134
- * // BS: [
135
- * // "BLOB_VALUE",
136
- * // ],
137
- * // M: {
138
- * // "<keys>": "<AttributeValue>",
108
+ * // Item: { // AttributeMap
109
+ * // "<keys>": { // AttributeValue Union: only one key present
110
+ * // S: "STRING_VALUE",
111
+ * // N: "STRING_VALUE",
112
+ * // B: "BLOB_VALUE",
113
+ * // SS: [ // StringSetAttributeValue
114
+ * // "STRING_VALUE",
115
+ * // ],
116
+ * // NS: [ // NumberSetAttributeValue
117
+ * // "STRING_VALUE",
118
+ * // ],
119
+ * // BS: [ // BinarySetAttributeValue
120
+ * // "BLOB_VALUE",
121
+ * // ],
122
+ * // M: { // MapAttributeValue
123
+ * // "<keys>": {// Union: only one key present
124
+ * // S: "STRING_VALUE",
125
+ * // N: "STRING_VALUE",
126
+ * // B: "BLOB_VALUE",
127
+ * // SS: [
128
+ * // "STRING_VALUE",
129
+ * // ],
130
+ * // NS: [
131
+ * // "STRING_VALUE",
132
+ * // ],
133
+ * // BS: [
134
+ * // "BLOB_VALUE",
135
+ * // ],
136
+ * // M: {
137
+ * // "<keys>": "<AttributeValue>",
138
+ * // },
139
+ * // L: [ // ListAttributeValue
140
+ * // "<AttributeValue>",
141
+ * // ],
142
+ * // NULL: true || false,
143
+ * // BOOL: true || false,
139
144
  * // },
140
- * // L: [ // ListAttributeValue
141
- * // "<AttributeValue>",
142
- * // ],
143
- * // NULL: true || false,
144
- * // BOOL: true || false,
145
145
  * // },
146
+ * // L: [
147
+ * // "<AttributeValue>",
148
+ * // ],
149
+ * // NULL: true || false,
150
+ * // BOOL: true || false,
146
151
  * // },
147
- * // L: [
148
- * // "<AttributeValue>",
149
- * // ],
150
- * // NULL: true || false,
151
- * // BOOL: true || false,
152
152
  * // },
153
153
  * // },
154
+ * // TableName: "STRING_VALUE",
155
+ * // Item: {
156
+ * // "<keys>": "<AttributeValue>",
157
+ * // },
154
158
  * // },
155
159
  * // ],
156
160
  * // ConsumedCapacity: [ // ConsumedCapacityMultiple
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { BatchGetItemInput, BatchGetItemOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { BatchWriteItemInput, BatchWriteItemOutput } from "../models/models_0";
6
6
  /**
@@ -31,10 +31,10 @@ export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __Met
31
31
  * for the API call. For more details on this distinction, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html">Naming Rules and Data Types</a>.</p>
32
32
  * <note>
33
33
  * <p>
34
- * <code>BatchWriteItem</code> cannot update items. If you perform a <code>BatchWriteItem</code>
35
- * operation on an existing item, that item's values will be overwritten by the
36
- * operation and it will appear like it was updated. To update items, we recommend you
37
- * use the <code>UpdateItem</code> action.</p>
34
+ * <code>BatchWriteItem</code> cannot update items. If you perform a
35
+ * <code>BatchWriteItem</code> operation on an existing item, that item's values
36
+ * will be overwritten by the operation and it will appear like it was updated. To
37
+ * update items, we recommend you use the <code>UpdateItem</code> action.</p>
38
38
  * </note>
39
39
  * <p>The individual <code>PutItem</code> and <code>DeleteItem</code> operations specified
40
40
  * in <code>BatchWriteItem</code> are atomic; however <code>BatchWriteItem</code> as a
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { CreateBackupInput, CreateBackupOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { CreateGlobalTableInput, CreateGlobalTableOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { CreateTableInput, CreateTableOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DeleteBackupInput, DeleteBackupOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DeleteItemInput, DeleteItemOutput } from "../models/models_0";
6
6
  /**
@@ -108,6 +108,7 @@ export interface DeleteItemCommandOutput extends DeleteItemOutput, __MetadataBea
108
108
  * ExpressionAttributeValues: { // ExpressionAttributeValueMap
109
109
  * "<keys>": "<AttributeValue>",
110
110
  * },
111
+ * ReturnValuesOnConditionCheckFailure: "ALL_OLD" || "NONE",
111
112
  * };
112
113
  * const command = new DeleteItemCommand(input);
113
114
  * const response = await client.send(command);
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DeleteTableInput, DeleteTableOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeBackupInput, DescribeBackupOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeContinuousBackupsInput, DescribeContinuousBackupsOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeContributorInsightsInput, DescribeContributorInsightsOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeExportInput, DescribeExportOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeGlobalTableInput, DescribeGlobalTableOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeGlobalTableSettingsInput, DescribeGlobalTableSettingsOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeImportInput, DescribeImportOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeKinesisStreamingDestinationInput, DescribeKinesisStreamingDestinationOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeLimitsInput, DescribeLimitsOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeTableInput, DescribeTableOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeTableReplicaAutoScalingInput, DescribeTableReplicaAutoScalingOutput } from "../models/models_0";
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
- import { Command as $Command } from "@aws-sdk/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { DynamoDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBClient";
5
5
  import { DescribeTimeToLiveInput, DescribeTimeToLiveOutput } from "../models/models_0";
6
6
  /**