@aws-sdk/client-dynamodb 3.1044.0 → 3.1046.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 (226) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +178 -180
  5. package/dist-cjs/models/DynamoDBServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +20 -24
  8. package/dist-cjs/runtimeConfig.shared.js +12 -13
  9. package/dist-es/DynamoDB.js +1 -1
  10. package/dist-es/DynamoDBClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/BatchExecuteStatementCommand.js +2 -2
  13. package/dist-es/commands/BatchGetItemCommand.js +2 -2
  14. package/dist-es/commands/BatchWriteItemCommand.js +2 -2
  15. package/dist-es/commands/CreateBackupCommand.js +2 -2
  16. package/dist-es/commands/CreateGlobalTableCommand.js +2 -2
  17. package/dist-es/commands/CreateTableCommand.js +2 -2
  18. package/dist-es/commands/DeleteBackupCommand.js +2 -2
  19. package/dist-es/commands/DeleteItemCommand.js +2 -2
  20. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  21. package/dist-es/commands/DeleteTableCommand.js +2 -2
  22. package/dist-es/commands/DescribeBackupCommand.js +2 -2
  23. package/dist-es/commands/DescribeContinuousBackupsCommand.js +2 -2
  24. package/dist-es/commands/DescribeContributorInsightsCommand.js +2 -2
  25. package/dist-es/commands/DescribeEndpointsCommand.js +2 -2
  26. package/dist-es/commands/DescribeExportCommand.js +2 -2
  27. package/dist-es/commands/DescribeGlobalTableCommand.js +2 -2
  28. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +2 -2
  29. package/dist-es/commands/DescribeImportCommand.js +2 -2
  30. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -2
  31. package/dist-es/commands/DescribeLimitsCommand.js +2 -2
  32. package/dist-es/commands/DescribeTableCommand.js +2 -2
  33. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -2
  34. package/dist-es/commands/DescribeTimeToLiveCommand.js +2 -2
  35. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +2 -2
  36. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +2 -2
  37. package/dist-es/commands/ExecuteStatementCommand.js +2 -2
  38. package/dist-es/commands/ExecuteTransactionCommand.js +2 -2
  39. package/dist-es/commands/ExportTableToPointInTimeCommand.js +2 -2
  40. package/dist-es/commands/GetItemCommand.js +2 -2
  41. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  42. package/dist-es/commands/ImportTableCommand.js +2 -2
  43. package/dist-es/commands/ListBackupsCommand.js +2 -2
  44. package/dist-es/commands/ListContributorInsightsCommand.js +2 -2
  45. package/dist-es/commands/ListExportsCommand.js +2 -2
  46. package/dist-es/commands/ListGlobalTablesCommand.js +2 -2
  47. package/dist-es/commands/ListImportsCommand.js +2 -2
  48. package/dist-es/commands/ListTablesCommand.js +2 -2
  49. package/dist-es/commands/ListTagsOfResourceCommand.js +2 -2
  50. package/dist-es/commands/PutItemCommand.js +2 -2
  51. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  52. package/dist-es/commands/QueryCommand.js +2 -2
  53. package/dist-es/commands/RestoreTableFromBackupCommand.js +2 -2
  54. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +2 -2
  55. package/dist-es/commands/ScanCommand.js +2 -2
  56. package/dist-es/commands/TagResourceCommand.js +2 -2
  57. package/dist-es/commands/TransactGetItemsCommand.js +2 -2
  58. package/dist-es/commands/TransactWriteItemsCommand.js +2 -2
  59. package/dist-es/commands/UntagResourceCommand.js +2 -2
  60. package/dist-es/commands/UpdateContinuousBackupsCommand.js +2 -2
  61. package/dist-es/commands/UpdateContributorInsightsCommand.js +2 -2
  62. package/dist-es/commands/UpdateGlobalTableCommand.js +2 -2
  63. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +2 -2
  64. package/dist-es/commands/UpdateItemCommand.js +2 -2
  65. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +2 -2
  66. package/dist-es/commands/UpdateTableCommand.js +2 -2
  67. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -2
  68. package/dist-es/commands/UpdateTimeToLiveCommand.js +2 -2
  69. package/dist-es/endpoint/bdd.js +1 -1
  70. package/dist-es/endpoint/endpointResolver.js +1 -1
  71. package/dist-es/models/DynamoDBServiceException.js +1 -1
  72. package/dist-es/runtimeConfig.browser.js +4 -6
  73. package/dist-es/runtimeConfig.js +4 -8
  74. package/dist-es/runtimeConfig.shared.js +4 -5
  75. package/dist-es/runtimeExtensions.js +2 -2
  76. package/dist-es/waiters/waitForContributorInsightsEnabled.js +1 -1
  77. package/dist-es/waiters/waitForExportCompleted.js +1 -1
  78. package/dist-es/waiters/waitForImportCompleted.js +1 -1
  79. package/dist-es/waiters/waitForKinesisStreamingDestinationActive.js +1 -1
  80. package/dist-es/waiters/waitForTableExists.js +1 -1
  81. package/dist-es/waiters/waitForTableNotExists.js +1 -1
  82. package/dist-types/DynamoDB.d.ts +1 -1
  83. package/dist-types/DynamoDBClient.d.ts +5 -5
  84. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +6 -4
  85. package/dist-types/commands/BatchGetItemCommand.d.ts +6 -4
  86. package/dist-types/commands/BatchWriteItemCommand.d.ts +6 -4
  87. package/dist-types/commands/CreateBackupCommand.d.ts +6 -4
  88. package/dist-types/commands/CreateGlobalTableCommand.d.ts +6 -4
  89. package/dist-types/commands/CreateTableCommand.d.ts +6 -4
  90. package/dist-types/commands/DeleteBackupCommand.d.ts +6 -4
  91. package/dist-types/commands/DeleteItemCommand.d.ts +6 -4
  92. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  93. package/dist-types/commands/DeleteTableCommand.d.ts +6 -4
  94. package/dist-types/commands/DescribeBackupCommand.d.ts +6 -4
  95. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +6 -4
  96. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +6 -4
  97. package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -4
  98. package/dist-types/commands/DescribeExportCommand.d.ts +6 -4
  99. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +6 -4
  100. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +6 -4
  101. package/dist-types/commands/DescribeImportCommand.d.ts +6 -4
  102. package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +6 -4
  103. package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -4
  104. package/dist-types/commands/DescribeTableCommand.d.ts +6 -4
  105. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +6 -4
  106. package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +6 -4
  107. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +6 -4
  108. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +6 -4
  109. package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -4
  110. package/dist-types/commands/ExecuteTransactionCommand.d.ts +6 -4
  111. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +6 -4
  112. package/dist-types/commands/GetItemCommand.d.ts +6 -4
  113. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -4
  114. package/dist-types/commands/ImportTableCommand.d.ts +6 -4
  115. package/dist-types/commands/ListBackupsCommand.d.ts +6 -4
  116. package/dist-types/commands/ListContributorInsightsCommand.d.ts +6 -4
  117. package/dist-types/commands/ListExportsCommand.d.ts +6 -4
  118. package/dist-types/commands/ListGlobalTablesCommand.d.ts +6 -4
  119. package/dist-types/commands/ListImportsCommand.d.ts +6 -4
  120. package/dist-types/commands/ListTablesCommand.d.ts +6 -4
  121. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +6 -4
  122. package/dist-types/commands/PutItemCommand.d.ts +6 -4
  123. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
  124. package/dist-types/commands/QueryCommand.d.ts +6 -4
  125. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +6 -4
  126. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +6 -4
  127. package/dist-types/commands/ScanCommand.d.ts +6 -4
  128. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  129. package/dist-types/commands/TransactGetItemsCommand.d.ts +6 -4
  130. package/dist-types/commands/TransactWriteItemsCommand.d.ts +6 -4
  131. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  132. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +6 -4
  133. package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +6 -4
  134. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -4
  135. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +6 -4
  136. package/dist-types/commands/UpdateItemCommand.d.ts +6 -4
  137. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +6 -4
  138. package/dist-types/commands/UpdateTableCommand.d.ts +6 -4
  139. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +6 -4
  140. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +6 -4
  141. package/dist-types/endpoint/bdd.d.ts +1 -1
  142. package/dist-types/extensionConfiguration.d.ts +1 -1
  143. package/dist-types/models/DynamoDBServiceException.d.ts +1 -1
  144. package/dist-types/models/errors.d.ts +1 -1
  145. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  146. package/dist-types/runtimeConfig.d.ts +2 -2
  147. package/dist-types/runtimeConfig.native.d.ts +2 -2
  148. package/dist-types/ts3.4/DynamoDB.d.ts +1 -1
  149. package/dist-types/ts3.4/DynamoDBClient.d.ts +8 -14
  150. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +6 -4
  151. package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +6 -4
  152. package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +6 -4
  153. package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +6 -4
  154. package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +6 -4
  155. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +6 -4
  156. package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +6 -4
  157. package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +6 -4
  158. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  159. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +6 -4
  167. package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +6 -4
  169. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +6 -4
  171. package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +6 -4
  172. package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +6 -4
  173. package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +6 -4
  174. package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +6 -4
  175. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +6 -4
  176. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +6 -4
  177. package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +6 -4
  178. package/dist-types/ts3.4/commands/GetItemCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/ImportTableCommand.d.ts +6 -4
  181. package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/PutItemCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
  190. package/dist-types/ts3.4/commands/QueryCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +6 -4
  192. package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +6 -4
  193. package/dist-types/ts3.4/commands/ScanCommand.d.ts +6 -4
  194. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  195. package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +6 -4
  196. package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +6 -4
  197. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  198. package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +6 -4
  200. package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +6 -4
  201. package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +6 -4
  202. package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +6 -4
  203. package/dist-types/ts3.4/commands/UpdateKinesisStreamingDestinationCommand.d.ts +6 -4
  204. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +6 -4
  205. package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +6 -4
  206. package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +6 -4
  207. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  208. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  209. package/dist-types/ts3.4/models/DynamoDBServiceException.d.ts +1 -1
  210. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  211. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  212. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  213. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  214. package/dist-types/ts3.4/waiters/waitForContributorInsightsEnabled.d.ts +1 -1
  215. package/dist-types/ts3.4/waiters/waitForExportCompleted.d.ts +1 -1
  216. package/dist-types/ts3.4/waiters/waitForImportCompleted.d.ts +1 -1
  217. package/dist-types/ts3.4/waiters/waitForKinesisStreamingDestinationActive.d.ts +1 -1
  218. package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +1 -1
  219. package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +1 -1
  220. package/dist-types/waiters/waitForContributorInsightsEnabled.d.ts +1 -1
  221. package/dist-types/waiters/waitForExportCompleted.d.ts +1 -1
  222. package/dist-types/waiters/waitForImportCompleted.d.ts +1 -1
  223. package/dist-types/waiters/waitForKinesisStreamingDestinationActive.d.ts +1 -1
  224. package/dist-types/waiters/waitForTableExists.d.ts +1 -1
  225. package/dist-types/waiters/waitForTableNotExists.d.ts +1 -1
  226. package/package.json +16 -38
