@aws-sdk/client-dynamodb 3.194.0 → 3.196.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 (244) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/DynamoDBClient.js +12 -9
  3. package/dist-cjs/commands/BatchExecuteStatementCommand.js +10 -0
  4. package/dist-cjs/commands/BatchGetItemCommand.js +10 -0
  5. package/dist-cjs/commands/BatchWriteItemCommand.js +10 -0
  6. package/dist-cjs/commands/CreateBackupCommand.js +10 -0
  7. package/dist-cjs/commands/CreateGlobalTableCommand.js +10 -0
  8. package/dist-cjs/commands/CreateTableCommand.js +10 -0
  9. package/dist-cjs/commands/DeleteBackupCommand.js +10 -0
  10. package/dist-cjs/commands/DeleteItemCommand.js +10 -0
  11. package/dist-cjs/commands/DeleteTableCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeBackupCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeContributorInsightsCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeEndpointsCommand.js +10 -0
  16. package/dist-cjs/commands/DescribeExportCommand.js +10 -0
  17. package/dist-cjs/commands/DescribeGlobalTableCommand.js +10 -0
  18. package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +10 -0
  19. package/dist-cjs/commands/DescribeImportCommand.js +10 -0
  20. package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +10 -0
  21. package/dist-cjs/commands/DescribeLimitsCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeTableCommand.js +10 -0
  23. package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +10 -0
  24. package/dist-cjs/commands/DescribeTimeToLiveCommand.js +10 -0
  25. package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +10 -0
  26. package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +10 -0
  27. package/dist-cjs/commands/ExecuteStatementCommand.js +10 -0
  28. package/dist-cjs/commands/ExecuteTransactionCommand.js +10 -0
  29. package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +10 -0
  30. package/dist-cjs/commands/GetItemCommand.js +10 -0
  31. package/dist-cjs/commands/ImportTableCommand.js +10 -0
  32. package/dist-cjs/commands/ListBackupsCommand.js +10 -0
  33. package/dist-cjs/commands/ListContributorInsightsCommand.js +10 -0
  34. package/dist-cjs/commands/ListExportsCommand.js +10 -0
  35. package/dist-cjs/commands/ListGlobalTablesCommand.js +10 -0
  36. package/dist-cjs/commands/ListImportsCommand.js +10 -0
  37. package/dist-cjs/commands/ListTablesCommand.js +10 -0
  38. package/dist-cjs/commands/ListTagsOfResourceCommand.js +10 -0
  39. package/dist-cjs/commands/PutItemCommand.js +10 -0
  40. package/dist-cjs/commands/QueryCommand.js +10 -0
  41. package/dist-cjs/commands/RestoreTableFromBackupCommand.js +10 -0
  42. package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +10 -0
  43. package/dist-cjs/commands/ScanCommand.js +10 -0
  44. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  45. package/dist-cjs/commands/TransactGetItemsCommand.js +10 -0
  46. package/dist-cjs/commands/TransactWriteItemsCommand.js +10 -0
  47. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  48. package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +10 -0
  49. package/dist-cjs/commands/UpdateContributorInsightsCommand.js +10 -0
  50. package/dist-cjs/commands/UpdateGlobalTableCommand.js +10 -0
  51. package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +10 -0
  52. package/dist-cjs/commands/UpdateItemCommand.js +10 -0
  53. package/dist-cjs/commands/UpdateTableCommand.js +10 -0
  54. package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +10 -0
  55. package/dist-cjs/commands/UpdateTimeToLiveCommand.js +10 -0
  56. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  57. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  58. package/dist-cjs/endpoint/ruleset.js +376 -0
  59. package/dist-cjs/runtimeConfig.shared.js +3 -3
  60. package/dist-es/DynamoDBClient.js +13 -10
  61. package/dist-es/commands/BatchExecuteStatementCommand.js +10 -0
  62. package/dist-es/commands/BatchGetItemCommand.js +10 -0
  63. package/dist-es/commands/BatchWriteItemCommand.js +10 -0
  64. package/dist-es/commands/CreateBackupCommand.js +10 -0
  65. package/dist-es/commands/CreateGlobalTableCommand.js +10 -0
  66. package/dist-es/commands/CreateTableCommand.js +10 -0
  67. package/dist-es/commands/DeleteBackupCommand.js +10 -0
  68. package/dist-es/commands/DeleteItemCommand.js +10 -0
  69. package/dist-es/commands/DeleteTableCommand.js +10 -0
  70. package/dist-es/commands/DescribeBackupCommand.js +10 -0
  71. package/dist-es/commands/DescribeContinuousBackupsCommand.js +10 -0
  72. package/dist-es/commands/DescribeContributorInsightsCommand.js +10 -0
  73. package/dist-es/commands/DescribeEndpointsCommand.js +10 -0
  74. package/dist-es/commands/DescribeExportCommand.js +10 -0
  75. package/dist-es/commands/DescribeGlobalTableCommand.js +10 -0
  76. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +10 -0
  77. package/dist-es/commands/DescribeImportCommand.js +10 -0
  78. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +10 -0
  79. package/dist-es/commands/DescribeLimitsCommand.js +10 -0
  80. package/dist-es/commands/DescribeTableCommand.js +10 -0
  81. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +10 -0
  82. package/dist-es/commands/DescribeTimeToLiveCommand.js +10 -0
  83. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +10 -0
  84. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +10 -0
  85. package/dist-es/commands/ExecuteStatementCommand.js +10 -0
  86. package/dist-es/commands/ExecuteTransactionCommand.js +10 -0
  87. package/dist-es/commands/ExportTableToPointInTimeCommand.js +10 -0
  88. package/dist-es/commands/GetItemCommand.js +10 -0
  89. package/dist-es/commands/ImportTableCommand.js +10 -0
  90. package/dist-es/commands/ListBackupsCommand.js +10 -0
  91. package/dist-es/commands/ListContributorInsightsCommand.js +10 -0
  92. package/dist-es/commands/ListExportsCommand.js +10 -0
  93. package/dist-es/commands/ListGlobalTablesCommand.js +10 -0
  94. package/dist-es/commands/ListImportsCommand.js +10 -0
  95. package/dist-es/commands/ListTablesCommand.js +10 -0
  96. package/dist-es/commands/ListTagsOfResourceCommand.js +10 -0
  97. package/dist-es/commands/PutItemCommand.js +10 -0
  98. package/dist-es/commands/QueryCommand.js +10 -0
  99. package/dist-es/commands/RestoreTableFromBackupCommand.js +10 -0
  100. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +10 -0
  101. package/dist-es/commands/ScanCommand.js +10 -0
  102. package/dist-es/commands/TagResourceCommand.js +10 -0
  103. package/dist-es/commands/TransactGetItemsCommand.js +10 -0
  104. package/dist-es/commands/TransactWriteItemsCommand.js +10 -0
  105. package/dist-es/commands/UntagResourceCommand.js +10 -0
  106. package/dist-es/commands/UpdateContinuousBackupsCommand.js +10 -0
  107. package/dist-es/commands/UpdateContributorInsightsCommand.js +10 -0
  108. package/dist-es/commands/UpdateGlobalTableCommand.js +10 -0
  109. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +10 -0
  110. package/dist-es/commands/UpdateItemCommand.js +10 -0
  111. package/dist-es/commands/UpdateTableCommand.js +10 -0
  112. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +10 -0
  113. package/dist-es/commands/UpdateTimeToLiveCommand.js +10 -0
  114. package/dist-es/endpoint/EndpointParameters.js +8 -0
  115. package/dist-es/endpoint/endpointResolver.js +8 -0
  116. package/dist-es/endpoint/ruleset.js +373 -0
  117. package/dist-es/runtimeConfig.shared.js +2 -2
  118. package/dist-types/DynamoDBClient.d.ts +6 -9
  119. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -0
  120. package/dist-types/commands/BatchGetItemCommand.d.ts +2 -0
  121. package/dist-types/commands/BatchWriteItemCommand.d.ts +2 -0
  122. package/dist-types/commands/CreateBackupCommand.d.ts +2 -0
  123. package/dist-types/commands/CreateGlobalTableCommand.d.ts +2 -0
  124. package/dist-types/commands/CreateTableCommand.d.ts +2 -0
  125. package/dist-types/commands/DeleteBackupCommand.d.ts +2 -0
  126. package/dist-types/commands/DeleteItemCommand.d.ts +2 -0
  127. package/dist-types/commands/DeleteTableCommand.d.ts +2 -0
  128. package/dist-types/commands/DescribeBackupCommand.d.ts +2 -0
  129. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -0
  130. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +2 -0
  131. package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -0
  132. package/dist-types/commands/DescribeExportCommand.d.ts +2 -0
  133. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -0
  134. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -0
  135. package/dist-types/commands/DescribeImportCommand.d.ts +2 -0
  136. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -0
  137. package/dist-types/commands/DescribeLimitsCommand.d.ts +2 -0
  138. package/dist-types/commands/DescribeTableCommand.d.ts +2 -0
  139. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -0
  140. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +2 -0
  141. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -0
  142. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -0
  143. package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -0
  144. package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -0
  145. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +2 -0
  146. package/dist-types/commands/GetItemCommand.d.ts +2 -0
  147. package/dist-types/commands/ImportTableCommand.d.ts +2 -0
  148. package/dist-types/commands/ListBackupsCommand.d.ts +2 -0
  149. package/dist-types/commands/ListContributorInsightsCommand.d.ts +2 -0
  150. package/dist-types/commands/ListExportsCommand.d.ts +2 -0
  151. package/dist-types/commands/ListGlobalTablesCommand.d.ts +2 -0
  152. package/dist-types/commands/ListImportsCommand.d.ts +2 -0
  153. package/dist-types/commands/ListTablesCommand.d.ts +2 -0
  154. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +2 -0
  155. package/dist-types/commands/PutItemCommand.d.ts +2 -0
  156. package/dist-types/commands/QueryCommand.d.ts +2 -0
  157. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +2 -0
  158. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +2 -0
  159. package/dist-types/commands/ScanCommand.d.ts +2 -0
  160. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  161. package/dist-types/commands/TransactGetItemsCommand.d.ts +2 -0
  162. package/dist-types/commands/TransactWriteItemsCommand.d.ts +2 -0
  163. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  164. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -0
  165. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +2 -0
  166. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +2 -0
  167. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -0
  168. package/dist-types/commands/UpdateItemCommand.d.ts +2 -0
  169. package/dist-types/commands/UpdateTableCommand.d.ts +2 -0
  170. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -0
  171. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +2 -0
  172. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  173. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  174. package/dist-types/endpoint/ruleset.d.ts +2 -0
  175. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  176. package/dist-types/runtimeConfig.d.ts +4 -2
  177. package/dist-types/runtimeConfig.native.d.ts +4 -2
  178. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  179. package/dist-types/ts3.4/DynamoDBClient.d.ts +15 -8
  180. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -0
  181. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +2 -0
  183. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -0
  186. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +2 -0
  187. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +2 -0
  188. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -0
  189. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +2 -0
  190. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +2 -0
  191. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +2 -0
  192. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -0
  193. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +2 -0
  195. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +2 -0
  197. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +2 -0
  216. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  225. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +2 -0
  226. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +2 -0
  227. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +2 -0
  228. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -0
  229. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +2 -0
  230. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -0
  231. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -0
  232. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +2 -0
  233. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  234. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  235. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  236. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  237. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  238. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  239. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  240. package/package.json +5 -3
  241. package/dist-cjs/endpoints.js +0 -204
  242. package/dist-es/endpoints.js +0 -200
  243. package/dist-types/endpoints.d.ts +0 -2
  244. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class QueryCommand extends $Command<
