@aws-sdk/client-location 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 (232) 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 +153 -155
  5. package/dist-cjs/models/LocationServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/Location.js +1 -1
  10. package/dist-es/LocationClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/AssociateTrackerConsumerCommand.js +2 -2
  13. package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js +2 -2
  14. package/dist-es/commands/BatchDeleteGeofenceCommand.js +2 -2
  15. package/dist-es/commands/BatchEvaluateGeofencesCommand.js +2 -2
  16. package/dist-es/commands/BatchGetDevicePositionCommand.js +2 -2
  17. package/dist-es/commands/BatchPutGeofenceCommand.js +2 -2
  18. package/dist-es/commands/BatchUpdateDevicePositionCommand.js +2 -2
  19. package/dist-es/commands/CalculateRouteCommand.js +2 -2
  20. package/dist-es/commands/CalculateRouteMatrixCommand.js +2 -2
  21. package/dist-es/commands/CancelJobCommand.js +2 -2
  22. package/dist-es/commands/CreateGeofenceCollectionCommand.js +2 -2
  23. package/dist-es/commands/CreateKeyCommand.js +2 -2
  24. package/dist-es/commands/CreateMapCommand.js +2 -2
  25. package/dist-es/commands/CreatePlaceIndexCommand.js +2 -2
  26. package/dist-es/commands/CreateRouteCalculatorCommand.js +2 -2
  27. package/dist-es/commands/CreateTrackerCommand.js +2 -2
  28. package/dist-es/commands/DeleteGeofenceCollectionCommand.js +2 -2
  29. package/dist-es/commands/DeleteKeyCommand.js +2 -2
  30. package/dist-es/commands/DeleteMapCommand.js +2 -2
  31. package/dist-es/commands/DeletePlaceIndexCommand.js +2 -2
  32. package/dist-es/commands/DeleteRouteCalculatorCommand.js +2 -2
  33. package/dist-es/commands/DeleteTrackerCommand.js +2 -2
  34. package/dist-es/commands/DescribeGeofenceCollectionCommand.js +2 -2
  35. package/dist-es/commands/DescribeKeyCommand.js +2 -2
  36. package/dist-es/commands/DescribeMapCommand.js +2 -2
  37. package/dist-es/commands/DescribePlaceIndexCommand.js +2 -2
  38. package/dist-es/commands/DescribeRouteCalculatorCommand.js +2 -2
  39. package/dist-es/commands/DescribeTrackerCommand.js +2 -2
  40. package/dist-es/commands/DisassociateTrackerConsumerCommand.js +2 -2
  41. package/dist-es/commands/ForecastGeofenceEventsCommand.js +2 -2
  42. package/dist-es/commands/GetDevicePositionCommand.js +2 -2
  43. package/dist-es/commands/GetDevicePositionHistoryCommand.js +2 -2
  44. package/dist-es/commands/GetGeofenceCommand.js +2 -2
  45. package/dist-es/commands/GetJobCommand.js +2 -2
  46. package/dist-es/commands/GetMapGlyphsCommand.js +2 -2
  47. package/dist-es/commands/GetMapSpritesCommand.js +2 -2
  48. package/dist-es/commands/GetMapStyleDescriptorCommand.js +2 -2
  49. package/dist-es/commands/GetMapTileCommand.js +2 -2
  50. package/dist-es/commands/GetPlaceCommand.js +2 -2
  51. package/dist-es/commands/ListDevicePositionsCommand.js +2 -2
  52. package/dist-es/commands/ListGeofenceCollectionsCommand.js +2 -2
  53. package/dist-es/commands/ListGeofencesCommand.js +2 -2
  54. package/dist-es/commands/ListJobsCommand.js +2 -2
  55. package/dist-es/commands/ListKeysCommand.js +2 -2
  56. package/dist-es/commands/ListMapsCommand.js +2 -2
  57. package/dist-es/commands/ListPlaceIndexesCommand.js +2 -2
  58. package/dist-es/commands/ListRouteCalculatorsCommand.js +2 -2
  59. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  60. package/dist-es/commands/ListTrackerConsumersCommand.js +2 -2
  61. package/dist-es/commands/ListTrackersCommand.js +2 -2
  62. package/dist-es/commands/PutGeofenceCommand.js +2 -2
  63. package/dist-es/commands/SearchPlaceIndexForPositionCommand.js +2 -2
  64. package/dist-es/commands/SearchPlaceIndexForSuggestionsCommand.js +2 -2
  65. package/dist-es/commands/SearchPlaceIndexForTextCommand.js +2 -2
  66. package/dist-es/commands/StartJobCommand.js +2 -2
  67. package/dist-es/commands/TagResourceCommand.js +2 -2
  68. package/dist-es/commands/UntagResourceCommand.js +2 -2
  69. package/dist-es/commands/UpdateGeofenceCollectionCommand.js +2 -2
  70. package/dist-es/commands/UpdateKeyCommand.js +2 -2
  71. package/dist-es/commands/UpdateMapCommand.js +2 -2
  72. package/dist-es/commands/UpdatePlaceIndexCommand.js +2 -2
  73. package/dist-es/commands/UpdateRouteCalculatorCommand.js +2 -2
  74. package/dist-es/commands/UpdateTrackerCommand.js +2 -2
  75. package/dist-es/commands/VerifyDevicePositionCommand.js +2 -2
  76. package/dist-es/endpoint/bdd.js +1 -1
  77. package/dist-es/endpoint/endpointResolver.js +1 -1
  78. package/dist-es/models/LocationServiceException.js +1 -1
  79. package/dist-es/runtimeConfig.browser.js +4 -6
  80. package/dist-es/runtimeConfig.js +4 -8
  81. package/dist-es/runtimeConfig.shared.js +3 -4
  82. package/dist-es/runtimeExtensions.js +2 -2
  83. package/dist-es/waiters/waitForJobCompleted.js +1 -1
  84. package/dist-types/Location.d.ts +1 -1
  85. package/dist-types/LocationClient.d.ts +5 -5
  86. package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +6 -4
  87. package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +6 -4
  88. package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +6 -4
  89. package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +6 -4
  90. package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +6 -4
  91. package/dist-types/commands/BatchPutGeofenceCommand.d.ts +6 -4
  92. package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +6 -4
  93. package/dist-types/commands/CalculateRouteCommand.d.ts +6 -4
  94. package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +6 -4
  95. package/dist-types/commands/CancelJobCommand.d.ts +6 -4
  96. package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +6 -4
  97. package/dist-types/commands/CreateKeyCommand.d.ts +6 -4
  98. package/dist-types/commands/CreateMapCommand.d.ts +6 -4
  99. package/dist-types/commands/CreatePlaceIndexCommand.d.ts +6 -4
  100. package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +6 -4
  101. package/dist-types/commands/CreateTrackerCommand.d.ts +6 -4
  102. package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +6 -4
  103. package/dist-types/commands/DeleteKeyCommand.d.ts +6 -4
  104. package/dist-types/commands/DeleteMapCommand.d.ts +6 -4
  105. package/dist-types/commands/DeletePlaceIndexCommand.d.ts +6 -4
  106. package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +6 -4
  107. package/dist-types/commands/DeleteTrackerCommand.d.ts +6 -4
  108. package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +6 -4
  109. package/dist-types/commands/DescribeKeyCommand.d.ts +6 -4
  110. package/dist-types/commands/DescribeMapCommand.d.ts +6 -4
  111. package/dist-types/commands/DescribePlaceIndexCommand.d.ts +6 -4
  112. package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +6 -4
  113. package/dist-types/commands/DescribeTrackerCommand.d.ts +6 -4
  114. package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +6 -4
  115. package/dist-types/commands/ForecastGeofenceEventsCommand.d.ts +6 -4
  116. package/dist-types/commands/GetDevicePositionCommand.d.ts +6 -4
  117. package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +6 -4
  118. package/dist-types/commands/GetGeofenceCommand.d.ts +6 -4
  119. package/dist-types/commands/GetJobCommand.d.ts +6 -4
  120. package/dist-types/commands/GetMapGlyphsCommand.d.ts +7 -5
  121. package/dist-types/commands/GetMapSpritesCommand.d.ts +7 -5
  122. package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +7 -5
  123. package/dist-types/commands/GetMapTileCommand.d.ts +7 -5
  124. package/dist-types/commands/GetPlaceCommand.d.ts +6 -4
  125. package/dist-types/commands/ListDevicePositionsCommand.d.ts +6 -4
  126. package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +6 -4
  127. package/dist-types/commands/ListGeofencesCommand.d.ts +6 -4
  128. package/dist-types/commands/ListJobsCommand.d.ts +6 -4
  129. package/dist-types/commands/ListKeysCommand.d.ts +6 -4
  130. package/dist-types/commands/ListMapsCommand.d.ts +6 -4
  131. package/dist-types/commands/ListPlaceIndexesCommand.d.ts +6 -4
  132. package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +6 -4
  133. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  134. package/dist-types/commands/ListTrackerConsumersCommand.d.ts +6 -4
  135. package/dist-types/commands/ListTrackersCommand.d.ts +6 -4
  136. package/dist-types/commands/PutGeofenceCommand.d.ts +6 -4
  137. package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +6 -4
  138. package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +6 -4
  139. package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +6 -4
  140. package/dist-types/commands/StartJobCommand.d.ts +6 -4
  141. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  142. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  143. package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +6 -4
  144. package/dist-types/commands/UpdateKeyCommand.d.ts +6 -4
  145. package/dist-types/commands/UpdateMapCommand.d.ts +6 -4
  146. package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +6 -4
  147. package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +6 -4
  148. package/dist-types/commands/UpdateTrackerCommand.d.ts +6 -4
  149. package/dist-types/commands/VerifyDevicePositionCommand.d.ts +6 -4
  150. package/dist-types/endpoint/bdd.d.ts +1 -1
  151. package/dist-types/extensionConfiguration.d.ts +1 -1
  152. package/dist-types/models/LocationServiceException.d.ts +1 -1
  153. package/dist-types/models/errors.d.ts +1 -1
  154. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  155. package/dist-types/runtimeConfig.d.ts +2 -2
  156. package/dist-types/runtimeConfig.native.d.ts +2 -2
  157. package/dist-types/ts3.4/Location.d.ts +1 -1
  158. package/dist-types/ts3.4/LocationClient.d.ts +8 -14
  159. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +6 -4
  160. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +6 -4
  161. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +6 -4
  162. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +6 -4
  163. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +6 -4
  164. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +6 -4
  165. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +6 -4
  166. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +6 -4
  167. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +6 -4
  168. package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +6 -8
  169. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +6 -4
  170. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +6 -8
  171. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +6 -8
  172. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +6 -4
  173. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +6 -4
  174. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +6 -4
  175. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +6 -4
  176. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +6 -8
  177. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +6 -8
  178. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +6 -4
  179. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +6 -4
  180. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +6 -4
  181. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +6 -4
  182. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/ForecastGeofenceEventsCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +6 -4
  190. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +6 -4
  192. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +6 -4
  193. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +7 -5
  194. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +7 -5
  195. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +7 -5
  196. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +7 -5
  197. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +6 -8
  198. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +6 -4
  200. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +6 -4
  201. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +6 -6
  202. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +6 -6
  203. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +6 -6
  204. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +6 -4
  205. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +6 -4
  206. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  207. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +6 -4
  208. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +6 -4
  209. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +6 -4
  210. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +6 -4
  211. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +6 -4
  212. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +6 -4
  213. package/dist-types/ts3.4/commands/StartJobCommand.d.ts +6 -8
  214. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  215. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  216. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +6 -4
  217. package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +6 -8
  218. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +6 -8
  219. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +6 -4
  220. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +6 -4
  221. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +6 -4
  222. package/dist-types/ts3.4/commands/VerifyDevicePositionCommand.d.ts +6 -4
  223. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  224. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  225. package/dist-types/ts3.4/models/LocationServiceException.d.ts +1 -1
  226. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  227. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  228. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  229. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  230. package/dist-types/ts3.4/waiters/waitForJobCompleted.d.ts +1 -1
  231. package/dist-types/waiters/waitForJobCompleted.d.ts +1 -1
  232. package/package.json +13 -36