package/dist-cjs/index.js CHANGED
@@ -6,19 +6,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
6
6
  var middlewareLogger = require('@aws-sdk/middleware-logger');
7
7
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
8
8
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
9
- var configResolver = require('@smithy/config-resolver');
10
9
  var core = require('@smithy/core');
10
+ var client = require('@smithy/core/client');
11
+ var config = require('@smithy/core/config');
12
+ var endpoints = require('@smithy/core/endpoints');
13
+ var protocols = require('@smithy/core/protocols');
14
+ var retry = require('@smithy/core/retry');
11
15
  var schema = require('@smithy/core/schema');
12
- var middlewareContentLength = require('@smithy/middleware-content-length');
13
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
14
- var middlewareRetry = require('@smithy/middleware-retry');
15
- var smithyClient = require('@smithy/smithy-client');
16
16
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
17
17
  var schemas_0 = require('./schemas/schemas_0');
18
18
  var runtimeConfig = require('./runtimeConfig');
19
19
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
20
- var protocolHttp = require('@smithy/protocol-http');
21
- var utilWaiter = require('@smithy/util-waiter');
22
20
  var errors = require('./models/errors');
23
21
  var DynamoDBServiceException = require('./models/DynamoDBServiceException');
24
22
 
@@ -38,11 +36,11 @@ const commonParams = {
38
36
  AccountIdEndpointMode: { type: "builtInParams", name: "accountIdEndpointMode" },
39
37
  };
40
38
 
41
- class DescribeEndpointsCommand extends smithyClient.Command
39
+ class DescribeEndpointsCommand extends client.Command
42
40
  .classBuilder()
43
41
  .ep(commonParams)
44
42
  .m(function (Command, cs, config, o) {
45
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
43
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
46
44
  })
47
45
  .s("DynamoDB_20120810", "DescribeEndpoints", {})
48
46
  .n("DynamoDBClient", "DescribeEndpointsCommand")
@@ -90,12 +88,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
90
88
  };
91
89
 
92
90
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
93
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
91
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
94
92
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
95
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
93
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
96
94
  };
97
95
 