19
20
  DynamoDBClientResolvedConfig
20
21
  > {
21
22
  readonly input: QueryCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: QueryCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class RestoreTableFromBackupCommand extends $Command<
25
26
  DynamoDBClientResolvedConfig
26
27
  > {
27
28
  readonly input: RestoreTableFromBackupCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RestoreTableFromBackupCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class RestoreTableToPointInTimeCommand extends $Command<
25
26
  DynamoDBClientResolvedConfig
26
27
  > {
27
28
  readonly input: RestoreTableToPointInTimeCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RestoreTableToPointInTimeCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class ScanCommand extends $Command<
19
20
  DynamoDBClientResolvedConfig
20
21
  > {
21
22
  readonly input: ScanCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: ScanCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class TagResourceCommand extends $Command<
19
20
  DynamoDBClientResolvedConfig
20
21
  > {
21
22
  readonly input: TagResourceCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: TagResourceCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class TransactGetItemsCommand extends $Command<
24
25
  DynamoDBClientResolvedConfig
25
26
  > {
26
27
  readonly input: TransactGetItemsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: TransactGetItemsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class TransactWriteItemsCommand extends $Command<
25
26
  DynamoDBClientResolvedConfig
26
27
  > {
27
28
  readonly input: TransactWriteItemsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: TransactWriteItemsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -19,6 +20,7 @@ export declare class UntagResourceCommand extends $Command<
19
20
  DynamoDBClientResolvedConfig
20
21
  > {
21
22
  readonly input: UntagResourceCommandInput;
23
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
22
24
  constructor(input: UntagResourceCommandInput);
23
25
  resolveMiddleware(
24
26
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateContinuousBackupsCommand extends $Command<
25
26
  DynamoDBClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateContinuousBackupsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateContinuousBackupsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateContributorInsightsCommand extends $Command<
25
26
  DynamoDBClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateContributorInsightsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateContributorInsightsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateGlobalTableCommand extends $Command<
24
25
  DynamoDBClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateGlobalTableCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateGlobalTableCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateGlobalTableSettingsCommand extends $Command<
25
26
  DynamoDBClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateGlobalTableSettingsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateGlobalTableSettingsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateItemCommand extends $Command<
21
22
  DynamoDBClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateItemCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateItemCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateTableCommand extends $Command<
21
22
  DynamoDBClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateTableCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateTableCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateTableReplicaAutoScalingCommand extends $Command<
25
26
  DynamoDBClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateTableReplicaAutoScalingCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateTableReplicaAutoScalingCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class UpdateTimeToLiveCommand extends $Command<
24
25
  DynamoDBClientResolvedConfig
25
26
  > {
26
27
  readonly input: UpdateTimeToLiveCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: UpdateTimeToLiveCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -39,12 +39,22 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
39
39
  disableHostPrefix: boolean;
40
40
  logger: import("@aws-sdk/types").Logger;
41
41
  serviceId: string;
42
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
43
42
  endpoint?:
44
- | string
45
- | import("@aws-sdk/types").Endpoint
46
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
43
+ | ((
44
+ | string
45
+ | import("@aws-sdk/types").Endpoint
46
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
47
+ | import("@aws-sdk/types").EndpointV2
48
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
49
+ ) &
50
+ (string | import("@aws-sdk/types").Provider<string>))
47
51
  | undefined;
52
+ endpointProvider: (
53
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
54
+ context?: {
55
+ logger?: import("@aws-sdk/types").Logger | undefined;
56
+ }
57
+ ) => import("@aws-sdk/types").EndpointV2;
48
58
  tls?: boolean | undefined;
49
59
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
50
60
  credentials?:
@@ -39,12 +39,22 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
39
39
  disableHostPrefix: boolean;
40
40
  logger: import("@aws-sdk/types").Logger;
41
41
  serviceId: string;
42
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
43
42
  endpoint?:
44
- | string
45
- | import("@aws-sdk/types").Endpoint
46
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
43
+ | ((
44
+ | string
45
+ | import("@aws-sdk/types").Endpoint
46
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
47
+ | import("@aws-sdk/types").EndpointV2
48
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
49
+ ) &
50
+ (string | import("@aws-sdk/types").Provider<string>))
47
51
  | undefined;
52
+ endpointProvider: (
53
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
54
+ context?: {
55
+ logger?: import("@aws-sdk/types").Logger | undefined;
56
+ }
57
+ ) => import("@aws-sdk/types").EndpointV2;
48
58
  tls?: boolean | undefined;
49
59
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
50
60
  credentials?:
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
33
32
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
34
33
  import("@aws-sdk/types").UserAgent
35
34
  >;
@@ -43,9 +42,21 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
43
42
  >;
44
43
  endpoint?:
45
44
  | string
46
- | import("@aws-sdk/types").Endpoint
47
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
45
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
46
+ import("@aws-sdk/types").Provider<string>)
47
+ | (import("@aws-sdk/types").Endpoint &
48
+ import("@aws-sdk/types").Provider<string>)
49
+ | (import("@aws-sdk/types").EndpointV2 &
50
+ import("@aws-sdk/types").Provider<string>)
51
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
52
+ import("@aws-sdk/types").Provider<string>)
48
53
  | undefined;
54
+ endpointProvider: (
55
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
56
+ context?: {
57
+ logger?: import("@aws-sdk/types").Logger | undefined;
58
+ }
59
+ ) => import("@aws-sdk/types").EndpointV2;
49
60
  tls?: boolean | undefined;
50
61
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
51
62
  credentials?:
@@ -3,8 +3,13 @@ import { DynamoDBClientConfig } from "./DynamoDBClient";
3
3
  export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
4
4
  apiVersion: string;
5
5
  disableHostPrefix: boolean;
6
+ endpointProvider: (
7
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
8
+ context?: {
9
+ logger?: __Logger | undefined;
10
+ }
11
+ ) => import("@aws-sdk/types").EndpointV2;
6
12
  logger: __Logger;
7
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
8
13
  serviceId: string;
9
14
  urlParser: import("@aws-sdk/types").UrlParser;
10
15
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.194.0",
4
+ "version": "3.196.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,13 +19,14 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.194.0",
22
+ "@aws-sdk/client-sts": "3.196.0",
23
23
  "@aws-sdk/config-resolver": "3.193.0",
24
- "@aws-sdk/credential-provider-node": "3.193.0",
24
+ "@aws-sdk/credential-provider-node": "3.196.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.193.0",
26
26
  "@aws-sdk/hash-node": "3.193.0",
27
27
  "@aws-sdk/invalid-dependency": "3.193.0",
28
28
  "@aws-sdk/middleware-content-length": "3.193.0",
29
+ "@aws-sdk/middleware-endpoint": "3.193.0",
29
30
  "@aws-sdk/middleware-endpoint-discovery": "3.193.0",
30
31
  "@aws-sdk/middleware-host-header": "3.193.0",
31
32
  "@aws-sdk/middleware-logger": "3.193.0",
@@ -47,6 +48,7 @@
47
48
  "@aws-sdk/util-body-length-node": "3.188.0",
48
49
  "@aws-sdk/util-defaults-mode-browser": "3.193.0",
49
50
  "@aws-sdk/util-defaults-mode-node": "3.193.0",
51
+ "@aws-sdk/util-endpoints": "3.196.0",
50
52
  "@aws-sdk/util-user-agent-browser": "3.193.0",
51
53
  "@aws-sdk/util-user-agent-node": "3.193.0",
52
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
@@ -1,204 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "ca-central-1": {
7
- variants: [
8
- {
9
- hostname: "dynamodb-fips.ca-central-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- local: {
15
- variants: [
16
- {
17
- hostname: "localhost:8000",
18
- tags: [],
19
- },
20
- ],
21
- signingRegion: "us-east-1",
22
- },
23
- "us-east-1": {
24
- variants: [
25
- {
26
- hostname: "dynamodb-fips.us-east-1.amazonaws.com",
27
- tags: ["fips"],
28
- },
29
- ],
30
- },
31
- "us-east-2": {
32
- variants: [
33
- {
34
- hostname: "dynamodb-fips.us-east-2.amazonaws.com",
35
- tags: ["fips"],
36
- },
37
- ],
38
- },
39
- "us-gov-east-1": {
40
- variants: [
41
- {
42
- hostname: "dynamodb.us-gov-east-1.amazonaws.com",
43
- tags: ["fips"],
44
- },
45
- ],
46
- },
47
- "us-gov-west-1": {
48
- variants: [
49
- {
50
- hostname: "dynamodb.us-gov-west-1.amazonaws.com",
51
- tags: ["fips"],
52
- },
53
- ],
54
- },
55
- "us-west-1": {
56
- variants: [
57
- {
58
- hostname: "dynamodb-fips.us-west-1.amazonaws.com",
59
- tags: ["fips"],
60
- },
61
- ],
62
- },
63
- "us-west-2": {
64
- variants: [
65
- {
66
- hostname: "dynamodb-fips.us-west-2.amazonaws.com",
67
- tags: ["fips"],
68
- },
69
- ],
70
- },
71
- };
72
- const partitionHash = {
73
- aws: {
74
- regions: [
75
- "af-south-1",
76
- "ap-east-1",
77
- "ap-northeast-1",
78
- "ap-northeast-2",
79
- "ap-northeast-3",
80
- "ap-south-1",
81
- "ap-southeast-1",
82
- "ap-southeast-2",
83
- "ap-southeast-3",
84
- "ca-central-1",
85
- "ca-central-1-fips",
86
- "eu-central-1",
87
- "eu-north-1",
88
- "eu-south-1",
89
- "eu-west-1",
90
- "eu-west-2",
91
- "eu-west-3",
92
- "local",
93
- "me-central-1",
94
- "me-south-1",
95
- "sa-east-1",
96
- "us-east-1",
97
- "us-east-1-fips",
98
- "us-east-2",
99
- "us-east-2-fips",
100
- "us-west-1",
101
- "us-west-1-fips",
102
- "us-west-2",
103
- "us-west-2-fips",
104
- ],
105
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
106
- variants: [
107
- {
108
- hostname: "dynamodb.{region}.amazonaws.com",
109
- tags: [],
110
- },
111
- {
112
- hostname: "dynamodb-fips.{region}.amazonaws.com",
113
- tags: ["fips"],
114
- },
115
- {
116
- hostname: "dynamodb-fips.{region}.api.aws",
117
- tags: ["dualstack", "fips"],
118
- },
119
- {
120
- hostname: "dynamodb.{region}.api.aws",
121
- tags: ["dualstack"],
122
- },
123
- ],
124
- },
125
- "aws-cn": {
126
- regions: ["cn-north-1", "cn-northwest-1"],
127
- regionRegex: "^cn\\-\\w+\\-\\d+$",
128
- variants: [
129
- {
130
- hostname: "dynamodb.{region}.amazonaws.com.cn",
131
- tags: [],
132
- },
133
- {
134
- hostname: "dynamodb-fips.{region}.amazonaws.com.cn",
135
- tags: ["fips"],
136
- },
137
- {
138
- hostname: "dynamodb-fips.{region}.api.amazonwebservices.com.cn",
139
- tags: ["dualstack", "fips"],
140
- },
141
- {
142
- hostname: "dynamodb.{region}.api.amazonwebservices.com.cn",
143
- tags: ["dualstack"],
144
- },
145
- ],
146
- },
147
- "aws-iso": {
148
- regions: ["us-iso-east-1", "us-iso-west-1"],
149
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
150
- variants: [
151
- {
152
- hostname: "dynamodb.{region}.c2s.ic.gov",
153
- tags: [],
154
- },
155
- {
156
- hostname: "dynamodb-fips.{region}.c2s.ic.gov",
157
- tags: ["fips"],
158
- },
159
- ],
160
- },
161
- "aws-iso-b": {
162
- regions: ["us-isob-east-1"],
163
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
164
- variants: [
165
- {
166
- hostname: "dynamodb.{region}.sc2s.sgov.gov",
167
- tags: [],
168
- },
169
- {
170
- hostname: "dynamodb-fips.{region}.sc2s.sgov.gov",
171
- tags: ["fips"],
172
- },
173
- ],
174
- },
175
- "aws-us-gov": {
176
- regions: ["us-gov-east-1", "us-gov-east-1-fips", "us-gov-west-1", "us-gov-west-1-fips"],
177
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
178
- variants: [
179
- {
180
- hostname: "dynamodb.{region}.amazonaws.com",
181
- tags: [],
182
- },
183
- {
184
- hostname: "dynamodb.{region}.amazonaws.com",
185
- tags: ["fips"],
186
- },
187
- {
188
- hostname: "dynamodb-fips.{region}.api.aws",
189
- tags: ["dualstack", "fips"],
190
- },
191
- {
192
- hostname: "dynamodb.{region}.api.aws",
193
- tags: ["dualstack"],
194
- },
195
- ],
196
- },
197
- };
198
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
199
- ...options,
200
- signingService: "dynamodb",
201
- regionHash,
202
- partitionHash,
203
- });
204
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;