package/dist-cjs/index.js CHANGED
@@ -4,19 +4,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
- var utilWaiter = require('@smithy/util-waiter');
20
18
  var errors = require('./models/errors');
21
19
  var LocationServiceException = require('./models/LocationServiceException');
22
20
 
@@ -74,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
74
72
  };
75
73
 
76
74
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
77
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
78
76
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
79
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
80
78
  };
81
79
 
82
- class LocationClient extends smithyClient.Client {
80
+ class LocationClient extends client.Client {
83
81
  config;
84
82
  constructor(...[configuration]) {
85
83
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -87,17 +85,17 @@ class LocationClient extends smithyClient.Client {
87
85
  this.initConfig = _config_0;
88
86
  const _config_1 = resolveClientEndpointParameters(_config_0);
89
87
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
90
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
91
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
88
+ const _config_3 = retry.resolveRetryConfig(_config_2);
89
+ const _config_4 = config.resolveRegionConfig(_config_3);
92
90
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
93
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
94
92
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
95
93
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
96
94
  this.config = _config_8;
97
95
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
98
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
99
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
100
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
98
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
101
99
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
102
100
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
103
101
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -114,11 +112,11 @@ class LocationClient extends smithyClient.Client {
114
112
  }
115
113
  }
116
114
 
117
- class AssociateTrackerConsumerCommand extends smithyClient.Command
115
+ class AssociateTrackerConsumerCommand extends client.Command
118
116
  .classBuilder()
119
117
  .ep(commonParams)
120
118
  .m(function (Command, cs, config, o) {
121
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
122
120
  })
123
121
  .s("LocationService", "AssociateTrackerConsumer", {})
124
122
  .n("LocationClient", "AssociateTrackerConsumerCommand")
@@ -126,11 +124,11 @@ class AssociateTrackerConsumerCommand extends smithyClient.Command
126
124
  .build() {
127
125
  }
128
126
 
129
- class BatchDeleteDevicePositionHistoryCommand extends smithyClient.Command
127
+ class BatchDeleteDevicePositionHistoryCommand extends client.Command
130
128
  .classBuilder()
131
129
  .ep(commonParams)
132
130
  .m(function (Command, cs, config, o) {
133
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
134
132
  })
135
133
  .s("LocationService", "BatchDeleteDevicePositionHistory", {})
136
134
  .n("LocationClient", "BatchDeleteDevicePositionHistoryCommand")
@@ -138,11 +136,11 @@ class BatchDeleteDevicePositionHistoryCommand extends smithyClient.Command
138
136
  .build() {
139
137
  }
140
138
 
141
- class BatchDeleteGeofenceCommand extends smithyClient.Command
139
+ class BatchDeleteGeofenceCommand extends client.Command
142
140
  .classBuilder()
143
141
  .ep(commonParams)
144
142
  .m(function (Command, cs, config, o) {
145
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
146
144
  })
147
145
  .s("LocationService", "BatchDeleteGeofence", {})
148
146
  .n("LocationClient", "BatchDeleteGeofenceCommand")
@@ -150,11 +148,11 @@ class BatchDeleteGeofenceCommand extends smithyClient.Command
150
148
  .build() {
151
149
  }
152
150
 
153
- class BatchEvaluateGeofencesCommand extends smithyClient.Command
151
+ class BatchEvaluateGeofencesCommand extends client.Command
154
152
  .classBuilder()
155
153
  .ep(commonParams)
156
154
  .m(function (Command, cs, config, o) {
157
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
158
156
  })
159
157
  .s("LocationService", "BatchEvaluateGeofences", {})
160
158
  .n("LocationClient", "BatchEvaluateGeofencesCommand")
@@ -162,11 +160,11 @@ class BatchEvaluateGeofencesCommand extends smithyClient.Command
162
160
  .build() {
163
161
  }
164
162
 
165
- class BatchGetDevicePositionCommand extends smithyClient.Command
163
+ class BatchGetDevicePositionCommand extends client.Command
166
164
  .classBuilder()
167
165
  .ep(commonParams)
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("LocationService", "BatchGetDevicePosition", {})
172
170
  .n("LocationClient", "BatchGetDevicePositionCommand")
@@ -174,11 +172,11 @@ class BatchGetDevicePositionCommand extends smithyClient.Command
174
172
  .build() {
175
173
  }
176
174
 
177
- class BatchPutGeofenceCommand extends smithyClient.Command
175
+ class BatchPutGeofenceCommand extends client.Command
178
176
  .classBuilder()
179
177
  .ep(commonParams)
180
178
  .m(function (Command, cs, config, o) {
181
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
182
180
  })
183
181
  .s("LocationService", "BatchPutGeofence", {})
184
182
  .n("LocationClient", "BatchPutGeofenceCommand")
@@ -186,11 +184,11 @@ class BatchPutGeofenceCommand extends smithyClient.Command
186
184
  .build() {
187
185
  }
188
186
 
189
- class BatchUpdateDevicePositionCommand extends smithyClient.Command
187
+ class BatchUpdateDevicePositionCommand extends client.Command
190
188
  .classBuilder()
191
189
  .ep(commonParams)
192
190
  .m(function (Command, cs, config, o) {
193
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
191
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
194
192
  })
195
193
  .s("LocationService", "BatchUpdateDevicePosition", {})
196
194
  .n("LocationClient", "BatchUpdateDevicePositionCommand")
@@ -198,11 +196,11 @@ class BatchUpdateDevicePositionCommand extends smithyClient.Command
198
196
  .build() {
199
197
  }
200
198
 
201
- class CalculateRouteCommand extends smithyClient.Command
199
+ class CalculateRouteCommand extends client.Command
202
200
  .classBuilder()
203
201
  .ep(commonParams)
204
202
  .m(function (Command, cs, config, o) {
205
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
203
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
206
204
  })
207
205
  .s("LocationService", "CalculateRoute", {})
208
206
  .n("LocationClient", "CalculateRouteCommand")
@@ -210,11 +208,11 @@ class CalculateRouteCommand extends smithyClient.Command
210
208
  .build() {
211
209
  }
212
210
 
213
- class CalculateRouteMatrixCommand extends smithyClient.Command
211
+ class CalculateRouteMatrixCommand extends client.Command
214
212
  .classBuilder()
215
213
  .ep(commonParams)
216
214
  .m(function (Command, cs, config, o) {
217
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
218
216
  })
219
217
  .s("LocationService", "CalculateRouteMatrix", {})
220
218
  .n("LocationClient", "CalculateRouteMatrixCommand")
@@ -222,11 +220,11 @@ class CalculateRouteMatrixCommand extends smithyClient.Command
222
220
  .build() {
223
221
  }
224
222
 
225
- class CancelJobCommand extends smithyClient.Command
223
+ class CancelJobCommand extends client.Command
226
224
  .classBuilder()
227
225
  .ep(commonParams)
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("LocationService", "CancelJob", {})
232
230
  .n("LocationClient", "CancelJobCommand")
@@ -234,11 +232,11 @@ class CancelJobCommand extends smithyClient.Command
234
232
  .build() {
235
233
  }
236
234
 
237
- class CreateGeofenceCollectionCommand extends smithyClient.Command
235
+ class CreateGeofenceCollectionCommand extends client.Command
238
236
  .classBuilder()
239
237
  .ep(commonParams)
240
238
  .m(function (Command, cs, config, o) {
241
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
242
240
  })
243
241
  .s("LocationService", "CreateGeofenceCollection", {})
244
242
  .n("LocationClient", "CreateGeofenceCollectionCommand")
@@ -246,11 +244,11 @@ class CreateGeofenceCollectionCommand extends smithyClient.Command
246
244
  .build() {
247
245
  }
248
246
 
249
- class CreateKeyCommand extends smithyClient.Command
247
+ class CreateKeyCommand extends client.Command
250
248
  .classBuilder()
251
249
  .ep(commonParams)
252
250
  .m(function (Command, cs, config, o) {
253
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
251
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
254
252
  })
255
253
  .s("LocationService", "CreateKey", {})
256
254
  .n("LocationClient", "CreateKeyCommand")
@@ -258,11 +256,11 @@ class CreateKeyCommand extends smithyClient.Command
258
256
  .build() {
259
257
  }
260
258
 
261
- class CreateMapCommand extends smithyClient.Command
259
+ class CreateMapCommand extends client.Command
262
260
  .classBuilder()
263
261
  .ep(commonParams)
264
262
  .m(function (Command, cs, config, o) {
265
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
263
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
266
264
  })
267
265
  .s("LocationService", "CreateMap", {})
268
266
  .n("LocationClient", "CreateMapCommand")
@@ -270,11 +268,11 @@ class CreateMapCommand extends smithyClient.Command
270
268
  .build() {
271
269
  }
272
270
 
273
- class CreatePlaceIndexCommand extends smithyClient.Command
271
+ class CreatePlaceIndexCommand extends client.Command
274
272
  .classBuilder()
275
273
  .ep(commonParams)
276
274
  .m(function (Command, cs, config, o) {
277
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
278
276
  })
279
277
  .s("LocationService", "CreatePlaceIndex", {})
280
278
  .n("LocationClient", "CreatePlaceIndexCommand")
@@ -282,11 +280,11 @@ class CreatePlaceIndexCommand extends smithyClient.Command
282
280
  .build() {
283
281
  }
284
282
 
285
- class CreateRouteCalculatorCommand extends smithyClient.Command
283
+ class CreateRouteCalculatorCommand extends client.Command
286
284
  .classBuilder()
287
285
  .ep(commonParams)
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("LocationService", "CreateRouteCalculator", {})
292
290
  .n("LocationClient", "CreateRouteCalculatorCommand")
@@ -294,11 +292,11 @@ class CreateRouteCalculatorCommand extends smithyClient.Command
294
292
  .build() {
295
293
  }
296
294
 
297
- class CreateTrackerCommand extends smithyClient.Command
295
+ class CreateTrackerCommand extends client.Command
298
296
  .classBuilder()
299
297
  .ep(commonParams)
300
298
  .m(function (Command, cs, config, o) {
301
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
299
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
302
300
  })
303
301
  .s("LocationService", "CreateTracker", {})
304
302
  .n("LocationClient", "CreateTrackerCommand")
@@ -306,11 +304,11 @@ class CreateTrackerCommand extends smithyClient.Command
306
304
  .build() {
307
305
  }
308
306
 
309
- class DeleteGeofenceCollectionCommand extends smithyClient.Command
307
+ class DeleteGeofenceCollectionCommand extends client.Command
310
308
  .classBuilder()
311
309
  .ep(commonParams)
312
310
  .m(function (Command, cs, config, o) {
313
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
311
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
314
312
  })
315
313
  .s("LocationService", "DeleteGeofenceCollection", {})
316
314
  .n("LocationClient", "DeleteGeofenceCollectionCommand")
@@ -318,11 +316,11 @@ class DeleteGeofenceCollectionCommand extends smithyClient.Command
318
316
  .build() {
319
317
  }
320
318
 
321
- class DeleteKeyCommand extends smithyClient.Command
319
+ class DeleteKeyCommand extends client.Command
322
320
  .classBuilder()
323
321
  .ep(commonParams)
324
322
  .m(function (Command, cs, config, o) {
325
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
323
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
326
324
  })
327
325
  .s("LocationService", "DeleteKey", {})
328
326
  .n("LocationClient", "DeleteKeyCommand")
@@ -330,11 +328,11 @@ class DeleteKeyCommand extends smithyClient.Command
330
328
  .build() {
331
329
  }
332
330
 
333
- class DeleteMapCommand extends smithyClient.Command
331
+ class DeleteMapCommand extends client.Command
334
332
  .classBuilder()
335
333
  .ep(commonParams)
336
334
  .m(function (Command, cs, config, o) {
337
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
338
336
  })
339
337
  .s("LocationService", "DeleteMap", {})
340
338
  .n("LocationClient", "DeleteMapCommand")
@@ -342,11 +340,11 @@ class DeleteMapCommand extends smithyClient.Command
342
340
  .build() {
343
341
  }
344
342
 
345
- class DeletePlaceIndexCommand extends smithyClient.Command
343
+ class DeletePlaceIndexCommand extends client.Command
346
344
  .classBuilder()
347
345
  .ep(commonParams)
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("LocationService", "DeletePlaceIndex", {})
352
350
  .n("LocationClient", "DeletePlaceIndexCommand")
@@ -354,11 +352,11 @@ class DeletePlaceIndexCommand extends smithyClient.Command
354
352
  .build() {
355
353
  }
356
354
 
357
- class DeleteRouteCalculatorCommand extends smithyClient.Command
355
+ class DeleteRouteCalculatorCommand extends client.Command
358
356
  .classBuilder()
359
357
  .ep(commonParams)
360
358
  .m(function (Command, cs, config, o) {
361
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
359
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
362
360
  })
363
361
  .s("LocationService", "DeleteRouteCalculator", {})
364
362
  .n("LocationClient", "DeleteRouteCalculatorCommand")
@@ -366,11 +364,11 @@ class DeleteRouteCalculatorCommand extends smithyClient.Command
366
364
  .build() {
367
365
  }
368
366
 
369
- class DeleteTrackerCommand extends smithyClient.Command
367
+ class DeleteTrackerCommand extends client.Command
370
368
  .classBuilder()
371
369
  .ep(commonParams)
372
370
  .m(function (Command, cs, config, o) {
373
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
371
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
374
372
  })
375
373
  .s("LocationService", "DeleteTracker", {})
376
374
  .n("LocationClient", "DeleteTrackerCommand")
@@ -378,11 +376,11 @@ class DeleteTrackerCommand extends smithyClient.Command
378
376
  .build() {
379
377
  }
380
378
 
381
- class DescribeGeofenceCollectionCommand extends smithyClient.Command
379
+ class DescribeGeofenceCollectionCommand extends client.Command
382
380
  .classBuilder()
383
381
  .ep(commonParams)
384
382
  .m(function (Command, cs, config, o) {
385
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
383
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
386
384
  })
387
385
  .s("LocationService", "DescribeGeofenceCollection", {})
388
386
  .n("LocationClient", "DescribeGeofenceCollectionCommand")
@@ -390,11 +388,11 @@ class DescribeGeofenceCollectionCommand extends smithyClient.Command
390
388
  .build() {
391
389
  }
392
390
 
393
- class DescribeKeyCommand extends smithyClient.Command
391
+ class DescribeKeyCommand extends client.Command
394
392
  .classBuilder()
395
393
  .ep(commonParams)
396
394
  .m(function (Command, cs, config, o) {
397
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
398
396
  })
399
397
  .s("LocationService", "DescribeKey", {})
400
398
  .n("LocationClient", "DescribeKeyCommand")
@@ -402,11 +400,11 @@ class DescribeKeyCommand extends smithyClient.Command
402
400
  .build() {
403
401
  }
404
402
 
405
- class DescribeMapCommand extends smithyClient.Command
403
+ class DescribeMapCommand extends client.Command
406
404
  .classBuilder()
407
405
  .ep(commonParams)
408
406
  .m(function (Command, cs, config, o) {
409
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
410
408
  })
411
409
  .s("LocationService", "DescribeMap", {})
412
410
  .n("LocationClient", "DescribeMapCommand")
@@ -414,11 +412,11 @@ class DescribeMapCommand extends smithyClient.Command
414
412
  .build() {
415
413
  }
416
414
 
417
- class DescribePlaceIndexCommand extends smithyClient.Command
415
+ class DescribePlaceIndexCommand extends client.Command
418
416
  .classBuilder()
419
417
  .ep(commonParams)
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("LocationService", "DescribePlaceIndex", {})
424
422
  .n("LocationClient", "DescribePlaceIndexCommand")
@@ -426,11 +424,11 @@ class DescribePlaceIndexCommand extends smithyClient.Command
426
424
  .build() {
427
425
  }
428
426
 
429
- class DescribeRouteCalculatorCommand extends smithyClient.Command
427
+ class DescribeRouteCalculatorCommand extends client.Command
430
428
  .classBuilder()
431
429
  .ep(commonParams)
432
430
  .m(function (Command, cs, config, o) {
433
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
431
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
434
432
  })
435
433
  .s("LocationService", "DescribeRouteCalculator", {})
436
434
  .n("LocationClient", "DescribeRouteCalculatorCommand")
@@ -438,11 +436,11 @@ class DescribeRouteCalculatorCommand extends smithyClient.Command
438
436
  .build() {
439
437
  }
440
438
 
441
- class DescribeTrackerCommand extends smithyClient.Command
439
+ class DescribeTrackerCommand extends client.Command
442
440
  .classBuilder()
443
441
  .ep(commonParams)
444
442
  .m(function (Command, cs, config, o) {
445
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
443
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
446
444
  })
447
445
  .s("LocationService", "DescribeTracker", {})
448
446
  .n("LocationClient", "DescribeTrackerCommand")
@@ -450,11 +448,11 @@ class DescribeTrackerCommand extends smithyClient.Command
450
448
  .build() {
451
449
  }
452
450
 
453
- class DisassociateTrackerConsumerCommand extends smithyClient.Command
451
+ class DisassociateTrackerConsumerCommand extends client.Command
454
452
  .classBuilder()
455
453
  .ep(commonParams)
456
454
  .m(function (Command, cs, config, o) {
457
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
455
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
458
456
  })
459
457
  .s("LocationService", "DisassociateTrackerConsumer", {})
460
458
  .n("LocationClient", "DisassociateTrackerConsumerCommand")
@@ -462,11 +460,11 @@ class DisassociateTrackerConsumerCommand extends smithyClient.Command
462
460
  .build() {
463
461
  }
464
462
 
465
- class ForecastGeofenceEventsCommand extends smithyClient.Command
463
+ class ForecastGeofenceEventsCommand extends client.Command
466
464
  .classBuilder()
467
465
  .ep(commonParams)
468
466
  .m(function (Command, cs, config, o) {
469
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
470
468
  })
471
469
  .s("LocationService", "ForecastGeofenceEvents", {})
472
470
  .n("LocationClient", "ForecastGeofenceEventsCommand")
@@ -474,11 +472,11 @@ class ForecastGeofenceEventsCommand extends smithyClient.Command
474
472
  .build() {
475
473
  }
476
474
 
477
- class GetDevicePositionCommand extends smithyClient.Command
475
+ class GetDevicePositionCommand extends client.Command
478
476
  .classBuilder()
479
477
  .ep(commonParams)
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("LocationService", "GetDevicePosition", {})
484
482
  .n("LocationClient", "GetDevicePositionCommand")
@@ -486,11 +484,11 @@ class GetDevicePositionCommand extends smithyClient.Command
486
484
  .build() {
487
485
  }
488
486
 
489
- class GetDevicePositionHistoryCommand extends smithyClient.Command
487
+ class GetDevicePositionHistoryCommand 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("LocationService", "GetDevicePositionHistory", {})
496
494
  .n("LocationClient", "GetDevicePositionHistoryCommand")
@@ -498,11 +496,11 @@ class GetDevicePositionHistoryCommand extends smithyClient.Command
498
496
  .build() {
499
497
  }
500
498
 
501
- class GetGeofenceCommand extends smithyClient.Command
499
+ class GetGeofenceCommand 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("LocationService", "GetGeofence", {})
508
506
  .n("LocationClient", "GetGeofenceCommand")
@@ -510,11 +508,11 @@ class GetGeofenceCommand extends smithyClient.Command
510
508
  .build() {
511
509
  }
512
510
 
513
- class GetJobCommand extends smithyClient.Command
511
+ class GetJobCommand extends client.Command
514
512
  .classBuilder()
515
513
  .ep(commonParams)
516
514
  .m(function (Command, cs, config, o) {
517
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
515
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
518
516
  })
519
517
  .s("LocationService", "GetJob", {})
520
518
  .n("LocationClient", "GetJobCommand")
@@ -522,11 +520,11 @@ class GetJobCommand extends smithyClient.Command
522
520
  .build() {
523
521
  }
524
522
 
525
- class GetMapGlyphsCommand extends smithyClient.Command
523
+ class GetMapGlyphsCommand extends client.Command
526
524
  .classBuilder()
527
525
  .ep(commonParams)
528
526
  .m(function (Command, cs, config, o) {
529
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
530
528
  })
531
529
  .s("LocationService", "GetMapGlyphs", {})
532
530
  .n("LocationClient", "GetMapGlyphsCommand")
@@ -534,11 +532,11 @@ class GetMapGlyphsCommand extends smithyClient.Command
534
532
  .build() {
535
533
  }
536
534
 
537
- class GetMapSpritesCommand extends smithyClient.Command
535
+ class GetMapSpritesCommand extends client.Command
538
536
  .classBuilder()
539
537
  .ep(commonParams)
540
538
  .m(function (Command, cs, config, o) {
541
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
542
540
  })
543
541
  .s("LocationService", "GetMapSprites", {})
544
542
  .n("LocationClient", "GetMapSpritesCommand")
@@ -546,11 +544,11 @@ class GetMapSpritesCommand extends smithyClient.Command
546
544
  .build() {
547
545
  }
548
546
 
549
- class GetMapStyleDescriptorCommand extends smithyClient.Command
547
+ class GetMapStyleDescriptorCommand extends client.Command
550
548
  .classBuilder()
551
549
  .ep(commonParams)
552
550
  .m(function (Command, cs, config, o) {
553
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
554
552
  })
555
553
  .s("LocationService", "GetMapStyleDescriptor", {})
556
554
  .n("LocationClient", "GetMapStyleDescriptorCommand")
@@ -558,11 +556,11 @@ class GetMapStyleDescriptorCommand extends smithyClient.Command
558
556
  .build() {
559
557
  }
560
558
 
561
- class GetMapTileCommand extends smithyClient.Command
559
+ class GetMapTileCommand extends client.Command
562
560
  .classBuilder()
563
561
  .ep(commonParams)
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("LocationService", "GetMapTile", {})
568
566
  .n("LocationClient", "GetMapTileCommand")
@@ -570,11 +568,11 @@ class GetMapTileCommand extends smithyClient.Command
570
568
  .build() {
571
569
  }
572
570
 
573
- class GetPlaceCommand extends smithyClient.Command
571
+ class GetPlaceCommand extends client.Command
574
572
  .classBuilder()
575
573
  .ep(commonParams)
576
574
  .m(function (Command, cs, config, o) {
577
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
575
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
578
576
  })
579
577
  .s("LocationService", "GetPlace", {})
580
578
  .n("LocationClient", "GetPlaceCommand")
@@ -582,11 +580,11 @@ class GetPlaceCommand extends smithyClient.Command
582
580
  .build() {
583
581
  }
584
582
 
585
- class ListDevicePositionsCommand extends smithyClient.Command
583
+ class ListDevicePositionsCommand extends client.Command
586
584
  .classBuilder()
587
585
  .ep(commonParams)
588
586
  .m(function (Command, cs, config, o) {
589
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
587
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
590
588
  })
591
589
  .s("LocationService", "ListDevicePositions", {})
592
590
  .n("LocationClient", "ListDevicePositionsCommand")
@@ -594,11 +592,11 @@ class ListDevicePositionsCommand extends smithyClient.Command
594
592
  .build() {
595
593
  }
596
594
 
597
- class ListGeofenceCollectionsCommand extends smithyClient.Command
595
+ class ListGeofenceCollectionsCommand extends client.Command
598
596
  .classBuilder()
599
597
  .ep(commonParams)
600
598
  .m(function (Command, cs, config, o) {
601
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
599
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
602
600
  })
603
601
  .s("LocationService", "ListGeofenceCollections", {})
604
602
  .n("LocationClient", "ListGeofenceCollectionsCommand")
@@ -606,11 +604,11 @@ class ListGeofenceCollectionsCommand extends smithyClient.Command
606
604
  .build() {
607
605
  }
608
606
 
609
- class ListGeofencesCommand extends smithyClient.Command
607
+ class ListGeofencesCommand extends client.Command
610
608
  .classBuilder()
611
609
  .ep(commonParams)
612
610
  .m(function (Command, cs, config, o) {
613
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
611
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
614
612
  })
615
613
  .s("LocationService", "ListGeofences", {})
616
614
  .n("LocationClient", "ListGeofencesCommand")
@@ -618,11 +616,11 @@ class ListGeofencesCommand extends smithyClient.Command
618
616
  .build() {
619
617
  }
620
618
 
621
- class ListJobsCommand extends smithyClient.Command
619
+ class ListJobsCommand extends client.Command
622
620
  .classBuilder()
623
621
  .ep(commonParams)
624
622
  .m(function (Command, cs, config, o) {
625
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
623
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
626
624
  })
627
625
  .s("LocationService", "ListJobs", {})
628
626
  .n("LocationClient", "ListJobsCommand")
@@ -630,11 +628,11 @@ class ListJobsCommand extends smithyClient.Command
630
628
  .build() {
631
629
  }
632
630
 
633
- class ListKeysCommand extends smithyClient.Command
631
+ class ListKeysCommand extends client.Command
634
632
  .classBuilder()
635
633
  .ep(commonParams)
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("LocationService", "ListKeys", {})
640
638
  .n("LocationClient", "ListKeysCommand")
@@ -642,11 +640,11 @@ class ListKeysCommand extends smithyClient.Command
642
640
  .build() {
643
641
  }
644
642
 
645
- class ListMapsCommand extends smithyClient.Command
643
+ class ListMapsCommand 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("LocationService", "ListMaps", {})
652
650
  .n("LocationClient", "ListMapsCommand")
@@ -654,11 +652,11 @@ class ListMapsCommand extends smithyClient.Command
654
652
  .build() {
655
653
  }
656
654
 
657
- class ListPlaceIndexesCommand extends smithyClient.Command
655
+ class ListPlaceIndexesCommand extends client.Command
658
656
  .classBuilder()
659
657
  .ep(commonParams)
660
658
  .m(function (Command, cs, config, o) {
661
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
659
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
662
660
  })
663
661
  .s("LocationService", "ListPlaceIndexes", {})
664
662
  .n("LocationClient", "ListPlaceIndexesCommand")
@@ -666,11 +664,11 @@ class ListPlaceIndexesCommand extends smithyClient.Command
666
664
  .build() {
667
665
  }
668
666
 
669
- class ListRouteCalculatorsCommand extends smithyClient.Command
667
+ class ListRouteCalculatorsCommand extends client.Command
670
668
  .classBuilder()
671
669
  .ep(commonParams)
672
670
  .m(function (Command, cs, config, o) {
673
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
671
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
674
672
  })
675
673
  .s("LocationService", "ListRouteCalculators", {})
676
674
  .n("LocationClient", "ListRouteCalculatorsCommand")
@@ -678,11 +676,11 @@ class ListRouteCalculatorsCommand extends smithyClient.Command
678
676
  .build() {
679
677
  }
680
678
 
681
- class ListTagsForResourceCommand extends smithyClient.Command
679
+ class ListTagsForResourceCommand extends client.Command
682
680
  .classBuilder()
683
681
  .ep(commonParams)
684
682
  .m(function (Command, cs, config, o) {
685
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
683
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
686
684
  })
687
685
  .s("LocationService", "ListTagsForResource", {})
688
686
  .n("LocationClient", "ListTagsForResourceCommand")
@@ -690,11 +688,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
690
688
  .build() {
691
689
  }
692
690
 
693
- class ListTrackerConsumersCommand extends smithyClient.Command
691
+ class ListTrackerConsumersCommand extends client.Command
694
692
  .classBuilder()
695
693
  .ep(commonParams)
696
694
  .m(function (Command, cs, config, o) {
697
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
698
696
  })
699
697
  .s("LocationService", "ListTrackerConsumers", {})
700
698
  .n("LocationClient", "ListTrackerConsumersCommand")
@@ -702,11 +700,11 @@ class ListTrackerConsumersCommand extends smithyClient.Command
702
700
  .build() {
703
701
  }
704
702
 
705
- class ListTrackersCommand extends smithyClient.Command
703
+ class ListTrackersCommand extends client.Command
706
704
  .classBuilder()
707
705
  .ep(commonParams)
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("LocationService", "ListTrackers", {})
712
710
  .n("LocationClient", "ListTrackersCommand")
@@ -714,11 +712,11 @@ class ListTrackersCommand extends smithyClient.Command
714
712
  .build() {
715
713
  }
716
714
 
717
- class PutGeofenceCommand extends smithyClient.Command
715
+ class PutGeofenceCommand extends client.Command
718
716
  .classBuilder()
719
717
  .ep(commonParams)
720
718
  .m(function (Command, cs, config, o) {
721
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
719
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
722
720
  })
723
721
  .s("LocationService", "PutGeofence", {})
724
722
  .n("LocationClient", "PutGeofenceCommand")
@@ -726,11 +724,11 @@ class PutGeofenceCommand extends smithyClient.Command
726
724
  .build() {
727
725
  }
728
726
 
729
- class SearchPlaceIndexForPositionCommand extends smithyClient.Command
727
+ class SearchPlaceIndexForPositionCommand extends client.Command
730
728
  .classBuilder()
731
729
  .ep(commonParams)
732
730
  .m(function (Command, cs, config, o) {
733
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
731
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
734
732
  })
735
733
  .s("LocationService", "SearchPlaceIndexForPosition", {})
736
734
  .n("LocationClient", "SearchPlaceIndexForPositionCommand")
@@ -738,11 +736,11 @@ class SearchPlaceIndexForPositionCommand extends smithyClient.Command
738
736
  .build() {
739
737
  }
740
738
 
741
- class SearchPlaceIndexForSuggestionsCommand extends smithyClient.Command
739
+ class SearchPlaceIndexForSuggestionsCommand extends client.Command
742
740
  .classBuilder()
743
741
  .ep(commonParams)
744
742
  .m(function (Command, cs, config, o) {
745
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
743
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
746
744
  })
747
745
  .s("LocationService", "SearchPlaceIndexForSuggestions", {})
748
746
  .n("LocationClient", "SearchPlaceIndexForSuggestionsCommand")
@@ -750,11 +748,11 @@ class SearchPlaceIndexForSuggestionsCommand extends smithyClient.Command
750
748
  .build() {
751
749
  }
752
750
 
753
- class SearchPlaceIndexForTextCommand extends smithyClient.Command
751
+ class SearchPlaceIndexForTextCommand extends client.Command
754
752
  .classBuilder()
755
753
  .ep(commonParams)
756
754
  .m(function (Command, cs, config, o) {
757
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
755
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
758
756
  })
759
757
  .s("LocationService", "SearchPlaceIndexForText", {})
760
758
  .n("LocationClient", "SearchPlaceIndexForTextCommand")
@@ -762,11 +760,11 @@ class SearchPlaceIndexForTextCommand extends smithyClient.Command
762
760
  .build() {
763
761
  }
764
762
 
765
- class StartJobCommand extends smithyClient.Command
763
+ class StartJobCommand extends client.Command
766
764
  .classBuilder()
767
765
  .ep(commonParams)
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("LocationService", "StartJob", {})
772
770
  .n("LocationClient", "StartJobCommand")
@@ -774,11 +772,11 @@ class StartJobCommand extends smithyClient.Command
774
772
  .build() {
775
773
  }
776
774
 
777
- class TagResourceCommand extends smithyClient.Command
775
+ class TagResourceCommand extends client.Command
778
776
  .classBuilder()
779
777
  .ep(commonParams)
780
778
  .m(function (Command, cs, config, o) {
781
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
779
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
782
780
  })
783
781
  .s("LocationService", "TagResource", {})
784
782
  .n("LocationClient", "TagResourceCommand")
@@ -786,11 +784,11 @@ class TagResourceCommand extends smithyClient.Command
786
784
  .build() {
787
785
  }
788
786
 
789
- class UntagResourceCommand extends smithyClient.Command
787
+ class UntagResourceCommand extends client.Command
790
788
  .classBuilder()
791
789
  .ep(commonParams)
792
790
  .m(function (Command, cs, config, o) {
793
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
791
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
794
792
  })
795
793
  .s("LocationService", "UntagResource", {})
796
794
  .n("LocationClient", "UntagResourceCommand")
@@ -798,11 +796,11 @@ class UntagResourceCommand extends smithyClient.Command
798
796
  .build() {
799
797
  }
800
798
 
801
- class UpdateGeofenceCollectionCommand extends smithyClient.Command
799
+ class UpdateGeofenceCollectionCommand extends client.Command
802
800
  .classBuilder()
803
801
  .ep(commonParams)
804
802
  .m(function (Command, cs, config, o) {
805
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
803
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
806
804
  })
807
805
  .s("LocationService", "UpdateGeofenceCollection", {})
808
806
  .n("LocationClient", "UpdateGeofenceCollectionCommand")
@@ -810,11 +808,11 @@ class UpdateGeofenceCollectionCommand extends smithyClient.Command
810
808
  .build() {
811
809
  }
812
810
 
813
- class UpdateKeyCommand extends smithyClient.Command
811
+ class UpdateKeyCommand extends client.Command
814
812
  .classBuilder()
815
813
  .ep(commonParams)
816
814
  .m(function (Command, cs, config, o) {
817
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
815
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
818
816
  })
819
817
  .s("LocationService", "UpdateKey", {})
820
818
  .n("LocationClient", "UpdateKeyCommand")
@@ -822,11 +820,11 @@ class UpdateKeyCommand extends smithyClient.Command
822
820
  .build() {
823
821
  }
824
822
 
825
- class UpdateMapCommand extends smithyClient.Command
823
+ class UpdateMapCommand extends client.Command
826
824
  .classBuilder()
827
825
  .ep(commonParams)
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("LocationService", "UpdateMap", {})
832
830
  .n("LocationClient", "UpdateMapCommand")
@@ -834,11 +832,11 @@ class UpdateMapCommand extends smithyClient.Command
834
832
  .build() {
835
833
  }
836
834
 
837
- class UpdatePlaceIndexCommand extends smithyClient.Command
835
+ class UpdatePlaceIndexCommand extends client.Command
838
836
  .classBuilder()
839
837
  .ep(commonParams)
840
838
  .m(function (Command, cs, config, o) {
841
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
839
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
842
840
  })
843
841
  .s("LocationService", "UpdatePlaceIndex", {})
844
842
  .n("LocationClient", "UpdatePlaceIndexCommand")
@@ -846,11 +844,11 @@ class UpdatePlaceIndexCommand extends smithyClient.Command
846
844
  .build() {
847
845
  }
848
846
 
849
- class UpdateRouteCalculatorCommand extends smithyClient.Command
847
+ class UpdateRouteCalculatorCommand extends client.Command
850
848
  .classBuilder()
851
849
  .ep(commonParams)
852
850
  .m(function (Command, cs, config, o) {
853
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
851
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
854
852
  })
855
853
  .s("LocationService", "UpdateRouteCalculator", {})
856
854
  .n("LocationClient", "UpdateRouteCalculatorCommand")
@@ -858,11 +856,11 @@ class UpdateRouteCalculatorCommand extends smithyClient.Command
858
856
  .build() {
859
857
  }
860
858
 
861
- class UpdateTrackerCommand extends smithyClient.Command
859
+ class UpdateTrackerCommand extends client.Command
862
860
  .classBuilder()
863
861
  .ep(commonParams)
864
862
  .m(function (Command, cs, config, o) {
865
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
863
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
866
864
  })
867
865
  .s("LocationService", "UpdateTracker", {})
868
866
  .n("LocationClient", "UpdateTrackerCommand")
@@ -870,11 +868,11 @@ class UpdateTrackerCommand extends smithyClient.Command
870
868
  .build() {
871
869
  }
872
870
 
873
- class VerifyDevicePositionCommand extends smithyClient.Command
871
+ class VerifyDevicePositionCommand extends client.Command
874
872
  .classBuilder()
875
873
  .ep(commonParams)
876
874
  .m(function (Command, cs, config, o) {
877
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
878
876
  })
879
877
  .s("LocationService", "VerifyDevicePosition", {})
880
878
  .n("LocationClient", "VerifyDevicePositionCommand")
@@ -906,17 +904,17 @@ const paginateListTrackerConsumers = core.createPaginator(LocationClient, ListTr
906
904
 
907
905
  const paginateListTrackers = core.createPaginator(LocationClient, ListTrackersCommand, "NextToken", "NextToken", "MaxResults");
908
906
 
909
- const checkState = async (client, input) => {
907
+ const checkState = async (client$1, input) => {
910
908
  let reason;
911
909
  try {
912
- let result = await client.send(new GetJobCommand(input));
910
+ let result = await client$1.send(new GetJobCommand(input));
913
911
  reason = result;
914
912
  try {
915
913
  const returnComparator = () => {
916
914
  return result.Status;
917
915
  };
918
916
  if (returnComparator() === "Completed") {
919
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
917
+ return { state: client.WaiterState.SUCCESS, reason };
920
918
  }
921
919
  }
922
920
  catch (e) { }
@@ -925,7 +923,7 @@ const checkState = async (client, input) => {
925
923
  return result.Status;
926
924
  };
927
925
  if (returnComparator() === "Failed") {
928
- return { state: utilWaiter.WaiterState.FAILURE, reason };
926
+ return { state: client.WaiterState.FAILURE, reason };
929
927
  }
930
928
  }
931
929
  catch (e) { }
@@ -934,7 +932,7 @@ const checkState = async (client, input) => {
934
932
  return result.Status;
935
933
  };
936
934
  if (returnComparator() === "Cancelled") {
937
- return { state: utilWaiter.WaiterState.FAILURE, reason };
935
+ return { state: client.WaiterState.FAILURE, reason };
938
936
  }
939
937
  }
940
938
  catch (e) { }
@@ -942,16 +940,16 @@ const checkState = async (client, input) => {
942
940
  catch (exception) {
943
941
  reason = exception;
944
942
  }
945
- return { state: utilWaiter.WaiterState.RETRY, reason };
943
+ return { state: client.WaiterState.RETRY, reason };
946
944
  };
947
945
  const waitForJobCompleted = async (params, input) => {
948
946
  const serviceDefaults = { minDelay: 60, maxDelay: 120 };
949
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
947
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
950
948
  };
951
949
  const waitUntilJobCompleted = async (params, input) => {
952
950
  const serviceDefaults = { minDelay: 60, maxDelay: 120 };
953
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
954
- return utilWaiter.checkExceptions(result);
951
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
952
+ return client.checkExceptions(result);
955
953
  };
956
954
 
957
955
  const commands = {
@@ -1039,7 +1037,7 @@ const waiters = {
1039
1037
  };
1040
1038
  class Location extends LocationClient {
1041
1039
  }
1042
- smithyClient.createAggregatedClient(commands, Location, { paginators, waiters });
1040
+ client.createAggregatedClient(commands, Location, { paginators, waiters });
1043
1041
 
1044
1042
  const JobStatus = {
1045
1043
  CANCELLED: "Cancelled",
@@ -1067,8 +1065,8 @@ const JobOutputFormat = {
1067
1065
  PARQUET: "Parquet",
1068
1066
  };
1069
1067
 
1070
- exports.$Command = smithyClient.Command;
1071
- exports.__Client = smithyClient.Client;
1068
+ exports.$Command = client.Command;
1069
+ exports.__Client = client.Client;
1072
1070
  exports.LocationServiceException = LocationServiceException.LocationServiceException;
1073
1071
  exports.AssociateTrackerConsumerCommand = AssociateTrackerConsumerCommand;
1074
1072
  exports.BatchDeleteDevicePositionHistoryCommand = BatchDeleteDevicePositionHistoryCommand;