98
- class DynamoDBClient extends smithyClient.Client {
96
+ class DynamoDBClient extends client.Client {
99
97
  config;
100
98
  constructor(...[configuration]) {
101
99
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -104,18 +102,18 @@ class DynamoDBClient extends smithyClient.Client {
104
102
  const _config_1 = resolveClientEndpointParameters(_config_0);
105
103
  const _config_2 = accountIdEndpoint.resolveAccountIdEndpointModeConfig(_config_1);
106
104
  const _config_3 = middlewareUserAgent.resolveUserAgentConfig(_config_2);
107
- const _config_4 = middlewareRetry.resolveRetryConfig(_config_3);
108
- const _config_5 = configResolver.resolveRegionConfig(_config_4);
105
+ const _config_4 = retry.resolveRetryConfig(_config_3);
106
+ const _config_5 = config.resolveRegionConfig(_config_4);
109
107
  const _config_6 = middlewareHostHeader.resolveHostHeaderConfig(_config_5);
110
- const _config_7 = middlewareEndpoint.resolveEndpointConfig(_config_6);
108
+ const _config_7 = endpoints.resolveEndpointConfig(_config_6);
111
109
  const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
112
110
  const _config_9 = middlewareEndpointDiscovery.resolveEndpointDiscoveryConfig(_config_8, { endpointDiscoveryCommandCtor: DescribeEndpointsCommand });
113
111
  const _config_10 = resolveRuntimeExtensions(_config_9, configuration?.extensions || []);
114
112
  this.config = _config_10;
115
113
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
116
114
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
117
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
118
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
115
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
116
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
119
117
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
120
118
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
121
119
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -132,11 +130,11 @@ class DynamoDBClient extends smithyClient.Client {
132
130
  }
133
131
  }
134
132
 
135
- class BatchExecuteStatementCommand extends smithyClient.Command
133
+ class BatchExecuteStatementCommand extends client.Command
136
134
  .classBuilder()
137
135
  .ep(commonParams)
138
136
  .m(function (Command, cs, config, o) {
139
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
137
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
138
  })
141
139
  .s("DynamoDB_20120810", "BatchExecuteStatement", {})
142
140
  .n("DynamoDBClient", "BatchExecuteStatementCommand")
@@ -144,14 +142,14 @@ class BatchExecuteStatementCommand extends smithyClient.Command
144
142
  .build() {
145
143
  }
146
144
 
147
- class BatchGetItemCommand extends smithyClient.Command
145
+ class BatchGetItemCommand extends client.Command
148
146
  .classBuilder()
149
147
  .ep({
150
148
  ...commonParams,
151
149
  ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
152
150
  })
153
151
  .m(function (Command, cs, config, o) {
154
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
153
  })
156
154
  .s("DynamoDB_20120810", "BatchGetItem", {})
157
155
  .n("DynamoDBClient", "BatchGetItemCommand")
@@ -159,14 +157,14 @@ class BatchGetItemCommand extends smithyClient.Command
159
157
  .build() {
160
158
  }
161
159
 
162
- class BatchWriteItemCommand extends smithyClient.Command
160
+ class BatchWriteItemCommand extends client.Command
163
161
  .classBuilder()
164
162
  .ep({
165
163
  ...commonParams,
166
164
  ResourceArnList: { type: "operationContextParams", get: (input) => Object.keys(input?.RequestItems ?? {}) },
167
165
  })
168
166
  .m(function (Command, cs, config, o) {
169
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
167
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
170
168
  })
171
169
  .s("DynamoDB_20120810", "BatchWriteItem", {})
172
170
  .n("DynamoDBClient", "BatchWriteItemCommand")
@@ -174,14 +172,14 @@ class BatchWriteItemCommand extends smithyClient.Command
174
172
  .build() {
175
173
  }
176
174
 
177
- class CreateBackupCommand extends smithyClient.Command
175
+ class CreateBackupCommand extends client.Command
178
176
  .classBuilder()
179
177
  .ep({
180
178
  ...commonParams,
181
179
  ResourceArn: { type: "contextParams", name: "TableName" },
182
180
  })
183
181
  .m(function (Command, cs, config, o) {
184
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
182
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
185
183
  })
186
184
  .s("DynamoDB_20120810", "CreateBackup", {})
187
185
  .n("DynamoDBClient", "CreateBackupCommand")
@@ -189,14 +187,14 @@ class CreateBackupCommand extends smithyClient.Command
189
187
  .build() {
190
188
  }
191
189
 
192
- class CreateGlobalTableCommand extends smithyClient.Command
190
+ class CreateGlobalTableCommand extends client.Command
193
191
  .classBuilder()
194
192
  .ep({
195
193
  ...commonParams,
196
194
  ResourceArn: { type: "contextParams", name: "GlobalTableName" },
197
195
  })
198
196
  .m(function (Command, cs, config, o) {
199
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
197
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
198
  })
201
199
  .s("DynamoDB_20120810", "CreateGlobalTable", {})
202
200
  .n("DynamoDBClient", "CreateGlobalTableCommand")
@@ -204,14 +202,14 @@ class CreateGlobalTableCommand extends smithyClient.Command
204
202
  .build() {
205
203
  }
206
204
 
207
- class CreateTableCommand extends smithyClient.Command
205
+ class CreateTableCommand extends client.Command
208
206
  .classBuilder()
209
207
  .ep({
210
208
  ...commonParams,
211
209
  ResourceArn: { type: "contextParams", name: "TableName" },
212
210
  })
213
211
  .m(function (Command, cs, config, o) {
214
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
213
  })
216
214
  .s("DynamoDB_20120810", "CreateTable", {})
217
215
  .n("DynamoDBClient", "CreateTableCommand")
@@ -219,14 +217,14 @@ class CreateTableCommand extends smithyClient.Command
219
217
  .build() {
220
218
  }
221
219
 
222
- class DeleteBackupCommand extends smithyClient.Command
220
+ class DeleteBackupCommand extends client.Command
223
221
  .classBuilder()
224
222
  .ep({
225
223
  ...commonParams,
226
224
  ResourceArn: { type: "contextParams", name: "BackupArn" },
227
225
  })
228
226
  .m(function (Command, cs, config, o) {
229
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
227
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
230
228
  })
231
229
  .s("DynamoDB_20120810", "DeleteBackup", {})
232
230
  .n("DynamoDBClient", "DeleteBackupCommand")
@@ -234,14 +232,14 @@ class DeleteBackupCommand extends smithyClient.Command
234
232
  .build() {
235
233
  }
236
234
 
237
- class DeleteItemCommand extends smithyClient.Command
235
+ class DeleteItemCommand extends client.Command
238
236
  .classBuilder()
239
237
  .ep({
240
238
  ...commonParams,
241
239
  ResourceArn: { type: "contextParams", name: "TableName" },
242
240
  })
243
241
  .m(function (Command, cs, config, o) {
244
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
242
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
245
243
  })
246
244
  .s("DynamoDB_20120810", "DeleteItem", {})
247
245
  .n("DynamoDBClient", "DeleteItemCommand")
@@ -249,14 +247,14 @@ class DeleteItemCommand extends smithyClient.Command
249
247
  .build() {
250
248
  }
251
249
 
252
- class DeleteResourcePolicyCommand extends smithyClient.Command
250
+ class DeleteResourcePolicyCommand extends client.Command
253
251
  .classBuilder()
254
252
  .ep({
255
253
  ...commonParams,
256
254
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
257
255
  })
258
256
  .m(function (Command, cs, config, o) {
259
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
257
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
258
  })
261
259
  .s("DynamoDB_20120810", "DeleteResourcePolicy", {})
262
260
  .n("DynamoDBClient", "DeleteResourcePolicyCommand")
@@ -264,14 +262,14 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
264
262
  .build() {
265
263
  }
266
264
 
267
- class DeleteTableCommand extends smithyClient.Command
265
+ class DeleteTableCommand extends client.Command
268
266
  .classBuilder()
269
267
  .ep({
270
268
  ...commonParams,
271
269
  ResourceArn: { type: "contextParams", name: "TableName" },
272
270
  })
273
271
  .m(function (Command, cs, config, o) {
274
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
273
  })
276
274
  .s("DynamoDB_20120810", "DeleteTable", {})
277
275
  .n("DynamoDBClient", "DeleteTableCommand")
@@ -279,14 +277,14 @@ class DeleteTableCommand extends smithyClient.Command
279
277
  .build() {
280
278
  }
281
279
 
282
- class DescribeBackupCommand extends smithyClient.Command
280
+ class DescribeBackupCommand extends client.Command
283
281
  .classBuilder()
284
282
  .ep({
285
283
  ...commonParams,
286
284
  ResourceArn: { type: "contextParams", name: "BackupArn" },
287
285
  })
288
286
  .m(function (Command, cs, config, o) {
289
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
287
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
290
288
  })
291
289
  .s("DynamoDB_20120810", "DescribeBackup", {})
292
290
  .n("DynamoDBClient", "DescribeBackupCommand")
@@ -294,14 +292,14 @@ class DescribeBackupCommand extends smithyClient.Command
294
292
  .build() {
295
293
  }
296
294
 
297
- class DescribeContinuousBackupsCommand extends smithyClient.Command
295
+ class DescribeContinuousBackupsCommand extends client.Command
298
296
  .classBuilder()
299
297
  .ep({
300
298
  ...commonParams,
301
299
  ResourceArn: { type: "contextParams", name: "TableName" },
302
300
  })
303
301
  .m(function (Command, cs, config, o) {
304
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
302
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
305
303
  })
306
304
  .s("DynamoDB_20120810", "DescribeContinuousBackups", {})
307
305
  .n("DynamoDBClient", "DescribeContinuousBackupsCommand")
@@ -309,14 +307,14 @@ class DescribeContinuousBackupsCommand extends smithyClient.Command
309
307
  .build() {
310
308
  }
311
309
 
312
- class DescribeContributorInsightsCommand extends smithyClient.Command
310
+ class DescribeContributorInsightsCommand extends client.Command
313
311
  .classBuilder()
314
312
  .ep({
315
313
  ...commonParams,
316
314
  ResourceArn: { type: "contextParams", name: "TableName" },
317
315
  })
318
316
  .m(function (Command, cs, config, o) {
319
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
317
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
318
  })
321
319
  .s("DynamoDB_20120810", "DescribeContributorInsights", {})
322
320
  .n("DynamoDBClient", "DescribeContributorInsightsCommand")
@@ -324,14 +322,14 @@ class DescribeContributorInsightsCommand extends smithyClient.Command
324
322
  .build() {
325
323
  }
326
324
 
327
- class DescribeExportCommand extends smithyClient.Command
325
+ class DescribeExportCommand extends client.Command
328
326
  .classBuilder()
329
327
  .ep({
330
328
  ...commonParams,
331
329
  ResourceArn: { type: "contextParams", name: "ExportArn" },
332
330
  })
333
331
  .m(function (Command, cs, config, o) {
334
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
332
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
333
  })
336
334
  .s("DynamoDB_20120810", "DescribeExport", {})
337
335
  .n("DynamoDBClient", "DescribeExportCommand")
@@ -339,14 +337,14 @@ class DescribeExportCommand extends smithyClient.Command
339
337
  .build() {
340
338
  }
341
339
 
342
- class DescribeGlobalTableCommand extends smithyClient.Command
340
+ class DescribeGlobalTableCommand extends client.Command
343
341
  .classBuilder()
344
342
  .ep({
345
343
  ...commonParams,
346
344
  ResourceArn: { type: "contextParams", name: "GlobalTableName" },
347
345
  })
348
346
  .m(function (Command, cs, config, o) {
349
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
347
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
350
348
  })
351
349
  .s("DynamoDB_20120810", "DescribeGlobalTable", {})
352
350
  .n("DynamoDBClient", "DescribeGlobalTableCommand")
@@ -354,14 +352,14 @@ class DescribeGlobalTableCommand extends smithyClient.Command
354
352
  .build() {
355
353
  }
356
354
 
357
- class DescribeGlobalTableSettingsCommand extends smithyClient.Command
355
+ class DescribeGlobalTableSettingsCommand extends client.Command
358
356
  .classBuilder()
359
357
  .ep({
360
358
  ...commonParams,
361
359
  ResourceArn: { type: "contextParams", name: "GlobalTableName" },
362
360
  })
363
361
  .m(function (Command, cs, config, o) {
364
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
362
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
365
363
  })
366
364
  .s("DynamoDB_20120810", "DescribeGlobalTableSettings", {})
367
365
  .n("DynamoDBClient", "DescribeGlobalTableSettingsCommand")
@@ -369,14 +367,14 @@ class DescribeGlobalTableSettingsCommand extends smithyClient.Command
369
367
  .build() {
370
368
  }
371
369
 
372
- class DescribeImportCommand extends smithyClient.Command
370
+ class DescribeImportCommand extends client.Command
373
371
  .classBuilder()
374
372
  .ep({
375
373
  ...commonParams,
376
374
  ResourceArn: { type: "contextParams", name: "ImportArn" },
377
375
  })
378
376
  .m(function (Command, cs, config, o) {
379
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
377
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
380
378
  })
381
379
  .s("DynamoDB_20120810", "DescribeImport", {})
382
380
  .n("DynamoDBClient", "DescribeImportCommand")
@@ -384,14 +382,14 @@ class DescribeImportCommand extends smithyClient.Command
384
382
  .build() {
385
383
  }
386
384
 
387
- class DescribeKinesisStreamingDestinationCommand extends smithyClient.Command
385
+ class DescribeKinesisStreamingDestinationCommand extends client.Command
388
386
  .classBuilder()
389
387
  .ep({
390
388
  ...commonParams,
391
389
  ResourceArn: { type: "contextParams", name: "TableName" },
392
390
  })
393
391
  .m(function (Command, cs, config, o) {
394
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
392
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
393
  })
396
394
  .s("DynamoDB_20120810", "DescribeKinesisStreamingDestination", {})
397
395
  .n("DynamoDBClient", "DescribeKinesisStreamingDestinationCommand")
@@ -399,11 +397,11 @@ class DescribeKinesisStreamingDestinationCommand extends smithyClient.Command
399
397
  .build() {
400
398
  }
401
399
 
402
- class DescribeLimitsCommand extends smithyClient.Command
400
+ class DescribeLimitsCommand extends client.Command
403
401
  .classBuilder()
404
402
  .ep(commonParams)
405
403
  .m(function (Command, cs, config, o) {
406
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
404
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
405
  })
408
406
  .s("DynamoDB_20120810", "DescribeLimits", {})
409
407
  .n("DynamoDBClient", "DescribeLimitsCommand")
@@ -411,14 +409,14 @@ class DescribeLimitsCommand extends smithyClient.Command
411
409
  .build() {
412
410
  }
413
411
 
414
- class DescribeTableCommand extends smithyClient.Command
412
+ class DescribeTableCommand extends client.Command
415
413
  .classBuilder()
416
414
  .ep({
417
415
  ...commonParams,
418
416
  ResourceArn: { type: "contextParams", name: "TableName" },
419
417
  })
420
418
  .m(function (Command, cs, config, o) {
421
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
422
420
  })
423
421
  .s("DynamoDB_20120810", "DescribeTable", {})
424
422
  .n("DynamoDBClient", "DescribeTableCommand")
@@ -426,14 +424,14 @@ class DescribeTableCommand extends smithyClient.Command
426
424
  .build() {
427
425
  }
428
426
 
429
- class DescribeTableReplicaAutoScalingCommand extends smithyClient.Command
427
+ class DescribeTableReplicaAutoScalingCommand extends client.Command
430
428
  .classBuilder()
431
429
  .ep({
432
430
  ...commonParams,
433
431
  ResourceArn: { type: "contextParams", name: "TableName" },
434
432
  })
435
433
  .m(function (Command, cs, config, o) {
436
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
434
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
437
435
  })
438
436
  .s("DynamoDB_20120810", "DescribeTableReplicaAutoScaling", {})
439
437
  .n("DynamoDBClient", "DescribeTableReplicaAutoScalingCommand")
@@ -441,14 +439,14 @@ class DescribeTableReplicaAutoScalingCommand extends smithyClient.Command
441
439
  .build() {
442
440
  }
443
441
 
444
- class DescribeTimeToLiveCommand extends smithyClient.Command
442
+ class DescribeTimeToLiveCommand extends client.Command
445
443
  .classBuilder()
446
444
  .ep({
447
445
  ...commonParams,
448
446
  ResourceArn: { type: "contextParams", name: "TableName" },
449
447
  })
450
448
  .m(function (Command, cs, config, o) {
451
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
449
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
452
450
  })
453
451
  .s("DynamoDB_20120810", "DescribeTimeToLive", {})
454
452
  .n("DynamoDBClient", "DescribeTimeToLiveCommand")
@@ -456,14 +454,14 @@ class DescribeTimeToLiveCommand extends smithyClient.Command
456
454
  .build() {
457
455
  }
458
456
 
459
- class DisableKinesisStreamingDestinationCommand extends smithyClient.Command
457
+ class DisableKinesisStreamingDestinationCommand extends client.Command
460
458
  .classBuilder()
461
459
  .ep({
462
460
  ...commonParams,
463
461
  ResourceArn: { type: "contextParams", name: "TableName" },
464
462
  })
465
463
  .m(function (Command, cs, config, o) {
466
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
464
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
465
  })
468
466
  .s("DynamoDB_20120810", "DisableKinesisStreamingDestination", {})
469
467
  .n("DynamoDBClient", "DisableKinesisStreamingDestinationCommand")
@@ -471,14 +469,14 @@ class DisableKinesisStreamingDestinationCommand extends smithyClient.Command
471
469
  .build() {
472
470
  }
473
471
 
474
- class EnableKinesisStreamingDestinationCommand extends smithyClient.Command
472
+ class EnableKinesisStreamingDestinationCommand extends client.Command
475
473
  .classBuilder()
476
474
  .ep({
477
475
  ...commonParams,
478
476
  ResourceArn: { type: "contextParams", name: "TableName" },
479
477
  })
480
478
  .m(function (Command, cs, config, o) {
481
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
482
480
  })
483
481
  .s("DynamoDB_20120810", "EnableKinesisStreamingDestination", {})
484
482
  .n("DynamoDBClient", "EnableKinesisStreamingDestinationCommand")
@@ -486,11 +484,11 @@ class EnableKinesisStreamingDestinationCommand extends smithyClient.Command
486
484
  .build() {
487
485
  }
488
486
 
489
- class ExecuteStatementCommand extends smithyClient.Command
487
+ class ExecuteStatementCommand extends client.Command
490
488
  .classBuilder()
491
489
  .ep(commonParams)
492
490
  .m(function (Command, cs, config, o) {
493
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
491
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
494
492
  })
495
493
  .s("DynamoDB_20120810", "ExecuteStatement", {})
496
494
  .n("DynamoDBClient", "ExecuteStatementCommand")
@@ -498,11 +496,11 @@ class ExecuteStatementCommand extends smithyClient.Command
498
496
  .build() {
499
497
  }
500
498
 
501
- class ExecuteTransactionCommand extends smithyClient.Command
499
+ class ExecuteTransactionCommand extends client.Command
502
500
  .classBuilder()
503
501
  .ep(commonParams)
504
502
  .m(function (Command, cs, config, o) {
505
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
503
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
506
504
  })
507
505
  .s("DynamoDB_20120810", "ExecuteTransaction", {})
508
506
  .n("DynamoDBClient", "ExecuteTransactionCommand")
@@ -510,14 +508,14 @@ class ExecuteTransactionCommand extends smithyClient.Command
510
508
  .build() {
511
509
  }
512
510
 
513
- class ExportTableToPointInTimeCommand extends smithyClient.Command
511
+ class ExportTableToPointInTimeCommand extends client.Command
514
512
  .classBuilder()
515
513
  .ep({
516
514
  ...commonParams,
517
515
  ResourceArn: { type: "contextParams", name: "TableArn" },
518
516
  })
519
517
  .m(function (Command, cs, config, o) {
520
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
518
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
521
519
  })
522
520
  .s("DynamoDB_20120810", "ExportTableToPointInTime", {})
523
521
  .n("DynamoDBClient", "ExportTableToPointInTimeCommand")
@@ -525,14 +523,14 @@ class ExportTableToPointInTimeCommand extends smithyClient.Command
525
523
  .build() {
526
524
  }
527
525
 
528
- class GetItemCommand extends smithyClient.Command
526
+ class GetItemCommand extends client.Command
529
527
  .classBuilder()
530
528
  .ep({
531
529
  ...commonParams,
532
530
  ResourceArn: { type: "contextParams", name: "TableName" },
533
531
  })
534
532
  .m(function (Command, cs, config, o) {
535
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
533
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
536
534
  })
537
535
  .s("DynamoDB_20120810", "GetItem", {})
538
536
  .n("DynamoDBClient", "GetItemCommand")
@@ -540,14 +538,14 @@ class GetItemCommand extends smithyClient.Command
540
538
  .build() {
541
539
  }
542
540
 
543
- class GetResourcePolicyCommand extends smithyClient.Command
541
+ class GetResourcePolicyCommand extends client.Command
544
542
  .classBuilder()
545
543
  .ep({
546
544
  ...commonParams,
547
545
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
548
546
  })
549
547
  .m(function (Command, cs, config, o) {
550
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
548
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
549
  })
552
550
  .s("DynamoDB_20120810", "GetResourcePolicy", {})
553
551
  .n("DynamoDBClient", "GetResourcePolicyCommand")
@@ -555,14 +553,14 @@ class GetResourcePolicyCommand extends smithyClient.Command
555
553
  .build() {
556
554
  }
557
555
 
558
- class ImportTableCommand extends smithyClient.Command
556
+ class ImportTableCommand extends client.Command
559
557
  .classBuilder()
560
558
  .ep({
561
559
  ...commonParams,
562
560
  ResourceArn: { type: "operationContextParams", get: (input) => input?.TableCreationParameters?.TableName },
563
561
  })
564
562
  .m(function (Command, cs, config, o) {
565
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
563
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
566
564
  })
567
565
  .s("DynamoDB_20120810", "ImportTable", {})
568
566
  .n("DynamoDBClient", "ImportTableCommand")
@@ -570,14 +568,14 @@ class ImportTableCommand extends smithyClient.Command
570
568
  .build() {
571
569
  }
572
570
 
573
- class ListBackupsCommand extends smithyClient.Command
571
+ class ListBackupsCommand extends client.Command
574
572
  .classBuilder()
575
573
  .ep({
576
574
  ...commonParams,
577
575
  ResourceArn: { type: "contextParams", name: "TableName" },
578
576
  })
579
577
  .m(function (Command, cs, config, o) {
580
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
578
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
581
579
  })
582
580
  .s("DynamoDB_20120810", "ListBackups", {})
583
581
  .n("DynamoDBClient", "ListBackupsCommand")
@@ -585,14 +583,14 @@ class ListBackupsCommand extends smithyClient.Command
585
583
  .build() {
586
584
  }
587
585
 
588
- class ListContributorInsightsCommand extends smithyClient.Command
586
+ class ListContributorInsightsCommand extends client.Command
589
587
  .classBuilder()
590
588
  .ep({
591
589
  ...commonParams,
592
590
  ResourceArn: { type: "contextParams", name: "TableName" },
593
591
  })
594
592
  .m(function (Command, cs, config, o) {
595
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
593
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
596
594
  })
597
595
  .s("DynamoDB_20120810", "ListContributorInsights", {})
598
596
  .n("DynamoDBClient", "ListContributorInsightsCommand")
@@ -600,14 +598,14 @@ class ListContributorInsightsCommand extends smithyClient.Command
600
598
  .build() {
601
599
  }
602
600
 
603
- class ListExportsCommand extends smithyClient.Command
601
+ class ListExportsCommand extends client.Command
604
602
  .classBuilder()
605
603
  .ep({
606
604
  ...commonParams,
607
605
  ResourceArn: { type: "contextParams", name: "TableArn" },
608
606
  })
609
607
  .m(function (Command, cs, config, o) {
610
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
608
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
611
609
  })
612
610
  .s("DynamoDB_20120810", "ListExports", {})
613
611
  .n("DynamoDBClient", "ListExportsCommand")
@@ -615,11 +613,11 @@ class ListExportsCommand extends smithyClient.Command
615
613
  .build() {
616
614
  }
617
615
 
618
- class ListGlobalTablesCommand extends smithyClient.Command
616
+ class ListGlobalTablesCommand extends client.Command
619
617
  .classBuilder()
620
618
  .ep(commonParams)
621
619
  .m(function (Command, cs, config, o) {
622
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
620
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
623
621
  })
624
622
  .s("DynamoDB_20120810", "ListGlobalTables", {})
625
623
  .n("DynamoDBClient", "ListGlobalTablesCommand")
@@ -627,14 +625,14 @@ class ListGlobalTablesCommand extends smithyClient.Command
627
625
  .build() {
628
626
  }
629
627
 
630
- class ListImportsCommand extends smithyClient.Command
628
+ class ListImportsCommand extends client.Command
631
629
  .classBuilder()
632
630
  .ep({
633
631
  ...commonParams,
634
632
  ResourceArn: { type: "contextParams", name: "TableArn" },
635
633
  })
636
634
  .m(function (Command, cs, config, o) {
637
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
635
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
638
636
  })
639
637
  .s("DynamoDB_20120810", "ListImports", {})
640
638
  .n("DynamoDBClient", "ListImportsCommand")
@@ -642,11 +640,11 @@ class ListImportsCommand extends smithyClient.Command
642
640
  .build() {
643
641
  }
644
642
 
645
- class ListTablesCommand extends smithyClient.Command
643
+ class ListTablesCommand extends client.Command
646
644
  .classBuilder()
647
645
  .ep(commonParams)
648
646
  .m(function (Command, cs, config, o) {
649
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
647
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
650
648
  })
651
649
  .s("DynamoDB_20120810", "ListTables", {})
652
650
  .n("DynamoDBClient", "ListTablesCommand")
@@ -654,14 +652,14 @@ class ListTablesCommand extends smithyClient.Command
654
652
  .build() {
655
653
  }
656
654
 
657
- class ListTagsOfResourceCommand extends smithyClient.Command
655
+ class ListTagsOfResourceCommand extends client.Command
658
656
  .classBuilder()
659
657
  .ep({
660
658
  ...commonParams,
661
659
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
662
660
  })
663
661
  .m(function (Command, cs, config, o) {
664
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
662
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
665
663
  })
666
664
  .s("DynamoDB_20120810", "ListTagsOfResource", {})
667
665
  .n("DynamoDBClient", "ListTagsOfResourceCommand")
@@ -669,14 +667,14 @@ class ListTagsOfResourceCommand extends smithyClient.Command
669
667
  .build() {
670
668
  }
671
669
 
672
- class PutItemCommand extends smithyClient.Command
670
+ class PutItemCommand extends client.Command
673
671
  .classBuilder()
674
672
  .ep({
675
673
  ...commonParams,
676
674
  ResourceArn: { type: "contextParams", name: "TableName" },
677
675
  })
678
676
  .m(function (Command, cs, config, o) {
679
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
677
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
680
678
  })
681
679
  .s("DynamoDB_20120810", "PutItem", {})
682
680
  .n("DynamoDBClient", "PutItemCommand")
@@ -684,14 +682,14 @@ class PutItemCommand extends smithyClient.Command
684
682
  .build() {
685
683
  }
686
684
 
687
- class PutResourcePolicyCommand extends smithyClient.Command
685
+ class PutResourcePolicyCommand extends client.Command
688
686
  .classBuilder()
689
687
  .ep({
690
688
  ...commonParams,
691
689
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
692
690
  })
693
691
  .m(function (Command, cs, config, o) {
694
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
692
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
693
  })
696
694
  .s("DynamoDB_20120810", "PutResourcePolicy", {})
697
695
  .n("DynamoDBClient", "PutResourcePolicyCommand")
@@ -699,14 +697,14 @@ class PutResourcePolicyCommand extends smithyClient.Command
699
697
  .build() {
700
698
  }
701
699
 
702
- class QueryCommand extends smithyClient.Command
700
+ class QueryCommand extends client.Command
703
701
  .classBuilder()
704
702
  .ep({
705
703
  ...commonParams,
706
704
  ResourceArn: { type: "contextParams", name: "TableName" },
707
705
  })
708
706
  .m(function (Command, cs, config, o) {
709
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
707
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
710
708
  })
711
709
  .s("DynamoDB_20120810", "Query", {})
712
710
  .n("DynamoDBClient", "QueryCommand")
@@ -714,14 +712,14 @@ class QueryCommand extends smithyClient.Command
714
712
  .build() {
715
713
  }
716
714
 
717
- class RestoreTableFromBackupCommand extends smithyClient.Command
715
+ class RestoreTableFromBackupCommand extends client.Command
718
716
  .classBuilder()
719
717
  .ep({
720
718
  ...commonParams,
721
719
  ResourceArn: { type: "contextParams", name: "TargetTableName" },
722
720
  })
723
721
  .m(function (Command, cs, config, o) {
724
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
722
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
725
723
  })
726
724
  .s("DynamoDB_20120810", "RestoreTableFromBackup", {})
727
725
  .n("DynamoDBClient", "RestoreTableFromBackupCommand")
@@ -729,14 +727,14 @@ class RestoreTableFromBackupCommand extends smithyClient.Command
729
727
  .build() {
730
728
  }
731
729
 
732
- class RestoreTableToPointInTimeCommand extends smithyClient.Command
730
+ class RestoreTableToPointInTimeCommand extends client.Command
733
731
  .classBuilder()
734
732
  .ep({
735
733
  ...commonParams,
736
734
  ResourceArn: { type: "contextParams", name: "TargetTableName" },
737
735
  })
738
736
  .m(function (Command, cs, config, o) {
739
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
737
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
740
738
  })
741
739
  .s("DynamoDB_20120810", "RestoreTableToPointInTime", {})
742
740
  .n("DynamoDBClient", "RestoreTableToPointInTimeCommand")
@@ -744,14 +742,14 @@ class RestoreTableToPointInTimeCommand extends smithyClient.Command
744
742
  .build() {
745
743
  }
746
744
 
747
- class ScanCommand extends smithyClient.Command
745
+ class ScanCommand extends client.Command
748
746
  .classBuilder()
749
747
  .ep({
750
748
  ...commonParams,
751
749
  ResourceArn: { type: "contextParams", name: "TableName" },
752
750
  })
753
751
  .m(function (Command, cs, config, o) {
754
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
752
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
755
753
  })
756
754
  .s("DynamoDB_20120810", "Scan", {})
757
755
  .n("DynamoDBClient", "ScanCommand")
@@ -759,14 +757,14 @@ class ScanCommand extends smithyClient.Command
759
757
  .build() {
760
758
  }
761
759
 
762
- class TagResourceCommand extends smithyClient.Command
760
+ class TagResourceCommand extends client.Command
763
761
  .classBuilder()
764
762
  .ep({
765
763
  ...commonParams,
766
764
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
767
765
  })
768
766
  .m(function (Command, cs, config, o) {
769
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
767
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
770
768
  })
771
769
  .s("DynamoDB_20120810", "TagResource", {})
772
770
  .n("DynamoDBClient", "TagResourceCommand")
@@ -774,14 +772,14 @@ class TagResourceCommand extends smithyClient.Command
774
772
  .build() {
775
773
  }
776
774
 
777
- class TransactGetItemsCommand extends smithyClient.Command
775
+ class TransactGetItemsCommand extends client.Command
778
776
  .classBuilder()
779
777
  .ep({
780
778
  ...commonParams,
781
779
  ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => obj?.Get?.TableName) },
782
780
  })
783
781
  .m(function (Command, cs, config, o) {
784
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
782
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
785
783
  })
786
784
  .s("DynamoDB_20120810", "TransactGetItems", {})
787
785
  .n("DynamoDBClient", "TransactGetItemsCommand")
@@ -789,14 +787,14 @@ class TransactGetItemsCommand extends smithyClient.Command
789
787
  .build() {
790
788
  }
791
789
 
792
- class TransactWriteItemsCommand extends smithyClient.Command
790
+ class TransactWriteItemsCommand extends client.Command
793
791
  .classBuilder()
794
792
  .ep({
795
793
  ...commonParams,
796
794
  ResourceArnList: { type: "operationContextParams", get: (input) => input?.TransactItems?.map((obj) => [obj?.ConditionCheck?.TableName, obj?.Put?.TableName, obj?.Delete?.TableName, obj?.Update?.TableName].filter((i) => i)).flat() },
797
795
  })
798
796
  .m(function (Command, cs, config, o) {
799
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
797
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
800
798
  })
801
799
  .s("DynamoDB_20120810", "TransactWriteItems", {})
802
800
  .n("DynamoDBClient", "TransactWriteItemsCommand")
@@ -804,14 +802,14 @@ class TransactWriteItemsCommand extends smithyClient.Command
804
802
  .build() {
805
803
  }
806
804
 
807
- class UntagResourceCommand extends smithyClient.Command
805
+ class UntagResourceCommand extends client.Command
808
806
  .classBuilder()
809
807
  .ep({
810
808
  ...commonParams,
811
809
  ResourceArn: { type: "contextParams", name: "ResourceArn" },
812
810
  })
813
811
  .m(function (Command, cs, config, o) {
814
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
812
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
815
813
  })
816
814
  .s("DynamoDB_20120810", "UntagResource", {})
817
815
  .n("DynamoDBClient", "UntagResourceCommand")
@@ -819,14 +817,14 @@ class UntagResourceCommand extends smithyClient.Command
819
817
  .build() {
820
818
  }
821
819
 
822
- class UpdateContinuousBackupsCommand extends smithyClient.Command
820
+ class UpdateContinuousBackupsCommand extends client.Command
823
821
  .classBuilder()
824
822
  .ep({
825
823
  ...commonParams,
826
824
  ResourceArn: { type: "contextParams", name: "TableName" },
827
825
  })
828
826
  .m(function (Command, cs, config, o) {
829
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
827
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
830
828
  })
831
829
  .s("DynamoDB_20120810", "UpdateContinuousBackups", {})
832
830
  .n("DynamoDBClient", "UpdateContinuousBackupsCommand")
@@ -834,14 +832,14 @@ class UpdateContinuousBackupsCommand extends smithyClient.Command
834
832
  .build() {
835
833
  }
836
834
 
837
- class UpdateContributorInsightsCommand extends smithyClient.Command
835
+ class UpdateContributorInsightsCommand extends client.Command
838
836
  .classBuilder()
839
837
  .ep({
840
838
  ...commonParams,
841
839
  ResourceArn: { type: "contextParams", name: "TableName" },
842
840
  })
843
841
  .m(function (Command, cs, config, o) {
844
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
842
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
845
843
  })
846
844
  .s("DynamoDB_20120810", "UpdateContributorInsights", {})
847
845
  .n("DynamoDBClient", "UpdateContributorInsightsCommand")
@@ -849,14 +847,14 @@ class UpdateContributorInsightsCommand extends smithyClient.Command
849
847
  .build() {
850
848
  }
851
849
 
852
- class UpdateGlobalTableCommand extends smithyClient.Command
850
+ class UpdateGlobalTableCommand extends client.Command
853
851
  .classBuilder()
854
852
  .ep({
855
853
  ...commonParams,
856
854
  ResourceArn: { type: "contextParams", name: "GlobalTableName" },
857
855
  })
858
856
  .m(function (Command, cs, config, o) {
859
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
857
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
860
858
  })
861
859
  .s("DynamoDB_20120810", "UpdateGlobalTable", {})
862
860
  .n("DynamoDBClient", "UpdateGlobalTableCommand")
@@ -864,14 +862,14 @@ class UpdateGlobalTableCommand extends smithyClient.Command
864
862
  .build() {
865
863
  }
866
864
 
867
- class UpdateGlobalTableSettingsCommand extends smithyClient.Command
865
+ class UpdateGlobalTableSettingsCommand extends client.Command
868
866
  .classBuilder()
869
867
  .ep({
870
868
  ...commonParams,
871
869
  ResourceArn: { type: "contextParams", name: "GlobalTableName" },
872
870
  })
873
871
  .m(function (Command, cs, config, o) {
874
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
872
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
873
  })
876
874
  .s("DynamoDB_20120810", "UpdateGlobalTableSettings", {})
877
875
  .n("DynamoDBClient", "UpdateGlobalTableSettingsCommand")
@@ -879,14 +877,14 @@ class UpdateGlobalTableSettingsCommand extends smithyClient.Command
879
877
  .build() {
880
878
  }
881
879
 
882
- class UpdateItemCommand extends smithyClient.Command
880
+ class UpdateItemCommand extends client.Command
883
881
  .classBuilder()
884
882
  .ep({
885
883
  ...commonParams,
886
884
  ResourceArn: { type: "contextParams", name: "TableName" },
887
885
  })
888
886
  .m(function (Command, cs, config, o) {
889
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
887
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
890
888
  })
891
889
  .s("DynamoDB_20120810", "UpdateItem", {})
892
890
  .n("DynamoDBClient", "UpdateItemCommand")
@@ -894,14 +892,14 @@ class UpdateItemCommand extends smithyClient.Command
894
892
  .build() {
895
893
  }
896
894
 
897
- class UpdateKinesisStreamingDestinationCommand extends smithyClient.Command
895
+ class UpdateKinesisStreamingDestinationCommand extends client.Command
898
896
  .classBuilder()
899
897
  .ep({
900
898
  ...commonParams,
901
899
  ResourceArn: { type: "contextParams", name: "TableName" },
902
900
  })
903
901
  .m(function (Command, cs, config, o) {
904
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
902
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
905
903
  })
906
904
  .s("DynamoDB_20120810", "UpdateKinesisStreamingDestination", {})
907
905
  .n("DynamoDBClient", "UpdateKinesisStreamingDestinationCommand")
@@ -909,14 +907,14 @@ class UpdateKinesisStreamingDestinationCommand extends smithyClient.Command
909
907
  .build() {
910
908
  }
911
909
 
912
- class UpdateTableCommand extends smithyClient.Command
910
+ class UpdateTableCommand extends client.Command
913
911
  .classBuilder()
914
912
  .ep({
915
913
  ...commonParams,
916
914
  ResourceArn: { type: "contextParams", name: "TableName" },
917
915
  })
918
916
  .m(function (Command, cs, config, o) {
919
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
917
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
920
918
  })
921
919
  .s("DynamoDB_20120810", "UpdateTable", {})
922
920
  .n("DynamoDBClient", "UpdateTableCommand")
@@ -924,14 +922,14 @@ class UpdateTableCommand extends smithyClient.Command
924
922
  .build() {
925
923
  }
926
924
 
927
- class UpdateTableReplicaAutoScalingCommand extends smithyClient.Command
925
+ class UpdateTableReplicaAutoScalingCommand extends client.Command
928
926
  .classBuilder()
929
927
  .ep({
930
928
  ...commonParams,
931
929
  ResourceArn: { type: "contextParams", name: "TableName" },
932
930
  })
933
931
  .m(function (Command, cs, config, o) {
934
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
932
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
935
933
  })
936
934
  .s("DynamoDB_20120810", "UpdateTableReplicaAutoScaling", {})
937
935
  .n("DynamoDBClient", "UpdateTableReplicaAutoScalingCommand")
@@ -939,14 +937,14 @@ class UpdateTableReplicaAutoScalingCommand extends smithyClient.Command
939
937
  .build() {
940
938
  }
941
939
 
942
- class UpdateTimeToLiveCommand extends smithyClient.Command
940
+ class UpdateTimeToLiveCommand extends client.Command
943
941
  .classBuilder()
944
942
  .ep({
945
943
  ...commonParams,
946
944
  ResourceArn: { type: "contextParams", name: "TableName" },
947
945
  })
948
946
  .m(function (Command, cs, config, o) {
949
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
947
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
950
948
  })
951
949
  .s("DynamoDB_20120810", "UpdateTimeToLive", {})
952
950
  .n("DynamoDBClient", "UpdateTimeToLiveCommand")
@@ -966,17 +964,17 @@ const paginateQuery = core.createPaginator(DynamoDBClient, QueryCommand, "Exclus
966
964
 
967
965
  const paginateScan = core.createPaginator(DynamoDBClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
968
966
 
969
- const checkState$5 = async (client, input) => {
967
+ const checkState$5 = async (client$1, input) => {
970
968
  let reason;
971
969
  try {
972
- let result = await client.send(new DescribeContributorInsightsCommand(input));
970
+ let result = await client$1.send(new DescribeContributorInsightsCommand(input));
973
971
  reason = result;
974
972
  try {
975
973
  const returnComparator = () => {
976
974
  return result.ContributorInsightsStatus;
977
975
  };
978
976
  if (returnComparator() === "ENABLED") {
979
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
977
+ return { state: client.WaiterState.SUCCESS, reason };
980
978
  }
981
979
  }
982
980
  catch (e) { }
@@ -985,7 +983,7 @@ const checkState$5 = async (client, input) => {
985
983
  return result.ContributorInsightsStatus;
986
984
  };
987
985
  if (returnComparator() === "FAILED") {
988
- return { state: utilWaiter.WaiterState.FAILURE, reason };
986
+ return { state: client.WaiterState.FAILURE, reason };
989
987
  }
990
988
  }
991
989
  catch (e) { }
@@ -993,29 +991,29 @@ const checkState$5 = async (client, input) => {
993
991
  catch (exception) {
994
992
  reason = exception;
995
993
  }
996
- return { state: utilWaiter.WaiterState.RETRY, reason };
994
+ return { state: client.WaiterState.RETRY, reason };
997
995
  };
998
996
  const waitForContributorInsightsEnabled = async (params, input) => {
999
997
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1000
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
998
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1001
999
  };
1002
1000
  const waitUntilContributorInsightsEnabled = async (params, input) => {
1003
1001
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1004
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1005
- return utilWaiter.checkExceptions(result);
1002
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$5);
1003
+ return client.checkExceptions(result);
1006
1004
  };
1007
1005
 
1008
- const checkState$4 = async (client, input) => {
1006
+ const checkState$4 = async (client$1, input) => {
1009
1007
  let reason;
1010
1008
  try {
1011
- let result = await client.send(new DescribeExportCommand(input));
1009
+ let result = await client$1.send(new DescribeExportCommand(input));
1012
1010
  reason = result;
1013
1011
  try {
1014
1012
  const returnComparator = () => {
1015
1013
  return result.ExportDescription.ExportStatus;
1016
1014
  };
1017
1015
  if (returnComparator() === "COMPLETED") {
1018
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
1016
+ return { state: client.WaiterState.SUCCESS, reason };
1019
1017
  }
1020
1018
  }
1021
1019
  catch (e) { }
@@ -1024,7 +1022,7 @@ const checkState$4 = async (client, input) => {
1024
1022
  return result.ExportDescription.ExportStatus;
1025
1023
  };
1026
1024
  if (returnComparator() === "FAILED") {
1027
- return { state: utilWaiter.WaiterState.FAILURE, reason };
1025
+ return { state: client.WaiterState.FAILURE, reason };
1028
1026
  }
1029
1027
  }
1030
1028
  catch (e) { }
@@ -1032,29 +1030,29 @@ const checkState$4 = async (client, input) => {
1032
1030
  catch (exception) {
1033
1031
  reason = exception;
1034
1032
  }
1035
- return { state: utilWaiter.WaiterState.RETRY, reason };
1033
+ return { state: client.WaiterState.RETRY, reason };
1036
1034
  };
1037
1035
  const waitForExportCompleted = async (params, input) => {
1038
1036
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1039
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1037
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1040
1038
  };
1041
1039
  const waitUntilExportCompleted = async (params, input) => {
1042
1040
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1043
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1044
- return utilWaiter.checkExceptions(result);
1041
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
1042
+ return client.checkExceptions(result);
1045
1043
  };
1046
1044
 
1047
- const checkState$3 = async (client, input) => {
1045
+ const checkState$3 = async (client$1, input) => {
1048
1046
  let reason;
1049
1047
  try {
1050
- let result = await client.send(new DescribeImportCommand(input));
1048
+ let result = await client$1.send(new DescribeImportCommand(input));
1051
1049
  reason = result;
1052
1050
  try {
1053
1051
  const returnComparator = () => {
1054
1052
  return result.ImportTableDescription.ImportStatus;
1055
1053
  };
1056
1054
  if (returnComparator() === "COMPLETED") {
1057
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
1055
+ return { state: client.WaiterState.SUCCESS, reason };
1058
1056
  }
1059
1057
  }
1060
1058
  catch (e) { }
@@ -1063,7 +1061,7 @@ const checkState$3 = async (client, input) => {
1063
1061
  return result.ImportTableDescription.ImportStatus;
1064
1062
  };
1065
1063
  if (returnComparator() === "FAILED") {
1066
- return { state: utilWaiter.WaiterState.FAILURE, reason };
1064
+ return { state: client.WaiterState.FAILURE, reason };
1067
1065
  }
1068
1066
  }
1069
1067
  catch (e) { }
@@ -1072,7 +1070,7 @@ const checkState$3 = async (client, input) => {
1072
1070
  return result.ImportTableDescription.ImportStatus;
1073
1071
  };
1074
1072
  if (returnComparator() === "CANCELLED") {
1075
- return { state: utilWaiter.WaiterState.FAILURE, reason };
1073
+ return { state: client.WaiterState.FAILURE, reason };
1076
1074
  }
1077
1075
  }
1078
1076
  catch (e) { }
@@ -1080,22 +1078,22 @@ const checkState$3 = async (client, input) => {
1080
1078
  catch (exception) {
1081
1079
  reason = exception;
1082
1080
  }
1083
- return { state: utilWaiter.WaiterState.RETRY, reason };
1081
+ return { state: client.WaiterState.RETRY, reason };
1084
1082
  };
1085
1083
  const waitForImportCompleted = async (params, input) => {
1086
1084
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1087
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1085
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1088
1086
  };
1089
1087
  const waitUntilImportCompleted = async (params, input) => {
1090
1088
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1091
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1092
- return utilWaiter.checkExceptions(result);
1089
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
1090
+ return client.checkExceptions(result);
1093
1091
  };
1094
1092
 
1095
- const checkState$2 = async (client, input) => {
1093
+ const checkState$2 = async (client$1, input) => {
1096
1094
  let reason;
1097
1095
  try {
1098
- let result = await client.send(new DescribeKinesisStreamingDestinationCommand(input));
1096
+ let result = await client$1.send(new DescribeKinesisStreamingDestinationCommand(input));
1099
1097
  reason = result;
1100
1098
  try {
1101
1099
  const returnComparator = () => {
@@ -1107,7 +1105,7 @@ const checkState$2 = async (client, input) => {
1107
1105
  };
1108
1106
  for (let anyStringEq_4 of returnComparator()) {
1109
1107
  if (anyStringEq_4 == "ACTIVE") {
1110
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
1108
+ return { state: client.WaiterState.SUCCESS, reason };
1111
1109
  }
1112
1110
  }
1113
1111
  }
@@ -1120,7 +1118,7 @@ const checkState$2 = async (client, input) => {
1120
1118
  return ((result.KinesisDataStreamDestinations.length > 0) && (filterRes_2.length == result.KinesisDataStreamDestinations.length));
1121
1119
  };
1122
1120
  if (returnComparator() == true) {
1123
- return { state: utilWaiter.WaiterState.FAILURE, reason };
1121
+ return { state: client.WaiterState.FAILURE, reason };
1124
1122
  }
1125
1123
  }
1126
1124
  catch (e) { }
@@ -1128,29 +1126,29 @@ const checkState$2 = async (client, input) => {
1128
1126
  catch (exception) {
1129
1127
  reason = exception;
1130
1128
  }
1131
- return { state: utilWaiter.WaiterState.RETRY, reason };
1129
+ return { state: client.WaiterState.RETRY, reason };
1132
1130
  };
1133
1131
  const waitForKinesisStreamingDestinationActive = async (params, input) => {
1134
1132
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1135
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1133
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1136
1134
  };
1137
1135
  const waitUntilKinesisStreamingDestinationActive = async (params, input) => {
1138
1136
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1139
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1140
- return utilWaiter.checkExceptions(result);
1137
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
1138
+ return client.checkExceptions(result);
1141
1139
  };
1142
1140
 
1143
- const checkState$1 = async (client, input) => {
1141
+ const checkState$1 = async (client$1, input) => {
1144
1142
  let reason;
1145
1143
  try {
1146
- let result = await client.send(new DescribeTableCommand(input));
1144
+ let result = await client$1.send(new DescribeTableCommand(input));
1147
1145
  reason = result;
1148
1146
  try {
1149
1147
  const returnComparator = () => {
1150
1148
  return result.Table.TableStatus;
1151
1149
  };
1152
1150
  if (returnComparator() === "ACTIVE") {
1153
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
1151
+ return { state: client.WaiterState.SUCCESS, reason };
1154
1152
  }
1155
1153
  }
1156
1154
  catch (e) { }
@@ -1158,43 +1156,43 @@ const checkState$1 = async (client, input) => {
1158
1156
  catch (exception) {
1159
1157
  reason = exception;
1160
1158
  if (exception.name === "ResourceNotFoundException") {
1161
- return { state: utilWaiter.WaiterState.RETRY, reason };
1159
+ return { state: client.WaiterState.RETRY, reason };
1162
1160
  }
1163
1161
  }
1164
- return { state: utilWaiter.WaiterState.RETRY, reason };
1162
+ return { state: client.WaiterState.RETRY, reason };
1165
1163
  };
1166
1164
  const waitForTableExists = async (params, input) => {
1167
1165
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1168
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1166
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1169
1167
  };
1170
1168
  const waitUntilTableExists = async (params, input) => {
1171
1169
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1172
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1173
- return utilWaiter.checkExceptions(result);
1170
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
1171
+ return client.checkExceptions(result);
1174
1172
  };
1175
1173
 
1176
- const checkState = async (client, input) => {
1174
+ const checkState = async (client$1, input) => {
1177
1175
  let reason;
1178
1176
  try {
1179
- let result = await client.send(new DescribeTableCommand(input));
1177
+ let result = await client$1.send(new DescribeTableCommand(input));
1180
1178
  reason = result;
1181
1179
  }
1182
1180
  catch (exception) {
1183
1181
  reason = exception;
1184
1182
  if (exception.name === "ResourceNotFoundException") {
1185
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
1183
+ return { state: client.WaiterState.SUCCESS, reason };
1186
1184
  }
1187
1185
  }
1188
- return { state: utilWaiter.WaiterState.RETRY, reason };
1186
+ return { state: client.WaiterState.RETRY, reason };
1189
1187
  };
1190
1188
  const waitForTableNotExists = async (params, input) => {
1191
1189
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1192
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1190
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1193
1191
  };
1194
1192
  const waitUntilTableNotExists = async (params, input) => {
1195
1193
  const serviceDefaults = { minDelay: 20, maxDelay: 120 };
1196
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1197
- return utilWaiter.checkExceptions(result);
1194
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
1195
+ return client.checkExceptions(result);
1198
1196
  };
1199
1197
 
1200
1198
  const commands = {
@@ -1274,7 +1272,7 @@ const waiters = {
1274
1272
  };
1275
1273
  class DynamoDB extends DynamoDBClient {
1276
1274
  }
1277
- smithyClient.createAggregatedClient(commands, DynamoDB, { paginators, waiters });
1275
+ client.createAggregatedClient(commands, DynamoDB, { paginators, waiters });
1278
1276
 
1279
1277
  const ApproximateCreationDateTimePrecision = {
1280
1278
  MICROSECOND: "MICROSECOND",
@@ -1522,8 +1520,8 @@ const Select = {
1522
1520
  SPECIFIC_ATTRIBUTES: "SPECIFIC_ATTRIBUTES",
1523
1521
  };
1524
1522
 
1525
- exports.$Command = smithyClient.Command;
1526
- exports.__Client = smithyClient.Client;
1523
+ exports.$Command = client.Command;
1524
+ exports.__Client = client.Client;
1527
1525
  exports.DynamoDBServiceException = DynamoDBServiceException.DynamoDBServiceException;
1528
1526
  exports.ApproximateCreationDateTimePrecision = ApproximateCreationDateTimePrecision;
1529
1527
  exports.AttributeAction = AttributeAction;